CN107481006B - Resource transfer method, server and terminal - Google Patents

Resource transfer method, server and terminal Download PDF

Info

Publication number
CN107481006B
CN107481006B CN201710734395.1A CN201710734395A CN107481006B CN 107481006 B CN107481006 B CN 107481006B CN 201710734395 A CN201710734395 A CN 201710734395A CN 107481006 B CN107481006 B CN 107481006B
Authority
CN
China
Prior art keywords
resource
information
terminal
target
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710734395.1A
Other languages
Chinese (zh)
Other versions
CN107481006A (en
Inventor
周悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710734395.1A priority Critical patent/CN107481006B/en
Publication of CN107481006A publication Critical patent/CN107481006A/en
Application granted granted Critical
Publication of CN107481006B publication Critical patent/CN107481006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention provides a resource transfer method, a server and a terminal, wherein the method comprises the following steps: receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1; determining target reference information, wherein the target reference information comprises target reference audio or target reference text; sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information; receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads an audio video; selecting a target audio meeting a preset condition from the N audios; and sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio. The invention can improve the effect of resource transfer.

Description

Resource transfer method, server and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a resource transfer method, a server, and a terminal.
Background
With the development of the internet and the continuous development of terminals, at present, various resource transfer operations can be completed on the terminals, for example, fund transfer is realized through fund transaction operations such as payment and transfer, or multimedia files are transferred through sharing operations, and certainly, the terminals can also complete virtual articles such as virtual character images, game virtual equipment, fund value packaging objects (such as virtual red packets) or electronic cash vouchers through other resource transfer operations. Taking the resource corresponding to the value of the fund as an example, the user can transfer the resource corresponding to the value of the fund from one account to another account, the account transferring the value of the fund loses the resource corresponding to the value of the fund, and the account receiving the value of the fund owns the resource corresponding to the value of the fund.
When a transfer operation is performed on a resource, the resource provider may transfer the resource to a certain set of users. However, in the existing method, for a resource provided by a resource provider, after receiving a resource acquisition request, a server directly transfers the resource to a resource receiver that sends the resource acquisition request at random, which may cause the resource provided by the resource provider to be transferred to some undesired resource receivers, and the effect of resource transfer is poor.
Disclosure of Invention
The embodiment of the invention provides a resource transfer method, a server and a terminal, which aim to solve the problem that in the prior art, resources provided by a resource provider are transferred to an unexpected resource receiver, so that the resource transfer effect is poor.
In a first aspect, an embodiment of the present invention provides a resource transfer method, where the method is used for a server, and the method includes:
receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1;
determining target reference information, wherein the target reference information comprises target reference audio or target reference text;
sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information;
receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads an audio video;
selecting a target audio meeting a preset condition from the N audios;
and sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio.
In a second aspect, an embodiment of the present invention further provides a resource transfer method, used for a terminal, where the method includes:
determining resource information, wherein the resource information comprises a resource numerical value corresponding to a resource to be transferred;
sending the resource information to a server;
receiving a resource transfer message sent by the server, wherein the resource transfer message comprises target reference information;
reading the resource transfer message;
recording audio according to the target reference information;
sending the audio to the server.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
the first receiving module is used for receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1;
the determining module is used for determining target reference information, and the target reference information comprises target reference audio or target reference text;
a first sending module, configured to send a resource transfer message to the N terminals, where the resource transfer message includes the target reference information;
the second receiving module is used for receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio video;
the selection module is used for selecting a target audio meeting a preset condition from the N audios;
and the second sending module is used for sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to the target terminal uploading the target audio.
In a fourth aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
the determining module is used for determining resource information, and the resource information comprises a resource numerical value corresponding to a resource to be transferred;
the first sending module is used for sending the resource information to a server;
a first receiving module, configured to receive a resource transfer message sent by the server, where the resource transfer message includes target reference information;
a reading module, configured to read the resource transfer message;
the recording module is used for recording audio according to the target reference information;
and the second sending module is used for sending the audio to the server.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the server implements the steps in the method provided in the first aspect.
In a sixth aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps in the method provided in the second aspect are implemented.
In a seventh aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps in the method provided in the first aspect, or the computer program, when executed by the processor, implements the steps in the method provided in the second aspect.
In an eighth aspect, an embodiment of the present invention further provides a resource transfer system, where the resource transfer system includes the server and the terminal provided by the embodiments of the present invention.
In the embodiment of the invention, N resource information sent by N terminals is received, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1; determining target reference information, wherein the target reference information comprises target reference audio or target reference text; sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information; receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads an audio video; selecting a target audio meeting a preset condition from the N audios; and sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio. The invention can avoid the server transferring the resource to be transferred to the unexpected receiving terminal, thereby improving the effect of resource transfer.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention 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 that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a system architecture diagram applicable to a resource transfer method provided by an embodiment of the present invention;
FIG. 2 is a flowchart of a resource transfer method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another resource transfer method provided by the embodiment of the invention;
FIG. 4 is a block diagram of a server provided by an embodiment of the present invention;
FIG. 5 is a block diagram of another server provided by an embodiment of the invention;
FIG. 6 is a block diagram of another server provided by embodiments of the present invention;
FIG. 7 is a block diagram of another server provided by an embodiment of the invention;
FIG. 8 is a block diagram of another server provided by an embodiment of the present invention;
fig. 9 is a structural diagram of a terminal according to an embodiment of the present invention;
fig. 10 is a block diagram of another terminal provided in an embodiment of the present invention;
fig. 11 is a block diagram of another terminal provided in an embodiment of the present invention;
FIG. 12 is a block diagram of another server provided by an embodiment of the invention;
fig. 13 is a block diagram of another terminal provided in an embodiment of the present invention;
fig. 14 is a structural diagram of a resource transfer system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a system architecture diagram applicable to the resource transfer method according to the embodiment of the present invention, as shown in fig. 1, including: a terminal 101 and a server 102, wherein the terminal 101 can be connected to the server 102 via a network.
In this embodiment of the present invention, the terminal 101 may be a user terminal corresponding to an account providing resources to be transferred, for example: the user terminal corresponding to the account sending the virtual red envelope may also be a user terminal corresponding to an account receiving the resource to be transferred, for example: and receiving the user terminal corresponding to the account of the virtual red envelope. The terminal 101 may be any user terminal that supports resource transfer, such as: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like. The server 102 may be one or more serving devices in the core network for processing information related to resource transfer.
The resource to be transferred may be a multimedia file, for example: music files or video files, etc., may also be virtual items, such as: the system comprises a virtual character, game virtual equipment, a virtual red packet or an electronic cash voucher and the like, wherein the virtual red packet refers to a virtual object with a certain fund value attribute and can also be called a fund value packaging object.
The resource to be transferred is stored on the server 102, and the resource to be transferred stored on the server 102 may be uploaded to the server 102 by the terminal 101 or generated on the server 102 in response to a trigger of providing an account for the resource to be transferred. In addition, the server 102 may set a unique resource identifier corresponding to the resource for the resource to be transferred, and the resource to be transferred stored in the server 102 needs to be obtained based on the unique identifier corresponding to the resource, where the resource identifier may be a character string including at least one character of a number, a letter, and a symbol.
In the embodiment of the present invention, when executing the transfer operation of the resource to be transferred, each of the N terminals 101 serves as a user terminal corresponding to an account providing the resource to be transferred, and respectively sends the resource information set by itself to the server 102. The resource information set by each terminal 101 may include, but is not limited to, a resource value of a resource to be transferred, where N is an integer greater than 1.
After receiving the resource information sent by the N terminals 101, the server 102 stores N resources to be transferred corresponding to the resource values included in the N resource information, generates a resource transfer message including the target reference information, and sends the resource transfer message to the N terminals 101. The target reference information may be determined by the server, and may be target audio, for example: songs or phase sounds, etc.; target text is also possible, for example: lyrics or song names corresponding to songs, lines or program names corresponding to phase sounds, or recited texts, etc.
After receiving the resource transfer message, each terminal 101 in the N terminals 101 reads the resource transfer message, records an audio according to the target reference information, and uploads the recorded audio to the server 102.
After receiving the audio uploaded by each terminal 101 of the N terminals 101, that is, after receiving the N audio, the server 102 selects a target audio meeting a preset condition from the N audio, and sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to the target terminal uploading the target audio, thereby implementing the transfer of the resources to be transferred.
In the embodiment of the present invention, the server 102 sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to the target terminal uploading the target audio, so that the server 102 can be prevented from transferring the resources to be transferred to an unexpected receiving terminal, thereby improving the effect of transferring the resources.
Referring to fig. 2, fig. 2 is a flowchart of a resource transfer method according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step 201, the terminal determines resource information, where the resource information includes a resource value corresponding to a resource to be transferred.
In the embodiment of the invention, the N terminals are used as user terminals corresponding to accounts for providing resources to be transferred and respectively send resource information to the server. Before sending the resource information, each terminal in the N terminals determines the resource information, where the resource information determined by each terminal at least includes a resource value of a resource to be transferred, the resource value may be used to represent a value corresponding to the resource to be transferred, and N is an integer greater than 1.
In the embodiment of the invention, each terminal can determine the reference information and the resource information through the same instant messaging application program, music application program, social platform (such as music platform, forum, HTML5 webpage) and the like. Taking the example that each terminal determines the resource information through the instant messaging application program, when the terminal detects the triggering operation of the resource transfer request on the interface of the instant messaging application program, a setting interface can be popped up to receive the resource information set by the user on the setting interface, so as to determine the resource information.
Further, the resource information may further include a resource transfer rule, and in the embodiment of the present invention, the resource transfer rule may be: and transferring all the N resources to be transferred corresponding to the resource numerical values in the N resource information received by the server to the account of the terminal uploading the audio with the highest score. The resource transfer rule may also be: transferring the N resources to be transferred of the resource values included in the N resource information received by the server to the account of the terminal uploading the audio with the highest score according to a preset proportion, and averagely transferring the remaining proportion of the resources to be transferred to the accounts of other terminals uploading the audio, but not limited thereto.
Further, the resource information may further include reference information, so that the server determines the target reference information according to the reference information. If the server determines that the reference information is the target reference information, the terminal needs to record audio according to the reference information.
Further, the resource information may further include a total resource value, which is used to indicate a sum of N resource values of the resources to be transferred included in the N resource information.
Step 202, the terminal sends the resource information to a server.
Correspondingly, each of the N terminals may send resource information to the server through the same instant messaging application, music application, social platform (e.g., music platform, forum, HTML5 web page), and the like, so that the server stores N resources to be transferred corresponding to resource values included in the N resource information.
Step 203, the server receives N resource information sent by N terminals, where each terminal sends a resource information, each resource information includes a resource value of a resource to be transferred, and N is an integer greater than 1.
After receiving the resource information sent by each of the N terminals, the server may store N resources to be transferred corresponding to the resource values included in the N resource information, and according to the content included in the resource information, for example: and the resource transfer rule is used for processing the resources to be transferred.
Step 204, the server determines the target reference information.
In this step, if at least one of the received N pieces of resource information further includes reference information, the server may randomly select one piece of reference information from the reference information included in the at least one piece of resource information as the target reference information. The reference information may be reference audio or reference text. Further, the reference audio may be a song or a phase sound, etc.; the reference text can be lyrics, song names or song types corresponding to songs, lines or program names corresponding to phase sounds, or recited text and the like.
In addition, if a certain resource information also includes reference information, the resource information includes both reference information and a resource value, and it can be understood that there is a corresponding relationship between the reference information and the resource value in the same resource information. For example: the resource information a includes both the reference information a1 and the resource value a2, and there is a correspondence between the reference information a1 and the resource value a 2. Therefore, the server may select, as the target resource information, reference information corresponding to the largest resource value from the reference information included in the at least one resource information.
If the received N resource information does not include reference information, the server can autonomously select one audio or a text corresponding to the audio in the multimedia database as the target reference information. The multimedia database may be a local multimedia database or a network multimedia database.
Wherein, the target reference information may be audio, such as: songs or phase sounds, etc.; text information is also possible, for example: lyrics or song names corresponding to songs, lines or program names corresponding to phase sounds, or recited texts, etc.
Step 205, the server sends a resource transfer message to the N terminals, where the resource transfer message includes the target reference information.
In this step, the server may send a resource transfer message to each of the N terminals after receiving the resource acquisition request sent by the N terminals.
It should be noted that, in this embodiment, only the account providing the resource to be transferred is qualified to obtain the opportunity of contending for the resource to be transferred, that is, the account not providing the resource to be transferred is not entitled to obtain the opportunity of contending for the resource to be transferred. Therefore, if the accounts of the N terminals are integrated in the same set, and the set further includes accounts of other terminals except the accounts of the N terminals, the server may not make any response to the resource acquisition request after receiving the resource acquisition request sent by the other terminals except the N terminals, or send a prompt message to the terminal sending the resource acquisition request, and prompt the terminal not to acquire the resource transfer message.
Step 206, the terminal receives a resource transfer message sent by the server, where the resource transfer message includes target reference information.
Accordingly, the first receiving terminal can receive the resource transfer message sent by the server through an instant messaging application program, a music application program, a social platform (such as a music platform, a forum, and an HTML5 webpage) and the like.
Step 207, the terminal reads the resource transfer message.
After each of the N terminals receives the resource transfer message, an icon of the resource transfer message is displayed on an interface of the instant messaging application program, a user of the terminal can obtain the opportunity of competing for the resource to be transferred by clicking the icon or shaking the icon, and then the resource transfer message is read, so that the user of the terminal can obtain target reference information, and audio is recorded according to the target reference information. Specifically, if the target reference information included in the resource transfer message is an audio, the terminal plays the audio; and if the target reference information included in the resource transfer message is text information, the terminal displays the text information.
And step 208, the terminal records the audio according to the target reference information.
The audio may be the own audio recorded by the user of the terminal according to the target reference information, or the audio obtained by the user of the terminal searching for the audio corresponding to the target reference information by opening another application program and then recording the audio, but is not limited thereto.
And step 209, the terminal sends the audio to the server.
Accordingly, each of the N terminals may send its recorded audio to the server through the same instant messaging application, music application, social platform (e.g., music platform, forum, HTML5 web page), etc.
Step 210, the server receives N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio video.
Step 211, the server selects a target audio meeting a preset condition from the N audios.
In this step, the server may retrieve a target reference audio corresponding to the target reference information from the multimedia database, and then compare and score the received N audios with the target reference audio, respectively, to obtain N scoring results, so as to select a target audio meeting a preset condition from the N audios according to the N scoring results, for example: and selecting the audio corresponding to the highest scoring result from the N audios as a target audio, or selecting the audio corresponding to the lowest scoring result from the N audios as the target audio.
It should be noted that, after sending the resource transfer message to the terminal, the server may start the timing function, and determine whether the receiving terminal uploads the audio within a preset time. If the receiving terminal does not upload the audio within the preset time, the terminal may give up the opportunity of contending for the resource to be transferred, and the server may select the target audio meeting the preset condition from the received audio.
Step 212, the server sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to the target terminal that uploads the target audio.
In this embodiment, the server sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to the target terminal that uploaded the target audio according to the pre-obtained resource transfer rule.
Specifically, if the resource transfer rule is: and transferring all the N resources to be transferred corresponding to the resource numerical values in the N resource information received by the server to the account of the terminal uploading the audio with the highest score. And sending all the resources of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio.
If the resource transfer rule is: and transferring N resources to be transferred of the resource values included in the N resource information received by the server to an account of the terminal uploading the audio with the highest score according to a preset proportion, and averagely transferring the rest proportion of the resources to be transferred to accounts of other terminals uploading the audio. And sending partial resources of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal uploading the target audio, and averagely transferring the residual partial resources to accounts of other terminals uploading the audio. For example: under the situation that the N resources to be transferred are 10 yuan, the preset proportion is 0.5, and 5 terminals upload recorded audios in total, if the scoring result of the audio uploaded by the terminal A in the 5 terminals is the highest, the account of the terminal A can obtain 5 yuan, and the accounts of the other 4 terminals can obtain 1 yuan.
The resource transfer method of this embodiment receives N resource information sent by N terminals, where each terminal sends one resource information, each resource information includes a resource value of a resource to be transferred, and N is an integer greater than 1; determining target reference information, wherein the target reference information comprises target reference audio or target reference text; sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information; receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads an audio video; selecting a target audio meeting a preset condition from the N audios; and sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio. The invention can avoid the server transferring the resource to be transferred to the unexpected receiving terminal, thereby improving the effect of resource transfer.
Referring to fig. 3, fig. 3 is a flowchart of another resource transfer method provided in the embodiment of the present invention, and the main difference between the present embodiment and the foregoing embodiment is:
for the resource transfer method for the server, the method further defines that the receiving N resource information sent by the N terminals includes: receiving resource information sent by an initiating terminal, wherein the resource information comprises the superposed number and a resource numerical value of a resource to be transferred; sending a resource superposition message to N-1 terminals, wherein N is equal to the superposition number; and receiving N-1 resource information sent by the N-1 terminals according to the resource superposition message, wherein each resource information in the N-1 resource information comprises a resource numerical value of a resource to be transferred.
The resource transfer method for N terminals is characterized in that the resource information further comprises the number of parts to be superposed for an initiating terminal; for N-1 terminals, before determining the resource information, the method is further limited, specifically: and receiving the resource superposition message sent by the server.
Step 301, the initiating terminal determines resource information, where the resource information includes the number of superposed copies and a resource numerical value corresponding to a resource to be transferred.
The resource transfer method of the invention provides at least two terminals corresponding to the accounts of the resources to be transferred, and in practical application, one terminal can start the resource transfer process.
One of the differences between the resource information determined by the initiating terminal and the resource information determined by the terminal corresponding to the account providing the resource to be transferred is that the resource information determined by the initiating terminal includes the number of overlapping copies to determine the number of terminals corresponding to the account providing the resource to be transferred. Wherein each of the superimposed shares corresponds to one terminal. For example, if the initiating terminal 1 determines that the number of superposed copies is 3, the initiating terminal first sends a resource message, and the initiating terminal 1, the initiating terminal 2, and the initiating terminal 3 that send the resource message need to send a resource message respectively, so that the initiating terminal 1, the initiating terminal 2, and the initiating terminal 3 that send the resource message can obtain the opportunity of contending for the resource to be transferred.
Optionally, the resource information determined by the initiating terminal further includes reference information.
Step 302, the initiating terminal sends the determined resource information to the server.
Step 303, the server receives the resource information sent by the initiating terminal.
And step 304, the server sends a resource superposition message to N-1 terminals, wherein N is equal to the superposition number, and is an integer greater than 1.
In this step, the N-1 terminals may be designated by the originating terminal, or may be terminals corresponding to any other N-1 accounts in the set where the account of the originating terminal is located when the originating terminal sends the resource information to the server, but is not limited thereto.
Optionally, the sending the resource superposition message to the N-1 terminals includes: and sending resource superposition messages and first state control information to the N-1 terminals, wherein the first state control information is used for controlling the resource superposition messages to be in a superposition non-transferable state.
In the embodiment of the invention, when the server sends the resource superposition message to the N-1 terminals, the server can also send first state control information to the N-1 terminals so as to prompt the N-1 terminals whether to determine to participate in the resource transfer process. The first state control information is used for controlling the resource superposition message to be in a superposition non-transferable state. In practical applications, the non-transferable status of the superposition of the resource superposition information may be characterized by the display color of the resource superposition message, for example: and if the resource superposition message is displayed in gray, representing that the resource superposition message is in a superposition non-transferable state. The resource overlapping message indicates that the number of the provided resources to be transferred does not reach the share preset by the initiating mobile terminal during the overlapping non-transferable state, and at the moment, any terminal has no chance to contend for the resources to be transferred temporarily.
And 305, the N-1 terminals receive the resource superposition message sent by the server.
In this step, the resource overlapping message may include information such as the number of overlapping copies, the number of overlapped copies, the number of copies to be overlapped, and the current total resource value.
Optionally, the receiving the resource overlay message sent by the server includes: and receiving a resource superposition message sent by the server and first state control information, wherein the first state control information is used for controlling the resource superposition message to be in a superposition non-transferable state.
Step 306, the N-1 terminals determine resource information according to the resource superposition message, wherein the resource information includes a resource numerical value corresponding to a resource to be transferred.
In this step, the N-1 terminals display the resource superposition message after receiving the resource superposition message, and can determine the resource information by clicking the resource superposition message.
Optionally, the resource information determined by the N-1 terminals further includes reference information.
And 307, the N-1 terminals send the determined resource information to a server.
In this step, the N-1 terminals send the determined resource information to the server to determine to participate in the resource transfer process.
Step 308, the server receives N-1 resource information sent by the N-1 terminals according to the resource superposition message, wherein each resource information in the N-1 resource information includes a resource value of a resource to be transferred.
Optionally, after receiving the N-1 resource information sent by the N-1 terminals according to the resource superposition message and before sending the resource transfer message to the N terminals, the method further includes:
and sending second state control information to the N-1 terminals, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
In this step, when the number of the resource information received by the server reaches N, second state control information may be sent to the N-1 terminals to prompt the terminal that sent the resource information to contend for the resource to be transferred. Wherein the second state control information is used for controlling the resource superposition message to be in a transferable state. In practical applications, the transferable state of the resource overlay information can be characterized by the display color of the resource overlay message, such as: and if the resource superposition message is displayed in red, representing that the resource superposition message is in a transferable state. The resource superposition message indicates that the number of the provided resources to be transferred reaches the share preset by the initiating mobile terminal during the transferable state, and at this time, the terminal sending the resource information has an opportunity to contend for the resources to be transferred.
Step 309, the server determines the target reference information.
Optionally, the receiving N resource information sent by N terminals includes:
receiving N resource information sent by N terminals and reference information sent by an initiating terminal in the N terminals, wherein the reference information comprises reference audio or reference text;
the determining of the target-capable reference information includes:
and determining the reference information sent by the initiating terminal as target reference information.
In this step, if the resource information of the originating terminal includes reference information, the reference information may be directly used as target reference information. For example: if the reference information included in the resource information of the initiating terminal is song A, the server can directly determine the song A as the target reference information; or, the reference information included in the resource information of the originating terminal is song type 1, and the server may randomly select a song from songs belonging to song type 1 as the target reference information.
Optionally, the receiving N resource information sent by N terminals includes:
receiving N resource information and N reference information sent by N terminals, wherein each terminal sends one reference information, and the reference information comprises a reference audio or a reference text;
the determining the target reference information includes:
selecting a target resource numerical value with the maximum numerical value from the resource numerical values included in the N resource information;
and determining reference information sent by a target terminal as target reference information, wherein the target terminal is a terminal for sending resource information comprising the target resource value.
In this step, the resource value included in the resource information sent by the first terminal is 10 yuan, the resource value included in the resource information sent by the second terminal is 8 yuan, and the resource value included in the resource information sent by the third terminal is 15 yuan, for example, the following steps are performed: if the maximum value of the resource values included in the 3 pieces of resource information is 15 yuan, the resource value may be used as a target resource value, the third terminal may be used as a target terminal, and the server may determine the target reference information according to the reference information sent by the third terminal. For example: if the reference information included in the resource information of the third terminal is song C, the server can directly determine the song C as the target reference information; or, the reference information included in the resource information of the third terminal is song type 3, and the server may randomly select a song from songs belonging to song type 3 as the target reference information.
Step 310, the server sends a resource transfer message to the N terminals, where the resource transfer message includes the target reference information.
In this step, the N terminals include the originating terminal and the N-1 terminals described in the above step.
Step 311, the N terminals receive a resource transfer message sent by the server, where the resource transfer message includes target reference information.
Optionally, after the sending the resource information to the server and before the receiving the resource transfer message sent by the server, the method further includes:
and receiving second state control information sent by the server, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
Step 312, the N terminals read the resource transfer message.
And 313, recording the audio by the N terminals according to the target reference information.
And step 314, the N terminals send the audio to the server.
Step 315, the server receives N audios uploaded by the N terminals according to the target reference information, where each terminal uploads one audio video.
Step 316, the server selects a target audio meeting a preset condition from the N audios.
Optionally, the selecting a target audio meeting a preset condition from the N audios includes:
respectively scoring the N audios to obtain N score values;
selecting a target score value with the highest score value from the N score values;
and determining the audio corresponding to the target score value as the target audio.
In this step, the server may retrieve a target reference audio corresponding to the target reference information from the multimedia database, compare and score the received N audios with the target reference audio, respectively, to obtain N score values, select a target score value with a highest score value from the N score values, and determine that the audio corresponding to the target score value is the target audio. For example: if the score value of the first audio is 75 scores, the score value of the second audio is 78 scores, and the score value of the third audio is 71 scores, the second audio may be determined as the target audio.
Step 317, the server sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to a target terminal which uploads the target audio.
It should be noted that, in the present embodiment, only the portions different from the method embodiment in fig. 2 are explained, and for the description of the same portions, reference is made to the explanation of the method embodiment in fig. 2, which is not repeated herein. In addition, for convenience of understanding, in practical application, the resource superposition message and the resource transfer message in the embodiment of the present invention may be identified by using the same icon in each terminal.
For convenience of understanding, the resource transfer method in the embodiment of the present invention is illustrated by taking an example in which the initiating terminal sends a superimposable red pack song, and the following details are specifically given:
the initiating terminal customizes the stackable song red packet, that is, the user sets the stackable song red packet on the interface of the instant messaging application program of the initiating terminal, for example: the reference information of the stackable song red packet is song A, the fund value is 10 yuan, the number of stacked copies is 3, namely, the other two terminals are required to send resource information to the server, so that the terminals sending the resource information can obtain the opportunity of competing for the red packet. And then, the initiating terminal sends the icons of the overlappable song red packages to the interfaces of the instant messaging application programs of the first terminal and the second terminal through the server, and at the moment, the icons are displayed in grey.
After receiving the icons of the stackable song red parcels, the first terminal and the second terminal display the icons on an interface of the instant messaging application program, and can set and send resource information to the server in the display interface by clicking the icons, so that the situation that the icons participate in the stacking of the song red parcels, namely in the resource transfer process, is determined. For example: the fund value of the resource information set by the second terminal is 2 yuan, and the fund value of the resource information set by the third terminal is 5 yuan.
And when the quantity of the resource information received by the server reaches 3, displaying the stackable song red packet in red, and sending the song A to the initiating terminal, the first terminal and the second terminal. At this time, the 3 terminals that have sent the resource information can obtain the chance of competing for the red packet by clicking the icon or shaking one by one.
The user of the initiating terminal, the first terminal and the second terminal can record audio according to the song A and upload the recorded audio to the server, and the server scores the 3 audio after receiving the 3 audio. If the audio score uploaded by the initiating terminal is 81 scores, the audio score uploaded by the first terminal is 60 scores, and the audio score uploaded by the second terminal is 90 scores, the sum of 3 fund values, namely, the fund corresponding to 17 yuan can be completely transferred to the account of the second terminal.
In the resource transfer method of this embodiment, the server sends all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to the target terminal that uploaded the target audio, so that the server can be prevented from transferring the resources to be transferred to an unexpected receiving terminal, thereby improving the effect of transferring the resources.
Referring to fig. 4, fig. 4 is a structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 4, the server 400 includes: a first receiving module 401, a determining module 402, a first sending module 403, a second receiving module 404, a selecting module 405, and a second sending module 406.
The first receiving module 401 is configured to receive N resource information sent by N terminals, where each terminal sends one resource information, each resource information includes a resource value of a resource to be transferred, and N is an integer greater than 1;
a determining module 402, configured to determine target reference information, where the target reference information includes target reference audio or target reference text;
a first sending module 403, configured to send a resource transfer message to the N terminals, where the resource transfer message includes the target reference information;
a second receiving module 404, configured to receive N audios uploaded by the N terminals according to the target reference information, where each terminal uploads an audio video;
a selecting module 405, configured to select a target audio meeting a preset condition from the N audios;
a second sending module 406, configured to send all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to a target terminal that uploads the target audio.
Optionally, as shown in fig. 5, the first receiving module 401 includes:
the first receiving submodule 4011 is configured to receive resource information sent by the initiating terminal, where the resource information includes the number of superposed copies and a resource numerical value of a resource to be transferred;
a sending submodule 4012, configured to send a resource superposition message to N-1 terminals, where N is equal to the number of superposed copies;
and a second receiving submodule 4013, configured to receive N-1 resource information sent by the N-1 terminals according to the resource superposition message, where each resource information in the N-1 resource information includes a resource value of a resource to be transferred.
Optionally, the sending sub-module 4012 is specifically configured to send a resource superposition message and first state control information to the N-1 terminals, where the first state control information is used to control the resource superposition message to be in a superposition non-transferable state;
as shown in fig. 6, the server 400 further includes:
a third sending module 407, configured to send second state control information to the N-1 terminals after receiving the N-1 resource information sent by the N-1 terminals according to the resource superposition message and before sending the resource transfer message to the N terminals, where the second state control information is used to control the resource superposition message to be in a transferable state.
Optionally, the first receiving module 401 is specifically configured to receive N resource information sent by N terminals and reference information sent by an initiating terminal in the N terminals, where the reference information includes a reference audio or a reference text;
a determining module 402, configured to determine the reference information sent by the initiating terminal as the target reference information.
Optionally, the first receiving module 401 is specifically configured to receive N resource information and N reference information sent by N terminals, where each terminal sends one reference information, and the reference information includes a reference audio or a reference text;
as shown in fig. 7, the determining module 402 includes:
a first selecting sub-module 4021, configured to select a target resource value with a largest value from the resource values included in the N pieces of resource information;
the first determining sub-module 4022 is configured to determine reference information sent by a target terminal as target reference information, where the target terminal is a terminal that sends resource information including the target resource value.
Optionally, as shown in fig. 8, the selecting module 405 includes:
the scoring submodule 4051 is configured to score the N audios respectively to obtain N score values;
a second selection submodule 4052, configured to select a target score value with a highest score value from the N score values;
the second determining sub-module 4053 is configured to determine that the audio corresponding to the target score value is the target audio.
The server 400 can implement each process implemented by the server in the method embodiments corresponding to fig. 2 and fig. 3, and may achieve the same technical effect, and for avoiding repetition, details are not described here again.
According to the server provided by the embodiment of the invention, all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information are sent to the target terminal which uploads the target audio, so that the server can be prevented from transferring the resources to be transferred to an unexpected receiving terminal, and the resource transfer effect is improved.
Referring to fig. 9, fig. 9 is a structural diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 7, the terminal 900 includes: a determination module 901, a first transmission module 902, a first reception module 903, a reading module 904, a recording module 905, and a second transmission module 906.
The determining module 901 is configured to determine resource information, where the resource information includes a resource value corresponding to a resource to be transferred;
a first sending module 902, configured to send the resource information to a server;
a first receiving module 903, configured to receive a resource transfer message sent by the server, where the resource transfer message includes target reference information;
a reading module 904, configured to read the resource transfer message;
a recording module 905, configured to record an audio according to the target reference information;
a second sending module 906, configured to send the audio to the server.
Optionally, the resource information further includes the number of copies to be superimposed.
Optionally, as shown in fig. 10, the terminal 900 further includes:
a second receiving module 907, configured to receive the resource overlay message sent by the server before the resource information is determined.
Optionally, the second receiving module 907 is specifically configured to receive a resource superposition message sent by the server and first state control information, where the first state control information is used to control the resource superposition message to be in a superposition non-transferable state;
as shown in fig. 11, the terminal further includes:
a third receiving module 908, configured to receive second state control information sent by the server after the resource information is sent to the server and before the resource transfer message sent by the server is received, where the second state control information is used to control the resource superposition message to be in a transferable state.
Optionally, the resource information further includes reference information.
The receiving terminal 900 can implement each process implemented by the server in the method embodiments corresponding to fig. 2 and fig. 3, and may achieve the same technical effect, and for avoiding repetition, details are not described here again.
Referring to fig. 12, fig. 12 is a schematic structural diagram of another server according to an embodiment of the present invention, and as shown in fig. 12, a server 1200 includes: memory 1202, processor 1201, user interface 1203, transceiver 1204 and bus interface.
In this embodiment of the present invention, the server 1200 further includes: a computer program stored on the memory 1202 and executable on the processor 1201, the computer program when executed by the processor 1201 performing the steps of:
receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1;
determining target reference information, wherein the target reference information comprises target reference audio or target reference text;
sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information;
receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads an audio video;
selecting a target audio meeting a preset condition from the N audios;
and sending all or part of the N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio.
In fig. 12, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by the processor 1201, and various circuits, represented by the memory 1202, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1204 may be a number of elements including a transmitter and a receiver providing a means for communicating with various other apparatus over a transmission medium. The user interface 1203 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.
The processor 1201 is responsible for managing the bus architecture and general processing, and the memory 1202 may store data used by the processor 2601 in performing operations.
Optionally, when the processor 1201 executes the computer program to receive the N resource information sent by the N terminals, the following steps may be implemented:
receiving resource information sent by an initiating terminal, wherein the resource information comprises the superposed number and a resource numerical value of a resource to be transferred;
sending a resource superposition message to N-1 terminals, wherein N is equal to the superposition number;
and receiving N-1 resource information sent by the N-1 terminals according to the resource superposition message, wherein each resource information in the N-1 resource information comprises a resource numerical value of a resource to be transferred.
Optionally, when the processor 1201 executes the sending of the resource superposition message to the N-1 terminals, the following steps may be implemented:
sending resource superposition messages and first state control information to N-1 terminals, wherein the first state control information is used for controlling the resource superposition messages to be in a superposition non-transferable state;
after the computer program is executed by the processor 1201 to receive the N-1 resource information sent by the N-1 terminals according to the resource superposition message and before the resource transfer message is sent to the N terminals, the following steps may also be implemented:
and sending second state control information to the N-1 terminals, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
Optionally, when the processor 1201 executes the computer program to receive the N resource information sent by the N terminals, the following steps may be implemented:
receiving N resource information sent by N terminals and reference information sent by an initiating terminal in the N terminals, wherein the reference information comprises reference audio or reference text;
when the computer program is executed by the processor 1201 to determine the target-capable reference information, the following steps may be implemented:
and determining the reference information sent by the initiating terminal as target reference information.
Optionally, when the processor 1201 executes the computer program to receive the N resource information sent by the N terminals, the following steps may be implemented:
receiving N resource information and N reference information sent by N terminals, wherein each terminal sends one reference information, and the reference information comprises a reference audio or a reference text;
when the computer program is executed by the processor 1201 to determine the target reference information, the following steps may be implemented:
selecting a target resource numerical value with the maximum numerical value from the resource numerical values included in the N resource information;
and determining reference information sent by a target terminal as target reference information, wherein the target terminal is a terminal for sending resource information comprising the target resource value.
Optionally, when the processor 1201 executes the computer program to select a target audio meeting a preset condition from the N audio, the following steps may be implemented:
respectively scoring the N audios to obtain N score values;
selecting a target score value with the highest score value from the N score values;
and determining the audio corresponding to the target score value as the target audio.
The server 1200 can implement each process implemented by the server in the method embodiments corresponding to fig. 2 and fig. 3, and can achieve the same technical effect, and for avoiding repetition, the details are not described here again.
Referring to fig. 13, fig. 13 is a structural diagram of another terminal according to an embodiment of the present invention, and as shown in fig. 13, a terminal 1300 includes: at least one processor 1301, memory 1302, at least one network interface 1304, and a user interface 1303. The various components in the transmitting terminal 1300 are coupled together by a bus system 1305. It is understood that the bus system 1305 is used to implement connective communication between these components. The bus system 1305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in FIG. 13 as the bus system 1305. Terminal 1300 further includes touch screen 1306, and touch screen 1306 can be used for implementing human-computer interaction operations. The touch panel 1306 is connected to each component of the transmission terminal via a bus system 1305.
The user interface 1303 may include, among other things, a display, a keyboard or a pointing device (e.g., a mouse, track ball, touch pad or touch screen, etc.).
It is to be understood that the memory 1302 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable ROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous D RAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SD RAM (ESDRAM), Synchronous Link D RAM (SLDRAM), and Direct bus RAM (DRRAM). The memory 1302 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1302 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 13021 and application programs 13022.
The operating system 13021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs 13022 include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. A program for implementing the method of an embodiment of the present invention may be included in the application 13022.
In this embodiment of the present invention, sending terminal 1300 further includes: a computer program stored on the memory 1302 and executable on the processor 1301, in particular a computer program in an application 13022, which computer program when executed by the processor 1301 performs the steps of:
determining resource information, wherein the resource information comprises a resource numerical value corresponding to a resource to be transferred;
sending the resource information to a server;
receiving a resource transfer message sent by the server, wherein the resource transfer message comprises target reference information;
reading the resource transfer message;
recording audio according to the target reference information;
sending the audio to the server.
The method disclosed by the above embodiment of the present invention may be applied to the processor 1301, or implemented by the processor 1301. Processor 1301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1301. The Processor 1301 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1302, and the processor 1301 reads information in the memory 1302, and completes the steps of the method in combination with hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the resource information further includes the number of copies to be superimposed.
Optionally, before the computer program is executed by the processor 1301 to determine the resource information, the following steps may also be implemented:
and receiving the resource superposition message sent by the server.
Optionally, when the processor 1301 executes the step of receiving the resource overlay message sent by the server, the following steps may be implemented:
receiving a resource superposition message sent by the server and first state control information, wherein the first state control information is used for controlling the resource superposition message to be in a superposition non-transferable state;
after the computer program is executed by the processor 1301 to send the resource information to the server, and before receiving the resource transfer message sent by the server, the following steps may also be implemented:
and receiving second state control information sent by the server, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
Optionally, the resource information further includes reference information.
The terminal 1300 can implement each process implemented by the terminal in the method embodiments corresponding to fig. 2 and fig. 3, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
Referring to fig. 14, fig. 14 is a structural diagram of a resource transfer system provided in an embodiment of the present invention, and as shown in fig. 14, the resource transfer system includes a server 1401 and a terminal 1402, where the server 1401 may be a server in any implementation manner provided in the embodiment of the present invention, and the terminal 1402 may be a terminal in any implementation manner provided in the embodiment of the present invention, and details are not described here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program can implement each process of any of the above embodiments of the resource transfer method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (18)

1. A resource transfer method for a server, comprising:
receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1;
determining target reference information, wherein the target reference information comprises target reference audio or target reference text;
sending a resource transfer message to the N terminals, wherein the resource transfer message comprises the target reference information;
receiving N audios uploaded by the N terminals according to the target reference information, wherein each audio is uploaded by each terminal;
selecting a target audio meeting a preset condition from the N audios;
sending all or part of N resources to be transferred corresponding to the resource numerical values included in the N resource information to a target terminal which uploads the target audio;
the receiving of the N resource information sent by the N terminals includes:
receiving resource information sent by an initiating terminal, wherein the resource information comprises the superposed number and a resource numerical value of a resource to be transferred;
sending a resource superposition message to N-1 terminals, wherein N is equal to the superposition number;
and receiving N-1 resource information sent by the N-1 terminals according to the resource superposition message, wherein each resource information in the N-1 resource information comprises a resource numerical value of a resource to be transferred.
2. The method for resource transfer according to claim 1, wherein said sending resource overlay messages to N-1 terminals comprises:
sending resource superposition messages and first state control information to N-1 terminals, wherein the first state control information is used for controlling the resource superposition messages to be in a superposition non-transferable state;
after receiving the N-1 resource information sent by the N-1 terminals according to the resource superposition message and before sending the resource transfer message to the N terminals, the method further includes:
and sending second state control information to the N-1 terminals, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
3. The resource transfer method according to claim 1 or 2, wherein the receiving N resource information sent by N terminals includes:
receiving N resource information sent by N terminals and reference information sent by an initiating terminal in the N terminals, wherein the reference information comprises reference audio or reference text;
the determining the target reference information includes:
and determining the reference information sent by the initiating terminal as target reference information.
4. The resource transfer method according to claim 1 or 2, wherein the receiving N resource information sent by N terminals includes:
receiving N resource information and N reference information sent by N terminals, wherein each terminal sends one reference information, and the reference information comprises a reference audio or a reference text;
the determining the target reference information includes:
selecting a target resource numerical value with the maximum numerical value from the resource numerical values included in the N resource information;
and determining reference information sent by a target terminal as target reference information, wherein the target terminal is a terminal for sending resource information comprising the target resource value.
5. The resource transfer method of claim 1, wherein the selecting a target audio satisfying a preset condition from the N audios comprises:
respectively scoring the N audios to obtain N score values;
selecting a target score value with the highest score value from the N score values;
and determining the audio corresponding to the target score value as the target audio.
6. A resource transfer method for a terminal, comprising:
determining resource information, wherein the resource information comprises a resource numerical value corresponding to a resource to be transferred;
sending the resource information to a server;
receiving a resource transfer message sent by the server, wherein the resource transfer message comprises target reference information;
reading the resource transfer message;
recording audio according to the target reference information;
sending the audio to the server;
under the condition that the terminal is an initiating terminal, the resource information also comprises the number of copies to be superposed;
before determining the resource information, in a case that the terminal is not an initiating terminal, the method further includes:
and receiving the resource superposition message sent by the server.
7. The resource transfer method of claim 6, wherein the receiving the resource overlay message sent by the server comprises:
receiving a resource superposition message sent by the server and first state control information, wherein the first state control information is used for controlling the resource superposition message to be in a superposition non-transferable state;
after the sending the resource information to the server and before the receiving the resource transfer message sent by the server, the method further includes:
and receiving second state control information sent by the server, wherein the second state control information is used for controlling the resource superposition message to be in a transferable state.
8. The resource transfer method according to claim 6 or 7, wherein the resource information further includes reference information.
9. A server, comprising:
the first receiving module is used for receiving N resource information sent by N terminals, wherein each terminal sends one resource information, each resource information comprises a resource numerical value of a resource to be transferred, and N is an integer greater than 1;
the determining module is used for determining target reference information, and the target reference information comprises target reference audio or target reference text;
a first sending module, configured to send a resource transfer message to the N terminals, where the resource transfer message includes the target reference information;
the second receiving module is used for receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio video;
the selection module is used for selecting a target audio meeting a preset condition from the N audios;
a second sending module, configured to send all or part of the N resources to be transferred corresponding to the resource values included in the N resource information to a target terminal that uploads the target audio;
the first receiving module comprises:
the first receiving submodule is used for receiving resource information sent by the initiating terminal, wherein the resource information comprises the number of superposed parts and a resource numerical value of a resource to be transferred;
the sending submodule is used for sending a resource superposition message to N-1 terminals, wherein N is equal to the superposition number;
and the second receiving submodule is used for receiving the N-1 resource information sent by the N-1 terminals according to the resource superposition message, wherein each resource information in the N-1 resource information comprises a resource numerical value of a resource to be transferred.
10. The server according to claim 9, wherein the sending sub-module is specifically configured to send a resource superposition message to N-1 terminals, and first state control information, where the first state control information is used to control the resource superposition message to be in a superposition non-transitive state;
the server further comprises:
a third sending module, configured to send second state control information to the N-1 terminals after receiving the N-1 resource information sent by the N-1 terminals according to the resource superposition message and before sending the resource transfer message to the N terminals, where the second state control information is used to control the resource superposition message to be in a transferable state.
11. The server according to claim 9 or 10, wherein the first receiving module is specifically configured to receive N resource information sent by N terminals and reference information sent by an initiating terminal of the N terminals, where the reference information includes reference audio or reference text;
the determining module is specifically configured to determine the reference information sent by the initiating terminal as the target reference information.
12. The server according to claim 9 or 10, wherein the first receiving module is specifically configured to receive N resource information and N reference information sent by N terminals, where each terminal sends one reference information, and the reference information includes a reference audio or a reference text;
the determining module includes:
the first selection submodule is used for selecting a target resource numerical value with the maximum numerical value from the resource numerical values included in the N resource information;
the first determining submodule is used for determining reference information sent by a target terminal as target reference information, wherein the target terminal is a terminal for sending resource information including the target resource value.
13. The server of claim 9, wherein the selection module comprises:
the scoring submodule is used for scoring the N audios respectively to obtain N score values;
a second selection submodule for selecting a target score value having a highest score value from the N score values;
and the second determining submodule is used for determining the audio corresponding to the target score value as the target audio.
14. A terminal, comprising:
the determining module is used for determining resource information, and the resource information comprises a resource numerical value corresponding to a resource to be transferred;
the first sending module is used for sending the resource information to a server;
a first receiving module, configured to receive a resource transfer message sent by the server, where the resource transfer message includes target reference information;
a reading module, configured to read the resource transfer message;
the recording module is used for recording audio according to the target reference information;
the second sending module is used for sending the audio to the server;
under the condition that the terminal is an initiating terminal, the resource information also comprises the number of copies to be superposed;
under the condition that the terminal is not the initiating terminal, the terminal further comprises:
a second receiving module, configured to receive the resource overlay message sent by the server before the resource information is determined.
15. The terminal of claim 14, wherein the second receiving module is specifically configured to receive a resource superposition message sent by the server, and first state control information, where the first state control information is used to control the resource superposition message to be in a superposition non-transferable state;
the terminal further comprises:
a third receiving module, configured to receive second state control information sent by the server after the resource information is sent to the server and before the resource transfer message sent by the server is received, where the second state control information is used to control the resource superposition message to be in a transferable state.
16. The terminal of claim 14 or 15, wherein the resource information further comprises reference information.
17. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the resource transfer method according to one of the claims 1 to 5, or which computer program, when being executed by a processor, carries out the steps of the resource transfer method according to one of the claims 6 to 8.
18. A resource transfer system comprising a server according to any one of claims 9 to 13 and a terminal according to any one of claims 14 to 16.
CN201710734395.1A 2017-08-24 2017-08-24 Resource transfer method, server and terminal Active CN107481006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710734395.1A CN107481006B (en) 2017-08-24 2017-08-24 Resource transfer method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710734395.1A CN107481006B (en) 2017-08-24 2017-08-24 Resource transfer method, server and terminal

Publications (2)

Publication Number Publication Date
CN107481006A CN107481006A (en) 2017-12-15
CN107481006B true CN107481006B (en) 2020-06-26

Family

ID=60601387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710734395.1A Active CN107481006B (en) 2017-08-24 2017-08-24 Resource transfer method, server and terminal

Country Status (1)

Country Link
CN (1) CN107481006B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084579A (en) * 2018-01-26 2019-08-02 百度在线网络技术(北京)有限公司 Method for processing resource, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus
CN106960332A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 A kind of resource transmission, acquisition methods and its equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406522B2 (en) * 2001-09-26 2008-07-29 Packeteer, Inc. Dynamic partitioning of network resources
US7685011B2 (en) * 2003-10-25 2010-03-23 Wilson Thomas W Method and system for optimizing resource allocation based on cohort times
JP5659066B2 (en) * 2011-03-31 2015-01-28 Kddi株式会社 Service control apparatus and service control program
CN104217345A (en) * 2013-05-29 2014-12-17 芝贝利有限公司 Realizing method and system for electronic discount coupons
US9842152B2 (en) * 2014-02-19 2017-12-12 Snowflake Computing, Inc. Transparent discovery of semi-structured data schema
CN113723941A (en) * 2016-05-27 2021-11-30 腾讯科技(深圳)有限公司 Information updating method and device and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960332A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 A kind of resource transmission, acquisition methods and its equipment
CN105915437A (en) * 2016-04-14 2016-08-31 浙江翼信科技有限公司 Electronic resource distribution method and apparatus

Also Published As

Publication number Publication date
CN107481006A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107483597B (en) Resource transfer method, related equipment and system
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
US20130144868A1 (en) Post Building and Search Creation
US9087020B1 (en) Managing and retrieving content from a shared storage
CN107492034B (en) Resource transfer method, server, receiving terminal and sending terminal
CN107491667B (en) Resource transfer method, terminal, server and system
CN105573667A (en) Data reading method and storage server
US9015243B1 (en) Automated metadata updates
CN111372115B (en) Application program access method and device and communication system
CN112241397B (en) Sharing method and device of multimedia files, electronic equipment and readable storage medium
US20220295133A1 (en) Technologies for managing collaborative and multiplatform media content playlists
US10042530B1 (en) Object oriented interactions
JP2017510882A (en) Chat information transmission method and apparatus, chat information push method and server
CN113157171A (en) Application display method in split screen mode, computing device and computer storage medium
CN107566250B (en) Resource transfer method, related equipment and system
CN107493342B (en) Resource transfer method, related equipment and system
US20160255127A1 (en) Directing Meeting Entrants Based On Meeting Role
CN107451909B (en) Resource transfer method, server, receiving terminal and sending terminal
CN107481006B (en) Resource transfer method, server and terminal
US20170169599A1 (en) Methods and electronic devices for displaying picture
CN106788993A (en) A kind of encryption communication method, device and electronic equipment
CN107563734B (en) Resource transfer method, related equipment and system
US20220129239A1 (en) Democratic skip
CN107491947B (en) Resource transfer method, related equipment and system
US20170134781A1 (en) Method and apparatus for realizing custom menu, client and server

Legal Events

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