[go: up one dir, main page]

CN107181784A - A kind of resource allocation methods and device - Google Patents

A kind of resource allocation methods and device Download PDF

Info

Publication number
CN107181784A
CN107181784A CN201610141591.3A CN201610141591A CN107181784A CN 107181784 A CN107181784 A CN 107181784A CN 201610141591 A CN201610141591 A CN 201610141591A CN 107181784 A CN107181784 A CN 107181784A
Authority
CN
China
Prior art keywords
user
question
information
answer
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.)
Pending
Application number
CN201610141591.3A
Other languages
Chinese (zh)
Inventor
杨磊磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610141591.3A priority Critical patent/CN107181784A/en
Priority to TW106101726A priority patent/TWI683221B/en
Priority to PCT/CN2017/074870 priority patent/WO2017152788A1/en
Publication of CN107181784A publication Critical patent/CN107181784A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1053Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers
    • H04L67/1055Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers involving connection limits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种资源分配方法及装置,该方法包括:服务器接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息,将所述提示信息发送给所述用户,并接收所述用户的输入信息,将所述输入信息与所述预设信息进行匹配,根据匹配结果,为所述用户分配所述资源。通过上述方法,用户无需通过另一个应用平台或其他途径获得加密口令,直接回答提示信息即可获取资源,因此有效提高了资源分配时用户操作的便利性和连贯性。

The present invention discloses a resource allocation method and device. The method includes: a server receives resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information, and sends the prompt information to the user. , and receive input information from the user, match the input information with the preset information, and allocate the resource to the user according to the matching result. Through the above method, the user does not need to obtain an encrypted password through another application platform or other means, and can obtain resources by directly answering the prompt information, thus effectively improving the convenience and consistency of user operations during resource allocation.

Description

一种资源分配方法及装置A resource allocation method and device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种资源分配方法及装置。The present invention relates to the field of computer technology, in particular to a resource allocation method and device.

背景技术Background technique

随着信息技术的发展,人们已经可以随时随地的通过手机、平板电脑等终端与朋友分享资源,接收被分享的资源。With the development of information technology, people can share resources with friends and receive shared resources anytime and anywhere through terminals such as mobile phones and tablet computers.

现有技术中,为了使分享的资源更有私密性,资源的提供方可对发送到服务器的资源设定加密口令,资源的接收方则需要通过其他途径或平台来获取该加密口令,再使用该加密口令获取服务器中的该资源。In the prior art, in order to make the shared resources more private, the resource provider can set an encrypted password for the resource sent to the server, and the resource receiver needs to obtain the encrypted password through other channels or platforms, and then use The encrypted password obtains the resource in the server.

但是,由上述过程可见,资源的接收方在获取资源时,仍需要打开其他应用平台得到加密口令,这无疑降低了用户操作的便利性和连贯性。However, it can be seen from the above process that the recipient of the resource still needs to open other application platforms to obtain the encrypted password when obtaining the resource, which undoubtedly reduces the convenience and consistency of user operations.

发明内容Contents of the invention

本申请实施例提供一种资源分配方法及装置,用以解决现有技术中用户获取资源时,操作便利性和连贯性较低的问题。Embodiments of the present application provide a resource allocation method and device to solve the problem of low operational convenience and consistency when a user obtains resources in the prior art.

本申请实施例提供的一种资源分配方法,包括:A resource allocation method provided in an embodiment of the present application includes:

服务器接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息;The server receives resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information;

将所述提示信息发送给所述用户;并sending the reminder message to the user; and

接收所述用户的输入信息;receiving input from said user;

将所述输入信息与所述预设信息进行匹配;matching the input information with the preset information;

根据匹配结果,为所述用户分配所述资源。Allocate the resource to the user according to the matching result.

本申请实施例提供的一种资源分配方法,包括:A resource allocation method provided in an embodiment of the present application includes:

接收服务器发送的、与所述资源对应的提示信息;Receiving prompt information corresponding to the resource sent by the server;

向所述服务器发送用户的输入信息;sending the user's input information to the server;

接收所述服务器分配的部分资源,其中,所述部分资源是所述服务器根据所述输入信息以及保存的与所述提示信息对应的预设信息的匹配结果,为所述终端分配的。receiving a part of resources allocated by the server, wherein the part of resources is allocated by the server to the terminal according to a matching result of the input information and stored preset information corresponding to the prompt information.

本申请实施例提供的一种资源分配方法,包括:A resource allocation method provided in an embodiment of the present application includes:

终端向服务器发送资源;The terminal sends resources to the server;

接收第一用户输入的与所述资源对应的提示信息,以及与所述提示信息对应的预设信息;receiving prompt information corresponding to the resource and preset information corresponding to the prompt information input by the first user;

向所述服务器发送所述提示信息和所述预设信息,使所述服务器将所述提示信息发送给所述第二用户,并接收所述第二用户的输入信息,以便根据所述输入信息与所述预设信息的匹配结果,为所述第二用户分配所述资源。sending the prompt information and the preset information to the server, so that the server sends the prompt information to the second user, and receives the input information of the second user, so that according to the input information As a result of matching with the preset information, allocate the resource to the second user.

本申请实施例提供的一种红包金额分配方法,包括:A red envelope amount distribution method provided in an embodiment of the present application includes:

服务器接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案;The server receives the amount of the red envelope, a question corresponding to the amount of the red envelope, and an answer corresponding to the question;

将所述问题发送给所述用户;并send said question to said user; and

接收所述用户的回答信息;receiving the user's response information;

将所述回答信息与所述答案进行匹配;matching said answer information with said answer;

根据匹配结果,为所述用户分配所述红包金额。According to the matching result, the amount of the red envelope is distributed to the user.

本申请实施例提供的一种红包金额分配方法,包括:A red envelope amount distribution method provided in an embodiment of the present application includes:

接收所述服务器发送的、与所述红包金额对应的问题;receiving a question sent by the server and corresponding to the amount of the red envelope;

向所述服务器发送用户的回答信息;Send the user's answer information to the server;

接收所述服务器分配的部分红包金额,其中,所述部分红包金额是所述服务器根据所述回答信息以及保存的与所述问题对应的答案的匹配结果,为所述终端分配的。receiving a part of the red envelope amount allocated by the server, wherein the part of the red envelope amount is allocated by the server to the terminal according to the matching result of the answer information and the stored answer corresponding to the question.

本申请实施例提供的一种红包金额分配方法,包括:A red envelope amount distribution method provided in an embodiment of the present application includes:

终端向服务器发送红包金额;The terminal sends the red envelope amount to the server;

接收第一用户输入的与所述红包金额对应的问题,以及与所述问题对应的答案;Receiving a question corresponding to the amount of the red envelope input by the first user, and an answer corresponding to the question;

向所述服务器发送所述问题和所述答案,使所述服务器将所述问题发送给第二用户,并接收所述第二用户的回答信息,以便根据所述回答信息与所述答案的匹配结果,为所述第二用户分配所述红包金额。sending the question and the answer to the server, causing the server to send the question to the second user, and receive the answer information of the second user, so as to match the answer information with the answer As a result, the red envelope amount is allocated to the second user.

本申请实施例提供的一种资源分配装置,包括:A resource allocation device provided in an embodiment of the present application includes:

第一接收模块,用于接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息;A first receiving module, configured to receive resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information;

发送模块,用于将所述提示信息发送给所述用户;a sending module, configured to send the prompt information to the user;

第二接收模块,用于接收所述用户的输入信息;a second receiving module, configured to receive input information from the user;

匹配模块,用于将所述输入信息与所述预设信息进行匹配;a matching module, configured to match the input information with the preset information;

分配模块,用于根据匹配结果,为所述用户分配所述资源。An allocating module, configured to allocate the resource to the user according to the matching result.

本申请实施例提供的一种资源分配装置,包括:A resource allocation device provided in an embodiment of the present application includes:

第一接收模块,用于接收所述服务器发送的、与所述资源对应的提示信息;A first receiving module, configured to receive prompt information sent by the server and corresponding to the resource;

发送模块,用于向所述服务器发送用户的输入信息;a sending module, configured to send the user's input information to the server;

第二接收模块,用于接收所述服务器分配的部分资源,其中,所述部分资源是所述服务器根据所述输入信息以及保存的与所述提示信息对应的预设信息的匹配结果,为该装置分配的。The second receiving module is configured to receive a part of resources allocated by the server, wherein the part of resources is a matching result of the server according to the input information and saved preset information corresponding to the prompt information, for the device assigned.

本申请实施例提供的一种资源分配装置,包括:A resource allocation device provided in an embodiment of the present application includes:

第一发送模块,用于向服务器发送资源;The first sending module is configured to send resources to the server;

接收模块,用于接收第一用户输入的与所述资源对应的提示信息,以及与所述提示信息对应的预设信息;A receiving module, configured to receive prompt information corresponding to the resource input by the first user, and preset information corresponding to the prompt information;

第二发送模块,用于向所述服务器发送所述提示信息和所述预设信息,使所述服务器将所述提示信息发送给第二用户,并接收所述第二用户的输入信息,以便根据所述输入信息与所述预设信息的匹配结果,为所述第二用户分配所述资源。The second sending module is configured to send the prompt information and the preset information to the server, so that the server sends the prompt information to the second user, and receives the input information of the second user, so that Allocating the resource to the second user according to a matching result between the input information and the preset information.

本申请实施例提供的一种红包金额分配装置,包括:A red envelope amount distribution device provided in an embodiment of the present application includes:

第一接收模块,用于接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案;The first receiving module is used to receive the amount of the red envelope, a question corresponding to the amount of the red envelope, and an answer corresponding to the question;

发送模块,用于将所述问题发送给用户;A sending module, configured to send the question to the user;

第二接收模块,用于接收所述用户的回答信息;A second receiving module, configured to receive the user's answer information;

匹配模块,用于将所述回答信息与所述答案进行匹配;a matching module, configured to match the answer information with the answer;

分配模块,用于根据匹配结果,为所述用户分配所述红包金额。An allocation module, configured to allocate the red envelope amount to the user according to the matching result.

本申请实施例提供的一种红包金额分配装置,包括:A red envelope amount distribution device provided in an embodiment of the present application includes:

第一接收模块,用于接收所述服务器发送的、与所述红包金额对应的问题;A first receiving module, configured to receive a question sent by the server and corresponding to the amount of the red envelope;

发送模块,用于向所述服务器发送用户的回答信息;a sending module, configured to send the user's answer information to the server;

第二接收模块,用于接收所述服务器分配的部分红包金额,其中,所部分红包金额是所述服务器根据所述回答信息以及保存的与所述问题对应的答案的匹配结果,为该装置分配的。The second receiving module is configured to receive a part of the red envelope amount distributed by the server, wherein the part of the red envelope amount is allocated to the device by the server according to the matching result of the answer information and the stored answer corresponding to the question of.

本申请实施例提供的一种红包金额分配装置,包括:A red envelope amount distribution device provided in an embodiment of the present application includes:

第一发送模块,用于向服务器发送红包金额;The first sending module is used to send the red envelope amount to the server;

接收模块,用于接收第一用户输入的与所述红包金额对应的问题,以及与所述问题对应的答案;A receiving module, configured to receive a question corresponding to the amount of the red envelope input by the first user, and an answer corresponding to the question;

第二发送模块,用于向所述服务器发送所述问题和所述答案,使所述服务器将所述问题发送给第二用户,并接收所述第二用户的回答信息,以便根据所述回答信息与所述答案的匹配结果,为所述第二用户分配所述红包金额。The second sending module is configured to send the question and the answer to the server, so that the server sends the question to the second user, and receives the answer information of the second user, so that according to the answer According to the matching result of the information and the answer, the red envelope amount is allocated to the second user.

本申请提供一种资源分配的方法和装置,服务器接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息,将所述提示信息发送给所述用户,并接收所述用户的输入信息,将所述输入信息与所述预设信息进行匹配,根据匹配结果,为所述用户分配所述资源。通过上述方法,用户无需通过另一个应用平台或其他途径获得加密口令,直接回答提示信息即可获取资源,因此有效提高了资源分配时用户操作的便利性和连贯性。The present application provides a method and device for resource allocation. The server receives resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information, sends the prompt information to the user, and receives the The input information of the user is matched, the input information is matched with the preset information, and the resource is allocated to the user according to the matching result. Through the above method, the user does not need to obtain an encrypted password through another application platform or other means, and can obtain resources by directly answering the prompt information, thus effectively improving the convenience and consistency of user operations during resource allocation.

附图说明Description of drawings

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the attached picture:

图1为本申请实施例提供的资源分配过程;FIG. 1 is a resource allocation process provided by an embodiment of the present application;

图2为本申请实施例提供的红包金额分配过程;Fig. 2 is the distribution process of the red envelope amount provided by the embodiment of the present application;

图3为本申请实施例提供的红包金额的分配示意图;Fig. 3 is a schematic diagram of distribution of the red envelope amount provided by the embodiment of the present application;

图4为本申请实施例提供的资源分配装置结构示意图;FIG. 4 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application;

图5为本申请实施例提供的资源分配装置结构示意图;FIG. 5 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application;

图6为本申请实施例提供的资源分配装置结构示意图;FIG. 6 is a schematic structural diagram of a resource allocation device provided by an embodiment of the present application;

图7为本申请实施例提供的红包金额分配装置结构示意图;FIG. 7 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application;

图8为本申请实施例提供的红包金额分配装置结构示意图;FIG. 8 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application;

图9为本申请实施例提供的红包金额分配装置结构示意图。FIG. 9 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application.

具体实施方式detailed description

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

图1为本申请实施例提供的一种资源分配过程,该过程具体包括以下步骤:Figure 1 is a resource allocation process provided by the embodiment of the present application, which specifically includes the following steps:

S101:服务器接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息。S101: The server receives a resource, prompt information corresponding to the resource, and preset information corresponding to the prompt information.

在本申请实施例中,提供资源的用户想要将资源分享给自己的朋友时,可先通过终端上传待分配资源给服务器,并可自定义与所述资源相对应的提示信息以及与所述提示信息的预设信息,将提示信息与对应的预设信息同样上传给服务器。其中,本申请中所述的资源可以是任何形式的资源,如,文档、图片、视频、音频、金额,当然也可以是信息或数据,并且,所述资源可以是提供资源的用户在向服务器发送提示信息以及提示信息对应的预设信息的同时,发送给服务器的,也可以是提供资源的用户在向服务器发送提示信息以及提示信息对应的预设信息之前,发送给服务器的,也就是说,当提供资源的用户想要将资源分享给自己的朋友时,直接向服务器发送提示信息以及提示信息对应的预设信息即可。In this embodiment of the application, when the user who provides resources wants to share the resources with his friends, he can first upload the resources to be allocated to the server through the terminal, and can customize the prompt information corresponding to the resources and the For the preset information of the prompt information, the prompt information and the corresponding preset information are also uploaded to the server. Among them, the resources described in this application can be any form of resources, such as documents, pictures, videos, audio, money, and of course information or data, and the resources can be provided by the user who provides the resources to the server The prompt information and the preset information corresponding to the prompt information are sent to the server at the same time, or the user who provides the resource can send the prompt information and the preset information corresponding to the prompt information to the server before sending the prompt information and the preset information corresponding to the prompt information to the server, that is to say , when the user who provides the resource wants to share the resource with his friends, he can directly send the prompt message and the preset information corresponding to the prompt message to the server.

需要说明的是,提供资源的用户自定义的提示信息可以是多个问题,而预设信息可以是答案,并且针对每个提示信息(即,问题)也可设置至少一个预设信息(即,答案)。此外,该自定义的问题可以以文字、语音、视频中至少一种形式呈现,以下以提示信息为问题,预设信息为答案为例对本申请进行详细说明。It should be noted that the user-defined prompt information that provides resources can be a plurality of questions, and the preset information can be an answer, and at least one preset information (ie, Answer). In addition, the self-defined question can be presented in at least one form of text, voice, and video. The following uses the prompt information as the question and the preset information as the answer as an example to describe this application in detail.

例如,用户A最近有一个有趣的电子书库,该电子书库共计1000本电子书,其欲向朋友们分享此电子书库,则可通过终端向服务器上传该电子书库,并附加自己的问题,如:1.我们什么时候认识的?2.我们共同的爱好有什么?3.我们约定去哪里旅行?For example, user A recently has an interesting e-book library with a total of 1,000 e-books. If he wants to share this e-book library with his friends, he can upload the e-book library to the server through the terminal and attach his own questions, such as: 1. When did we meet? 2. What are our common hobbies? 3. Where do we agree to travel?

此外,用户A还可针对上述问题1,设置答案(即,预设信息),如:2008年9月15号、2008年9月、2008年。类似的,针对上述问题2设置答案:游泳、唱歌。针对上述问题3设置答案:西藏。In addition, user A can also set an answer (ie, preset information) for the above question 1, such as: September 15, 2008, September 2008, and 2008. Similarly, set answers to question 2 above: swimming, singing. Set the answer for the above question 3: Tibet.

S102:将所述提示信息发送给用户。S102: Send the prompt information to the user.

服务器接收到提供资源的用户(以下将提供资源的用户简称为资源提供方)发送来的资源后,可直接将该问题(即,提示信息)发送给其他获取资源的用户(以下将获取资源的用户简称为资源获取方),当然也可以实时监测是否接收到资源获取方发送的资源获取请求,当接收到资源获取方发送的资源获取请求后,则将该资源对应的问题(即,提示信息)发送给资源获取方。After the server receives the resource sent by the user who provides the resource (hereinafter referred to as the resource provider for short), the server can directly send the question (that is, prompt information) to other users who obtain the resource (hereinafter referred to as the user who obtains the resource). The user is referred to as the resource acquirer for short). Of course, it is also possible to monitor in real time whether the resource acquisition request sent by the resource acquirer is received. ) to the resource acquirer.

继续沿用上例,服务器接收用户A发送来的电子书库,该电子书库对应的三个问题以及三个问题对应的答案后,继续监测是否接收到其他用户(即,资源获取方)发来的资源获取请求,当服务器接收到其他用户发送的资源获取请求后,将三个问题发送给该其他用户。Continuing to use the above example, the server receives the e-book library sent by user A, after the three questions corresponding to the e-book library and the answers to the three questions, continue to monitor whether it receives resources from other users (that is, the resource acquirer) Acquisition request, when the server receives the resource acquisition request sent by other users, it sends three questions to the other users.

S103:接收所述用户的输入信息。S103: Receive input information from the user.

当资源提供方发送给服务器的问题是多个问题时,服务器接收到资源获取方发送的资源获取请求后,可先确定用户选择的问题,并接收资源获取方针对其所选择的问题发送的输入信息。When the resource provider sends multiple questions to the server, after receiving the resource acquisition request sent by the resource acquirer, the server can first determine the question selected by the user, and receive the input sent by the resource acquisition policy for the selected question information.

继续沿用上例,假设用户B、C向服务器发送获取该电子书库的请求,并获得了上述三个问题,用户B、C选择自己想要回答的问题,并将自己的回答信息(即,输入信息)发送至服务器。服务器则先确定用户B、C分别选择了哪几个问题,然后接收这两个用户针对各自所选择问题发送的回答信息。Continue to use the above example, assuming that users B and C send requests to the server to obtain the e-book library, and obtain the above three questions, users B and C select the questions they want to answer, and send their answer information (that is, enter information) to the server. The server first determines which questions are selected by users B and C respectively, and then receives the answer information sent by the two users for the questions selected by them.

如:用户B选择了问题1和问题2,服务器接收到用户B发送的针对问题1的回答信息“2008年9月15号”,接收到用户B针对问题2的回答信息“唱歌、跳舞”。For example: User B selects Question 1 and Question 2, the server receives the answer information "September 15, 2008" sent by User B to Question 1, and receives the answer information "Singing and dancing" from User B to Question 2.

类似的,用户C选择了问题2,服务器接收到用户C发送的针对问题2的回答信息“游泳、唱歌”。Similarly, user C selects question 2, and the server receives the answer information "swimming and singing" for question 2 sent by user C.

S104:将所述输入信息与所述预设信息进行匹配。S104: Match the input information with the preset information.

服务器接收到资源获取方发送的输入信息后,则可将对比该资源获取方发送的回答信息与资源提供方设定的答案(即,预设信息)是否一致,后续则可根据对比结果为资源获取方分配资源。After the server receives the input information sent by the resource acquirer, it can compare whether the answer information sent by the resource acquirer is consistent with the answer (that is, the preset information) set by the resource provider, and then it can follow up with the resource according to the comparison result. The acquirer allocates resources.

S105:根据匹配结果,为所述用户分配所述资源。S105: Allocate the resource to the user according to the matching result.

当资源提供方发送给服务器的问题是多个问题,且问题对应的答案为多个答案时,服务器则可在资源获取方选择的问题对应的各答案中,确定与该资源获取方发送的输入信息匹配的答案对应的答案权重,并确定该资源获取方选择的问题对应的问题权重,最后根据该答案权重和问题权重,为该资源获取方分配资源。具体的,服务器可为该资源获取方分配资源提供方所提供的全部资源中的部分资源。其中,该部分资源的资源量可以是该答案权重、该问题权重与全部资源的资源量的乘积。When the question sent by the resource provider to the server is multiple questions, and the answer corresponding to the question is multiple answers, the server can determine the corresponding input value sent by the resource acquirer among the answers corresponding to the question selected by the resource acquirer. The answer weight corresponding to the answer matched by the information is determined, and the question weight corresponding to the question selected by the resource acquirer is determined, and finally resources are allocated to the resource acquirer according to the answer weight and the question weight. Specifically, the server may allocate a part of all resources provided by the resource provider to the resource acquirer. Wherein, the resource quantity of the part of resources may be the product of the answer weight, the question weight and the resource quantity of all resources.

需要说明的是,所述问题权重、答案权重可由资源提供方自定义,也可以由服务器设置为默认的问题权重和答案权重。It should be noted that the question weights and answer weights can be customized by the resource provider, or can be set as default question weights and answer weights by the server.

继续沿用上例,用户A自定义了问题权重和答案权重,如表1所示。Continuing to use the above example, user A customizes the question weight and answer weight, as shown in Table 1.

表1Table 1

根据用户A如上述表1自定义的问题权重和答案权重,服务器针对用户B,由于用户B选择的是问题1和问题2,而针对问题1的回答信息“2008年9月15号”与问题1对应的答案中的答案11匹配,针对问题2的回答信息“唱歌、跳舞”与问题2对应的答案中的答案22匹配,因此,用户B的最终权重为:答案11的答案权重X问题1的问题权重+答案22的答案权重X问题2的问题权重=0.5X0.6+0.4X0.3=0.42。由于电子书库中共计1000本电子书,因此,服务器可向该用户B分配0.42X1000=420本电子书。According to the question weight and answer weight customized by user A as shown in Table 1 above, the server targets user B. Since user B chose question 1 and question 2, the answer information for question 1 "September 15, 2008" is the same as the question Answer 11 in the answer corresponding to 1 matches, and the answer information "singing and dancing" for question 2 matches answer 22 in the answer corresponding to question 2. Therefore, the final weight of user B is: answer weight of answer 11 X question 1 Question weight of + answer weight of answer 22×weight of question 2=0.5×0.6+0.4×0.3=0.42. Since there are a total of 1000 e-books in the e-book library, the server can allocate 0.42×1000=420 e-books to the user B.

类似的,针对用户C,该用户C选择的是问题2,其回答信息“游泳、唱歌”与问题2对应的答案中的答案21和答案22均匹配,因此用户C的最终权重为0.3,从而服务器可向该用户C分配0.3X1000=300本电子书。Similarly, for user C, the user C chooses question 2, and its answer information "swimming, singing" matches the answer 21 and answer 22 in the answer corresponding to question 2, so the final weight of user C is 0.3, so The server can allocate 0.3X1000=300 e-books to the user C.

通过上述方法可见,在用户A与朋友分享其电子书库时,无需通过短信、电话或者即时通讯等其他渠道来告诉用户B、C该电子书库的加密口令,用户B、C可在向服务器发送获取电子书库请求后,得到与该电子书库对应的问题,而因为用户A、B、C之间具备一定的社会关系,所以用户B、C很有可能知道与问题对应的答案,用户B、C可选择将要回答的问题,并发送与将要回答的问题相对应的的回答信息给服务器,然后即可获得电子书库的部分资源,从而操作更加便利更有连贯性。It can be seen from the above method that when user A shares his e-book library with his friends, he does not need to tell users B and C the encrypted password of the e-book library through other channels such as text messages, telephone calls or instant messaging. After the request from the e-book library, the questions corresponding to the e-book library are obtained, and because users A, B, and C have a certain social relationship, users B and C are likely to know the answers corresponding to the questions, and users B and C can Select the question to be answered, and send the answer information corresponding to the question to be answered to the server, and then part of the resources of the electronic library can be obtained, so that the operation is more convenient and more consistent.

另外,在上述过程中,服务器在为资源获取方分配资源时,除了考虑上述的问题权重以及答案权重以外,还可以考虑其他因素进行分配,如,可考虑资源获取方发送资源获取请求的顺序,即,可按照先到先得的原则,为资源获取方分配资源。具体的,资源提供方可自定义顺序权重,也可以由服务器设置默认的顺序权重,则当要获取资源的资源获取方为多个资源获取方时,服务器可根据接收到的各资源获取方的回答信息(即,输入信息)的先后顺序,以及各资源获取方的回答信息与答案的匹配结果,为各资源获取方分配资源。In addition, in the above process, when the server allocates resources to the resource acquirer, in addition to the above question weights and answer weights, other factors can also be considered for allocation. For example, the order in which the resource acquirer sends resource acquisition requests can be considered. That is, resources can be allocated to resource acquirers on a first-come, first-served basis. Specifically, the resource provider can customize the order weights, or the server can set the default order weights. When the resource acquirer to acquire resources is multiple resource acquirers, the server can The order of the answer information (that is, the input information) and the matching result between the answer information and the answer of each resource acquirer allocate resources to each resource acquirer.

继续沿用上例,假设用户A根据时间先后顺序,设置的顺序权重依次为0.5、0.3、0.2、0、0、……、0。用户B、C的回答先后顺序为用户B、C,则服务器确定:用户B的总权重为:最终权重X顺序权重=0.42X0.5=0.21。由于电子书库中共计1000本电子书,因此,服务器可向该用户B分配0.21X1000=210本电子书。用户C的总权重为:最终权重X顺序权重=0.3X0.3=0.09。由于电子书库中共计1000本电子书,因此,服务器可向该用户B分配0.09X1000=90本电子书。Continuing to use the above example, assume that user A sets the sequence weights as 0.5, 0.3, 0.2, 0, 0, ..., 0 according to the order of time. The sequence of answers from users B and C is user B and C, then the server determines that the total weight of user B is: final weight X sequential weight = 0.42X0.5 = 0.21. Since there are a total of 1000 e-books in the e-book library, the server can allocate 0.21×1000=210 e-books to the user B. The total weight of user C is: final weight X sequential weight = 0.3 X 0.3 = 0.09. Since there are a total of 1000 e-books in the e-book library, the server can allocate 0.09×1000=90 e-books to the user B.

进一步的,在本申请实施例中,服务器还可监测资源提供方所提供的资源是否在指定时间内全部分配完毕,若在指定时间内未全部分配时,则还可将剩余的资源(也即未分配的资源)返还给该资源提供方。其中,上述的指定时间可以由资源提供方自定义设置,也可以由服务器默认设置。Further, in this embodiment of the application, the server can also monitor whether all the resources provided by the resource provider have been allocated within the specified time, and if not all allocated within the specified time, the server can also allocate the remaining resources (that is, Unallocated resources) are returned to the resource provider. Wherein, the above-mentioned specified time can be customized by the resource provider, or can be set by default by the server.

相应的,基于上述图1所示的方法,当资源获取方要获取资源时,则可通过其终端向服务器发送针对资源的获取请求,并接收服务器根据该获取请求返回的、与该资源对应的问题,此时,资源获取方则可在该终端上输入回答信息,终端则向服务器发送该回答信息,服务器接收到该回答信息后,则可根据上述图1所示的方法为该资源获取方分配全部资源中的部分资源,终端则可接收该部分资源。Correspondingly, based on the method shown in Figure 1 above, when the resource acquirer wants to acquire a resource, it can send an acquisition request for the resource to the server through its terminal, and receive the resource corresponding to the resource returned by the server according to the acquisition request. question, at this time, the resource acquirer can input answer information on the terminal, and the terminal sends the answer information to the server. After the server receives the answer information, it can provide the resource acquirer with the method shown in Figure 1 above. A part of all resources is allocated, and the terminal can receive the part of resources.

其中,当该终端接收到的问题为多个问题时,该终端可先确定资源获取方选择的问题,再接收资源获取方针对该选择的问题输入的回答信息,最后将该选择的问题以及回答信息发送给服务器。Wherein, when the question received by the terminal is multiple questions, the terminal may first determine the question selected by the resource acquirer, then receive the answer information input by the resource acquirer for the selected question, and finally the selected question and the answer The information is sent to the server.

另外,终端在接收到服务器发送的各问题时,可通过文字形式、语音形式、视频形式中的至少一种形式,向资源获取方展示各问题。In addition, when the terminal receives the questions sent by the server, it can display the questions to the resource acquirer in at least one form of text, voice, and video.

以上为本申请实施例提供的一种资源分配过程,下面将以红包金额作为资源为例,说明红包金额分配过程,如图2所示。The above is a resource allocation process provided by the embodiment of the present application. In the following, the red envelope amount is used as an example to illustrate the red envelope amount allocation process, as shown in FIG. 2 .

图2为本申请实施例提供的一种红包金额分配过程,具体包括以下步骤:Figure 2 is a red envelope amount distribution process provided by the embodiment of the present application, which specifically includes the following steps:

S201:服务器接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案。S201: The server receives a red envelope amount, a question corresponding to the red envelope amount, and an answer corresponding to the question.

在本申请实施例中,红包金额提供方想要将红包金额分给自己的朋友时,可先通过终端上传红包金额给服务器,并自定义与红包金额相对应的问题以及与所述问题对应的答案。In the embodiment of this application, when the red envelope amount provider wants to distribute the red envelope amount to his friends, he can first upload the red envelope amount to the server through the terminal, and customize the question corresponding to the red envelope amount and the corresponding question. Answer.

例如,除夕夜,老李在大学班级社交网络群发送一个价值1000元的红包,他将该1000元红包金额上传至服务器,并附加自己定义的问题,如:1.我们是哪一年毕业的?2.我有哪些绰号?3.我们班去哪里毕业旅行?For example, on New Year’s Eve, Lao Li sent a red envelope worth 1,000 yuan to the social network group of his college class. He uploaded the amount of the 1,000 yuan red envelope to the server and added questions defined by himself, such as: 1. What year did we graduate? ? 2. What nicknames do I have? 3. Where will our class go on a graduation trip?

此外,老李还可针对上述问题1,设置答案:1995年。类似的,针对上述问题2设置答案:李二狗、变态李、数学天才。针对上述问题3设置答案:鼓浪屿、武夷山。In addition, Lao Li can also set the answer for the above question 1: 1995. Similarly, set the answer for the above question 2: Li Ergou, Perverted Li, Mathematics Genius. Set the answer for the above question 3: Gulangyu, Wuyishan.

S202:将所述问题发送给用户。S202: Send the question to the user.

服务器接收红包金额提供方发送来的红包金额后,可直接将自定义与红包金额相对应的问题发送给红包金额获取方,当然也可以实时监测是否接收到红包金额获取方发送的红包金额获取请求,当接收到红包金额获取方发送的红包金额获取请求后,则将该红包金额对应的问题发送给红包金额获取方。After the server receives the red envelope amount sent by the red envelope amount provider, it can directly send a custom question corresponding to the red envelope amount to the red envelope amount acquirer. Of course, it can also monitor in real time whether it has received the red envelope amount acquisition request sent by the red envelope amount acquirer. , after receiving the red envelope amount acquisition request sent by the red envelope amount acquirer, send the question corresponding to the red envelope amount to the red envelope amount acquirer.

继续沿用上例,服务器接收到老李发送的红包金额,三个问题以及三个问题对应的答案后,继续监测是否接收到其他用户(即,红包金额获取方)发来的红包金额获取请求,当服务器接收到其他用户发送的红包金额获取请求后,将三个问题发送给该其他用户。Continuing with the above example, after receiving the red envelope amount sent by Lao Li, the three questions and the corresponding answers to the three questions, the server continues to monitor whether it receives the red envelope amount acquisition request from other users (that is, the red envelope amount acquirer), After the server receives the red envelope amount acquisition request sent by other users, it sends three questions to the other users.

S203:接收所述用户的回答信息。S203: Receive answer information from the user.

当红包金额提供方给服务器的问题是多个问题时,服务器接收到红包金额获取方发送的红包金额获取请求后,可先确定用户选择的问题,并接收红包金额获取方针对其所选择的问题发送的回答信息。When the red envelope amount provider sends multiple questions to the server, after receiving the red envelope amount acquisition request sent by the red envelope amount acquirer, the server can first determine the question selected by the user, and receive the red envelope amount acquisition policy for the selected question The reply message sent.

继续沿用上例,用户老张、老王向服务器发送获取红包金额的请求,并获取了上述三个问题;老张、老王选择了自己想要回答的问题并将自己的答案(即,回答信息)发送至服务器。服务器则先确定老张、老王分别选择了哪几个问题,然后接收这两个用户针对各自所选择问题发送的回答信息。Continuing with the above example, users Lao Zhang and Lao Wang send requests to the server to obtain the amount of red envelopes, and obtain the above three questions; Lao Zhang and Lao Wang choose the questions they want to answer and give their answers (that is, answer information) to the server. The server first determines which questions Mr. Zhang and Mr. Wang have selected respectively, and then receives the answer information sent by these two users to the questions they respectively selected.

如:老张选择了问题1,服务器接收到老张发送的针对于问题1的回答信息“1995年”。For example: Lao Zhang chooses question 1, and the server receives the answer information "1995" for question 1 sent by Lao Zhang.

类似的,老王选择了问题2,服务器接收到老王发送的针对于问题2的回答信息“李二狗、变态李”。Similarly, Pharaoh chooses question 2, and the server receives the answer message "Li Ergou, Abnormal Li" sent by Pharaoh for question 2.

S204:将所述回答信息与所述答案进行匹配。S204: Match the answer information with the answer.

服务器接收到红包金额获取方发送的回答信息后,则可将对比该红包金额获取方发送的回答信息与红包金额提供方设定的答案是否一致,后续则可根据对比结果为红包金额获取方分配红包金额。After the server receives the answer information sent by the acquirer of the red envelope amount, it can compare whether the answer information sent by the acquirer of the red envelope amount is consistent with the answer set by the provider of the red envelope amount, and then distribute the red envelope amount to the acquirer according to the comparison result The amount of the red envelope.

S205:根据匹配结果,为所述用户分配所述红包金额。S205: Allocate the red envelope amount to the user according to the matching result.

当红包金额提供方发送给服务器的问题是多个问题,且问题对应的答案为多个答案时,服务器则可在红包金额获取方选择的问对应的各答案中,确定与该红包金额获取方发送的回答信息匹配的答案对应的答案权重,并确定该红包金额获取方选择的问题对应的问题权重,最后根据该答案权重和问题权重,为该红包金额获取方分配红包金额。具体的,服务器可为该红包金额获取方分配红包金额提供方所提供的全部红包金额中的部分红包金额。其中,该部分红包金额的数量可以是该答案权重、该问题权重与全部红包金额数量的乘积。需要说明的是,所述问题权重、答案权重,可由资源提供方自定义,也可以由服务器设置为默认的问题权重、答案权重。When the question sent to the server by the red envelope amount provider is multiple questions, and the answers corresponding to the questions are multiple answers, the server can determine the answer corresponding to the question selected by the red envelope amount acquirer. The answer weight corresponding to the answer matched by the sent answer information is determined, and the question weight corresponding to the question selected by the recipient of the red packet amount is determined, and finally the red packet amount is distributed to the recipient of the red packet amount according to the answer weight and the question weight. Specifically, the server may allocate a part of the red envelope amount in all the red envelope amounts provided by the red envelope amount provider to the red envelope amount acquirer. Wherein, the amount of the part of the red envelope may be the product of the weight of the answer, the weight of the question and the amount of the entire red envelope. It should be noted that the question weights and answer weights can be customized by the resource provider, or can be set as default question weights and answer weights by the server.

继续沿用上例,假设老张选择的问题1的问题权重为0.3,答案权重为0.8,老王选择的问题2的问题权重为0.4,答案权重为0.6,红包金额共计1000元,则服务器将给老张分配240元,给老王分配240元。Continuing with the above example, assuming that the question weight of question 1 chosen by Lao Zhang is 0.3 and the answer weight is 0.8, the question weight of question 2 chosen by Lao Wang is 0.4, the answer weight is 0.6, and the total red envelope amount is 1000 yuan, then the server will give Lao Zhang allocates 240 yuan, and Lao Wang allocates 240 yuan.

通过上述方法可见,在老李给同学发红包时,无需通过短信、电话或者即时通讯等其他渠道来告诉同学该红包金额的加密口令,老张、老王根据老李自定义的问题可直接输入相应的回答信息,服务器则可根据老张和老王的回答信息为二者分配红包金额,从而操作更加便利更有连贯性。Through the above method, it can be seen that when Lao Li sends red envelopes to his classmates, he does not need to tell his classmates the encrypted password of the red envelope amount through text messages, phone calls or instant messaging. Lao Zhang and Lao Wang can directly input the According to the corresponding answer information, the server can distribute the red envelope amount to Lao Zhang and Lao Wang according to the answer information of Lao Zhang and Lao Wang, so that the operation is more convenient and more consistent.

另外,在上述过程中,服务器在为红包金额获取方分配红包金额时,除了考虑上述的问题权重以及答案权重以外,还可以考虑其他因素进行分配,如,当红包金额获取方为多个红包金额获取方时,考虑红包金额获取方发送红包金额获取请求的顺序,即顺序权重。其中该顺序权重可由红包金额提供方自定义,也可以由服务器设置默认的顺序权重。In addition, in the above process, when the server allocates the red envelope amount to the recipient of the red envelope amount, in addition to considering the above question weight and answer weight, other factors can also be considered for distribution. For example, when the red envelope amount acquirer has multiple red envelope amount When the acquirer, consider the order in which the red envelope amount acquirer sends the red envelope amount acquisition request, that is, the order weight. The sequence weight can be customized by the provider of the red envelope amount, or a default sequence weight can be set by the server.

继续沿用上例,假设老张的顺序权重为0.5,老王的顺序权重为0.4,则服务器最终为老张分配240X0.5=120元,为老王分配240X0.4=96元。Continuing with the above example, assuming that Lao Zhang's order weight is 0.5 and Lao Wang's order weight is 0.4, the server finally allocates 240X0.5=120 yuan to Lao Zhang and 240X0.4=96 yuan to Lao Wang.

除此之外,在本申请实施例中,还可定义每个红包金额获取方获得红包金额上限。具体的,红包金额提供方可自定义或通过服务器默认设置红包金额获取方获得红包金额上限,如,老李自定义每个红包金额获取方获得红包金额上限为300元,则服务器根据上述问题权重、答案权重以及顺序权重,计算出要分配给某个红包金额获取方的金额大于300元时,则可直接为其分配300元。In addition, in the embodiment of the present application, it is also possible to define an upper limit of the amount of red envelopes that can be obtained by each red envelope amount acquirer. Specifically, the provider of the red envelope amount can customize or set the upper limit of the amount of the red envelope amount obtained by the recipient of the red envelope amount through the server by default. , answer weight, and sequence weight, if the calculated amount to be allocated to a certain red envelope amount acquirer is greater than 300 yuan, then 300 yuan can be directly allocated to it.

当然,红包金额提供方还可设置红包金额获取方的最大人数,则,每个红包金额获取方能够获得的红包金额上限则可设定为总的红包金额与该最大人数的比值。如,上例中,总的红包金额为1000元,如果老李设置的红包金额获取方的最大人数为10人,则每个红包金额获取方能够获得的红包金额上限为1000/10=100元。Of course, the red envelope amount provider can also set the maximum number of red envelope amount acquirers, then, the upper limit of the red envelope amount that each red envelope amount acquirer can obtain can be set as the ratio of the total red envelope amount to the maximum number of people. For example, in the above example, the total amount of red envelopes is 1,000 yuan. If the maximum number of red envelope recipients set by Lao Li is 10, the maximum amount of red envelopes that can be obtained by each red envelope amount recipient is 1000/10=100 yuan .

进一步的,在本申请实施例中,服务器还可监测红包金额提供方所提供的红包金额是否在指定时间内全部分配完毕,若在指定时间内未全部分配时,则还可将剩余的红包金额(也即未分配的红包金额)返还给该红包金额提供方。其中,上述的指定时间可以由红包金额提供方自定义设置,也可以由服务器默认设置。Further, in the embodiment of this application, the server can also monitor whether the red envelope amount provided by the red envelope amount provider is all distributed within the specified time, and if not all allocated within the specified time, then the remaining red envelope amount can also be distributed (that is, the undistributed red envelope amount) is returned to the red envelope amount provider. Wherein, the above specified time can be customized by the provider of the red envelope amount, or can be set by default by the server.

沿用上例,假设老李设定2小时内,若该红包金额未被完全分配,则在2小时后剩余的784块钱将返还给老李。Following the above example, assuming that Lao Li set the red envelope within 2 hours, if the amount of the red envelope is not fully distributed, the remaining 784 yuan will be returned to Lao Li after 2 hours.

相应的,基于上述图2所示的方法,当红包金额获取方要获取红包金额时,则可通过其终端向服务器发送针对红包金额的获取请求,并接收服务器根据该获取请求返回的、与该红包金额对应的问题,此时,红包金额获取方则可在该终端上输入回答信息,终端则向服务器发送该回答信息,服务器接收到该回答信息后,则可根据上述图2所示的方法为该红包金额获取方分配红包中的部分红包金额,终端则可接收该部分红包金额。Correspondingly, based on the method shown in Figure 2 above, when the party acquiring the amount of red envelopes wants to acquire the amount of red envelopes, it can send an acquisition request for the amount of red envelopes to the server through its terminal, and receive the information returned by the server according to the acquisition request, which is related to the amount of the red envelopes. For the question corresponding to the amount of the red envelope, at this time, the acquirer of the amount of the red envelope can enter the answer information on the terminal, and the terminal sends the answer information to the server. After the server receives the answer information, it can follow the method shown in Figure 2 above Part of the red packet amount is distributed to the recipient of the red packet amount, and the terminal can receive the portion of the red packet amount.

其中,当该终端接收到的问题为多个问题时,该终端可先确定红包金额获取方选择的问题,再接收红包金额获取方针对该选择的问题输入的回答信息,最后将该选择的问题以及回答信息发送给服务器。Wherein, when the questions received by the terminal are multiple questions, the terminal can first determine the question selected by the party acquiring the amount of red envelopes, then receive the answer information input by the party acquiring the amount of red envelopes to the selected question, and finally the selected question And the answer information is sent to the server.

另外,终端在接收到服务器发送的各问题时,可通过文字形式、语音形式、视频形式中的至少一种形式,向红包金额获取方展示各问题。In addition, when the terminal receives the various questions sent by the server, it can display the various questions to the red envelope amount acquirer in at least one form of text, voice, and video.

最后,为了更好的阐述本申请,在此给出整个红包金额的分配示意图,如图3所示。Finally, in order to better illustrate this application, a schematic diagram of the distribution of the entire red envelope amount is given here, as shown in FIG. 3 .

以上为本申请实施例提供的资源分配方法和红包金额分配方法,基于同样的思路,本申请还提供了相应的资源分配装置和红包金额分配装置,分别如图4、图5、图6、图7、图8、图9所示。The above are the resource allocation method and red envelope amount allocation method provided by the embodiment of this application. Based on the same idea, this application also provides a corresponding resource allocation device and a red envelope amount allocation device, as shown in Fig. 4, Fig. 5, Fig. 6 and Fig. 7. As shown in Figure 8 and Figure 9.

图4为本申请实施例提供的资源分配装置结构示意图,具体包括:FIG. 4 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application, specifically including:

第一接收模块401,用于接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息;The first receiving module 401 is configured to receive resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information;

发送模块402,用于将所述提示信息发送给所述用户;a sending module 402, configured to send the prompt information to the user;

第二接收模块403,用于接收所述用户的输入信息;The second receiving module 403 is configured to receive input information of the user;

匹配模块404,用于将所述输入信息与所述预设信息进行匹配;a matching module 404, configured to match the input information with the preset information;

分配模块405,用于根据匹配结果,为所述用户分配所述资源。The allocation module 405 is configured to allocate the resource to the user according to the matching result.

所述提示信息包括:多个问题;The prompt information includes: multiple questions;

与所述提示信息对应的预设信息包括:分别与每个问题对应的至少一个答案。The preset information corresponding to the prompt information includes: at least one answer respectively corresponding to each question.

所述第二接收模块403具体用于,确定所述用户选择的问题,接收所述用户针对所述选择的问题发送的输入信息;The second receiving module 403 is specifically configured to determine the question selected by the user, and receive input information sent by the user regarding the selected question;

所述分配模块405具体用于,在与所述选择的问题对应的准答案中,确定与所述输入信息匹配的答案对应的答案权重,确定所述选择的问题对应的问题权重,根据所述答案权重和所述问题权重,为所述用户分配所述资源。The assignment module 405 is specifically configured to, among the quasi-answers corresponding to the selected question, determine the answer weight corresponding to the answer matching the input information, determine the question weight corresponding to the selected question, according to the The answer weight and the question weight allocate the resource to the user.

所述用户包括多个用户;The user includes a plurality of users;

所述分配模块405具体用于,根据接收到各用户的输入信息的先后顺序,以及各用户的匹配结果,为各用户分配所述资源。The allocation module 405 is specifically configured to allocate the resource to each user according to the order in which the input information of each user is received and the matching result of each user.

所述提示信息包括:文字形式的提示信息、语音形式的提示信息、视频形式的提示信息中的至少一种。The prompt information includes: at least one of text prompt information, voice prompt information, and video prompt information.

所述提示信息包括:所述资源的发送方自定义的提示信息。The prompt information includes: prompt information customized by the sender of the resource.

所述分配模块405还用于,当所述资源在指定时间内未全部分配时,将剩余的所述资源返还给所述资源的发送方。The allocating module 405 is further configured to return the remaining resources to the sender of the resources when all the resources are not allocated within a specified time.

具体的,上述如图4所示的装置可以位于服务器中。Specifically, the above-mentioned apparatus as shown in FIG. 4 may be located in a server.

图5为本申请实施例提供的资源分配装置结构示意图,具体包括:FIG. 5 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application, specifically including:

第一接收模块501,用于接收所述服务器发送的、与所述资源对应的提示信息;The first receiving module 501 is configured to receive prompt information sent by the server and corresponding to the resource;

发送模块502,用于向所述服务器发送用户的输入信息;A sending module 502, configured to send user input information to the server;

第二接收模块503,用于接收所述服务器分配的部分资源,其中,所述部分资源是所述服务器根据所述输入信息以及保存的与所述提示信息对应的预设信息的匹配结果,为该装置分配的。The second receiving module 503 is configured to receive a part of resources allocated by the server, wherein the part of resources is a matching result of the server according to the input information and saved preset information corresponding to the prompt information, and is The device is assigned.

所述提示信息包括:多个问题;The prompt information includes: multiple questions;

所述发送模块502具体用于,确定用户选择的问题,接收所述用户输入的针对所述选择的问题的输入信息,向所述服务器发送所述选择的问题以及所述用户输入的输入信息。The sending module 502 is specifically configured to determine the question selected by the user, receive input information for the selected question input by the user, and send the selected question and the input information input by the user to the server.

所述装置还包括:展示模块504,用于在所述发送模块502向所述服务器发送用户的输入信息之前,以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的提示信息。The device also includes: a presentation module 504, configured to present to the user in at least one form of text, voice, or video before the sending module 502 sends the user's input information to the server. prompt information.

具体的,上述如图5所示的装置可以位于资源获取方终端中。Specifically, the above-mentioned apparatus as shown in FIG. 5 may be located in the terminal of the resource acquirer.

图6为本申请实施例提供的资源分配装置结构示意图,具体包括:FIG. 6 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application, specifically including:

第一发送模块601,用于向服务器发送资源;The first sending module 601 is configured to send resources to the server;

接收模块602,用于接收第一用户输入的与所述资源对应的提示信息,以及与所述提示信息对应的预设信息;A receiving module 602, configured to receive prompt information corresponding to the resource input by the first user, and preset information corresponding to the prompt information;

第二发送模块603,用于向所述服务器发送所述提示信息和所述预设信息,使所述服务器将所述提示信息发送给第二用户,并接收所述第二用户的输入信息,以便根据所述输入信息与所述预设信息的匹配结果,为所述第二用户分配所述资源。The second sending module 603 is configured to send the prompt information and the preset information to the server, so that the server sends the prompt information to the second user, and receives the input information of the second user, so as to allocate the resource to the second user according to a matching result between the input information and the preset information.

具体的,上述如图6所示的装置可以位于资源提供方终端中。Specifically, the above-mentioned apparatus as shown in FIG. 6 may be located in the terminal of the resource provider.

图7为本申请实施例提供的红包金额分配装置结构示意图,具体包括:Fig. 7 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application, specifically including:

第一接收模块701,用于接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案;The first receiving module 701 is used to receive the amount of the red envelope, the question corresponding to the amount of the red envelope, and the answer corresponding to the question;

发送模块702,用于将所述问题发送给用户;A sending module 702, configured to send the question to the user;

第二接收模块703,用于接收所述用户的回答信息;The second receiving module 703 is configured to receive the user's answer information;

匹配模块704,用于将所述回答信息与所述答案进行匹配;a matching module 704, configured to match the answer information with the answer;

分配模块705,用于根据匹配结果,为所述用户分配所述红包金额。The allocation module 705 is configured to allocate the red envelope amount to the user according to the matching result.

所述问题包括,多个问题;The questions include, a plurality of questions;

与所述问题对应的答案包括,分别与每个问题对应的至少一个答案。The answers corresponding to the questions include at least one answer respectively corresponding to each question.

所述第二接收模块703具体用于,确定所述用户选择的问题,接收所述用户针对所述选择的问题发送的回答信息;The second receiving module 703 is specifically configured to determine the question selected by the user, and receive answer information sent by the user to the selected question;

所述分配模块705具体用于,在与所述选择的问题对应的各答案中,确定与所述回答信息匹配的答案对应的答案权重,确定所述选择的问题对应的问题权重,根据所述答案权重和所述问题权重,为所述用户分配所述红包金额。The assigning module 705 is specifically configured to, among the answers corresponding to the selected question, determine the answer weight corresponding to the answer matching the answer information, determine the question weight corresponding to the selected question, according to the The answer weight and the question weight are used to distribute the red envelope amount to the user.

所述用户包括多个用户;The user includes a plurality of users;

所述分配模块705具体用于,根据接收到各用户的回答信息的先后顺序,以及各用户的匹配结果,为各用户分配所述红包金额。The allocation module 705 is specifically configured to allocate the red envelope amount to each user according to the order in which the answer information of each user is received and the matching results of each user.

所述问题包括:文字形式的问题、语音形式的问题、视频形式的问题中的至少一种。The questions include: at least one of questions in text form, questions in voice form, and questions in video form.

所述问题包括:所述红包金额的发送方自定义的问题。The question includes: a question defined by the sender of the amount of the red envelope.

所述分配模块705还用于,当所述红包金额在指定时间内未全部分配时,将剩余的红包金额返还给所述红包金额的发送方。The allocating module 705 is further configured to return the remaining amount of the red envelope to the sender of the amount of the red envelope when the amount of the red envelope is not fully allocated within a specified time.

具体的,上述如图7所示的装置可以位于服务器中。Specifically, the above-mentioned apparatus as shown in FIG. 7 may be located in a server.

图8为本申请实施例提供的红包金额分配装置结构示意图,具体包括:Fig. 8 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application, specifically including:

第一接收模块801,用于接收所述服务器发送的、与所述红包金额对应的问题;The first receiving module 801 is configured to receive a question sent by the server and corresponding to the amount of the red envelope;

发送模块802,用于向所述服务器发送用户的回答信息;A sending module 802, configured to send the user's answer information to the server;

第二接收模块803,用于接收所述服务器分配的部分红包金额,其中,所部分红包金额是所述服务器根据所述回答信息以及保存的与所述问题对应的答案的匹配结果,为该装置分配的。The second receiving module 803 is used to receive part of the red envelope amount allocated by the server, wherein the part of the red envelope amount is the matching result of the server according to the answer information and the stored answer corresponding to the question, and is the device distributed.

所述问题包括:多个问题;The questions include: a plurality of questions;

所述发送模块802具体用于,确定用户选择的问题,接收所述用户输入的针对所述选择的问题的回答信息,向所述服务器发送所述选择的问题以及所述用户输入的回答信息。The sending module 802 is specifically configured to determine the question selected by the user, receive the answer information input by the user for the selected question, and send the selected question and the answer information input by the user to the server.

所述装置还包括:展示模块804,用于在所述发送模块802向所述服务器发送用户的回答信息之前,以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的问题。The device also includes: a presentation module 804, configured to present to the user in at least one form of text, voice, or video before the sending module 802 sends the user's answer information to the server. The problem.

具体的,上述如图8所示的装置可以位于红包金额获取方终端中。Specifically, the above-mentioned device as shown in FIG. 8 may be located in the terminal of the red envelope amount acquirer.

图9为本申请实施例提供的红包金额分配装置结构示意图,具体包括:Fig. 9 is a schematic structural diagram of a red envelope amount distribution device provided by an embodiment of the present application, specifically including:

第一发送模块901,用于向服务器发送红包金额;The first sending module 901 is used to send the red envelope amount to the server;

接收模块902,用于接收第一用户输入的与所述红包金额对应的问题,以及与所述问题对应的答案;A receiving module 902, configured to receive a question corresponding to the amount of the red envelope input by the first user, and an answer corresponding to the question;

第二发送模块903,用于向所述服务器发送所述问题和所述答案,使所述服务器将所述问题发送给第二用户,并接收所述第二用户的回答信息,以便根据所述回答信息与所述答案的匹配结果,为所述第二用户分配所述红包金额。The second sending module 903 is configured to send the question and the answer to the server, so that the server sends the question to the second user, and receives the answer information of the second user, so that according to the According to the matching result of the answer information and the answer, the red envelope amount is allocated to the second user.

具体的,上述如图9所示的装置可以位于红包金额提供方终端中。Specifically, the above-mentioned device as shown in FIG. 9 may be located in the terminal of the red envelope amount provider.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (44)

1.一种资源分配方法,其特征在于,包括:1. A resource allocation method, characterized in that, comprising: 服务器接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息;The server receives resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information; 将所述提示信息发送给所述用户;并sending the reminder message to the user; and 接收所述用户的输入信息;receiving input from said user; 将所述输入信息与所述预设信息进行匹配;matching the input information with the preset information; 根据匹配结果,为所述用户分配所述资源。Allocate the resource to the user according to the matching result. 2.如权利要求1所述的方法,其特征在于,所述提示信息包括:多个问题;2. The method according to claim 1, wherein the prompt information includes: multiple questions; 与所述提示信息对应的预设信息包括:分别与每个问题对应的至少一个答案。The preset information corresponding to the prompt information includes: at least one answer respectively corresponding to each question. 3.如权利要求2所述的方法,其特征在于,接收所述用户的输入信息,具体包括:3. The method according to claim 2, wherein receiving the user's input information specifically comprises: 确定所述用户选择的问题;determining said user-selected question; 接收所述用户针对所述选择的问题发送的输入信息;receiving input information sent by the user regarding the selected question; 根据匹配结果,为所述用户分配所述资源,具体包括:Allocating the resource to the user according to the matching result, specifically including: 在与所述选择的问题对应的各答案中,确定与所述输入信息匹配的答案对应的答案权重;Among the answers corresponding to the selected question, determining an answer weight corresponding to an answer matching the input information; 确定所述选择的问题对应的问题权重;determining a question weight corresponding to the selected question; 根据所述答案权重和所述问题权重,为所述用户分配所述资源。Allocating the resource to the user according to the answer weight and the question weight. 4.如权利要求1或3所述的方法,其特征在于,所述用户包括多个用户;4. The method according to claim 1 or 3, wherein the user comprises a plurality of users; 根据匹配结果,为所述用户分配所述资源,具体包括:Allocating the resource to the user according to the matching result, specifically including: 根据接收到各用户的输入信息的先后顺序,以及各用户的匹配结果,为各用户分配所述资源。The resource is allocated to each user according to the order in which the input information of each user is received and the matching result of each user. 5.如权利要求1所述的方法,其特征在于,所述提示信息包括:文字形式的提示信息、语音形式的提示信息、视频形式的提示信息中的至少一种。5. The method according to claim 1, wherein the prompt information comprises: at least one of prompt information in text form, prompt information in voice form, and prompt information in video form. 6.如权利要求1所述的方法,其特征在于,所述提示信息包括:所述资源的发送方自定义的提示信息。6. The method according to claim 1, wherein the prompt information comprises: prompt information customized by the sender of the resource. 7.如权利要求1所述的方法,其特征在于,所述方法还包括:7. The method of claim 1, further comprising: 当所述资源在指定时间内未全部分配时,将剩余的所述资源返还给所述资源的发送方。When the resources are not all allocated within a specified time, return the remaining resources to the sender of the resources. 8.一种资源分配方法,其特征在于,包括:8. A resource allocation method, comprising: 接收服务器发送的、与所述资源对应的提示信息;Receiving prompt information corresponding to the resource sent by the server; 向所述服务器发送用户的输入信息;sending the user's input information to the server; 接收所述服务器分配的部分资源,其中,所述部分资源是所述服务器根据所述输入信息以及保存的与所述提示信息对应的预设信息的匹配结果,为所述终端分配的。receiving a part of resources allocated by the server, wherein the part of resources is allocated by the server to the terminal according to a matching result of the input information and stored preset information corresponding to the prompt information. 9.如权利要求8所述的方法,其特征在于,所述提示信息包括:多个问题;9. The method according to claim 8, wherein the prompt information includes: multiple questions; 向所述服务器发送用户的输入信息,具体包括:Send the user's input information to the server, specifically including: 确定用户选择的问题;determine the question selected by the user; 接收所述用户输入的针对所述选择的问题的输入信息;receiving input information from the user for the selected question; 向所述服务器发送所述选择的问题以及所述用户输入的输入信息。The selected question and the input information entered by the user are sent to the server. 10.如权利要求8所述的方法,其特征在于,向所述服务器发送用户的输入信息之前,所述方法还包括:10. The method according to claim 8, wherein before sending the user's input information to the server, the method further comprises: 以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的提示信息。The received prompt information is displayed to the user in at least one form of text, voice, and video. 11.一种资源分配方法,其特征在于,包括:11. A resource allocation method, comprising: 终端向服务器发送资源;The terminal sends resources to the server; 接收第一用户输入的与所述资源对应的提示信息,以及与所述提示信息对应的预设信息;receiving prompt information corresponding to the resource and preset information corresponding to the prompt information input by the first user; 向所述服务器发送所述提示信息和所述预设信息,使所述服务器将所述提示信息发送给所述第二用户,并接收所述第二用户的输入信息,以便根据所述输入信息与所述预设信息的匹配结果,为所述第二用户分配所述资源。sending the prompt information and the preset information to the server, so that the server sends the prompt information to the second user, and receives the input information of the second user, so that according to the input information As a result of matching with the preset information, allocate the resource to the second user. 12.一种红包金额分配方法,其特征在于,包括:12. A red envelope amount distribution method, characterized in that it comprises: 服务器接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案;The server receives the amount of the red envelope, a question corresponding to the amount of the red envelope, and an answer corresponding to the question; 将所述问题发送给所述用户;并send said question to said user; and 接收所述用户的回答信息;receiving the user's response information; 将所述回答信息与所述答案进行匹配;matching said answer information with said answer; 根据匹配结果,为所述用户分配所述红包金额。According to the matching result, the amount of the red envelope is distributed to the user. 13.如权利要求12所述的方法,其特征在于,所述问题包括:多个问题;13. The method of claim 12, wherein the question comprises: a plurality of questions; 与所述问题对应的答案包括:分别与每个问题对应的至少一个答案。The answers corresponding to the questions include: at least one answer respectively corresponding to each question. 14.如权利要求13所述的方法,其特征在于,接收用户的回答信息,具体包括:14. The method according to claim 13, wherein receiving the user's answer information specifically comprises: 确定所述用户选择的问题;determining said user-selected question; 接收所述用户针对所述选择的问题发送的回答信息;receiving answer information sent by the user for the selected question; 根据匹配结果,为所述用户分配所述红包金额,具体包括:According to the matching result, distribute the red envelope amount to the user, specifically including: 在与所述选择的问题对应的答案中,确定与所述回答信息匹配的答案对应的答案权重;Among the answers corresponding to the selected question, determining an answer weight corresponding to an answer matching the answer information; 确定所述选择的问题对应的问题权重;determining a question weight corresponding to the selected question; 根据所述答案权重和所述问题权重,为所述用户分配所述红包金额。According to the weight of the answer and the weight of the question, the amount of the red envelope is distributed to the user. 15.如权利要求12或14所述的方法,其特征在于,所述用户包括多个用户;15. The method according to claim 12 or 14, wherein the user comprises a plurality of users; 根据匹配结果,为所述用户分配所述红包金额,具体包括:According to the matching result, distribute the red envelope amount to the user, specifically including: 根据接收到各用户的回答信息的先后顺序,以及各用户的匹配结果,为各用户分配所述红包金额。According to the order in which the answer information of each user is received and the matching result of each user, the amount of the red envelope is distributed to each user. 16.如权利要求12所述的方法,其特征在于,所述问题包括:文字形式的问题、语音形式的问题、视频形式的问题中的至少一种。16. The method according to claim 12, wherein the questions include: at least one of questions in text form, questions in voice form, and questions in video form. 17.如权利要求12所述的方法,其特征在于,所述问题包括:所述红包金额的发送方自定义的问题。17. The method according to claim 12, wherein the question comprises: a question defined by the sender of the amount of the red envelope. 18.如权利要求12所述的方法,其特征在于,所述方法还包括:18. The method of claim 12, further comprising: 当所述红包金额在指定时间内未全部分配时,将剩余的红包金额返还给所述红包金额的发送方。When the amount of the red envelope is not fully distributed within the specified time, the remaining amount of the red envelope is returned to the sender of the amount of the red envelope. 19.一种红包金额分配方法,其特征在于,包括:19. A method for distributing the amount of a red envelope, comprising: 接收所述服务器发送的、与所述红包金额对应的问题;receiving a question sent by the server and corresponding to the amount of the red envelope; 向所述服务器发送用户的回答信息;Send the user's answer information to the server; 接收所述服务器分配的部分红包金额,其中,所述部分红包金额是所述服务器根据所述回答信息以及保存的与所述问题对应的答案的匹配结果,为所述终端分配的。receiving a part of the red envelope amount allocated by the server, wherein the part of the red envelope amount is allocated by the server to the terminal according to the matching result of the answer information and the stored answer corresponding to the question. 20.如权利要求19所述的方法,其特征在于,所述问题包括:多个问题;20. The method of claim 19, wherein the question comprises: a plurality of questions; 向所述服务器发送用户的回答信息,具体包括:Send the user's answer information to the server, specifically including: 确定用户选择的问题;determine the question selected by the user; 接收所述用户输入的针对所述选择的问题的回答信息;receiving answer information for the selected question input by the user; 向所述服务器发送所述选择的问题以及所述用户输入的回答信息。Sending the selected question and the answer information input by the user to the server. 21.如权利要求19所述的方法,其特征在于,向所述服务器发送用户的回答信息之前,所述方法还包括:21. The method according to claim 19, wherein before sending the user's answer information to the server, the method further comprises: 以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的问题。Displaying the received question to the user in at least one form of text, voice, and video. 22.一种红包金额分配方法,其特征在于,包括:22. A method for distributing the amount of a red envelope, comprising: 终端向服务器发送红包金额;The terminal sends the red envelope amount to the server; 接收第一用户输入的与所述红包金额对应的问题,以及与所述问题对应的答案;Receiving a question corresponding to the amount of the red envelope input by the first user, and an answer corresponding to the question; 向所述服务器发送所述问题和所述答案,使所述服务器将所述问题发送给第二用户,并接收所述第二用户的回答信息,以便根据所述回答信息与所述答案的匹配结果,为所述第二用户分配所述红包金额。sending the question and the answer to the server, causing the server to send the question to the second user, and receive the answer information of the second user, so as to match the answer information with the answer As a result, the red envelope amount is distributed to the second user. 23.一种资源分配的装置,其特征在于,包括:23. A device for resource allocation, comprising: 第一接收模块,用于接收资源、与所述资源对应的提示信息以及与所述提示信息对应的预设信息;A first receiving module, configured to receive resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information; 发送模块,用于将所述提示信息发送给所述用户;a sending module, configured to send the prompt information to the user; 第二接收模块,用于接收所述用户的输入信息;a second receiving module, configured to receive input information from the user; 匹配模块,用于将所述输入信息与所述预设信息进行匹配;a matching module, configured to match the input information with the preset information; 分配模块,用于根据匹配结果,为所述用户分配所述资源。An allocating module, configured to allocate the resource to the user according to the matching result. 24.如权利要求23所述的装置,其特征在于,所述提示信息包括:多个问题;24. The device according to claim 23, wherein the prompt information includes: multiple questions; 与所述提示信息对应的预设信息包括:分别与每个问题对应的至少一个答案。The preset information corresponding to the prompt information includes: at least one answer respectively corresponding to each question. 25.如权利要求24所述的装置,其特征在于,所述第二接收模块具体用于,确定所述用户选择的问题,接收所述用户针对所述选择的问题发送的输入信息;25. The device according to claim 24, wherein the second receiving module is specifically configured to determine the question selected by the user, and receive input information sent by the user regarding the selected question; 所述分配模块具体用于,在与所述选择的问题对应的各答案中,确定与所述输入信息匹配的答案对应的答案权重,确定所述选择的问题对应的问题权重,根据所述答案权重和所述问题权重,为所述用户分配所述资源。The assignment module is specifically configured to, among the answers corresponding to the selected question, determine the answer weight corresponding to the answer matching the input information, determine the question weight corresponding to the selected question, and according to the answer weight and the question weight, allocate the resource to the user. 26.如权利要求23或25所述的装置,其特征在于,所述用户包括多个用户;26. The apparatus according to claim 23 or 25, wherein the user comprises a plurality of users; 所述分配模块具体用于,根据接收到各用户的输入信息的先后顺序,以及各用户的匹配结果,为各用户分配所述资源。The allocation module is specifically configured to allocate the resource to each user according to the order in which the input information of each user is received and the matching results of each user. 27.如权利要求23所述的装置,其特征在于,所述提示信息包括:文字形式的提示信息、语音形式的提示信息、视频形式的提示信息中的至少一种。27. The device according to claim 23, wherein the prompt information comprises: at least one of prompt information in text form, prompt information in voice form, and prompt information in video form. 28.如权利要求23所述的装置,其特征在于,所述提示信息包括:所述资源的发送方自定义的提示信息。28. The device according to claim 23, wherein the prompt information comprises: prompt information customized by the sender of the resource. 29.如权利要求23所述的装置,其特征在于,所述分配模块还用于,当所述资源在指定时间内未全部分配时,将剩余的所述资源返还给所述资源的发送方。29. The device according to claim 23, wherein the allocation module is further configured to return the remaining resources to the sender of the resources when the resources are not fully allocated within a specified time . 30.一种资源分配的装置,其特征在于,包括:30. A device for resource allocation, comprising: 第一接收模块,用于接收所述服务器发送的、与所述资源对应的提示信息;A first receiving module, configured to receive prompt information sent by the server and corresponding to the resource; 发送模块,用于向所述服务器发送用户的输入信息;a sending module, configured to send the user's input information to the server; 第二接收模块,用于接收所述服务器分配的部分资源,其中,所述部分资源是所述服务器根据所述输入信息以及保存的与所述提示信息对应的预设信息的匹配结果,为该装置分配的。The second receiving module is configured to receive a part of resources allocated by the server, wherein the part of resources is a matching result of the server according to the input information and saved preset information corresponding to the prompt information, for the device assigned. 31.如权利要求30所述的装置,其特征在于,所述提示信息包括:多个问题;31. The device according to claim 30, wherein the prompt information includes: multiple questions; 所述发送模块具体用于,确定用户选择的问题,接收所述用户输入的针对所述选择的问题的输入信息,向所述服务器发送所述选择的问题以及所述用户输入的输入信息。The sending module is specifically configured to determine the question selected by the user, receive input information for the selected question input by the user, and send the selected question and the input information input by the user to the server. 32.如权利要求30所述的装置,其特征在于,所述装置还包括:32. The apparatus of claim 30, further comprising: 展示模块,用于在所述发送模块向所述服务器发送用户的输入信息之前,以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的提示信息。A display module, configured to display the received prompt information to the user in at least one form of text, voice, and video before the sending module sends the user's input information to the server. 33.一种资源分配的装置,其特征在于,包括:33. A device for resource allocation, comprising: 第一发送模块,用于向服务器发送资源;The first sending module is configured to send resources to the server; 接收模块,用于接收第一用户输入的与所述资源对应的提示信息,以及与所述提示信息对应的预设信息;A receiving module, configured to receive prompt information corresponding to the resource input by the first user, and preset information corresponding to the prompt information; 第二发送模块,用于向所述服务器发送所述提示信息和所述预设信息,使所述服务器将所述提示信息发送给第二用户,并接收所述第二用户的输入信息,以便根据所述输入信息与所述预设信息的匹配结果,为所述第二用户分配所述资源。The second sending module is configured to send the prompt information and the preset information to the server, so that the server sends the prompt information to the second user, and receives the input information of the second user, so that Allocating the resource to the second user according to a matching result between the input information and the preset information. 34.一种红包金额分配的装置,其特征在于,包括:34. A device for distributing red envelopes, characterized by comprising: 第一接收模块,用于接收红包金额、与所述红包金额对应的问题以及与所述问题对应的答案;The first receiving module is used to receive the amount of the red envelope, a question corresponding to the amount of the red envelope, and an answer corresponding to the question; 发送模块,用于将所述问题发送给用户;A sending module, configured to send the question to the user; 第二接收模块,用于接收所述用户的回答信息;A second receiving module, configured to receive the user's answer information; 匹配模块,用于将所述回答信息与所述答案进行匹配;a matching module, configured to match the answer information with the answer; 分配模块,用于根据匹配结果,为所述用户分配所述红包金额。An allocation module, configured to allocate the red envelope amount to the user according to the matching result. 35.如权利要求34所述的装置,其特征在于,所述问题包括,多个问题;35. The apparatus of claim 34, wherein the question comprises, a plurality of questions; 与所述问题对应的答案包括,分别与每个问题对应的至少一个答案。The answers corresponding to the questions include at least one answer respectively corresponding to each question. 36.如权利要求35所述的装置,其特征在于,所述第二接收模块具体用于,确定所述用户选择的问题,接收所述用户针对所述选择的问题发送的回答信息;36. The device according to claim 35, wherein the second receiving module is specifically configured to determine the question selected by the user, and receive answer information sent by the user to the selected question; 所述分配模块具体用于,在与所述选择的问题对应的答案中,确定与所述回答信息匹配的答案对应的答案权重,确定所述选择的问题对应的问题权重,根据所述答案权重和所述问题权重,为所述用户分配所述红包金额。The assignment module is specifically configured to, among the answers corresponding to the selected questions, determine the answer weights corresponding to the answers matching the answer information, determine the question weights corresponding to the selected questions, and determine the answer weights corresponding to the selected questions according to the answer weights and the weight of the question, assigning the red envelope amount to the user. 37.如权利要求34或36所述的装置,其特征在于,所述用户包括多个用户;37. The apparatus of claim 34 or 36, wherein the user comprises a plurality of users; 所述分配模块具体用于,根据接收到各用户的回答信息的先后顺序,以及各用户的匹配结果,为各用户分配所述红包金额。The allocation module is specifically configured to allocate the red envelope amount to each user according to the order in which the answer information of each user is received and the matching results of each user. 38.如权利要求34所述的装置,其特征在于,其特征在于,所述问题包括:文字形式的问题、语音形式的问题、视频形式的问题中的至少一种。38. The device according to claim 34, wherein the questions include: at least one of questions in text form, questions in voice form, and questions in video form. 39.如权利要求34所述的装置,其特征在于,所述问题包括:所述红包金额的发送方自定义的问题。39. The device according to claim 34, wherein the question comprises: a question defined by the sender of the amount of the red envelope. 40.如权利要求34所述的装置,其特征在于,所述分配模块还用于,当所述红包金额在指定时间内未全部分配时,将剩余的红包金额返还给所述红包金额的发送方。40. The device according to claim 34, wherein the allocation module is further configured to return the remaining amount of the red envelope to the sender of the amount of the red envelope when the amount of the red envelope is not fully allocated within a specified time square. 41.一种红包金额分配的装置,其特征在于,包括:41. A device for distributing red envelopes, characterized by comprising: 第一接收模块,用于接收所述服务器发送的、与所述红包金额对应的问题;A first receiving module, configured to receive a question sent by the server and corresponding to the amount of the red envelope; 发送模块,用于向所述服务器发送用户的回答信息;a sending module, configured to send the user's answer information to the server; 第二接收模块,用于接收所述服务器分配的部分红包金额,其中,所部分红包金额是所述服务器根据所述回答信息以及保存的与所述问题对应的答案的匹配结果,为该装置分配的。The second receiving module is configured to receive a part of the red envelope amount distributed by the server, wherein the part of the red envelope amount is allocated to the device by the server according to the matching result of the answer information and the stored answer corresponding to the question of. 42.如权利要求41所述的装置,其特征在于,所述问题包括:多个问题;42. The apparatus of claim 41, wherein the question comprises: a plurality of questions; 所述发送模块具体用于,确定用户选择的问题,接收所述用户输入的针对所述选择的问题的回答信息,向所述服务器发送所述选择的问题以及所述用户输入的回答信息。The sending module is specifically configured to determine the question selected by the user, receive the answer information input by the user for the selected question, and send the selected question and the answer information input by the user to the server. 43.如权利要求41所述的装置,其特征在于,所述装置还包括:43. The device of claim 41, further comprising: 展示模块,用于在所述发送模块向所述服务器发送用户的回答信息之前,以文字形式、语音形式、视频形式中的至少一种形式,向用户展示接收到的问题。The presentation module is used to present the received question to the user in at least one form of text, voice, and video before the sending module sends the user's answer information to the server. 44.一种红包金额分配的装置,其特征在于,包括:44. A device for distributing red envelopes, characterized by comprising: 第一发送模块,用于向服务器发送红包金额;The first sending module is used to send the red envelope amount to the server; 接收模块,用于接收第一用户输入的与所述红包金额对应的问题,以及与所述问题对应的答案;A receiving module, configured to receive a question corresponding to the amount of the red envelope input by the first user, and an answer corresponding to the question; 第二发送模块,用于向所述服务器发送所述问题和所述答案,使所述服务器将所述问题发送给第二用户,并接收所述第二用户的回答信息,以便根据所述回答信息与所述答案的匹配结果,为所述第二用户分配所述红包金额。The second sending module is configured to send the question and the answer to the server, so that the server sends the question to the second user, and receives the answer information of the second user, so that according to the answer According to the matching result of the information and the answer, the red envelope amount is allocated to the second user.
CN201610141591.3A 2016-03-11 2016-03-11 A kind of resource allocation methods and device Pending CN107181784A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201610141591.3A CN107181784A (en) 2016-03-11 2016-03-11 A kind of resource allocation methods and device
TW106101726A TWI683221B (en) 2016-03-11 2017-01-18 Resource allocation method and device
PCT/CN2017/074870 WO2017152788A1 (en) 2016-03-11 2017-02-25 Resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610141591.3A CN107181784A (en) 2016-03-11 2016-03-11 A kind of resource allocation methods and device

Publications (1)

Publication Number Publication Date
CN107181784A true CN107181784A (en) 2017-09-19

Family

ID=59790068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610141591.3A Pending CN107181784A (en) 2016-03-11 2016-03-11 A kind of resource allocation methods and device

Country Status (3)

Country Link
CN (1) CN107181784A (en)
TW (1) TWI683221B (en)
WO (1) WO2017152788A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009809A (en) * 2017-12-18 2018-05-08 苏州燕云网络技术有限公司 Electronics red packet distribution method and device based on position and time
CN108196952A (en) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 A kind of resource allocation methods, device and equipment
CN108305057A (en) * 2018-01-22 2018-07-20 平安科技(深圳)有限公司 Dispensing apparatus, method and the computer readable storage medium of electronics red packet
CN111506424A (en) * 2020-04-09 2020-08-07 拉扎斯网络科技(上海)有限公司 Configuration method and device of service resources

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810643A (en) * 2018-06-01 2018-11-13 沈文策 A kind of red packet distribution method, device and live broadcast system
CN111582862B (en) * 2020-06-26 2023-06-27 腾讯科技(深圳)有限公司 Information processing method, device, system, computer equipment and storage medium
CN112650583B (en) * 2020-12-23 2024-07-02 新奥新智科技有限公司 Resource allocation method and device, readable medium and electronic equipment
CN113010756A (en) * 2021-03-23 2021-06-22 维沃移动通信(杭州)有限公司 Red packet resource sending method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501467A (en) * 2013-09-06 2014-01-08 上海骋娱传媒技术有限公司 Method and equipment used for video resource access control
CN103501465A (en) * 2013-09-06 2014-01-08 上海骋娱传媒技术有限公司 Method and equipment used for video resource access control
CN103632332A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Subject question and answer method, device and system
CN204810436U (en) * 2015-06-16 2015-11-25 陈红红 Information interactive system based on position
CN105100162A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Virtual good sending method and device, receiving method and device, and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6160423A (en) * 1998-03-16 2000-12-12 Jazio, Inc. High speed source synchronous signaling for interfacing VLSI CMOS circuits to transmission lines
US7085842B2 (en) * 2001-02-12 2006-08-01 Open Text Corporation Line navigation conferencing system
CN105337841B (en) * 2014-08-15 2020-04-07 腾讯科技(深圳)有限公司 Information processing method and system, client and server
CN105681056B (en) * 2016-01-13 2019-03-19 阿里巴巴集团控股有限公司 Object distribution method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501467A (en) * 2013-09-06 2014-01-08 上海骋娱传媒技术有限公司 Method and equipment used for video resource access control
CN103501465A (en) * 2013-09-06 2014-01-08 上海骋娱传媒技术有限公司 Method and equipment used for video resource access control
CN103632332A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Subject question and answer method, device and system
CN105100162A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Virtual good sending method and device, receiving method and device, and system
CN204810436U (en) * 2015-06-16 2015-11-25 陈红红 Information interactive system based on position

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196952A (en) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 A kind of resource allocation methods, device and equipment
WO2019109737A1 (en) * 2017-12-05 2019-06-13 阿里巴巴集团控股有限公司 Resource allocation method, apparatus and device
CN108009809A (en) * 2017-12-18 2018-05-08 苏州燕云网络技术有限公司 Electronics red packet distribution method and device based on position and time
CN108009809B (en) * 2017-12-18 2022-07-29 苏州燕云网络技术有限公司 Electronic red packet issuing method and device based on position and time
CN108305057A (en) * 2018-01-22 2018-07-20 平安科技(深圳)有限公司 Dispensing apparatus, method and the computer readable storage medium of electronics red packet
WO2019140826A1 (en) * 2018-01-22 2019-07-25 平安科技(深圳)有限公司 Electronic red envelope gifting device and method and computer readable storage medium
CN111506424A (en) * 2020-04-09 2020-08-07 拉扎斯网络科技(上海)有限公司 Configuration method and device of service resources

Also Published As

Publication number Publication date
TW201732634A (en) 2017-09-16
TWI683221B (en) 2020-01-21
WO2017152788A1 (en) 2017-09-14

Similar Documents

Publication Publication Date Title
TWI683221B (en) Resource allocation method and device
US11317240B2 (en) Geo-location based event gallery
CN105989511B (en) Service implementation method and device
TWI835708B (en) Service reservation method and device
TW201723961A (en) Service implementation method and device
KR20180100622A (en) Resource sharing method, terminal and storage medium
CN110020854B (en) Data evidence storage method and system based on multiple block chain networks
CN102014168A (en) Cloud service-based method and device of interconnection address books
CN106302111B (en) Information processing method, terminal and server
CN110060153B (en) Data evidence storage method and system based on multiple block chain networks
TWI648643B (en) Information display method and device
US20160164822A1 (en) Synchronous communication system and method
WO2022148765A1 (en) Method and system for managing digital, electronic communication
US20160328364A1 (en) Displaying at least one categorized message
CN110681159A (en) Team forming method, device and equipment
CN109639747A (en) Data request processing, inquiry message treatment method, device and equipment
CN109756348B (en) Batch calling method and device
CN114092292A (en) A system and method for government affairs processing based on blockchain and decentralized identity
CN104753938B (en) A kind of information processing method and electronic equipment
CN114500448B (en) Method, device and computer-readable medium for selecting target users
CN105897867A (en) Share processing method of interaction information, vehicle terminal, server and system
CN105378789A (en) Creating a contact list and pre-populated user accounts
HK1244361A1 (en) Resource distribution method and device
CN108390946A (en) A kind of method and apparatus for sharing high in the clouds file
US20150156144A1 (en) Methods and Systems for Social Messaging

Legal Events

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

Ref country code: HK

Ref legal event code: DE

Ref document number: 1244361

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20201013

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201013

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

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170919

RJ01 Rejection of invention patent application after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1244361

Country of ref document: HK