CN111698145A - Method, apparatus and medium for receiving and transmitting virtual package including voice - Google Patents

Method, apparatus and medium for receiving and transmitting virtual package including voice Download PDF

Info

Publication number
CN111698145A
CN111698145A CN202010485773.9A CN202010485773A CN111698145A CN 111698145 A CN111698145 A CN 111698145A CN 202010485773 A CN202010485773 A CN 202010485773A CN 111698145 A CN111698145 A CN 111698145A
Authority
CN
China
Prior art keywords
virtual
package
message
control
voice information
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.)
Pending
Application number
CN202010485773.9A
Other languages
Chinese (zh)
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.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology 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 Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN202010485773.9A priority Critical patent/CN111698145A/en
Publication of CN111698145A publication Critical patent/CN111698145A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application is a divisional application of Chinese application 201610955516.0. A virtual article packet sending method, a virtual article packet receiving method, a virtual article packet sending device, a virtual article packet receiving device and a virtual article packet receiving system belong to the technical field of computers and internet. The method comprises the following steps: the method comprises the steps that a sender client acquires voice information and virtual article package parameters input in a virtual article package sending page, and correspondingly sends the information and receiver information to a background server; the background server sends a virtual article packet message carrying a virtual article packet identifier to at least one receiver client according to the receiver information; and displaying a virtual commodity package message by the client of the receiving party, wherein the virtual commodity package message and/or the virtual commodity package pickup page triggered and displayed based on the virtual commodity package message comprise a playing control, and playing the voice information acquired according to the virtual commodity package identification after acquiring a trigger signal corresponding to the playing control.

Description

Method, apparatus and medium for receiving and transmitting virtual package including voice
The present application is a divisional application of the chinese application having an application number of 201610955516.0, an application date of 2016, 10, month, and 27, and an invention name of "virtual package transmitting method, receiving method, apparatus, and system
Technical Field
The embodiment of the invention relates to the technical field of computers and internet, in particular to a method, a device and a medium for receiving and sending a virtual goods package containing voice.
Background
With the development of network technology, each user can donate resources using a virtual package on the user client. The resources may be money, credits, equipment in a network game, virtual pets, and the like.
Taking the virtual commodity package as a carrier for giving away money as an example, after the client of the sending party obtains the virtual commodity package generation instruction, displaying a virtual commodity package sending page, and obtaining the virtual commodity package parameters input in the virtual commodity package sending page; the virtual package parameters may include the monetary amount to be donated, or may include the number of virtual packages requested to be generated and the monetary amount packaged in each virtual package. In the related art, the user is also provided with a function of adding a blessing word when transmitting the virtual package. The virtual goods package sending page comprises an input box, and the input box is used for a user to input blessing words. For example, the user may manually edit "baby, Happy birthday! "as blessing words. After the user inputs the parameters of the virtual article package and the blessing words, the client of the sender is triggered to send a virtual article package generation request to the background server, and the virtual article package generation request comprises the parameters of the virtual article package and the blessing words. And after the background server generates the virtual article packet according to the virtual article packet parameters, the blessing words are carried in the virtual article packet and are sent to the corresponding receiver client. The user of the recipient client is able to view the blessing words and open the virtual good package for currency therein.
Since the user is provided with only a function of adding the blessing words in text form when transmitting the virtual package in the related art, the message that can be transmitted by the blessing words in text form is limited. For example, the receiver user cannot intuitively and definitely know the psychological state of the sender user only according to the blessing words in the form of characters.
Disclosure of Invention
In order to solve the problem that in the prior art, only a function of adding a blessing word in a text form when a virtual commodity package is sent is provided for a user, so that the information which can be transmitted is limited, embodiments of the present invention provide a virtual commodity package sending method, a virtual commodity package receiving method, a virtual commodity package sending device, a virtual commodity package receiving device, and a virtual commodity package system. The technical scheme is as follows:
in one aspect, a virtual goods package receiving method including voice is provided, and the method includes:
displaying a virtual commodity package message containing voice information in a conversation interface, wherein prompt information containing the voice information in the virtual commodity package message is displayed on the virtual commodity package message;
acquiring a trigger signal corresponding to the virtual commodity package message, and displaying a virtual commodity package pickup page, wherein the virtual commodity package pickup page comprises a playing control and a pickup control;
responding to the triggering operation of the playing control, and triggering to play the voice information;
and triggering to pick up the virtual articles in the virtual article package in response to the triggering operation of the picking-up control.
In another aspect, a method for transmitting a virtual good package including voice is provided, the method including:
displaying a virtual article package sending page, wherein the virtual article package sending page comprises an input box for inputting parameters of a virtual article, a recording control for recording voice information and an operation control for confirming generation of the virtual article package;
acquiring the virtual article parameters input in the input box;
responding to the triggering operation of the recording control, acquiring recorded voice information, and displaying a display preview control for previewing and playing the voice information on a virtual article package sending page;
and sending a virtual article package message in response to the triggering operation of the operation control, wherein the virtual article package message contains the virtual article parameters and the voice information.
In another aspect, there is provided a receiving apparatus for a virtual good package containing voice, the apparatus comprising:
the message display module is used for displaying a virtual commodity package message containing voice information in a conversation interface, wherein prompt information containing the voice information in the virtual commodity package message is displayed on the virtual commodity package message;
the message display module is further used for acquiring a trigger signal corresponding to the virtual article package message and displaying a virtual article package pickup page, wherein the virtual article package pickup page comprises a playing control and a pickup control;
the information playing module is used for responding to the triggering operation of the playing control and triggering the playing of the voice information;
the information playing module is further used for responding to the triggering operation of the getting control and triggering the getting of the virtual articles in the virtual article package.
In another aspect, there is provided a transmitting apparatus of a virtual good package including voice, the apparatus including:
the virtual article package sending page comprises an input box for inputting parameters of a virtual article, a recording control for recording voice information and an operation control for confirming generation of the virtual article package;
the page display module is further used for acquiring the virtual article parameters input in the input box;
the information acquisition module is used for responding to the triggering operation of the recording control, acquiring the recorded voice information, and displaying a display preview control for previewing and playing the voice information on the virtual article package sending page;
and the information sending module is used for responding to the triggering operation of the operation control and sending a virtual article package message, wherein the virtual article package message contains the virtual article parameters and the voice information.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the receiving method of the virtual good package containing speech or the sending method of the virtual good package containing speech according to the embodiment of the present application.
In another aspect, there is provided a method for receiving a virtual good package including a voice or a sending method of a virtual good package including a voice, where the method includes storing at least one instruction, at least one program, a set of codes, or a set of instructions in a storage medium, where the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the method for receiving a virtual good package including a voice or the sending method of a virtual good package including a voice according to the embodiments of the present application.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the virtual commodity package is sent, the user at the sending party can record the voice information as the associated information of the virtual commodity package and send the associated information to the receiving party, and the receiving party can play the voice information after receiving the virtual commodity package; compared with the blessing words in the form of characters, the voice information can transmit more information, for example, a receiving party user can intuitively and clearly know the psychological state of a sending party user according to the characteristics of the voice, tone and the like of the sending party user, and the amount of information transmitted when the virtual goods package is sent is enriched.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the invention;
FIG. 2 is an architecture diagram of a backend server provided by an embodiment of the present invention;
fig. 3 is a flowchart of a virtual good package sending method according to an embodiment of the present invention;
fig. 4A is a flowchart of a virtual good package sending method according to another embodiment of the present invention;
FIGS. 4B-4E are schematic views of interfaces involved in the embodiment of FIG. 4A;
fig. 5 is a flowchart of a virtual good package sending method according to another embodiment of the present invention;
fig. 6 is a flowchart of a virtual good package sending method according to another embodiment of the present invention;
fig. 7 is a flowchart of a virtual good package receiving method according to an embodiment of the present invention;
fig. 8 is a block diagram of a virtual item package delivery apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram of a virtual item package delivery apparatus according to another embodiment of the present invention;
fig. 10 is a block diagram of a virtual item package delivery apparatus according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the invention is shown. The implementation environment includes: a sending terminal 120, a backend server 140 and a receiving terminal 160.
The transmitting terminal 120 has a transmitting client running therein. The sending terminal 120 may be a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, a laptop computer, a desktop computer, and the like.
The background server 140 may be one server, a server cluster composed of several servers, or a cloud computing service center.
The receiving terminal 160 has a receiving client running therein. The receiving terminal 160 may also be a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4) player, a laptop computer, a desktop computer, or the like.
Background server 140 may establish a communication connection with sending terminal 120 and receiving terminal 160, respectively, over a network. The network may be a wireless network or a wired network.
In the embodiment of the present invention, the sender client and the receiver client may be any clients having a virtual package transceiving function. For example, the sender client may be a social-type application client, an instant messaging client, a payment-type application client, a game client, a reading client, a client dedicated to sending virtual item packages, and so on.
In practical applications, the sender client and the receiver client may be two clients with different functions, wherein the sender client has a function of sending the virtual commodity package, and the receiver client has a function of receiving the virtual commodity package. Alternatively, the sender client and the receiver client may be two clients having the same function, and the clients have a function of sending and receiving the virtual package. When the client is used for realizing the function of the client side of the sender in the method example of the invention, the client is used as the client of the sender; when the client is used to implement the function of the client side of the receiving party in the method example of the present invention, the client is the client of the receiving party. Correspondingly, the sending terminal and the receiving terminal are both terminal devices. When the client running in the terminal device is used for realizing the function of the client side of the sender in the method example of the invention, the terminal device is used as the sender terminal; when the client operating in the terminal device is used to implement the function of the client side of the receiving party in the method example of the present invention, the terminal device is used as the receiving terminal. In practical application, the same client can be used as a sender client and a receiver client. The same terminal may be used as a transmitting terminal or a receiving terminal.
In the embodiment of the present invention, the virtual package may also be referred to as a virtual red envelope or an electronic red envelope, and the virtual package is a virtual carrier for transferring resources (or referred to as virtual goods) in a gift form between at least two users. The at least two users have a friend relationship, or may not have a friend relationship, in the client and/or the real world. The resources involved in the virtual good package (or referred to as virtual goods) may be currency, gaming equipment, gaming materials, gaming pets, gaming chips, icons, members, titles, value-added services, points, gold bulls, gift certificates, redemption coupons, greeting cards, and the like. The embodiment of the invention does not limit the resource types.
In one example, as shown in fig. 2, when the backend server 140 is a cluster architecture, the backend server 140 may include: communication server 142, package server 144, voice server 146, and payment server 148.
The communication server 142 is used to provide communication services between the sender client and the receiver client. For example, the communication server 142 is used for providing a function of transmitting and receiving messages such as text, pictures, voice, video, and the like between the sender client and the receiver client.
The package server 144 is used to provide virtual package transceiving functions.
And a voice server 146 for providing a function of storing and processing the voice information.
The payment server 148 is used to provide resource transfer functionality. For example, the payment server 148 is used to provide functions of transferring resources from an account corresponding to the sender client to an account corresponding to the backend server 140, and transferring resources from an account corresponding to the backend server 140 to an account corresponding to the receiver client.
The servers can establish communication connection through a network. The network may be a wireless network or a wired network.
Referring to fig. 3, a flowchart of a virtual good package sending method according to an embodiment of the present invention is shown. The method may be applied to the implementation environment shown in fig. 1. The method may include the following steps.
Step 301, after acquiring a virtual commodity package generation instruction, a client of a sending party displays a virtual commodity package sending page.
Step 302, the client of the sender obtains the voice information and the parameters of the virtual commodity package input in the sending page of the virtual commodity package.
And step 303, the client of the sender correspondingly sends the voice information, the virtual commodity package parameters and the information of the receiver to the background server.
Correspondingly, the background server receives the voice information, the virtual goods package parameters and the receiver information which are correspondingly sent by the sender client.
Step 304, the background server generates a virtual item package identifier.
Step 305, the background server stores the corresponding relationship between the virtual commodity package identification, the voice information and the virtual commodity package parameter.
And step 306, the background server sends the virtual goods package message to at least one receiver client according to the receiver information.
The virtual commodity packet message carries a virtual commodity packet identifier.
Correspondingly, the receiving client receives the virtual goods package message sent by the background server.
Step 307, the receiving party client displays the virtual commodity package message, and the virtual commodity package message and/or the virtual commodity package pickup page triggered and displayed based on the virtual commodity package message includes a playing control.
And 308, after acquiring the trigger signal corresponding to the playing control, the receiver client plays the voice information acquired according to the virtual article package identifier.
In summary, in the method provided in this embodiment, when sending the virtual package, the user at the sending party can record the voice message as the associated information of the virtual package and send the associated information to the receiving party, and the receiving party can play the voice message after receiving the virtual package; compared with the blessing words in the form of characters, the voice information can transmit more information, for example, a receiving party user can intuitively and clearly know the psychological state of a sending party user according to the characteristics of the voice, tone and the like of the sending party user, and the amount of information transmitted when the virtual goods package is sent is enriched.
In addition, the sender user does not need to manually edit blessing words, and expresses moods, consolation or awards and other moods when the virtual goods package is sent by recording voice information, so that the operation is fully simplified, and the operation efficiency is improved.
In addition, in order to solve the problems that the operation of inputting the blessing words is cumbersome and inefficient because the user is required to manually edit the blessing words, it is a conventional practice to use default set blessing words. If the user does not manually input blessing words when sending the virtual goods package, the client of the sender uses the default blessing words carried in the virtual goods package to send to the corresponding client of the receiver. However, the default set blessing words sometimes do not accurately express the mood of the user. For example, the default set blessing words are "May you get good, good luck and great profit", which can express blessing only, but cannot express a mood such as comfort or a bonus. By the technical scheme provided by the embodiment of the invention, the operation can be simplified, and meanwhile, a user at a sending party can accurately express the mood when the virtual commodity packet is sent.
Referring to fig. 4A, a flowchart of a virtual good package sending method according to another embodiment of the present invention is shown. The method may be applied to the implementation environment shown in fig. 1. The method may include the following steps.
In step 401, after acquiring the virtual commodity package generation instruction, the client of the sending party displays a virtual commodity package sending page.
The virtual item package generation instruction is an operation signal for requesting generation of a virtual item package, which is triggered by the sender user. The client side of the sending party is provided with an operation control used for sending the virtual commodity package, and a user clicks the operation control to trigger the virtual commodity package generation indication. In one example, the sender client displays a session interface, which may be a single chat session interface or a group chat session interface; after a trigger signal corresponding to a menu control in a session interface is acquired, displaying a function menu, wherein the function menu comprises an operation control for sending a virtual item package; and after the trigger signal corresponding to the operation control is acquired, displaying a virtual commodity package sending page.
Optionally, if the client of the sending party provides the function of sending the virtual commodity package carrying the voice information and also provides the function of sending the virtual commodity package carrying the text information to the user, the client of the sending party displays the selection item of the type of the virtual commodity package after acquiring the trigger signal corresponding to the operation control for sending the virtual commodity package; and after the trigger signal corresponding to the selection item of the virtual commodity package carrying the voice information is acquired, displaying a virtual commodity package sending page used for sending the virtual commodity package carrying the voice information. In one example, the selection of the virtual good package type includes a selection corresponding to a virtual good package carrying textual information and a selection corresponding to a virtual good package carrying voice information.
The virtual goods package sending page comprises the following steps: the operation control is used for allowing a sender user to input parameters of the virtual commodity package, the operation control is used for allowing the sender user to record voice information, and the operation control is used for allowing the sender user to trigger sending of the virtual commodity package. Referring to fig. 4B in combination, an interface diagram involved in the virtual package sending process is illustrated, assuming that money is donated using a "red envelope" as a carrier. A sender user clicks a menu control 42 in a single chat session interface 41 to trigger and display a function menu 43, wherein the function menu 43 comprises an operation control 44 for sending a virtual commodity package; the sender user clicks the operation control 44 to trigger the display of the virtual commodity package type selection items, including a voice red package selection item 45 and a character red package selection item 46; clicking the voice red packet selection item 45 by the sender user triggers displaying a virtual package sending interface 47 for sending the voice red packet, wherein the virtual package sending interface 47 comprises an input box 48 for inputting the amount of money to be given by the sender user, a recording control 49 for recording voice information by the sender user and an operation control 50 for triggering sending of the virtual package by the sender user.
Step 402, the client of the sending party obtains the voice information and the parameters of the virtual goods package which are input in the sending page of the virtual goods package.
And after acquiring a trigger signal corresponding to a voice recording control in a virtual commodity package sending page, the client of the sending party collects voice information through a microphone. Referring to fig. 4B, when the user presses the recording control 49 to trigger recording of the voice message, the sender user starts to speak after viewing the displayed recording prompt box 51, and records the voice message that he wishes to express. Optionally, in the process of recording the voice information, the sender client cancels recording the voice information if acquiring the recording cancellation instruction. For example, the user performs a slide-up operation during recording of voice information to trigger cancellation of the recording instruction.
The virtual package parameters include several possible implementations as follows: when sending a virtual good package to a single recipient client, the virtual good package parameters include the number of virtual goods in the virtual good package; when sending virtual item packets to at least one recipient client belonging to the same group, the virtual item packet parameters include the number of virtual item packets and the total number of virtual items, the total number of virtual items being used for randomly generating the number of virtual items in each virtual item packet, or the virtual item packet parameters include the number of virtual item packets and the fixed number of virtual items in each virtual item packet.
In step 403, the client of the sending party displays a preview control in the virtual package sending page.
And after the client of the sending party acquires the voice information, displaying a preview control in the virtual commodity package sending page. The preview control is used for the sender user to preview and play the recorded voice information. Optionally, after the client of the sending party obtains the voice information, the recording control in the virtual package sending interface is switched to the preview control.
In step 404, after acquiring the trigger signal corresponding to the preview control, the sender client plays the voice message.
The sender user can listen to the recorded voice information by triggering the preview control so as to achieve the purpose of checking the voice information. When the sender user considers that the recorded voice information is not desirable, the voice information can be recorded again. Optionally, the virtual package sending interface further includes a re-recording control. And the sender client acquires the voice information again after acquiring the trigger signal corresponding to the re-recording control piece.
With combined reference to fig. 4B and 4C, after acquiring the voice information, the sender client switches the recording control 49 in the virtual package sending interface 47 to the preview control 52. The sender user clicking on the preview control 52 triggers the playing of the voice message. In the process of playing the voice information, the client of the sender can display the playing progress of the voice information. For example, as shown in fig. 4C, the sender client displays the progress of playing the voice message on the outer border of the preview control 52.
In step 405, the sender client generates a voice file containing voice information.
After acquiring the voice information, the client of the sending party generates a voice file containing the voice information.
Step 406, the sender client sends the voice file to the background server.
Correspondingly, the background server receives the voice file sent by the client side of the sender.
Step 407, the background server performs noise reduction processing on the voice information to obtain a processed voice file.
And the background server reads the voice information from the received voice file, and performs noise reduction processing on the voice information to obtain a processed voice file. In the embodiment of the present invention, the noise reduction algorithm used by the background server is not limited. In one example, the backend server performs a/D (Analog/Digital ) conversion on voice information (i.e., an audio signal), acquires a power spectrum of the audio signal, calculates a priori signal-to-noise ratio, a posteriori signal-to-noise ratio, and gains of each sub-band of the audio signal according to the power spectrum, performs suppression processing on a noise signal in the audio signal according to the calculation result, performs D/a conversion on the audio signal after the suppression processing, and stores the audio signal after the conversion.
In addition, the background server stores the processed voice file. The file identifier of the processed voice file can be the file identifier of the voice file received by the background server from the client of the sender; or a file identifier generated by the background server for the processed voice file.
And step 408, the background server sends the processed voice file to the sender client.
Correspondingly, the client of the sending party receives the processed voice file sent by the background server.
Optionally, after acquiring the trigger signal corresponding to the preview control, the sender client plays the processed voice information in the voice file.
In the present embodiment, the noise reduction processing is performed only on the speech information by the background server. In other embodiments, the noise reduction processing may also be performed on the voice information by the sender client.
Step 409, the client of the sender sends a virtual commodity package generation request to the background server.
The virtual goods package generation request is used for instructing the background server to generate the virtual goods package. The virtual commodity package generation request comprises a file identifier of the voice file, a virtual commodity package parameter and receiver information. The file identification is generated by the sending client or the background server. The file identification is used to uniquely identify the voice file. For example, the file identifier may be a file name of the voice file, or may be a unique serial number assigned to the voice file by the sender client or the background server. The recipient information is used to indicate a recipient user of the virtual good package. Illustratively, the recipient information may be an identification of the recipient client, or a group identification of a group to which the recipient client belongs, or a condition of the recipient client set by the sender user, for example, the condition may be the recipient client corresponding to the recipient user between 20 and 30 years old in Guangzhou city.
In one example, a sending control is included in the virtual commodity package sending page, and the sending control is triggered by the sending user to trigger the virtual commodity package sending instruction. After acquiring the virtual commodity package sending instruction, the sending party client triggers and executes a sending process described below, and sends a virtual commodity package message to at least one receiving party client. And the virtual commodity packet message generated based on the virtual commodity packet parameters carries voice information.
Optionally, if the client of the sending party receives the processed voice file from the background server, the virtual package generation request includes the file identifier of the processed voice file, the virtual package parameter, and the information of the receiving party. The file identifier of the processed voice file may be the same as the file identifier of the unprocessed voice file, or may be a file identifier newly generated by the background server for the processed voice file. And if the file identifier is newly generated for the processed voice file by the background server, the background server sends the processed voice file and the file identifier I of the processed voice file to the sender client side.
With reference to fig. 4B and 4D, the sender user clicks the operation control 50 to trigger the payment process, the sender client interacts with the background server to complete the payment process, the sender client transfers the amount of money to be donated from the account corresponding to the sender client to the account corresponding to the background server, and after the transfer is successful, the virtual parcel is successfully delivered. A single chat session interface 41 displayed by the sender client displays an outgoing virtual good package message 53.
Step 410, the background server generates a virtual item package identifier.
The background server generates a virtual commodity package identification corresponding to the virtual commodity package parameter.
It should be noted that, for one or more virtual item packages that need to be generated by the same virtual item package generation request, the background server generates a virtual item package identifier, and the virtual item package identifier is stored in correspondence with the virtual item package parameter included in the request.
Step 411, the background server stores the corresponding relationship between the virtual item packet identifier, the voice information and the virtual item packet parameter.
Step 412, the background server sends a virtual item packet message to at least one receiver client according to the receiver information, wherein the virtual item packet message carries a virtual item packet identifier.
Correspondingly, the receiving client receives the virtual goods package message sent by the background server.
And if the virtual commodity package is triggered to be sent in the single chat session interface, the receiver user of the virtual commodity package is the contact person in the single chat session interface. And the client of the sending party can carry the user account of the contact in the single chat session interface in the virtual goods package generation request sent to the background server. And the background server sends the virtual goods package message to a receiver client corresponding to the user account of the contact.
And if the virtual commodity package is triggered and sent in the group chat session interface, the receiver user of the virtual commodity package is the contact in the group corresponding to the group chat session interface. The virtual goods package generation request sent by the sender client to the background server can carry the group identification of the group corresponding to the group chat session interface. And the background server acquires the user accounts of all the contacts belonging to the group according to the group identification, and then sends the virtual commodity package message to the receiver client corresponding to the acquired user accounts of all the contacts.
Optionally, the virtual package message further carries an identifier of the sender client, so that the receiver user can know the sender user of the virtual package according to the identifier of the sender client.
In step 413, the recipient client displays the virtual good package message.
The receiver client displays the virtual commodity package message in a session interface with the sender client. In one example, a play control is included in the virtual good package message displayed by the recipient client. In another example, triggering the inclusion of a play control in a displayed virtual good package pickup page based on a virtual good package message displayed by the recipient client. In yet another example, the virtual good package message displayed by the receiving client and the virtual good package pick-up page triggered to be displayed based on the virtual good package message each include a play control. The playing control is used for triggering the receiving party user to play the voice information.
The virtual package message displayed by the receiver client is similar to the virtual package message displayed by the sender client, as shown in fig. 4D.
In step 414, after acquiring the trigger signal corresponding to the virtual commodity package message, the receiving client displays the virtual commodity package pickup page.
The virtual goods package pickup page comprises a playing control and a pickup control. And the receiving party user triggers to receive the virtual articles in the virtual article package.
As shown in fig. 4E, an interface diagram of a virtual good package pickup page 54 is illustrated. The virtual item package pickup page 54 includes a play control 55 and a pickup control 56. Clicking on the play control 55 by the recipient user may trigger the recipient client to play the voice message. Clicking on the pick-up control 56 by the recipient user may trigger the recipient client to retrieve the virtual items in the virtual item package.
In step 415, after acquiring the trigger signal corresponding to the play control, the receiver client plays the voice information acquired according to the virtual package identifier.
The user of the receiving party can click the playing control included in the virtual commodity package message or click the playing control included in the virtual commodity package pickup page to trigger the client of the receiving party to play the voice message.
In addition, the receiving client can obtain the voice information from the background server in the following way. In one example, a receiving client sends a voice acquisition request to a background server, wherein the voice acquisition request comprises a virtual item packet identifier; after receiving the voice acquisition request, the background server inquires and acquires voice information corresponding to the virtual article package identifier from the pre-stored corresponding relation, and sends a voice file containing the voice information acquired by the inquiry to the client of the receiving party. In another example, the virtual goods package message sent by the background server to the receiver client further includes a file identifier corresponding to the voice information. The receiving party client sends a voice acquisition request to the background server, wherein the voice acquisition request comprises the file identifier; and after receiving the voice acquisition request, the background server sends a voice file corresponding to the file identifier to the receiver client. Optionally, the voice file is a processed voice file obtained by performing noise reduction processing on the voice information.
In addition, the opportunity of the receiver client to acquire the voice information from the background server includes several possible implementation manners as follows:
in a first possible implementation manner, after acquiring the trigger signal corresponding to the play control, the receiver client acquires the voice information from the background server.
That is, after confirming that the receiver user needs to play the voice information, the receiver client requests to acquire the voice information from the background server, so that resource waste caused by the fact that the receiver user does not need to play the voice information but acquires the voice information in advance is avoided.
In a second possible implementation manner, after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual articles in the virtual article package, the receiver client acquires the voice information from the background server.
Wherein the condition for picking up the virtual goods in the virtual goods package includes but is not limited to at least one of the following: the user account logged in the receiver client is a contact in the single chat session interface, the user account logged in the receiver client belongs to a contact in a group corresponding to the group chat session interface, and an unreceived virtual article package and a virtual article package are not expired. Through the method, the authority of the receiving user is verified, and only the receiving user who has the authority to take the virtual articles in the virtual article package is allowed to check the voice information recorded by the sending user, so that the privacy of the voice information is improved.
In a third possible implementation manner, after the receiving-side client successfully acquires the virtual item in the virtual item package, the receiving-side client acquires the voice information from the background server.
In this embodiment, the receiving user has the right to acquire and view the corresponding voice information after successfully getting the virtual items in the virtual item package.
And step 416, after acquiring the trigger signal corresponding to the pick-up control, the receiver client acquires the virtual item from the background server according to the virtual item packet identifier.
And after acquiring the trigger signal corresponding to the pickup control, the receiver client sends a virtual article pickup request to the background server, wherein the virtual article pickup request carries the virtual article packet identifier. And after receiving the virtual article pick-up request, the background server inquires and acquires the virtual article packet parameters corresponding to the virtual article packet identification from the pre-stored corresponding relation and sends the virtual article to the client of the receiving party according to the virtual article packet parameters.
And if the virtual item package parameters comprise the number of the virtual items in the virtual item package, the background server transfers the number of the virtual items from the account corresponding to the background server to the account corresponding to the receiver client. If the virtual article package parameters include the number of the virtual article packages and the total number of the virtual articles, the background server randomly generates the number of the virtual articles in the virtual article packages acquired by the receiving party client according to the number of the virtual article packages and the total number of the virtual articles, and transfers the virtual articles of the number from the account corresponding to the background server to the account corresponding to the receiving party client. And if the virtual item package parameters comprise the number of the virtual item packages and the fixed number of the virtual items in each virtual item package, the background server transfers the fixed number of the virtual items from the account corresponding to the background server to the account corresponding to the receiver client.
In this embodiment, only the user clicks the pick-up control to trigger the pick-up of the virtual item in the virtual item package is taken as an example. In other embodiments, the recipient client may also automatically retrieve the virtual items in the virtual item package. In one example, after the voice message is played, the receiving client acquires the virtual item from the background server according to the virtual item packet identifier.
In step 417, the recipient client displays the pickup result page.
And after the receiving party client acquires the virtual article, displaying a pickup result page. The number of retrieved virtual items may be included in the retrieval result page. Optionally, the pickup result page further includes a message leaving control, and the message leaving control is used for a receiving party user to input message leaving information.
As shown in fig. 4E, after the receiving-side user successfully picks up the virtual item, the receiving-side client displays a pickup result page 57, and the pickup result page 57 includes a message control 58.
In step 418, the receiver client obtains the message information input in the pickup result page.
And the receiver user clicks the message control to trigger the message information input. The message leaving information is any one of characters, voice or video. For example, the recipient user may record a voice or video to convey a thank you to the sender user.
Step 419, the receiver client sends the message to the background server.
Correspondingly, the background server receives the message information sent by the client of the receiving party.
Step 420, the background server sends the message to the sender client.
Correspondingly, the sender client receives the message information sent by the background server.
In step 421, the sender client displays the message.
In summary, in the method provided in this embodiment, when sending the virtual package, the user at the sending party can record the voice message as the associated information of the virtual package and send the associated information to the receiving party, and the receiving party can play the voice message after receiving the virtual package; compared with the blessing words in the form of characters, the voice information can transmit more information, for example, a receiving party user can intuitively and clearly know the psychological state of a sending party user according to the characteristics of the voice, tone and the like of the sending party user, and the amount of information transmitted when the virtual goods package is sent is enriched.
In addition, the client of the sending party does not directly carry the voice information in the virtual article package generation request to the background server and sends the voice information and the virtual article package generation request to the background server separately, so that two different servers can be used for realizing the function of storing the voice information and the function of sending and receiving the virtual article package respectively, and the processing and storage pressure of the server for realizing the function of sending and receiving the virtual article package is reduced.
In addition, noise reduction processing is carried out on the voice information, so that the interference of noise signals in the voice information on the listening of users is reduced, and the voice information with better quality can be recorded even if a user at a sender is in a noisy environment such as a road, a market, a restaurant and the like.
In addition, the preview control is displayed in the virtual commodity package sending page, so that a sender user can preview and play the recorded voice information before sending the virtual commodity package, and the follow-up voice information is ensured to meet the user expectation.
In the above method embodiment, the step related to the sender client side may be implemented as a virtual package transmitting method on the sender client side alone, the step related to the backend server side may be implemented as a virtual package transmitting method on the backend server side alone, and the step related to the receiver client side may be implemented as a virtual package receiving method on the receiver client side alone.
In one example, when the backend server is a cluster architecture shown in fig. 2, the virtual article package sending method may include the following steps:
step 501, after acquiring a virtual commodity package generation instruction, a client of a sending party displays a virtual commodity package sending page.
Step 502, the sender client obtains the voice information and the virtual package parameters input in the virtual package sending page.
In step 503, the sender client generates a voice file containing the voice information.
Step 504, the sender client sends the voice file to the voice server.
Accordingly, the voice server receives the voice file sent by the client of the sending party.
And 505, the voice server performs noise reduction processing on the voice information to obtain a processed voice file.
Step 506, the voice server saves the processed voice file.
Step 507, the voice server sends the processed voice file to the sender client.
Correspondingly, the client of the sending party receives the processed voice file sent by the voice server.
Step 508, the sender client sends a virtual package generation request to the package server.
The virtual commodity package generation request comprises the file identification of the processed voice file, the virtual commodity package parameter and the receiver information.
Accordingly, the commodity package server receives the virtual commodity package generation request sent by the client side of the sending party.
In step 509, the package server generates a virtual package identifier.
Step 510, the commodity package server stores the corresponding relationship between the virtual commodity package identifier, the voice message and the virtual commodity package parameter.
In step 511, the commodity package server generates a virtual commodity package message.
The virtual commodity packet message carries a virtual commodity packet identifier. Optionally, the virtual package message further carries an identifier of the sender client and/or a file identifier of the voice file.
Step 512, the commodity package server sends the virtual commodity package message to the communication server.
Correspondingly, the communication server receives the virtual commodity package message sent by the commodity package server.
Step 513, the communication server sends the virtual goods package message to at least one receiver client according to the receiver information.
Correspondingly, the receiving client receives the virtual goods package message sent by the communication server.
At step 514, the recipient client displays the virtual good package message.
In step 515, after the receiving-side client acquires the trigger signal corresponding to the virtual commodity package message, the receiving-side client displays a virtual commodity package pickup page.
In step 516, the receiver client sends a voice obtaining request carrying the file identifier to the voice server.
Correspondingly, the voice server receives the voice acquisition request sent by the receiver client.
Step 517, the voice server obtains the voice file corresponding to the file identifier.
Step 518, the voice server sends the voice file to the recipient client.
Accordingly, the receiving client receives the voice file sent by the voice server.
In step 519, after the receiver client acquires the trigger signal corresponding to the play control, the voice information in the voice file is played.
Step 520, after acquiring the trigger signal corresponding to the pickup control, the receiver client sends a virtual item pickup request to the item package server, where the virtual item pickup request carries a virtual item package identifier.
Correspondingly, the goods package server receives a goods package pick-up request sent by the receiving party client.
Step 521, the commodity package server queries and acquires the virtual commodity package parameter corresponding to the virtual commodity package identifier from the pre-stored corresponding relationship.
At step 522, the parcel server sends the virtual item to the recipient client according to the virtual parcel parameter.
Referring to fig. 6, a flowchart of a virtual good package sending method according to another embodiment of the present invention is shown. The method can be applied to the client of the sending party. The method may include several steps as follows.
Step 601, obtaining a virtual item package generation instruction.
Step 602, under the trigger of the virtual commodity package generation instruction, displaying a virtual commodity package sending page.
Step 603, acquiring the voice information and the virtual commodity package parameters input in the virtual commodity package sending page.
Optionally, after acquiring the voice information, the sender client generates a voice file containing the voice information, and sends the voice file to the background server. The background server is used for carrying out noise reduction processing on the voice information to obtain a processed voice file, and sending the processed voice file to the sender client. Accordingly, the sender client receives the processed voice file.
Optionally, after acquiring the voice information, the client of the sending party displays a preview control in the virtual package sending page. And after acquiring the trigger signal corresponding to the preview control, the client of the sender plays the voice information.
Step 604, obtain a virtual package sending instruction.
Step 605, sending the virtual commodity package message to at least one receiving client under the triggering of the virtual commodity package sending instruction. And the virtual commodity packet message generated based on the virtual commodity packet parameters carries voice information.
For details, reference may be made to the method embodiment shown in fig. 4A.
Referring to fig. 7, a flowchart of a virtual good package receiving method according to an embodiment of the present invention is shown. The method can be applied to a receiver client. The method may include several steps as follows.
Step 701, receiving a virtual goods package message.
Step 702, displaying a virtual item package message, wherein the virtual item package message and/or a virtual item package pickup page triggered and displayed based on the virtual item package message comprise a playing control.
Optionally, after the receiving-side client acquires the trigger signal corresponding to the virtual commodity package message, the virtual commodity package pickup page is displayed.
Step 703, acquiring a trigger signal corresponding to the play control.
Step 704, under the trigger of the trigger signal, playing the voice information carried in the virtual article packet message.
Optionally, the virtual package pickup page further includes a pickup control, and the receiving-side client acquires the virtual package from the background server according to the virtual package identifier after acquiring the trigger signal corresponding to the pickup control.
Optionally, the receiving client displays the pickup result page, obtains the message information input in the pickup result page, and then sends the message information to the sending client. Correspondingly, after receiving the message information sent by the receiver client, the sender client displays the message information.
For details, reference may be made to the method embodiment shown in fig. 4A.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 8, a block diagram of a virtual good package sending apparatus according to an embodiment of the present invention is shown. The device has the function of implementing the sender client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a page display module 821, an information acquisition module 822, and an information transmission module 823.
And a page display module 821 for executing the steps 301 and 401.
An information obtaining module 822, configured to perform step 302 and step 402.
An information sending module 823 is configured to execute the step 303.
Optionally, the information sending module 823 includes: the device comprises a file generating unit, a file sending unit and a request sending unit.
A file generating unit, configured to execute step 405.
A file sending unit, configured to execute step 406.
A request sending unit, configured to execute the step 409.
Optionally, the information sending module 823 further includes: and the file receiving unit is used for receiving the processed voice file sent by the background server.
Optionally, the apparatus further comprises: the control display module and the information playing module.
And a control display module, configured to perform step 403.
And an information playing module, configured to execute the step 404.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
Referring to fig. 9, a block diagram of a virtual good package sending apparatus according to another embodiment of the invention is shown. The device has the function of realizing the background server side in the method example, and the function can be realized by hardware or by hardware executing corresponding software. The apparatus may include: the system comprises an information receiving module 921, an identification generating module 922, a relation storing module 923 and a message sending module 924.
And the information receiving module 921 is configured to receive the voice information and the virtual package parameters correspondingly sent by the sender client.
And an identifier generating module 922, configured to perform step 304 and step 410.
A relation storing module 923, configured to perform step 305 and step 411.
A message sending module 924, configured to perform the above step 306 and step 412.
Optionally, the information receiving module 921 includes: a file receiving unit and a request receiving unit.
And the file receiving unit is used for receiving the voice file containing the voice information sent by the sender client.
And the request receiving unit is used for receiving the virtual commodity package generation request sent by the client side of the sending party.
Optionally, the information receiving module 641 further includes: an information processing unit and a file transmitting unit.
An information processing unit, configured to execute step 407.
A file sending unit, configured to execute step 409.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
Referring to fig. 10, a block diagram of a virtual good package sending apparatus according to another embodiment of the invention is shown. The device has the function of implementing the receiver client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a message receiving module 1021, a message display module 1022, and an information playing module 1023.
A message receiving module 1021, configured to receive the virtual package message sent by the background server.
A message display module 1022, configured to execute the above step 307 and step 413.
And an information playing module 1023, configured to perform step 308 and step 416.
Optionally, the apparatus further comprises: the device comprises a first information acquisition module, a second information acquisition module and a third information acquisition module.
And the first information acquisition module is used for acquiring the voice information from the background server after acquiring the trigger signal corresponding to the play control.
And the second information acquisition module is used for acquiring the voice information from the background server after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual articles in the virtual article package.
And the third information acquisition module is used for acquiring the voice information from the background server after the virtual articles in the virtual article package are successfully acquired.
Optionally, the apparatus further comprises: a first item acquisition module and a second item acquisition module.
The first article acquisition module is used for displaying a virtual article package pickup page after acquiring a trigger signal corresponding to the virtual article package message, wherein the virtual article package pickup page comprises a playing control and a pickup control; and after the trigger signal corresponding to the picking control is obtained, the virtual article is obtained from the background server according to the virtual article package identifier.
And the second article acquisition module is used for acquiring the virtual article from the background server according to the virtual article package identifier after the voice information is played.
Optionally, the apparatus further comprises: the device comprises a page display module, a message acquisition module and a message sending module.
And a page display module, configured to perform step 417.
And a message obtaining module, configured to execute step 418.
And a message sending module for executing the step 419.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
An exemplary embodiment of the present invention also provides a virtual good package transmitting apparatus. The device has the function of implementing the sender client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: the device comprises a generation indication acquisition module, a page display module, an information acquisition module, a sending indication acquisition module and a message sending module.
And a generation instruction obtaining module, configured to execute the step 601.
And a page display module, configured to perform step 602.
An information obtaining module, configured to perform step 603.
A sending instruction obtaining module, configured to execute step 604.
A message sending module, configured to execute step 605.
Reference may be made to the method embodiment shown in fig. 6 for details.
An exemplary embodiment of the present invention also provides a virtual good package transmitting apparatus. The device has the function of implementing the receiver client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: the device comprises a message receiving module, a message display module, a signal acquisition module and a voice playing module.
A message receiving module, configured to execute step 701.
And a message display module, configured to perform step 702.
A signal obtaining module, configured to perform step 703.
And a voice playing module, configured to execute the step 704.
Reference may be made in detail to the method embodiment illustrated in fig. 7.
An exemplary embodiment of the present invention also provides a virtual good package transmitting system, including: the system comprises a sender client, a background server and a receiver client.
The sender client is used for displaying a virtual commodity package sending page after acquiring the virtual commodity package generation instruction; acquiring voice information and virtual commodity package parameters input in a virtual commodity package sending page; and correspondingly sending the voice information, the virtual goods package parameters and the receiver information to a background server.
The background server is used for generating a virtual article package identifier; storing the corresponding relation among the virtual article packet identification, the voice information and the virtual article packet parameter; and sending a virtual commodity package message to at least one receiver client according to the receiver information, wherein the virtual commodity package message carries a virtual commodity package identifier.
The receiving party client is used for displaying the virtual commodity package message, and the virtual commodity package message and/or the virtual commodity package pickup page triggered and displayed based on the virtual commodity package message comprise a playing control; and after the trigger signal corresponding to the playing control is acquired, playing the voice information acquired according to the virtual article package identifier.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 11, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown. The terminal is configured to implement the virtual package sending method on the sending side client side provided in the foregoing embodiment, or to implement the virtual package receiving method on the receiving side client side provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal 1100 can include RF (Radio Frequency) circuitry 1110, memory 1120 including one or more computer-readable storage media, an input unit 1130, a display unit 1140, sensors 1150, audio circuitry 1160, a WiFi (wireless fidelity) module 1170, a processor 1180 including one or more processing cores, and a power supply 990, among other components. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 1180; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 1110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 1100, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1120 may also include a memory controller to provide the processor 1180 and the input unit 1130 access to the memory 1120.
The input unit 1130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input unit 1130 may include an image input device 1131 and other input devices 1132. The image input device 1131 may be a camera or a photoelectric scanning device. The input unit 1130 may include other input devices 1132 in addition to the image input device 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal 1100, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
The terminal 1100 can also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1141 and/or the backlight when the terminal 1100 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 1100, detailed descriptions thereof are omitted.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and terminal 1100. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electric signal, receives it by the audio circuit 1160, converts it into audio data, processes it by the audio data output processor 1180, and transmits it to, for example, another terminal via the RF circuit 1111, or outputs it to the memory 1120 for further processing. Audio circuitry 1160 may also include an earbud jack to provide peripheral headset communication with terminal 1100.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 1100 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 70, and it provides a wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the terminal 1100, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the terminal 1100, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1100 and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing cores; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The terminal 1100 also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 1180 via a power management system, for managing charging, discharging, and power consumption via the power management system. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal 1100 may further include a bluetooth module or the like, which is not described in detail herein.
In this embodiment, the terminal 1100 further comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the method on the sender client side or the receiver client side.
Referring to fig. 12, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server is used for implementing the virtual package sending method on the background server side provided in the above embodiment. Specifically, the method comprises the following steps:
the server 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The server 1200 also includes a basic input/output system (I/O system) 1206 to facilitate transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1208 and input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the server 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
The server 1200 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the present invention. That is, the server 1200 may be connected to the network 1212 through a network interface unit 1211 coupled to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the method of the backend server side.
In an exemplary embodiment, a non-transitory computer readable storage medium is further provided, for example, a memory including instructions executable by a processor of a terminal to perform the steps of the sender client side or the receiver client side in the above method embodiments, or executed by a processor of a server to perform the steps of the background server side in the above method embodiments. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

1. A method for receiving a virtual package containing speech, the method comprising:
displaying a virtual commodity package message containing voice information in a conversation interface, wherein prompt information containing the voice information in the virtual commodity package message is displayed on the virtual commodity package message;
acquiring a trigger signal corresponding to the virtual commodity package message, and displaying a virtual commodity package pickup page, wherein the virtual commodity package pickup page comprises a playing control and a pickup control;
responding to the triggering operation of the playing control, and triggering to play the voice information;
and triggering to pick up the virtual articles in the virtual article package in response to the triggering operation of the picking-up control.
2. The method of claim 1, wherein the cue information comprises the play control;
the method further comprises the following steps:
displaying the playing control in a superposed manner at a preset position on the virtual commodity package message;
or the like, or, alternatively,
and when the virtual commodity package message is displayed, displaying the play control at a specified position in the conversation interface.
3. The method of claim 1, further comprising:
responding to the triggering operation of the getting control, and displaying a getting result page, wherein the getting result page comprises the playing control;
and responding to the triggering operation of the playing control, and triggering to play the voice information.
4. The method of claim 3, wherein the pickup results page further comprises a message control;
responding to the click operation of the message control, and acquiring input message information, wherein the message information comprises any one of characters, voice or video;
and sending the message information to a sender of the virtual commodity packet message.
5. The method according to any one of claims 1 to 4, wherein the virtual item packet message containing the voice carries a virtual item packet identifier;
the triggering and playing the voice information in response to the triggering operation of the playing control comprises:
responding to the triggering operation of the playing control, and acquiring the voice information from a background server according to the virtual article package identifier; playing the voice information;
or the like, or, alternatively,
after verifying that the user account logged in to the client of the receiver meets the condition of receiving the virtual article, acquiring the voice information from the background server according to the virtual article package identifier; and responding to the triggering operation of the playing control, and playing the voice information.
6. The method of any of claims 1 to 4, further comprising:
and displaying the playing control in the virtual goods package pickup page in response to the receiving permission of the receiving party for receiving the voice information.
7. The method according to any one of claims 1 to 4, wherein the triggering the playing of the voice message in response to the triggering operation of the playing control comprises:
and responding to the triggering operation of the playing control, and triggering the playing of the voice information when the receiving party has the receiving authority of receiving the voice information.
8. The method of any of claims 1 to 4, further comprising:
and displaying the getting control in the virtual goods package getting page in response to the fact that the receiving party has the getting permission for getting the virtual goods.
9. The method according to any one of claims 1 to 4, wherein triggering the pick-up of the virtual item in the virtual item package in response to the triggering operation of the pick-up control comprises:
and in response to the triggering operation of the picking control, and the receiving party has picking permission for picking the virtual article, triggering to pick the virtual article in the virtual article package.
10. A method for transmitting a virtual package containing speech, the method comprising:
displaying a virtual article package sending page, wherein the virtual article package sending page comprises an input box for inputting parameters of a virtual article, a recording control for recording voice information and an operation control for confirming generation of the virtual article package;
acquiring the virtual article parameters input in the input box;
responding to the triggering operation of the recording control, acquiring recorded voice information, and displaying a display preview control for previewing and playing the voice information on a virtual article package sending page;
and sending a virtual article package message in response to the triggering operation of the operation control, wherein the virtual article package message contains the virtual article parameters and the voice information.
11. The method of claim 10, further comprising:
and responding to the triggering operation of the recording control, and displaying the real-time recording duration of the voice information in the virtual article package sending page.
12. The method of claim 10, wherein sending a virtual package of items message in response to the triggering operation of the operation control comprises:
responding to the triggering operation of the operation control, and displaying exchange confirmation prompt information of the virtual article, wherein the exchange confirmation prompt information is used for prompting the virtual article contained in the virtual article package to a user;
and when an instruction for triggering the exchange confirmation prompt message is received, sending the virtual goods packet containing the voice.
13. A receiving device for a virtual package containing speech, the device comprising:
the message display module is used for displaying a virtual commodity package message containing voice information in a conversation interface, wherein prompt information containing the voice information in the virtual commodity package message is displayed on the virtual commodity package message;
the message display module is further used for acquiring a trigger signal corresponding to the virtual article package message and displaying a virtual article package pickup page, wherein the virtual article package pickup page comprises a playing control and a pickup control;
the information playing module is used for responding to the triggering operation of the playing control and triggering the playing of the voice information;
the information playing module is further used for responding to the triggering operation of the getting control and triggering the getting of the virtual articles in the virtual article package.
14. A transmission apparatus of a virtual package containing voice, the apparatus comprising:
the virtual article package sending page comprises an input box for inputting parameters of a virtual article, a recording control for recording voice information and an operation control for confirming generation of the virtual article package;
the page display module is further used for acquiring the virtual article parameters input in the input box;
the information acquisition module is used for responding to the triggering operation of the recording control, acquiring the recorded voice information, and displaying a display preview control for previewing and playing the voice information on the virtual article package sending page;
and the information sending module is used for responding to the triggering operation of the operation control and sending a virtual article package message, wherein the virtual article package message contains the virtual article parameters and the voice information.
15. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of receiving a virtual good package containing speech according to any one of claims 1 to 9, or the method of transmitting a virtual good package containing speech according to any one of claims 10 to 12.
16. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the method for receiving a virtual good package containing speech according to any one of claims 1 to 9, or the method for sending a virtual good package containing speech according to any one of claims 10 to 12.
CN202010485773.9A 2016-10-27 2016-10-27 Method, apparatus and medium for receiving and transmitting virtual package including voice Pending CN111698145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010485773.9A CN111698145A (en) 2016-10-27 2016-10-27 Method, apparatus and medium for receiving and transmitting virtual package including voice

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610955516.0A CN108011905A (en) 2016-10-27 2016-10-27 Virtual objects packet transmission method, method of reseptance, apparatus and system
CN202010485773.9A CN111698145A (en) 2016-10-27 2016-10-27 Method, apparatus and medium for receiving and transmitting virtual package including voice

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610955516.0A Division CN108011905A (en) 2016-08-04 2016-10-27 Virtual objects packet transmission method, method of reseptance, apparatus and system

Publications (1)

Publication Number Publication Date
CN111698145A true CN111698145A (en) 2020-09-22

Family

ID=62048244

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610955516.0A Pending CN108011905A (en) 2016-08-04 2016-10-27 Virtual objects packet transmission method, method of reseptance, apparatus and system
CN202010485773.9A Pending CN111698145A (en) 2016-10-27 2016-10-27 Method, apparatus and medium for receiving and transmitting virtual package including voice

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610955516.0A Pending CN108011905A (en) 2016-08-04 2016-10-27 Virtual objects packet transmission method, method of reseptance, apparatus and system

Country Status (1)

Country Link
CN (2) CN108011905A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010308A (en) * 2021-02-26 2021-06-22 腾讯科技(深圳)有限公司 Resource transfer method, device, electronic equipment and computer readable storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002160A (en) * 2018-05-30 2018-12-14 链家网(北京)科技有限公司 A kind of voice says room control exposure method and device
US11227440B2 (en) 2018-05-30 2022-01-18 Ke.com (Beijing)Technology Co., Ltd. Systems and methods for providing an audio-guided virtual reality tour
CN110152307B (en) * 2018-07-17 2022-05-06 腾讯科技(深圳)有限公司 Virtual article issuing method, device and storage medium
CN109246228B (en) * 2018-09-27 2021-07-23 广州酷狗计算机科技有限公司 Resource acquisition method, resource allocation method, device, equipment and storage medium
CN112016941B (en) * 2019-05-29 2023-08-18 腾讯科技(深圳)有限公司 Virtual article pickup method, device, terminal and storage medium
CN112396410B (en) * 2019-08-16 2024-03-26 腾讯科技(深圳)有限公司 Virtual article sharing method and device and storage medium
CN111050222B (en) * 2019-12-05 2022-11-01 腾讯科技(深圳)有限公司 Virtual article issuing method, device and storage medium
CN111294606B (en) * 2020-01-19 2023-09-26 腾讯科技(深圳)有限公司 Live broadcast processing method and device, live broadcast client and medium
CN113589977A (en) * 2020-04-30 2021-11-02 腾讯科技(深圳)有限公司 Message display method and device, electronic equipment and storage medium
CN111652601B (en) * 2020-05-07 2023-11-10 腾讯科技(深圳)有限公司 Virtual article issuing and receiving method and device
CN111582862B (en) * 2020-06-26 2023-06-27 腾讯科技(深圳)有限公司 Information processing method, device, system, computer equipment and storage medium
CN111882309B (en) * 2020-08-07 2023-08-22 腾讯科技(深圳)有限公司 Message processing method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554027A (en) * 2016-01-21 2016-05-04 腾讯科技(深圳)有限公司 Resource sharing method and device
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN105976222A (en) * 2016-04-27 2016-09-28 腾讯科技(深圳)有限公司 Information recommendation method, terminal and server
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9166987B2 (en) * 2013-04-25 2015-10-20 Tencent Technology (Shenzhen) Company Limited Preventing identity fraud for instant messaging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554027A (en) * 2016-01-21 2016-05-04 腾讯科技(深圳)有限公司 Resource sharing method and device
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN105976222A (en) * 2016-04-27 2016-09-28 腾讯科技(深圳)有限公司 Information recommendation method, terminal and server
CN106056369A (en) * 2016-06-02 2016-10-26 财付通支付科技有限公司 Information processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010308A (en) * 2021-02-26 2021-06-22 腾讯科技(深圳)有限公司 Resource transfer method, device, electronic equipment and computer readable storage medium
CN113010308B (en) * 2021-02-26 2023-04-25 腾讯科技(深圳)有限公司 Resource transfer method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108011905A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN106789562B (en) Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
CN111698145A (en) Method, apparatus and medium for receiving and transmitting virtual package including voice
CN105809481B (en) Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
US10580092B2 (en) Resource transfer system and method
US10701451B2 (en) Program interaction system, method, client, and backend server
CN104918124B (en) Living broadcast interactive system, method for sending information, message receiving method and device
CN107172477B (en) Voting method and device
CN105049423B (en) Rights Management System, device and method
CN105337843B (en) Interactive system, method, client and background server
CN106973330B (en) Screen live broadcasting method, device and system
CN110152307B (en) Virtual article issuing method, device and storage medium
CN106375774B (en) Method, device and system for controlling display content of live broadcast room
WO2016184295A1 (en) Instant messenger method, user equipment and system
CN105471704B (en) A kind of method, apparatus and system for realizing more people's calls
CN105847114B (en) Dynamic information display system, method and device
WO2018205786A1 (en) Method, apparatus and device for sharing screen-recording video
CN109905318A (en) Apparatus control method, device and storage medium
CN108206742B (en) Message sending method, device, server and system
CN104168175A (en) Message group sensing method and terminal in instant messaging
CN103745133A (en) Information processing method and terminal
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
US9965733B2 (en) Method, apparatus, and communication system for updating user data based on a completion status of a combination of business task and conversation task
CN103179026A (en) Communication method and system in user interactive system, server and client
CN107277031A (en) A kind of Internet video method for down loading, device, storage medium and terminal
CN108521365B (en) Method for adding friends and mobile terminal

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: 40028549

Country of ref document: HK