TWI683221B - Resource allocation method and device - Google Patents
Resource allocation method and device Download PDFInfo
- Publication number
- TWI683221B TWI683221B TW106101726A TW106101726A TWI683221B TW I683221 B TWI683221 B TW I683221B TW 106101726 A TW106101726 A TW 106101726A TW 106101726 A TW106101726 A TW 106101726A TW I683221 B TWI683221 B TW I683221B
- Authority
- TW
- Taiwan
- Prior art keywords
- user
- information
- question
- answer
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1053—Group management mechanisms with pre-configuration of logical or physical connections with a determined number of other peers
- H04L67/1055—Group management mechanisms with pre-configuration of logical or physical connections with a determined number of other peers involving connection limits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Abstract
本發明揭露了一種資源分配方法及裝置,該方法包括:伺服器接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊,將所述提示資訊發送給所述使用者,並接收所述使用者的輸入資訊,將所述輸入資訊與所述預設資訊進行匹配,根據匹配結果,為所述使用者分配所述資源。透過上述方法,使用者無需透過另一個應用平臺或其他途徑獲得加密密碼,直接回答提示資訊即可獲取資源,因此有效提高了資源分配時使用者操作的便利性和連貫性。 The present invention discloses a resource allocation method and device. The method includes: a server receives a resource, prompt information corresponding to the resource, and preset information corresponding to the prompt information, and sends the prompt information to the user And receive the input information of 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 the encrypted password through another application platform or other channels, and can directly obtain the resource by answering the prompt information, thus effectively improving the convenience and continuity of the user's operation during resource allocation.
Description
本發明關於電腦技術領域,尤其關於一種資源分配方法及裝置。 The invention relates to the field of computer technology, in particular to a resource allocation method and device.
隨著資訊技術的發展,人們已經可以隨時隨地的透過手機、平板電腦等終端與朋友分享資源,接收被分享的資源。 With the development of information technology, people can already share resources with friends through mobile phones, tablets and other terminals anytime, anywhere, and receive the shared resources.
現有技術中,為了使分享的資源更有私密性,資源的提供方可對發送到伺服器的資源設定加密密碼,資源的接收方則需要透過其他途徑或平臺來獲取該加密密碼,再使用該加密密碼獲取伺服器中的該資源。 In the prior art, in order to make the shared resource 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 resource Encrypt the password to get the resource in the server.
但是,由上述過程可見,資源的接收方在獲取資源時,仍需要打開其他應用平臺得到加密密碼,這無疑降低了使用者操作的便利性和連貫性。 However, as can be seen from the above process, when the resource receiver obtains the resource, he still needs to open other application platforms to obtain the encrypted password, which undoubtedly reduces the convenience and consistency of the user's operation.
本申請實施例提供一種資源分配方法及裝置,用以解決現有技術中使用者獲取資源時,操作便利性和連貫性較 低的問題。 The embodiments of the present application provide a resource allocation method and device, which are used to solve the problem that in the prior art, when users obtain resources, the operation convenience and continuity are more Low problem.
本申請實施例提供的一種資源分配方法,包括:伺服器接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊;將所述提示資訊發送給所述使用者;並接收所述使用者的輸入資訊;將所述輸入資訊與所述預設資訊進行匹配;根據匹配結果,為所述使用者分配所述資源。 A resource allocation method provided by an embodiment of the present application includes: a server receiving a resource, prompt information corresponding to the resource, and preset information corresponding to the prompt information; sending the prompt information to the user; And receive input information of the user; match the input information with the preset information; and allocate the resource to the user according to the matching result.
本申請實施例提供的一種資源分配方法,包括:接收伺服器發送的、與所述資源對應的提示資訊;向所述伺服器發送使用者的輸入資訊;接收所述伺服器分配的部分資源,其中,所述部分資源是所述伺服器根據所述輸入資訊以及保存的與所述提示資訊對應的預設資訊的匹配結果,為所述終端分配的。 A resource allocation method provided by an embodiment of the present application includes: receiving prompt information corresponding to the resource sent by a server; sending user input information to the server; receiving part of resources allocated by the server, Wherein, the partial resources are allocated by the server to the terminal according to the matching result of the input information and the saved preset information corresponding to the prompt information.
本申請實施例提供的一種資源分配方法,包括:終端向伺服器發送資源;接收第一使用者輸入的與所述資源對應的提示資訊,以及與所述提示資訊對應的預設資訊;向所述伺服器發送所述提示資訊和所述預設資訊,使所述伺服器將所述提示資訊發送給所述第二使用者,並接收所述第二使用者的輸入資訊,以便根據所述輸入資訊與所述預設資訊的匹配結果,為所述第二使用者分配所述資源。 A resource allocation method provided by an embodiment of the present application includes: a terminal sends a resource to a server; receives prompt information corresponding to the resource input by a first user, and preset information corresponding to the prompt information; The server sends the prompt information and the preset information, so that the server sends the prompt information to the second user, and receives input information from the second user, so that The matching result of the input information and the preset information is used to allocate the resource to the second user.
本申請實施例提供的一種紅包金額分配方法,包括: 伺服器接收紅包金額、與所述紅包金額對應的問題以及與所述問題對應的答案;將所述問題發送給所述使用者;並接收所述使用者的回答資訊;將所述回答資訊與所述答案進行匹配;根據匹配結果,為所述使用者分配所述紅包金額。 A method for distributing red envelopes provided by an embodiment of the present application includes: The server receives the red envelope amount, the question corresponding to the red envelope amount, and the answer corresponding to the question; sends the question to the user; and receives the user's answer information; The answers are matched; according to the matching result, the user is allocated the amount of the red envelope.
本申請實施例提供的一種紅包金額分配方法,包括:接收所述伺服器發送的、與所述紅包金額對應的問題;向所述伺服器發送使用者的回答資訊;接收所述伺服器分配的部分紅包金額,其中,所述部分紅包金額是所述伺服器根據所述回答資訊以及保存的與所述問題對應的答案的匹配結果,為所述終端分配的。 A method for distributing red envelope amounts provided by an embodiment of the present application includes: receiving a question sent by the server corresponding to the red envelope amount; sending user response information to the server; receiving a distributed amount of the server A partial red envelope amount, wherein the partial red envelope amount is allocated by the server to the terminal based on the answer information and the matching result of the saved answer corresponding to the question.
本申請實施例提供的一種紅包金額分配方法,包括:終端向伺服器發送紅包金額;接收第一使用者輸入的與所述紅包金額對應的問題,以及與所述問題對應的答案;向所述伺服器發送所述問題和所述答案,使所述伺服器將所述問題發送給第二使用者,並接收所述第二使用者的回答資訊,以便根據所述回答資訊與所述答案的匹配結果,為所述第二使用者分配所述紅包金額。 A method for distributing red envelope amounts provided by an embodiment of the present application includes: a terminal sends a red envelope amount to a server; receiving a question input by a first user corresponding to the red envelope amount, and an answer corresponding to the question; The server sends the question and the answer, causes the server to send the question to the second user, and receives the answer information of the second user, so that according to the answer information and the answer As a result of the matching, the red packet amount is allocated to the second user.
本申請實施例提供的一種資源分配裝置,包括:第一接收模組,用於接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊; 發送模組,用於將所述提示資訊發送給所述使用者;第二接收模組,用於接收所述使用者的輸入資訊;匹配模組,用於將所述輸入資訊與所述預設資訊進行匹配;分配模組,用於根據匹配結果,為所述使用者分配所述資源。 A resource allocation device provided by 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 is used to send the prompt information to the user; a second receiving module is used to receive the user's input information; a matching module is used to send the input information and the Information is provided for matching; an allocation module is used to allocate the resource to the user according to the matching result.
本申請實施例提供的一種資源分配裝置,包括:第一接收模組,用於接收所述伺服器發送的、與所述資源對應的提示資訊;發送模組,用於向所述伺服器發送使用者的輸入資訊;第二接收模組,用於接收所述伺服器分配的部分資源,其中,所述部分資源是所述伺服器根據所述輸入資訊以及保存的與所述提示資訊對應的預設資訊的匹配結果,為該裝置分配的。 A resource allocation device provided by an embodiment of the present application includes: a first receiving module for receiving prompt information sent by the server and corresponding to the resource; a sending module for sending to the server The user's input information; the second receiving module is used to receive part of the resources allocated by the server, wherein the part of the resources are corresponding to the prompt information according to the input information and saved by the server The matching result of the preset information is assigned to the device.
本申請實施例提供的一種資源分配裝置,包括:第一發送模組,用於向伺服器發送資源;接收模組,用於接收第一使用者輸入的與所述資源對應的提示資訊,以及與所述提示資訊對應的預設資訊;第二發送模組,用於向所述伺服器發送所述提示資訊和所述預設資訊,使所述伺服器將所述提示資訊發送給第二使用者,並接收所述第二使用者的輸入資訊,以便根據所述輸入資訊與所述預設資訊的匹配結果,為所述第二使用者分配所述資源。 A resource allocation device provided by an embodiment of the present application includes: a first sending module for sending resources to a server; a receiving module for receiving prompt information corresponding to the resources input by a first user, and Preset information corresponding to the prompt information; a second sending module for sending the prompt information and the preset information to the server so that the server sends the prompt information to the second A user, and receives input information of the second user, so as to allocate the resource to the second user according to a matching result of the input information and the preset information.
本申請實施例提供的一種紅包金額分配裝置,包括:第一接收模組,用於接收紅包金額、與所述紅包金額對應的問題以及與所述問題對應的答案;發送模組,用於將所述問題發送給使用者;第二接收模組,用於接收所述使用者的回答資訊;匹配模組,用於將所述回答資訊與所述答案進行匹配;分配模組,用於根據匹配結果,為所述使用者分配所述紅包金額。 An apparatus for distributing red envelope amounts provided by an embodiment of the present application includes: a first receiving module for receiving a red envelope amount, a question corresponding to the red envelope amount, and an answer corresponding to the question; a sending module for distributing The question is sent to the user; the second receiving module is used to receive the user's answer information; the matching module is used to match the answer information with the answer; the distribution module is used to As a result of matching, the user is allocated the amount of the red envelope.
本申請實施例提供的一種紅包金額分配裝置,包括:第一接收模組,用於接收所述伺服器發送的、與所述紅包金額對應的問題;發送模組,用於向所述伺服器發送使用者的回答資訊;第二接收模組,用於接收所述伺服器分配的部分紅包金額,其中,所部分紅包金額是所述伺服器根據所述回答資訊以及保存的與所述問題對應的答案的匹配結果,為該裝置分配的。 An apparatus for distributing an amount of red envelopes provided by an embodiment of the present application includes: a first receiving module for receiving a question sent by the server corresponding to the amount of the red envelope; a sending module for sending to the server Send the user's answer information; the second receiving module is used to receive a part of the red envelope amount allocated by the server, wherein the part of the red envelope amount is the server corresponding to the question according to the answer information and the saved The matching result of the answer is assigned for the device.
本申請實施例提供的一種紅包金額分配裝置,包括:第一發送模組,用於向伺服器發送紅包金額;接收模組,用於接收第一使用者輸入的與所述紅包金額對應的問題,以及與所述問題對應的答案;第二發送模組,用於向所述伺服器發送所述問題和所述答案,使所述伺服器將所述問題發送給第二使用者,並 接收所述第二使用者的回答資訊,以便根據所述回答資訊與所述答案的匹配結果,為所述第二使用者分配所述紅包金額。 An apparatus for distributing red envelope amounts provided by an embodiment of the present application includes: a first sending module for sending red envelope amounts to a server; a receiving module for receiving questions input by a first user corresponding to the red envelope amounts , And an answer corresponding to the question; a second sending module for sending the question and the answer to the server, so that the server sends the question to the second user, and Receiving the answer information of the second user, so as to allocate the amount of the red envelope to the second user based on the matching result of the answer information and the answer.
本申請提供一種資源分配的方法和裝置,伺服器接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊,將所述提示資訊發送給所述使用者,並接收所述使用者的輸入資訊,將所述輸入資訊與所述預設資訊進行匹配,根據匹配結果,為所述使用者分配所述資源。透過上述方法,使用者無需透過另一個應用平臺或其他途徑獲得加密密碼,直接回答提示資訊即可獲取資源,因此有效提高了資源分配時使用者操作的便利性和連貫性。 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 input information of the user matches the input information with the preset information, and allocates the resource to the user according to the matching result. Through the above method, the user does not need to obtain the encrypted password through another application platform or other channels, and can directly obtain the resource by answering the prompt information. Therefore, the convenience and consistency of the user's operation during resource allocation is effectively improved.
S101、S102、S103、S104、S105、S201、S202、S203、S204、S205‧‧‧步驟 S101, S102, S103, S104, S105, S201, S202, S203, S204, S205
401‧‧‧第一接收模組 401‧‧‧First receiving module
402‧‧‧發送模組 402‧‧‧send module
403‧‧‧第二接收模組 403‧‧‧ Second receiving module
404‧‧‧匹配模組 404‧‧‧ matching module
405‧‧‧分配模組 405‧‧‧ Distribution module
501‧‧‧第一接收模組 501‧‧‧First receiving module
502‧‧‧發送模組 502‧‧‧send module
503‧‧‧第二接收模組 503‧‧‧Second receiving module
504‧‧‧展示模組 504‧‧‧Display module
601‧‧‧第一發送模組 601‧‧‧ First sending module
602‧‧‧接收模組 602‧‧‧Receiving module
603‧‧‧第二發送模組 603‧‧‧Second sending module
701‧‧‧第一接收模組 701‧‧‧ First receiving module
702‧‧‧發送模組 702‧‧‧send module
703‧‧‧第二接收模組 703‧‧‧Second receiving module
704‧‧‧匹配模組 704‧‧‧ matching module
705‧‧‧分配模組 705‧‧‧ Distribution module
801‧‧‧第一接收模組 801‧‧‧ First receiving module
802‧‧‧發送模組 802‧‧‧send module
803‧‧‧第二接收模組 803‧‧‧ Second receiving module
804‧‧‧展示模組 804‧‧‧ display module
901‧‧‧第一發送模組 901‧‧‧ First sending module
902‧‧‧接收模組 902‧‧‧Receiving module
903‧‧‧第二發送模組 903‧‧‧Second sending module
此處所說明的圖式用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在圖式中:圖1為本申請實施例提供的資源分配過程;圖2為本申請實施例提供的紅包金額分配過程;圖3為本申請實施例提供的紅包金額的分配示意圖;圖4為本申請實施例提供的資源分配裝置結構示意圖;圖5為本申請實施例提供的資源分配裝置結構示意 圖;圖6為本申請實施例提供的資源分配裝置結構示意圖;圖7為本申請實施例提供的紅包金額分配裝置結構示意圖;圖8為本申請實施例提供的紅包金額分配裝置結構示意圖;圖9為本申請實施例提供的紅包金額分配裝置結構示意圖。 The drawings described here are used to provide a further understanding of the present application and form a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an undue limitation on the present application. In the drawings: FIG. 1 is the resource allocation process provided by the embodiment of this application; FIG. 2 is the red envelope amount distribution process provided by the embodiment of this application; FIG. 3 is the schematic diagram of the red envelope amount distribution provided by the embodiment of this application; FIG. 4 is A schematic structural diagram of a resource allocation apparatus provided by an embodiment of the present application; FIG. 5 is a schematic structural diagram of a resource allocation apparatus provided by an embodiment of the present application Figure 6 is a schematic structural diagram of a resource allocation device provided by an embodiment of the present application; Figure 7 is a structural schematic diagram of a red packet amount allocation device provided by an embodiment of the application; Figure 8 is a schematic structural diagram of a red packet amount distribution device provided by an embodiment of the application; 9 is a schematic structural diagram of an apparatus for distributing red envelopes provided by an embodiment of the present application.
為使本申請的目的、技術方案和優點更加清楚,下面將結合本申請具體實施例及相應的圖式對本申請技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,所屬技術領域中具有通常知識者在沒有做出進步性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。 In order to make the purpose, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons with ordinary knowledge in the technical field without making progressive labor fall within the protection scope of the present application.
圖1為本申請實施例提供的一種資源分配過程,該過程具體包括以下步驟: FIG. 1 is a resource allocation process provided by an embodiment of the present application. The process specifically includes the following steps:
S101:伺服器接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊。 S101: The server receives resources, prompt information corresponding to the resources, and preset information corresponding to the prompt information.
在本申請實施例中,提供資源的使用者想要將資源分享給自己的朋友時,可先透過終端上傳待分配資源給伺服 器,並可自訂與所述資源相對應的提示資訊以及與所述提示資訊的預設資訊,將提示資訊與對應的預設資訊同樣上傳給伺服器。其中,本申請中所述的資源可以是任何形式的資源,如,文檔、圖片、影片、音訊、金額,當然也可以是資訊或資料,並且,所述資源可以是提供資源的使用者在向伺服器發送提示資訊以及提示資訊對應的預設資訊的同時,發送給伺服器的,也可以是提供資源的使用者在向伺服器發送提示資訊以及提示資訊對應的預設資訊之前,發送給伺服器的,也就是說,當提供資源的使用者想要將資源分享給自己的朋友時,直接向伺服器發送提示資訊以及提示資訊對應的預設資訊即可。 In the embodiment of the present application, when a 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 You can customize the prompt information corresponding to the resource and the default information of the prompt information, and upload the prompt information and the corresponding default information to the server. Among them, the resources mentioned in this application can be any form of resources, such as documents, pictures, videos, audio, amount, of course, can also be information or data, and the resources can be provided by users who provide resources. The server sends the prompt information and the default information corresponding to the prompt information to the server, or the user who provides the resource can send it to the server before sending the prompt information and the default information corresponding to the prompt information to the server It means that when the user who provides the resource wants to share the resource with his friend, he can directly send the prompt information and the default information corresponding to the prompt information to the server.
需要說明的是,提供資源的使用者自訂的提示資訊可以是多個問題,而預設資訊可以是答案,並且針對每個提示資訊(即,問題)也可設置至少一個預設資訊(即,答案)。此外,該自訂的問題可以以文字、語音、影片中至少一種形式呈現,以下以提示資訊為問題,預設資訊為答案為例對本申請進行詳細說明。 It should be noted that the user-provided prompt information provided by the resource can be multiple questions, and the default information can be an answer, and for each prompt information (ie, question), at least one default information (ie, ,answer). In addition, the customized question can be presented in at least one of text, audio, and video. The following uses the prompt information as the question and the default information as the answer to illustrate the 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 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 question 1, such as: September 15, 2008, September 2008, Year 2008. Similarly, set the answer to question 2 above: swimming, singing. Set the answer to question 3 above: Tibet.
S102:將所述提示資訊發送給使用者。 S102: Send the prompt information to the user.
伺服器接收到提供資源的使用者(以下將提供資源的使用者簡稱為資源提供方)發送來的資源後,可直接將該問題(即,提示資訊)發送給其他獲取資源的使用者(以下將獲取資源的使用者簡稱為資源獲取方),當然也可以即時監測是否接收到資源獲取方發送的資源獲取請求,當接收到資源獲取方發送的資源獲取請求後,則將該資源對應的問題(即,提示資訊)發送給資源獲取方。 After the server receives the resource sent by the user who provided the resource (hereinafter the user who provided the resource is simply referred to as the resource provider), it can directly send the question (ie, prompt information) to other users who obtain the resource (hereinafter The user who obtains the resource is referred to as the resource acquirer), of course, it can also monitor whether the resource acquisition request sent by the resource acquirer is received in real time, and when the resource acquisition request sent by the resource acquirer is received, the problem corresponding to the resource (Ie, prompt information) sent 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 corresponding to the three questions, it continues to monitor whether other users (ie, resource acquirers) have received When the resource acquisition request comes in, the server sends three questions to the other user after receiving the resource acquisition request sent by the other user.
S103:接收所述使用者的輸入資訊。 S103: Receive input information of the user.
當資源提供方發送給伺服器的問題是多個問題時,伺服器接收到資源獲取方發送的資源獲取請求後,可先確定使用者選擇的問題,並接收資源獲取方針對其所選擇的問題發送的輸入資訊。 When the problem that the resource provider sends to the server is multiple problems, after the server receives the resource acquisition request sent by the resource acquirer, it can first determine the problem selected by the user and receive the resource acquisition policy to select the problem Input information sent.
繼續沿用上例,假設使用者B、C向伺服器發送獲取該電子書庫的請求,並獲得了上述三個問題,使用者B、C選擇自己想要回答的問題,並將自己的回答資訊(即,輸入資訊)發送至伺服器。伺服器則先確定使用者B、C 分別選擇了哪幾個問題,然後接收這兩個使用者針對各自所選擇問題發送的回答資訊。 Continue to use the above example, assuming that users B and C send a request to the server to obtain the e-book library, and obtain the above three questions, users B and C choose the questions they want to answer, and use their answer information ( That is, input information) is sent to the server. The server first determines users B and C Which questions are selected respectively, and then receive the answer information sent by the two users in response to 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 for question 1, and receives the answer information "singing" for user B for question 2 ,dancing".
類似的,使用者C選擇了問題2,伺服器接收到使用者C發送的針對問題2的回答資訊“游泳、唱歌”。 Similarly, user C selects question 2, and the server receives the answer information "swim, sing" sent by user C for question 2.
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 set by the resource provider (that is, the preset information). The acquirer allocates resources.
S105:根據匹配結果,為所述使用者分配所述資源。 S105: According to the matching result, allocate the resource to the user.
當資源提供方發送給伺服器的問題是多個問題,且問題對應的答案為多個答案時,伺服器則可在資源獲取方選擇的問題對應的各答案中,確定與該資源獲取方發送的輸入資訊匹配的答案對應的答案權重,並確定該資源獲取方選擇的問題對應的問題權重,最後根據該答案權重和問題權重,為該資源獲取方分配資源。具體的,伺服器可為該資源獲取方分配資源提供方所提供的全部資源中的部分資源。其中,該部分資源的資源量可以是該答案權重、該問題權重與全部資源的資源量的乘積。 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 among the answers corresponding to the question selected by the resource acquirer, the server The input weight corresponding to the answer matched by the input information is determined, and the question weight corresponding to the question selected by the resource acquirer is determined. Finally, the resource acquirer is allocated resources 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. The resource amount of the part of resources may be the product of the answer weight, the question weight and the resource amount of all resources.
需要說明的是,所述問題權重、答案權重可由資源提 供方自訂,也可以由伺服器設置為預設的問題權重和答案權重。 It should be noted that the question weight and answer weight can be provided by resources It can be customized by the supplier, and can also be set by the server as the default question weight and answer weight.
繼續沿用上例,使用者A自訂了問題權重和答案權重,如表1所示。 Continuing to use the above example, user A customized the question weight and answer weight, as shown in Table 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 weights and answer weights customized by user A as in Table 1 above, the server targets user B. Since user B selects question 1 and question 2, the answer information for question 1 is "September 15, 2008 "Number" matches the answer 11 in the answer corresponding to question 1, and the answer information "singing and dancing" for question 2 matches the answer 22 in the answer corresponding to question 2, so the final weight of user B is: Answer weight X question weight of question 1 + answer 22 answer weight X question 2 question weight = 0.5X0.6+0.4X0.3=0.42. Since there are a total of 1,000 e-books in the e-book library, the server can allocate 0.42X1000=420 e-books to the user B.
類似的,針對使用者C,該使用者C選擇的是問題2,其回答資訊“游泳、唱歌”與問題2對應的答案中的答案21和答案22均匹配,因此使用者C的最終權重為0.3,從而伺服器可向該使用者C分配0.3X1000=300本電 子書。 Similarly, for user C, user C selects question 2, and the answer information "swim, sing" 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 that the server can allocate 0.3X1000=300 to the user C Child book.
透過上述方法可見,在使用者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 friends, there is no need to tell users B and C the encrypted password of the e-book library through other channels such as SMS, phone or instant messaging. After the server sends a request to obtain an e-book library, the question corresponding to the e-book library is obtained, and because users A, B, and C have a certain social relationship, users B and C are likely to know the answer corresponding to the question. , Users B and C can choose the questions to be answered, and send the answer information corresponding to the questions to be answered to the server, and then they can obtain some resources of the e-book library, so that the operation is more convenient and consistent.
另外,在上述過程中,伺服器在為資源獲取方分配資源時,除了考慮上述的問題權重以及答案權重以外,還可以考慮其他因素進行分配,如,可考慮資源獲取方發送資源獲取請求的順序,即,可按照先到先得的原則,為資源獲取方分配資源。具體的,資源提供方可自訂順序權重,也可以由伺服器設置預設的順序權重,則當要獲取資源的資源獲取方為多個資源獲取方時,伺服器可根據接收到的各資源獲取方的回答資訊(即,輸入資訊)的先後順序,以及各資源獲取方的回答資訊與答案的匹配結果,為各資源獲取方分配資源。 In addition, in the above process, when the server allocates resources to the resource acquirer, in addition to considering the above question weights and answer weights, other factors may also be considered for allocation, for example, the order in which resource acquirers send resource acquisition requests may 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 weight, or the server can set the preset order weight. When the resource acquirer to obtain the resource is multiple resource acquirers, the server can use the received resources The sequence of the answer information (ie, input information) of the acquirer, and the matching result of the answer information and 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本電子書。 Continue to use the above example, assuming that user A sets the order weight according to the chronological order in order of 0.5, 0.3, 0.2, 0, 0, ..., 0. If the answers of users B and C are in the order of users B and C, the server determines that the total weight of user B is: final weight X order weight =0.42X0.5=0.21. Since there are a total of 1,000 e-books in the e-book library, the server can allocate 0.21X1000=210 e-books to the user B. The total weight of user C is: final weight X order weight=0.3X0.3=0.09. Since there are a total of 1,000 e-books in the e-book library, the server can allocate 0.09X1000=90 e-books to the user B.
進一步的,在本申請實施例中,伺服器還可監測資源提供方所提供的資源是否在指定時間內全部分配完畢,若在指定時間內未全部分配時,則還可將剩餘的資源(也即未分配的資源)返還給該資源提供方。其中,上述的指定時間可以由資源提供方自訂設置,也可以由伺服器預設設置。 Further, in the embodiment of the present application, the server can also monitor whether the resources provided by the resource provider are all allocated within the specified time. If the resources are not allocated within the specified time, the remaining resources (also That is, unallocated resources) are returned to the resource provider. Among them, the above-mentioned designated time can be set by the resource provider, or can be preset by the server.
相應的,基於上述圖1所示的方法,當資源獲取方要獲取資源時,則可透過其終端向伺服器發送針對資源的獲取請求,並接收伺服器根據該獲取請求返回的、與該資源對應的問題,此時,資源獲取方則可在該終端上輸入回答資訊,終端則向伺服器發送該回答資訊,伺服器接收到該回答資訊後,則可根據上述圖1所示的方法為該資源獲取方分配全部資源中的部分資源,終端則可接收該部分資源。 Correspondingly, based on the method shown in FIG. 1 above, when the resource acquirer wants to obtain a resource, it can send an acquisition request for the resource to the server through its terminal and receive the resource returned by the server according to the acquisition request and the resource. Corresponding question, at this time, the resource acquirer 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 use the method shown in FIG. 1 as follows The resource acquirer allocates part of all resources, and the terminal can receive the part of resources.
其中,當該終端接收到的問題為多個問題時,該終端可先確定資源獲取方選擇的問題,再接收資源獲取方針對該選擇的問題輸入的回答資訊,最後將該選擇的問題以及回答資訊發送給伺服器。 Among them, when the question received by the terminal is a plurality of questions, the terminal may first determine the question selected by the resource acquirer, and then receive the answer information input by the resource acquisition policy to the selected question, and finally select the selected question and answer The information is sent to the server.
另外,終端在接收到伺服器發送的各問題時,可透過文字形式、語音形式、影片形式中的至少一種形式,向資源獲取方展示各問題。 In addition, when receiving the questions sent by the server, the terminal may present the questions to the resource acquirer in at least one of text form, voice form, and movie form.
以上為本申請實施例提供的一種資源分配過程,下面將以紅包金額作為資源為例,說明紅包金額分配過程,如圖2所示。 The above is a resource allocation process provided by an embodiment of the present application, and the red envelope amount will be used as an example to illustrate the red envelope amount allocation process, as shown in FIG. 2.
圖2為本申請實施例提供的一種紅包金額分配過程,具體包括以下步驟: FIG. 2 is a red envelope amount distribution process provided by an embodiment of the present application, which specifically includes the following steps:
S201:伺服器接收紅包金額、與所述紅包金額對應的問題以及與所述問題對應的答案。 S201: The server receives the red envelope amount, the question corresponding to the red envelope amount, and the answer corresponding to the question.
在本申請實施例中,紅包金額提供方想要將紅包金額分給自己的朋友時,可先透過終端上傳紅包金額給伺服器,並自訂與紅包金額相對應的問題以及與所述問題對應的答案。 In the embodiment of the present 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 corresponding to the question s 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 the university class. He uploaded the 1,000 yuan envelope to the server and attached his own defined questions, such as: 1. What year are we? graduated? 2. What are my nicknames? 3. Where does our class go for graduation trip?
此外,老李還可針對上述問題1,設置答案:1995年。類似的,針對上述問題2設置答案:李二狗、變態李、數學天才。針對上述問題3設置答案:鼓浪嶼、武夷山。 In addition, Lao Li can also set the answer to question 1 above: 1995. Similarly, set the answer to the above question 2: Li Ergou, perverted Li, mathematical genius. Set the answers to question 3 above: Gulangyu, Wuyi Mountain.
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 the question corresponding to the red envelope amount to the red envelope amount acquirer. Of course, you can also immediately monitor whether the red envelope amount obtain request sent by the red envelope amount obtainer is received. When the red envelope amount obtain request sent by the red envelope amount obtainer is received After that, the question corresponding to the red envelope amount is sent to the red envelope amount acquirer.
繼續沿用上例,伺服器接收到老李發送的紅包金額,三個問題以及三個問題對應的答案後,繼續監測是否接收到其他使用者(即,紅包金額獲取方)發來的紅包金額獲取請求,當伺服器接收到其他使用者發送的紅包金額獲取請求後,將三個問題發送給該其他使用者。 Continue to use 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 has received the red envelope amount sent by other users (ie, the red envelope amount acquirer) Request, when the server receives the red packet amount acquisition request sent by another user, it sends three questions to the other user.
S203:接收所述使用者的回答資訊。 S203: Receive answer information of the user.
當紅包金額提供方給伺服器的問題是多個問題時,伺服器接收到紅包金額獲取方發送的紅包金額獲取請求後,可先確定使用者選擇的問題,並接收紅包金額獲取方針對其所選擇的問題發送的回答資訊。 When the problem of the red envelope amount provider to the server is multiple problems, after the server receives the red envelope amount acquisition request sent by the red envelope amount acquirer, it can first determine the problem selected by the user and receive the red envelope amount acquisition policy. Answer information sent by the selected question.
繼續沿用上例,使用者老張、老王向伺服器發送獲取紅包金額的請求,並獲取了上述三個問題;老張、老王選擇了自己想要回答的問題並將自己的答案(即,回答資訊)發送至伺服器。伺服器則先確定老張、老王分別選擇了哪幾個問題,然後接收這兩個使用者針對各自所選擇問題發送的回答資訊。 Continuing to use the above example, the users Lao Zhang and Lao Wang sent a request to the server to obtain the amount of the red envelope, and obtained the above three questions; Lao Zhang and Lao Wang selected the questions they wanted to answer and set their own answers (ie , Answer information) sent to the server. The server first determines which questions Lao Zhang and Lao Wang have selected, and then receives the answer information sent by the two users in response to the questions they have selected.
如:老張選擇了問題1,伺服器接收到老張發送的針對於問題1的回答資訊“1995年”。 For example: Lao Zhang chose question 1, and the server received the answer message "1995" sent by Lao Zhang for question 1.
類似的,老王選擇了問題2,伺服器接收到老王發送 的針對於問題2的回答資訊“李二狗、變態李”。 Similarly, Pharaoh chose question 2 and the server received Pharaoh’s The answer information for question 2 is "Li Ergou, abnormal Lee".
S204:將所述回答資訊與所述答案進行匹配。 S204: Match the answer information with the answer.
伺服器接收到紅包金額獲取方發送的回答資訊後,則可將對比該紅包金額獲取方發送的回答資訊與紅包金額提供方設定的答案是否一致,後續則可根據對比結果為紅包金額獲取方分配紅包金額。 After the server receives the answer information sent by the red envelope amount acquirer, it can compare whether the answer information sent by the red envelope amount acquirer is consistent with the answer set by the red envelope amount provider, and subsequently can allocate the red envelope amount acquirer based on the comparison result Red envelope amount.
S205:根據匹配結果,為所述使用者分配所述紅包金額。 S205: Assign the red envelope amount to the user according to the matching result.
當紅包金額提供方發送給伺服器的問題是多個問題,且問題對應的答案為多個答案時,伺服器則可在紅包金額獲取方選擇的問對應的各答案中,確定與該紅包金額獲取方發送的回答資訊匹配的答案對應的答案權重,並確定該紅包金額獲取方選擇的問題對應的問題權重,最後根據該答案權重和問題權重,為該紅包金額獲取方分配紅包金額。具體的,伺服器可為該紅包金額獲取方分配紅包金額提供方所提供的全部紅包金額中的部分紅包金額。其中,該部分紅包金額的數量可以是該答案權重、該問題權重與全部紅包金額數量的乘積。需要說明的是,所述問題權重、答案權重,可由資源提供方自訂,也可以由伺服器設置為預設的問題權重、答案權重。 When the question sent by the red envelope amount provider to the server is multiple questions, and the answer corresponding to the question is multiple answers, the server can determine the amount of the red envelope from the answers corresponding to the questions selected by the red envelope amount acquirer The answer weight corresponding to the answer that the answer information sent by the acquirer corresponds to, and determines the question weight corresponding to the question selected by the acquirer of the red envelope amount, and finally allocates the red envelope amount to the red envelope amount obtainer according to the answer weight and the question weight. Specifically, the server may allocate a part of the red envelope amount among 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 amount may be the product of the weight of the answer, the weight of the question and the amount of the total amount of red envelope. It should be noted that the question weight and answer weight can be customized by the resource provider, or can be set by the server as the preset question weight and answer weight.
繼續沿用上例,假設老張選擇的問題1的問題權重為0.3,答案權重為0.8,老王選擇的問題2的問題權重為0.4,答案權重為0.6,紅包金額共計1000元,則伺服器將給老張分配240元,給老王分配240元。 Continue to use the above example, assuming that the question weight selected by Lao Zhang's question 1 is 0.3, the answer weight is 0.8, the question weight selected by Lao Wang's question 2 is 0.4, the answer weight is 0.6, and the total amount of red envelopes is 1,000 yuan, then the server will Allocate 240 yuan to Lao Zhang and 240 yuan to Lao Wang.
透過上述方法可見,在老李給同學發紅包時,無需透過簡訊、電話或者即時通訊等其他管道來告訴同學該紅包金額的加密密碼,老張、老王根據老李自訂的問題可直接輸入相應的回答資訊,伺服器則可根據老張和老王的回答資訊為二者分配紅包金額,從而操作更加便利更有連貫性。 It can be seen from the above method that when Lao Li sends red envelopes to his classmates, there is no need to tell the students the encrypted password of the red envelope amount through other channels such as SMS, phone or instant messaging. Lao Zhang and Lao Wang can directly input according to the questions Li Lao customized Corresponding answer information, the server can allocate the amount of red envelopes for Lao Zhang and Lao Wang according to the answer information, so that the operation is more convenient and consistent.
另外,在上述過程中,伺服器在為紅包金額獲取方分配紅包金額時,除了考慮上述的問題權重以及答案權重以外,還可以考慮其他因素進行分配,如,當紅包金額獲取方為多個紅包金額獲取方時,考慮紅包金額獲取方發送紅包金額獲取請求的順序,即順序權重。其中該順序權重可由紅包金額提供方自訂,也可以由伺服器設置預設的順序權重。 In addition, in the above process, when the server allocates the red envelope amount to the red envelope amount acquirer, in addition to considering the above question weight and answer weight, it can also consider other factors for allocation, for example, when the red envelope amount obtainer is multiple red envelopes When the amount acquirer considers the order in which the red envelope amount acquirer sends the red envelope amount obtain request, that is, the order weight. The order weight can be customized by the provider of the red envelope amount, or the preset order weight can be set by the server.
繼續沿用上例,假設老張的順序權重為0.5,老王的順序權重為0.4,則伺服器最終為老張分配240X0.5=120元,為老王分配240X0.4=96元。 Continuing to use the above example, assuming that Lao Zhang's order weight is 0.5 and Lao Wang's order weight is 0.4, the server eventually allocates 240X0.5=120 yuan for Lao Zhang and 240X0.4=96 yuan for Lao Wang.
除此之外,在本申請實施例中,還可定義每個紅包金額獲取方獲得紅包金額上限。具體的,紅包金額提供方可自訂或透過伺服器預設設置紅包金額獲取方獲得紅包金額上限,如,老李自訂每個紅包金額獲取方獲得紅包金額上限為300元,則伺服器根據上述問題權重、答案權重以及順序權重,計算出要分配給某個紅包金額獲取方的金額大於300元時,則可直接為其分配300元。 In addition, in the embodiment of the present application, an upper limit of the amount of red envelopes obtained by each party to obtain the amount of red envelopes may also be defined. Specifically, the red envelope amount provider can customize or set the red envelope amount obtainr to obtain the red envelope amount upper limit through the server preset. For example, Lao Li customizes each red envelope amount obtainr to obtain the red envelope amount upper limit to 300 yuan. When the above question weight, answer weight and order weight are calculated, if the amount to be allocated to a certain red envelope amount acquirer is greater than 300 yuan, then it can be directly allocated 300 yuan.
當然,紅包金額提供方還可設置紅包金額獲取方的最 大人數,則,每個紅包金額獲取方能夠獲得的紅包金額上限則可設定為總的紅包金額與該最大人數的比值。如,上例中,總的紅包金額為1000元,如果老李設置的紅包金額獲取方的最大人數為10人,則每個紅包金額獲取方能夠獲得的紅包金額上限為1000/10=100元。 Of course, the red envelope amount provider can also set the For a large number of people, the upper limit of the amount of red envelopes that each red envelope amount acquirer can obtain can be set as the ratio of the total amount of red envelopes 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 amount recipients set by Lao Li is 10, the upper limit of the red envelope amount that each red envelope amount acquirer can obtain is 1000/10=100 yuan .
進一步的,在本申請實施例中,伺服器還可監測紅包金額提供方所提供的紅包金額是否在指定時間內全部分配完畢,若在指定時間內未全部分配時,則還可將剩餘的紅包金額(也即未分配的紅包金額)返還給該紅包金額提供方。其中,上述的指定時間可以由紅包金額提供方自訂設置,也可以由伺服器預設設置。 Further, in the embodiment of the present application, the server can also monitor whether the amount of red envelopes provided by the red envelope amount provider is completely distributed within the specified time, and if not fully distributed within the specified time, the remaining red envelopes can also be distributed The amount (that is, the undistributed red envelope amount) is returned to the red envelope amount provider. Among them, the above specified time can be set by the red envelope amount provider, or can be preset by the server.
沿用上例,假設老李設定2小時內,若該紅包金額未被完全分配,則在2小時後剩餘的784塊錢將返還給老李。 Following the above example, suppose that Lao Li has set 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 FIG. 2 above, when the red envelope amount acquirer wants to obtain the red envelope amount, it can send an acquisition request for the red envelope amount to the server through its terminal, and receive the server’s return based on the acquisition request. For the question corresponding to the amount of the red envelope, at this time, the obtainer 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 refer to Figure 2 above. In the method shown, the red packet amount acquirer allocates part of the red packet amount in the red packet, and the terminal can receive the partial red packet amount.
其中,當該終端接收到的問題為多個問題時,該終端可先確定紅包金額獲取方選擇的問題,再接收紅包金額獲 取方針對該選擇的問題輸入的回答資訊,最後將該選擇的問題以及回答資訊發送給伺服器。 Among them, when the problem received by the terminal is a plurality of problems, the terminal may first determine the problem selected by the red packet amount acquirer, and then receive the red packet amount to obtain Take the answer information entered for the selected question, and finally send the selected question and answer information to the server.
另外,終端在接收到伺服器發送的各問題時,可透過文字形式、語音形式、影片形式中的至少一種形式,向紅包金額獲取方展示各問題。 In addition, when receiving the questions sent by the server, the terminal may present the questions to the recipient of the red envelope amount through at least one of text form, voice form, and movie form.
最後,為了更好的闡述本申請,在此給出整個紅包金額的分配示意圖,如圖3所示。 Finally, in order to better explain this application, here is a schematic diagram of the distribution of the entire red envelope, as shown in Figure 3.
以上為本申請實施例提供的資源分配方法和紅包金額分配方法,基於同樣的思路,本申請還提供了相應的資源分配裝置和紅包金額分配裝置,分別如圖4、圖5、圖6、圖7、圖8、圖9所示。 The above are the resource allocation method and the red envelope amount allocation method provided by the embodiments of the present application. Based on the same idea, the present application also provides the corresponding resource allocation device and the red envelope amount allocation device, as shown in FIG. 4, FIG. 5, FIG. 6, and FIG. 7. Figures 8 and 9 are shown.
圖4為本申請實施例提供的資源分配裝置結構示意圖,具體包括:第一接收模組401,用於接收資源、與所述資源對應的提示資訊以及與所述提示資訊對應的預設資訊;發送模組402,用於將所述提示資訊發送給所述使用者;第二接收模組403,用於接收所述使用者的輸入資訊;匹配模組404,用於將所述輸入資訊與所述預設資訊進行匹配;分配模組405,用於根據匹配結果,為所述使用者分配所述資源。
4 is a schematic structural diagram of a resource allocation device provided by an embodiment of the present application, specifically including: a
所述提示資訊包括:多個問題; 與所述提示資訊對應的預設資訊包括:分別與每個問題對應的至少一個答案。 The prompt information includes: multiple questions; The preset information corresponding to the prompt information includes: at least one answer corresponding to each question.
所述第二接收模組403具體用於,確定所述使用者選擇的問題,接收所述使用者針對所述選擇的問題發送的輸入資訊;所述分配模組405具體用於,在與所述選擇的問題對應的准答案中,確定與所述輸入資訊匹配的答案對應的答案權重,確定所述選擇的問題對應的問題權重,根據所述答案權重和所述問題權重,為所述使用者分配所述資源。
The
所述使用者包括多個使用者;所述分配模組405具體用於,根據接收到各使用者的輸入資訊的先後順序,以及各使用者的匹配結果,為各使用者分配所述資源。
The users include multiple users; the
所述提示資訊包括:文字形式的提示資訊、語音形式的提示資訊、影片形式的提示資訊中的至少一種。 The prompt information includes: at least one of prompt information in text form, prompt information in voice form, and prompt information in video form.
所述提示資訊包括:所述資源的發送方自訂的提示資訊。 The prompt information includes: prompt information customized by the sender of the resource.
所述分配模組405還用於,當所述資源在指定時間內未全部分配時,將剩餘的所述資源返還給所述資源的發送方。
The
具體的,上述如圖4所示的裝置可以位於伺服器中。 Specifically, the above device shown in FIG. 4 may be located in the server.
圖5為本申請實施例提供的資源分配裝置結構示意圖,具體包括:第一接收模組501,用於接收所述伺服器發送的、與
所述資源對應的提示資訊;發送模組502,用於向所述伺服器發送使用者的輸入資訊;第二接收模組503,用於接收所述伺服器分配的部分資源,其中,所述部分資源是所述伺服器根據所述輸入資訊以及保存的與所述提示資訊對應的預設資訊的匹配結果,為該裝置分配的。
FIG. 5 is a schematic structural diagram of a resource allocation device according to an embodiment of the present application, and specifically includes: a
所述提示資訊包括:多個問題;所述發送模組502具體用於,確定使用者選擇的問題,接收所述使用者輸入的針對所述選擇的問題的輸入資訊,向所述伺服器發送所述選擇的問題以及所述使用者輸入的輸入資訊。
The prompt information includes: a plurality of questions; the sending
所述裝置還包括:展示模組504,用於在所述發送模組502向所述伺服器發送使用者的輸入資訊之前,以文字形式、語音形式、影片形式中的至少一種形式,向使用者展示接收到的提示資訊。
The device further includes: a
具體的,上述如圖5所示的裝置可以位於資源獲取方終端中。 Specifically, the above device shown in FIG. 5 may be located in the terminal of the resource acquirer.
圖6為本申請實施例提供的資源分配裝置結構示意圖,具體包括:第一發送模組601,用於向伺服器發送資源;接收模組602,用於接收第一使用者輸入的與所述資源對應的提示資訊,以及與所述提示資訊對應的預設資訊;
第二發送模組603,用於向所述伺服器發送所述提示資訊和所述預設資訊,使所述伺服器將所述提示資訊發送給第二使用者,並接收所述第二使用者的輸入資訊,以便根據所述輸入資訊與所述預設資訊的匹配結果,為所述第二使用者分配所述資源。
6 is a schematic structural diagram of a resource allocation device provided by an embodiment of the present application, specifically including: a
具體的,上述如圖6所示的裝置可以位於資源提供方終端中。 Specifically, the above device shown in FIG. 6 may be located in the terminal of the resource provider.
圖7為本申請實施例提供的紅包金額分配裝置結構示意圖,具體包括:第一接收模組701,用於接收紅包金額、與所述紅包金額對應的問題以及與所述問題對應的答案;發送模組702,用於將所述問題發送給使用者;第二接收模組703,用於接收所述使用者的回答資訊;匹配模組704,用於將所述回答資訊與所述答案進行匹配;分配模組705,用於根據匹配結果,為所述使用者分配所述紅包金額。
7 is a schematic structural diagram of an apparatus for distributing red envelopes provided by an embodiment of the present application, specifically including: a
所述問題包括,多個問題;與所述問題對應的答案包括,分別與每個問題對應的至少一個答案。 The questions include multiple questions; the answers corresponding to the questions include at least one answer corresponding to each question.
所述第二接收模組703具體用於,確定所述使用者選擇的問題,接收所述使用者針對所述選擇的問題發送的回答資訊;
所述分配模組705具體用於,在與所述選擇的問題對應的各答案中,確定與所述回答資訊匹配的答案對應的答案權重,確定所述選擇的問題對應的問題權重,根據所述答案權重和所述問題權重,為所述使用者分配所述紅包金額。
The
所述使用者包括多個使用者;所述分配模組705具體用於,根據接收到各使用者的回答資訊的先後順序,以及各使用者的匹配結果,為各使用者分配所述紅包金額。
The user includes a plurality of users; the
所述問題包括:文字形式的問題、語音形式的問題、影片形式的問題中的至少一種。 The question includes at least one of a question in the form of text, a question in the form of speech, and a question in the form of film.
所述問題包括:所述紅包金額的發送方自訂的問題。 The problem includes: a problem customized by the sender of the red envelope amount.
所述分配模組705還用於,當所述紅包金額在指定時間內未全部分配時,將剩餘的紅包金額返還給所述紅包金額的發送方。
The
具體的,上述如圖7所示的裝置可以位於伺服器中。 Specifically, the above device shown in FIG. 7 may be located in the server.
圖8為本申請實施例提供的紅包金額分配裝置結構示意圖,具體包括:第一接收模組801,用於接收所述伺服器發送的、與所述紅包金額對應的問題;發送模組802,用於向所述伺服器發送使用者的回答資訊;第二接收模組803,用於接收所述伺服器分配的部分紅包金額,其中,所部分紅包金額是所述伺服器根據所述
回答資訊以及保存的與所述問題對應的答案的匹配結果,為該裝置分配的。
8 is a schematic structural diagram of a device for distributing red envelopes provided by an embodiment of the present application, specifically including: a
所述問題包括:多個問題;所述發送模組802具體用於,確定使用者選擇的問題,接收所述使用者輸入的針對所述選擇的問題的回答資訊,向所述伺服器發送所述選擇的問題以及所述使用者輸入的回答資訊。
The questions include: a plurality of questions; the sending
所述裝置還包括:展示模組804,用於在所述發送模組802向所述伺服器發送使用者的回答資訊之前,以文字形式、語音形式、影片形式中的至少一種形式,向使用者展示接收到的問題。
The device further includes: a
具體的,上述如圖8所示的裝置可以位於紅包金額獲取方終端中。 Specifically, the above-mentioned device shown in FIG. 8 may be located in the terminal of the red envelope amount acquirer.
圖9為本申請實施例提供的紅包金額分配裝置結構示意圖,具體包括:第一發送模組901,用於向伺服器發送紅包金額;接收模組902,用於接收第一使用者輸入的與所述紅包金額對應的問題,以及與所述問題對應的答案;第二發送模組903,用於向所述伺服器發送所述問題和所述答案,使所述伺服器將所述問題發送給第二使用者,並接收所述第二使用者的回答資訊,以便根據所述回答資訊與所述答案的匹配結果,為所述第二使用者分配所述紅包金額。
9 is a schematic structural diagram of an apparatus for distributing red envelopes provided by an embodiment of the present application, specifically including: a
具體的,上述如圖9所示的裝置可以位於紅包金額提 供方終端中。 Specifically, the above device shown in FIG. 9 may be In the supplier terminal.
在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
記憶體可能包括電腦可讀媒介中的非永久性記憶體,隨機存取記憶體(RAM)及/或非易失性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒介的示例。 Memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory ( flash RAM). Memory is an example of a computer-readable medium.
電腦可讀媒介包括永久性和非永久性、可行動和非可行動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒介的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、卡式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒介,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒介不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。 Computer-readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information can be computer readable instructions, data structures, modules of programs, 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), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable and programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital multifunction Optical discs (DVD) or other optical storage, cassette tapes, magnetic tape magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過 程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also includes Other elements not explicitly listed, or include Elements inherent in processes, methods, goods or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, commodity or equipment that includes the element.
所屬技術領域中具有通常知識者應明白,本申請的實施例可提供為方法、系統或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒介(包括但不限於磁碟儲存器、CD-ROM、光學儲存器等)上實施的電腦程式產品的形式。 Those of ordinary skill in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code .
以上所述僅為本申請的實施例而已,並不用於限制本申請。對於所屬技術領域中具有通常知識者來說,本申請可以有各種更改和變化。凡在本申請的精神和原理之內所作的任何修改、等伺替換、改進等,均應包含在本申請的申請專利範圍的範圍之內。 The above are only examples of the present application, and are not intended to limit the present application. For those with ordinary knowledge in the technical field to which they belong, this application may have various modifications and changes. Any modification, waiting for replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the patent application of this application.
Claims (44)
Applications Claiming Priority (2)
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 |
CN201610141591.3 | 2016-03-11 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201732634A TW201732634A (en) | 2017-09-16 |
TWI683221B true TWI683221B (en) | 2020-01-21 |
Family
ID=59790068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106101726A TWI683221B (en) | 2016-03-11 | 2017-01-18 | Resource allocation method and device |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN107181784A (en) |
TW (1) | TWI683221B (en) |
WO (1) | WO2017152788A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880927B (en) * | 2017-12-05 | 2024-02-06 | 创新先进技术有限公司 | Resource allocation method, device and equipment |
CN108009809B (en) * | 2017-12-18 | 2022-07-29 | 苏州燕云网络技术有限公司 | Electronic red packet issuing method and device based on position and time |
CN108305057B (en) * | 2018-01-22 | 2021-01-15 | 平安科技(深圳)有限公司 | Device and method for issuing electronic red packet and computer readable storage medium |
CN108810643A (en) * | 2018-06-01 | 2018-11-13 | 沈文策 | A kind of red packet distribution method, device and live broadcast system |
CN111506424A (en) * | 2020-04-09 | 2020-08-07 | 拉扎斯网络科技(上海)有限公司 | Configuration method and device of service resources |
CN111582862B (en) * | 2020-06-26 | 2023-06-27 | 腾讯科技(深圳)有限公司 | Information processing method, device, system, computer equipment and storage medium |
CN113010756A (en) * | 2021-03-23 | 2021-06-22 | 维沃移动通信(杭州)有限公司 | Red packet resource sending method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151648A (en) * | 1998-03-16 | 2000-11-21 | Jazio, Inc. | High speed bus system and method for using voltage and timing oscillating references for signal detection |
US20020112004A1 (en) * | 2001-02-12 | 2002-08-15 | Reid Clifford A. | Live navigation web-conferencing system and method |
CN103501465A (en) * | 2013-09-06 | 2014-01-08 | 上海骋娱传媒技术有限公司 | Method and equipment used for video resource access control |
CN204810436U (en) * | 2015-06-16 | 2015-11-25 | 陈红红 | Information interactive system based on position |
Family Cites Families (5)
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 |
CN103632332A (en) * | 2013-11-29 | 2014-03-12 | 腾讯科技(成都)有限公司 | Subject question and answer method, device and system |
CN105100162B (en) * | 2014-05-19 | 2018-11-23 | 腾讯科技(深圳)有限公司 | Virtual objects sending method and device, method of reseptance and device, 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 |
-
2016
- 2016-03-11 CN CN201610141591.3A patent/CN107181784A/en active Pending
-
2017
- 2017-01-18 TW TW106101726A patent/TWI683221B/en active
- 2017-02-25 WO PCT/CN2017/074870 patent/WO2017152788A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151648A (en) * | 1998-03-16 | 2000-11-21 | Jazio, Inc. | High speed bus system and method for using voltage and timing oscillating references for signal detection |
US20020112004A1 (en) * | 2001-02-12 | 2002-08-15 | Reid Clifford A. | Live navigation web-conferencing system and method |
CN103501465A (en) * | 2013-09-06 | 2014-01-08 | 上海骋娱传媒技术有限公司 | Method and equipment used for video resource access control |
CN204810436U (en) * | 2015-06-16 | 2015-11-25 | 陈红红 | Information interactive system based on position |
Non-Patent Citations (1)
Title |
---|
U * |
Also Published As
Publication number | Publication date |
---|---|
TW201732634A (en) | 2017-09-16 |
CN107181784A (en) | 2017-09-19 |
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 | |
US11700256B1 (en) | Techniques for group message thread link administration | |
US8719280B1 (en) | Person-based information aggregation | |
US20160219098A1 (en) | Sharing User Information With Proximate Devices | |
AU2014415583A1 (en) | Methods and systems for managing permissions to access mobile device resources | |
WO2019085590A1 (en) | Method and device for providing released information of target friend | |
US20120123779A1 (en) | Mobile devices, methods, and computer program products for enhancing social interactions with relevant social networking information | |
US20140089422A1 (en) | Dynamically creating a social networking check-in location | |
TWI648643B (en) | Information display method and device | |
US20190158450A1 (en) | Prioritizing messages in an activity stream with an actionable item or event for the user to respond | |
US9525658B2 (en) | Synchronous communication system and method | |
JP7379688B2 (en) | Content sharing method and device | |
US20140051464A1 (en) | Service prequalification | |
US20150026595A1 (en) | Detection of shared content viewed by attendees in online meetings | |
US20170301040A1 (en) | Method, apparatus, and computer-readable medium for leveraging data | |
US9940313B2 (en) | Displaying at least one categorized message | |
CN103891245A (en) | Location-aware content detection | |
WO2019062587A1 (en) | Task generation method and device | |
US9321969B1 (en) | Systems and methods for enabling users of social-networking applications to interact using virtual personas | |
US20200110533A1 (en) | Team configuration method, and method and apparatus for sharing team configuration solution | |
CN109756348B (en) | Batch calling method and device | |
EP3040899B1 (en) | Methods and systems for managing permissions to access mobile device resources | |
AU2014101196A4 (en) | iComplain - A process that allows users to provide feedback on any goods and/or services that the user may come across from any location through a web based portal using any connectible device and to distribute that to multiple sources for the purpose of providing a real-time resolution and/or feedback and review to the issue. | |
KR20160042399A (en) | Creating a contact list and pre-populated user accounts |