Method and apparatus for service implementation
Abstract
A method including receiving a prompt request sent by an initiator; generating an object allocation set according to object allocation information in the prompt request, the object allocation set including a preset quantity of objects specified by the object allocation information, and the preset quantity of objects being extracted from an object set corresponding to the initiator; and allocating the object allocation set to a prompt target, and sending to the prompt target a prompt message related to the allocation operation. The technical solution of the present disclosure optimizes the object allocation solution.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
receiving a prompt request sent by an initiator; generating an object allocation set according to object allocation information in the prompt request, the object allocation set comprising a preset quantity of objects specified by the object allocation information, and the preset quantity of objects being extracted from an object set corresponding to the initiator; allocating the object allocation set to a prompt target; and sending to the prompt target a prompt message related to the allocation operation.
2 . The method of claim 1 , wherein a prompt content of the prompt message comprises a manner in which the object allocation set is received.
3 . The method of claim 1 , wherein an object includes a virtual item.
4 . The method of claim 1 , wherein the sending to the prompt target the prompt message related to the allocation operation comprises:
executing a prompt operation for the prompt target to send the prompt message to the prompt target; and allocating the object allocation set to the prompt target when the prompt message has been transmitted to the prompt target successfully.
5 . The method of claim 4 , further comprising:
receiving a response message returned by the prompt target in response to the prompt message, wherein when a response content of the response message accords with a preset content, determining that the prompt message has been transmitted to the prompt target successfully.
6 . The method of claim 5 , wherein
the prompt operation is setting up a call with the prompt target and playing the prompt message by voice; and the response message is a voice speech produced by the prompt target or a character string input in a call interface.
7 . The method of claim 5 , wherein:
the prompt operation is sending a communication message comprising the prompt message to the prompt target; and the response message is a reply message of the prompt target in response to the communication message.
8 . The method of claim 1 , further comprising:
receiving an object allocation request from a candidate target; and using the candidate target as the prompt target when the candidate target meets a preset condition.
9 . The method of claim 6 , wherein the preset condition comprises at least one of the following:
the candidate target is a registered user; the candidate target is a member of a registered team; and a total quantity of members of a team to which the candidate target belongs reaches a preset quantity.
10 . The method of claim 1 , further comprising:
before sending the prompt message to the prompt target, sending contact information of the initiator to the prompt target, so that the prompt target stores the contact information of the initiator in advance, wherein the sending to the prompt target the prompt message related to the allocation operation comprises initiating a prompt operation to the prompt target in the name of the initiator, to send the prompt message to the prompt target.
11 . The method of claim 1 , wherein the allocating the object allocation set to the prompt target comprises:
sending to the prompt target a communication message related to the object allocation set; and allocating objects in the object allocation set to the prompt target when determining that the prompt target has executed a preset trigger operation on the communication message.
12 . A method comprising:
determining an allocation source, an allocation target, a notification target, and a quantity of to-be-allocated objects according to a received object allocation request; extracting to-be-allocated objects corresponding to the quantity of to-be-allocated objects from an object set corresponding to the allocation source; allocating the to-be-allocated objects to the allocation target; and notifying the notification target of a message related to the allocation operation.
13 . The method of claim 12 , wherein the determining the allocation source, the allocation target, the notification target, and the quantity of to-be-allocated objects according to the received object allocation request comprises:
using a sender of the object allocation request as the allocation source, and reading, from the object allocation request, the allocation target, the notification target and the quantity of to-be-allocated objects which are configured by the allocation source.
14 . The method of claim 12 , wherein the determining the allocation source, the allocation target, the notification target, and the quantity of to-be-allocated objects according to the received object allocation request comprises:
using a sender of the object allocation request as the allocation source, and reading the allocation target and the quantity of to-be-allocated objects from the object allocation request, wherein when the object allocation request is sent by the allocation source for a group, the notification target is any group member in the group other than the allocation source and the allocation target.
15 . The method of claim 12 , wherein the allocating the to-be-allocated objects to the allocation target comprises:
pushing a session message to the allocation target, so that an electronic device logged onto by the allocation target presents a corresponding preset trigger identifier; and when receiving a trigger request initiated by the allocation target, allocating the to-be-allocated object to the initiator of the request, wherein the trigger request is initiated by the electronic device when detecting a trigger operation of the allocation target for the preset trigger identifier.
16 . The method of claim 12 , wherein the allocating the to-be-allocated objects to the allocation target comprises:
allocating a corresponding quantity of objects to each allocation target according to a default object allocation rule or an object allocation rule comprised in the object allocation request.
17 . The method of claim 16 , wherein the allocating the to-be-allocated objects to the allocation target comprises:
setting up a call with the allocation target, and playing a receiving manner of the to-be-allocated objects by voice, so that the allocation target inputs a character string in a call interface or produces a voice speech; acquiring the character string or the voice speech; and allocating the to-be-allocated objects to the allocation target when the character string or a call content corresponding to the voice speech accords with a preset content.
18 . The method of claim 12 , wherein the notifying the notification target of the message related to the allocation operation comprises:
reading a notification manner that is configured by the allocation source in the object allocation request; and notifying the notification target of the message related to the allocation operation according to the notification manner.
19 . The method of claim 12 , wherein the notifying the notification target of a message related to the allocation operation comprises:
pushing a notification message to the notification target, so that an electronic device logged onto by the notification target presents the message related to the allocation operation upon detecting a predetermined trigger operation.
20 . An apparatus comprising:
one or more processors; and one or more computer readable storing thereon computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:
receiving a prompt request sent by an initiator;
generating an object allocation set according to object allocation information in the prompt request, the object allocation set comprising a preset quantity of objects specified by the object allocation information, and the preset quantity of objects being extracted from an object set corresponding to the initiator;
allocating the object allocation set to a prompt target; and
sending to the prompt target a prompt message related to the allocation operation.Join the waitlist — get patent alerts
Track US2018324121A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.