CN110152307B - Virtual article issuing method, device and storage medium - Google Patents

Virtual article issuing method, device and storage medium Download PDF

Info

Publication number
CN110152307B
CN110152307B CN201810786546.2A CN201810786546A CN110152307B CN 110152307 B CN110152307 B CN 110152307B CN 201810786546 A CN201810786546 A CN 201810786546A CN 110152307 B CN110152307 B CN 110152307B
Authority
CN
China
Prior art keywords
virtual article
user
voice
issuing
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810786546.2A
Other languages
Chinese (zh)
Other versions
CN110152307A (en
Inventor
李建立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810786546.2A priority Critical patent/CN110152307B/en
Publication of CN110152307A publication Critical patent/CN110152307A/en
Application granted granted Critical
Publication of CN110152307B publication Critical patent/CN110152307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/792Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for payment purposes, e.g. monthly subscriptions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/575Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player for trading virtual items

Abstract

The embodiment of the invention discloses a virtual article issuing method, a device and a storage medium, wherein the virtual article issuing method comprises the following steps: receiving a virtual article issuing request sent by a first terminal; determining sample voice for picking up the virtual article according to the voice information for picking up the virtual article, which is included in the virtual article issuing request; receiving a virtual article getting request sent by a second terminal, wherein the virtual article getting request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold, determining that the requesting user is a retrievable user, and issuing a virtual article to a user identifier corresponding to the retrievable user. The embodiment of the invention sets the voice information for picking up the virtual article when the user issues the virtual article, and the user needs to pick up the virtual article through voiceprint matching, thereby improving the safety of the virtual article and being more flexible in operation.

Description

Virtual article issuing method, device and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a virtual article issuing method, a virtual article issuing device and a storage medium.
Background
With the development of internet technology, particularly mobile internet technology, a wide variety of virtual goods, such as equipment in network games, pets, virtual money, and the like, have appeared.
Taking the example of sending a virtual item using a "red envelope" as a carrier, a user may package a virtual item such as a voucher or gift in a "red envelope" and then send the "red envelope" to other friends. In a typical virtual article transceiving method using a "red packet" as a carrier, a sender first selects one or more receivers, which are usually friends or group members of the sender in a network community or an instant messaging application; then adding the virtual articles to be sent into the red packet; and finally, sending the red packet carrying the virtual article to a receiver, wherein the receiver can obtain the virtual article from the red packet after receiving the red packet.
At present, when a user receives a virtual article, the user directly clicks to receive the virtual article, the user only needs to operate a terminal to receive the virtual article, and the safety of the virtual article is poor.
Disclosure of Invention
The embodiment of the invention provides a virtual article issuing method, a virtual article issuing device and a storage medium, which can improve the safety of virtual articles.
In a first aspect, the present application provides a virtual article issuing method, including:
receiving a virtual article issuing request sent by a first terminal, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information for picking up a virtual article;
determining sample voice for picking up the virtual article according to the voice information;
receiving a virtual article getting request sent by a second terminal, wherein the virtual article getting request carries voice input by a requesting user and a user identifier of the requesting user;
acquiring the voiceprint similarity between the voice input by the request user and the sample voice;
and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is an available user, and issuing the virtual article to a user identifier corresponding to the available user.
In a second aspect, the present application provides a virtual article issuing method, including:
receiving a virtual article issuing instruction;
displaying a virtual article issuing interface according to the virtual article issuing instruction;
acquiring voice information for picking up the virtual article based on sample voice setting operation of the user aiming at the virtual article issuing interface;
when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to a server, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises the voice information.
In a third aspect, the present application provides a virtual article pickup method, including:
acquiring the receiving operation of a user for the virtual article, and displaying an article receiving interface;
acquiring a first voice input by a user based on a voice input operation of the user for the article pickup interface;
when the voice input operation is detected to be finished, sending a first article getting request to the server, wherein the first article getting request carries a user identifier of a requesting user and the first voice;
and receiving a first virtual article picking result sent by the server.
Optionally, the obtaining the pickup operation of the user for the virtual article and displaying an article pickup interface include:
receiving a virtual article pickup link sent by a server;
displaying an item pickup interface based on a pickup operation of a user for the virtual item pickup link;
the method further comprises the following steps:
when the virtual article picking result is that virtual article picking fails, sending an assistance request to a target terminal, wherein the assistance request comprises the virtual article picking link;
acquiring assistance information sent by the target terminal, wherein the assistance information comprises assistance voice input by an assistance user at the target terminal;
sending a second item getting request to the server, wherein the second item getting request carries the user identifier of the user and the assisting voice;
and receiving a second virtual article pickup result sent by the server.
Optionally, the method further includes:
when the virtual article picking result is that virtual article picking fails, counting the failure times of picking the virtual articles by the user;
and when the failure times of the user to receive the virtual articles reach preset times, setting the user as a non-receivable user.
In a fourth aspect, the present application provides a virtual-article dispensing apparatus, the apparatus comprising:
the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a virtual article issuing request sent by a first terminal, the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information used for getting a virtual article;
the determining unit is used for determining sample voice for picking up the virtual article according to the voice information;
a second receiving unit, configured to receive a virtual article pickup request sent by a second terminal, where the virtual article pickup request carries a voice input by a requesting user and a user identifier of the requesting user;
a first obtaining unit, configured to obtain a voiceprint similarity between the voice input by the requesting user and the sample voice;
and the virtual article issuing unit is used for determining the requesting user as an available user when the voiceprint similarity reaches a preset threshold value, and issuing the virtual article to a user identifier corresponding to the available user.
Optionally, the obtaining subunit is specifically configured to:
determining a preset similarity interval in which the voiceprint similarity falls;
and acquiring the distribution proportion of the articles corresponding to the preset similarity interval.
Optionally, the virtual article issuance request is sent by the first terminal in a session, and the apparatus further includes:
a second obtaining unit, configured to obtain the member-in-session identifier after the virtual article is issued to the requesting user;
and the sending unit is used for forwarding the voice input by the request user to the terminal corresponding to the member identification in the conversation.
In a fifth aspect, the present application provides a virtual-article dispensing apparatus, the apparatus comprising:
the first receiving unit is used for receiving a virtual article issuing instruction;
the first display unit is used for displaying a virtual article issuing interface according to the virtual article issuing instruction;
the first obtaining unit is used for obtaining voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article distribution interface;
the device comprises a first sending unit and a second sending unit, wherein the first sending unit is used for sending a virtual article issuing request to a server when a virtual article issuing confirmation operation is detected, the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises the voice information.
Optionally, the voice information includes voice identification information for retrieving the virtual article; the first acquisition unit includes:
the display subunit is used for displaying a sample voice identifier list based on the voice setting operation of the user aiming at the virtual article issuing interface;
and the acquisition subunit is used for acquiring the voice identification information for picking up the virtual article based on the selection operation of the user on the sample voice identification list.
Optionally, the apparatus further comprises:
the second display unit is used for acquiring the receiving operation of the user for the virtual article and displaying an article receiving interface;
the second acquisition unit is used for acquiring the voice input by the user based on the voice input operation of the user aiming at the article pickup interface;
a second sending unit, configured to send an item pickup request to the server when it is detected that the voice input operation is ended, where the item pickup request carries a user identifier of a requesting user and a voice input by the requesting user;
and the second receiving unit is used for receiving the virtual article picking result sent by the server.
In a sixth aspect, the present application provides a virtual article pickup apparatus, comprising:
the display unit is used for acquiring the receiving operation of the user aiming at the virtual article and displaying an article receiving interface;
the first acquisition unit is used for acquiring a first voice input by a user based on the voice input operation of the user on the article pickup interface;
a first sending unit, configured to send a first item pickup request to the server when it is detected that the voice input operation is ended, where the first item pickup request carries a user identifier of a requesting user and the first voice;
and the first receiving unit is used for receiving the virtual article picking result sent by the server.
Optionally, the display unit includes a receiving subunit and a display subunit, and the following is specific:
the receiving subunit is used for receiving the virtual article getting link sent by the server;
the display subunit is used for displaying an item pickup interface based on pickup operation of a user for the virtual item pickup link;
the device comprises:
a second sending unit, configured to send an assistance request to a target terminal when the virtual article pickup result is that virtual article pickup fails, where the assistance request includes the virtual article pickup link;
a second obtaining unit, configured to obtain assistance information sent by the target terminal, where the assistance information includes assistance voice input by an assistance user at the target terminal;
a third sending unit, configured to send a second item pickup request to the server, where the second item pickup request carries the user identifier of the user and the assisting voice;
and the second receiving unit is used for receiving the second virtual article picking result sent by the server.
Optionally, the apparatus further comprises:
the counting unit is used for counting the failure times of the user for picking the virtual article when the virtual article picking result is that the virtual article picking fails;
and the setting unit is used for setting the user as a non-retrievable user after the failure times of the user to retrieve the virtual article reach preset times.
In a seventh aspect, the present application provides a storage medium storing a plurality of instructions, the instructions being suitable for being loaded by a processor to execute the steps in the virtual-article issuing method according to any one of the first aspect or the second aspect.
In an eighth aspect, the present application provides a storage medium storing a plurality of instructions, the instructions being suitable for being loaded by a processor to execute the steps in the virtual article pickup method according to any one of the third aspect.
In the embodiment of the invention, the virtual article issuing request sent by the first terminal is received; determining sample voice for picking up the virtual article according to the voice information for picking up the virtual article, which is included in the virtual article issuing request; receiving a virtual article getting request sent by a second terminal, wherein the virtual article getting request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user. The embodiment of the invention sets the voice information for picking up the virtual article when the user issues the virtual article, requests the user to pick up the virtual article through voiceprint matching, improves the safety of the virtual article, can break through the limit of fixedly receiving the user when the virtual article is issued, realizes the effect of randomly picking up the issued virtual article, and has more flexible operation.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a virtual article management system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an embodiment of a virtual article issuing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another embodiment of a virtual article issuing method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an embodiment of a virtual article pickup method according to the present invention;
FIG. 5 is a schematic flow chart of red packet issuing according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a scenario of red packet issue according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another scenario of red packet issuance provided by the embodiment of the present invention;
FIG. 8 is a schematic diagram of another scenario of red packet issue according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another scenario of red packet issue according to an embodiment of the present invention;
FIG. 10 is a schematic flow chart of red envelope extraction according to an embodiment of the present invention;
FIG. 11 is a schematic view of a scene of red envelope extraction according to an embodiment of the present invention;
fig. 12 is a schematic view of an embodiment of a virtual-article issuing apparatus provided by an embodiment of the present invention;
fig. 13 is a schematic view of another embodiment of the virtual-article issuing apparatus according to the embodiment of the present invention;
fig. 14 is a schematic diagram of an embodiment of a virtual article retrieving device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a server according to an embodiment of the present invention.
Fig. 16 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description that follows, specific embodiments of the present invention are described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, but on the contrary, it is to be understood that various steps and operations described hereinafter may be implemented in hardware.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present invention.
Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention will be described. Referring to fig. 1, the virtual article management system includes a first terminal, a server, and a second terminal, where the first terminal and the second terminal are connected to the server respectively, and the connection mode may be wired or wireless connection, so that the first terminal and the second terminal may interact data with the server through the wired or wireless connection mode. The first terminal and the second terminal can be intelligent electronic devices such as a mobile phone and a tablet personal computer, and the server can be a server, a server cluster formed by a plurality of servers, or a cloud computing service center. Since the virtual article pick-up and delivery process sometimes involves many terminals, for example, delivering virtual articles in a certain group session, and the number of the group members sometimes is several hundreds, the virtual article management system may further include one or more other terminals (only the first terminal and the second terminal are shown in fig. 1), which is not limited herein.
In the embodiment of the present invention, the virtual article may also be referred to as a virtual red envelope or an electronic red envelope, and the virtual article is a virtual carrier for transferring resources (or referred to as a virtual article) between at least two users in a gift form. The at least two users have a friend relationship, or may not have a friend relationship, in the client and/or the real world. The resources involved in the virtual item (or referred to as virtual items) may be currency, gaming equipment, gaming materials, gaming pets, gaming chips, icons, members, titles, value-added services, points, gold bulls, gold beans, gift certificates, redemption certificates, coupons, greeting cards, and the like. The embodiment of the invention does not limit the resource types.
It should be noted that the scenario diagram of the virtual article management system shown in fig. 1 is only an example, and the virtual article management system and the scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The following detailed description is given with reference to specific examples.
In the present embodiment, description will be made from the perspective of a virtual-article issuing apparatus, which may be specifically integrated in the server shown in fig. 1.
The embodiment of the invention provides a virtual article issuing method, which comprises the following steps: receiving a virtual article issuing request sent by a first terminal, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information for picking up a virtual article; determining sample voice for picking up the virtual article according to the voice information; receiving a virtual article pickup request sent by a second terminal, wherein the virtual article pickup request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a virtual article issuing method provided in the embodiment of the present invention, where the virtual article issuing method includes:
101. and receiving a virtual article issuing request sent by the first terminal.
In the embodiment of the present invention, the virtual article issuance request carries the setting information for issuing the virtual article, the virtual article setting information includes the voice information for retrieving the virtual article, specifically, the voice information may include sample voice, or include voice identification information, or include both the sample voice and the voice identification information, and specifically, the setting may be performed according to the requirements of the actual application. Since the virtual article setting information includes voice information for retrieving the virtual article, the virtual article can be regarded as a voice password virtual article, that is, a virtual article retrieved by a voice password, for example, "red packet", that is, a voice password red packet.
In one embodiment of the present invention, the virtual article issuance request may be sent by the first terminal in a session, where the session may refer to a session created based on a web community or an instant messaging application, and the first terminal refers to a terminal that sends the virtual article in the session, that is, a sender. The session may be a single person session or a group session, and further, the group session may also include a temporary group session or a fixed group session, in another embodiment of the present invention, the virtual-article dispensing request may also be triggered by the first terminal through a preset virtual-article dispensing entry, for example, when an operation of the user on the virtual-article dispensing entry is detected, the first terminal will trigger a corresponding virtual-article dispensing request, and at this time, the triggered virtual-article dispensing request will be received.
The virtual article issuing entry may be specifically set according to actual needs, for example, the virtual article issuing entry may be an application function control entry, such as an information issuing entry in the instant messaging application, that is, the instant messaging application is provided with the information issuing entry, and the information issuing entry may set to issue a virtual article.
For example, a red packet issue button may be displayed on the payment application page, and when the user clicks the red packet issue button, a corresponding red packet issue request may be triggered, and so on.
Optionally, a virtual article issuing interface may be preset in the session or at the virtual article issuing entry, so that the virtual article issuing apparatus may receive virtual article setting information sent by the first terminal through the article issuing interface, where the virtual article issuing interface may specifically be a function control, and the like, and is mainly used for the first terminal to jump to the virtual article issuing setting interface according to an operation of the user, such as clicking, sliding, and the like, so as to facilitate the sender user to set information for obtaining the virtual articles, including information about the number of virtual articles and obtaining conditions. Specifically, taking the virtual article as a "red packet" as an example, the virtual article setting information may include the number of red packets, the total amount of the red packets, and pickup condition information (e.g., specified user information).
In the embodiment of the invention, the sample voice can be a certain song selected by the user of the sender, such as 'dear love for everything' of the Xinle band. The sample voice may be selected by the sender user from a preset voice list, that is, when the sender user sets a voice for picking up a virtual item, the preset voice list is displayed, and the sample voice for picking up a virtual item selected from the voice list may specifically include four songs: the voice information for picking up the virtual article can comprise a song of the city of funeral parquet or identification information of the song, and the voice identification information corresponds to unique voice in the server when the voice information for picking up the virtual article comprises the voice identification information, so that the server can inquire the unique sample voice.
Further, the preset voice list may also be a voice list that is displayed when the sender user sets the voice for picking up the virtual article, and after receiving the voice list selected by the sender user, the voice list selected in the voice lists is the preset voice list.
It is understood that the voice message for retrieving the virtual article may also be a sample voice which is pre-recorded by the user and selected locally by the sender user, for example, when the sender user issues the virtual article, the sender user selects the 'dear love' which simulates singing in advance and is stored locally.
102. And determining the sample voice for picking up the virtual article according to the voice information for picking up the virtual article.
Since the voice information for retrieving the virtual item in step 101 may include the sample voice, or the voice information includes the voice identification information, when the voice information for retrieving the virtual item includes the sample voice, determining the sample voice for retrieving the virtual item according to the voice information for retrieving the virtual item may be directly obtaining the sample voice. For example, when the voice information for picking up a virtual article includes a song of "deaths do all yourself" of the letter band as the sample voice, the song of "deaths do all yourself" is directly acquired.
And when the voice information includes the voice identification information, determining the sample voice for retrieving the virtual article according to the voice information for retrieving the virtual article may include: inquiring corresponding sample voice in a preset voice database through the voice identification information; and taking the inquired sample voice as the sample voice for picking up the virtual article. For example, the voice identification information is 1, the sample voice queried in the preset voice database through the voice identification information is the 'love for death' of the Xin le Tu, and the song of the 'love for death' of the Xin le Tu is used as the sample voice.
In the embodiment of the present invention, for example, when the virtual article issuing request is sent to the session as the first terminal, the virtual article issuing apparatus may generate a virtual article pickup link to send to the session after determining all setting information for issuing virtual articles, so that a user in the session can pick up a virtual article based on the virtual article pickup link.
103. And receiving a virtual article pickup request sent by the second terminal.
In the embodiment of the present invention, the second terminal is a terminal that requests to receive a virtual article in a session, that is, a requester, and a user corresponding to the second terminal may be referred to as a requesting user.
Taking the virtual article issuing request as an example that the first terminal sends in the session, after receiving the virtual article sending request sent in the session by the first terminal, the virtual article issuing device issues the virtual article in the session according to the virtual article issuing request, and at this time, other members in the session can view the issuing message of the virtual article and can choose to pick up the virtual article. Specifically, in the virtual article issuing method using the "red packet" as the carrier, after the sender user sends the "red packet" in the session, the requesting user in the session can click the "red packet" to pick up the "red packet", that is, send the "red packet" picking-up request to the virtual article issuing device.
It can be understood that, after the virtual article issuing device determines the number of the virtual articles, the display control for displaying the virtual articles in the session can be controlled, so that the members in the session can pick up the virtual articles or look up the issuing information of the virtual articles. For example, the second terminal sends an item pickup request to the virtual item dispensing apparatus through the display control of the displayed virtual item in a session, wherein the virtual item pickup request carries the voice input by the requesting user and the user identifier of the requesting user.
Taking the example that the virtual article issuing request is triggered by the first terminal through the preset virtual article issuing entrance, the virtual article issuing device issues the virtual article according to the virtual article issuing request after receiving the virtual article issuing request sent by the first terminal. For example, in the virtual article issuing method using the "red packet" as the carrier, after the sender user sends the "password red packet" at the red packet entrance of the payment application home page, other users can click the "password red packet" through the red packet entrance of the payment application home page to pick up the password red packet, that is, send a "password red packet" picking request to the virtual article issuing device.
In an embodiment of the present invention, the voice input by the user may be requested to display a voice input control when the user gets the virtual article, and the voice input by the voice input control is pressed by the user. In another embodiment of the present invention, the voice input by the requesting user may also be a local voice selected by the requesting user when the virtual article is picked up (e.g., a personal voice saved by the user's previous voice input). Meanwhile, the article pickup request carries a corresponding user identifier of the requesting user, such as a nickname or an account number of the requesting user, so that the virtual article issuing device determines the identity of the requesting user.
The original intention of the invention is to set sample voice so as to receive the voice input by the user of the virtual article, and receive the red envelope through voice matching, therefore, the user is requested to input the voice to receive the virtual article, and further, the voice matched with the sample voice is input to receive the virtual article. At this point, the requesting user may also need to play the sample speech to determine the input speech before picking up the virtual item. Therefore, before receiving a virtual item pickup request sent by the second terminal in the session, the method in the embodiment of the present invention may further include: receiving a sample voice playing request sent by a second terminal; and sending the sample voice to the second terminal according to the sample voice playing request so that the second terminal can play the sample voice and a user can be requested to input the voice corresponding to the sample voice conveniently.
Similarly, taking a 'red packet' as an example, when a sender user sets a voice password red packet, setting sample voice, wherein a voice playing button is included on a display interface of the voice password red packet, a request user clicks the voice playing button before getting the voice password red packet, and then a sample voice playing request can be sent to the virtual article dispensing device, the virtual article dispensing device sends the sample voice to the second terminal according to the sample voice playing request, so that the sample voice is played at the second terminal, and the request user can determine the voice to be input according to the sample voice played in the second terminal. For example, the sample voice is the 'love for death' of the Xin le band, and after the song of the 'love for death' is played, the requesting user can sing the 'love for death' by voice as the voice input by the requesting user.
104. And acquiring the voiceprint similarity between the voice input by the requesting user and the sample voice.
After determining the sample voice and acquiring the voice input by the user, the virtual article issuing device may acquire the voiceprint similarity between the voice input by the user and the sample voice.
Specifically, the manner of obtaining the voiceprint similarity between the voice input by the user and the sample voice may be: and determining the voiceprint similarity between the voice of the request user input and the sample voice by using a preset voice recognition algorithm. The preset speech recognition algorithm may be a Mel-frequency cepstral coefficient (MFCC) algorithm, a Gaussian Mixed Model (GMM) algorithm, an i-Vector algorithm, an end-to-end deep neural network algorithm, and the like.
105. And when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user.
After the virtual article issuing device receives the article pickup request sent by the second terminal, it needs to determine whether the requesting user is a pickup-capable user, and the voiceprint similarity obtained in step 105 reaches a preset threshold, which may be specifically set according to the requirement of the actual application, for example, the preset threshold is 85% (voiceprint similarity). When the voiceprint similarity does not reach the preset threshold, the request user can be determined to be an unavailable user, the virtual article getting request of the rejection request user, or the virtual article getting request of the direct rejection request user.
After the requesting user is determined to be the retrievable user, the virtual article may be issued to the user identifier corresponding to the retrievable user, specifically, the virtual article is actually sent to the retrievable user (i.e., the requesting user) corresponding to the user identifier. The step of issuing the virtual article to the user identifier has various implementation manners, and may randomly send the virtual article to the requesting user corresponding to the user identifier, or send the virtual article to the requesting user corresponding to the user identifier according to a preset rule, and may specifically be set according to requirements of practical applications, for example, taking "red package" as an example, after the requesting user is determined to be a receivable user, red package amounts may be randomly allocated to the receivable user, or red packages with equal amounts may be set for each receivable user, that is, the amounts of each red package are set to be equal according to the set number of the receivable users and the total amount of the red packages, so that each receivable user receives red packages with equal amounts, and issues red packages to the user identifier according to the equal amounts.
In an embodiment, the step of issuing the virtual article to the user identifier corresponding to the retrievable user may further include:
(1) acquiring the distribution proportion of the articles corresponding to the voiceprint similarity;
wherein, obtaining the distribution proportion of the articles corresponding to the voiceprint similarity specifically may include: determining a preset similarity interval in which the voiceprint similarity falls; and acquiring the distribution proportion of the articles corresponding to the preset similarity interval.
In the virtual article distribution device, the corresponding relationship between the voiceprint similarity interval and the article distribution proportion can be preset, so that the preset similarity interval in which the voiceprint similarity falls can be determined directly according to the corresponding relationship between the article distribution proportion corresponding to the preset voiceprint similarity interval, and the article distribution proportion corresponding to the preset voiceprint similarity interval can be further obtained.
It should be noted that the item allocation ratio in the embodiment of the present invention may be a ratio of a virtual item sent by a sender user, or a ratio of a remaining virtual item to be picked up, and may be specifically set according to a requirement of an actual application, which is not limited herein. Taking the "red packet" as an example, assuming that the total amount of the "red packet" sent by the sender user is 100 yuan, the remaining red packets to be picked up are 50 yuan before the request user picks up, and the distribution ratio of the items may be a ratio corresponding to the total amount of 100 yuan, or may be a distribution ratio of the remaining red packets to be picked up of 50 yuan.
Wherein, one example of the corresponding relationship between the distribution ratios of the articles corresponding to the voiceprint similarity interval is shown in table 1 below (taking the preset threshold as the voiceprint similarity 85% in table 1 as an example):
TABLE 1
Figure BDA0001733874510000141
It should be noted that the correspondence between the voiceprint similarity and the product allocation ratio shown in table 1 is only an example, so as to more clearly illustrate the technical solution of the embodiment of the present invention, and does not limit the technical solution provided by the embodiment of the present invention.
(2) And issuing the virtual article to the user identification according to the article allocation proportion.
After the distribution proportion of the articles corresponding to the voiceprint similarity is obtained in step (1), the virtual articles can be issued to the user identifiers corresponding to the retrievable users according to the distribution proportion of the articles, for example, if the distribution proportion of the articles is determined to be 10% of the remaining virtual articles to be retrieved in step (1), 10% of the remaining virtual articles to be retrieved are issued to the user identifiers corresponding to the retrievable users. Taking the "red packet" as an example, assuming that 50 yuan of red packets to be received remain, a red packet with 50 × 10% ═ 5 yuan is issued to the user identifier corresponding to the user that can be received, that is, the user is requested to receive the 5 yuan red packet.
In the embodiment of the invention, a virtual article issuing request sent by a first terminal in a session is received; determining sample voice for picking up the virtual article according to the voice information for picking up the virtual article, which is included in the virtual article issuing request; receiving a virtual article pickup request sent by a second terminal, wherein the virtual article pickup request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user. The embodiment of the invention sets the voice information for picking up the virtual article when the user issues the virtual article, requests the user to pick up the virtual article through voiceprint matching, improves the safety of the virtual article, can break through the limit of fixedly receiving the user when the virtual article is sent, realizes the effect of randomly picking up the issued virtual article, and has more flexible operation.
In this embodiment of the present invention, when the virtual article issuance request is sent by the first terminal in a session, in order to further increase the interest of issuing the virtual article, after the virtual article is issued to the requesting user, all members in the session may send a voice input by the requesting user, and the method in this embodiment of the present invention may further include: after the virtual article is issued to the request user, acquiring member identification in a session; and forwarding the voice input by the user to the terminal corresponding to the member identification in the conversation. For example, after the voice input by the user is requested to sing a song of a small apple for the user, the small apple sung by the user is forwarded to all members in the conversation after the user is requested to pick up the virtual article, so that all the members in the conversation can hear the small apple sung by the user when the user picks up the virtual article for entertaining people, on one hand, the enthusiasm of the user for issuing the virtual article can be improved, and on the other hand, the talent performance of the user can be promoted through issuing the virtual article.
The following will be described from the perspective of a virtual-article dispensing apparatus on the other side, which may be particularly integrated in the first terminal shown in fig. 1.
The embodiment of the invention provides a virtual article issuing method, which comprises the following steps: receiving a virtual article issuing instruction; displaying a virtual article issuing interface according to the virtual article issuing instruction; acquiring voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article issuing interface; when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to the server, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises the voice information for picking up the virtual article.
Referring to fig. 3, fig. 3 is a schematic flow chart of an embodiment of a virtual article issuing method provided in the embodiment of the present invention, where the virtual article issuing method includes:
201. receiving a virtual article issuance instruction.
In the embodiment of the present invention, the receiving of the virtual article issuance instruction may be receiving of a virtual article issuance instruction of the sender user in a session, and the sender user may trigger sending of the virtual article issuance instruction in the session, for example, the sender user clicks a preset virtual article issuance control in the session, and the virtual article issuance apparatus receives the virtual article issuance instruction. Taking a 'red packet' as an example, in a session between the user a and the user B, the user a may click on the control integration interface beside the expansion input box, and select to click on the 'red packet' control, so that the virtual article issuing device receives a red packet issuing instruction.
It is understood that, in some embodiments, the session interface may also generate the virtual-article dispensing instruction quickly by a shortcut, for example, in the session interface, a fingerprint matching a preset fingerprint is input, a voice password matching a preset voice is input, and the like, the virtual-article dispensing apparatus receives the virtual-article dispensing instruction quickly. Similarly, taking "red packet" as an example, in a session between the user a and the user B, if the user a presets that the thumb fingerprint of the user a is a shortcut for sending the red packet, in a session interface between the user a and the user B, if the thumb fingerprint input by the user a is obtained, a red packet issuing instruction is generated, and the virtual article issuing device receives the red packet issuing instruction.
In the embodiment of the present invention, the receiving of the virtual article issuance instruction may also be receiving a virtual article issuance instruction triggered by the sender user through a preset virtual article issuance entrance. In the virtual article issuing method using the red packet as the carrier, in a specific example of receiving a virtual article issuing instruction triggered by a sender user through a preset virtual article issuing inlet, a password red packet control is arranged at the red packet issuing inlet of a payment application home page, and the virtual article issuing instruction is generated by clicking the password red packet control by the sender user.
202. And displaying the virtual article issuing interface according to the virtual article issuing instruction.
After receiving the virtual article issuance instruction in step 201, the virtual article issuance apparatus displays the virtual article issuance interface according to the virtual article issuance instruction. Specifically, the virtual article issuing interface may display setting item information of the virtual article, for example, a setting item of sample voice, a setting item of total amount of the virtual article, a setting item of amount of money of the virtual article, and the like, and the display displayed on the virtual article issuing interface may be specifically set according to a requirement of an actual application. Taking red envelope as an example, the setting items of the sample voice for picking up the red envelope, the number of the red envelopes, the total amount of the red envelopes and the like can be wrapped.
The sending user can set the virtual article setting information on the virtual article distribution interface one by one so as to be received by the requesting user.
203. And acquiring voice information for picking up the virtual article based on the sample voice setting operation of the user aiming at the virtual article issuing interface.
In this embodiment, the user is a sender user, and when the sender user operates on the sample voice setting of the virtual article issuance interface, the voice information for retrieving the virtual article can be obtained. The voice information may include sample voice, or may also include voice identification information, or includes both sample voice and voice identification information, and may be specifically set according to the requirements of the actual application.
In an embodiment of the present invention, the step of obtaining the voice information for retrieving the virtual article based on the sample voice setting operation of the user on the virtual article issuance interface, where the voice information includes the voice identification information, specifically includes:
(1) and displaying the sample voice identification list based on the voice setting operation of the user aiming at the virtual article issuing interface.
Specifically, based on the voice setting operation of the user for the virtual article issuing interface, displaying the sample voice identification list may include: and acquiring a voice setting operation instruction of a user for the virtual article issuing interface, and displaying a sample voice identification list according to the voice setting operation instruction.
Further, the sample voice identifier list may be preset, or may be a target sample voice identifier list selected from a plurality of sample voice identifier lists, and displaying the sample voice identifier list according to the voice setting operation instruction includes: and displaying a plurality of sample voice identification lists according to the voice setting operation instruction, acquiring a target sample voice identification list selected by a user in the plurality of sample voice identification lists, and displaying the target sample voice identification list.
The sample voice identification list is displayed with a plurality of sample voice identifications, each sample voice identification corresponds to one sample voice, and a sender user can directly select voice identification information for picking up a virtual article from the sample voice identification list.
(2) And acquiring voice identification information for picking up the virtual article based on the selection operation of the user on the sample voice identification list.
Specifically, the voice identification information for retrieving the virtual item is acquired based on the selection operation of the user for the sample voice identification list: the method can be used for receiving a selection operation instruction of a sender user for the sample voice identification list and acquiring voice identification information for picking up the virtual article. After the sample voice identifier list is displayed, the sender user can directly select the voice identifier information for picking up the virtual article in the sample voice identifier list, and at this time, the virtual article dispensing device can obtain the voice identifier information for picking up the virtual article.
In another embodiment of the present invention, the step of obtaining the voice information for retrieving the virtual article based on the sample voice setting operation of the user on the virtual article dispensing interface includes: displaying a sample voice list based on voice setting operation of a user for the virtual article issuing interface; and acquiring a sample voice for picking up the virtual article based on the selection operation of the user on the sample voice list. In this embodiment, the difference from the above embodiment is only that one is to select a sample voice identifier from the sample voice identifier list, and the other is to select a sample voice from the sample voice list, and specific details may refer to the implementation process of selecting voice identifier information, and are not described herein again.
It should be noted that, in the embodiment of the present invention, only the setting process of the sample voice is described, it can be understood that, according to the requirement of the actual application, the corresponding setting process of the other virtual article information set on the virtual article issuing interface is also necessary, and taking "red package" as an example, information such as the number of red packages, the total amount of red packages, and the like also needs to be set, and details are not described here any more.
204. And when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to the server.
After the sender user sets all the information of virtual article release on the virtual article release interface, the sender user can confirm to release the virtual article, and the virtual article release device can detect the operation of virtual article release confirmation. Taking a 'red packet' as an example, when it is detected that the virtual article issuance confirmation operation is a 'money-in-money' control clicked by the user on the red packet issuance interface, if no payment verification exists, the operation may be considered as the red packet issuance confirmation operation, if payment verification (such as fingerprint verification, digital password verification, and the like) exists, the payment verification interface is displayed, and after the payment verification by the user of the sender passes, the operation is considered as the red packet issuance confirmation operation.
When the virtual article issuing confirmation operation is detected, a virtual article issuing request is sent to the server, the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises all necessary setting information for issuing the virtual article. In the embodiment of the invention, the issued virtual article needs to request the user to input voice for picking up, so the setting information comprises the voice information for picking up the virtual article.
In the embodiment of the invention, the virtual article issuing instruction is received; displaying a virtual article issuing interface according to the virtual article issuing instruction; acquiring voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article issuing interface; when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to a server, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information. The embodiment of the invention sets the voice information for getting the virtual article when the user dispenses the virtual article, improves the safety of the virtual article, can break through the limit of fixedly receiving the user when the virtual article is dispensed, realizes the effect of randomly getting the issued virtual article, and has more flexible operation.
For a sender user corresponding to a first terminal that issues a virtual article, the sender may also receive the virtual article issued by another user, and therefore, further, the method in the embodiment of the present invention further includes: acquiring the receiving operation of a user for the virtual article, and displaying an article receiving interface; acquiring voice input by a user based on voice input operation of the user aiming at the article pickup interface; when the voice input operation is detected to be finished, sending an article pickup request to a server, wherein the article pickup request carries a user identifier of a requesting user and voice input by the requesting user; and receiving a virtual article picking result sent by the server. Since the process is similar to the process of picking up the virtual item by the second terminal described below, it is not separately described herein, and the detailed process may refer to the following description.
The following will be described from the perspective of a virtual article pick-up device, which may be integrated in particular in the second terminal shown in fig. 1.
The embodiment of the invention provides a virtual article picking method, which comprises the following steps: receiving a virtual article pickup link sent by a server; displaying an item pickup interface based on pickup operation of a user for the virtual item pickup link; acquiring a first voice input by a user based on a voice input operation of the user for an article pickup interface; when the voice input operation is detected to be finished, sending a first article getting request to a server, wherein the first article getting request carries a user identifier of a user and a first voice; and receiving a virtual article picking result sent by the server.
Referring to fig. 4, fig. 4 is a schematic flowchart of an embodiment of a virtual article retrieving method according to an embodiment of the present invention, where the virtual article retrieving method includes:
301. and acquiring the receiving operation of the user aiming at the virtual article, and displaying an article receiving interface.
In an implementation manner of the embodiment of the present invention, the obtaining operation for the virtual article is implemented based on the virtual article obtaining link, and at this time, the obtaining operation for the virtual article by the user, and the displaying the article obtaining interface may specifically include:
(1) and receiving the virtual article pickup link sent by the server.
Specifically, the virtual item pickup link sent by the server in the session may be received, and the user may click the virtual item pickup link to initiate a request for picking up the virtual item. Taking the red envelope as an example, the link is taken for the red envelope.
(2) And displaying an item pickup interface based on the pickup operation of the user for the virtual item pickup link.
Because the issuing of the virtual article needs to request the user to input voice, when the user performs the picking operation on the virtual article picking link, the displayed article picking interface comprises a voice input control, in some embodiments, the article picking interface can also comprise prompt information for prompting the user to input voice, such as identification information of sample voice and voice corresponding to the sample voice, in other embodiments of the invention, a sample voice playing control can also be included, so that the user can click the playing control, play the sample voice and know the content needing voice input.
In another embodiment of the present invention, the receiving operation for the virtual article may be implemented based on a virtual article receiving entry in an application, specifically, the virtual article receiving entry may be a preset virtual article control, that is, a user may display an article receiving interface by clicking the preset virtual article control, at this time, the receiving operation for the virtual article by the user is obtained, and the displaying the article receiving interface includes: and acquiring an instruction of clicking a preset virtual article control by a user, and displaying an article getting interface. For example, a 'password red packet' control is set in the payment application, after the user clicks the 'red packet' control, the controls such as the 'password red packet' and the 'common red packet' are displayed, and if an instruction for the user to click the 'password red packet' control is obtained, a password red packet pickup interface is displayed.
302. Based on the voice input operation of the user for the article pickup interface, first voice input by the user is obtained.
Specifically, the first voice input by the user is obtained based on the voice input operation of the user for the article pickup interface, and the first voice input by the user may be obtained by obtaining a voice input operation instruction of the user for the article pickup interface and collecting the first voice input by the user according to the operation instruction, where the voice input operation instruction may be generated based on a control for operating a voice input, and the operation of the voice input control may be pressing the voice input control or clicking the voice input control.
303. When the end of the voice input operation is detected, a first item pickup request is sent to the server.
When the voice input operation is detected to be finished, the voice input of the user is indicated to be finished, the first voice is obtained, at the moment, a first article getting request can be sent to the server, and the first article getting request carries the user identification of the user and the first voice.
304. And receiving a first virtual article picking result sent by the server.
After receiving the first item pickup request, the server may determine whether the requesting user is a pickup-capable user according to the method in the embodiment shown in fig. 2, and after determining, the server feeds back the first virtual item pickup result. For example, when the requesting user is determined to be a retrievable user, the server issues the virtual article to the user identifier corresponding to the retrievable user, otherwise, the server may issue a prompt message indicating that the retrieval is failed to the user identifier.
When the obtaining operation of the user for the virtual article is obtained, the displaying of the article pickup interface specifically includes receiving a virtual article pickup link sent by the server, and the article pickup interface is displayed based on the pickup operation of the user for the virtual article pickup link, in order to assist the user in picking up the virtual article, in an embodiment of the present invention, other users may be selected as assistance users to assist the user in picking up the virtual article, and at this time, the method of the embodiment of the present invention may further include:
(1) when the virtual article picking result is that the virtual article picking fails, sending an assistance request to a target terminal;
the target terminal may be a terminal corresponding to the assisting user, and the assisting user may be a user in the same network platform or the same instant messaging platform as the sender user, and in some scenarios, the assisting user and the sender user need to be friends. In addition, the assistance request includes a virtual article getting link, so that the assistance user can input an assistance voice corresponding to the sample voice through the virtual article getting link, and the assistance request user gets the virtual article.
(2) And acquiring the assistance information sent by the target terminal.
After the assisting user inputs the assisting voice corresponding to the sample voice through the virtual article getting link, the target terminal sends assisting information to the second terminal, and at the moment, the virtual article getting device in the second terminal receives the assisting information sent by the target terminal. The assistance information comprises assistance voice input by the assistance user at the target terminal.
(3) And sending a second article picking request to the server.
The second item pickup request carries the user identifier of the user and the assisting voice, and the pickup of the virtual item is determined in the server by comparing the voiceprint similarity of the assisting voice and the sample voice (refer to the content of the voiceprint similarity comparison in the embodiment shown in fig. 2).
(4) And receiving a second virtual article picking result sent by the server.
After receiving the second item pickup request, the server may determine whether the requesting user is a pickup user according to the method in the embodiment shown in fig. 2, and after determining, the server may feed back the second virtual item pickup result. For example, when the requesting user is determined to be a retrievable user, the server issues the virtual article to the user identifier corresponding to the retrievable user, otherwise, the server may issue a prompt message indicating that the retrieval is failed to the user identifier.
According to the embodiment of the invention, an article pickup interface is displayed by acquiring pickup operation of a user for a virtual article; acquiring a first voice input by a user based on a voice input operation of the user for an article pickup interface; when the voice input operation is detected to be finished, sending a first article getting request to a server, wherein the first article getting request carries a user identifier of a user and a first voice; and receiving a first virtual article picking result sent by the server. According to the embodiment of the invention, when the user receives the virtual article, the voice information of the virtual article is input to receive the virtual article, so that the safety of the virtual article is improved, the effect of randomly receiving the issued virtual article is realized, and the operation is more flexible.
In order to avoid the situation that a single user repeatedly gets the virtual article but cannot get the virtual article, the embodiment of the present invention performs some limitations on the virtual article getting of the user, which are specifically as follows: when the virtual article picking result is that the virtual article picking fails, counting the failure times of picking the virtual article by the user; and when the failure times of the user to receive the virtual article reach the preset times, setting the user as a non-receivable user. It should be noted that the unavailable picking user is only directed to the current virtual article, that is, the virtual article cannot be picked subsequently, and is not limited to the virtual article issued in other sessions or other virtual articles issued in the current session.
The following describes a process of issuing virtual articles in the embodiment of the present invention with reference to a specific application scenario. Referring to fig. 5, fig. 5 is a schematic flow chart of a virtual article issuing process according to an embodiment of the present invention, where the flow chart may include:
401. a first terminal receives a red packet issuing instruction of a user A in a conversation with a user B;
specifically, assuming that the user a and the user B are QQ users, in a session including the user a and the user B, the user a may click on the control integration interface beside the expansion input box, select and click on the "red packet" control therein, and the first terminal receives a red packet issuing instruction.
402. The first terminal displays a red packet issuing interface according to the red packet issuing instruction;
specifically, after a red packet issuing instruction of a user A is received, a red packet issuing interface shown in fig. 6 is displayed, fig. 6 includes 3 red packet types, such as a common red packet, a spelling-style red packet, a password red packet and the like, and the red packet issuing interfaces of each type have certain differences. The user can set the voice password (i.e. the sample voice as described in the above embodiment), the number of red packets and the total amount of red packets in turn.
In the voice password setting item, the user a may click the "right arrow" in the "password red packet" red packet issuance interface, and display switches to the voice list shown in fig. 7, where the voice list includes four songs: the "deaths from love for everything" in the fun group, the "deaths from love for waiting" in the prosperous, the "pain as if dying" in MC dream, and the "how many few people who carried the kettle and died" in the bear park, the user a can select a voice as a voice password in the voice list, for example, the "deaths from love for everything" in the fun group. After the user selects the voice password, the user switches back to the 'password red packet' red packet issuing interface, at this time, as shown in fig. 8, the voice password setting item already displays the selected 'dear love for everything', and meanwhile, a play control is further arranged on the right side of the voice password, so that the user can conveniently play and listen.
Meanwhile, the user A can set the number of the red packages, the total amount of the red packages and other red package setting items in sequence.
403. The method comprises the steps that a first terminal obtains a voice password for picking up the red packet based on voice password setting operation of a user A on a red packet issuing interface;
for example, the song "died love" set in step 402.
404. When detecting the red packet issuing confirmation operation, the first terminal sends a red packet issuing request to the server;
after all information is set, the user a may click the "deposit" button, and call a preset payment interface to complete a payment operation, for example, call a certain payment application to complete a payment operation. The process of completing the payment operation at the preset payment interface may specifically include:
(1) and (5) identity verification. For example, the virtual article issuing device first checks the identity of the current sender user, determines whether the sender user has the payment authority, and returns information to be paid to the first terminal.
(2) Payment is made.
After determining that the sender user has the payment authority, calling a payment interface of a preset Application in an Application (APP) payment mode.
(3) The payment is completed.
After payment is completed, that is, a red packet issuing confirmation operation is detected, a red packet issuing request is sent to a server, the red packet issuing request carries red packet issuing setting information, such as the number of red packets, the total amount of the red packets and the like, and the setting information comprises the voice password for getting the red packets.
405. The server receives the red packet setting information sent by the first terminal in the session, and sends a red packet getting link in the session.
The issuing of the red envelope pick-up link in the session is shown in detail in fig. 9.
The steps 401 to 405 describe the red packet issuing process, and the virtual article pickup process in the embodiment of the present invention is described below with reference to another specific application scenario. Referring to fig. 10, fig. 10 is a schematic flow chart of a virtual article pickup process according to an embodiment of the present invention, where the flow chart may include:
501. and the user B in the second terminal receives the red packet pick-up link sent by the server in the session.
As shown in fig. 9, user B in the session receives the red envelope pick-up link sent in the server.
502. And the second terminal displays a red envelope getting interface in the second terminal based on the getting operation of the user B for the red envelope getting link.
Specifically, when the user B clicks the red packet getting link, a red packet getting interface is displayed in the second terminal, as shown in fig. 11, the red packet getting interface includes information of a voice password, such as a name of song "dear dues", a play control is arranged beside the name of "dear dues", and the user B can click the play control to play the set voice password of "dear dues". The red envelope getting interface also comprises a voice input control, and the user B can press the voice input control to input voice, for example, singing a song of 'deaths and deaths all love'). The red packet pickup interface may further include user information for issuing a red packet, that is, information of the user a, such as a nickname.
503. And the second terminal acquires the voice 1 input by the user B based on the voice input operation of the user B on the red envelope pickup interface.
After the user B presses the voice input control to input singing "died love" in the red envelope getting interface shown in fig. 11, the voice 1 input by the user B is obtained.
504. And when detecting that the voice input operation of the user B is finished, the second terminal sends a red packet getting request 1 to the server.
When detecting that the voice input operation of the user B is finished, the second terminal sends a red packet getting request 1 to the server, wherein the red packet getting request 1 carries the QQ number of the user B and the voice 1.
505. The server receives a red packet getting request 1 sent by the second terminal in the session.
506. The server acquires the voiceprint similarity between the voice input by the user B and the voice password;
507. if the server determines whether the voiceprint similarity reaches 85%, if yes, step 508 is executed, and if not, step 509 is executed.
508. And the server determines that the user B is a retrievable user and issues a red packet to the user B in the second terminal.
At this time, the user B in the second terminal receives the red packet issued by the server.
509. And the server feeds back a red packet getting failure notice to the second terminal.
At this time, the second terminal user B receives the red packet pickup failure notification fed back by the server.
Further, when the user B fails to receive the red envelope, the second terminal may send an assistance request to the user C in the target terminal, where the assistance request includes the red envelope receiving link; the second terminal acquires the assistance information sent by the user C, wherein the assistance information comprises the assistance voice input by the user C at the target terminal; the second terminal sends a red packet getting request 2 to the server, the red packet getting request 2 carries the QQ number of the user B and the assisting voice, the server receives the red packet getting request 2, the server sends a red packet getting result to the second terminal according to the red packet getting request 2, and the second terminal receives the red packet getting result 2 sent by the server. Specifically, the step of sending, by the server, the red packet pickup result to the second terminal according to the red packet pickup request 2 may specifically be: and acquiring voiceprint similarity between the assisting voice and the voice password, and when the server judges whether the voiceprint similarity reaches 85%, if so, determining that the user B is a retrievable user, and issuing a red packet to the user B in the second terminal, and if not, feeding back a red packet retrieval failure notification to the user B in the second terminal by the server.
The embodiment of the invention sets the voice password for getting the virtual article when the user issues the red packet, requests the user to get the red packet through voiceprint matching, improves the security of the red packet, can break through the limit of fixedly receiving the user when issuing the red packet, realizes the effect of randomly getting the red packet, and is more flexible in operation.
In order to better implement the virtual article issuing method provided by the embodiment of the invention, the embodiment of the invention also provides a device based on the virtual article issuing method. The terms are the same as those in the virtual article issuing method, and the details of the implementation can be referred to the description in the method embodiment.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a virtual article issuing apparatus according to an embodiment of the present invention, where the virtual article issuing apparatus is applied to a server, where the virtual article issuing apparatus may include a first receiving unit 1201, a determining unit 1202, a second receiving unit 1203, a first obtaining unit 1204, and a virtual article issuing unit 1205, and the details are as follows:
a first receiving unit 1201, configured to receive a virtual article release request sent by a first terminal, where the virtual article release request carries setting information for releasing a virtual article, and the setting information includes voice information for retrieving the virtual article;
a determining unit 1202, configured to determine, according to the voice information, a sample voice for retrieving the virtual item;
a second receiving unit 1203, configured to receive a virtual item pickup request sent by a second terminal, where the virtual item pickup request carries a voice input by a requesting user and a user identifier of the requesting user;
a first obtaining unit 1204, configured to obtain a voiceprint similarity between a voice requested to be input by a user and a sample voice;
a virtual article issuing unit 1205, configured to determine that the requesting user is an available user when the voiceprint similarity reaches a preset threshold, and issue a virtual article to a user identifier corresponding to the available user.
Further, the voice information includes voice identification information; the determining unit 1202 is specifically configured to:
inquiring corresponding sample voice in a preset voice database through the voice identification information;
and taking the inquired sample voice as the sample voice for picking up the virtual article.
Further, the device further comprises a third receiving unit and a playing unit, and the third receiving unit and the playing unit are as follows:
the third receiving unit is used for receiving a sample voice playing request sent by the second terminal before receiving a virtual article getting request sent by the second terminal in the session;
and the playing unit is used for sending the sample voice to the second terminal according to the sample voice playing request so that the second terminal can play the sample voice.
Further, the virtual article issuing unit includes an acquiring subunit and an issuing subunit, as follows:
the acquiring subunit is used for acquiring the distribution proportion of the articles corresponding to the voiceprint similarity;
and the issuing subunit is used for issuing the virtual articles to the user identifications corresponding to the retrievable users according to the article distribution proportion.
Further, the obtaining subunit is specifically configured to:
determining a preset similarity interval in which the voiceprint similarity falls;
and acquiring the distribution proportion of the articles corresponding to the preset similarity interval.
Further, the virtual article issuance request is sent by the first terminal in a session, and the apparatus further includes a second obtaining unit and a sending unit, specifically as follows:
a second obtaining unit, configured to obtain the member-in-session identifier after the virtual article is issued to the requesting user;
and the sending unit is used for forwarding the voice input by the user to the terminal corresponding to the member identification in the conversation.
In the embodiment of the present invention, a first receiving unit 1201 receives a virtual article issuing request sent by a first terminal; the determining unit 1202 determines a sample voice for picking up the virtual item according to the voice information for picking up the virtual item included in the virtual item issuance request; the second receiving unit 1203 receives a virtual item pickup request sent by the second terminal, where the virtual item pickup request carries the voice input by the requesting user and the user identifier of the requesting user; a first obtaining unit 1204 obtains a voiceprint similarity between a voice requested to be input by a user and a sample voice; when the voiceprint similarity reaches the preset threshold, the virtual article issuing unit 1205 determines that the requesting user is a retrievable user, and issues a virtual article to the user identifier corresponding to the retrievable user. The embodiment of the invention sets the voice information for getting the virtual article when the user issues the virtual article, requests the user to get the virtual article through voiceprint matching, improves the safety of the virtual article, can break through the limit of fixedly receiving the user when the virtual article is issued, realizes the effect of randomly getting the issued virtual article, and has more flexible operation.
Referring to fig. 13, fig. 13 is a schematic structural diagram of another virtual article issuing apparatus according to an embodiment of the present invention, where the virtual article issuing apparatus is applied to a terminal, where the virtual article issuing apparatus may include a first receiving unit 1301, a first display unit 1302, a first obtaining unit 1303, and a first sending unit 1304, and the details are as follows:
a first receiving unit 1301, configured to receive a virtual article issuance instruction;
a first display unit 1302, configured to display a virtual article issuing interface according to the virtual article issuing instruction;
a first obtaining unit 1303, configured to obtain voice information for retrieving a virtual article based on a sample voice setting operation of a user on a virtual article issuance interface;
a first sending unit 1304, configured to send a virtual article issuance request to the server when detecting a virtual article issuance confirmation operation, where the virtual article issuance request carries virtual article issuance setting information, and the setting information includes voice information.
Further, the voice information comprises voice identification information for picking up the virtual article; the first obtaining unit comprises a display subunit and an obtaining subunit, and specifically comprises the following steps:
the display subunit is used for displaying the sample voice identifier list based on the voice setting operation of the user aiming at the virtual article issuing interface;
and the acquisition subunit is used for acquiring the voice identification information for picking up the virtual article based on the selection operation of the user on the sample voice identification list.
Further, the device further comprises a second display unit, a second obtaining unit, a second sending unit and a second receiving unit, and the method specifically comprises the following steps:
the second display unit is used for acquiring the receiving operation of the user for the virtual article and displaying an article receiving interface;
the second acquisition unit is used for acquiring the voice input by the user based on the voice input operation of the user aiming at the article pickup interface;
the second sending unit is used for sending an article getting request to the server when the voice input operation is detected to be finished, wherein the article getting request carries the user identification of the requesting user and the voice input by the requesting user;
and the second receiving unit is used for receiving the virtual article picking result sent by the server.
In the embodiment of the present invention, a virtual article issuing instruction is received by the first receiving unit 1301; the first display unit 1302 displays a virtual article issuing interface according to the virtual article issuing instruction; the first obtaining unit 1303 obtains the voice information for retrieving the virtual article based on the sample voice setting operation of the user for the virtual article issuance interface; when detecting the virtual article issuance confirmation operation, the first sending unit 1304 sends a virtual article issuance request to the server, where the virtual article issuance request carries virtual article issuance setting information, and the setting information includes voice information. The embodiment of the invention sets the voice information for getting the virtual article when the user dispenses the virtual article, improves the safety of the virtual article, can break through the limit of fixedly receiving the user when the virtual article is dispensed, realizes the effect of randomly getting the issued virtual article, and has more flexible operation.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a virtual article retrieving device according to an embodiment of the present invention, where the virtual article retrieving device is applied to a terminal, where the virtual article retrieving device may include a display unit 1401, a first obtaining unit 1402, a first sending unit 1403, and a second receiving unit 1404, and the details are as follows:
a display unit 1401, configured to obtain a pickup operation of a user for a virtual article, and display an article pickup interface;
a first obtaining unit 1402, configured to obtain a first voice input by a user based on a voice input operation of the user for an item pickup interface;
a first sending unit 1403, configured to send a first item pickup request to the server when it is detected that the voice input operation is ended, where the first item pickup request carries a user identifier of the user and a first voice;
a first receiving unit 1404, configured to receive the first virtual item pickup result sent by the server.
Further, the display unit 1401 includes a receiving subunit and a display subunit, and specifically, the following steps are included:
the receiving subunit is used for receiving the virtual article getting link sent by the server;
the display subunit is used for displaying an item pickup interface based on pickup operation of a user for the virtual item pickup link;
the device comprises a second sending unit, a second acquiring unit, a third sending unit and a third receiving unit, and the device specifically comprises the following components:
a second sending unit, configured to send an assistance request to the target terminal when the virtual article pickup result is that virtual article pickup fails, where the assistance request includes a virtual article pickup link;
the second acquisition unit is used for acquiring assistance information sent by the target terminal, wherein the assistance information comprises assistance voice input by an assistance user at the target terminal;
the third sending unit is used for sending a second article getting request to the server, wherein the second article getting request carries the user identification and the assisting voice of the user;
and the second receiving unit is used for receiving the second virtual article picking result sent by the server.
Further, the device also comprises a counting unit and a setting unit, and the device specifically comprises the following components:
the counting unit is used for counting the failure times of the virtual article receiving of the user when the virtual article receiving result is that the virtual article receiving fails;
and the setting unit is used for setting the user as an unavailable user after the failure times of the user for getting the virtual article reach the preset times.
In the embodiment of the invention, the receiving operation of the user for the virtual article is acquired through the display unit 1401, and an article receiving interface is displayed; the first obtaining unit 1402 obtains a first voice input by the user based on a voice input operation of the user for the article pickup interface; when detecting that the voice input operation is ended, the first sending unit 1403 sends a first item pickup request to the server, where the first item pickup request carries the user identifier of the user and the first voice; the second receiving unit 1404 receives the first virtual item pickup result sent by the server. According to the embodiment of the invention, when the user receives the virtual article, the voice information of the virtual article is input to receive the virtual article, so that the safety of the virtual article is improved, the effect of randomly receiving the issued virtual article is realized, and the operation is more flexible.
An embodiment of the present invention further provides a server, as shown in fig. 15, which shows a schematic structural diagram of the server according to the embodiment of the present invention, specifically:
the server may include components such as a processor 1501 of one or more processing cores, memory 1502 of one or more computer-readable storage media, a power source 1503, and an input unit 1504. Those skilled in the art will appreciate that the server architecture shown in FIG. 15 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 1501 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 1502 and calling data stored in the memory 1502, thereby performing overall monitoring of the server. Optionally, processor 1501 may include one or more processing cores; preferably, the processor 1501 may integrate an application processor, which mainly handles operations of storage media, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1501.
The memory 1502 may be used to store software programs and modules, and the processor 1501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1502. The memory 1502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operation storage medium, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 1502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1502 may also include a memory controller to provide the processor 1501 access to the memory 1502.
The server further includes a power source 1503 for supplying power to each component, and preferably, the power source 1503 may be logically connected to the processor 1501 through a power management storage medium, so as to implement functions of managing charging, discharging, and power consumption through the power management storage medium. The power supply 1503 may also include any component such as one or more of a dc or ac power source, a rechargeable storage medium, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The server may also include an input unit 1504 that may be used to receive entered numeric or character information, and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 1501 in the server loads an executable file corresponding to a process of one or more application programs into the memory 1502 according to the following instructions, and the processor 1501 runs the application programs stored in the memory 1502, thereby implementing various functions as follows:
receiving a virtual article issuing request sent by a first terminal, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information for picking up a virtual article; determining sample voice for picking up the virtual article according to the voice information; receiving a virtual article pickup request sent by a second terminal, wherein the virtual article pickup request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the virtual article issuing method, and are not described herein again.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 16, the terminal may include a Radio Frequency (RF) circuit 1601, a memory 1602 including one or more computer readable storage media, an input unit 1603, a display unit 1604, a sensor 1605, an audio circuit 1606, a Wireless Fidelity (WiFi) module 1607, a processor 1608 including one or more processing cores, and a power supply 1609. Those skilled in the art will appreciate that the terminal structure shown in fig. 16 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 1601 is used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by the one or more processors 1608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 1601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1601 may also communicate with a network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 1602 may be used to store software programs and modules, and the processor 1608 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 1602. The memory 1602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for operating a storage medium, at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 1602 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1602 may also include a memory controller to provide access to memory 1602 by processor 1608 and input unit 1603.
Input unit 1603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 1603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1608, and can receive and execute commands sent from the processor 1608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch-sensitive surfaces, input unit 1603 may include other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1604 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is communicated to the processor 1608 for determining the type of touch event, and the processor 1608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 16 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 1605, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 1606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 1606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts a collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1606, and outputs the audio data to the processor 1608 for processing, and then to the RF circuit 1601 for transmission to another terminal, for example, or outputs the audio data to the memory 1602 for further processing. The audio circuitry 1606 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 1607, which provides wireless broadband internet access for the user. Although fig. 16 shows the WiFi module 1607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1608 is a control center of the terminal, connects various parts of the entire mobile phone by various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1602 and calling data stored in the memory 1602, thereby performing overall monitoring of the mobile phone. Optionally, processor 1608 may include one or more processing cores; preferably, the processor 1608 may integrate an application processor, which primarily handles operating storage media, user interfaces, application programs, and the like, and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor may not be integrated into processor 1608.
The terminal also includes a power supply 1609 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 1608 via a power management storage medium that may be used to manage charging, discharging, and power consumption. The power supply 1609 may also include any component including one or more of a dc or ac power source, a rechargeable storage medium, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 1608 in the terminal loads an executable file corresponding to a process of one or more application programs into the memory 1602 according to the following instructions, and the processor 1608 runs the application programs stored in the memory 1602, thereby implementing various functions:
receiving a virtual article issuing instruction; displaying a virtual article issuing interface according to the virtual article issuing instruction; acquiring voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article issuing interface; when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to the server, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises the voice information for picking up the virtual article.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the virtual article issuing method, and are not described herein again.
In another embodiment, the processor 1608 in the terminal may load an executable file corresponding to one or more processes of the application program into the memory 1602 according to the following instructions, and the processor 1608 may run the application program stored in the memory 1602, thereby implementing various functions:
acquiring the receiving operation of a user for the virtual article, and displaying an article receiving interface; acquiring a first voice input by a user based on a voice input operation of the user for an article pickup interface; when the voice input operation is detected to be finished, sending a first item getting request to a server, wherein the first item getting request carries a user identifier of a user and a first voice; and receiving a virtual article picking result sent by the server.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the virtual article issuing method or the virtual article retrieving method, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the virtual article issuing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
receiving a virtual article issuing request sent by a first terminal, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information for picking up a virtual article; determining sample voice for picking up the virtual article according to the voice information; receiving a virtual article pickup request sent by a second terminal, wherein the virtual article pickup request carries voice input by a requesting user and a user identifier of the requesting user; acquiring voiceprint similarity between voice input by a request user and sample voice; and when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is the retrievable user, and issuing the virtual article to the user identifier corresponding to the retrievable user.
Since the instructions stored in the storage medium can execute the steps in any virtual article issuing method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any virtual article issuing method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The embodiment of the present invention provides another storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the virtual article issuing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
receiving a virtual article issuing instruction; displaying a virtual article issuing interface according to the virtual article issuing instruction; acquiring voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article issuing interface; when the virtual article issuing confirmation operation is detected, sending a virtual article issuing request to the server, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises the voice information for picking up the virtual article.
Since the instructions stored in the storage medium can execute the steps in any virtual article issuing method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any virtual article issuing method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The embodiment of the present invention provides another storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the virtual article issuing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring the receiving operation of a user for the virtual article, and displaying an article receiving interface; acquiring a first voice input by a user based on a voice input operation of the user for an article pickup interface; when the voice input operation is detected to be finished, sending a first item getting request to a server, wherein the first item getting request carries a user identifier of a user and a first voice; and receiving a virtual article picking result sent by the server.
Since the instructions stored in the storage medium may execute steps of any virtual article issuing method or virtual article retrieving method provided in the embodiments of the present invention, beneficial effects that can be achieved by any virtual article issuing method or virtual article retrieving method provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The virtual article issuing method, the virtual article picking device and the storage medium provided by the embodiment of the invention are described in detail, a specific embodiment is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. A virtual article issuance method, comprising:
receiving a virtual article issuing request sent by a first terminal, wherein the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information for picking up a virtual article;
determining sample voice for picking up the virtual article according to the voice information;
receiving virtual article getting requests sent by a plurality of second terminals, wherein the virtual article getting requests carry voices input by requesting users and user identifications of the requesting users;
acquiring voiceprint similarity between a plurality of voices input by the request users and the same sample voice;
when the voiceprint similarity reaches a preset threshold value, determining that the requesting user is an available user, issuing the virtual article to a user identifier corresponding to the available user, and sending voice input by the requesting user for issuing the virtual article to all members in the conversation;
and when the virtual article picking result is that virtual article picking fails, the requesting user sends an assistance request to a target terminal and receives an assistance voice returned by the target terminal according to the assistance request, the assistance voice is used for comparing the voiceprint similarity with the sample voice, and the target terminal is a terminal corresponding to the assisting user.
2. The virtual article issuance method according to claim 1, wherein the voice information includes voice identification information;
the determining a sample voice for picking up a virtual item according to the voice information includes:
inquiring corresponding sample voice in a preset voice database through the voice identification information;
and taking the inquired sample voice as the sample voice for picking up the virtual article.
3. The virtual article release method according to claim 1, wherein before receiving the virtual article pickup request sent by the second terminal, the method further comprises:
receiving the sample voice playing request sent by the second terminal;
and sending the sample voice to the second terminal according to the sample voice playing request so that the second terminal can play the sample voice.
4. The virtual article issuing method according to claim 1, wherein the issuing the virtual article to the user identifier corresponding to the retrievable user includes:
acquiring the distribution proportion of the articles corresponding to the voiceprint similarity;
and issuing the virtual article to the user identifier corresponding to the retrievable user according to the article distribution proportion.
5. The virtual article issuing method according to claim 4, wherein the obtaining of the article allocation proportion corresponding to the voiceprint similarity includes:
determining a preset similarity interval in which the voiceprint similarity falls;
and acquiring the distribution proportion of the articles corresponding to the preset similarity interval.
6. The virtual article issuance method according to claim 1, wherein the virtual article issuance request is sent by the first terminal in a session, and the method further comprises:
after the virtual article is issued to the request user, acquiring member identification in a session;
and forwarding the voice input by the request user to a terminal corresponding to the member identification in the conversation.
7. A virtual article issuance method, comprising:
receiving a virtual article issuing instruction;
displaying a virtual article issuing interface according to the virtual article issuing instruction;
acquiring voice information for picking up the virtual article based on sample voice setting operation of the user for the virtual article issuing interface;
when detecting the operation of confirming the virtual article issuance, sending a virtual article issuance request to a server, wherein the virtual article issuance request carries the setting information of virtual article issuance, and the setting information includes the voice information, so that the server realizes the virtual article issuance by adopting the method of claim 1.
8. The virtual article issuance method according to claim 7, wherein the voice information includes voice identification information for picking up a virtual article;
based on the sample voice setting operation of the user aiming at the virtual article issuing interface, acquiring voice information for picking up the virtual article, wherein the voice information comprises the following steps:
displaying a sample voice identification list based on voice setting operation of a user for the virtual article issuing interface;
and acquiring voice identification information for picking up the virtual article based on the selection operation of the user on the sample voice identification list.
9. The virtual item release method according to claim 7 or 8, wherein the method further comprises:
acquiring the receiving operation of a user for the virtual article, and displaying an article receiving interface;
acquiring voice input by a user based on voice input operation of the user aiming at the article pickup interface;
when the voice input operation is detected to be finished, sending an article getting request to the server, wherein the article getting request carries a user identifier of a requesting user and voice input by the requesting user;
and receiving a virtual article picking result sent by the server.
10. A virtual article dispensing apparatus, characterized in that the apparatus comprises:
the virtual article issuing system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a virtual article issuing request sent by a first terminal, the virtual article issuing request carries virtual article issuing setting information, and the setting information comprises voice information used for getting a virtual article;
the determining unit is used for determining sample voice for picking up the virtual article according to the voice information;
a second receiving unit, configured to receive virtual article pickup requests sent by multiple second terminals, where the virtual article pickup requests carry voices input by a requesting user and a user identifier of the requesting user;
a first obtaining unit, configured to obtain voiceprint similarities between multiple voices input by the requesting user and the same sample voice;
the virtual article issuing unit is used for determining the requesting user as an available user when the voiceprint similarity reaches a preset threshold value, issuing the virtual article to a user identifier corresponding to the available user, and sending voice input by the requesting user for issuing the virtual article to all members in the conversation; and when the virtual article picking result is that virtual article picking fails, the requesting user sends an assistance request to a target terminal and receives an assistance voice returned by the target terminal according to the assistance request, the assistance voice is used for comparing the voiceprint similarity with the sample voice, and the target terminal is a terminal corresponding to the assisting user.
11. The virtual article dispensing apparatus as claimed in claim 10, wherein the voice information includes voice identification information; the determining unit is specifically configured to:
inquiring corresponding sample voice in a preset voice database through the voice identification information;
and taking the inquired sample voice as the sample voice for picking up the virtual article.
12. The virtual article dispensing apparatus as claimed in claim 10, wherein the apparatus further comprises:
a third receiving unit, configured to receive the sample voice playing request sent by a second terminal before receiving a virtual article pickup request sent by the second terminal;
and the playing unit is used for sending the sample voice to the second terminal according to the sample voice playing request so that the second terminal can play the sample voice conveniently.
13. The virtual-article dispensing apparatus according to claim 10, wherein the virtual-article dispensing unit includes:
the acquiring subunit is used for acquiring the distribution proportion of the articles corresponding to the voiceprint similarity;
and the issuing subunit is used for issuing the virtual article to the user identifier corresponding to the retrievable user according to the article distribution proportion.
14. A virtual article dispensing apparatus, comprising:
the first receiving unit is used for receiving a virtual article issuing instruction;
the first display unit is used for displaying a virtual article issuing interface according to the virtual article issuing instruction;
the first obtaining unit is used for obtaining voice information for picking up the virtual article based on sample voice setting operation of a user aiming at the virtual article distribution interface;
a first sending unit, configured to send a virtual article issuance request to a server when detecting a virtual article issuance confirmation operation, where the virtual article issuance request carries setting information for issuing a virtual article, and the setting information includes the voice information, so that the server implements virtual article issuance by using the method according to claim 1.
15. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the virtual article issuance method according to any one of claims 1 to 9.
CN201810786546.2A 2018-07-17 2018-07-17 Virtual article issuing method, device and storage medium Active CN110152307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810786546.2A CN110152307B (en) 2018-07-17 2018-07-17 Virtual article issuing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810786546.2A CN110152307B (en) 2018-07-17 2018-07-17 Virtual article issuing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110152307A CN110152307A (en) 2019-08-23
CN110152307B true CN110152307B (en) 2022-05-06

Family

ID=67645066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810786546.2A Active CN110152307B (en) 2018-07-17 2018-07-17 Virtual article issuing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110152307B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768772A (en) * 2019-09-17 2020-10-13 北京京东尚科信息技术有限公司 Virtual article transfer method, device, equipment and readable storage medium
CN111652601B (en) * 2020-05-07 2023-11-10 腾讯科技(深圳)有限公司 Virtual article issuing and receiving method and device
CN111612537B (en) * 2020-05-20 2023-11-07 腾讯科技(深圳)有限公司 Virtual resource acquisition method and device and electronic equipment
CN111669658B (en) * 2020-06-17 2022-09-02 广州繁星互娱信息科技有限公司 Virtual article issuing method and device, computer equipment and storage medium
CN111582862B (en) * 2020-06-26 2023-06-27 腾讯科技(深圳)有限公司 Information processing method, device, system, computer equipment and storage medium
CN111882309B (en) * 2020-08-07 2023-08-22 腾讯科技(深圳)有限公司 Message processing method, device, electronic equipment and storage medium
CN111966441A (en) * 2020-08-27 2020-11-20 腾讯科技(深圳)有限公司 Information processing method and device based on virtual resources, electronic equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911743B (en) * 2011-08-26 2021-02-26 谷歌有限责任公司 System and method for determining a confidence level that a media item is being presented
CN105554027B (en) * 2016-01-21 2020-12-01 腾讯科技(深圳)有限公司 Resource sharing method and device
CN111698145A (en) * 2016-10-27 2020-09-22 财付通支付科技有限公司 Method, apparatus and medium for receiving and transmitting virtual package including voice
CN107025393B (en) * 2016-12-08 2020-07-10 阿里巴巴集团控股有限公司 Resource calling method and device
CN107126703A (en) * 2017-05-24 2017-09-05 上海悦游网络信息科技股份有限公司 The interaction systems constituted multi-faceted multi-mode more
CN107492034B (en) * 2017-08-24 2020-07-28 维沃移动通信有限公司 Resource transfer method, server, receiving terminal and sending terminal

Also Published As

Publication number Publication date
CN110152307A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN110152307B (en) Virtual article issuing method, device and storage medium
CN105809481B (en) Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
CN107172477B (en) Voting method and device
CN106097057B (en) Virtual article issuing method and device
CN106357517B (en) Directional label generation method and device
CN111698145A (en) Method, apparatus and medium for receiving and transmitting virtual package including voice
WO2016169450A1 (en) Resource dispensing system, resource dispensing method and resource pick-up method
CN105847114B (en) Dynamic information display system, method and device
CN111882309B (en) Message processing method, device, electronic equipment and storage medium
WO2018157721A1 (en) Method for acquiring and providing information, device, system and storage medium
CN106059894B (en) Message processing method and device
CN106973330B (en) Screen live broadcasting method, device and system
CN110267055A (en) Recommend the methods, devices and systems of direct broadcasting room
CN105979312B (en) Information sharing method and device
CN104951960B (en) Exchange method and device based on object message
CN113041625B (en) Live interface display method, device and equipment and readable storage medium
CN106603389B (en) Virtual bill transfer method and device
CN113050847B (en) Live broadcast interaction method, device, equipment, system and computer readable storage medium
CN103745133B (en) The method and terminal of a kind of information processing
CN104796743A (en) Content item display system, method and device
CN107979628B (en) Method, device and system for acquiring virtual article
CN109302385A (en) Multimedia resource sharing method, device and storage medium
CN112132635A (en) Multi-platform linkage method and related device
CN111080429B (en) Virtual resource acquisition method, device and storage medium
CN107067239B (en) Application server and information processing method and device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant