+

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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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

一种资源转移方法、服务器及终端A resource transfer method, server and terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种资源转移方法、服务器及终端。The present invention relates to the field of communication technologies, and in particular, to a resource transfer method, a server and a terminal.

背景技术Background technique

随着互联网的发展,随着终端的不断发展,目前终端上可以完成各种资源转移操作,例如,通过支付、转账等资金交易操作实现资金的转移,或者通过分享操作实现多媒体文件的转移,当然,终端还可以通过其他资源转移操作完成虚拟物品,如虚拟人物形象、游戏虚拟装备、资金数值封装对象(如:虚拟红包)或者电子代金券等资源的转移。以资金数值对应的资源为例,用户可以将资金数值对应的资源从某一账户转移到其它账户,转出资金数值的账户将失去该资金数值对应的资源,而收到该资金数值的账户则拥有了该资金数值对应的资源。With the development of the Internet and the continuous development of terminals, various resource transfer operations can be completed on the terminal, for example, the transfer of funds through fund transaction operations such as payment and transfer, or the transfer of multimedia files through sharing operations. Of course, , the terminal can also complete the transfer of virtual items through other resource transfer operations, such as virtual characters, game virtual equipment, fund value packaging objects (such as virtual red envelopes) or electronic vouchers and other resources. Taking the resource corresponding to the capital value as an example, the user can transfer the resource corresponding to the capital value from one account to another account. The account that transfers the capital value will lose the resource corresponding to the capital value, while the account that receives the capital value will lose the resource corresponding to the capital value. Have the resources corresponding to the value of the funds.

在对资源进行转移操作时,资源提供方可以将资源转移给某个用户集合。然而,现有方式中,对于资源提供方提供的资源,服务器在接收到资源获取请求后,直接将该资源随机转移给发送该资源获取请求的资源接收方,从而可能导致资源提供方提供的资源转移给一些非期望的资源接收方,资源转移的效果较差。When transferring a resource, the resource provider can transfer the resource to a certain set of users. However, in the existing method, for the resource provided by the resource provider, after receiving the resource acquisition request, the server directly randomly transfers the resource to the resource receiver who sent the resource acquisition request, which may result in the resource provided by the resource provider. If it is transferred to some undesired resource recipients, the effect of resource transfer is poor.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种资源转移方法、服务器及终端,以解决现有技术中资源提供方提供的资源转移给非期望的资源接收方,导致资源转移效果较差的问题。Embodiments of the present invention provide a resource transfer method, server and terminal to solve the problem in the prior art that resources provided by a resource provider are transferred to an undesired resource receiver, resulting in poor resource transfer effect.

第一方面,本发明实施例提供了一种资源转移方法,用于服务器,该方法包括:In a first aspect, an embodiment of the present invention provides a resource transfer method for a server, and the method includes:

接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;Receive N pieces of resource information sent by N terminals, wherein each terminal sends one piece of 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, the target reference information includes target reference audio or target reference text;

向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;sending a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information;

接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video;

从所述N个音频中选择满足预设条件的目标音频;Selecting a target audio that satisfies a preset condition from the N audios;

向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。Send all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

第二方面,本发明实施例还提供一种资源转移方法,用于终端,该方法包括:In a second aspect, an embodiment of the present invention further provides a resource transfer method for a terminal, the method includes:

确定资源信息,所述资源信息包括一个待转移资源对应的资源数值;determining resource information, where the resource information includes a resource value corresponding to a resource to be transferred;

向服务器发送所述资源信息;sending the resource information to the server;

接收所述服务器发送的资源转移消息,所述资源转移消息包括目标参考信息;receiving a resource transfer message sent by the server, where the resource transfer message includes target reference information;

读取所述资源转移消息;reading the resource transfer message;

根据所述目标参考信息录制音频;Record audio according to the target reference information;

向所述服务器发送所述音频。Send the audio to the server.

第三方面,本发明实施例还提供一种服务器,该服务器包括:In a third aspect, an embodiment of the present invention further provides a server, where the server includes:

第一接收模块,用于接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;a first receiving module, configured to receive N pieces of resource information sent by N terminals, wherein each terminal sends one piece of 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 for determining target reference information, the target reference information including target reference audio or target reference text;

第一发送模块,用于向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;a first sending module, configured to send a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information;

第二接收模块,用于接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;a second receiving module, configured to receive N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video;

选择模块,用于从所述N个音频中选择满足预设条件的目标音频;a selection module, used to select a target audio that satisfies a preset condition from the N audios;

第二发送模块,用于向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。The second sending module is configured to send all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

第四方面,本发明实施例还提供一种终端,该终端包括:In a fourth aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:

确定模块,用于确定资源信息,所述资源信息包括一个待转移资源对应的资源数值;a determining module, configured to determine resource information, where the resource information includes a resource value corresponding to a resource to be transferred;

第一发送模块,用于向服务器发送所述资源信息;a first sending module, configured to send the resource information to the 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 for reading the resource transfer message;

录制模块,用于根据所述目标参考信息录制音频;a recording module for recording audio according to the target reference information;

第二发送模块,用于向所述服务器发送所述音频。A second sending module, configured to send the audio to the server.

第五方面,本发明实施例还提供一种服务器,该服务器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述第一方面提供的方法中的步骤。In a fifth aspect, an embodiment of the present invention further provides a server, the server includes a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the steps in the method provided in the first aspect above are implemented.

第六方面,本发明实施例还提供一种终端,该终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述第二方面提供的方法中的步骤。In a sixth aspect, an embodiment of the present invention further provides a terminal, the terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the steps in the method provided in the second aspect above are implemented.

第七方面,本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面提供的方法中的步骤,或者所述计算机程序被处理器执行时实现上述第二方面提供的方法中的步骤。In a seventh aspect, an 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 steps in the method provided in the first aspect are implemented , or the computer program implements the steps in the method provided in the second aspect above when the computer program is executed by the processor.

第八方面,本发明实施例还提供一种资源转移系统,该资源转移系统包括本发明实施例提供的服务器、本发明实施例提供的终端。In an eighth aspect, an embodiment of the present invention further provides a resource transfer system, where the resource transfer system includes the server provided by the embodiment of the present invention and the terminal provided by the embodiment of the present invention.

本发明实施例中,接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;确定目标参考信息,所述目标参考信息包括目标参考音频或目标参考文本;向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;从所述N个音频中选择满足预设条件的目标音频;向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。本发明可以避免服务器向非期望的接收终端转移待转移资源,从而提高了资源转移的效果。In this embodiment of the present invention, N pieces of resource information sent by N terminals are received, wherein each terminal sends one piece of resource information, each resource information includes a resource value of a resource to be transferred, and N is an integer greater than 1; determine; target reference information, the target reference information includes target reference audio or target reference text; send a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information; receive the N terminals according to the The N audios uploaded by the target reference information, wherein each terminal uploads one audio and video; select the target audio that meets the preset condition from the N audios; send the N audio to the target terminal that uploads the target audio All or part of the N resources to be transferred corresponding to the resource values included in the resource information. The present invention can prevent the server from transferring the resource to be transferred to the undesired receiving terminal, thereby improving the effect of resource transfer.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1是本发明实施例提供的资源转移方法可应用的系统架构图;1 is a system architecture diagram to which the resource transfer method provided by an embodiment of the present invention can be applied;

图2是本发明实施例提供的一种资源转移方法的流程图;2 is a flowchart of a resource transfer method provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种资源转移方法的流程图;3 is a flowchart of another resource transfer method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种服务器的结构图;4 is a structural diagram of a server provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种服务器的结构图;5 is a structural diagram of another server provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种服务器的结构图;6 is a structural diagram of another server provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种服务器的结构图;7 is a structural diagram of another server provided by an embodiment of the present invention;

图8是本发明实施例提供的另一种服务器的结构图;8 is a structural diagram of another server provided by an embodiment of the present invention;

图9是本发明实施例提供的一种终端的结构图;FIG. 9 is a structural diagram of a terminal provided by an embodiment of the present invention;

图10是本发明实施例提供的另一种终端的结构图;10 is a structural diagram of another terminal provided by an embodiment of the present invention;

图11是本发明实施例提供的另一种终端的结构图;11 is a structural diagram of another terminal provided by an embodiment of the present invention;

图12是本发明实施例提供的另一种服务器的结构图;12 is a structural diagram of another server provided by an embodiment of the present invention;

图13是本发明实施例提供的另一种终端的结构图;13 is a structural diagram of another terminal provided by an embodiment of the present invention;

图14是本发明实施例提供的一种资源转移系统的结构图。FIG. 14 is a structural diagram of a resource transfer system provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参阅图1,图1是本发明实施例提供的资源转移方法可应用的系统架构图,如图1所示,包括:终端101和服务器102,其中,终端101可以通过网络与服务器102连接。Please refer to FIG. 1. FIG. 1 is a system architecture diagram to which the resource transfer method provided by the embodiment of the present invention can be applied. As shown in FIG.

本发明实施例中,终端101可以既是提供待转移资源的账户所对应的用户终端,例如:发送虚拟红包的账户所对应的用户终端,也可以是接收待转移资源的账户所对应的用户终端,例如:接收虚拟红包的账户所对应的用户终端。终端101可以是任何支持资源转移的用户终端,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。服务器102可以是核心网中的一个或者多个服务设备,用于处理资源转移涉及的信息。In this embodiment of the present invention, the terminal 101 may be both a user terminal corresponding to an account that provides resources to be transferred, for example: a user terminal corresponding to an account that sends virtual red envelopes, or a user terminal corresponding to an account that receives resources to be transferred, For example: the user terminal corresponding to the account that receives the virtual red envelope. The terminal 101 can be any user terminal that supports resource transfer, such as a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (PDA), a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device), etc. The server 102 may be one or more service devices in the core network, and is used for processing information related to resource transfer.

其中,待转移资源可以是多媒体文件,例如:音乐文件或者视频文件等,也可以是虚拟物品,例如:虚拟人物形象、游戏虚拟装备、虚拟红包或者电子代金券等,其中,虚拟红包是指具有一定资金数值属性的虚拟对象,也可以称为资金数值封装对象。The resources to be transferred may be multimedia files, such as music files or video files, etc., or virtual items, such as virtual characters, game virtual equipment, virtual red envelopes or electronic vouchers, etc. A virtual object with a certain fund value attribute, which can also be called a fund value package object.

待转移资源存储于服务器102上,服务器102上存储的待转移资源可以是响应于提供待转移资源的账户的触发,由终端101上传至服务器102的,或者在服务器102上生成的。此外,服务器102可以为待转移资源设置与该资源对应的唯一资源标识,服务器102上存储的待转移资源需要以该资源所对应的唯一标识为依据获取,其中,资源标识可以是包括数字、字母和符号中的至少一种字符的字符串。The resources to be transferred are stored on the server 102 , and the resources 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 the trigger of the account providing the resources to be transferred. In addition, the server 102 may set a unique resource identifier corresponding to the resource to be transferred for the resource to be transferred, and the resource to be transferred stored on the server 102 needs to be acquired based on the unique identifier corresponding to the resource, wherein the resource identifier may include numbers, letters A string of at least one character in the ampersand.

本发明实施例中,在执行待转移资源的转移操作时,N个终端101均作为提供待转移资源的账户所对应的用户终端,分别向服务器102发送其自身设置的资源信息。其中,每个终端101设置的资源信息可以但不仅限于包括一个待转移资源的资源数值,N为大于1的整数。In this embodiment of the present invention, when performing the transfer operation of the resource to be transferred, the N terminals 101 all serve as user terminals corresponding to the account that provides the resource to be transferred, and respectively send the resource information set by themselves to the server 102 . The resource information set by each terminal 101 may, but is not limited to, include a resource value of a resource to be transferred, and N is an integer greater than 1.

服务器102接收到上述N个终端101发送的资源信息后,存储N个资源信息包括的资源数值对应的N个待转移资源,并生成包括有目标参考信息的资源转移消息,以及向上述N个终端101发送资源转移消息。其中,目标参考信息可以由服务器确定,可以是目标音频,例如:歌曲或相声等;也可以是目标文本,例如:歌曲对应的歌词或歌曲名称,相声对应的台词或者节目名,或者朗诵的文本等。After receiving the resource information sent by the above 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 a message to the above N terminals. 101 A resource transfer message is sent. The target reference information can be determined by the server, and can be target audio, such as songs or cross talk, etc.; or target text, such as lyrics or song names corresponding to songs, lines or program names corresponding to cross talk, or recited texts Wait.

上述N个终端101中的每个终端101,在接收到资源转移消息后,读取资源转移消息,并根据目标参考信息录制音频,以及将录制的音频上传至服务器102。After receiving the resource transfer message, each terminal 101 of the above N terminals 101 reads the resource transfer message, records audio according to the target reference information, and uploads the recorded audio to the server 102 .

服务器102在接收到N个终端101中每个终端101上传的音频,即接收到N个音频后,从上述N个音频中选择满足预设条件的目标音频,并向上传上述目标音频的目标终端发送上述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源,从而实现待转移资源的转移。After receiving the audios uploaded by each terminal 101 of the N terminals 101, that is, after receiving the N audios, the server 102 selects target audios that satisfy the preset conditions from the above N audios, and sends the target audios to the target terminal that uploads the above target audios All or part of the N resources to be transferred corresponding to the resource values included in the N resource information are sent, so as to realize the transfer of the resources to be transferred.

本发明实施例中,服务器102向上传上述目标音频的目标终端发送上述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源,可以避免服务器102向非期望的接收终端转移待转移资源,从而提高了资源转移的效果,另外,提供待转移资源的账户对应的终端为至少两个,可以提高资源转移的趣味性。In this 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 that uploads the target audio, which can prevent the server 102 from transferring to an unintended receiving terminal resources to be transferred, thereby improving the effect of resource transfer. In addition, there are at least two terminals corresponding to accounts that provide resources to be transferred, which can improve the interest of resource transfer.

参见图2,图2是本发明实施例提供的一种资源转移方法的流程图,如图2所示,包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a resource transfer method provided by an embodiment of the present invention, as shown in FIG. 2, including the following steps:

步骤201、终端确定资源信息,所述资源信息包括一个待转移资源对应的资源数值。Step 201: The terminal determines resource information, where the resource information includes a resource value corresponding to a resource to be transferred.

本发明实施例中,N个终端均作为提供待转移资源的账户所对应的用户终端,分别向服务器发送资源信息。在发送资源信息之前,N个终端中的每个终端确定资源信息,其中,每个终端确定的资源信息中至少包括一个待转移资源的资源数值,资源数值可以用于表征待转移资源对应的数值,N为大于1的整数。In the embodiment of the present invention, the N terminals are all used as user terminals corresponding to accounts that provide resources to be transferred, and send resource information to the server respectively. Before sending the resource information, each of the N terminals determines resource information, wherein the resource information determined by each terminal at least includes a resource value of the resource to be transferred, and the resource value can be used to represent the value corresponding to the resource to be transferred. , and N is an integer greater than 1.

本发明实施例中,各个终端可以通过同一个即时通讯应用程序、音乐应用程序、社交平台(例如:音乐平台、论坛、HTML5网页)等确定参考信息和资源信息。以各个终端通过即时通讯应用程序确定资源信息为例,终端在即时通讯应用程序的界面上检测到对资源转移请求触发操作时,可以弹出设置界面,以接收用户在该设置界面设置资源信息,从而确定资源信息。In this embodiment of the present invention, each terminal may determine reference information and resource information through the same instant messaging application, music application, social platform (eg, music platform, forum, HTML5 webpage), and the like. Taking the determination of resource information by each terminal through an instant messaging application as an example, when the terminal detects a triggering operation on a resource transfer request on the interface of the instant messaging application, a setting interface can pop up to receive the resource information set by the user on the setting interface, thereby Determine resource information.

进一步地,资源信息还可以包括资源转移规则,在本发明实施例中,资源转移规则可以为:将服务器接收到的N个资源信息中包括的资源数值对应的N个待转移资源,全部转移至上传评分最高的音频的终端的账户中。资源转移规则也可以为:将服务器接收到的N个资源信息中包括的资源数值的N个待转移资源,按照预设的比例转移至上传评分最高的音频的终端的账户中,再将余下比例的待转移资源平均转移至其他上传音频的终端的账户中,但不仅限于此。Further, the resource information may also include a resource transfer rule. In this embodiment of the present invention, the resource transfer rule may be: transfer all the N resources to be transferred corresponding to the resource values included in the N resource information received by the server to The account of the terminal that uploaded the audio with the highest rating. The resource transfer rule may also be: transfer the N resources to be transferred with the resource values included in the N resource information received by the server according to a preset ratio to the account of the terminal that uploaded the audio with the highest score, and then transfer the remaining ratio The resources to be transferred are evenly transferred to the accounts of other terminals that upload audio, but not limited to this.

进一步地,资源信息还可以包括参考信息,以使服务器根据该参考信息确定目标参考信息。若服务器确定该参考信息为目标参考信息,则终端需要根据该参考信息录制音频。Further, the resource information may also include reference information, so that the server determines 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.

进一步地,资源信息还可以包括总资源数值,用于指示N个资源信息包括的待转移资源的N个资源数值的总和。Further, the resource information may further include a total resource value, which is used to indicate the sum of N resource values of the resources to be transferred included in the N resource information.

步骤202、所述终端向服务器发送所述资源信息。Step 202: The terminal sends the resource information to the server.

相应地,N个终端中的每个终端均可以通过同一个即时通讯应用程序、音乐应用程序、社交平台(例如:音乐平台、论坛、HTML5网页)等向服务器发送资源信息,以使服务器存储N个资源信息包括的资源数值对应的N个待转移资源。Correspondingly, each of the N terminals can send resource information to the server through the same instant messaging application, music application, social platform (for example: music platform, forum, HTML5 webpage), etc., so that the server stores N The N resources to be transferred corresponding to the resource values included in the resource information.

步骤203、所述服务器接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数。Step 203: The server receives N pieces of resource information sent by N terminals, wherein each terminal sends one piece of resource information, each resource information includes a resource value of the resource to be transferred, and N is an integer greater than 1.

服务器接收到上述N个终端中的每个终端发送的资源信息后,可以存储N个资源信息包括的资源数值对应的N个待转移资源,并根据资源信息包括的内容,如:资源转移规则,对待转移资源进行处理。After receiving the resource information sent by each of the above N terminals, the server can 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, such as: resource transfer rules, The resource to be transferred is processed.

步骤204、所述服务器确定目标参考信息。Step 204: The server determines target reference information.

该步骤中,若接收到的N个资源信息中的至少一个资源信息中还包括参考信息,则服务器可以从该至少一个资源信息中包括的参考信息中随机选择一个参考信息作为目标参考信息。其中,参考信息可以是参考音频或参考文本。进一步地,参考音频可以为歌曲或相声等;参考文本可以为歌曲对应的歌词、歌曲名或歌曲类型,相声对应的台词或者节目名,或者朗诵的文本等。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 as the target reference information from the reference information included in the at least one piece of resource information. The reference information may be reference audio or reference text. Further, the reference audio may be a song or comic dialogue, etc.; the reference text may be the lyrics, song name or song type corresponding to the song, the line or program name corresponding to the comic dialogue, or the recited text.

另外,若某个资源信息中还包括参考信息,则该资源信息中同时包括一个参考信息和一个资源数值,可以理解的,同一个资源信息中的参考信息和资源数值之间存在对应关系。例如:资源信息A同时包括参考信息A1和资源数值A2,则参考信息A1和资源数值A2之间存在对应关系。因此,服务器可以从该至少一个资源信息中包括的参考信息中,选择其对应最大资源数值的参考信息作为目标资源信息。In addition, if a certain resource information also includes reference information, the resource information includes a reference information and a resource value at the same time. 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, if the resource information A includes both the reference information A1 and the resource value A2, there is a corresponding relationship between the reference information A1 and the resource value A2. Therefore, the server may select, from the reference information included in the at least one resource information, the reference information corresponding to the maximum resource value as the target resource information.

若接收到的N个资源信息中均未包括参考信息,则服务器可以自主在多媒体数据库中随机选择一个音频或音频对应的文本作为目标参考信息。其中,多媒体数据库可以为本地多媒体数据库,也可以为网络多媒体数据库。If none of the received N pieces of resource information includes reference information, the server may independently randomly select an audio or a text corresponding to the audio as the target reference information in the multimedia database. The multimedia database may be a local multimedia database or a network multimedia database.

其中,目标参考信息可以是音频,例如:歌曲或相声等;也可以是文本信息,例如:歌曲对应的歌词或歌曲名称,相声对应的台词或者节目名,或者朗诵的文本等。The target reference information may be audio, such as songs or comic dialogues, or text information, such as lyrics or song names corresponding to songs, lines or program names corresponding to comic dialogues, or recited texts.

步骤205、所述服务器向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息。Step 205: The server sends a resource transfer message to the N terminals, where the resource transfer message includes the target reference information.

该步骤中,服务器可以在接收到所述N个终端发送的资源获取请求后,向该N个终端中的每个终端发送资源转移消息。In this step, after receiving the resource acquisition request sent by the N terminals, the server may send a resource transfer message to each of the N terminals.

需要说明的是,本实施例中,只有提供待转移资源的账户才有资格得到争夺待转移资源的机会,即没有提供待转移资源的账户无权得到争夺待转移资源的机会。因此,若该N个终端的账户集成于同一个集合中,且该集合中还包括除该N个终端的账户外的其他终端的账户,则服务器在接收到除该N个终端的其他终端发送的资源获取请求后,可以对该资源获取请求不作任何响应,或者向发送该资源获取请求的终端发送提示消息,提示该终端无权获取资源转移消息。It should be noted that, in this embodiment, only accounts that provide resources to be transferred are eligible for the opportunity to compete for resources to be transferred, that is, accounts that do not provide resources to be transferred are not entitled to the opportunity to compete for resources to be transferred. Therefore, if the accounts of the N terminals are integrated into the same set, and the set also includes the accounts of other terminals except the accounts of the N terminals, the server will receive the data sent by the other terminals except the N terminals after receiving the After receiving the resource acquisition request, it may not respond to the resource acquisition request, or send a prompt message to the terminal that sent the resource acquisition request, indicating that the terminal has no right to acquire the resource transfer message.

步骤206、所述终端接收所述服务器发送的资源转移消息,所述资源转移消息包括目标参考信息。Step 206: The terminal receives a resource transfer message sent by the server, where the resource transfer message includes target reference information.

相应地,第一接收终端可以通过即时通讯应用程序、音乐应用程序、社交平台(例如:音乐平台、论坛、HTML5网页)等接收服务器发送的资源转移消息。Correspondingly, the first receiving terminal may receive the resource transfer message sent by the server through an instant messaging application, a music application, a social platform (eg, a music platform, a forum, an HTML5 webpage), and the like.

步骤207、所述终端读取所述资源转移消息。Step 207: The terminal reads the resource transfer message.

上述N个终端中的每个终端在接收到资源转移消息后,在即时通讯应用程序的界面显示资源转移消息的图标,终端的用户可以通过点击图标,或者摇一摇的方式获得争夺待转移资源的机会,然后读取资源转移消息,以使终端的用户获取目标参考信息,并根据目标参考信息录制音频。具体地,若资源转移消息包括的目标参考信息为音频,则终端播放该音频;若资源转移消息包括的目标参考信息为文本信息,则终端显示该文本信息。After receiving the resource transfer message, each of the above-mentioned N terminals displays an icon of the resource transfer message on the interface of the instant messaging application, and the user of the terminal can click on the icon or shake it to obtain the resource to be transferred. and then read the resource transfer message, so that the user of the terminal can obtain the target reference information and record audio according to the target reference information. Specifically, if the target reference information included in the resource transfer message is audio, the terminal plays the audio; if the target reference information included in the resource transfer message is text information, the terminal displays the text information.

步骤208、所述终端根据所述目标参考信息录制音频。Step 208: The terminal records audio according to the target reference information.

音频可以是终端的用户根据目标参考信息录制的自己的音频,也可以是终端的用户通过打开其他应用程序搜索目标参考信息对应的音频,然后录制该音频得到的音频,但不仅限于此。The audio may be his own audio recorded by the user of the terminal according to the target reference information, or may be the audio obtained by the user of the terminal by opening other applications to search for the audio corresponding to the target reference information, and then recording the audio, but not limited to this.

步骤209、所述终端向所述服务器发送所述音频。Step 209: The terminal sends the audio to the server.

相应地,上述N个终端中的每个终端可以通过同一个即时通讯应用程序、音乐应用程序、社交平台(例如:音乐平台、论坛、HTML5网页)等向所述服务器发送其录制的音频。Correspondingly, each of the above N terminals can send its recorded audio to the server through the same instant messaging application, music application, social platform (eg, music platform, forum, HTML5 webpage), etc.

步骤210、所述服务器接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频。Step 210: The server receives N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video.

步骤211、所述服务器从所述N个音频中选择满足预设条件的目标音频。Step 211: The server selects a target audio that satisfies a preset condition from the N audios.

该步骤中,服务器可以从多媒体数据库中检索得到目标参考信息对应的目标参考音频,再将接收到的N个音频分别与该目标参考音频进行对比评分,得到N个评分结果,以根据N个评分结果,从所述N个音频中选择满足预设条件的目标音频,例如:从所述N个音频中选择最高评分结果对应的音频作为目标音频,或者从所述N个音频中选择最低评分结果对应的音频作为目标音频。In this step, the server can retrieve the target reference audio corresponding to the target reference information from the multimedia database, and then compare and score the N received audios with the target reference audio to obtain N scoring results, so as to obtain N scores according to the N scores. As a result, the target audio that satisfies the preset condition is selected from the N audios, for example, the audio corresponding to the highest scoring result is selected from the N audios as the target audio, or the lowest scoring result is selected from the N audios The corresponding audio is used as the target audio.

需要说明的是,服务器在向终端发送资源转移消息后,可以开启计时功能,并在预设的时间内判断该接收终端是否上传音频。若该接收终端在预设的时间内没有上传音频,则可以视为该终端放弃争夺待转移资源的机会,服务器可以从接收到的音频中选择满足预设条件的目标音频。It should be noted that, after sending the resource transfer message to the terminal, the server may enable the timing function, and determine whether the receiving terminal uploads audio within a preset time. If the receiving terminal does not upload the audio within the preset time, it may be considered that the terminal has given up the opportunity to compete for the resource to be transferred, and the server may select the target audio that satisfies the preset condition from the received audio.

步骤212、所述服务器向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。Step 212: The server sends all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

本实施例中,服务器按照预先获取的资源转移规则,向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。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 pieces of resource information to the target terminal that uploads the target audio according to the pre-acquired resource transfer rules.

具体地,若资源转移规则为:将服务器接收到的N个资源信息中包括的资源数值对应的N个待转移资源,全部转移至上传评分最高的音频的终端的账户中。则向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部资源。Specifically, if the resource transfer rule is: transfer all N resources to be transferred corresponding to 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. Then, all resources of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information are sent to the target terminal that uploads the target audio.

若资源转移规则为:将服务器接收到的N个资源信息中包括的资源数值的N个待转移资源,按照预设的比例转移至上传评分最高的音频的终端的账户中,再将余下比例的待转移资源平均转移至其他上传音频的终端的账户中。则向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的部分资源,并将剩余部分资源平均转移至其他上传音频的终端的账户中。例如:在N个待转移资源为10元,预设的比例为0.5,共有5个终端上传了录制的音频的情境下,若5个终端中的终端A上传的音频的评分结果最高,则终端A的账户可以获得5元,其他4个终端的账户可以或得1元。If the resource transfer rule is: transfer the N resources to be transferred with 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 the preset ratio, and then transfer the remaining proportion of The resources to be transferred are evenly transferred to the accounts of other terminals that upload audio. Then, send 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, and transfer the remaining part of the resources to the accounts of other audio-uploading terminals on average. For example: in the situation where the N resources to be transferred are 10 yuan, the preset ratio is 0.5, and a total of 5 terminals have uploaded the recorded audio, if the audio uploaded by terminal A among the 5 terminals has the highest score, the terminal A has the highest score. A's account can get 5 yuan, and the accounts of the other 4 terminals can get 1 yuan.

本实施例的资源转移方法,接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;确定目标参考信息,所述目标参考信息包括目标参考音频或目标参考文本;向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;从所述N个音频中选择满足预设条件的目标音频;向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。本发明可以避免服务器向非期望的接收终端转移待转移资源,从而提高了资源转移的效果。The resource transfer method in this embodiment receives N pieces of resource information sent by N terminals, wherein each terminal sends one piece of resource information, and each piece of resource information includes a resource value of the resource to be transferred, where N is an integer greater than 1 ; determine target reference information, the target reference information includes target reference audio or target reference text; send a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information; receive the N N audios uploaded by the terminal according to the target reference information, wherein each terminal uploads one audio and video; select the target audio that meets the preset condition from the N audios; send the target audio to the target terminal that uploaded the target audio. All or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information. The present invention can prevent the server from transferring the resource to be transferred to the undesired receiving terminal, thereby improving the effect of resource transfer.

参见图3,图3是本发明实施例提供的另一种资源转移方法的流程图,本实施例与上述实施例的主要区别在于:Referring to FIG. 3, FIG. 3 is a flowchart of another resource transfer method provided by an embodiment of the present invention. The main differences between this embodiment and the above-mentioned embodiments are:

针对于用于服务器的资源转移方法,对所述接收N个终端发送的N个资源信息作了进一步的限定,具体为:接收发起终端发送的资源信息,该资源信息包括叠加份数和一个待转移资源的资源数值;向N-1个终端发送资源叠加消息,所述N等于所述叠加份数;接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息,其中,所述N-1个资源信息中每个资源信息包括一个待转移资源的资源数值。For the resource transfer method for the server, the receiving N pieces of resource information sent by the N terminals is further limited, specifically: receiving the resource information sent by the initiating terminal, the resource information includes the number of superimposed copies and a waiting The resource value of the transferred resource; sending a resource overlay message to N-1 terminals, where N is equal to the number of overlays; receiving N-1 resource information sent by the N-1 terminals according to the resource overlay message, Wherein, each resource information in the N-1 pieces of resource information includes a resource value of the resource to be transferred.

针对于用于N个终端的资源转移方法,其中,对于发起终端,所述资源信息还包括待叠加份数;对于N-1个终端,所述确定资源信息之前,对方法作了进一步的限定,具体为:接收所述服务器发送的资源叠加消息。For the resource transfer method for N terminals, wherein, for the initiating terminal, the resource information further includes the number of copies to be superimposed; for N-1 terminals, the method is further limited before the resource information is determined , specifically: receiving the resource overlay message sent by the server.

步骤301、发起终端确定资源信息,所述资源信息包括叠加份数和一个待转移资源对应的资源数值。Step 301: The initiating terminal determines resource information, where the resource information includes the number of overlapping copies and a resource value corresponding to a resource to be transferred.

本发明的资源转移方法,提供待转移资源的账户对应的终端为至少两个,在实际应用中,可以由一个终端启动资源转移的流程,本实施例中,将启动资源转移流程的终端记为发起终端。In the resource transfer method of the present invention, there are at least two terminals corresponding to the account that provides the resource to be transferred. In practical applications, one terminal may initiate the resource transfer process. In this embodiment, the terminal that initiates the resource transfer process is denoted as Initiate the terminal.

发起终端确定的资源信息与其他提供待转移资源的账户对应的终端确定的资源信息的区别之一在于,发起终端确定的资源信息包括叠加份数,以决定提供待转移资源的账户对应的终端的数量。其中,每个叠加份数对应一个终端。例如发起终端1确定叠加份数为3,则发起终端先发送一个资源信息,还需要终端2和终端3各发送一个资源信息,才能使发送资源信息的发起终端1、终端2和终端3获得争夺待转移资源的机会。One of the differences between the resource information determined by the initiating terminal and the resource information determined by other terminals corresponding to the accounts that provide the resources to be transferred is that the resource information determined by the initiating terminal includes the number of superimposed copies to determine the resource information of the terminals corresponding to the accounts that provide the resources to be transferred. quantity. Wherein, each stacking number corresponds to one terminal. For example, if the initiating terminal 1 determines that the number of overlapping shares is 3, the initiating terminal first sends a resource information, and the terminal 2 and terminal 3 each need to send a resource information, so that the initiating terminal 1, terminal 2 and terminal 3 that send the resource information can obtain the contention. Opportunities to transfer resources.

可选的,发起终端确定的资源信息中还包括参考信息。Optionally, the resource information determined by the initiating terminal further includes reference information.

步骤302、所述发起终端向服务器发送确定的资源信息。Step 302: The initiating terminal sends the determined resource information to the server.

步骤303、所述服务器接收发起终端发送的资源信息。Step 303: The server receives the resource information sent by the initiating terminal.

步骤304、所述服务器向N-1个终端发送资源叠加消息,所述N等于所述叠加份数,所述N为大于1的整数。Step 304: The server sends a resource superimposition message to N-1 terminals, where N is equal to the number of superimposed copies, and N is an integer greater than 1.

该步骤中,所述N-1个终端可以由发起终端指定,也可以是发起终端向服务器发送资源信息时,发起终端的账户所在的集合中的其它任意N-1个账户对应的终端,但不仅限于此。In this step, the N-1 terminals may be designated by the initiating terminal, or may be terminals corresponding to any other N-1 accounts in the set where the initiating terminal's account is located when the initiating terminal sends resource information to the server, but Not limited to this.

可选的,所述向N-1个终端发送资源叠加消息,包括:向N-1个终端发送资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态。Optionally, the sending the resource superposition message to the N-1 terminals includes: sending the resource superposition message to the N-1 terminals and first state control information, where the first state control information is used to control all The resource overlay message is in an overlay non-transferable state.

本发明实施例中,服务器在向N-1个终端发送资源叠加消息时,还可向所述N-1个终端发送第一状态控制信息,以提示N-1个终端是否确定参与该资源转移流程中。其中,第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态。在实际应用中,所述资源叠加信息的叠加不可转移状态可通过资源叠加消息的显示颜色进行表征,例如:若资源叠加消息显示为灰色,则表征资源叠加消息处于叠加不可转移状态。资源叠加消息在叠加不可转移状态期间,表示提供的待转移资源份数未达到发起移动终端预设的份额,此时,任何终端都暂时没有机会争夺待转移资源。In this embodiment of the present invention, when sending the resource superimposition message to the N-1 terminals, the server may also send first state control information to the N-1 terminals to prompt the N-1 terminals whether to determine whether to participate in the resource transfer. in the process. The first state control information is used to control the resource superimposition message to be in a superimposed non-transferable state. In practical applications, the superimposed non-transferable state of the resource overlay information can be represented by the display color of the resource overlay message. For example, if the resource overlay message is displayed in gray, it means that the resource overlay message is in the superimposed non-transferable state. When the resource superposition message is in the superimposed non-transferable state, it indicates that the number of resource shares to be transferred has not reached the preset share of the initiating mobile terminal, and at this time, any terminal has no chance to compete for the resource to be transferred temporarily.

步骤305、所述N-1个终端接收所述服务器发送的资源叠加消息。Step 305: The N-1 terminals receive the resource overlay message sent by the server.

该步骤中,资源叠加消息可以包括叠加份数,已叠加份数,待叠加份数,当前总资源数值等信息。In this step, the resource superposition message may include information such as the number of superimposed copies, the number of superimposed copies, the number of copies to be superimposed, and the current total resource value.

可选的,所述接收所述服务器发送的资源叠加消息,包括:接收所述服务器发送的资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态。Optionally, the receiving the resource overlay message sent by the server includes: receiving the resource overlay message sent by the server and first state control information, where the first state control information is used to control the resource The overlay message is in an overlay non-transferable state.

步骤306、所述N-1个终端根据所述资源叠加消息确定资源信息,所述资源信息包括一个待转移资源对应的资源数值。Step 306: The N-1 terminals determine resource information according to the resource overlay message, where the resource information includes a resource value corresponding to a resource to be transferred.

该步骤中,所述N-1个终端在接收到资源叠加消息后,显示资源叠加消息,并可通过点击资源叠加消息,确定资源信息。In this step, after receiving the resource overlay message, the N-1 terminals display the resource overlay message, and can determine the resource information by clicking on the resource overlay message.

可选的,所述N-1个终端确定的资源信息中还包括参考信息。Optionally, the resource information determined by the N-1 terminals further includes reference information.

步骤307、所述N-1个终端向服务器发送确定的资源信息。Step 307: The N-1 terminals send the determined resource information to the server.

该步骤中,所述N-1个终端向服务器发送确定的资源信息,以确定参与该资源转移流程中。In this step, the N-1 terminals send the determined resource information to the server to determine to participate in the resource transfer process.

步骤308、所述服务器接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息,其中,所述N-1个资源信息中每个资源信息包括一个待转移资源的资源数值。Step 308: The server receives N-1 pieces of resource information sent by the N-1 terminals according to the resource overlay message, wherein each resource information in the N-1 pieces of resource information includes a resource information of a resource to be transferred. Resource value.

可选的,所述接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息之后,所述向所述N个终端发送资源转移消息之前,所述方法还包括:Optionally, after receiving the N-1 resource information sent by the N-1 terminals according to the resource overlay message, and before sending a resource transfer message to the N terminals, the method further includes:

向所述N-1个终端发送第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。Send second state control information to the N-1 terminals, where the second state control information is used to control the resource overlay message to be in a transferable state.

该步骤中,在服务器接收到的资源信息数量达到N时,可以向所述N-1个终端发送第二状态控制信息,以提示发送了资源信息的终端,可争夺待转移资源。其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。在实际应用中,所述资源叠加信息的可转移状态可通过资源叠加消息的显示颜色进行表征,例如:若资源叠加消息显示为红色,则表征资源叠加消息处于可转移状态。资源叠加消息在可转移状态期间,表示提供的待转移资源份数达到发起移动终端预设的份额,此时,发送了资源信息的终端,有机会争夺待转移资源。In this step, when the number of resource information received by the server reaches N, the server may send second state control information to the N-1 terminals to prompt the terminals that have sent the resource information to compete for the resource to be transferred. Wherein, the second state control information is used to control the resource overlay message to be in a transferable state. In practical applications, the transferable state of the resource overlay information can be represented by the display color of the resource overlay message. For example, if the resource overlay message is displayed in red, it indicates that the resource overlay message is in a transferable state. When the resource overlay message is in the transferable state, it indicates that the number of resource shares to be transferred has reached the preset share of the initiating mobile terminal. At this time, the terminal that has sent the resource information has the opportunity to compete for the resource to be transferred.

步骤309、所述服务器确定目标参考信息。Step 309: The server determines target reference information.

可选的,所述接收N个终端发送的N个资源信息,包括:Optionally, the receiving N pieces of resource information sent by N terminals includes:

接收N个终端发送的N个资源信息,以及所述N个终端中的发起终端发送的参考信息,所述参考信息包括参考音频或参考文本;receiving N pieces of resource information sent by N terminals, and reference information sent by an initiating terminal in the N terminals, where the reference information includes reference audio or reference text;

所述确定能够目标参考信息,包括:The determining can target reference information, including:

将所述发起终端发送的参考信息确定为目标参考信息。The reference information sent by the initiating terminal is determined as target reference information.

该步骤中,若发起终端的资源信息中包括参考信息,则可直接将该参考信息作为目标参考信息。例如:发起终端的资源信息中包括的参考信息为歌曲A,则服务器可直接将歌曲A确定为目标参考信息;或者,发起终端的资源信息中包括的参考信息为歌曲类型1,则服务器可随机从属于歌曲类型1的歌曲中选择一首歌曲作为目标参考信息。In this step, if the resource information of the initiating terminal includes reference information, the reference information can be directly used as the target reference information. For example: if the reference information included in the resource information of the initiating terminal is song A, the server may directly determine song A as the target reference information; or, if the reference information included in the resource information of the initiating terminal is song type 1, the server may randomly One song is selected from the songs belonging to the song genre 1 as the target reference information.

可选的,所述接收N个终端发送的N个资源信息,包括:Optionally, the receiving N pieces of resource information sent by N terminals includes:

接收N个终端发送的N个资源信息和N个参考信息,其中,每个终端发送一个参考信息,所述参考信息包括参考音频或参考文本;receiving N pieces of resource information and N pieces of reference information sent by N terminals, wherein each terminal sends one piece of reference information, and the reference information includes reference audio or reference text;

所述确定目标参考信息,包括:The determining target reference information includes:

从所述N个资源信息包括的资源数值中选择数值最大的目标资源数值;Select the target resource value with the largest value from the resource values included in the N resource information;

将目标终端发送的参考信息确定为目标参考信息,其中,所述目标终端为发送包括所述目标资源数值的资源信息的终端。The reference information sent by the target terminal is determined as target reference information, wherein the target terminal is a terminal that sends resource information including the target resource value.

该步骤中,以第一终端发送的资源信息包括的资源数值为10元,第二终端发送的资源信息包括的资源数值为8元,第三终端发送的资源信息包括的资源数值为15元为例进行说明:3个资源信息包括的资源数值中数值最大为15元,则可以将该资源数值作为目标资源数值,第三终端作为目标终端,服务器可以根据第三终端发送的参考信息确定目标参考信息。例如:第三终端的资源信息中包括的参考信息为歌曲C,则服务器可直接将歌曲C确定为目标参考信息;或者,第三终端的资源信息中包括的参考信息为歌曲类型3,则服务器可随机从属于歌曲类型3的歌曲中选择一首歌曲作为目标参考信息。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. Example to illustrate: the maximum value of the resource values included in the three resource information is 15 yuan, then the resource value can be used as the target resource value, the third terminal is used as the target terminal, and the server can determine the target reference according to the reference information sent by the third terminal. information. For example: if the reference information included in the resource information of the third terminal is song C, the server can directly determine song C as the target reference information; or, the reference information included in the resource information of the third terminal is song type 3, then the server One song may be randomly selected from songs belonging to the song type 3 as the target reference information.

步骤310、所述服务器向N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息。Step 310: The server sends a resource transfer message to N terminals, where the resource transfer message includes the target reference information.

该步骤中,N个终端包括上述步骤中所述的发起终端和N-1个终端。In this step, the N terminals include the initiating terminal and N-1 terminals described in the above steps.

步骤311、所述N个终端接收所述服务器发送的资源转移消息,所述资源转移消息包括目标参考信息。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:

接收所述服务器发送的第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。Receive second state control information sent by the server, where the second state control information is used to control the resource overlay message to be in a transferable state.

步骤312、所述N个终端读取所述资源转移消息。Step 312: The N terminals read the resource transfer message.

步骤313、所述N个终端根据所述目标参考信息录制音频。Step 313: The N terminals record audio according to the target reference information.

步骤314、所述N个终端向所述服务器发送所述音频。Step 314: The N terminals send the audio to the server.

步骤315、所述服务器接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频。Step 315: The server receives N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video.

步骤316、所述服务器从所述N个音频中选择满足预设条件的目标音频。Step 316: The server selects a target audio that satisfies a preset condition from the N audios.

可选的,所述从所述N个音频中选择满足预设条件的目标音频,包括:Optionally, selecting the target audio that satisfies a preset condition from the N audios includes:

对所述N个音频分别进行评分,得到N个分数值;Scoring the N audios respectively to obtain N score values;

从所述N个分数值中选择分数值最高的目标分数值;Selecting the target score value with the highest score value from the N score values;

确定目标分数值对应的音频为目标音频。The audio corresponding to the target score value is determined as the target audio.

该步骤中,服务器可以从多媒体数据库中检索得到目标参考信息对应的目标参考音频,再将接收到的N个音频分别与该目标参考音频进行对比评分,得到N个分数值,并从所述N个分数值中选择分数值最高的目标分数值,以及确定目标分数值对应的音频为目标音频。例如:第一音频的分数值为75分,第二音频的分数值为78分,第三音频的分数值为71分,则可以将第二音频确定为目标音频。In this step, the server can retrieve the target reference audio corresponding to the target reference information from the multimedia database, and then compare and score the N received audios with the target reference audio respectively to obtain N score values. The target score value with the highest score value is selected from the score values, and the audio corresponding to the target score value is determined as the target audio frequency. For example, if the score of the first audio is 75 points, the score of the second audio is 78, and the score of the third audio is 71, the second audio can be determined as the target audio.

步骤317、所述服务器向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。Step 317: The server sends all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

需要说明的是,在本实施例中,仅阐述了与图2中方法实施例不同的部分,相同部分的描述请参见图2中方法实施例的说明,在此不再赘述。另外,为方便理解,在实际应用中,本发明实施例中的资源叠加消息、资源转移消息在每个终端中可以采用同一个图标进行标识。It should be noted that, in this embodiment, only the parts different from the method embodiment shown in FIG. 2 are described. For the description of the same parts, please refer to the description of the method embodiment shown in FIG. 2 , which will not be repeated here. In addition, for the convenience of understanding, in practical applications, the resource overlay message and the resource transfer message in the embodiment of the present invention may be identified by the same icon in each terminal.

为方便理解,以发起终端发送一个可叠加的红包歌曲为例对本发明实施例中的资源转移方法进行举例说明,具体如下:For the convenience of understanding, the resource transfer method in the embodiment of the present invention is illustrated by taking the initiating terminal to send a red envelope song that can be superimposed as an example, and the details are as follows:

发起终端自定义可叠加的歌曲红包,即用户在发起终端的即时通讯应用程序的界面设置可叠加的歌曲红包,例如:可叠加的歌曲红包的参考信息为歌曲A,资金数值为10元,叠加份数为3,即还需要另外两个终端向服务器发送资源信息,才能使发送资源信息的终端获得争夺红包的机会。之后,发起终端通过服务器将可叠加的歌曲红包的图标发送至第一终端和第二终端的即时通讯应用程序的界面,此时,图标显示为灰色。The initiating terminal customizes the superimposable song red envelopes, that is, the user sets the superimposable song red envelopes on the interface of the instant messaging application of the initiating terminal, for example: the reference information of the superimposable song red envelopes is song A, and the fund value is 10 yuan. The number of copies is 3, that is, two other terminals are required to send resource information to the server, so that the terminal sending the resource information can obtain the opportunity to compete for the red envelope. After that, the initiating terminal sends the icon of the superimposable song red envelope to the interface of the instant messaging application of the first terminal and the second terminal through the server, and at this time, the icon is displayed in gray.

第一终端和第二终端接收到可叠加的歌曲红包的图标后,在即时通讯应用程序的界面显示该图标,并可以通过点击图标,在显示界面中设置并向服务器发送资源信息,从而确定参与歌曲红包的叠加,即资源转移流程中。例如:第二终端设置的资源信息的资金数值为2元,第三终端设置的资源信息的资金数值为5元。After the first terminal and the second terminal receive the icon of the superimposable song red envelope, the icon is displayed on the interface of the instant messaging application, and by clicking the icon, the resource information can be set in the display interface and sent to the server to determine participation. The superposition of song red envelopes is in the process of resource transfer. For example, the capital value of the resource information set by the second terminal is 2 yuan, and the capital value of the resource information set by the third terminal is 5 yuan.

当服务器接收到的资源信息数量达到3时,可叠加的歌曲红包显示为红色,并向发起终端、第一终端和第二终端发送歌曲A。此时,发送了资源信息的3个终端可以通过点击图标,或者摇一摇的方式获得争夺红包的机会。When the number of resource information received by the server reaches 3, the red envelopes of songs that can be superimposed are displayed in red, and song A is sent to the initiating terminal, the first terminal and the second terminal. At this time, the three terminals that have sent the resource information can obtain the opportunity to compete for the red envelope by clicking the icon or shaking it.

发起终端、第一终端和第二终端的用户可以根据歌曲A录制音频,并将录制的音频上传至服务器,服务器在接收到3个音频后,对3个音频进行评分。若发起终端上传的音频评分为81分,第一终端上传的音频评分为60分,第二终端上传的音频评分为90分,则可以将3个资金数值的总和,即17元对应的资金全部转移至第二终端的账户中。The users of the initiating terminal, the first terminal and the second terminal can record audio according to song A, and upload the recorded audio to the server. After receiving the three audios, the server scores the three audios. If the audio score uploaded by the initiating terminal is 81 points, the audio score uploaded by the first terminal is 60 points, and the audio score uploaded by the second terminal is 90 points, the sum of the three fund values, that is, all the funds corresponding to 17 yuan can be calculated. Transfer to the account of the second terminal.

本实施例的资源转移方法,服务器向上传上述目标音频的目标终端发送上述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源,可以避免服务器向非期望的接收终端转移待转移资源,从而提高了资源转移的效果,另外,提供待转移资源的账户对应的终端为至少两个,可以提高资源转移的趣味性。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 uploads the target audio, which can prevent the server from transferring to an undesired receiving terminal resources to be transferred, thereby improving the effect of resource transfer. In addition, there are at least two terminals corresponding to accounts that provide resources to be transferred, which can improve the interest of resource transfer.

参见图4,图4是本发明实施例提供的一种服务器的结构图,如图4所示,服务器400包括:第一接收模块401、确定模块402、第一发送模块403、第二接收模块404、选择模块405以及第二发送模块406。Referring to FIG. 4, FIG. 4 is a structural diagram of a server provided by an embodiment of the present invention. As shown in FIG. 4, the server 400 includes: a first receiving module 401, a determining module 402, a first sending module 403, and a second receiving module 404 , a selection module 405 and a second sending module 406 .

其中,第一接收模块401,用于接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;The first receiving module 401 is configured to receive N pieces of resource information sent by N terminals, wherein each terminal sends one piece of resource information, each resource information includes a resource value of a resource to be transferred, and N is greater than 1 the integer;

确定模块402,用于确定目标参考信息,所述目标参考信息包括目标参考音频或目标参考文本;A determining module 402, configured to determine target reference information, where the target reference information includes target reference audio or target reference text;

第一发送模块403,用于向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;a first sending module 403, configured to send a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information;

第二接收模块404,用于接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;The second receiving module 404 is configured to receive N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video;

选择模块405,用于从所述N个音频中选择满足预设条件的目标音频;A selection module 405, configured to select a target audio that satisfies a preset condition from the N audios;

第二发送模块406,用于向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。The second sending module 406 is configured to send all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

可选的,如图5所示,第一接收模块401,包括:Optionally, as shown in FIG. 5 , the first receiving module 401 includes:

第一接收子模块4011,用于接收发起终端发送的资源信息,该资源信息包括叠加份数和一个待转移资源的资源数值;The first receiving sub-module 4011 is used to receive resource information sent by the initiating terminal, where the resource information includes the number of superimposed copies and the resource value of a resource to be transferred;

发送子模块4012,用于向N-1个终端发送资源叠加消息,所述N等于所述叠加份数;A sending submodule 4012, configured to send a resource overlay message to N-1 terminals, where N is equal to the number of overlays;

第二接收子模块4013,用于接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息,其中,所述N-1个资源信息中每个资源信息包括一个待转移资源的资源数值。The second receiving sub-module 4013 is configured to receive N-1 pieces of resource information sent by the N-1 terminals according to the resource overlay message, wherein each resource information in the N-1 pieces of resource information includes a The resource value of the transferred resource.

可选的,发送子模块4012,具体用于向N-1个终端发送资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态;Optionally, the sending sub-module 4012 is specifically configured to send a resource superimposition message and first state control information to N-1 terminals, wherein the first state control information is used to control the resource superimposition message in a state where superimposition cannot be performed. transfer state;

如图6所示,服务器400还包括:As shown in FIG. 6, the server 400 further includes:

第三发送模块407,用于所述接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息之后,所述向所述N个终端发送资源转移消息之前,向所述N-1个终端发送第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。The third sending module 407 is configured to, after receiving the N-1 resource information sent by the N-1 terminals according to the resource superimposition message, and before sending the resource transfer message to the N terminals, send the message to the N-1 terminals. The N-1 terminals send second state control information, where the second state control information is used to control the resource overlay message to be in a transferable state.

可选的,第一接收模块401,具体用于接收N个终端发送的N个资源信息,以及所述N个终端中的发起终端发送的参考信息,所述参考信息包括参考音频或参考文本;Optionally, the first receiving module 401 is specifically configured to receive N pieces of resource information sent by N terminals, and reference information sent by an initiating terminal in the N terminals, where the reference information includes reference audio or reference text;

确定模块402,具体用于将所述发起终端发送的参考信息确定为目标参考信息。The determining module 402 is specifically configured to determine the reference information sent by the initiating terminal as target reference information.

可选的,第一接收模块401,具体用于接收N个终端发送的N个资源信息和N个参考信息,其中,每个终端发送一个参考信息,所述参考信息包括参考音频或参考文本;Optionally, the first receiving module 401 is specifically configured to receive N pieces of resource information and N pieces of reference information sent by N terminals, wherein each terminal sends one piece of reference information, and the reference information includes reference audio or reference text;

如图7所示,确定模块402,包括:As shown in Figure 7, the determining module 402 includes:

第一选择子模块4021,用于从所述N个资源信息包括的资源数值中选择数值最大的目标资源数值;The first selection sub-module 4021 is configured to select the target resource value with the largest value from the resource values included in the N resource information;

第一确定子模块4022,用于将目标终端发送的参考信息确定为目标参考信息,其中,所述目标终端为发送包括所述目标资源数值的资源信息的终端。The first determination sub-module 4022 is configured to determine the reference information sent by the target terminal as target reference information, where the target terminal is a terminal that sends resource information including the target resource value.

可选的,如图8所示,选择模块405,包括:Optionally, as shown in FIG. 8 , the selection module 405 includes:

评分子模块4051,用于对所述N个音频分别进行评分,得到N个分数值;The scoring sub-module 4051 is used to score the N audios respectively to obtain N score values;

第二选择子模块4052,用于从所述N个分数值中选择分数值最高的目标分数值;The second selection sub-module 4052 is used to select the target score value with the highest score value from the N score values;

第二确定子模块4053,用于确定目标分数值对应的音频为目标音频。The second determination sub-module 4053 is configured to determine the audio corresponding to the target score value as the target audio.

服务器400能够实现图2和图3对应的方法实施例中服务器实现的各个过程,且可以达到相同的技术效果,为避免重复,这里不再赘述。The server 400 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. To avoid repetition, details are not repeated here.

本发明实施例的服务器,向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源,可以避免服务器向非期望的接收终端转移待转移资源,从而提高了资源转移的效果。The server in this embodiment of the present invention 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, which can prevent the server from transferring to an undesired receiving terminal resources to be transferred, thereby improving the effect of resource transfer.

参见图9,图9是本发明实施例提供的一种终端的结构图,如图7所示,终端900包括:确定模块901、第一发送模块902、第一接收模块903、读取模块904、录制模块905以及第二发送模块906。Referring to FIG. 9 , FIG. 9 is a structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 7 , the terminal 900 includes: a determination module 901 , a first sending module 902 , a first receiving module 903 , and a reading module 904 , a recording module 905 and a second sending module 906 .

其中,确定模块901,用于确定资源信息,所述资源信息包括一个待转移资源对应的资源数值;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;

第一发送模块902,用于向服务器发送所述资源信息;a first sending module 902, configured to send the resource information to a server;

第一接收模块903,用于接收所述服务器发送的资源转移消息,所述资源转移消息包括目标参考信息;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;

读取模块904,用于读取所述资源转移消息;a reading module 904, configured to read the resource transfer message;

录制模块905,用于根据所述目标参考信息录制音频;a recording module 905, configured to record audio according to the target reference information;

第二发送模块906,用于向所述服务器发送所述音频。The second sending module 906 is configured to send the audio to the server.

可选的,所述资源信息还包括待叠加份数。Optionally, the resource information further includes the number of copies to be superimposed.

可选的,如图10所示,终端900还包括:Optionally, as shown in FIG. 10 , the terminal 900 further includes:

第二接收模块907,用于所述确定资源信息之前,接收所述服务器发送的资源叠加消息。The second receiving module 907 is configured to receive the resource overlay message sent by the server before the determining of the resource information.

可选的,第二接收模块907,具体用于接收所述服务器发送的资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态;Optionally, the second receiving module 907 is specifically configured to receive the resource superimposition message sent by the server and the first state control information, wherein the first state control information is used to control the resource superimposition message to be in a state where superimposition cannot be performed. transfer state;

如图11所示,终端还包括:As shown in Figure 11, the terminal also includes:

第三接收模块908,用于所述向服务器发送所述资源信息之后,所述接收所述服务器发送的资源转移消息之前,接收所述服务器发送的第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。The third receiving module 908 is configured to receive the 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, wherein the second state control information is sent by the server. The state control information is used to control the resource overlay message to be in a transferable state.

可选的,所述资源信息还包括参考信息。Optionally, the resource information further includes reference information.

接收终端900能够实现图2和图3对应的方法实施例中服务器实现的各个过程,且可以达到相同的技术效果,为避免重复,这里不再赘述。The receiving terminal 900 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, which is not repeated here to avoid repetition.

参见图12,图12是本发明实施例提供的另一种服务器的结构示意图,如图12所示,服务器1200包括:存储器1202、处理器1201、用户接口1203、收发机1204和总线接口。Referring to FIG. 12, FIG. 12 is a schematic structural diagram of another server provided by an embodiment of the present invention. As shown in FIG. 12, the server 1200 includes: a memory 1202, a processor 1201, a user interface 1203, a transceiver 1204, and a bus interface.

在本发明实施例中,服务器1200还包括:存储在存储器1202上并可在处理器1201上运行的计算机程序,计算机程序被处理器1201执行时实现如下步骤:In this embodiment of the present invention, the server 1200 further includes: a computer program stored in the memory 1202 and executable on the processor 1201, and the computer program is executed by the processor 1201 to implement the following steps:

接收N个终端发送的N个资源信息,其中,每个终端发送一个资源信息,每个资源信息包括一个待转移资源的资源数值,所述N为大于1的整数;Receive N pieces of resource information sent by N terminals, wherein each terminal sends one piece of 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, the target reference information includes target reference audio or target reference text;

向所述N个终端发送资源转移消息,其中,所述资源转移消息包括所述目标参考信息;sending a resource transfer message to the N terminals, wherein the resource transfer message includes the target reference information;

接收所述N个终端根据所述目标参考信息上传的N个音频,其中,每个终端上传一个音频视频;receiving N audios uploaded by the N terminals according to the target reference information, wherein each terminal uploads one audio and video;

从所述N个音频中选择满足预设条件的目标音频;Selecting a target audio that satisfies a preset condition from the N audios;

向上传所述目标音频的目标终端发送所述N个资源信息包括的资源数值对应的N个待转移资源的全部或部分资源。Send all or part of the N resources to be transferred corresponding to the resource values included in the N pieces of resource information to the target terminal that uploads the target audio.

在图12中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1201代表的一个或多个处理器和存储器1202代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1204可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1203还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 12, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1201 and various circuits of memory represented by memory 1202 linked together. The bus architecture may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and, therefore, will not be described further herein. The bus interface provides the interface. Transceiver 1204 may be a number of elements, including a transmitter and a receiver, that provide a means for communicating with various other devices over a transmission medium. For different user equipments, the user interface 1203 may also be an interface capable of externally connecting the required equipment, and the connected equipment includes but is not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

处理器1201负责管理总线架构和通常的处理,存储器1202可以存储处理器2601在执行操作时所使用的数据。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.

可选的,计算机程序被处理器1201执行所述接收N个终端发送的N个资源信息时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1201 for receiving N pieces of resource information sent by N terminals, the following steps may be implemented:

接收发起终端发送的资源信息,该资源信息包括叠加份数和一个待转移资源的资源数值;Receive resource information sent by the initiating terminal, where the resource information includes the number of overlapping copies and the resource value of a resource to be transferred;

向N-1个终端发送资源叠加消息,所述N等于所述叠加份数;Sending resource superimposition messages to N-1 terminals, where N is equal to the number of superimposed copies;

接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息,其中,所述N-1个资源信息中每个资源信息包括一个待转移资源的资源数值。N-1 pieces of resource information sent by the N-1 terminals according to the resource overlay message are received, wherein each resource information in the N-1 pieces of resource information includes a resource value of a resource to be transferred.

可选的,计算机程序被处理器1201执行所述向N-1个终端发送资源叠加消息时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1201, the following steps may be implemented:

向N-1个终端发送资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态;sending a resource superimposition message and first state control information to N-1 terminals, wherein the first state control information is used to control the resource superimposition message to be in a superimposition non-transferable state;

计算机程序被处理器1201执行所述接收所述N-1个终端根据所述资源叠加消息发送的N-1个资源信息之后,所述向所述N个终端发送资源转移消息之前,还可实现如下步骤:After the computer program is executed by the processor 1201, after receiving the N-1 pieces of resource information sent by the N-1 terminals according to the resource overlay message, and before the sending the resource transfer message to the N terminals, it is also possible to implement Follow the steps below:

向所述N-1个终端发送第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。Send second state control information to the N-1 terminals, where the second state control information is used to control the resource overlay message to be in a transferable state.

可选的,计算机程序被处理器1201执行所述接收N个终端发送的N个资源信息时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1201 for receiving N pieces of resource information sent by N terminals, the following steps may be implemented:

接收N个终端发送的N个资源信息,以及所述N个终端中的发起终端发送的参考信息,所述参考信息包括参考音频或参考文本;receiving N pieces of resource information sent by N terminals, and reference information sent by an initiating terminal in the N terminals, where the reference information includes reference audio or reference text;

计算机程序被处理器1201执行所述确定能够目标参考信息时,可实现如下步骤:When the computer program is executed by the processor 1201 to determine the target reference information, the following steps may be implemented:

将所述发起终端发送的参考信息确定为目标参考信息。The reference information sent by the initiating terminal is determined as target reference information.

可选的,计算机程序被处理器1201执行所述接收N个终端发送的N个资源信息时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1201 for receiving N pieces of resource information sent by N terminals, the following steps may be implemented:

接收N个终端发送的N个资源信息和N个参考信息,其中,每个终端发送一个参考信息,所述参考信息包括参考音频或参考文本;receiving N pieces of resource information and N pieces of reference information sent by N terminals, wherein each terminal sends one piece of reference information, and the reference information includes reference audio or reference text;

计算机程序被处理器1201执行确定目标参考信息时,可实现如下步骤:When the computer program is executed by the processor 1201 to determine the target reference information, the following steps can be implemented:

从所述N个资源信息包括的资源数值中选择数值最大的目标资源数值;Select the target resource value with the largest value from the resource values included in the N resource information;

将目标终端发送的参考信息确定为目标参考信息,其中,所述目标终端为发送包括所述目标资源数值的资源信息的终端。The reference information sent by the target terminal is determined as target reference information, wherein the target terminal is a terminal that sends resource information including the target resource value.

可选的,计算机程序被处理器1201执行所述从所述N个音频中选择满足预设条件的目标音频时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1201 to select the target audio that satisfies the preset condition from the N audios, the following steps may be implemented:

对所述N个音频分别进行评分,得到N个分数值;Scoring the N audios respectively to obtain N score values;

从所述N个分数值中选择分数值最高的目标分数值;Selecting the target score value with the highest score value from the N score values;

确定目标分数值对应的音频为目标音频。The audio corresponding to the target score value is determined as the target audio.

服务器1200能够实现图2和图3对应的方法实施例中服务器实现的各个过程,且可以达到相同的技术效果,为避免重复,这里不再赘述。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. To avoid repetition, details are not repeated here.

参见图13,图13是本发明实施例提供的另一种终端的结构图,如图13所示,终端1300包括:至少一个处理器1301、存储器1302、至少一个网络接口1304和用户接口1303。发送终端1300中的各个组件通过总线系统1305耦合在一起。可理解,总线系统1305用于实现这些组件之间的连接通信。总线系统1305除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图13中将各种总线都标为总线系统1305。终端1300还包括触控屏1306,触控屏1306可用于实现人机交互操作。另外,触控屏1306通过总线系统1305与发送终端的各个组件连接。Referring to FIG. 13 , FIG. 13 is a structural diagram of another terminal provided by an embodiment of the present invention. As shown in FIG. 13 , the terminal 1300 includes: at least one processor 1301 , a 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 the connection communication between these components. In addition to the data bus, the bus system 1305 also includes a power bus, a control bus, and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 1305 in FIG. 13 . The terminal 1300 further includes a touch screen 1306, and the touch screen 1306 can be used to implement human-computer interaction operations. In addition, the touch screen 1306 is connected to various components of the sending terminal through the bus system 1305 .

其中,用户接口1303可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。Among them, the user interface 1303 may include a display, a keyboard or a pointing device (eg, a mouse, a track ball, a touch pad or a touch screen, etc.).

可以理解,本发明实施例中的存储器1302可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable P ROM,EPROM)、电可擦除可编程只读存储器(Electrically EP ROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous D RAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleData Rate SD RAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SD RAM,ESDRAM)、同步连接动态随机存取存储器(Synch link D RAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器1302旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1302 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Erasable programmable read-only memory (Electrically EP ROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM , SDRAM), double data rate synchronous dynamic random access memory (DoubleData Rate SD RAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SD RAM, ESDRAM), synchronous link dynamic random access memory (Synch link D RAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 1302 of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

在一些实施方式中,存储器1302存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统13021和应用程序13022。In some embodiments, memory 1302 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set of them: operating system 13021 and applications 13022.

其中,操作系统13021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序13022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序13022中。The operating system 13021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 13022 includes 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 the embodiment of the present invention may be included in the application program 13022 .

在本发明实施例中,在本发明实施例中,发送终端1300还包括:存储在存储器1302上并可在处理器1301上运行的计算机程序,具体地,可以是应用程序13022中的计算机程序,计算机程序被处理器1301执行时实现如下步骤:In the embodiment of the present invention, in the embodiment of the present invention, the sending terminal 1300 further includes: a computer program stored in the memory 1302 and executable on the processor 1301, specifically, a computer program in the application program 13022, When the computer program is executed by the processor 1301, the following steps are implemented:

确定资源信息,所述资源信息包括一个待转移资源对应的资源数值;determining resource information, where the resource information includes a resource value corresponding to a resource to be transferred;

向服务器发送所述资源信息;sending the resource information to the server;

接收所述服务器发送的资源转移消息,所述资源转移消息包括目标参考信息;receiving a resource transfer message sent by the server, where the resource transfer message includes target reference information;

读取所述资源转移消息;read the resource transfer message;

根据所述目标参考信息录制音频;Record audio according to the target reference information;

向所述服务器发送所述音频。Send the audio to the server.

上述本发明实施例揭示的方法可以应用于处理器1301中,或者由处理器1301实现。处理器1301可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1301中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1301可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1302,处理器1301读取存储器1302中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the processor 1301 or implemented by the processor 1301 . The processor 1301 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 1301 or an instruction in the form of software. The above-mentioned processor 1301 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other possible Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. 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 conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 1302, and the processor 1301 reads the information in the memory 1302, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSP Device, DSPD), programmable logic Devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

可选的,所述资源信息还包括待叠加份数。Optionally, the resource information further includes the number of copies to be superimposed.

可选的,计算机程序被处理器1301执行所述确定资源信息之前,还可实现如下步骤:Optionally, before the computer program is executed by the processor 1301 to determine the resource information, the following steps may also be implemented:

接收所述服务器发送的资源叠加消息。A resource overlay message sent by the server is received.

可选的,计算机程序被处理器1301执行所述接收所述服务器发送的资源叠加消息时,可实现如下步骤:Optionally, when the computer program is executed by the processor 1301 to receive the resource overlay message sent by the server, the following steps may be implemented:

接收所述服务器发送的资源叠加消息,以及第一状态控制信息,其中,所述第一状态控制信息用于控制所述资源叠加消息处于叠加不可转移状态;receiving a resource overlay message sent by the server and first state control information, wherein the first state control information is used to control the resource overlay message to be in an overlay non-transferable state;

计算机程序被处理器1301执行向服务器发送所述资源信息之后,所述接收所述服务器发送的资源转移消息之前,还可实现如下步骤: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:

接收所述服务器发送的第二状态控制信息,其中,所述第二状态控制信息用于控制所述资源叠加消息处于可转移状态。Receive second state control information sent by the server, where the second state control information is used to control the resource overlay message to be in a transferable state.

可选的,所述资源信息还包括参考信息。Optionally, the resource information further includes reference information.

终端1300能够实现图2和图3对应的方法实施例中终端实现的各个过程,且可以达到相同的技术效果,为避免重复,这里不再赘述。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. To avoid repetition, details are not described here.

参见图14,图14是本发明实施例提供的资源转移系统的结构图,如图14所示,包括服务器1401和终端1402,其中,服务器1401可以是本发明实施例提供的任意实施方式的服务器,终端1402可以是本发明实施例提供的任意实施方式的终端,此处不作赘述。Referring to FIG. 14, FIG. 14 is a structural diagram of a resource transfer system provided by an embodiment of the present invention. As shown in FIG. 14, it includes a server 1401 and a terminal 1402, where the server 1401 may be a server of any implementation manner provided by the embodiment of the present invention. , the terminal 1402 may be a terminal of any implementation manner provided by the embodiments of the present invention, and details are not described here.

本发明实施例还提供一种计算机可读取存储介质,所述计算机可读取存储介质上存储有计算机程序,所述计算机程序被处理器执行时可实现上述任一资源转移方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。An 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, each of the foregoing resource transfer method embodiments can be implemented process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should 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 芝贝利有限公司 Method and system for implementing electronic coupons
US11809451B2 (en) * 2014-02-19 2023-11-07 Snowflake Inc. Caching systems and methods
CN106096927A (en) * 2016-05-27 2016-11-09 腾讯科技(深圳)有限公司 Method, device and server for updating information

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
CN115079884B (en) Method, device, equipment and storage medium for displaying conversation messages
CN111651684B (en) Method and device for recommending social users
CN107481007A (en) A kind of resource transfers method, relevant device and system
WO2009149354A2 (en) Systems and methods for creating and sharing a presentation
US20130144868A1 (en) Post Building and Search Creation
US9942393B2 (en) Audio chat management device and method
CN107527206A (en) A kind of resource transfers method, server, terminal and resource transfers system
CN107491667B (en) A resource transfer method, terminal, server and system
CN107492034B (en) Resource transfer method, server, receiving terminal and sending terminal
EP3243173A1 (en) Directing meeting entrants based on meeting role
KR20170101416A (en) Method for providing funding and consulting information related with entertainment by crowd funding system
WO2022192559A1 (en) Technologies for managing collaborative and multiplatform media content playlists
CN107493342B (en) Resource transfer method, related equipment and system
CN107566250B (en) Resource transfer method, related equipment and system
CN107705105A (en) A kind of resource transfers method, server, terminal and resource transfers system
CN110083467B (en) Method and device for processing applet message and computer storage medium
CN107481006B (en) Resource transfer method, server and terminal
CN107563734B (en) Resource transfer method, related equipment and system
CN107451909B (en) Resource transfer method, server, receiving terminal and sending terminal
CN114153362A (en) Information processing method and device
CN107483596A (en) A multimedia file sharing method, related equipment and system
CN107527205A (en) A kind of resource transfers method, server, receiving terminal and transmission terminal
CN107528900A (en) A kind of multimedia file processing method, relevant device and system
US12014111B2 (en) Democratic skip
CN107481005B (en) Resource transfer method, server, terminal and resource transfer system

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载