CN111612441B - Virtual resource sending method and device and electronic equipment - Google Patents

Virtual resource sending method and device and electronic equipment Download PDF

Info

Publication number
CN111612441B
CN111612441B CN202010431669.1A CN202010431669A CN111612441B CN 111612441 B CN111612441 B CN 111612441B CN 202010431669 A CN202010431669 A CN 202010431669A CN 111612441 B CN111612441 B CN 111612441B
Authority
CN
China
Prior art keywords
sound
loudness
virtual resources
virtual
virtual resource
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
CN202010431669.1A
Other languages
Chinese (zh)
Other versions
CN111612441A (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 CN202010431669.1A priority Critical patent/CN111612441B/en
Publication of CN111612441A publication Critical patent/CN111612441A/en
Application granted granted Critical
Publication of CN111612441B publication Critical patent/CN111612441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a virtual resource sending method, a virtual resource sending device, electronic equipment and a computer readable storage medium; the method comprises the following steps: collecting sound for transmitting virtual resources; presenting the number of virtual resources, wherein the number is adapted to the loudness of the sound; and sending the virtual resources corresponding to the quantity to the receiving account. By the method and the device, the virtual resource sending modes can be enriched so as to improve the user experience.

Description

Virtual resource sending method and device and electronic equipment
Technical Field
The present invention relates to the internet technology, and in particular, to a method and apparatus for sending virtual resources, an electronic device, and a computer readable storage medium.
Background
The related art application has a function of transmitting virtual resources (for example, electronic red packages, also referred to herein simply as red packages), and the number of virtual resources may be manually set to generate a set number of virtual resources or directly generate a specific number of random virtual resources, and the specific number may represent a special meaning, and may also set that a user who gets the virtual resources needs to complete a specific instruction task to successfully get the virtual resources.
Disclosure of Invention
The embodiment of the invention provides a method and a device for sending virtual resources, electronic equipment and a computer readable storage medium, which can enrich the sending modes of the virtual resources so as to improve the user experience.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for sending virtual resources, which comprises the following steps:
collecting sound for transmitting virtual resources;
presenting the number of virtual resources, wherein the number is adapted to the loudness of the sound;
and sending the virtual resources corresponding to the quantity to the receiving account.
The embodiment of the invention provides a device for sending virtual resources, which comprises the following steps:
the acquisition module is used for acquiring sound for transmitting the virtual resources;
a rendering module for rendering the number of virtual resources, wherein the number is adapted to the loudness of the sound;
and the sending module is used for sending the virtual resources corresponding to the number to the receiving account.
In the above scheme, the acquisition module is further configured to:
responding to a voice input operation received on a virtual resource setting page, and starting a voice acquisition function to acquire a voice for indicating to send the virtual resource; or alternatively
And automatically starting a voice acquisition function to periodically acquire voice, and determining the received voice as the voice for transmitting the virtual resource when the content of the acquired voice comprises the set instruction content for transmitting the virtual resource.
In the above solution, the apparatus further includes: the quantity determining module is used for:
before the number of virtual resources is presented,
determining a loudness of the sound;
the number of individual virtual resources adapted to the loudness of the sound is determined.
In the above aspect, the number determining module is further configured to:
when a background sound for attaching the sound is also collected in the process of collecting the sound, adding the loudness of the sound itself and the background loudness of the background sound as the loudness of the sound;
when the background sound for attaching the sound is not collected in the process of collecting the sound, the loudness of the sound itself is taken as the loudness of the sound.
In the above aspect, the number determining module is further configured to:
determining social distances between the source user of the sound and each of the source users of the background sounds;
determining a weight negatively associated with the social distance;
According to the corresponding weight of each background sound, carrying out weighted summation on the loudness of each background sound;
and adding the weighted summation result to the loudness of the sound, and taking the obtained summation as the loudness of the sound.
In the above aspect, the number determining module is further configured to:
determining the number in positive correlation with the loudness of the sound as the number of individual virtual resources;
wherein the positive correlation relationship includes: linear positive correlation; nonlinear positive correlation.
In the above solution, the apparatus further includes: the identity verification module is used for:
before the number of virtual resources is presented,
authentication of the sound, or
Collecting information to be verified, and carrying out identity verification according to the information to be verified;
when the verification is passed, determining to continue responding to the sound to send the virtual resource;
determining that the mask responds to the sound when the verification fails;
the information to be verified comprises at least one of facial features, fingerprint features and text passwords.
In the above scheme, the identity verification module is further configured to:
at least one of the following operations is performed:
Comparing the voiceprint features of the sound with pre-authorized voiceprint features;
and comparing the content of the sound with the pre-authorized virtual resource password content.
In the above aspect, the sound includes a first sound and a second sound, and the first sound is collected prior to the second sound; the identity verification module is further configured to:
performing identity verification on the first sound;
determining that the response to the second sound will continue to be made to adapt the number to the loudness of the second sound when the first sound is authenticated;
when the first sound is not authenticated, determining that the second sound is to be masked in response.
In the above aspect, the number determining module is further configured to:
before the number of virtual resources is presented,
acquiring the number of the virtual resources to be transmitted;
the presentation module is further configured to:
when the number of virtual resources to be transmitted is one, presenting the number of single virtual resources adapted to the loudness of the sound;
when the number of virtual resources to be transmitted is a plurality, presenting a total number that needs to be supported for transmitting a plurality of the virtual resources, wherein the total number is a product of the number of single virtual resources adapted to the loudness of the sound and the number.
In the above aspect, the number determining module is further configured to:
responding to setting operation of virtual resource types, and acquiring the types of the virtual resources to be sent;
when the type of the virtual resource to be sent is a group virtual resource, acquiring the number of the virtual resources to be sent in the group;
and when the type of the virtual resource to be sent is a directional virtual resource, acquiring a receiving account number of the virtual resource to be sent and the number of the receiving account numbers.
In the above solution, the apparatus further includes: a payment module for:
before sending the number of virtual resources to the receiving account,
in response to a payment operation for the amount, electronic money corresponding to the amount is acquired from a payment account and bound to the virtual resource to be transmitted.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the method for sending the virtual resource provided by the embodiment of the invention when executing the executable instructions stored in the memory.
The embodiment of the invention provides a computer readable storage medium which stores executable instructions for realizing the method for sending virtual resources provided by the embodiment of the invention when being executed by a processor.
The embodiment of the invention has the following beneficial effects:
the quantity of the transmitted virtual resources is controlled through the loudness of the sound to replace a mode of manually inputting the quantity of the virtual resources, so that the operating time of the virtual resource generation and transmission process can be saved to improve the efficiency, diversified user interaction experience can be provided, the interaction pleasure of transmitting the virtual resources is enriched, and the interestingness of transmitting the virtual resource function is improved.
Drawings
FIGS. 1A-1B are diagrams of an application program interface provided by the related art;
FIG. 2 is a schematic diagram of an alternative architecture of a virtual resource delivery system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative architecture of a terminal device according to an embodiment of the present invention;
FIGS. 4A-4D are schematic flow diagrams illustrating an alternative method for sending virtual resources according to an embodiment of the present invention;
FIGS. 5A-5F are schematic diagrams illustrating an application interface of a method for sending virtual resources according to an embodiment of the present invention;
FIGS. 6A-6C are schematic flow diagrams illustrating an alternative method for sending virtual resources according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of an alternative method for sending virtual resources according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present invention more apparent, and the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", "third" and the like are merely used to distinguish similar objects and do not represent a specific ordering of the objects, it being understood that the "first", "second", "third" may be interchanged with a specific order or sequence, as permitted, to enable embodiments of the invention described herein to be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
1) Virtual resources: refers to the "number" of any form of resource that can be transmitted in the network as a measure; for example, the virtual resource may be a "gift (e.g., flower)" in a live scene, and the quantity may be the number of the gift or the price of the gift; the virtual resource may be a reward in a live scenario (e.g., a gold token for a live platform), and the amount may be the amount or monetary amount of the gold token; the virtual resource may be an electronic purse, and the number may be the number or the amount of the electronic purse (i.e., the value of electronic money included in the electronic purse, which realizes the transfer of electronic money between users based on a mobile payment technology).
2) Loudness: in acoustics, the loudness of sound is defined as sound pressure, 20 microppa is used as a reference value when calculating a decibel value, the reference value is a threshold lower limit that human beings can perceive the sound, and the sound pressure is a field quantity, so that the formula is used when calculating the decibel based on the sound pressure: l (L) P =20log 10 (P rms /P ref ) dB, wherein P ref The standard reference sound pressure value is 20 mpa, in actual daily life, the marked noise on the residential community notification board is lower than 60 db, the db is defined as the value of the logarithm of the ratio of the noise source power to the reference sound power multiplied by 10, the value is used for expressing the size of sound, 0 db is the weakest sound which can be heard by human ears, and the hearing is seriously affected in a 90 db environment.
3) Sound decibel: decibels (decibels) are units of measure that measure the ratio of two identical units of quantity, primarily for measuring the loudness of sound (also known as volume), the units being expressed in dB.
The method for sending the virtual resource provided by the embodiment of the invention is described below by taking the example that the virtual resource is an electronic red packet.
Referring to fig. 1A-1B, fig. 1A-1B are schematic diagrams of application program interfaces provided by the related art, referring to a first interface diagram from left to right in fig. 1A, in which a voice password setting interface 301 and a confirmation payment portal 302 are displayed, in response to receiving a selection operation for a specific password in the voice password setting interface 301, switching to display a second interface diagram, in which a first interface diagram from left to right in fig. 1B is displayed, in which a red package setting page 303 and a confirmation payment portal 302 are displayed, in response to receiving an amount input operation in the red package setting page 303, switching to display a third interface diagram, in which a red package setting page 303 is displayed, in response to receiving an input operation for the number of red packages in the red package setting page 303, switching to display a fourth interface diagram, in which a red package setting page 303 and a confirmation payment portal 302 are displayed, in response to a click or press operation for the confirmation payment portal 302, in which a password setting page 303 and a payment portal 304 are displayed, in response to the voice password setting page 403 is displayed in fig. 1B, in which a third interface diagram is displayed, in response to receiving an input operation for the number of red packages in the red package setting page 401 is displayed in the voice password setting page 401, in response to the voice package setting page 401 is still displayed in the voice package setting page 403, in response to receiving an input operation for the confirmation payment portal 302, the method has the defects that the credit limit can be set only through manually input text passwords, the money setting mode is single, the text passwords which are required to be input for completing instruction tasks in the process of picking up the credit are set in the text mode, and the interactive and interesting user experience is difficult to provide for users who send electronic credit.
The embodiment of the invention provides a method and a device for sending virtual resources, electronic equipment and a computer readable storage medium, which can avoid the operation mode of manually setting red packets, provide interactive and interesting user experience, and illustrate the exemplary application of the electronic equipment provided by the embodiment of the invention.
The electronic device provided by the embodiment of the present invention may be implemented as various types of user terminals (hereinafter also simply referred to as terminals) such as a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, and a portable game device), and an exemplary application of the electronic device will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of an alternative architecture of a virtual resource sending system according to an embodiment of the present invention, in order to implement an application of electronic red packet sending, a terminal 400 (a terminal 400-1 and a terminal 400-2 are shown in an exemplary manner) are connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two. The terminal 400-1 may execute the method for sending virtual resources provided in the embodiment of the present invention, where the terminal 400-1 receives a sound for indicating to send an electronic red packet, and performs loudness measurement on the sound to obtain a set amount corresponding to the electronic red packet, where the terminal 400-1 sends a payment request (carrying payment information) of the electronic red packet with a corresponding amount to the server 200, and after receiving the corresponding payment request, the server 200 performs payment verification on the payment request of the user, and after the payment verification passes, the server 200 sends the electronic red packet with a corresponding set amount to the terminal 400-2, and returns a notification that the electronic red packet is sent successfully to the terminal 400-1.
It should be noted that, in the embodiment of the present invention, the server may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms. The terminal 400 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited in the embodiment of the present invention.
The following continues to describe an exemplary application of the electronic device provided by the embodiment of the present invention, and the electronic device is taken as a terminal device for example.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a terminal 400 for transmitting electronic red packets according to an embodiment of the present invention, and the terminal 400 shown in fig. 3 includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in terminal 400 are coupled together by a bus system 440. It is understood that the bus system 440 is used to enable connected communication between these components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled in fig. 3 as bus system 440.
The processor 410 may be an integrated circuit chip having signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable presentation of the media content. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
Memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 450 optionally includes one or more storage devices physically remote from processor 410.
Memory 450 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a random access Memory (RAM, random Access Memory). The memory 450 described in embodiments of the present invention is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 451 including system programs, e.g., framework layer, core library layer, driver layer, etc., for handling various basic system services and performing hardware-related tasks, for implementing various basic services and handling hardware-based tasks;
network communication module 452 for reaching other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a presentation module 453 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, speakers, etc.) associated with the user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the sending device of the virtual resource provided by the embodiments of the present invention may be implemented in a software manner, and fig. 3 shows the sending device 455 of the virtual resource stored in the memory 450, which may be software in the form of a program and a plug-in, and includes the following software modules: the acquisition module 4551, presentation module 4552, transmission module 4553, number determination module 4554, authentication module 4555 and payment module 4556 are logical, and thus may be combined or split further according to the functions implemented. The functions of the respective modules will be described hereinafter.
The procedure of implementing the transmission method of the virtual resource by the transmission apparatus of the virtual resource in the electronic device will be described below in conjunction with the exemplary application and structure of the electronic device described above.
Referring to fig. 4A, fig. 4A is a flowchart of a method for transmitting a virtual resource according to an embodiment of the present invention, and in step 11, a terminal collects a sound for transmitting the virtual resource; in step 12, the terminal presents the number of virtual resources, wherein the number is adapted to the loudness of the sound; in step 13, the terminal sends a corresponding number of virtual resources to the receiving account.
The method for sending virtual resources provided by the embodiment of the invention is described in detail below by taking the example that the virtual resources are electronic red packets.
Referring to fig. 4B, fig. 4B is a schematic flowchart of an alternative method for sending virtual resources according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 4B.
In example 1, the method for sending the virtual resource provided by the embodiment of the invention can be implemented through a client in a terminal, such as a social network APP, a live APP, a short video APP, and the like; in example 2, the intelligent voice assistant has the capability of detecting and executing voice instructions by cooperating with the client, for example, the polling input processing module 454 may obtain a real-time voice signal, perform voice recognition to obtain content expressed by voice, and detect that the voice instructions can be responded to from the content, and the intelligent voice assistant may independently execute the voice instructions, or when the voice instructions need to use the capability of the client (for example, get a red packet), the client will call the interface of the client installed in the terminal to enable the client to execute the corresponding voice instructions.
In step 101, the terminal 400-1 collects sound for transmitting the electronic red packet.
In some embodiments, the sound collected in step 101 for sending the electronic red packet may be implemented by the following technical solutions: and responding to the voice input operation received in the electronic red packet setting page, and starting a voice acquisition function to acquire a sound for indicating to send the electronic red packet.
With example 1, a client displays an entry of an electronic red package setting page, wherein the entry may be integrated in a shortcut function page of the client, when a voice click operation or a press operation is received at the entry of the electronic red package setting page, the electronic red package setting page is switched to display, the number and the amount of electronic red packages may be set and displayed in the electronic red package setting page, an area for receiving the voice input operation is provided in the electronic red package setting page, the voice input operation may be a click operation or a continuous press operation, when the voice input operation is a click operation, the beginning of voice input and the end of voice input are respectively triggered by receiving the two click operations, when the voice input operation is a press operation, the voice input is triggered for a corresponding time by receiving the press operation for a certain time, the client calls a microphone to start a voice acquisition function and starts to acquire a sound for transmitting the electronic red package, at this time, the user transmits a sound for transmitting the electronic red package, and the client acquires a sound transmitted by the user.
In example 1, the sound of transmitting the electronic red packet may be a voice instruction, for example, an instruction expressed using a language such as "send red packet", or a sound having no substantial meaning in language such as "hum/ha/he".
In some embodiments, the capturing of the sound for sending the electronic red packet in step 101 may be achieved by automatically starting the voice capturing function to periodically capture the sound, and determining that the received sound is the sound for sending the electronic red packet when the content of the captured sound includes the set instruction content for sending the electronic red packet.
With example 2, since the voice collection function is automatically started, the intelligent voice assistant can periodically and continuously collect the voice in the background, and perform voice recognition on the collected voice, when the recognized content includes a preset instruction content for sending an electronic red packet, an electronic red packet function interface in the client is called, and voice data is sent to the electronic red packet function interface, for example, the voice output by the user is "red packet", the intelligent voice assistant collects the voice in the background, performs voice recognition processing on the voice, and recognizes the content of "red packet", so as to determine that the voice is the voice for sending the electronic red packet, so that the electronic red packet function interface in the client is called, and therefore, the voice actually realizes the awakening of the electronic red packet function, and the electronic red packet function interface receives the voice to perform subsequent red packet processing.
In example 2, the sound of transmitting the electronic red packet may be a voice instruction, for example, an instruction expressed in terms of words such as "send red packet", or may be a sound without any meaning such as "hum/hahe/he".
In some embodiments, before presenting the amount of the electronic red envelope, the following technical scheme may also be performed: and carrying out identity verification on the sound, or collecting information to be verified, and carrying out identity verification according to the information to be verified. When the verification is passed, determining to continue responding to the sound to send the electronic red packet; when the verification fails, determining a masking response sound; the information to be verified comprises at least one of facial features, fingerprint features and text passwords.
In some embodiments, the above-mentioned authentication of the sound may be implemented by the following technical solutions, where the voiceprint feature of the sound is compared with a preauthorized voiceprint feature; the content of the sound is compared with the pre-authorized electronic red-packet password content.
As an example, in example 1, the collecting the information to be verified may be collecting at least one of a face feature, a fingerprint feature and a text password, and in response to an input operation of receiving the corresponding feature at the client, the client or the client cooperates with the background server to compare the collected information to be verified with the pre-authorized feature data, and if the comparison is passed, the sound is responded to continuously to send an electronic red packet, and if the comparison is not passed, the sound is shielded to stop the electronic red packet generating process.
As an example, in example 2, the authentication of the voice is performed from two aspects, including voiceprint authentication and pre-authorized content authentication, the voiceprint authentication is to compare the voiceprint feature of the voice with the pre-authorized voiceprint feature, so as to verify that the source user of the voice is a legal user, the pre-authorized content authentication is to preset a private electronic red packet password, for example, "a key set in advance, the private electronic red packet password is registered in advance by the legal user, by performing content recognition on the voice, it is possible to determine that the source user of the voice is the legal user, and at the same time, performing voiceprint recognition and content recognition on the voice is equivalent to setting a dual authentication mechanism, which is the strictest protection mechanism, and accordingly, in response to receiving a setting instruction of the user, only any one of the above authentication methods may be adopted to perform the authentication on the voice.
In the related art, identity verification is performed when payment operation is performed, and the applicant finds that the payment operation is actually the last flow in the electronic red package sending process when implementing the embodiment of the invention, and if the payment operation cannot be verified, the previous process of determining the amount of money and the like is invalid, so that in order to improve the processing efficiency, the identity can be verified immediately before the amount of money is determined after sound is collected, and when the verification cannot be passed, the response sound is directly shielded, so that the subsequent processing flow is omitted, in addition, the electronic money circulation security is improved through a double verification mechanism, the situation of unauthorized red package sending is further reduced, and the property security is ensured.
In some embodiments, the sound comprises a first sound and a second sound, and the first sound is captured prior to the second sound; the identity verification of the sound can be realized by the following technical scheme, and the identity verification of the first sound can be realized; when the verification is passed, determining that the sound is to be responded to send the electronic red packet, which can be achieved by the following technical scheme that when the first sound is passed through the identity verification, the second sound is determined to be continuously responded to, so that the sum of the money is matched with the loudness of the second sound; when the authentication fails, the determination of masking the response sound may be achieved by determining that the second sound is to be masked when the authentication fails for the first sound.
As an example, in example 2, the sound may include a first sound and a second sound, the first sound and the second sound may be two independent and consecutive sounds, the former may be an electronic red-packet function wake word such as "red-packet", the intelligent voice assistant authenticates the first sound, and after the authentication, determines that the second sound will be responded, and an amount of money adapted to the loudness of the second sound is to be presented; the second sound may be a meaningless sound, i.e. the second sound may be a sound only for evaluating the amount of money, such as o, or may be a special sentence for evaluating the amount of money that needs to be read, such as "bed front bright moon light".
As an example, the sound may also be just an electronic red-envelope function wake-up word (first sound), such as "send red envelope", authentication of the electronic red-envelope function wake-up word, and when the authentication passes, determining to continue responding to present an amount of money that is adapted to the loudness of the electronic red-envelope function wake-up word; and when the verification is not passed, determining a shielding response electronic red packet function wake-up word.
Through the embodiment, manual input operation can be avoided, manual input is performed in the electronic red packet setting page instead of through an intelligent voice assistant, the whole flow of sending red packets is completed only through sound, and the operation efficiency is improved.
In step 102, the terminal 400-1 determines the loudness of the sound.
In some embodiments, referring to fig. 4C, fig. 4C is a schematic flow chart of an alternative method for sending virtual resources according to an embodiment of the present invention, and determining loudness of sound in step 102 shown in fig. 4C may be implemented by steps 1021 to 1023, which will be described in connection with the steps.
In step 1021, when the background sound for the additional sound is also acquired in the process of acquiring the sound, the sum of the loudness of the sound itself and the background loudness of the background sound is taken as the loudness of the sound.
As an example, from a sound source perspective, the background sound may be a sound made by a user different from the user making the sound, and the background sound may be a sound made by the environment; from the content perspective of the sound, the background sound may be a sound having the same content as the collected sound, for example, the sound collected in step 101 is "reddish, the background sound is also" reddish "or a sound having a different content from the collected sound, i.e., a sound of any content.
As an example, in terms of sound sources, sound sources of background sounds are discriminated to distinguish valid sounds from invalid sounds, for example, sound a (user a), sound B (user B), and ambient sound c emitted by three other users are included in the background sounds, the background sounds are subjected to a source recognition process before summing the loudness of the sound itself with the background loudness of the background sounds as the loudness of the sounds, and when the source of sound a in the background sounds is recognized as invalid, the sound a is filtered out of the background sounds, so that the loudness of the sound a is not considered in the subsequent loudness calculation, the source invalidation may be the following case: there is no pre-recorded social relationship between the source user of sound a and the user of the sound collected in step 101, and when the source of sound c in the background sound is identified as invalid, sound c is filtered out from the background sound, so that the loudness of sound c does not consider the subsequent loudness calculation, the source invalid may be the following situation: the source of sound c is sound emitted by a non-human being, natural environment sound, or sound emitted in other terminal devices.
As an example, in terms of sound content, the background sound may be a sound having the same content as the collected sound, or may be a sound of any content, in an application scene where the sound content is not required to be recognized, for example, "o" is used, in an application scene where the sound content is required to be recognized, the sound content of the background sound needs to be a sound having the same content as the collected sound in step 101, the sound content of the background sound is discriminated so as to distinguish valid sound from invalid sound, for example, the sound content of the background sound includes sound a (content a) and sound B (content B) emitted by three other users, the background sound is subjected to content recognition processing before the sum of the loudness of the sound itself and the background loudness of the background sound is taken as the loudness of the sound, and when the content of the sound a in the background sound is recognized as invalid, the sound a is filtered out from the background sound so that the loudness of the sound a is not considered in the subsequent loudness calculation, and the content invalid condition may be the content is not consistent with the set instruction content for transmitting an electronic red packet.
In some embodiments, the collected sound and noise in the background sound are filtered before the sum of the loudness of the sound itself and the background loudness of the background sound is used as the loudness of the sound, so as to determine the loudness of the sound consisting of the background sound and the sound itself obtained after the filtering process.
In step 1022, when the background sound for the accessory sound is not collected in the process of collecting the sound, the loudness of the sound itself is regarded as the loudness of the sound.
In some embodiments, the adding the loudness of the sound itself to the background loudness of the background sound in the step 1021 may be implemented as the loudness of the sound by determining the social distance between the source user of the sound and the source user of each background sound; determining a weight negatively associated with the social distance; according to the corresponding weight of each background sound, weighting and summing the loudness of each background sound; and adding the weighted summation result to the loudness of the sound, and taking the obtained summation as the loudness of the sound.
As an example, the source user of the sound collected in step 101 may have a social relationship with the source user of each background sound, where the social relationship is measured by a social distance, where the social distance is defined as follows, where there is a social connection between user a and user b, where there is a social connection between user b and user c, where there is no direct social connection between user a and user c, where the social distance between user a and user b is 2, where the social distance between user b and user c is 1, where the weight of each background sound is equal to the social distance between the source user of the background sound and the source user of the sound itself collected in step 101, where, assuming that user a is the source user of the sound itself collected in step 101, user b is the source user of the background sound b, and user c is the source user of the background sound c, where the weight of the background sound b is higher than the weight of the background sound c, where the negative correlation may be a linear negative correlation, or a nonlinear negative correlation.
Through the method for determining the loudness based on the weighting mode of the social distance, the amount of the electronic red packet can be effectively and reasonably determined, so that the electronic red packet with larger amount is prevented from being generated due to malicious or nonsensical background sound, the process of generating the electronic red packet is required to be performed again, and the generation efficiency of the red packet is prevented from being reduced.
In step 103, the terminal 400-1 determines the amount of the single electronic red packet adapted to the loudness of sound.
In some embodiments, the determining of the amount of the single electronic red packet adapted to the loudness of the sound in step 103 may be implemented by determining the amount of the single electronic red packet in positive correlation with the loudness of the sound as the amount of the single electronic red packet; wherein the positive correlation relationship includes: linear positive correlation; nonlinear positive correlation.
As an example, when determining the loudness of sound, the terminal 400-1 converts the sound into an electrical signal, and inputs the electrical signal to the weighting network, so as to perform a frequency weighting process on the signal, modify the electrical signal according to the auditory characteristics of the human ear (attenuate the high frequency part), read the effective value of the electrical signal as the loudness by the detector, and the frequency weighting network is provided with a network capable of simulating the auditory characteristics of the human ear to modify the electrical signal to be similar to the auditory sense in order to simulate the auditory characteristics of the human ear, and the sound pressure level measured by the weighting network is not the sound pressure level (linear sound pressure level) of an objective physical quantity but the sound pressure level (weighting level or noise level) subjected to auditory sense modification, and output the loudness value by using different gauge head sensitivities, which are set according to different scenes, may include the following: (1) "slow" gear: the time constant of the header is 1000ms, and is generally used for measuring steady-state noise, and the measured value is an effective value; (2) "fast": the time constant of the meter head is 125ms, and the meter head is generally used for measuring unstable noise, traffic noise and the like with large fluctuation, and the quick response is close to the response of human ears to sound; (3) "pulse or pulse hold": the rising time of the pointer is 35ms, and the pointer is used for measuring impulse noise with longer duration, such as a punch press, a pressing hammer and the like, and the measured value is the maximum effective value; (4) "peak hold": the gauge needle rise time is less than 20ms for measuring very short duration pulse sounds such as guns, cannons and explosions, the measured value is the peak, i.e. the maximum value.
In some embodiments, in the random electronic red packet mode, when determining the amount of the electronic red packet, the total amount of the electronic red packet may also be directly determined, that is, for any number of electronic red packets, the amount adapted to the loudness of sound is directly determined as the total amount of the electronic red packet, and the amount of each electronic red packet is not limited, and for the user to be led, the amount of the single electronic red packet led by the user is random.
In step 104, the terminal 400-1 presents the amount of the electronic red envelope, wherein the amount is adapted to the loudness of the sound.
As an example, the amount of the electronic red packages and the number of the electronic red packages are presented on the terminal 400-1, the amount of the electronic red packages is adapted to the loudness of sound, and is the sum of the numbers of the plurality of electronic red packages.
In some embodiments, before the amount of the electronic red packet is presented in step 104, the following technical scheme may be further executed to obtain the number of electronic red packets to be sent; the presenting of the amount of the electronic red package in step 104 may be achieved by the following technical scheme, where when the number of electronic red packages to be sent is one, the amount of the single electronic red package adapted to the loudness of the sound is presented; when the number of the electronic red packets to be transmitted is a plurality, presenting the total amount required to be supported by transmitting the plurality of electronic red packets, wherein the total amount is the product of the amount and the number of the single electronic red packet matched with the loudness of sound.
As an example, the electronic red package may be a single electronic red package or a plurality of electronic red packages, for which the determined amount adapted to the loudness of sound is the amount of the electronic red package, and for which the amount of the electronic red package is the product of the number of red packages and the amount of the single electronic red package.
In some embodiments, the above-mentioned obtaining the number of the electronic red packets to be sent may be implemented by the following technical solutions, where the type of the electronic red packets to be sent is obtained in response to a setting operation of the type of the electronic red packets; when the type of the electronic red packet to be sent is a group red packet, acquiring the number of the electronic red packets to be sent in the group; and when the type of the electronic red package to be sent is a directional red package, acquiring a receiving account number of the electronic red package to be sent and the number of the receiving account numbers.
As an example, the types of the electronic red packets may be a group red packet type and a directional red packet type, for the group red packet, only a group for receiving the red packet is specified, the users for receiving the red packet in the group are not specified, the number of the red packets is smaller than or equal to the number of the users in the group, the number of the electronic red packets to be sent in the group is regarded as the number of the electronic red packets, for the directional red packet, specific users for receiving the red packet are specified, the receiving object of the directional red packet may be a single user or a plurality of users, the directional red packet may be respectively sent to each user account, or may be sent to the group account, and only the user account corresponding to the directional red packet has the receiving authority.
In some embodiments, the process of obtaining the type and number of electronic red packages may be obtained by the intelligent voice assistant from the collected sounds, where the sound sounds include a first sound, a second sound, and a third sound, the first sound is collected before the second sound, the second sound is collected before the third sound, the third sound is three separate sentences from the aforementioned first sound and second sound, for example, the first sound "red bar" is a wake word, the second sound "o" is a sound for evaluating an amount, and the third sound "Zhang Sanding" one to red package "is a sound for indicating the type and number of electronic red packages.
In some embodiments, the process of obtaining the type and number of electronic red packages may be obtained by the intelligent voice assistant from the collected sounds, the sound sounds including a first sound and a second sound, the first sound being collected prior to the second sound, the first sound and the second sound being two separate sentences, e.g. a first sound "redbar" as wake-up word, the second sound being used on the one hand to evaluate the amount of the electronic red package and on the other hand the user indicates the type and number of the electronic red package, e.g. the second sound may be "send one directional red package to Zhang three".
In some embodiments, the process of obtaining the type and the number of the electronic red packages may be implemented by the client, and an operation for setting the type and the number of the electronic red packages is received in an electronic red package setting page of the client to obtain the type and the number of the electronic red packages.
In step 105, the terminal 400-1 transmits an electronic red envelope of a corresponding amount to the terminal 400-2 corresponding to the received account.
In some embodiments, before sending the electronic purse of the corresponding amount to the terminal 400-2 of the corresponding receiving account, the following technical scheme may be further performed, in response to a payment operation for the amount, acquiring electronic money of the corresponding amount from the payment account, and binding the electronic money to the electronic purse to be sent.
As an example, in response to a payment operation for an amount, payment verification is performed on the payment operation, and after the payment verification is passed, electronic money of a corresponding amount is acquired from a payment account, and the electronic money is bound to an electronic purse to be transmitted.
Referring to fig. 4D, fig. 4D is a schematic flow chart of an alternative method for sending virtual resources according to an embodiment of the present invention, and in fig. 4D, a process of completing sending an electronic red packet by an intelligent voice assistant is presented, and in step 201, the terminal 400-1 automatically starts a voice collection function to periodically collect sound; in step 202, when the content of the collected sound includes the set instruction content for sending the electronic red packet, determining that the received sound is the sound for sending the electronic red packet, otherwise, masking the collected sound; in step 203, the voice is authenticated, and when the authentication is passed, the voice is subjected to content recognition to determine the type, the receiving account number and the number of the electronic red packets, otherwise, the voice collected by the response is shielded; in step 204, the type, the receiving account number and the number of the electronic red packages are returned; in step 205, determining an amount of positive correlation with loudness of sound to be taken as an amount of a single electronic red packet, taking a product of the number of the electronic red packets and the amount of the single electronic red packet as the amount of the electronic red packet, and presenting the amount of the electronic red packet; in step 206, in response to the payment operation for the amount, sending payment verification information for the corresponding payment operation to the server; in step 207, the server verifies the payment verification information; when the payment verification is passed, the server acquires electronic money of a corresponding amount from the payment account and returns to the terminal 400-1 in step 208, and the terminal 400-1 binds the acquired electronic money to an electronic purse to be transmitted in step 209; in step 210, the terminal 400-1 transmits an electronic red envelope of a corresponding amount to the receiving account via the server.
An exemplary application of the method for sending virtual resources provided by the embodiment of the present invention in an actual application scenario will be described below.
Most social software in the related art has the function of sending electronic red packets, the red packet amount can be set in a text input mode when the electronic red packets are sent, or random red packets are generated directly through a system, after a specific instruction task is required to be completed when the red packets are acquired, the red packets can be acquired, when the method is implemented, the applicant finds that the related technology omits the improvement on the link for setting the red packet amount to increase the interestingness of the sending function of the electronic red packets, the sending method of the virtual resource provided by the embodiment of the invention determines the volume (loudness) of collected user sound, namely, the sound decibel volume value is output through an industry standard weighting curve, the output sensitivity can be controlled by adopting response time with different lengths, the corresponding relation between the sending red packet amount and the sound decibel value is set, the solution of sending the red packet amount is realized through the volume input by the user, and the specific amount of the electronic red packets is not required to be manually input, the amount is determined based on the sound volume input by the user, namely, the interestingness of the red packets is improved, the interestingness of the sending of the red packets is also increased, the user can release the sound volume value when the electronic red packets are sent, and the interestingness of friends can be increased, and the interesting electronic red packets can be sent to the friends when the electronic red packets are increased.
In the process of setting the electronic red packet amount based on the sound volume input by the user, the higher the decibel volume value of the sound input by the user is, the larger the red packet amount is, according to the conventional test of the sound decibel value, the relatively higher 120dB acceptable by normal human in a short time can be selected as a sound decibel upper limit value critical point (equivalent to the volume size at the forefront of a rock concert), when the sound decibel value input by the user is more than or equal to 120dB, the single red packet amount can be the upper limit value of the red packet amount set in the application, if the number of the electronic red packet is n (n is an integer larger than or equal to 1), the total amount of the pre-sent electronic red packet is (200×n) element, and when the decibel volume value of the sound input by the user is smaller than 40dB (the volume size of the desert), the single red packet amount can be regarded as an invalid red packet, namely the single red packet amount can be the lower limit value 0 of the red packet set in the application, when the decibel volume value of the sound input by the user is between 40dB and 120dB, and Y is the corresponding single night value of the sound input by the user is calculated as a correlation formula, and the correlation formula is calculated: y= (X-40) ×200/(120-40); wherein X >40.
Fig. 5A to 5F are schematic diagrams of an application program interface of a virtual resource sending method according to an embodiment of the present invention. Fig. 6A-6C are schematic flowcharts of an alternative method for sending virtual resources according to an embodiment of the present invention.
Referring to fig. 5A and 6A, as shown in fig. 5A, an operation of clicking on an electronic red package entry 502A (hereinafter referred to as electronic red package) is received, an operation of switching and displaying a middle page, which displays an electronic red package setting page 504A, a sound entry area 505A, a normal decibel mode selection area 506A, and a payment confirmation area 503A, an operation of selecting a normal decibel mode is received in the normal decibel mode selection area 506A, a right page is switched and displayed, the electronic red package setting page 504A, a sound entry area 505A, the normal decibel mode selection area 506A, the payment confirmation area 503A, and a delete button 507A are displayed, an input operation of clicking the electronic red package number is received in the electronic red package setting page 504A, a total of 50 electronic red packages are displayed, and the terminal starts to collect sound input by a user in response to the clicking and pressing operation for the sound entry area 505A, such as "red package! The following is carried out At this time, other users can make background sound to increase the loudness of sound collected by the terminal, enter the next sending flow of the electronic red packet, and also receive clicking and pressing operations for the delete button 507A to delete the recorded sound for sound re-collection.
Referring to fig. 5B and 6B, after a sound of 10s is collected, a left page is displayed in a switching manner, the left page displays an electronic red package setting page 504B, a sound recording area 505B, a normal decibel mode selection area 506B, a payment confirmation area 503B and a delete button 507B, the terminal is evaluating the collected sound, after the sound is recorded, a microphone system is called, a sound decibel sound value is output through an industry standard weighting curve, the output sensitivity can be controlled by response time of different lengths, an output result is obtained, an intermediate page is displayed in a switching manner, the intermediate page displays the electronic red package setting page 504B, the sound recording area 505B, the normal decibel mode selection area 506B, the payment confirmation area 503B and the delete button 507B, the decibel value is displayed in the sound recording area 505B, and the terminal or the background calculates and outputs a corresponding red package credit through the decibel value, and outputting total amount in combination with the number of the red packets, in response to receiving a click operation or a pressing operation in the payment confirmation area 503B, switching and displaying a right page, wherein the right page displays an electronic red packet setting page 504B and a payment page 508B to execute the payment operation, in response to the click operation and the pressing operation on the delete button 507B in the middle page, switching and displaying the middle page of fig. 5A to reselect recording, after the evaluation is finished, as shown in the middle page, the obtained decibel value evaluation result is 119.2 db, and basically reaches the peak of the decibel value, determining the single red packet amount as 198 yuan according to the calculation formula of the related relationship, further obtaining the total amount of the electronic red packet as 198 x 50 = 9900, then entering a normal payment flow as shown in the right page, and further receiving sound deletion for the click operation on the delete button on the left side of the acquisition button, the sound is re-collected to determine the amount of the electronic purse so that the user can re-generate a new amount when the amount is not satisfied, i.e., the middle page of fig. 5A is re-displayed.
Referring to fig. 5C and fig. 6C, the left page of fig. 5C shows that an electronic red packet is successfully transmitted to a receiving account (group receiving account), the left page shows an issued ordinary db red packet 501C (simply referred to as an electronic red packet) and a red packet transmitting page 502C, in response to receiving a click operation or a press operation for the ordinary db red packet 501C, the middle page shows an electronic red packet pattern 503C presented after the electronic red packet is successfully received, in response to receiving a click operation or a press operation for viewing the receiving details 504C, the right page shows a electronic red packet receiving details interface 505C, in which receiving details of a plurality of receiving accounts (including a receiving amount of the receiving account that has received the red packet, a receiving amount of the non-received red packet, and a non-received amount of the non-received red packet) are presented, in the group, the electronic red packet transmitted through a db setting can be acquired, and in response to receiving the click operation for the electronic red packet, the electronic red packet is automatically returned to the original money within a time corresponding to the electronic red packet receiving threshold.
Referring to fig. 7, fig. 7 is an optional flowchart of a virtual resource sending method provided by the embodiment of the present invention, the flowchart of the left ordinary db packet sending mode in fig. 7 has been described above in connection with fig. 6A-6C, in the electronic packet sending method provided by the embodiment of the present invention, besides setting an ordinary electronic packet according to a sound decibel value, setting and sending a directional electronic packet is supported, next, referring to the left page in fig. 5D, an electronic packet sending page 501D (group page or personal page) in fig. 5D, an operation of clicking an electronic packet entry 502D is performed, a middle page is switched and displayed, the middle page displays an electronic packet setting page 504D, a sound entry area 505D, a directional decibel mode selection area 506D and a payment confirmation area 503D are displayed, a selection operation for the directional electronic packet is received in the directional decibel mode selection area 506D, a right page is switched and displayed, next, a left page 504D is combined with fig. 5D-5F and a right directional decibel packet mode flowchart is illustrated, referring to the left page in fig. 7, an electronic packet sending page 501D (group page or personal page) is entered, an operation of clicking electronic packet entry 502D is received, a sound entry operation is performed in order to delete the sound entry area is performed in order to set up the sound entry terminal, and the sound entry operation is performed in order to delete the sound entry operation is performed in the sound entry area D, the sound entry operation is performed in order to set up the sound entry operation.
Referring to fig. 5E, after a sound of 10s is collected, a left page is displayed in a switching manner, the left page displays an electronic red package setting page 504E, a sound recording area 505E, a directional decibel mode selection area 506E, a payment confirmation area 503E, and a delete button 507E, the display terminal is evaluating the collected sound, after the sound recording, a microphone system is called, sound decibel sound values are output through an industry standard weighting curve, the output sensitivity can be controlled by using response time of different lengths, the output result is obtained, the middle page is displayed in a switching manner, the electronic red package setting page 504E, the sound recording area 505E, the directional decibel mode selection area 506E, the payment confirmation area 503E, and the delete button 507E are displayed in the sound recording area 505E, the corresponding red package amount is calculated and output through the size of the decibel value, the terminal or the background, the right page is displayed in a switching manner in response to the payment confirmation area 503E receiving a click operation or a pressing operation, the right page is displayed in a switching manner, the electronic red package setting page 504E and the payment button 508E are displayed in order to execute a click operation, and the display is switched manner in response to the delete button 507 is switched with respect to the middle page for the delete operation to the view page D. After the evaluation is finished, if the obtained decibel value evaluation result is 119.2 decibels and basically reaches the peak of the decibel value, the directional red packet amount is determined to be 198 yuan according to the calculation formula of the related relation, then a normal payment flow is entered as shown in a right page, and after sound deletion for clicking operation of a delete button on the left side of the acquisition button is received, the sound is acquired again to determine the amount of the electronic red packet, so that a user can regenerate a new amount when the amount is unsatisfactory, namely the middle page of fig. 5D is redisplayed.
Referring to fig. 5F, in the left page of fig. 5F, an electronic red packet is displayed successfully to be sent to a receiving account (group receiving account or personal receiving account), the left page displays an outgoing directional decibel red packet 501F (simply referred to as an electronic red packet) and a red packet sending page 502F, in response to receiving a click operation or a press operation for the directional decibel red packet 501F, the middle page of fig. 5F is switched to display an electronic red packet pattern 503F presented after the electronic red packet is successfully received, in response to receiving a click operation or a press operation for viewing the receiving details 504F, the right page of fig. 5F is switched to display electronic red packet receiving details, the right page displays an electronic red packet receiving details interface 505C, in which the receiving account receiving amount of the directional receiving account is presented, in the group page, the electronic red packet sent through a size setting can be obtained, and if the electronic red packet is not successfully received within a receiving time threshold, the electronic red packet is automatically returned to the original money corresponding to the electronic red packet.
An exemplary application of the method for sending virtual resources provided by the embodiment of the present invention in another actual application scenario will be described below.
According to the method for sending virtual resources provided by the embodiment of the invention, the volume (loudness) of user sound collected in a live broadcast client is determined, namely, sound decibel volume values are output through an industry standard weighting curve, the output sensitivity can be controlled by response time with different lengths, the gift price corresponding to the sound decibel values is determined based on the corresponding relation between the sending gift price and the sound decibel values, each gift corresponds to an actual price, so that according to the determined gift price, the gift with the corresponding actual price closest to the determined price is selected as the gift to be sent, the solution of setting the actual price of the sending gift through the volume input by a user is realized, and because the gift is not required to be manually selected, the actual price of the gift is determined based on the sound volume input by the user, namely, the efficiency of selecting the gift in the sending gift is improved, in addition, the interestingness of sending the gift is increased, the user can release the volume when sending the gift, and meanwhile, the user can attract surrounding friends to boost the volume to increase the actual price of the gift, namely, the interestingness of the sending gift is enhanced.
Continuing with the description below of an exemplary structure of the virtual resource sending device 455 implemented as a software module provided in an embodiment of the present invention, in some embodiments, as shown in fig. 3, the software module stored in the virtual resource sending device 455 of the memory 450 may include: an acquisition module 4551 for acquiring sound for transmitting virtual resources; a presentation module 4552 configured to present an amount of the virtual resource, wherein the amount is adapted to a loudness of the sound; and the sending module 4553 is configured to send the virtual resource with the corresponding amount to the receiving account.
In some embodiments, the acquisition module 4551 is further configured to: responding to the voice input operation received in the virtual resource setting page, starting a voice acquisition function to acquire a voice for indicating to send the virtual resource; or automatically starting a voice acquisition function to periodically acquire voice, and determining that the received voice is the voice for transmitting the virtual resource when the content of the acquired voice comprises the set instruction content for transmitting the virtual resource.
In some embodiments, the device 455 further comprises: the quantity determination module 4554 is configured to: determining a loudness of the sound before presenting the amount of the virtual resource; an amount of a single virtual resource that is adapted to the loudness of the sound is determined.
In some embodiments, the quantity determination module 4554 is further configured to: when the background sound for the additional sound is also collected in the process of collecting the sound, the sum of the loudness of the sound itself and the background loudness of the background sound is taken as the loudness of the sound; when the background sound for the accessory sound is not collected in the process of collecting the sound, the loudness of the sound itself is taken as the loudness of the sound.
In some embodiments, the quantity determination module 4554 is further configured to: determining social distances between the source user of the sound and the source user of each background sound; determining a weight negatively associated with the social distance; according to the corresponding weight of each background sound, weighting and summing the loudness of each background sound; and adding the weighted summation result to the loudness of the sound, and taking the obtained summation as the loudness of the sound.
In some embodiments, the quantity determination module 4554 is further configured to: determining an amount in positive correlation with the loudness of the sound as an amount of the single virtual resource; wherein the positive correlation relationship includes: linear positive correlation; nonlinear positive correlation.
In some embodiments, the device 455 further comprises: an identity verification module 4555 for: before the amount of the virtual resource is presented, carrying out identity verification on sound, or collecting information to be verified, and carrying out identity verification according to the information to be verified; when the verification is passed, determining to continue responding to the sound to send the virtual resource; when the verification fails, determining a masking response sound; the information to be verified comprises at least one of facial features, fingerprint features and text passwords.
In some embodiments, the authentication module 4555 is further configured to: comparing the voiceprint features of the sound with pre-authorized voiceprint features; the content of the sound is compared with the pre-authorized virtual resource password content.
In some embodiments, the sound comprises a first sound and a second sound, and the first sound is captured prior to the second sound; the identity verification module 4555 is further configured to: performing identity verification on the first sound; determining that the second sound will continue to be responded to when the first sound is authenticated to fit the amount to the loudness of the second sound; when the authentication of the first sound fails, it is determined that the response second sound will be masked.
In some embodiments, the quantity determination module 4554 is further configured to: before the amount of the virtual resource is presented, the number of the virtual resource to be sent is obtained; the presentation module 4552 is further configured to: when the number of virtual resources to be transmitted is one, presenting the amount of the single virtual resource adapted to the loudness of the sound; when the number of virtual resources to be transmitted is a plurality, presenting the total amount required to be supported by transmitting the plurality of virtual resources, wherein the total amount is the product of the amount and the number of the single virtual resources adapted to the loudness of the sound.
In some embodiments, the quantity determination module 4554 is further configured to: responding to setting operation of the virtual resource type, and acquiring the type of the virtual resource to be sent; when the type of the virtual resource to be transmitted is a group virtual resource, acquiring the number of the virtual resources to be transmitted in the group; and when the type of the virtual resource to be transmitted is the directional virtual resource, acquiring the receiving account number of the virtual resource to be transmitted and the number of the receiving account numbers.
In some embodiments, the device 455 further comprises: payment module 4556 for: before sending the virtual resource with the corresponding amount to the receiving account, responding to the payment operation for the amount, acquiring the electronic currency with the corresponding amount from the payment account, and binding the electronic currency with the virtual resource to be sent.
Embodiments of the present invention provide a computer-readable storage medium storing executable instructions that, when executed by a processor, cause the processor to perform a method for transmitting a virtual resource provided by embodiments of the present invention, for example, the method for transmitting a virtual resource shown in fig. 4A-4D.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
In summary, according to the embodiment of the invention, the amount of the electronic red package transmitted is controlled through sound to replace a mode of manually inputting the amount of the electronic red package, so that the operation time of the red package generation and transmission process can be saved to improve the efficiency, and diversified interactive user experience can be provided, thereby increasing the interestingness of the red package transmitting function.
The above is merely an example of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (14)

1. A method for transmitting virtual resources, the method comprising:
collecting sound for transmitting virtual resources;
when the background sound for attaching the sound is also collected in the process of collecting the sound, determining the social distance between the source user of the sound and the source user of each background sound, determining the weight negatively related to the social distance, carrying out weighted summation on the loudness of each background sound according to the corresponding weight of each background sound, adding the weighted summation result and the loudness of the sound, and taking the obtained summation as the loudness of the sound;
Presenting the number of virtual resources, wherein the number is adapted to the loudness of the sound;
and sending the virtual resources corresponding to the quantity to the receiving account.
2. The method of claim 1, wherein the capturing sound for transmitting the virtual resource comprises:
responding to a voice input operation received on a virtual resource setting page, and starting a voice acquisition function to acquire a voice for indicating to send the virtual resource; or alternatively
And automatically starting a voice acquisition function to periodically acquire voice, and determining the received voice as the voice for transmitting the virtual resource when the content of the acquired voice comprises the set instruction content for transmitting the virtual resource.
3. The method of claim 1, wherein prior to presenting the number of virtual resources, the method further comprises:
the number of individual virtual resources adapted to the loudness of the sound is determined.
4. The method according to claim 1, wherein the method further comprises:
when the background sound for attaching the sound is not collected in the process of collecting the sound, the loudness of the sound itself is taken as the loudness of the sound.
5. The method of claim 3, wherein the step of,
the determining the number of individual virtual resources adapted to the loudness of the sound comprises:
determining the number in positive correlation with the loudness of the sound as the number of individual virtual resources;
wherein the positive correlation relationship includes: linear positive correlation; nonlinear positive correlation.
6. The method of claim 1, wherein prior to presenting the number of virtual resources, the method further comprises:
authentication of the sound, or
Collecting information to be verified, and carrying out identity verification according to the information to be verified;
when the verification is passed, determining to continue responding to the sound to send the virtual resource;
determining that the mask responds to the sound when the verification fails;
the information to be verified comprises at least one of facial features, fingerprint features and text passwords.
7. The method of claim 6, wherein said authenticating said sound comprises:
at least one of the following operations is performed:
comparing the voiceprint features of the sound with pre-authorized voiceprint features;
and comparing the content of the sound with the pre-authorized virtual resource password content.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
the sound includes a first sound and a second sound, and the first sound is captured prior to the second sound;
said authenticating said sound comprises:
performing identity verification on the first sound;
said determining that said virtual resource is to be transmitted in response to said sound when said verification passes comprises:
determining that the response to the second sound will continue to be made to adapt the number to the loudness of the second sound when the first sound is authenticated;
said determining that the mask is responsive to said sound when the verification fails comprises:
when the first sound is not authenticated, determining that the second sound is to be masked in response.
9. The method of claim 1, wherein prior to the presenting the number of virtual resources, the method further comprises:
acquiring the number of the virtual resources to be transmitted;
the presenting the number of virtual resources includes:
when the number of virtual resources to be transmitted is one, presenting the number of single virtual resources adapted to the loudness of the sound;
When the number of virtual resources to be transmitted is a plurality, presenting a total number that needs to be supported for transmitting a plurality of the virtual resources, wherein the total number is a product of the number of single virtual resources adapted to the loudness of the sound and the number.
10. The method of claim 9, wherein the obtaining the number of virtual resources to be transmitted comprises:
responding to setting operation of virtual resource types, and acquiring the types of the virtual resources to be sent;
when the type of the virtual resource to be sent is a group virtual resource, acquiring the number of the virtual resources to be sent in the group;
and when the type of the virtual resource to be sent is a directional virtual resource, acquiring a receiving account number of the virtual resource to be sent and the number of the receiving account numbers.
11. The method according to any one of claims 1 to 10, wherein before sending the corresponding number of virtual resources to the receiving account, the method further comprises:
in response to a payment operation for the amount, electronic money corresponding to the amount is acquired from a payment account and bound to the virtual resource to be transmitted.
12. A transmission apparatus for virtual resources, the apparatus comprising:
the acquisition module is used for acquiring sound for transmitting the virtual resources;
a presenting module, configured to determine a social distance between a source user of the sound and a source user of each of the background sounds when a background sound for attaching the sound is also collected during the process of collecting the sound, determine weights inversely related to the social distance, perform weighted summation on a loudness of each of the background sounds according to the corresponding weight of each of the background sounds, add a weighted summation result to a loudness of the sound itself, and present the obtained summation as a loudness of the sound, where the number is adapted to the loudness of the sound;
and the sending module is used for sending the virtual resources corresponding to the number to the receiving account.
13. An electronic device, comprising:
a memory for storing executable instructions;
a processor configured to implement the virtual resource transmission method according to any one of claims 1 to 11 when executing the executable instructions stored in the memory.
14. A computer readable storage medium storing executable instructions for implementing the method of transmitting virtual resources of any one of claims 1 to 11 when executed by a processor.
CN202010431669.1A 2020-05-20 2020-05-20 Virtual resource sending method and device and electronic equipment Active CN111612441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010431669.1A CN111612441B (en) 2020-05-20 2020-05-20 Virtual resource sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010431669.1A CN111612441B (en) 2020-05-20 2020-05-20 Virtual resource sending method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111612441A CN111612441A (en) 2020-09-01
CN111612441B true CN111612441B (en) 2023-10-20

Family

ID=72200612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010431669.1A Active CN111612441B (en) 2020-05-20 2020-05-20 Virtual resource sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111612441B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160530A (en) * 2015-07-31 2015-12-16 努比亚技术有限公司 Mobile terminal and information processing method
CN105487657A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Sound loudness determination method and apparatus
CN106920092A (en) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 A kind of virtual resource allocation method, client and server
CN109246614A (en) * 2018-09-26 2019-01-18 广东小天才科技有限公司 A kind of red packet sending method, device, wearable device and storage medium
CN110569127A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 Virtual resource transferring, sending and acquiring method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8154588B2 (en) * 2009-01-14 2012-04-10 Alan Alexander Burns Participant audio enhancement system
US10037082B2 (en) * 2013-09-17 2018-07-31 Paypal, Inc. Physical interaction dependent transactions
JP6143887B2 (en) * 2013-12-26 2017-06-07 株式会社東芝 Method, electronic device and program
CN107657471B (en) * 2016-09-22 2021-04-30 腾讯科技(北京)有限公司 Virtual resource display method, client and plug-in

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160530A (en) * 2015-07-31 2015-12-16 努比亚技术有限公司 Mobile terminal and information processing method
WO2017020756A1 (en) * 2015-07-31 2017-02-09 努比亚技术有限公司 Mobile terminal and information processing method
CN105487657A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Sound loudness determination method and apparatus
CN106920092A (en) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 A kind of virtual resource allocation method, client and server
CN109246614A (en) * 2018-09-26 2019-01-18 广东小天才科技有限公司 A kind of red packet sending method, device, wearable device and storage medium
CN110569127A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 Virtual resource transferring, sending and acquiring method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Why can a decrease in dB(A) produce an increase in loudness?;Rhona Hellman et al.;The Journal of the Acoustical Society of America;第82卷;1700-1705 *
具有选择注意能力的语音拾取技术;王晓飞;国雁萌;葛凤培;吴超;付强;颜永红;;中国科学:信息科学(10);86-103 *
受众需求视角下的社交媒体"红包"及其设计研究——以微信红包为例;张佳慧;中国优秀硕士学位论文全文数据库;I138-1698 *

Also Published As

Publication number Publication date
CN111612441A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
KR102159217B1 (en) Electronic device, identification method, system and computer-readable storage medium
CN111949822A (en) Intelligent education video service system based on cloud computing and mobile terminal and operation method thereof
CN111612537B (en) Virtual resource acquisition method and device and electronic equipment
CN104333783B (en) The order method and system, relevant device of a kind of formulation task
EP4099709A1 (en) Data processing method and apparatus, device, and readable storage medium
CN110602624B (en) Audio testing method and device, storage medium and electronic equipment
CN112653902B (en) Speaker recognition method and device and electronic equipment
CN106659435A (en) System for defining and executing audiometric tests
CN107995170A (en) Auth method, device, computer equipment and computer-readable recording medium
CN109543011A (en) Question and answer data processing method, device, computer equipment and storage medium
CN109462603A (en) Voiceprint authentication method, equipment, storage medium and device based on blind Detecting
KR101375119B1 (en) Virtual interview mothod and mobile device readable recording medium for executing application recorded the method
CN107688533A (en) Applied program testing method, device, computer equipment and storage medium
CN115691544A (en) Training of virtual image mouth shape driving model and driving method, device and equipment thereof
CN113301372A (en) Live broadcast method, device, terminal and storage medium
CN113315979A (en) Data processing method and device, electronic equipment and storage medium
CN111404808A (en) Song processing method
CN111612441B (en) Virtual resource sending method and device and electronic equipment
CN110417728B (en) Online interaction method, device, medium and electronic equipment
CN111523343B (en) Reading interaction method, device, equipment, server and storage medium
CN114757155B (en) Conference document generation method and device
CN110875905A (en) Account management method and device and storage medium
CN111918140B (en) Video playing control method and device, computer equipment and storage medium
CN111885139B (en) Content sharing method, device and system, mobile terminal and server
CN107688826A (en) Man-machine recognition methods based on light sensation and apply its advertisement placement method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028948

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant