This application claims priority to Chinese Patent Application No. 201610453595.5, filed on Jun. 21, 2016 and entitled “OBJECT ALLOCATION METHOD AND APPARATUS”, which is incorporated herein by reference in its entirety.
The present disclosure relates to the technical field of object allocation, and particularly to an object allocation method and apparatus.
The exchange behaviors of data objects are already widely utilized in networking technology. For example, for data objects in the form of network resources, each node of a network may have its needed network resources allocated thereto, to accommodate processing requirements of exchanges by that node in the network.
However, in related technology, network resource allocation operations are only constrained by identity information of a target network node and such dimensions; other unrelated network nodes may easily stand in, resulting in loss of network resources, while also posing high security risks.
In view of the foregoing, the present disclosure provides an object allocation method and apparatus, which may realize object allocation related to geographical location, helping to optimize object allocation operations.
To realize the above-mentioned objectives, the present disclosure provides the following technical solutions:
According to a first aspect of the present disclosure, an object allocation method is set forth, including:
Based on an object allocation request from an initiating party, generating an object allocation set; wherein, the object allocation set contains a specified number of objects extracted from among an object set corresponding to the initiating party;
Determining an allocation constraint condition associated with the object allocation set, the allocation constraint condition including a geographical location condition;
Allocating the object allocation set to a target party, wherein the target party satisfies the allocation constraint condition.
According to a second aspect of the present disclosure, an object allocation method is set forth, including:
Based on an object query request initiated by an initiating party, obtaining a real-time geographical location of the initiating party;
Returning a queried object allocation set to the initiating party, wherein the real-time geographical location satisfies a geographical location condition corresponding to the object allocation set.
According to a third aspect of the present disclosure, an object allocation apparatus is set forth, including:
A generating unit configured to, based on an object allocation request from an initiating party, generate an object allocation set; wherein, the object allocation set contains a specified number of objects extracted from among an object set corresponding to the initiating party;
A determining unit configured to determine an allocation constraint condition associated with the object allocation set, the allocation constraint condition including a geographical location condition;
An allocating unit configured to allocate the object allocation set to a target party, wherein the target party satisfies the allocation constraint condition.
According to a fourth aspect of the present disclosure, an object allocation apparatus is set forth, including:
An obtaining unit configured to, based on an object query request initiated by an initiating party, obtain a real-time geographical location of the initiating party;
A returning unit configured to return a queried object allocation set to the initiating party, wherein the real-time geographical location satisfies a geographical location condition corresponding to the object allocation set.
According to a fifth aspect of the present disclosure, a red packet tendering method in instant messaging groups is set forth, including:
In a conversation window of an instant messaging group, showing a red packet tendering gateway indicator;
Based on receiving a user trigger command directed at the red packet tendering gateway indicator, showing a red packet configuration page; wherein, the user trigger command is issued by a first group member of the instant messaging group;
Based on a user configuration command received by the red packet configuration page, generating red packet configuration information; wherein, the red packet configuration information includes a first geographical location determined by the first group member;
Initiating to the server a red packet tendering request containing the red packet information, causing the server to create a red packet associated with the first geographical location, and the server to send an instant messaging message regarding the red packet to at least one second group member(s) of the instant messaging group, further causing the at least one second group member(s) to, through a trigger towards the instant messaging group, and in the case when second geographical location(s) of the at least one second group member(s) satisfy a preset relationship with the first geographical location, receive at least part of the red packet.
According to a sixth aspect of the present disclosure, an instant messaging group red packet receiving method is set forth, including:
In a conversation window of an instant messaging group, showing an instant messaging message from a first group member, the instant message corresponding to a red packet tendered by the first group member;
When the red packet is associated with a first geographical location of the first group member, based on receiving a red packet receiving command from a second group member directed at the instant messaging message, obtaining a second geographical location of the second group member;
In the case where the second geographical location satisfies a preset relationship with the first geographical location, showing on a prompt page that at least part of the red packet is successfully received by the second group member.
According to a seventh aspect of the present disclosure, an instant messaging group red packet tendering apparatus is set forth, including:
An indicator displaying unit configured to, in a conversation window of an instant messaging group, show a red packet tendering gateway indicator;
A page displaying unit configured to, based on receiving a user trigger command directed at the red packet tendering gateway indicator, show a red packet configuration page; wherein, the user trigger command is issued by a first group member of the instant messaging group;
An information generating unit configured to, based on a user configuration command received by the red packet configuration page, generate red packet configuration information; wherein, the red packet configuration information includes a first geographical location determined by the first group member;
A red packet tendering unit configured to initiate to the server a red packet tendering request containing the red packet information, causing the server to create a red packet associated with the first geographical location, and the server to send an instant messaging message regarding the red packet to at least one second group member(s) of the instant messaging group, further causing the at least one second group member(s) to, through a trigger towards the instant messaging group, and in the case when second geographical location(s) of the at least one second group member(s) satisfy a preset relationship with the first geographical location, receive at least part of the red packet.
According to an eighth aspect of the present disclosure, an instant messaging group red packet receiving apparatus is set forth, including:
A message displaying unit configured to, in a conversation window of an instant messaging group, show an instant messaging message from a first group member, the instant message corresponding to a red packet tendered by the first group member;
A location obtaining unit configured to, when the red packet is associated with a first geographical location of the first group member, based on receiving a red packet receiving command from a second group member directed at the instant messaging message, obtain a second geographical location of the second group member;
A receiving displaying unit configured to, in the case where the second geographical location satisfies a preset relationship with the first geographical location, show on a prompt page that at least part of the red packet is successfully received by the second group member.
By the above technical solutions it may be seen that the present disclosure, through setting an allocation constraint condition, particularly a geographical location condition, establishes association between allocation operations and geographical locations of objects, which may impart regional characteristics to allocation operations of objects, limiting target parties to within a geographical location defined by an initiating party, which may prevent operating parties in other geographical locations standing in for target parties, helping to improve security of object allocation.
The present disclosure, through imparting geographical location characteristics upon an object allocation procedure, may optimize object allocation solutions in related technology. To further describe the present disclosure, example embodiments are provided below:
Step 102, based on an object allocation request from an initiating party, generating an object allocation set; wherein, the object allocation set contains a specified number of objects extracted from among an object set corresponding to the initiating party;
According to the present example embodiment, an object may include any exchangeable element, enabling the objects to be allocated between different users, that is, for an object to be exchanged from one user to another user. For example, an object may be a virtual item, such as currency, a coupon, a voucher, and the like, such that an object set is equivalent to an account or an electronic wallet and the like of a user; after a specified number of objects is extracted as an object allocation set, the object allocation set may be understood as a user-generated “red packet” and the like, to be allocated to a target user.
According to the present example embodiment, an initiating party, as well as a below-mentioned target party and the like, are respectively users serving as an “initiating party” and a “target party.” Users, through utilizing corresponding electronic devices, may implement data exchange mutually or between servers. Each user may engage in exchange through a set electronic device, in which case through recording, for example, MAC addresses, device ID and the like of these electronic devices, different electronic devices, and therefore an initiating party, a target party and such different users, may be recognized. Each user may also engage in exchange through multiple electronic devices, in which case through recording a singular corresponding account information registered by a user in advance, as well as the electronic device where the account information is currently logged in, a corresponding user may be recognized. Of course, different users may be recognized through other fashions in relevant technology, and the present disclosure shall not be limiting thereto.
Step 104, determining an allocation constraint condition associated with the object allocation set, the allocation constraint condition including a geographical location condition.
According to the present example embodiment, a server may obtain geographical location of an initiating party, where the geographical location may be uploaded to the server by an electronic device of the initiating party, or server-initiated location recognition may be performed upon the initiating party (for example, when the electronic device is a mobile phone or such mobile communication devices, its geographical location may be derived from a base station position; alternatively, the server may derive a Wi-Fi hotspot that the electronic device is currently connected to, designating a deployment location of the Wi-Fi hotspot as the geographical location of the initiating party; alternatively, other feasible fashions) and the location obtained. Accordingly, geographical location conditions may include: being within a preset distance range from the geographical position, such as being within a 200-meter range from the initiating party. According to this example embodiment, through an allocation constraint condition for the object allocation set, a regional characteristic is conferred to the object allocation set, facilitating the combination of virtual object allocation operations executed online with offline entities, so as to unite the convenience of online allocation operations and the actuality of offline settings.
Herein, the geographical location of the initiating party may include any of the following: a geographical location of the initiating party while initiating the object allocation request; a geographical location of the initiating party while the target party initiates an object obtaining request, wherein the object obtaining request is utilized to trigger the allocation operation; and an arbitrary geographical location specified by the initiating party.
According to the present example embodiment, the allocation constraint condition may further include other conditions, such as a user identity condition. For example, when the server further determines an organization to which the initiating party belongs, the user identity condition may include: belonging to a same organization as the initiating party. According to this example embodiment, through adding the user identity condition, the scope of target parties may be further limited, and allocation operations of objects may be made more targeted. Particularly with regard to certain specific scenarios, an especially positive experience may be provided to the user, such as, for example, by implementing: when sending red packets near a company, only personnel having already arrived at the company may receive the red packets. Personnel not yet on duty (in accordance with the user identity condition, but at a distant geographical location and thus not in accordance with the geographical location condition), personnel of other companies in a same office building (in accordance with the geographical location condition, but not being in the same organization and thus not in accordance with the user identity condition) and the like are unable to receive red packets.
Step 106, executing an allocation operation allocating the object allocation set to a target party, wherein the target party satisfies the allocation constraint condition.
According to the present example embodiment, the object allocation request may be initiated by the initiating party through a conversation window of an instant messaging application. Herein, the target party is an associated communicating party of the conversation window. The instant messaging application may be any application capable of implementing instant messaging, and the instant messaging application may be an enterprise instant messaging (EIM) application, such DingTalk.
According to the present example embodiment, the server may directly allocate the object allocation set to a target party in accordance with the allocation constraint condition. Alternatively, the server may, after receiving an object obtaining request initiated by any user directed at the object allocation set, and in the case of determining that the any user is in accordance with the allocation constraint condition, designate the any user as a target user, and execute the allocation operation upon the object allocation set.
It may be seen from the above-mentioned technical solution that the present disclosure, through setting an allocation constraint condition, particularly a geographical location condition, establishes association between allocation operations and geographical locations of objects, which in one regard may impart regional characteristics to allocation operations of objects, and in another regard may, through the actuality of geographical locations, establish online to offline user relationships between an allocation source party and a target party of an object allocation set, helping to optimize object allocation operations and experiences of each participant. At the same time, through limiting target parties to within a geographical location defined by an initiating party, operating parties in other geographical locations may be prevented from standing in for target parties, helping to improve security of object allocation.
Technical solutions of the present disclosure may be applied to any object allocation setting; to facilitate understanding, below, with a “red packet” scenario as an example, from the two aspects of tendering a red packet and receiving a red packet, an object allocation scheme based on the present disclosure will be described.
Step A21, in a conversation window of an instant messaging group, showing a red packet tendering gateway indicator.
According to the present example embodiment, the particular form of the red packet tendering gateway indicator shall not be limited. For example, supposing that
Step A22, based on receiving a user trigger command directed at the red packet tendering gateway identifier, showing a red packet configuration page; wherein, the user trigger command is issued by a first group member of the instant messaging group.
According to the present example embodiment, upon detecting a clicking trigger operation of the first group member towards the red packet tendering gateway indicator as illustrated by
Step A23, based on a user configuration command received by the red packet configuration page, generating red packet configuration information; wherein, the red packet configuration information includes a first geographical location determined by the first group member.
According to the present example embodiment, in one regard, on the red packet configuration page illustrated by
In another regard, when the red packet type is a “location red packet” as illustrated by
Step A24, initiating to the server a red packet tendering request containing the red packet information, causing the server to create a red packet associated with the first geographical location, and the server to send an instant messaging message regarding the red packet to at least one second group member(s) of the instant messaging group, further causing the at least one second group member(s) to, through a trigger towards the instant messaging group, and in the case when second geographical location(s) of the at least one second group member(s) satisfy a preset relationship with the first geographical location, receive at least part of the red packet.
Correspondingly,
Step B21, in a conversation window of an instant messaging group, showing an instant messaging message from a first group member, the instant messaging message corresponding to a red packet tendered by the first group member.
Step B22, when the red packet is associated with a first geographical location of the first group member, based on receiving a red packet receiving command from a second group member directed at the instant messaging message, obtaining a second geographical location of the second group member.
According to the present example embodiment, as illustrated by
According to the present example embodiment, the second group member, through a personal electronic device, views the above-mentioned instant messaging message. The electronic device may contain a positioning chip therein, and thereby upon detecting the above-mentioned red packet receiving command, may obtain a personal second geographical location (which may be equivalent to a second geographical location of the second group member), utilized to evaluate whether the second geographical location satisfies a preset relationship with the first geographical location.
Step B23, in the case where the second geographical location satisfies a preset relationship with the first geographical location, showing on a prompt page that at least part of the red packet is successfully received by the second group member.
According to the present example embodiment, a preset relationship between the first geographical location and the second geographical location may include: the second geographical location being within a preset distance range from the first geographical position. Of course, other preset relationships capable of reflecting geographical location characteristics may be employed, and the present disclosure shall not be limiting thereto.
Herein, whether the second geographical location satisfies a preset relationship with the first geographical location may be evaluated by the server, which requires the first group member and the second group member each using their electronic devices to respectively upload the first geographical location and the second geographical location to the server (of course, the server may also through triangulation, and such other fashions, respectively obtain the first geographical location and the second geographical location, without the need for proactive uploading via the electronic devices). Alternatively, the first geographical location is sent to the electronic device of the second group member, and the electronic device performs evaluation thereof; alternatively, the second geographical location is sent to the electronic device of the first group member, and the electronic device performs evaluation thereof; alternatively, another trusted third party performs evaluation thereof, and the present disclosure shall not be limiting thereto.
According to the present example embodiment, when the preset relationship is satisfied between the first geographical location and the second geographical location, the server may allocate at least part of the objects of the red packets (for example, currency) to the second group member, such as by transferring currency to an account of the second group member. The electronic device used by the second group member may, through a prompt page as illustrated by
Furthermore, below, the exchange procedure between the initiating party, the target party and the server is taken in conjunction to describe an object allocation scheme according to the present disclosure. Herein,
Step 202, user A configuring a red packet.
According to the present example embodiment, to facilitate understanding, suppose that “objects” are currency and an “object allocation set” is a red packet, and with the scenario of “sending red packets” as an example, technical solutions according to the present disclosure will be described by example.
According to the present example embodiment, with an application page of “DingTalk” as an example, the tendering of red packets by an initiating party user A in an enterprise instant messaging setting is described in detail.
Suppose that user A, user B the like are member users in organization “Hard-Working Group,” and
As illustrated by
According to the example embodiment illustrated by
Herein, “real-time location” refers to a real-time geographical location of initiating party user A, and “arbitrary location” refers to a geographical location arbitrarily specified by user A. Herein, processing flows under “arbitrary location” and “current location” require user A to configure a fixed geographical location for the red packet, which may refer to the processing flow illustrated by
According to the present example embodiment, through the type configuration page illustrated by
Step 204, the server receiving a red packet creating request initiated by user A.
According to the present example embodiment, upon detecting a trigger operation by user A towards the “Red packet” button on the red packet configuration page illustrated by
Step 206, the server generating a red packet.
According to the present example embodiment, while the server generates a red packet, if the red packet creating request is based on the red packet configuration page illustrated by
Step 208, the server sending a red packet notification to user B.
According to the present example embodiment, the server may determine alternative target parties satisfying the allocation constraint condition, and send a notification message relating to the red packet (corresponding to the object allocation set) to the alternative target parties. For example, since the above-mentioned red packet is initiated by user A in the conversation window corresponding to the belonged-to organization “Hard-Working Group,” the server may designate all members of the organization as alternative target parties of the red packet, and send the notification message relating to the red packet to each. For example, the above-described mentioned user B belongs to the organization, so the situation of the target party shall be described referring to user B by way of example.
Step 210, upon detecting user B triggering a red packet, collecting geographical location information of user B.
Step 212, the server receiving a red packet receiving request initiated by user B.
According to the present example embodiment, when the initiating party user A and the alternative target party user B belong to a same organization, as illustrated by
Furthermore, in some cases, based on a trigger operation by user B towards the message box illustrated by
According to the present example embodiment, with regard to the triggering of the red packet by user B, the electronic device of user B may collect a personal geographical location, and send the geographical location through a red packet receiving request to the server. Of course, if user B considers the personal geographical location sensitive, then, while viewing the “Location red packet” shown on the red packet receiving page illustrated by
Step 214, the server evaluating whether user B is in accordance with a red packet issuance tendering condition.
Step 216, when the red packet tendering condition is satisfied, the server executing a red packet tendering operation.
According to the present example embodiment, when receiving a response message from an alternative target party regarding a notification message, if the alternative target party is determined as satisfying the allocation constraint condition, the alternative target party is designated as a target party, and an allocation operation is executed. For example, corresponding to the red packet configuration page illustrated by
According to the present example embodiment, a fashion of the server tendering red packets may employ any given fashion in the related technology, though of course the fashion may be adjusted by user A. In particular, the configured total amount in
Step 218, the server informing user A and user B of the tendering results.
According to the present example embodiment,
When user B does not satisfy an allocation constraint condition, upon the basis of the above-mentioned red packet receiving page illustrated by
Based on a real-time geographical location of the initiating party,
Step 1102, user A configuring a red packet.
According to the present example embodiment, user A may, through the type adjusting page illustrated by
Step 1104, the server receiving a red packet creating request initiated by user A.
According to the present example embodiment, since a “real-time location” is employed, that is, utilized to limit a geographical location of a geographical location condition to the real-time geographical location of user A, thus the red packet creating request need not contain a geographical location of user A, which needs to be independently obtained by the subsequent steps 1114-1116, which shall not be presaged herein.
Step 1106, the server generating a red packet.
Step 1108, the server sending a red packet notification to user B.
Step 1110, upon detecting user B triggering a red packet, collecting geographical location information of user B.
Step 1112, the server receiving a red packet receiving request initiated by user B.
According to the present example embodiment, steps 1106-1112 may refer to steps 206-212 illustrated by
Step 1114, the server initiating a location obtaining request to user A.
Step 1116, the server receiving a real-time geographical location returned from user A.
According to the present example embodiment, a geographical location condition is a preset range surrounding the real-time geographical location of user, effectively utilizing the a real-time geographical location of user A as a center, with a preset distance as a radius of a circular region, that is, an allocation-permitted region. Since, after user A creates a red packet, but before user B initiates a red packet receiving request, user A may exhibit an even greater range of movement, that is, the allocation-permitted region will change in real time with movements of user A. Thus, in order to ensure that only users truly situated within the allocation-permitted area may have red packets allocated thereto, after receiving the red packet receiving request, a location obtaining request needs to be initiated immediately (which may be understood as in real time) to user A, to obtain a real-time geographical location of user A.
Step 1118, the server evaluating whether user B is in accordance with a red packet tendering condition.
Step 1120, when the red packet tendering condition is satisfied, the server executing a red packet tendering operation.
Step 1122, the server informing user A and user B of the tendering results.
According to the present example embodiment, by substituting the geographical location corresponding to the red packet from the current location (or arbitrary location specified by user A) according to the example embodiment illustrated by
It should be noted that:
According to the example embodiment illustrated by the above-mentioned
When the allocation constraint condition only contains a geographical location condition, the server may likewise determine alternative target parties satisfying the geographical location condition, and send a notification message relating to the red packet to the alternative target parties. Thus, even though user A initiates a red packet creating request in a conversation window corresponding to the belonged-to organization “Hard-Working Group,” as long as users are near (such as by 200 m) a geographical location configured by user A, whether or not belonging to the organization “Hard-Working Group,” the server may send notification messages relating to the red packet to each, granting each an opportunity to receive currency from the red packet.
According to this example embodiment, improved applications may be achieved in some settings through a geographical location condition being a sole limitation. For example, during promotional activities of physical merchants, a merchant may, based on a personal set geographical location, or a geographical location of the promotional activities, create a red packet, an allocation constraint condition of the red packet including only a geographical location condition, such as being within a 100-meter range from a store. Thus: when a user enters a 100-meter range from the store, the server may proactively push a notification message regarding a red packet created by the merchant to the user, so that the user, at the same time as receiving the red packet, may comprehend brand information, promotional information and the like of the merchant; moreover, since the store and the user are in close proximity, the user will have a greater probability of directly visiting the store.
Step 1402, based on an object query request initiated by an initiating party, obtaining a real-time geographical location of the initiating party.
Step 1404, returning a queried object allocation set to the initiating party, wherein the real-time geographical location satisfies a geographical location condition corresponding to the object allocation set.
In contrast to, for example, step 208 according to the example embodiment illustrated by
To facilitate understanding, the following combines exchange procedures between an initiating party, a target party and a server, in order to describe an object allocation scheme of the present disclosure. Herein,
Step 1502, user A configuring a red packet.
Step 1504, the server receiving a red packet creating request initiated by user A.
Step 1506, the server generating a red packet.
According to the present example embodiment, steps 1502-1506 may refer to steps 202-206 illustrated by
Of course, here the red packet creating procedure is only described referring to user A by way of example; in reality, other arbitrary users may create red packets for user B to query and receive, but the red packet creating procedure may still refer to the above-mentioned steps 1502-1506.
Step 1508, based on receiving a trigger operation by user B, collecting a geographical location of user B.
Step 1510, the server receiving a red packet query request sent by user B, the red packet query request containing the geographical location of user B.
According to the present example embodiment, as illustrated by
Step 1512, the server matches the geographical location of user B against geographical locations of created red packets.
Step 1514, the server obtains a red packet located near user B by matching, and informs user B of the matching results.
According to the present example embodiment, with user A as an example, when user A, through the example embodiment illustrated by
Step 1516, the electronic device of user B performs information display for nearby red packets.
According to the present example embodiment, such as illustrated by
Step 1518, detecting user B triggering a red packet.
Step 1520, collecting a geographical location of user B.
Step 1522, initiating a red packet receiving request to the server directed at the triggered red packet, the red packet receiving request containing the current geographical location of user B.
According to the present example embodiment, since movements over comparatively large distances may occur for user B, thereby in step 1520 the geographical location of user B may be re-collected. Of course, step 1520 is not essential, and the server may also directly utilized the geographical location of step 1508; for example, an effective duration may be set for the geographical location collected in step 1508, such as five minutes, such that the geographical location within the effective duration may be evaluated utilizing the condition of step 1524, and if the effective duration is exceeded, the geographical location needs to be re-collected through step 1520.
Step 1524, the server performing condition evaluation upon user B.
According to an example embodiment, an allocation constraint condition employed by the server may only include a geographical location condition, such that through matching the geographical location of user B against a geographical location of a source party of a selected red packet, if user B is within a present distance range of the source party (such as within 200 meters), whether user B satisfies the geographical location condition may be evaluated.
Suppose that user B selects a red packet issued by user A. Similar to the above step 1512, when user A, through the example embodiment illustrated by
According to another example embodiment, an allocation constraint condition employed by the server may include a geographical location condition and a user identity condition. Herein, a geographical location condition may be: being within a preset distance range from a source party of the red packet. A user identity condition may be: belonging to a same organization as a source party of the red packet.
Then, in the case where an initiating party initiates an object obtaining request directed at any object allocation set, when the initiating party satisfies a geographical location condition of the any object allocation set, and the initiating party belongs to a same organization as an allocation source party of the any object allocation set, an allocation operation allocating the any object allocation set to the initiating party is executed. By way of example, suppose that user B selects a red packet issued by user A. In one regard, whether user B satisfies a geographical location condition corresponding to the red packet is evaluated, such as “is within 200 meters of user A”; in another regard, whether user B and user A belong to a same organization is evaluated, and particularly when user A initiates the red packet through organization “Hard-Working Group” (such as initiating a red packet through a conversation window corresponding to the organization “Hard-Working Group”), the organization may specifically refer to the organization “Hard-Working Group.” Therefore, the above-mentioned example embodiments may be suitable for, for instance, leisure activities of sending red packets among company colleagues, where, through geographical location conditions, colleagues not yet on duty, for example, are prevented from receiving red packets, and, through user identity conditions, other nearby individuals (such personnel of other companies in a same office building) are prevented from receiving red packets.
Step 1526, the server initiating a joining application directed at user C.
Step 1528, the server receiving an approval message returned from user C.
Step 1530, the server sends the red packet issued to user B.
Step 1532, the server sends tendering results relating to the red packet to user A and user B.
According to the present example embodiment, when the initiating party satisfies a geographical location condition corresponding to any object allocation set, and the initiating party does not belong to a same organization as the allocation source party of the any object allocation set, the server may send a joining application relating to the initiating party to an administrator of the organization to which the allocation source party belongs; wherein, after the joining application is approved, an allocation operation allocating the any object allocation set to the initiating party is executed.
Still with the red packet tendered by user A through the organization “Hard-Working Group” as an example: when use B initiates a receiving request directed at the red packet towards the server, the server in one regard evaluates whether user B satisfies a geographical location condition corresponding to the red packet, such as “is within 200 meters of user A,” and in another regard evaluates whether user B and user A belong to a same organization, such as the organization “Hard-Working Group.” If User B only satisfies the geographical location condition, and does not satisfy the user identity condition, the server may send a joining application to an administrator of the organization “Hard-Working Group”; for example, the administrator may be user C. As illustrated by
In some scenarios, such when an operator of a physical store may create an organization relating to the physical store, and create a red packet, then a nearby user may, through the above-mentioned process, view the red packet; when the user clicks to receive the red packet, a joining application directed at the organization may be initiated towards an operator serving as an administrator (or a dedicated administrator), enabling the user to, at the same time as receiving red packet currency, be able to further view and comprehend the state of the physical store, helping to realize promotion of the physical store. Also, since the user has joined the organization corresponding to the physical store, the operator may then, through a fashion of subsequent message pushing, further promote information to the user.
Additionally, aside from directly configuring red packet type as a “location red packet” through the red packet configuration page illustrated by
Referring to
The generating unit 2202 is configured to, based on an object allocation request from an initiating party, generate an object allocation set; wherein, the object allocation set contains a specified number of objects extracted from an object set corresponding to the initiating party;
The determining unit 2204 is configured to determine an allocation constraint condition associated with the object allocation set, the allocation constraint condition including a geographical location condition;
The allocating unit 2206 is configured to allocate the object allocation set to a target party, wherein the target party satisfies the allocation constraint condition.
Optionally, further included is:
An obtaining unit 2208 configured to obtain a geographical location of the initiating party;
Wherein, the geographical location condition includes: being within a preset distance range from the geographical position.
Optionally, the geographical location includes one of the following:
A geographical location of the initiating party while initiating the object allocation request;
A geographical location of the initiating party while the target party initiates an object obtaining request; wherein, the object obtaining request is utilized to trigger the allocation operation;
An arbitrary geographical location specified by the initiating party.
Optionally, the allocation constraint condition further includes: a user identity condition.
Optionally, further included is:
An organization determining unit 2210 configured to determine an organization to which the initiating party belongs;
The user identity condition including: belonging to a same organization as the initiating party.
Optionally, further included is:
A sending unit 2212 configured to determine an alternative target party satisfying the allocation constraint condition, and send a notification message relating to the object allocation set to the alternative target party;
A processing unit 2214 configured to, when receiving a response message from the alternative target party regarding the notification message, if determining the alternative target party as satisfying the allocation constraint condition, designate the alternative target party as the target party, and executing the allocation operation.
Optionally, the object allocation request is initiated by the initiating party through a conversation window of an instant messaging application; wherein, the target party is an associated communicating party of the conversation window.
Referring to
The obtaining unit 2402 is configured to, based on an object query request initiated by an initiating party, obtain a real-time geographical location of the initiating party;
The returning unit 2404 is configured to return a queried object allocation set to the initiating party, wherein the real-time geographical location satisfies a geographical location condition corresponding to the object allocation set.
Optionally, further included are:
A receiving unit 2406 configured to receive an object obtaining request initiated by the initiating party directed at any object allocation set;
An executing unit 2408 configured to, when the initiating party satisfies a geographical location condition of the any object allocation set, and the initiating party belongs to a same organization as an allocation source party of the any object allocation set, execute an allocation operation allocating the any object allocation set to the initiating party.
Optionally, further included is:
An applying unit 2410 configured to, when the initiating party satisfies a geographical location condition corresponding to any object allocation set, and the initiating party does not belong to a same organization as the allocation source party of the any object allocation set, send a joining application relating to the initiating party to an administrator of the organization to which the allocation source party belongs;
After the joining application is approved, the executing unit 2408 executes an allocation operation allocating the any object allocation set to the initiating party.
Referring to
The indicator displaying unit 2602 is configured to, in a conversation session window of an instant messaging group, show a red packet tendering gateway indicator;
The page displaying unit 2604 is configured to, based on receiving a user trigger command directed at the red packet tendering gateway indicator, show a red packet configuration page; wherein, the user trigger command is issued by a first group member of the instant messaging group;
The information generating unit 2606 is configured to, based on a user configuration command received by the red packet configuration page, generate red packet configuration information; wherein, the red packet configuration information includes a first geographical location determined by the first group member;
A red packet tendering unit 2608 is configured to initiate to the server a red packet tendering request containing the red packet information, causing the server to create a red packet associated with the first geographical location, and the server to send an instant messaging message regarding the red packet to at least one second group member(s) of the instant messaging group, further causing the at least one second group member(s) to, through a trigger towards the instant messaging group, and in the case when second geographical location(s) of the at least one second group member(s) satisfy a preset relationship with the first geographical location, receive at least part of the red packet.
Referring to
The message displaying unit 2802 is configured to, in a conversation window of an instant messaging group, show an instant messaging message from a first group member, the instant message corresponding to a red packet tendered by the first group member;
The position obtaining unit 2804 is configured to, when the red packet is associated with a first geographical location of the first group member, based on receiving a red packet receiving command from a second group member directed at the instant messaging message, obtain a second geographical location of the second group member;
The receiving prompting unit 2806 is configured to, in the case where the second geographical location satisfies a preset relationship with the first geographical location, show on a prompt page that at least part of the red packet is successfully received by the second group member.
According to a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
The memory may include a form of computer-readable media such as a volatile memory, a random access memory (RAM) and/or a nonvolatile memory, for example, a read only memory (ROM) or a flash RAM. The memory is an example of computer-readable memory medium.
The computer-readable media include a volatile or non-volatile type, a removable or non-removable media, which may achieve storage of information using any method or technology. The information may include a computer-readable instruction, a data structure, a program module 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), quick flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which may be used to store information that may be accessed by computing device. As defined herein, the computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
It should be further noted that the terms “include,” “containing,” “comprising,” or any other variation thereof, are intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements does not only include those elements, but further include other elements not expressly listed, or further includes inherent elements of such processes, methods, articles, or devices. Where no additional limitation is made, an element defined by the wording “including a . . . ” does not exclude other same elements being present in a process, method, article, or device including the element.
Herein, exemplary embodiments are described in detail and expressed by illustration in the drawings. Where the above description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. Manners of implementation described in the above exemplary embodiments do not represent all manners of implementation consistent with the present disclosure. To the contrary, they are merely examples of apparatuses and methods consistent with some aspects of the invention, as recited by the attached claims.
Terminology employed by the present disclosure is merely for the purpose of describing particular example embodiments, and is not intended to limit the present disclosure. The singular forms “a,” “an,” and “the” employed in the present disclosure and the attached claims are also intended to include plural forms unless the overall context clearly indicates other meaning. It should also be understood that the term “and/or” employed in this text refers to and includes any or all possible combinations of one or more of the associated listed subject matter.
It should be understood that, although the present disclosure may employ the language “first,” “second,” “third” and the like to describe a variety of information, this information should not be limited by this language. This language is merely used to distinguish information of a same type from one another. For example, without departing from the scope of the present disclosure, “first information” may also be designated as “second information,” and, similarly, “second information” may also be designated as “first information.” Depending on the context, as used herein, the word “if” may be interpreted as “when . . . ” or “upon . . . ” or “in response to determining.”
The foregoing is merely preferred embodiments of the present disclosure, not intended to limit the present disclosure, and any modifications, equivalent substitutes, improvements, and the like, made within the spirit and principles of the disclosure shall be included within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201610453595.5 | Jun 2016 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/087685 | 6/9/2017 | WO | 00 |