CN110012059B - Electronic red packet implementation method and device - Google Patents

Electronic red packet implementation method and device Download PDF

Info

Publication number
CN110012059B
CN110012059B CN201910112207.0A CN201910112207A CN110012059B CN 110012059 B CN110012059 B CN 110012059B CN 201910112207 A CN201910112207 A CN 201910112207A CN 110012059 B CN110012059 B CN 110012059B
Authority
CN
China
Prior art keywords
red packet
information
sending
audio data
video data
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
CN201910112207.0A
Other languages
Chinese (zh)
Other versions
CN110012059A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910112207.0A priority Critical patent/CN110012059B/en
Publication of CN110012059A publication Critical patent/CN110012059A/en
Application granted granted Critical
Publication of CN110012059B publication Critical patent/CN110012059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/02Methods for producing synthetic speech; Speech synthesisers
    • G10L13/033Voice editing, e.g. manipulating the voice of the synthesiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Abstract

The application provides an electronic red packet implementation method and device, wherein the electronic red packet implementation method comprises the following steps: acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information; uploading the red packet information to a server; receiving audio data and/or video data which are transmitted by the server and converted based on the text description information; and sending the acquired operation instruction aiming at the audio data and/or the video data to the server. According to the electronic red packet implementation method, the red packet information of the electronic red packet is edited, so that the electronic red packet is more diversified, and the more interesting electronic red packet is realized.

Description

Electronic red packet implementation method and device
Technical Field
The application relates to the technical field of data processing, in particular to an electronic red packet implementation method. The application also relates to an electronic red packet implementation device, another two electronic red packet implementation methods and devices, three computing devices and three computer readable storage media.
Background
Along with the popularization of networking consumption, the electronic red packet replaces the traditional physical red packet in many fields to become an important communication tool among users, and particularly, communication of the users through the electronic red packet is more and more performed during holidays such as spring festival.
At present, in the process of interaction of an electronic red packet, if a user wants to send a voice red packet, the user needs to record the voice to be sent by himself at first, and then the voice recorded by the user is sent in the form of the electronic red packet. However, the existing voice red envelope needs the user to record, the operation is relatively complex, and only the user records the voice in a single implementation mode, so that the realization is single, and the interestingness is lacked.
Disclosure of Invention
In view of this, the embodiment of the present application provides an electronic red envelope implementation method to solve the technical defects in the prior art. The embodiment of the application also provides an electronic red packet implementation device, other two electronic red packet implementation methods and devices, three computing devices and three computer readable storage media.
The application provides an electronic red packet implementation method, which comprises the following steps:
acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
and sending the acquired operation instruction aiming at the audio data and/or the video data to the server.
Optionally, after the step of receiving the audio data and/or the video data that is sent by the server and converted based on the text description information is executed, and before the step of sending the acquired operation instruction for the audio data and/or the video data to the server is executed, the method includes:
and playing the audio data and/or the video data based on the red packet page.
Optionally, the operation instruction includes: edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, after the step of sending the acquired operation instruction for the audio data and/or the video data to the server is executed, the method includes:
receiving target audio data and/or target video data converted from the audio data and/or the video data sent by the server; converting the target audio data and/or the target video data into audio data and/or video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
playing the target audio data and/or the target video data based on the red packet page;
and sending a sending instruction aiming at the target audio data and/or the target video data to the server.
Optionally, after the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method includes:
collecting sound information of a sending user corresponding to the red packet page;
and uploading the sound information to the server.
Optionally, after the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method includes:
collecting image information and/or video information of a sending user corresponding to the red packet page;
and uploading the image information and/or the video information to the server.
Optionally, after the step of sending the sending instruction for the target audio data and/or the target video data to the server is executed, the method includes:
displaying a payment reminder for payment of an electronic red packet carrying the amount information and the target audio data and/or the target video data based on the red packet page;
and paying the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user aiming at the payment prompt and the amount information corresponding to the red envelope page.
Optionally, after the step of performing payment on the electronic red envelope by the red envelope account of the sending user according to the payment input of the sending user for the payment reminder and the amount information corresponding to the red envelope page is executed, the method includes:
and receiving the sending feedback of the electronic red packet sent by the server.
The application also provides an electronic red packet implementation device, including:
a red packet information acquisition unit configured to acquire red packet information input on a red packet page; the red packet information comprises character description information and amount information;
the red packet information uploading unit is configured to upload the red packet information to a server;
the data receiving unit is configured to receive audio data and/or video data which are transmitted by the server and converted based on the text description information;
and the operation instruction sending unit is configured to send the obtained operation instruction aiming at the audio data and/or the video data to the server.
The application also provides a second electronic red packet implementation method, which comprises the following steps:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
and sending the electronic red packet carrying the money information to a receiving end according to the audio data and/or the video data.
Optionally, the converting the text description information into corresponding audio data includes:
converting the text description information into text characteristics in a coding mode;
converting the text features into frequency spectrum information;
and converting the frequency spectrum information into voice information which is used as audio data corresponding to the text description information.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
converting the audio data and/or the video data into target audio data and/or target video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving sound information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the sound information by using a speech synthesis algorithm to generate a personalized audio editing effect corresponding to the sound information of the sending user as an audio editing effect corresponding to the editing instruction.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving image information and/or video information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the image information and/or the video information by using a video synthesis algorithm to generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
Optionally, the audio editing effect and/or the video editing effect corresponding to the editing instruction is determined in the following manner:
and selecting an audio editing effect and/or a video editing effect corresponding to the audio editing characteristic information and/or the video editing characteristic information in a preset audio editing material library and/or a preset video editing material library according to the audio editing characteristic information and/or the video editing characteristic information carried by the editing instruction, and taking the audio editing effect and/or the video editing effect corresponding to the editing instruction.
Optionally, after the substep of converting the audio data and/or the video data into the target audio data and/or the target video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction is executed, the method includes:
sending the target audio data and/or the target video data to the sending end;
and receiving a sending instruction sent by the sending end aiming at the target audio data and/or the target video data.
Optionally, if the operation instruction is a confirmation sending instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
splitting the electronic red packet into a money sub-red packet carrying the money information and an audio and video sub-red packet carrying the audio data and/or the video data;
and sequentially sending the money sub red packet and the audio and video sub red packet to the receiving end.
Optionally, after the step of sending the electronic red packet carrying the amount information to the receiving end according to the audio data and/or the video data is executed, the method includes:
receiving the sending feedback of the electronic red packet returned by the receiving end;
and forwarding the sending feedback of the electronic red packet to the sending end.
The application also provides a second electronic red packet implementation device, including:
the red packet information receiving unit is configured to receive red packet information which is uploaded by the sending end and contains the text description information and the amount information;
the data transmitting unit is configured to convert the text description information into corresponding audio data and/or video data and transmit the audio data and/or video data to the transmitting end;
an operation instruction receiving unit configured to receive an operation instruction transmitted by the transmitting end for the audio data and/or the video data;
and the electronic red packet sending unit is configured to send the electronic red packet carrying the money amount information to a receiving end according to the audio data and/or the video data.
The application also provides a third electronic red packet implementation method, which comprises the following steps:
receiving an electronic red packet carrying money information sent by a server;
acquiring a starting instruction aiming at the displayed electronic red packet;
and displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction.
Optionally, the receiving the electronic red packet carrying the amount information sent by the server includes:
and receiving the money sub-red packet carrying the money information and the audio and video sub-red packet carrying the audio data and/or the video data sent by the server.
Optionally, after the step of displaying the amount information on the red packet display page of the electronic red packet based on the opening instruction is executed, the method includes:
and generating the sending feedback of the electronic red packet and sending the sending feedback to the server.
The application also provides a third kind of electron red packet implementation device, includes:
the electronic red packet receiving unit is configured to receive an electronic red packet carrying the amount information sent by the server;
the opening instruction acquisition unit is configured to acquire an opening instruction aiming at the displayed electronic red packet;
and the electronic red packet display unit is configured to display the amount information on a red packet display page of the electronic red packet based on an opening instruction.
The present application further provides a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
and sending the acquired operation instruction aiming at the audio data and/or the video data to the server.
The present application also provides a second computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
and sending the electronic red packet carrying the money information to a receiving end according to the audio data and/or the video data.
The present application further provides a third computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving an electronic red packet carrying money information sent by a server;
acquiring a starting instruction aiming at the displayed electronic red packet;
and displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction.
The present application also provides a computer readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the electronic red packet implementation method.
The present application also provides a second computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the second electronic red packet implementation method.
The present application also provides a third computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the third electronic red packet implementation method.
Compared with the prior art, the method has the following advantages:
the application provides an electronic red packet implementation method, which comprises the following steps: acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information; uploading the red packet information to a server; receiving audio data and/or video data which are transmitted by the server and converted based on the text description information; and sending the acquired operation instruction aiming at the audio data and/or the video data to the server.
According to the electronic red packet implementation method, the text description information of the electronic red packet is converted into the corresponding audio data and/or video data, the converted audio data and/or video data can be further edited by sending the operation instruction, and finally the electronic red packet is sent on the basis of further editing, so that the electronic red packet is more diversified, and the electronic red packet with more interest is implemented.
Drawings
FIG. 1 is a flow chart of a process of an electronic red envelope implementation method provided by the present application;
fig. 2 is an interactive schematic diagram of an electronic red envelope implementation method applied to a red envelope sending scene provided by the present application;
FIG. 3 is a schematic diagram of an electronic red envelope implementing apparatus provided by the present application;
FIG. 4 is a flowchart of a second method for implementing an electronic red envelope according to the present application;
FIG. 5 is a schematic diagram of a second electronic red packet implementation device provided in the present application;
FIG. 6 is a flowchart illustrating a third method for implementing an electronic red envelope according to the present application;
FIG. 7 is a schematic diagram of a third electronic red packet implementation device provided in the present application;
FIG. 8 is a block diagram of a computing device provided herein;
FIG. 9 is a block diagram of a second computing device provided herein;
fig. 10 is a block diagram of a third computing device provided herein.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The application provides an electronic red packet implementation method, an electronic red packet implementation device, other two electronic red packet implementation methods and devices, three computing devices and three computer readable storage media. The following detailed description and the description of the steps of the method are individually made with reference to the drawings of the embodiments provided in the present application.
The embodiment of the electronic red packet implementation method provided by the application is as follows:
referring to fig. 1, a processing flow chart of an electronic red packet implementation method provided in this embodiment is shown, and referring to fig. 2, an interaction diagram of an electronic red packet implementation method applied to a red packet sending scene provided in this embodiment is shown.
The method for implementing the electronic red packet in the embodiment of the application comprises the steps S102 to S108.
Step S102, red packet information input in the red packet page is obtained.
The electronic red packet implementation method is implemented based on a sending end, the second electronic red packet implementation method provided below is implemented based on a server end, the third electronic red packet implementation method provided below is implemented based on a receiving end, and the three electronic red packet implementation methods provided by the application are matched with each other in a specific implementation process, so that the more interesting electronic red packet is implemented.
The red packet page in the embodiment of the application refers to a page for editing and sending the electronic red packet at one side of a sending end of the electronic red packet. In practical application, the red packet page can be triggered by a pre-configured red packet sending identifier, a sending user at the sending end enters the corresponding red packet page by triggering the red packet sending identifier, and the sending of the electronic red packet from the sending user to a receiving user at the receiving end is realized on the basis of the red packet page.
The red packet information comprises character description information and amount information, wherein the character description information is a red packet blessing message sent by a sending user at the sending end side to a receiving user at the receiving end side, and the red packet blessing message not only indicates whether the sent red packet is a festival red packet, a birthday red packet or a celebration red packet used for a wedding and other specific occasions, but also indicates blessing information of the sending user to the receiving user; the money information is the money of the red envelope sent by the sending user to the receiving user.
For example, after selecting the receiving user B in the session function of the payment application, the sending user a enters a session page of the receiving user B, and if the sending user a wants to send an electronic red packet to the receiving user B, the sending user a enters a red packet page for sending the electronic red packet to the receiving user B by triggering a red packet button arranged on the session page; and after entering a red packet page for sending the electronic red packet to the receiving user B, the sending user A edits the red packet amount and the red packet blessing words sent to the receiving user B on the red packet page.
In addition to the text description information and the amount information contained in the red packet information, the red packet information may also contain other information related to the red packet, for example, the red packet information may also contain information of a receiving user or a red packet theme, and the like, which is not limited in this embodiment.
And step S104, uploading the red packet information to a server.
After acquiring that a sending user inputs red packet information containing text description information and amount information on a red packet page, the sending end uploads the acquired red packet information to the server, and the server processes the red packet information acquired by the sending end.
After receiving red packet information which is uploaded by a sending end and contains text description information and money information, a server end converts the text description information into corresponding audio data and/or video data, so that an electronic red packet containing the text description information is converted into an audio red packet (voice red packet) containing the audio data, or the electronic red packet containing the text description information is converted into a video red packet containing the video data, and then the electronic red packet containing the text description information is converted into an audio and video red packet containing the audio data and the video data.
And step S106, receiving the audio data and/or the video data which are transmitted by the server and converted based on the text description information.
In a preferred implementation manner provided by the embodiment of the application, after audio data and/or video data sent by a server are received, the audio data and/or the video data are played based on the red packet page, and the audio data and/or the video data converted by the server according to the text description information are displayed in an audio-visual manner.
For example, after the payment application sends the red packet amount and the red packet blessing language input by the sending user a for the receiving user B to the server, the server converts the red packet blessing language into a voice-type red packet blessing language (audition blessing language) by calling a voice synthesis algorithm, and returns the audition blessing language after conversion to the payment application; after the audition blessing voice returns to the payment application, the sending user A can audition the audition blessing voice.
Step S108, sending the obtained operation instruction aiming at the audio data and/or the video data to the server.
In practical applications, after the audio data and/or the video data converted by the server are sent to the client, the user may want to further edit the audio data and/or the video data, or may send the audio data and/or the video data directly without editing. The operation instruction in the embodiment of the present application preferably includes an editing instruction and a confirmation sending instruction.
In specific implementation, after receiving the audio data and/or the video data sent by the server, the sending end may edit the audio data and/or the video data by sending an edit instruction to the server, where the essence of the edit instruction is to edit the audio data and/or the video data. After that, when the server receives an editing instruction aiming at the audio data and/or the video data sent by the sending end, the audio data and/or the video data are converted according to an audio editing effect and/or a video editing effect corresponding to the editing instruction, and target audio data and/or target video data which accord with the editing instruction of the sending user are generated after conversion, so that the audio data and/or the video data sent to the receiving user are more diverse and interesting.
Based on this, in a preferred implementation manner provided by the embodiment of the present application, after the sending end sends the edit instruction for the audio data and/or the video data to the server, the sending end includes:
1) receiving target audio data and/or target video data converted from the audio data and/or the video data sent by a server;
converting the target audio data and/or the target video data into audio data and/or video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
2) playing the target audio data and/or the target video data based on the red packet page;
the purpose of playing the target audio data and/or the target video data on the red packet page is to enhance the perception of a sending user to the target audio data and/or the target video data sent by a receiving user, so that the sending user can clearly perceive the sending effect of the electronic red packet sent to the receiving user finally in a way of playing on the red packet page;
3) and sending a sending instruction aiming at the target audio data and/or the target video data to a server.
Further, after the sending end sends an editing instruction for the audio data and/or the video data to the server, the server may collect characteristic information of a sending user (for example, sound information, image information or video information of the sending user) on the basis of receiving the editing instruction and in the process of editing the audio data and/or the video data according to the editing instruction, and perform conversion processing on the audio data and/or the video data on the basis of the collected characteristic information, so that the target audio data and/or the target video data obtained after the conversion processing are more consistent with the characteristics of the sending user, and the target audio data and/or the target video data are more personalized and more interesting.
Specifically, if the audio data is to be converted, preferably, the sending end collects the sound information of the sending user corresponding to the red packet page, and uploads the collected sound information to the server, so that the server converts the audio data on the basis of sending the sound information of the sending user, and thus, target audio data with higher sound coincidence degree with the sending user is generated.
Similarly, if the video data is to be synthesized, preferably, the sending end acquires image information and/or video information of a sending user corresponding to the red packet page, and the sending end uploads the acquired image information and/or video information to the server, so that the server performs conversion processing on the video data on the basis of the image information and/or video information of the sending user, and thus target video data with higher appearance similarity with the sending user is generated.
Besides, after receiving the audio data and/or the video data sent by the server, the sending end can send the electronic red packet by directly sending a confirmation sending instruction for the audio data and/or the video data sent by the server if the user is satisfied with the audio data and/or the video data sent by the server, where the essence of the confirmation sending instruction is to confirm and send the audio data and/or the video data.
In practical application, the sending end also comprises a process of payment according to the amount information of the electronic red packet in the process of sending the electronic red packet, on the basis of sending the sending instruction for the target audio data and/or the target video data to the server in the above preferred embodiment, in a preferred embodiment provided by the embodiment of the present application, after sending a sending instruction for the target audio data and/or the target video data to a server, displaying a payment reminder for paying for an electronic red envelope carrying the amount information and the target audio data and/or the target video data based on the red envelope page, and, and paying the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user aiming at the payment prompt and the amount information corresponding to the red envelope page.
Further, on the basis of the payment of the electronic red packet, after the payment of the electronic red packet is completed, the sending feedback of the electronic red packet sent by the server is preferably received, so that a sending user can timely know the sending state of the sent electronic red packet, and the perception of the sending user on the electronic red packet is more timely and more accurate.
The following description will be given by taking an application of the electronic red packet implementation method provided by the present application in a red packet sending scene as an example, with reference to fig. 2:
step S202, after a sending user A selects a receiving user B in a session function of a payment application (sending end) where the sending user A is located, entering a session page of the receiving user B, and if the receiving user B wants to send an electronic red packet, entering a red packet page for sending the electronic red packet to the receiving user B by triggering a red packet button arranged on the session page;
step S204, after entering a red envelope page for sending the electronic red envelope to the receiving user B, the sending user A edits the red envelope amount and the red envelope blessing words sent to the receiving user B on the red envelope page;
step S206, uploading the money of the red packet and the blessing words of the red packet to the server; after the red packet amount and the red packet blessing words are sent to the server, the server converts the red packet blessing words into voice type red packet blessing words (audition blessing voice) by calling a voice synthesis algorithm and returns the audition blessing voice after conversion to the payment application where the sending user A is located;
step S212, receiving the audition blessing voice returned by the server, and the sending user A can play the audition blessing voice;
step S214, if the sending user A wants to further edit the audition blessing voice, the operation instruction sent to the server is an editing instruction, and the further editing of the audition blessing voice is realized by sending the editing instruction; then, the server side converts the audition blessing voice into the blessing voice to be sent finally according to the editing effect corresponding to the editing instruction sent by the sending user A, and the server side sends the blessing voice obtained after conversion;
step S220, receiving the blessing voice sent by the server, the sending user A can also obtain the blessing voice sent to the receiving user B finally by playing the blessing voice; if a sending instruction of the sending user A for the blessing voice is detected, generating a payment reminder for the electronic red envelope and displaying the payment reminder on a current red envelope page;
step S222, for the payment prompt displayed on the red envelope page, sending a payment password input by the user A to complete the payment of the electronic red envelope;
step S236, receiving the sending feedback of the sent electronic red packet forwarded by the server, so that the sending user a can timely know the state of the sent electronic red packet.
In summary, the electronic red envelope implementation method provided by the application can convert the text description information of the electronic red envelope into corresponding audio data and/or video data, can further edit the converted audio data and/or video data in a mode of sending an operation instruction, and finally sends the electronic red envelope on the basis of further editing, so that the electronic red envelope is more diversified, and the electronic red envelope with more interest is implemented.
The embodiment of the device for realizing the electronic red packet provided by the application is as follows:
in the foregoing embodiment, an electronic red packet implementation method is provided, and correspondingly, an electronic red packet implementation device is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 3, a schematic diagram of an embodiment of an electronic red packet implementation apparatus provided in the present application is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides an electron red packet realization device includes:
a red packet information acquisition unit 302 configured to acquire red packet information input on a red packet page; the red packet information comprises character description information and amount information;
a red packet information uploading unit 304 configured to upload the red packet information to a server;
a data receiving unit 306 configured to receive audio data and/or video data transmitted by the server and converted based on the text description information;
an operation instruction sending unit 308 configured to send the obtained operation instruction for the audio data and/or the video data to the server.
Optionally, the electronic red packet implementation apparatus includes:
a data playing unit configured to play the audio data and/or the video data based on the red packet page.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an edit instruction, the electronic red packet implementation apparatus includes:
a target data receiving unit configured to receive target audio data and/or target video data into which the audio data and/or the video data transmitted by the server are converted; converting the target audio data and/or the target video data into audio data and/or video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
a target data playing unit configured to play the target audio data and/or the target video data based on the red packet page;
a sending instruction sending unit configured to send a sending instruction for the target audio data and/or the target video data to the server.
Optionally, the electronic red packet implementation apparatus includes:
the voice information acquisition unit is configured to acquire voice information of a sending user corresponding to the red packet page;
the voice information uploading unit is configured to upload the voice information to the server.
Optionally, the electronic red packet implementation apparatus includes:
the image characteristic acquisition unit is configured to acquire image information and/or video information of a sending user corresponding to the red packet page;
the image feature uploading unit is configured to upload the image information and/or the video information to the server.
Optionally, the electronic red packet implementation apparatus includes:
a payment reminding unit configured to show a payment reminding for paying for an electronic red packet carrying the amount information and the target audio data and/or the target video data based on the red packet page;
and the payment unit is configured to pay for the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user for the payment prompt and the amount information corresponding to the red envelope page.
Optionally, the electronic red packet implementation apparatus includes:
a sending feedback receiving unit configured to receive sending feedback of the electronic red packet sent by the server.
The second embodiment of the electronic red packet implementation method provided by the application is as follows:
the above embodiment provides an electronic red packet implementation method, and in cooperation with the method, the application further provides a second electronic red packet implementation method, which is described below with reference to the accompanying drawings.
Referring to fig. 4, it shows a processing flow chart of a second electronic red packet implementation method provided in the present application, and referring to fig. 2, it shows an interaction diagram of an electronic red packet implementation method applied to a red packet sending scene according to this embodiment.
The application provides a second electronic red packet implementation method, which includes:
and step S402, receiving red packet information which is uploaded by the sending end and contains the character description information and the amount information.
The electronic red packet implementation method provided by the embodiment of the method is implemented on the basis of the sending end, the second electronic red packet implementation method provided by the embodiment is implemented on the basis of the server end, the third electronic red packet implementation method provided by the following embodiment is implemented on the basis of the receiving end, and the three electronic red packet implementation methods provided by the application are mutually matched in the specific implementation process, so that the more interesting electronic red packet is implemented.
The red packet information in the embodiment of the application comprises character description information and amount information, wherein the character description information is a red packet blessing message sent by a sending user at a sending end side to a receiving user at a receiving end side, and the red packet blessing message not only indicates whether the sent red packet is a festival red packet, a birthday red packet or a celebration red packet used for a wedding and other specific occasions, but also indicates blessing information of the sending user to the receiving user; the money information is the money of the red envelope sent by the sending user to the receiving user.
In addition to the text description information and the amount information contained in the red packet information, the red packet information may also contain other information related to the red packet, for example, the red packet information may also contain information of a receiving user or a red packet theme, and the like, which is not limited in this embodiment.
In specific implementation, after acquiring that a sending user inputs red packet information containing text description information and money amount information on a red packet page, a sending end uploads the acquired red packet information to a server, and the server receives and sends the red packet information uploaded by the sending end and further processes the red packet information on the basis of the received red packet information.
Step S404, converting the text description information into corresponding audio data and/or video data, and sending the audio data and/or video data to the sending end.
After receiving red packet information which is uploaded by a sending end and contains text description information and money information, a server end converts the text description information into corresponding audio data and/or video data, on the basis, the electronic red packet containing the text description information is converted into an audio red packet (voice red packet) containing the audio data, or the electronic red packet containing the text description information is converted into a video red packet containing the video data, or the electronic red packet containing the text description information is converted into an audio and video red packet containing the audio data and the video data.
Taking the process of converting the text description information into corresponding audio data as an example, the text description information is preferably converted into corresponding audio data by the following method:
1) converting the text description information into text characteristics in a coding mode;
2) converting the text features into frequency spectrum information;
3) and converting the frequency spectrum information into voice information which is used as audio data corresponding to the text description information.
In practical applications, the above-mentioned conversion of the Text description information into corresponding audio data can be realized by calling a TTS (Text To Speech, from Text To Speech) Speech synthesis algorithm, where the TTS Speech synthesis algorithm uses a tacontron 2 framework, which mainly includes 3 modules: an encoder, a decoder, and a vocoder, wherein the converting the textual description information into textual features by encoding may be performed based on the encoder, the converting the textual features into spectral information may be performed based on the decoder, and the converting the spectral information into speech information may be performed based on the vocoder.
For example, after the payment application sends the red packet amount and the red packet blessing language input by the sending user a for the receiving user B to the server, the server converts the red packet blessing language into a voice-type red packet blessing language (audition blessing language) by calling a voice synthesis algorithm, and returns the audition blessing language after conversion to the payment application; after the audition blessing voice returns to the payment application, the sending user A can audition the audition blessing voice.
It should be noted that, on the basis of adopting TTS speech synthesis algorithm, a speech synthesis model may be trained through the historical corpus, and according to the speech synthesis model obtained by training, the conversion from the text description information to the speech data may be realized by inputting the text description information into the speech synthesis model, so that the quasi-real-time online text-to-speech conversion may be realized.
Similar to the above conversion from the text description information to the corresponding audio data, the text description information may be converted into the corresponding video data by using a corresponding video synthesis algorithm, for example, according to the text description information, by combining a popular expression package, an animation or a video in a video material library, the text description information is synthesized into an expression package, an animation or a small video by using a corresponding video synthesis algorithm, thereby generating a video data stream carrying the text description information.
Step S406, receiving an operation instruction sent by the sending end for the audio data and/or the video data.
In practical applications, after the audio data and/or the video data converted by the server are sent to the client, the user may want to further edit the audio data and/or the video data, or may send the audio data and/or the video data directly without editing. The operation instruction in the embodiment of the present application preferably includes an editing instruction and a confirmation sending instruction.
If the operation instruction is an editing instruction, after the server side sends the audio data and/or the video data converted from the text description information to the sending end, the sending end can edit the audio data and/or the video data in a mode of sending the editing instruction to the server side; here, the server receives an editing instruction for the audio data and/or the video data sent by the sending end.
Further, on the basis of receiving the editing instruction, the server may further collect feature information (for example, sound information, image information, or video information of the sending user) of the sending user in the process of editing the audio data and/or the video data according to the editing instruction, and perform conversion processing on the audio data and/or the video data on the basis of the collected feature information of the sending user, so that the target audio data and/or the target video data obtained after the conversion processing are more consistent with the features of the sending user, and thus the target audio data and/or the target video data are more humanized and more interesting.
Specifically, if the audio data is to be converted, it is preferable to receive sound information of a sending user corresponding to a red packet page uploaded by a sending end, and synthesize the sound information by using a speech synthesis algorithm to generate a personalized audio editing effect corresponding to the sound information of the sending user, which is used as an audio editing effect corresponding to the editing instruction.
Similarly, if the video data is to be synthesized, preferably receiving image information and/or video information of a sending user corresponding to a red packet page uploaded by a sending end, and synthesizing the image information and/or the video information by using a video synthesis algorithm to generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
After the sending end receives the audio data and/or the video data sent by the server, if the user is satisfied with the audio data and/or the video data sent by the server, the sending end can also send the electronic red packet by directly sending a confirmation sending instruction aiming at the audio data and/or the video data sent by the server, wherein the essence of the confirmation sending instruction is to confirm and send the audio data and/or the video data.
And step S408, sending the electronic red packet carrying the money information to a receiving end according to the audio data and/or the video data.
If the operation instruction sent by the sending end received by the server is an editing instruction, the server converts the audio data and/or the video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction on the basis of receiving the editing instruction aiming at the audio data and/or the video data sent by the sending end, and generates target audio data and/or target video data according with the operation instruction of the sending user after conversion, so that the electronic red packet sent to the receiving user on the basis of the target audio data and/or the target video data is more personalized.
In specific implementation, in order to enhance the perception of a sending user to the target audio data and/or the target video data sent by a receiving user, in a preferred implementation manner provided by an embodiment of the present application, after the audio data and/or the video data are converted into the target audio data and/or the target video data, the sending end sends the target audio data and/or the target video data to the sending end, and receives a sending instruction sent by the sending end for the target audio data and/or the target video data.
In a preferred embodiment provided in the embodiment of the present application, the electronic red packet carrying the amount information is sent to the receiving end according to the audio data and/or the video data, and the following method is specifically adopted:
1) and converting the audio data and/or the video data into target audio data and/or target video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction.
Preferably, the audio editing effect and/or the video editing effect corresponding to the editing instruction is determined in the following manner:
and selecting an audio editing effect and/or a video editing effect corresponding to the audio editing characteristic information and/or the video editing characteristic information in a preset audio editing material library and/or a preset video editing material library according to the audio editing characteristic information and/or the video editing characteristic information carried by the editing instruction, and taking the audio editing effect and/or the video editing effect corresponding to the editing instruction.
The preferred embodiment collects the audio editing effect and/or the video editing effect of editing the audio data and/or the video data in a material library manner, so that more various editing effects can be provided for a sending user, and the target audio data and/or the target video data obtained by editing on the basis of the editing effects are more diverse and more interesting.
For example, after a red packet blessing word edited by a sending user A on a red packet page of an electronic red packet is uploaded to a server, the server calls a default speech synthesis algorithm to convert the red packet blessing word into a blessing speech, and then returns the blessing speech to a payment application where the sending user A is located for audition; after audition, the sending user A can further edit the blessing voice, specifically by selecting the voice editing effect set on the red packet page, for example, making a strange sound effect, a star sound effect or editing a personalized sound effect by collecting the tone of the sending user A;
if the sending user A selects the high sound effect or the star sound effect, the server converts the blessing voice according to the high sound effect or the editing effect of the star sound effect stored in the voice material library, and generates the blessing voice with the high sound effect or the star sound effect after conversion;
if the sending user A selects to edit the personalized sound effect according to the own tone, the own sound information of the sending user A needs to be collected, a personalized editing effect for editing the blessing voice obtained by converting the red package blessing language is generated on the basis of the collected sound information, the blessing voice obtained by converting the red package blessing language is converted on the basis of the personalized editing effect, and the personalized blessing voice with the own tone characteristic of the sending user A is generated after the conversion.
Or after the red package blessing words edited by the sending user A on the red package page of the electronic red package are uploaded to the server, the server selects a video material with the highest matching degree with the red package blessing words in the video material library according to a popular expression package, a motion picture or a small video in a video material library collected in advance, for example, the red package blessing words of the sending user A are 'happy birthday congratulatory day', a small video under the theme of birthday blessing in the video material library is selected, the red package blessing words are synthesized into the small video by using a video synthesis algorithm based on the selected small video, and the synthesized small video is returned to the sending user A for viewing; after the sending user A plays the small video, the small video can be further edited, specifically, the video editing effect set on the red packet page is selected, for example, a strange atmosphere scene, a holiday atmosphere scene or an individualized video is edited by collecting the image characteristics of the sending user A, and the like;
if the sending user A selects a birthday blessing scene in the festival atmosphere scene, the server converts the small video according to the editing effect of the birthday blessing scene pre-stored by voice, and generates a birthday blessing small video with the birthday blessing scene after conversion;
if the sending user A selects to edit the personalized video according to the image characteristics of the sending user A, the image characteristics of the sending user A need to be acquired, a personalized editing effect for editing the small video is generated on the basis of the acquired image characteristics (for example, the personalized editing effect is that the head portrait in the small video is replaced by the head portrait of the sending user A), the small video is converted on the basis of the personalized editing effect, and the personalized birthday blessing small video with the image characteristics of the sending user A is generated after conversion.
2) And sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
In the process of sending the electronic red packet to the receiving end, the money amount information and the target audio data and/or the target video data can be sent to the receiving end in a packaging mode, and specifically, the money amount information and the target audio data and/or the target video data are packaged into the electronic red packet and sent to the receiving end.
Similarly, if the received operation instruction sent by the client is a confirmation sending instruction, the money information and the audio data and/or the video data can be sent to the receiving end in a packing mode in the process of sending the electronic red packet to the receiving end, and specifically, the money information and the audio data and/or the video data are sent to the receiving end in a form of packing the electronic red packet.
In addition, in the process of sending the electronic red packet to the receiving end, the electronic red packet can be sent to the receiving end in a split mode.
In order to further enhance the perception of the sending user on the sending state of the electronic red packet, the server preferably receives the sending feedback of the electronic red packet returned by the receiving end, and forwards the sending feedback of the electronic red packet to the sending end.
In practical application, after receiving audio data and/or video data sent by a server, a sending end can send an electronic red packet in a manner of directly sending a confirmation sending instruction for the audio data and/or video data sent by the server if a user is satisfied with the audio data and/or video data sent by the server, wherein the essence of the confirmation sending instruction is to confirm and send the audio data and/or video data; correspondingly, after receiving the confirmation sending instruction, the server can directly generate an electronic red packet based on the confirmation sending instruction and send the electronic red packet to the receiving end. In addition, if the sending confirmation instruction is received, the audio data and/or the video data can be edited according to the default editing effect so as to obtain the target audio data and/or the target video data, the electronic red packet is sent to the receiving end on the basis of the target audio data and/or the target video data, according to the logic, the default editing effect can be specifically divided into the default audio editing effect and/or the default video editing effect, on the basis, the audio data and/or the video data are edited according to the default audio editing effect and/or the default video editing effect so as to obtain the target audio data and/or the target video data, and the electronic red packet is sent to the receiving end on the basis of the target audio data and/or the target video data.
The following description will be given by taking an application of the electronic red packet implementation method provided by the present application in a red packet sending scene as an example, with reference to fig. 2:
step S208, receiving the red packet amount and the red packet blessing words uploaded by the payment application (sending end) where the sending user A is located and sending the red packet amount and the red packet blessing words to the server end;
step S210, converting the red package blessing words into voice type red package blessing words (audition blessing voice) by calling a voice synthesis algorithm and returning the converted audition blessing voice to the payment application where the sending user A is located;
step S216, receiving an operation instruction of the sending user A on the audition blessing voice sent by the payment application where the sending user A is located, and if the received operation instruction is an editing instruction for further editing the audition blessing voice, converting the audition blessing voice into a blessing voice to be sent finally according to an editing effect corresponding to the editing instruction;
step S218, the blessing voice obtained after conversion is sent to the payment application where the sending user A is located;
step S224, sending the electronic red packet after payment is completed to a receiving end (receiving the payment application of the user B), wherein the electronic red packet carries the amount information and the blessing voice;
step S234, after the electronic red packet carrying the amount information and the blessing voice is sent to the payment application of the receiving user B, the electronic red packet is received and checked by the receiving user B, then the sending feedback of the electronic red packet is generated and returned, and after the sending feedback returned by the payment application of the receiving user B is received, the sending feedback is forwarded to the payment application of the sending user A.
The second electronic red packet implementation device provided by the application has the following embodiments:
in the foregoing embodiment, a second electronic red packet implementation method is provided, and correspondingly, a second electronic red packet implementation apparatus is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 5, a schematic diagram of an embodiment of a second electronic red packet implementation apparatus provided in the present application is shown.
Since the embodiment of the apparatus is substantially similar to the embodiment of the method, the description is relatively simple, and reference may be made to the corresponding description of the embodiment of the second method for implementing an electronic red packet provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides second electron red packet realization device includes:
a red packet information receiving unit 502 configured to receive red packet information including text description information and amount information uploaded by a sending end;
a data transmitting unit 504 configured to convert the text description information into corresponding audio data and/or video data and transmit the converted data to the transmitting end;
an operation instruction receiving unit 506 configured to receive an operation instruction transmitted by the transmitting end for the audio data and/or the video data;
an electronic red packet sending unit 508 configured to send an electronic red packet carrying the amount information and the target audio data and/or the target video data to a receiving end.
Optionally, the data sending unit 504 includes:
the coding subunit is configured to convert the text description information into text characteristics in a coding mode;
a decoding subunit configured to convert the text feature into spectral information;
and the sound code subunit is configured to convert the frequency spectrum information into voice information as audio data corresponding to the text description information.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, the electronic red packet sending unit 508 includes:
the editing subunit is configured to convert the audio data and/or the video data into target audio data and/or target video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and the sending subunit is configured to send the electronic red packet carrying the money amount information and the target audio data and/or the target video data to a receiving end.
Optionally, the second electronic red packet implementation apparatus includes:
the voice information receiving unit is configured to receive voice information of a sending user corresponding to the red packet page uploaded by the sending end;
and the sound synthesis processing unit is configured to perform synthesis processing on the sound information by using a speech synthesis algorithm, and generate a personalized audio editing effect corresponding to the sound information of the sending user as an audio editing effect corresponding to the editing instruction.
Optionally, the second electronic red packet implementation apparatus includes:
the image characteristic receiving unit is configured to receive image information and/or video information of a sending user corresponding to the red packet page uploaded by the sending end;
and the image characteristic synthesis processing unit is configured to perform synthesis processing on the image information and/or the video information by using a video synthesis algorithm, and generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
Optionally, the audio editing effect and/or the video editing effect corresponding to the editing instruction is determined by operating the following sub-units:
and the editing effect determining subunit is configured to select an audio editing effect and/or a video editing effect corresponding to the audio editing feature information and/or the video editing feature information in a preset audio editing material library and/or a preset video editing material library according to the audio editing feature information and/or the video editing feature information carried by the editing instruction, and use the audio editing effect and/or the video editing effect corresponding to the editing instruction.
Optionally, the electronic red packet sending unit 508 includes:
a target data transmitting subunit configured to transmit the target audio data and/or the target video data to the transmitting end;
a sending instruction receiving subunit configured to receive a sending instruction sent by the sending end for the target audio data and/or the target video data.
Optionally, if the operation instruction is a confirmation sending instruction, the electronic red packet sending unit 508 includes:
the sub-red packet splitting subunit is configured to split the electronic red packet into a money sub-red packet carrying the money information and an audio/video sub-red packet carrying the audio data and/or the video data;
and the sub red packet sending subunit is configured to send the money sub red packet and the audio and video sub red packet to the receiving end in sequence.
Optionally, the second electronic red packet implementation apparatus includes:
a sending feedback receiving unit configured to receive sending feedback of the electronic red packet returned by the receiving end;
a transmission feedback forwarding unit configured to forward the transmission feedback of the electronic red packet to the transmitting end.
The third embodiment of the electronic red packet implementation method provided by the application is as follows:
the above embodiment provides two implementation methods of an electronic red packet, and in cooperation with the two implementation methods, the present application further provides a third implementation method of an electronic red packet, which is described below with reference to the accompanying drawings.
Referring to fig. 6, it shows a processing flow chart of a third electronic red packet implementation method provided in the present application, and referring to fig. 2, it shows an interaction diagram of an electronic red packet implementation method applied to a red packet sending scene according to this embodiment.
The application provides a third electronic red packet implementation method, which includes:
step S602, receiving the electronic red packet carrying the money amount information sent by the server.
The first electronic red packet implementation method is implemented based on a sending end, the second electronic red packet implementation method is implemented based on a server end, the electronic red packet implementation method is implemented based on a receiving end, and the three electronic red packet implementation methods provided by the application are matched with each other in a specific implementation process, so that more interesting electronic red packets are implemented.
Specifically, if the server side edits the audio data and/or the video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction sent by the sending end to generate corresponding target audio data and/or target video data, and in the process that the server side sends the electronic red packet to the receiving end, the amount information and the target audio data and/or the target video data can be sent to the receiving end in the form of the electronic red packet by packaging the amount information and the target audio data and/or the target video data; correspondingly, after receiving the electronic red packet sent by the server, the receiving end analyzes the money information and the target audio data and/or the target video data packaged in the electronic red packet.
And if the server side receives a confirmation sending instruction sent by the sending end after sending the audio data and/or the video data to the sending end, directly packaging the money information and the audio data and/or the video data into an electronic red packet and sending the electronic red packet to the receiving end.
In addition, in the process that the server side sends the electronic red packet to the receiving side, the electronic red packet can be sent to the receiving side in a split electronic red packet mode, preferably, the electronic red packet is split into a money sub red packet carrying the money information and an audio and video sub red packet carrying the audio data and/or the video data, and the money sub red packet and the audio and video sub red packet are sent to the receiving side in sequence; correspondingly, the receiving end preferably receives the money sub-red packet and the audio and video sub-red packet sent by the server end in the process of receiving the electronic red packet sent by the server end.
Step S604, obtaining a starting instruction aiming at the displayed electronic red packet.
And step S606, displaying the amount information on a red packet display page of the electronic red packet based on the opening instruction.
Specifically, if the received electronic red packet is an electronic red packet carrying the amount information and the target audio data and/or the target video data, the amount information is displayed on a red packet display page of the electronic red packet based on an opening instruction, and the target audio data and/or the target video data are played.
And if the received electronic red packet is the electronic red packet carrying the amount information and the audio data and/or the video data, displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction, and playing the audio data and/or the video data.
In practical application, after receiving an electronic red packet sent by a server, a receiving end displays a red packet identifier of the electronic red packet on a corresponding red packet display page of the electronic red packet, and if a receiving user of the receiving end wants to open the currently displayed electronic red packet, the currently displayed electronic red packet can be opened by triggering the red packet identifier.
Specifically, after a red packet identifier of the electronic red packet is triggered, money amount information carried by the electronic red packet is displayed on a corresponding red packet display page, and target audio data and/or target video data carried by the electronic red packet are played based on the red packet display page, or the audio data and/or the video data carried by the electronic red packet are played based on the red packet display page.
In order to further enhance the perception of a sending user of a sending end to the sending state of the electronic red packet, after the electronic red packet is received and opened by a receiving user of a receiving end, the receiving end generates sending feedback of the electronic red packet which is opened currently, the sending feedback of the electronic red packet is sent to a server end, and the server end forwards the sending feedback to the sending end.
The following description will be given by taking an application of the electronic red packet implementation method provided by the present application in a red packet sending scene as an example, with reference to fig. 2:
step S226, receiving the electronic red packet which is sent by the server and carries the money information and the blessing voice; after receiving the electronic red packet, a receiving end displays a red packet identifier of the electronic red packet on a corresponding red packet display page of the electronic red packet, and if a receiving user B of the receiving end wants to open the currently displayed electronic red packet, the currently displayed electronic red packet can be opened by triggering the red packet identifier;
step S228, acquiring a starting instruction of a red packet identifier of a receiving user B aiming at the currently displayed electronic red packet;
step S230, displaying the amount information carried by the received electronic red packet on a red packet display page of the receiving end, and playing the received blessing voice on the red packet display page;
step S232, generating a sending feedback that the current electronic red packet is received and started, and returning the generated sending feedback to the server.
The third electronic red packet implementation device provided by the application has the following embodiments:
in the foregoing embodiment, a third electronic red packet implementation method is provided, and correspondingly, a third electronic red packet implementation apparatus is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 7, a schematic diagram of an embodiment of a third electronic red packet implementation apparatus provided in the present application is shown.
Since the embodiment of the apparatus is basically similar to the embodiment of the method, the description is relatively simple, and reference should be made to the corresponding description of the third embodiment of the method for implementing the electronic red packet provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides third kind of electron red packet realization device includes:
an electronic red packet receiving unit 702 configured to receive an electronic red packet carrying the amount information sent by the server;
an opening instruction obtaining unit 704 configured to obtain an opening instruction for the electronic red packet displayed;
and the electronic red packet display unit 706 is configured to display the amount information on a red packet display page of the electronic red packet based on the opening instruction.
Optionally, the electronic red packet receiving unit 702 is specifically configured to receive the money sub-red packet carrying the money information and the audio/video sub-red packet carrying the audio data and/or the video data sent by the server.
Optionally, the third electronic red packet implementation apparatus includes:
and the sending feedback generating unit is configured to generate sending feedback of the electronic red packet and send the sending feedback to the server.
The embodiment of the computing device provided by the application is as follows:
FIG. 8 is a block diagram illustrating a configuration of a computing device 800 according to an embodiment of the present description. The components of the computing device 800 include, but are not limited to, memory 810 and a processor 820. The processor 820 is coupled to the memory 810 via a bus 830, and the database 850 is used to store data.
Computing device 800 also includes access device 840, access device 840 enabling computing device 800 to communicate via one or more networks 860. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 840 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 800, as well as other components not shown in FIG. 8, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 8 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 800 may also be a mobile or stationary server.
The present application provides a computing device comprising a memory 810, a processor 820, and computer instructions stored on the memory and executable on the processor, the processor 820 being configured to execute the following computer-executable instructions:
acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
and sending the acquired operation instruction aiming at the audio data and/or the video data to the server.
Optionally, after the receiving of the instruction of the audio data and/or the video data converted based on the text description information sent by the server is executed, and before the sending of the computer-executable instruction of the obtained operation instruction for the audio data and/or the video data to the server is executed, the processor 820 is further configured to execute the following computer-executable instructions:
and playing the audio data and/or the video data based on the red packet page.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, after the instruction that the obtained operation instruction for the audio data and/or the video data is sent to the server and executed, the processor 820 is further configured to execute the following computer-executable instructions:
receiving target audio data and/or target video data converted from the audio data and/or the video data sent by the server; converting the target audio data and/or the target video data into audio data and/or video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
playing the target audio data and/or the target video data based on the red packet page;
and sending a sending instruction aiming at the target audio data and/or the target video data to the server.
Optionally, after the computer-executable instruction of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the processor 820 is further configured to execute the following computer-executable instructions:
collecting sound information of a sending user corresponding to the red packet page;
and uploading the sound information to the server.
Optionally, after the computer-executable instruction of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the processor 820 is further configured to execute the following computer-executable instructions:
collecting image information and/or video information of a sending user corresponding to the red packet page;
and uploading the image information and/or the video information to the server.
Optionally, after the computer-executable instruction of sending the sending instruction for the target audio data and/or the target video data to the server is executed, the processor 820 is further configured to execute the following computer-executable instructions:
displaying a payment reminder for payment of an electronic red packet carrying the amount information and the target audio data and/or the target video data based on the red packet page;
and paying the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user aiming at the payment prompt and the amount information corresponding to the red envelope page.
Optionally, after the payment instruction is executed by the red envelope account of the sending user for the electronic red envelope according to the payment input and the amount information of the sending user for the payment reminder corresponding to the red envelope page, the processor 820 is further configured to execute the following computer-executable instructions:
and receiving the sending feedback of the electronic red packet sent by the server.
A second embodiment of a computing device provided by the present application is as follows:
FIG. 9 is a block diagram that illustrates a computing device 900 in accordance with one embodiment of the present description. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is coupled to the memory 910 via a bus 930, and a database 950 is used to store data.
Computing device 900 also includes access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE902.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 900, as well as other components not shown in FIG. 9, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 9 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
The present application provides a second computing device comprising a memory 910, a processor 920, and computer instructions stored on the memory and executable on the processor, the processor 920 being configured to execute the following computer-executable instructions:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
and sending the electronic red packet carrying the money information to a receiving end according to the audio data and/or the video data.
Optionally, the converting the text description information into corresponding audio data includes:
converting the text description information into text characteristics in a coding mode;
converting the text features into frequency spectrum information;
and converting the frequency spectrum information into voice information which is used as audio data corresponding to the text description information.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
converting the audio data and/or the video data into target audio data and/or target video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving sound information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the sound information by using a speech synthesis algorithm to generate a personalized audio editing effect corresponding to the sound information of the sending user as an audio editing effect corresponding to the editing instruction.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving image information and/or video information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the image information and/or the video information by using a video synthesis algorithm to generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
Optionally, the audio editing effect and/or the video editing effect corresponding to the editing instruction is determined in the following manner:
and selecting an audio editing effect and/or a video editing effect corresponding to the audio editing characteristic information and/or the video editing characteristic information in a preset audio editing material library and/or a preset video editing material library according to the audio editing characteristic information and/or the video editing characteristic information carried by the editing instruction, and taking the audio editing effect and/or the video editing effect corresponding to the editing instruction.
Optionally, after the substep of converting the audio data and/or the video data into the target audio data and/or the target video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction is executed, the method includes:
sending the target audio data and/or the target video data to the sending end;
and receiving a sending instruction sent by the sending end aiming at the target audio data and/or the target video data.
Optionally, if the operation instruction is a confirmation sending instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
splitting the electronic red packet into a money sub-red packet carrying the money information and an audio and video sub-red packet carrying the audio data and/or the video data;
and sequentially sending the money sub red packet and the audio and video sub red packet to the receiving end.
Optionally, after the step of sending the electronic red packet carrying the amount information to the receiving end according to the audio data and/or the video data is executed, the method includes:
receiving the sending feedback of the electronic red packet returned by the receiving end;
and forwarding the sending feedback of the electronic red packet to the sending end.
A third embodiment of a computing device provided by the present application is as follows:
fig. 10 is a block diagram illustrating a structure of a computing device 1000 according to an embodiment of the present description. The components of the computing device 1000 include, but are not limited to, memory 1010 and a processor 1020. The processor 1020 is coupled to the memory 1010 via a bus 1030 and the database 1050 is used to store data.
Computing device 1000 also includes access device 1040, access device 1040 enabling computing device 1000 to communicate via one or more networks 1060. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 1040 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE1002.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 1000 and other components not shown in FIG. 10 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 10 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 1000 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1000 may also be a mobile or stationary server.
The present application provides a third computing device comprising a memory 1010, a processor 1020, and computer instructions stored on the memory and executable on the processor, the processor 1020 configured to execute the following computer-executable instructions:
receiving an electronic red packet carrying money information sent by a server;
acquiring a starting instruction aiming at the displayed electronic red packet;
and displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction.
Optionally, the receiving the electronic red packet carrying the amount information sent by the server includes:
and receiving the money sub-red packet carrying the money information and the audio and video sub-red packet carrying the audio data and/or the video data sent by the server.
Optionally, after the step of displaying the amount information on the red packet display page of the electronic red packet based on the opening instruction is executed, the method includes:
and generating the sending feedback of the electronic red packet and sending the sending feedback to the server.
The embodiment of a computer-readable storage medium provided by the application is as follows:
an embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which when executed by a processor implement the following:
acquiring red packet information input in a red packet page; the red packet information comprises character description information and amount information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
and sending the acquired operation instruction aiming at the audio data and/or the video data to the server.
Optionally, after the step of receiving the audio data and/or the video data that is sent by the server and converted based on the text description information is executed, and before the step of sending the acquired operation instruction for the audio data and/or the video data to the server is executed, the method includes:
and playing the audio data and/or the video data based on the red packet page.
Optionally, the operation instruction includes:
edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, after the step of sending the acquired operation instruction for the audio data and/or the video data to the server is executed, the method includes:
receiving target audio data and/or target video data converted from the audio data and/or the video data sent by the server; converting the target audio data and/or the target video data into audio data and/or video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
playing the target audio data and/or the target video data based on the red packet page;
and sending a sending instruction aiming at the target audio data and/or the target video data to the server.
Optionally, after the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method includes:
collecting sound information of a sending user corresponding to the red packet page;
and uploading the sound information to the server.
Optionally, after the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method includes:
collecting image information and/or video information of a sending user corresponding to the red packet page;
and uploading the image information and/or the video information to the server.
Optionally, after the step of sending the sending instruction for the target audio data and/or the target video data to the server is executed, the method includes:
displaying a payment reminder for payment of an electronic red packet carrying the amount information and the target audio data and/or the target video data based on the red packet page;
and paying the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user aiming at the payment prompt and the amount information corresponding to the red envelope page.
Optionally, after the step of performing payment on the electronic red envelope by the red envelope account of the sending user according to the payment input of the sending user for the payment reminder and the amount information corresponding to the red envelope page is executed, the method includes:
and receiving the sending feedback of the electronic red packet sent by the server.
The second computer-readable storage medium provided by the application has the following embodiments:
a second computer-readable storage medium is provided in an embodiment of the present application, which stores computer instructions that, when executed by a processor, implement the following:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
and sending the electronic red packet carrying the money information to a receiving end according to the audio data and/or the video data.
Optionally, the converting the text description information into corresponding audio data includes:
converting the text description information into text characteristics in a coding mode;
converting the text features into frequency spectrum information;
and converting the frequency spectrum information into voice information which is used as audio data corresponding to the text description information.
Optionally, the operation instruction includes: edit the instruction or confirm the send instruction.
Optionally, if the operation instruction is an editing instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
converting the audio data and/or the video data into target audio data and/or target video data according to an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving sound information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the sound information by using a speech synthesis algorithm to generate a personalized audio editing effect corresponding to the sound information of the sending user as an audio editing effect corresponding to the editing instruction.
Optionally, after the step of receiving the operation instruction sent by the sending end for the audio data and/or the video data is executed, the method includes:
receiving image information and/or video information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the image information and/or the video information by using a video synthesis algorithm to generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
Optionally, the audio editing effect and/or the video editing effect corresponding to the editing instruction is determined in the following manner:
and selecting an audio editing effect and/or a video editing effect corresponding to the audio editing characteristic information and/or the video editing characteristic information in a preset audio editing material library and/or a preset video editing material library according to the audio editing characteristic information and/or the video editing characteristic information carried by the editing instruction, and taking the audio editing effect and/or the video editing effect corresponding to the editing instruction.
Optionally, after the substep of converting the audio data and/or the video data into the target audio data and/or the target video data according to the audio editing effect and/or the video editing effect corresponding to the editing instruction is executed, the method includes:
sending the target audio data and/or the target video data to the sending end;
and receiving a sending instruction sent by the sending end aiming at the target audio data and/or the target video data.
Optionally, if the operation instruction is a confirmation sending instruction, the sending an electronic red packet carrying the amount information to a receiving end according to the audio data and/or the video data includes:
splitting the electronic red packet into a money sub-red packet carrying the money information and an audio and video sub-red packet carrying the audio data and/or the video data;
and sequentially sending the money sub red packet and the audio and video sub red packet to the receiving end.
Optionally, after the step of sending the electronic red packet carrying the amount information to the receiving end according to the audio data and/or the video data is executed, the method includes:
receiving the sending feedback of the electronic red packet returned by the receiving end;
and forwarding the sending feedback of the electronic red packet to the sending end.
The third computer readable storage medium provided by the application has the following embodiments:
a third computer-readable storage medium is provided in an embodiment of the present application, which stores computer instructions that, when executed by a processor, implement the following:
receiving an electronic red packet carrying money information sent by a server;
acquiring a starting instruction aiming at the displayed electronic red packet;
and displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction.
Optionally, the receiving the electronic red packet carrying the amount information sent by the server includes:
and receiving the money sub-red packet carrying the money information and the audio and video sub-red packet carrying the audio data and/or the video data sent by the server.
Optionally, after the step of displaying the amount information on the red packet display page of the electronic red packet based on the opening instruction is executed, the method includes:
and generating the sending feedback of the electronic red packet and sending the sending feedback to the server.
The above is an illustrative scheme of three types of computer-readable storage media of the present embodiment. It should be noted that the technical solutions of the three storage media belong to the same concept as the technical solutions of the three electronic red packet implementation methods provided above, and details of the technical solutions of the storage media, which are not described in detail, can be referred to the descriptions of the technical solutions of the three electronic red packet implementation methods provided above.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (26)

1. An electronic red packet implementation method is characterized by comprising the following steps:
acquiring red packet information input on a red packet page, wherein the red packet information comprises character description information and money information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
sending the acquired operation instruction aiming at the audio data and/or the video data to the server;
under the condition that the operation instruction is an editing instruction, collecting characteristic information of a user, and sending the characteristic information to the server, wherein the server performs conversion processing on the audio data and/or the video data on the basis of the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction to generate target audio data and/or target video data;
and receiving the target audio data and/or the target video data returned by the server, and sending a sending instruction aiming at the target audio data and/or the target video data to the server.
2. The method according to claim 1, wherein after the step of receiving the audio data and/or the video data converted based on the textual description information and sent by the server is executed and before the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method comprises:
and playing the audio data and/or the video data based on the red packet page.
3. The method according to claim 1, wherein if the operation instruction is an edit instruction, after the step of sending the obtained operation instruction for the audio data and/or the video data to the server is executed, the method further comprises:
and playing the target audio data and/or the target video data based on the red packet page.
4. The method for implementing the electronic red envelope according to claim 3, wherein the collecting the characteristic information of the user and sending the characteristic information to the server comprises:
collecting sound information of a sending user corresponding to the red packet page;
and uploading the sound information to the server.
5. The method for implementing the electronic red envelope according to claim 3, wherein the collecting the characteristic information of the user and sending the characteristic information to the server comprises:
collecting image information and/or video information of a sending user corresponding to the red packet page;
and uploading the image information and/or the video information to the server.
6. The method according to claim 3, wherein the step of sending the sending instruction for the target audio data and/or the target video data to the server is executed, and includes:
displaying a payment reminder for payment of an electronic red packet carrying the amount information and the target audio data and/or the target video data based on the red packet page;
and paying the electronic red envelope in the red envelope account of the sending user according to the payment input of the sending user aiming at the payment prompt and the amount information corresponding to the red envelope page.
7. The method according to claim 6, wherein the step of executing the payment step of the red envelope account of the sending user for the electronic red envelope according to the payment input of the sending user for the payment reminder and the amount information corresponding to the red envelope page comprises:
and receiving the sending feedback of the electronic red packet sent by the server.
8. An electronic red packet implementation device, comprising:
a red packet information acquisition unit configured to acquire red packet information input on a red packet page, the red packet information including text description information and amount information;
the red packet information uploading unit is configured to upload the red packet information to a server;
the data receiving unit is configured to receive audio data and/or video data which are transmitted by the server and converted based on the text description information;
an operation instruction sending unit configured to send the obtained operation instruction for the audio data and/or the video data to the server;
the acquisition unit is configured to acquire characteristic information of a user and send the characteristic information to the server under the condition that the operation instruction is an editing instruction, wherein the server performs conversion processing on the audio data and/or the video data on the basis of the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction to generate target audio data and/or target video data;
and the target data receiving unit is configured to receive the target audio data and/or the target video data returned by the server and send a sending instruction aiming at the target audio data and/or the target video data to the server.
9. An electronic red packet implementation method is characterized by comprising the following steps:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
under the condition that the operation instruction is an editing instruction, acquiring characteristic information of a user, and converting the audio data and/or the video data into target audio data and/or target video data according to the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
10. The method of claim 9, wherein converting the textual description information into corresponding audio data comprises:
converting the text description information into text characteristics in a coding mode;
converting the text features into frequency spectrum information;
and converting the frequency spectrum information into voice information which is used as audio data corresponding to the text description information.
11. The method according to claim 10, wherein the step of receiving the operation instruction sent by the sender for the audio data and/or video data, after execution, comprises:
receiving sound information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the sound information by using a speech synthesis algorithm to generate a personalized audio editing effect corresponding to the sound information of the sending user as an audio editing effect corresponding to the editing instruction.
12. The method according to claim 10, wherein the step of receiving the operation instruction sent by the sender for the audio data and/or video data, after execution, comprises:
receiving image information and/or video information of a sending user corresponding to the red packet page uploaded by the sending end;
and synthesizing the image information and/or the video information by using a video synthesis algorithm to generate a personalized video editing effect corresponding to the image information and/or the video information of the sending user as a video editing effect corresponding to the editing instruction.
13. The method according to claim 10, wherein the audio editing effect and/or the video editing effect corresponding to the editing instruction are determined as follows:
and selecting an audio editing effect and/or a video editing effect corresponding to the audio editing characteristic information and/or the video editing characteristic information in a preset audio editing material library and/or a preset video editing material library according to the audio editing characteristic information and/or the video editing characteristic information carried by the editing instruction, and taking the audio editing effect and/or the video editing effect corresponding to the editing instruction.
14. The method according to claim 10, wherein after converting the audio data and/or the video data into the target audio data and/or the target video data, the method comprises:
sending the target audio data and/or the target video data to the sending end;
and receiving a sending instruction sent by the sending end aiming at the target audio data and/or the target video data.
15. The method for implementing the electronic red envelope according to claim 9, wherein if the operation instruction is an acknowledgement sending instruction, sending the electronic red envelope carrying the amount information to a receiving end according to the audio data and/or the video data includes:
splitting the electronic red packet into a money sub-red packet carrying the money information and an audio and video sub-red packet carrying the audio data and/or the video data;
and sequentially sending the money sub red packet and the audio and video sub red packet to the receiving end.
16. The method for implementing the electronic red envelope according to claim 9, wherein after the step of sending the electronic red envelope carrying the amount information to the receiving end according to the audio data and/or the video data is executed, the method comprises:
receiving the sending feedback of the electronic red packet returned by the receiving end;
and forwarding the sending feedback of the electronic red packet to the sending end.
17. An electronic red packet implementation device, comprising:
the red packet information receiving unit is configured to receive red packet information which is uploaded by the sending end and contains the text description information and the amount information;
the data transmitting unit is configured to convert the text description information into corresponding audio data and/or video data and transmit the audio data and/or video data to the transmitting end;
an operation instruction receiving unit configured to receive an operation instruction transmitted by the transmitting end for the audio data and/or the video data;
the electronic red packet sending unit is configured to collect characteristic information of a user under the condition that the operation instruction is an editing instruction, and convert the audio data and/or the video data into target audio data and/or target video data according to the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and the electronic red packet sending unit is also configured to send an electronic red packet carrying the money amount information and the target audio data and/or the target video data to a receiving end.
18. An electronic red packet implementation method is characterized by comprising the following steps:
receiving an electronic red packet sent by a server, wherein the electronic red packet comprises a money sub-red packet carrying money information and an audio and video sub-red packet carrying target audio data and/or target video data;
acquiring a starting instruction aiming at the displayed electronic red packet;
displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction, and playing the target audio data and/or the target video data;
the target audio data and/or the target video data are generated by the server side through conversion processing of the audio data and/or the video data according to an audio editing effect and/or a video editing effect corresponding to an editing instruction, and the audio data and/or the video data are generated by the server side through conversion based on red packet information.
19. The method of claim 18, wherein after playing the target audio data and/or the target video data, the method further comprises:
and generating the sending feedback of the electronic red packet and sending the sending feedback to the server.
20. An electronic red packet implementation device, comprising:
the electronic red packet receiving unit is configured to receive an electronic red packet sent by a server, and the electronic red packet comprises a money sub-red packet carrying money information and an audio and video sub-red packet carrying target audio data and/or target video data;
the opening instruction acquisition unit is configured to acquire an opening instruction aiming at the displayed electronic red packet;
the electronic red packet display unit is configured to display the money information on a red packet display page of the electronic red packet based on a starting instruction and play the target audio data and/or the target video data;
the target audio data and/or the target video data are generated by the server side through conversion processing of the audio data and/or the video data according to an audio editing effect and/or a video editing effect corresponding to an editing instruction, and the audio data and/or the video data are generated by the server side through conversion based on red packet information.
21. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring red packet information input on a red packet page, wherein the red packet information comprises character description information and money information;
uploading the red packet information to a server;
receiving audio data and/or video data which are transmitted by the server and converted based on the text description information;
sending the acquired operation instruction aiming at the audio data and/or the video data to the server;
under the condition that the operation instruction is an editing instruction, collecting characteristic information of a user, and sending the characteristic information to the server, wherein the server performs conversion processing on the audio data and/or the video data on the basis of the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction to generate target audio data and/or target video data;
and receiving the target audio data and/or the target video data returned by the server, and sending a sending instruction aiming at the target audio data and/or the target video data to the server.
22. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving red packet information which is uploaded by a sending end and contains text description information and money information;
converting the text description information into corresponding audio data and/or video data and sending the audio data and/or video data to the sending end;
receiving an operation instruction sent by the sending end aiming at the audio data and/or the video data;
under the condition that the operation instruction is an editing instruction, acquiring characteristic information of a user, and converting the audio data and/or the video data into target audio data and/or target video data according to the characteristic information and an audio editing effect and/or a video editing effect corresponding to the editing instruction;
and sending the electronic red packet carrying the money information and the target audio data and/or the target video data to a receiving end.
23. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving an electronic red packet sent by a server, wherein the electronic red packet comprises a money sub-red packet carrying money information and an audio and video sub-red packet carrying target audio data and/or target video data;
acquiring a starting instruction aiming at the displayed electronic red packet;
displaying the amount information on a red packet display page of the electronic red packet based on an opening instruction, and playing the target audio data and/or the target video data;
the target audio data and/or the target video data are generated by the server side through conversion processing of the audio data and/or the video data according to an audio editing effect and/or a video editing effect corresponding to an editing instruction, and the audio data and/or the video data are generated by the server side through conversion based on red packet information.
24. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 7.
25. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 9 to 16.
26. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 18 to 19.
CN201910112207.0A 2019-02-13 2019-02-13 Electronic red packet implementation method and device Active CN110012059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910112207.0A CN110012059B (en) 2019-02-13 2019-02-13 Electronic red packet implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910112207.0A CN110012059B (en) 2019-02-13 2019-02-13 Electronic red packet implementation method and device

Publications (2)

Publication Number Publication Date
CN110012059A CN110012059A (en) 2019-07-12
CN110012059B true CN110012059B (en) 2021-07-09

Family

ID=67165745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910112207.0A Active CN110012059B (en) 2019-02-13 2019-02-13 Electronic red packet implementation method and device

Country Status (1)

Country Link
CN (1) CN110012059B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652601B (en) * 2020-05-07 2023-11-10 腾讯科技(深圳)有限公司 Virtual article issuing and receiving method and device
CN116757742A (en) * 2021-01-14 2023-09-15 支付宝(杭州)信息技术有限公司 Red packet issuing and receiving method, device, equipment and readable medium
CN112819453A (en) * 2021-02-10 2021-05-18 成都九天玄鸟科技有限公司 Man-machine interaction method, electronic equipment and system based on red packet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610695A (en) * 2015-12-21 2016-05-25 阿里巴巴集团控股有限公司 Service implementation method and device
CN106850411A (en) * 2017-02-17 2017-06-13 河源市行聊智能科技有限公司 A kind of implementation method of voice red packet and its realize system
CN108388385A (en) * 2017-12-29 2018-08-10 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment of displaying red packet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458379B (en) * 2012-05-31 2018-04-13 腾讯科技(深圳)有限公司 Method for sending information, method for pushing, apparatus and system
CN107767879A (en) * 2017-10-25 2018-03-06 北京奇虎科技有限公司 Audio conversion method and device based on tone color
CN108847215B (en) * 2018-08-29 2020-07-17 北京云知声信息技术有限公司 Method and device for voice synthesis based on user timbre

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610695A (en) * 2015-12-21 2016-05-25 阿里巴巴集团控股有限公司 Service implementation method and device
CN106850411A (en) * 2017-02-17 2017-06-13 河源市行聊智能科技有限公司 A kind of implementation method of voice red packet and its realize system
CN108388385A (en) * 2017-12-29 2018-08-10 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment of displaying red packet

Also Published As

Publication number Publication date
CN110012059A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110012059B (en) Electronic red packet implementation method and device
US9626984B2 (en) Instant messaging method and system, communication information processing method, terminal, and storage medium
KR100706967B1 (en) Method and System for Providing News Information by Using Three Dimensional Character for Use in Wireless Communication Network
US20090198497A1 (en) Method and apparatus for speech synthesis of text message
US20040114731A1 (en) Communication system
CN1870744A (en) Image synthesis apparatus, communication terminal, image communication system, and chat server
KR20050032589A (en) Method and system for transmitting messages on telecommunications network and related sender terminal
WO2014117660A1 (en) Methods for sending and receiving video short message, apparatus and handheld electronic device thereof
EP1908255A1 (en) Apparatus, system, method, and article of manufacture for automatic context-based media transformation and generation
WO2014067269A1 (en) Sent message playing method, system and related device
CN113194203A (en) Communication system, answering and dialing method and communication system for hearing-impaired people
KR20140002285A (en) Voice sns system
CN101483824B (en) Method, service terminal and system for individual customizing media
JP2004356998A (en) Apparatus and method for dynamic image conversion, apparatus and method for dynamic image transmission, as well as programs therefor
JP4504216B2 (en) Image processing apparatus and image processing program
CN102318296A (en) Messaging system
JP2006048352A (en) Communication terminal having character image display function and control method therefor
CN111128204A (en) Comment method and device, terminal device and computer storage medium
JP2007251581A (en) Voice transmission terminal and voice reproduction terminal
JP2011091725A (en) Server apparatus, cellular phone and composite motion picture creation system
JP2006039705A (en) Content creation device, content creation method, and content creation system
JP4170150B2 (en) Mail relay apparatus and method, and program
JP5291554B2 (en) Communication system, matching database server
JP2006127443A (en) E-mail transmitting terminal and e-mail system
CN112562733A (en) Media data processing method and device, storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40010682

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant