WO2020063511A1 - 一种资源分配、发放及领取方法 - Google Patents

一种资源分配、发放及领取方法 Download PDF

Info

Publication number
WO2020063511A1
WO2020063511A1 PCT/CN2019/107207 CN2019107207W WO2020063511A1 WO 2020063511 A1 WO2020063511 A1 WO 2020063511A1 CN 2019107207 W CN2019107207 W CN 2019107207W WO 2020063511 A1 WO2020063511 A1 WO 2020063511A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
resource
server
motion
amount
Prior art date
Application number
PCT/CN2019/107207
Other languages
English (en)
French (fr)
Inventor
马小捷
Original Assignee
上海掌门科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海掌门科技有限公司 filed Critical 上海掌门科技有限公司
Publication of WO2020063511A1 publication Critical patent/WO2020063511A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0224Discounts or incentives, e.g. coupons or rebates based on user history
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Definitions

  • This application relates to the field of Internet applications, and in particular, to a method for resource allocation, distribution, and receipt.
  • the allocation, distribution, and collection of resources is one of the important applications.
  • the current resource allocation methods include random distribution and fixed distribution. The issuer will set the allocated amount, and the recipient only needs to click Get resources. The above allocation methods cannot meet the actual needs in the current complex network environment.
  • Various aspects of this application provide a method for resource allocation, distribution, and collection, which is used to meet the actual needs in the current complex network environment.
  • An aspect of the present application provides a resource allocation method, which is applied to a server and includes: receiving a resource release request sent by a first terminal, where the resource release request includes an amount of a resource, an indication of a release range, and a movement track of the first terminal; Generating a resource receiving prompt message, the resource receiving prompt message including description information of the movement track of the first terminal; sending the resource prompt message to a second terminal determined based on the release range indication; if a second terminal is received The resource acquisition request sent, and if the second terminal motion trajectory included in the resource acquisition request matches the first terminal motion trajectory, resources are allocated to the second terminal according to the amount.
  • Another aspect of the present application provides a resource publishing method, which is applied to a first terminal and includes: obtaining an amount of resources provided by a first user corresponding to the first terminal and a movement track of the first terminal provided by the first user; Sending the amount of the resource and the movement trajectory of the first terminal to a server, so that the server generates a resource collection prompt message according to the movement trajectory of the first terminal and sends it to the second terminal.
  • Another aspect of the present application provides a resource receiving method, which is applied to a second terminal and includes: receiving and displaying a resource receiving prompt message sent by a server, the resource receiving prompt message including a description of a movement track of the first terminal Information; obtaining the movement track of the second terminal according to the movement of the second terminal by the second user corresponding to the second terminal; generating and sending a resource receiving request to the server, the resource receiving request including the second terminal Motion trajectory; receiving resources allocated by the server in response to the motion trajectory of the second terminal matching the motion trajectory of the first terminal.
  • Another aspect of the present application provides a device, characterized in that the device includes:
  • One or more processors are One or more processors;
  • a storage device for storing one or more programs
  • the one or more processors are caused to implement any of the foregoing methods.
  • a computer-readable storage medium on which a computer program is stored, which is characterized in that when the program is executed by a processor, any one of the foregoing methods is implemented.
  • resource allocation can be realized based on a terminal motion trajectory, and a new resource allocation solution is provided for the current complicated network environment.
  • the allocation of resources can be tilted towards users who are more in line with the allocation requirements, and the accuracy of resource allocation is improved.
  • FIG. 1 is a schematic flowchart of a resource allocation method according to some embodiments of the present application.
  • FIG. 2 is a schematic flowchart of a method for issuing resources provided by some embodiments of the present application
  • FIG. 3 is a schematic flowchart of a resource collection method according to some embodiments of the present application.
  • FIG. 4 is a block diagram of an exemplary computer system / server suitable for implementing some embodiments of the present invention.
  • the server can include hardware devices or software that support network connections to provide various network services.
  • the server can be implemented as a distributed device group composed of multiple network devices, or it can be implemented as a single network device, such as a distributed server or a single server.
  • the server includes software, it can be installed in the network devices listed above.
  • software it may be implemented as multiple software or software modules for providing distributed services, or may be implemented as a single software or software module. It is not specifically limited here.
  • the resource allocation method includes:
  • Step S11 Receive a resource release request sent by the first terminal, where the resource release request includes an amount of resources, an indication of a release range, and a movement track of the first terminal;
  • Step S12 Generate a resource receiving prompt message, where the resource receiving prompt message includes description information of a movement track of the first terminal;
  • Step S13 Send the resource prompt message to a second terminal determined based on the release range indication
  • Step S14 If a resource receiving request sent by the second terminal is received, and if the second terminal motion trajectory included in the resource receiving request matches the first terminal motion trajectory, allocate the second terminal according to the amount Resources.
  • the first terminal and the second terminal may be various electronic devices capable of accessing the server through a network, which may be implemented as hardware devices or software.
  • the terminal may include, but is not limited to, a smart phone, a tablet computer, an e-book reader, a laptop computer, a desktop computer, and the like.
  • the terminal includes software, it can be installed in the above-mentioned various electronic devices, and can be implemented as a single or multiple software modules.
  • the first terminal and the second terminal are provided with sensors such as a gyroscope that can be used to detect the motion trajectory of the terminal.
  • sensors such as a gyroscope that can be used to detect the motion trajectory of the terminal.
  • step S11 In a preferred implementation manner of step S11,
  • the server receives a resource release request sent by the first terminal, and the resource release request includes an amount of the resource, an indication of a release range, and a movement track of the first terminal.
  • the amount is used for resource allocation by the server to determine the amount of resources allocated to the second terminal.
  • the motion trajectory of the first terminal is used by the server to generate resource collection prompt information; preferably, the motion trajectory of the first terminal is a three-dimensional motion trajectory of the first terminal, including X, Y, and Z directions. Motion track.
  • the movement trajectory of the first terminal is determined according to the movement of the first terminal by the first user of the first terminal, and the movement trajectory of the first terminal can be collected by a sensor such as a gyroscope provided on the first terminal.
  • the movement trajectory of the first terminal is determined according to an input operation of the first user of the first terminal to the first terminal.
  • the input operation may be a trajectory that a user can input in the first terminal, [for example, drag a terminal icon in the interface to draw a trajectory as the first terminal movement trajectory; or, enter a trajectory (such as input text, Lines, etc. to represent trajectories); or, input parameters, such as throw height, can also be a selection of existing options (for example, several motion trajectories can be provided for the user to choose).
  • the release range indication may be generated based on a designation of the first user of the first terminal, or may include information on a network environment in which the user releases resources, and the network environment information may be used to determine the release range.
  • the release range indication may be a user condition that a user receiving the resource needs to meet, and the server selects a user who meets the user condition as a second user of the second terminal.
  • the information of the network environment may include a group chat identifier (the publishing scope is other users in the group chat), a user identifier, and an indication for posting to a circle of friends (then the publishing scope is users who can access the circle of friends), The location information of the first terminal, and an instruction for indicating a terminal that is released to the vicinity of the first terminal (the release range may include terminals near the first terminal), and the like.
  • the release range indication may be defined as the identity of the second terminal or the second user of the second terminal.
  • the server transfers the corresponding resource from the account corresponding to the first terminal to the server corresponding account according to the amount of the resources to be allocated; or, according to the amount of the resources to be allocated, to the
  • the first terminal sends a payment request, so that the first terminal makes a payment according to the payment request for purchasing resources.
  • the resource may be various network resources, for example, monetary assets, game coins, etc. in a red envelope.
  • step S12 In a preferred implementation manner of step S12,
  • the server generates resource receiving prompt information according to the first terminal motion trajectory; the resource receiving prompt information includes descriptive information for displaying the first terminal motion trajectory sent by the first terminal, so as to receive the The second user of the second terminal that receives resource prompt information performs a corresponding operation according to the description information of the movement track of the first terminal.
  • step S13 In a preferred implementation manner of step S13,
  • the server sends the resource collection prompt information to the second terminal determined based on the release range indication.
  • the second terminal may be one or more. If there is only one second terminal, the second user of the second terminal can receive the amount of resources. If there are multiple second terminals, the second users of the multiple second terminals may share the amount of resources; it may be an even distribution, a random distribution, or an allocation according to a preset rule. .
  • the preset rule can be set according to the actual situation. In some embodiments, the preset rule may include, for example, determining an amount of resources allocated to the second terminal according to a degree of matching between the motion track of the second terminal and the motion track of the first terminal.
  • the second terminal receives and displays the resource collection prompt information sent by the server.
  • the second terminal displays a movement track of the first terminal for displaying to the second user of the second terminal.
  • step S14 In a preferred implementation manner of step S14,
  • the server receives a resource acquisition request sent by the second terminal, and if the resource trajectory of the second terminal included in the resource acquisition request matches the motion trajectory of the first terminal, the second terminal is determined according to the amount. Allocating resources.
  • the server determines the degree of matching between the movement track of the second terminal and the movement track of the first terminal; determines the amount of resources allocated to the second terminal according to the matching degree and the amount; A determined amount, allocating resources for the second terminal.
  • the higher the matching degree the higher the amount of resources allocated to the second terminal.
  • the matching degree indicates a degree of matching between the first terminal motion track and the second terminal motion track.
  • the matching degree may include, but is not limited to:
  • the degree to which the motion parameters of the second terminal motion trajectory meet the requirements indicated by the first terminal motion trajectory is the degree to which the motion parameters of the second terminal motion trajectory meet the requirements indicated by the first terminal motion trajectory.
  • the server may use the similarity between the second terminal motion trajectory and the first terminal motion trajectory to indicate the degree of matching between the second terminal motion trajectory and the first terminal motion trajectory; in this case, the second terminal The more similar the motion trajectory to the first terminal trajectory, the higher the matching degree between the two.
  • the first terminal motion trajectory is represented by the text input by the first terminal or the selected line
  • the second terminal motion trajectory is similar to the stroke of the text or the selected line treaty
  • the second terminal motion trajectory is similar to the first terminal motion trajectory. The higher the match.
  • the movement trajectory of the first terminal is represented by the movement trajectory of the first terminal collected by the sensor, the more similar the movement trajectory of the second terminal and the movement trajectory of the first terminal, the movement trajectory of the second terminal and the first terminal The higher the matching degree of the motion trajectory.
  • the server can indicate the degree of matching between the motion track of the second terminal and the motion track of the first terminal to the extent that the motion parameters of the motion track of the second terminal meet the requirements indicated by the motion track of the first terminal.
  • the motion trajectory of the first terminal is represented by a throw height. If the throw height indicated by the second terminal motion trajectory is more consistent with the throw height indicated by the first terminal trajectory (the throw height may be a set value, The closer it is to the value, the more consistent it is; the throw height can also be set to infinite height, the higher the throw, the more consistent), the higher the degree of matching between the second terminal motion trajectory and the first terminal motion trajectory.
  • the server transfers the corresponding resource from the account corresponding to the server to the account corresponding to the second terminal according to the amount, and sends the second terminal an instruction to instruct the resource to be transferred to the second terminal. Notification message for the account corresponding to the second terminal.
  • the amount of resources allocated to the second terminal is determined according to the amount; and the determined amount of resources is allocated to the second terminal.
  • the server sends a notification message to the first terminal to indicate that the resource has been picked up by a second user of the second terminal.
  • the server can determine whether the second user of the second terminal can receive the resource sent by the first terminal user according to the degree of matching between the second terminal's motion trajectory and the first terminal's motion trajectory, which improves resources.
  • the accuracy of the distribution and provides a new resource allocation scheme for the current complex network environment.
  • the allocation of resources can be tilted towards users who are more in line with the allocation requirements, and the accuracy of resource allocation is improved.
  • An embodiment of the present invention provides a resource issuing method, which is applied to a first terminal. As shown in FIG. 2, the method includes:
  • Step S21 Acquire the amount of resources provided by the first user corresponding to the first terminal and the movement track of the first terminal provided by the first user;
  • Step S22 Send the amount of the resource and the motion trajectory of the first terminal to a server, so that the server generates a resource collection prompt message according to the motion trajectory of the first terminal and sends it to the second terminal;
  • Step S23 Receive a notification message sent by the server to indicate that the second terminal has received the resource.
  • step S21 Preferably, in a preferred implementation manner of step S21,
  • the first terminal acquires an amount of resources provided by a first user corresponding to the first terminal and a movement track of the first terminal provided by the first user.
  • the first terminal is provided with a sensor such as a gyroscope.
  • the first terminal obtains an amount of resources to be allocated provided by the first user of the first terminal from the human-computer interaction interface.
  • the amount is used for resource allocation by the server, and the amount of resources allocated to the second terminal is determined.
  • the amount of resources is transferred from an account corresponding to the first terminal to an account corresponding to the server.
  • the first terminal motion trajectory is used by a server to generate resource collection prompt information; the first terminal motion trajectory is a three-dimensional motion trajectory of the first terminal, and includes motion trajectories in the X, Y, and Z directions. .
  • the motion trajectory of the first terminal is determined according to the movement of the first terminal by the first user of the first terminal, and data may be collected by a sensor such as a gyroscope provided on the first terminal to determine the motion trajectory of the first terminal.
  • a sensor such as a gyroscope provided on the first terminal to determine the motion trajectory of the first terminal.
  • the motion trajectory of the first terminal may be determined according to an input operation performed by the first user of the first terminal on the first terminal.
  • the input operation may be a trajectory entered by a first user in a first terminal [for example, dragging a terminal icon in an interface to draw a trajectory as the first terminal movement trajectory; or, an input trajectory (such as input text, Lines, etc. to represent the trajectory); or, input parameters, such as throw height], can also be a selection of existing options (for example, several motion trajectories can be provided, such as drawing circles, drawing 8 characters, etc. for users to choose ).
  • the first terminal obtains, from a human-machine interaction interface, a release range indication input by a first user of the first terminal, and the release range indication may be generated based on a user designation, or may include a network environment in which the user releases resources. The information of this network environment can be used to determine the release scope.
  • the release range indication may be a user condition that a user receiving the resource needs to meet, and the server selects a user who meets the user condition as a second user of the second terminal, for example, a network environment
  • the information can include the group chat ID (then the publishing range is other users in the group chat), the user ID and the instructions for indicating the posting to the circle of friends (then the posting range is the users who can access the circle of friends), the first terminal ’s Location information, and an instruction for indicating a terminal that is published near the first terminal (the distribution range may include terminals near the first terminal), and the like.
  • the release range indication may be defined as an identifier of the second terminal or a second user of the second terminal.
  • the first terminal generates a resource release request, and the resource release request includes an amount of the resource, the release range indication, and a movement track of the first terminal.
  • step S22 Preferably, in a preferred implementation manner of step S22,
  • the first terminal sends the resource release request to a server, so that the server generates a resource collection prompt message and sends the message to a second terminal that is determined by the release range indication.
  • the resource release request includes an amount of resources, an indication of a release range, and a movement track of the first terminal.
  • the amount is used for resource allocation by the server, and the amount of the resource allocated to the second terminal is determined.
  • the server transfers the corresponding resource from the account corresponding to the first terminal to the server corresponding account according to the amount of the resources to be allocated; or, according to the amount of the resources to be allocated, to the
  • the first terminal sends a payment request, so that the first terminal makes a payment according to the payment request for purchasing resources.
  • the resource may be various network resources, for example, monetary assets, game coins, etc. in a red envelope.
  • the resource receiving prompt information includes descriptive information for displaying a movement track of the first terminal sent by the first terminal, so that a second user of the second terminal receiving the resource receiving prompt information according to the first terminal movement Perform the corresponding operations on the description information of the trajectory.
  • the second terminal displays a message for displaying the movement track of the first terminal to the second user of the second terminal.
  • Interface so that the second user of the second terminal moves the second terminal according to the motion trajectory of the first terminal; by calling a sensor of the second terminal to detect the movement of the second terminal by the second user, Generating the resource acquisition request including the motion trajectory of the second terminal; and sending the resource acquisition request to the server.
  • step S23 In a preferred implementation manner of step S23,
  • the server receives a resource acquisition request sent by the second terminal, and if the resource trajectory of the second terminal included in the resource acquisition request matches the motion trajectory of the first terminal, the second terminal is determined according to the amount. Allocating resources.
  • the server sends a notification message to the first terminal to indicate that the resource has been picked up by a second user of the second terminal.
  • the first terminal may display the notification message to a first user of the first terminal; or may record the notification message without displaying the notification message to the first user of the first terminal.
  • a first user of a first terminal may set an amount of a resource to be allocated and a movement track of the first terminal corresponding to the resource, so that a second user of the second terminal moves the second terminal to obtain the resource, Improved the accuracy of resource distribution and provided a new resource allocation scheme for the current complex network environment.
  • An embodiment of the present invention provides a resource receiving method, which is applied to a second terminal. As shown in FIG. 3, the method includes:
  • Step S31 Receive and display a resource receiving prompt message sent by the server, where the resource receiving prompt message includes description information of a movement track of the first terminal;
  • Step S32 Obtain a movement track of the second terminal according to the movement of the second terminal by the second user corresponding to the second terminal;
  • Step S33 Generate a resource collection request and send it to the server, where the resource collection request includes a motion trajectory of the second terminal;
  • Step S34 Receive resources allocated by the server in response to the motion trajectory of the second terminal matching the motion trajectory of the first terminal.
  • step S31 In a preferred implementation manner of step S31,
  • the second terminal receives and displays the resource collection prompt information sent by the server.
  • the resource receiving prompt information includes descriptive information for displaying a movement track of the first terminal sent by the first terminal, so that a second user of the second terminal receiving the resource receiving prompt information according to the first terminal movement Perform the corresponding operations on the description information of the trajectory.
  • the motion trajectory of the first terminal is used by the server to generate resource collection prompt information; preferably, the motion trajectory of the first terminal is a three-dimensional motion trajectory of the first terminal, including X, Y, and Z directions. Motion track.
  • the second terminal displays a message for displaying the movement track of the first terminal to the second user of the second terminal.
  • An interface so that the second user of the second terminal receiving the resource receiving prompt information performs a corresponding operation according to the description information of the movement track of the first terminal.
  • step S32 In a preferred implementation manner of step S32,
  • the second user of the second terminal moves the second terminal according to the movement track of the first terminal to obtain the movement track of the second terminal; the second terminal records the first terminal by calling a sensor of the second terminal.
  • the movement of the second terminal by the two users obtains the motion trajectory of the second terminal.
  • step S33 In a preferred implementation manner of step S33,
  • the second terminal generates a resource receiving request and sends it to the server, where the resource receiving request includes a motion trajectory of the second terminal.
  • step S34 In a preferred implementation manner of step S34,
  • the server receives a resource acquisition request sent by the second terminal, and if the resource trajectory of the second terminal included in the resource acquisition request matches the motion trajectory of the first terminal, the second terminal is determined according to the amount. Allocating resources.
  • the server determines the degree of matching between the movement track of the second terminal and the movement track of the first terminal; determines the amount of resources allocated to the second terminal according to the matching degree and the amount; A determined amount, allocating resources for the second terminal.
  • the server transfers the corresponding resource from the account corresponding to the server to the account corresponding to the second terminal according to the amount, and sends the second terminal an instruction to instruct the resource to be transferred to the second terminal. Notification message for the account corresponding to the second terminal.
  • the second terminal receives a resource allocated by the server in response to the motion trajectory of the second terminal matching the motion trajectory of the first terminal.
  • the second terminal receives an error prompt sent by the server to the second terminal in response to not detecting the second terminal motion trajectory that matches the first terminal motion trajectory, and displays the error prompt to the user so that the user can move again Second terminal.
  • the second terminal receives a notification message sent by the server to the second terminal to instruct the resource to be transferred to an account corresponding to the second terminal, and displays the notification message to the second user.
  • the second user of the second terminal controls the second terminal to make the same motion trajectory according to the description information of the motion trajectory of the first terminal, so as to obtain the resources sent by the first terminal user, thereby improving the accuracy of resource allocation.
  • FIG. 4 shows a block diagram of an exemplary computer system / server 012 suitable for implementing the embodiments of the present invention.
  • the computer system / server 012 shown in FIG. 4 is only an example, and should not impose any limitation on the function and scope of use of the embodiment of the present invention.
  • the computer system / server 012 is represented in the form of a general-purpose computing device.
  • the components of the computer system / server 012 may include, but are not limited to, one or more processors or processing units 016, a system memory 028, and a bus 018 connecting different system components (including the system memory 028 and the processing unit 016).
  • the bus 018 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local area bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the enhanced ISA bus, the Video Electronics Standards Association (VESA) local area bus, and peripheral component interconnects ( PCI) bus.
  • the computer system / server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system / server 012, including volatile and non-volatile media, removable and non-removable media.
  • System memory 028 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 030 and / or cache memory 032.
  • the computer system / server 012 may further include other removable / non-removable, volatile / nonvolatile computer system storage media.
  • storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 4 and is commonly referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk (for example, a “floppy disk”), and a removable non-volatile optical disk (for example, CD-ROM, DVD-ROM) Or other optical media).
  • each drive may be connected to the bus 018 through one or more data medium interfaces.
  • the memory 028 may include at least one program product having a set (eg, at least one) of program modules configured to perform functions of embodiments of the present invention.
  • a program / utility tool 040 having a set of (at least one) program module 042 may be stored in, for example, the memory 028.
  • a program module 042 includes-but is not limited to-an operating system, one or more applications, other programs Modules and program data, each or some combination of these examples may include an implementation of a network environment.
  • the program module 042 generally performs functions and / or methods in the embodiments described in the present invention.
  • the computer system / server 012 can also communicate with one or more external devices 014 (such as a keyboard, pointing device, display 024, etc.).
  • the computer system / server 012 communicates with an external radar device and can also communicate with One or more devices that enable a user to interact with the computer system / server 012 and / or with any device (such as a network card, that enables the computer system / server 012 to communicate with one or more other computing devices) Modem, etc.) communication.
  • This communication can be performed through an input / output (I / O) interface 022.
  • the computer system / server 012 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 020.
  • networks such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet
  • the network adapter 020 communicates with other modules of the computer system / server 012 through the bus 018.
  • other hardware and / or software modules may be used in conjunction with the computer system / server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID Systems, tape drives, and data backup storage systems.
  • the processing unit 016 executes the functions and / or methods in the embodiment described in the present invention by running a program stored in the system memory 028.
  • the above-mentioned computer program may be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program, and when the program is executed by one or more computers, the one or more computers cause the one or more computers to perform the operations shown in the foregoing embodiments of the present invention Method flow and / or device operation.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present invention may be written in one or more programming languages, or combinations thereof, which include object-oriented programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language-such as "C" or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through the Internet using an Internet service provider connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider connection such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种资源分配、发放及领取方法,所述资源分配方法包括:接收第一终端发送的资源发布请求,所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹;生成资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;将所述资源提示消息发送至基于所述发布范围指示确定的第二终端;若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。本申请所述方法,可以基于终端运动轨迹实现资源的分配,为当前复杂的网络环境提供了一种新的资源资源分配方案。

Description

一种资源分配、发放及领取方法 【技术领域】
本申请涉及互联网应用领域,尤其涉及一种资源分配、发放及领取方法。
【背景技术】
在当今社会,即时通讯/社交类产品在工作和生活中的使用已经相当普及化,广大用户对这些应用的使用及依赖性越来越强。
资源,例如红包等虚拟资源,的分配、发放及领取是其中的一个重要应用,但是,目前的资源分配方法包括随机发送、固定发放,发放者会设定分配的数额,而领取者只需点击即可获得资源。上述分配方式无法满足目前复杂的网络环境下的实际需求。
【发明内容】
本申请的多个方面提供一种资源分配、发放及领取方法,用于满足目前复杂的网络环境下的实际需求。
本申请的一方面,提供一种资源分配方法,应用于服务端,包括:接收第一终端发送的资源发布请求,所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹;生成资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;将所述资源提示消息发送至基于所述发布范围指示确定的第二终端;若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
本申请的另一方面,提供一种资源发布方法,应用于第一终端,包括:获取第一终端对应的第一用户提供的资源的数额以及所述第一用户提供的第一终端运动轨迹;将所述资源的数额以及所述第一终端运动轨迹发送给服务端,以便所述服务端根据所述第一终端运动轨迹生成资源领取提示消息并发送给第二终端。
本申请的另一方面,提供一种资源领取方法,应用于第二终端,包括:接收并展示服务端发送的资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;根据第二终端对应的第二用户对所述第二终端的移动,获得第二终端运动轨迹;生成资源领取请求并发送给所述服务端,所述资源领取请求包括所述第二终端运动轨迹;接收服务端响应于所述第二终端运动轨迹与所述第一终端运动轨迹匹配而分配的资源。
本申请的另一方面,提供一种设备,其特征在于,所述设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现任一上述的方法。
本申请的另一方面,提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现任一上述的方法。
由所述技术方案可知,通过本申请实施例,可以基于终端运动轨迹实现资源的分配,为当前复杂的网络环境提供了一种新的资源分配方案。并且,结合对终端运动轨迹的识别和匹配,可以使资源的分配向更符合分配要求的用户倾斜,提高了资源分配的精准度。
【附图说明】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请的一些实施例提供的一种资源分配方法的流程示意图;
图2为本申请的一些实施例提供的一种资源发放方法的流程示意图;
图3为本申请的一些实施例提供的一种资源领取方法的流程示意图;
图4为适于用来实现本发明一些实施例的示例性计算机系统/服务端的框图。
【具体实施方式】
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本申请保护的范围。
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本发明的一些实施例提供了一种资源分配方法,应用于服务端。所述服务端可以包括支持网络连接从而提供各种网络服务的硬件设备或软件。当服务端包括硬件时,其可以实现成多个网络设备组成的分布式设备群,也可以实现成单个网络设备,如实现成分布式服务器或单个服务器。当服务端包括软件时,可以安装在上述所列举的网络设备中。这时,作为软件,其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。
如图1所示,该资源分配方法包括:
步骤S11、接收第一终端发送的资源发布请求,所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹;
步骤S12、生成资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;
步骤S13、将所述资源提示消息发送至基于所述发布范围指示确定的第二终端;
步骤S14、若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
所述第一终端和所述第二终端可以是能够通过网络访问所述服务端的各种电子设备,其可以实现为硬件设备或软件。当终端包括硬件时,其可包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机 等等。当终端包括软件时,可以安装在上述各种电子设备中,并可以实现为单个或多个软件模块。
优选地,所述第一终端和第二终端设置有可用于检测终端运动轨迹的陀螺仪等传感器。
在步骤S11的一种优选实现方式中,
优选地,服务端接收第一终端发送的资源发布请求,所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹。
优选地,所述数额用于供所述服务端进行资源的分配,以确定用于分配给所述第二终端的资源的数额。
优选地,所述第一终端运动轨迹用于供服务端生成资源领取提示信息;优选地,所述第一终端运动轨迹为第一终端的三维运动轨迹,包括X方向、Y方向和Z方向上的运动轨迹。
优选地,所述第一终端运动轨迹根据第一终端的第一用户对所述第一终端的移动确定,通过第一终端设置的陀螺仪等传感器可采集第一终端的运动轨迹。
优选地,所述第一终端运动轨迹根据第一终端的第一用户对所述第一终端的输入操作确定。其中,所述输入操作可以是可以用户在第一终端中输入的轨迹,[例如,在界面中拖动终端图标画出轨迹作为第一终端运动轨迹;或,输入轨迹(如以输入的文字、线条等来表示轨迹);或,输入参数,如抛起高度),也可以是对已有选项的选择(例如可提供几种运动轨迹供用户选择)。
优选地,所述发布范围指示发布范围指示可以是基于第一终端的第一用户的指定生成的,也可以包括用户发布资源的网络环境的信息,该网络环境的信息可用于确定发布范围。
优选地,所述发布范围指示可为领取所述资源的用户所需满足的用户条件,所述服务端选择满足所述用户条件的用户作为所述第二终端的第二用户。例如,网络环境的信息可包括群聊标识(则发布范围为群聊中的其他用户)、用户标识以及用于表示发布至朋友圈的指示(则发布范围为可访问该朋友圈的用户)、第一终端的位置信息以及用于表示发布至该第一终端的附近的终端的指示(则发布范围可包括该第一终端附近的终端)等。
优选地,所述发布范围指示可限定为第二终端或第二终端的第二用户的标 识。
优选地,所述服务端根据所述待分配的资源的数额将对应的资源从第一终端对应的账户中转移到服务端对应的账户中;或者,根据所述待分配的资源的数额,向第一终端发送支付请求,以便第一终端根据所述支付请求付款,用于购买资源。
优选地,所述资源可以是各种网络资源,例如,红包中的货币资产、游戏币等。
在步骤S12的一种优选实现方式中,
所述服务端根据所述第一终端运动轨迹,生成资源领取提示信息;所述资源领取提示信息包括用于展示所述第一终端发送的第一终端运动轨迹的描述信息,以便接收到所述资源领取提示信息的第二终端的第二用户根据所述第一终端运动轨迹的描述信息进行相应的操作。
在步骤S13的一种优选实现方式中,
服务端将所述资源领取提示信息发送至基于所述发布范围指示确定的第二终端。
优选地,所述第二终端可以是一个或多个。若所述第二终端为一个,则所述第二终端的第二用户可以领取所述数额的资源。若所述第二终端为多个,则所述多个第二终端的第二用户可以分享所述数额的资源;可以是平均分配,也可以是随机分配,也可以是按照预设规则进行分配。该预设规则可根据实际情况设定。在一些实施例中,该预设规则可包括例如根据第二终端运动轨迹与所述第一终端运动轨迹的匹配度,确定分配给所述第二终端的资源的数额。
优选地,所述第二终端接收并展示服务端发送的资源领取提示信息。
优选地,所述第二终端响应于所述第二终端的的第二用户对资源领取提示信息的触发操作,显示用于向所述第二终端的第二用户展示所述第一终端运动轨迹的界面,以便第二终端的第二用户根据所述第一终端运动轨迹移动第二终端;通过调用所述第二终端的传感器检测所述第二用户对所述第二终端的移动,获得所述第二终端运动轨迹;生成包含所述第二终端的运动轨迹的资源领取请 求;向服务端发送所述资源领取请求。
在步骤S14的一种优选实现方式中,
所述服务端若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
优选地,所述服务端确定第二终端运动轨迹与所述第一终端运动轨迹的匹配度;根据所述匹配度以及所述数额,确定分配给所述第二终端的资源的数额;根据所确定的数额,为所述第二终端分配资源。通常,匹配度越高,则分配给第二终端的资源的数额越高。
所述匹配度表示第一终端运动轨迹与第二终端运动轨迹的匹配程度。优选地,匹配度可包括但不限于:
所述第二终端运动轨迹与所述第一终端运动轨迹的相似度;或者
所述第二终端运动轨迹的运动参数满足所述第一终端运动轨迹所指示的要求的程度。
优选地,服务端可以采用所述第二终端运动轨迹与所述第一终端运动轨迹的相似度来表示第二终端运动轨迹与第一终端运动轨迹的匹配度;在该情况下,第二终端运动轨迹与第一终端运动轨迹越相似,则两者的匹配度越高。例如,第一终端运动轨迹以第一终端输入的文字或选择的线条表示,则第二终端运动轨迹与该文字的笔画或所选择的线条约相似,第二终端运动轨迹与第一终端运动轨迹的匹配度越高。又例如,第一终端运动轨迹以传感器所采集的第一终端的移动的轨迹来表示,则第二终端运动轨迹与该第一终端的移动的轨迹越相似,第二终端运动轨迹与第一终端运动轨迹的匹配度越高。
优选地,服务端可以所述第二终端运动轨迹的运动参数满足所述第一终端运动轨迹所指示的要求的程度来表示第二终端运动轨迹与第一终端运动轨迹的匹配度。例如,第一终端运动轨迹以抛起高度表示,则若第二终端运动轨迹所指示的抛起高度越符合第一终端运动轨迹指示的抛起高度(该抛起高度可为设定的数值,则与该数值越接近表示越符合;该抛起高度也可设置为无限高,则抛起越高表示越符合),第二终端运动轨迹与第一终端运动轨迹的匹配度越 高。
若未检测到与所述第一终端运动轨迹匹配的第二终端运动轨迹,向第二终端发送错误提示。若第二终端运动轨迹与所述第一终端运动轨迹的匹配,为所述第二终端分配所述资源。
优选地,所述服务端根据所述数额将对应的资源从服务端对应的账户中转移到第二终端对应的账户中,并向所述第二终端发送用于指示所述资源转移至所述第二终端对应的账户的通知消息。
优选地,根据所述数额,确定用于分配给所述第二终端的资源的数额;将所确定的数额的资源分配给所述第二终端。
优选地,所述服务端向所述第一终端发送用于指示所述资源已被第二终端的第二用户领取的通知消息。
根据本实施例,服务端可以根据所述第二终端运动轨迹与所述第一终端运动轨迹的匹配度,判断第二终端的第二用户是否可以领取第一终端用户发送的资源,提高了资源发放的精准度,并为目前复杂的网络环境提供了新的资源分配方案。并且,结合对终端运动轨迹的识别和匹配,可以使资源的分配向更符合分配要求的用户倾斜,提高了资源的分配的精准度。
本发明实施例提供了一种资源发放方法,应用于第一终端,如图2所示,包括:
步骤S21、获取第一终端对应的第一用户提供的资源的数额以及所述第一用户提供的第一终端运动轨迹;
步骤S22、将所述资源的数额以及所述第一终端运动轨迹发送给服务端,以便所述服务端根据所述第一终端运动轨迹生成资源领取提示消息并发送给第二终端;
步骤S23、接收服务端发送的用于指示所述第二终端已领取资源的通知消息。
优选地,在步骤S21的一种优选实现方式中,
所述第一终端获取第一终端对应的第一用户提供的资源的数额以及所述 第一用户提供的第一终端运动轨迹。
优选地,所述第一终端设置有陀螺仪等传感器。优选地,第一终端从人机交互界面中获取第一终端的第一用户提供的待分配的资源的数额。
优选地,所述数额用于供所述服务端进行资源的分配,确定用于分配给所述第二终端的资源的数额。优选地,将所述数额的资源从所述第一终端对应的账户中转移到所述服务端对应的账户中。
优选地,所述第一终端运动轨迹用于供服务端生成资源领取提示信息;所述第一终端运动轨迹为第一终端的三维运动轨迹,包括X方向、Y方向和Z方向上的运动轨迹。
优选地,所述第一终端运动轨迹根据第一终端的第一用户对所述第一终端的移动确定,可通过第一终端设置的陀螺仪等传感器采集数据以确定第一终端的运动轨迹。
优选地,所述第一终端运动轨迹可根据第一终端的第一用户对所述第一终端的输入操作确定。其中,所述输入操作可以是第一用户在第一终端中输入的轨迹[例如,在界面中拖动终端图标画出轨迹作为第一终端运动轨迹;或,输入轨迹(如以输入的文字、线条等来表示轨迹);或,输入参数,如抛起高度],也可以是对已有选项的选择(例如可提供几种运动轨迹,如画圆、画8字等运动轨迹,供用户选择)。
优选地,所述第一终端从人机交互界面中获取第一终端的第一用户输入的发布范围指示,所述发布范围指示可以是基于用户指定生成的,也可以包括用户发布资源的网络环境的信息,该网络环境的信息可用于确定发布范围。
优选地,所述发布范围指示可为领取所述资源的用户所需满足的用户条件,所述服务端选择满足所述用户条件的用户作为所述第二终端的第二用户,例如,网络环境的信息可包括群聊标识(则发布范围为群聊中的其他用户)、用户标识以及用于表示发布至朋友圈的指示(则发布范围为可访问该朋友圈的用户)、第一终端的位置信息以及用于表示发布至该第一终端的附近的终端的指示(则发布范围可包括该第一终端附近的终端)等。
优选地,所述发布范围指示可限定为第二终端或第二终端的第二用户的标识。
优选地,所述第一终端生成资源发布请求,所述资源发布请求包括所述资源的数额、所述发布范围指示以及所述第一终端运动轨迹。
优选地,在步骤S22的一种优选实现方式中,
所述第一终端将所述资源发布请求发送给服务端,以便所述服务端生成资源领取提示消息并发送给所述发布范围指示确定的第二终端。
所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹。所述数额用于供所述服务端进行资源的分配,确定用于分配给所述第二终端的资源的数额。
优选地,所述服务端根据所述待分配的资源的数额将对应的资源从第一终端对应的账户中转移到服务端对应的账户中;或者,根据所述待分配的资源的数额,向第一终端发送支付请求,以便第一终端根据所述支付请求付款,用于购买资源。
优选地,所述资源可以是各种网络资源,例如,红包中的货币资产、游戏币等。
所述资源领取提示信息包括用于展示所述第一终端发送的第一终端运动轨迹的描述信息,以便接收到所述资源领取提示信息的第二终端的第二用户根据所述第一终端运动轨迹的描述信息进行相应的操作。
优选地,所述第二终端响应于所述第二终端的第二用户对资源领取提示信息的触发操作,显示用于向所述第二终端的第二用户展示所述第一终端运动轨迹的界面,以便第二终端的第二用户根据所述第一终端运动轨迹移动所述第二终端;通过调用所述第二终端的传感器检测所述第二用户对所述第二终端的移动,获得所述第二终端运动轨迹;生成包含所述第二终端的运动轨迹的资源领取请求;向服务端发送所述资源领取请求。
在步骤S23的一种优选实现方式中,
所述服务端若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
优选地,若所述服务端为第二终端分配所述资源,所述服务端向所述第一终端发送用于指示所述资源已被第二终端的第二用户领取的通知消息。
所述第一终端接收服务端发送的用于指示所述第二终端已领取资源的通知消息。
优选地,所述第一终端可以将所述通知消息展示给第一终端的第一用户;也可以仅记录该通知消息而不展示给第一终端的第一用户。
根据本实施例,第一终端的第一用户可以设定待分配的资源的数额以及与该资源对应的第一终端运动轨迹,以便第二终端的第二用户移动第二终端以领取该资源,提高了资源发放的精准度,并为目前复杂的网络环境提供了新的资源分配方案。
本发明实施例提供了一种资源领取方法,应用于第二终端,如图3所示,包括:
步骤S31、接收并展示服务端发送的资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;
步骤S32、根据第二终端对应的第二用户对所述第二终端的移动,获得第二终端运动轨迹;
步骤S33、生成资源领取请求并发送给所述服务端,所述资源领取请求包括所述第二终端运动轨迹;
步骤S34、接收服务端响应于所述第二终端运动轨迹与所述第一终端运动轨迹匹配而分配的资源。
在步骤S31的一种优选实现方式中,
优选地,所述第二终端接收并展示服务端发送的资源领取提示信息。所述资源领取提示信息包括用于展示所述第一终端发送的第一终端运动轨迹的描述信息,以便接收到所述资源领取提示信息的第二终端的第二用户根据所述第一终端运动轨迹的描述信息进行相应的操作。
优选地,所述第一终端运动轨迹用于供服务端生成资源领取提示信息;优选地,所述第一终端运动轨迹为第一终端的三维运动轨迹,包括X方向、Y方 向和Z方向上的运动轨迹。
优选地,所述第二终端响应于所述第二终端的第二用户对资源领取提示信息的触发操作,显示用于向所述第二终端的第二用户展示所述第一终端运动轨迹的界面,以便接收到所述资源领取提示信息的第二终端的第二用户根据所述第一终端运动轨迹的描述信息进行相应的操作。
在步骤S32的一种优选实现方式中,
第二终端的第二用户根据所述第一终端运动轨迹移动获取所述第二终端的运动轨迹移动所述第二终端;所述第二终端通过调用所述第二终端的传感器记录所述第二用户对所述第二终端的移动,获得所述第二终端运动轨迹。
在步骤S33的一种优选实现方式中,
所述第二终端生成资源领取请求并发送给所述服务端,所述资源领取请求包括所述第二终端运动轨迹。
在步骤S34的一种优选实现方式中,
所述服务端若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
优选地,所述服务端确定第二终端运动轨迹与所述第一终端运动轨迹的匹配度;根据所述匹配度以及所述数额,确定分配给所述第二终端的资源的数额;根据所确定的数额,为所述第二终端分配资源。
若未检测到与所述第一终端运动轨迹匹配的第二终端运动轨迹,向第二终端发送错误提示。若第二终端运动轨迹与所述第一终端运动轨迹的匹配,为所述第二终端分配所述资源。
优选地,所述服务端根据所述数额将对应的资源从服务端对应的账户中转移到第二终端对应的账户中,并向所述第二终端发送用于指示所述资源转移至所述第二终端对应的账户的通知消息。
优选地,所述第二终端接收服务端响应于所述第二终端运动轨迹与所述第 一终端运动轨迹匹配而分配的资源。
优选地,所述第二终端接收服务端响应于未检测到与所述第一终端运动轨迹匹配的第二终端运动轨迹而向第二终端发送的错误提示,并展示给用户,以便用户重新移动第二终端。
优选地,所述第二终端接收服务端向所述第二终端发送用于指示所述资源转移至所述第二终端对应的账户的通知消息,展示给第二用户。
根据本实施例,第二终端的第二用户根据第一终端运动轨迹的描述信息控制第二终端做出相同的运动轨迹,以领取第一终端用户发送的资源,提高了资源分配的精准度。
图4示出了适于用来实现本发明实施方式的示例性计算机系统/服务端012的框图。图4显示的计算机系统/服务端012仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。
如图4所示,计算机系统/服务端012以通用计算设备的形式表现。计算机系统/服务端012的组件可以包括但不限于:一个或者多个处理器或者处理单元016,系统存储器028,连接不同系统组件(包括系统存储器028和处理单元016)的总线018。
总线018表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。
计算机系统/服务端012典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务端012访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
系统存储器028可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)030和/或高速缓存存储器032。计算机系统/服务端012可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统034可以用于读写不可移动的、非易失性磁介质(图 4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线018相连。存储器028可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。
具有一组(至少一个)程序模块042的程序/实用工具040,可以存储在例如存储器028中,这样的程序模块042包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块042通常执行本发明所描述的实施例中的功能和/或方法。
计算机系统/服务端012也可以与一个或多个外部设备014(例如键盘、指向设备、显示器024等)通信,在本发明中,计算机系统/服务端012与外部雷达设备进行通信,还可与一个或者多个使得用户能与该计算机系统/服务端012交互的设备通信,和/或与使得该计算机系统/服务端012能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口022进行。并且,计算机系统/服务端012还可以通过网络适配器020与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图4所示,网络适配器020通过总线018与计算机系统/服务端012的其它模块通信。应当明白,尽管图4中未示出,可以结合计算机系统/服务端012使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
处理单元016通过运行存储在系统存储器028中的程序,从而执行本发明所描述的实施例中的功能和/或方法。
上述的计算机程序可以设置于计算机存储介质中,即该计算机存储介质被编码有计算机程序,该程序在被一个或多个计算机执行时,使得一个或多个计算机执行本发明上述实施例中所示的方法流程和/或装置操作。
随着时间、技术的发展,介质含义越来越广泛,计算机程序的传播途径不 再受限于有形介质,还可以直接从网络下载等。可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务端上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员 应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (16)

  1. 一种资源分配方法,应用于服务端,其特征在于,包括:
    接收第一终端发送的资源发布请求,所述资源发布请求包括资源的数额、发布范围指示以及第一终端运动轨迹;
    生成资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;
    将所述资源提示消息发送至基于所述发布范围指示确定的第二终端;
    若接收到第二终端发送的资源领取请求,且若所述资源领取请求包括的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源。
  2. 根据权利要求1所述的方法,其特征在于,
    所述第一终端运动轨迹和第二终端运动轨迹为三维运动轨迹,包括X方向、Y方向和Z方向上的运动轨迹。
  3. 根据权利要求1所述的方法,其特征在于,根据所述数额为所述第二终端分配资源,包括:
    根据所述数额,确定用于分配给所述第二终端的资源的数额;
    将所确定的数额的资源分配给所述第二终端。
  4. 根据权利要求1所述的方法,其特征在于,该方法还包括:
    将所述资源从所述第一终端对应的账户中转移到所述服务端对应的账户中。
  5. 根据权利要求4所述的方法,其特征在于,为所述第二终端分配资源包括:
    将分配给所述第二终端的资源从所述服务端对应的账户中转移到所述第二终端对应的账户中。
  6. 根据权利要求1所述的方法,其特征在于,若所述资源领取请求指示的第二终端运动轨迹与所述第一终端运动轨迹匹配,根据所述数额为所述第二终端分配资源,包括:
    确定第二终端运动轨迹与所述第一终端运动轨迹的匹配度;
    根据所述匹配度以及所述数额,确定分配给所述第二终端的资源的数额;
    根据所确定的数额,为所述第二终端分配资源。
  7. 根据权利要求6所述的方法,其特征在于,所述匹配度包括以下至少一项:
    所述第二终端运动轨迹与所述第一终端运动轨迹的相似度;
    所述第二终端运动轨迹的运动参数满足所述第一终端运动轨迹所指示的要求的程度。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    向第一终端返回用于指示所述第二终端领取所述资源的通知消息。
  9. 一种资源发布方法,应用于第一终端,其特征在于,包括:
    获取第一终端对应的第一用户提供的资源的数额以及所述第一用户提供的第一终端运动轨迹;
    将所述资源的数额以及所述第一终端运动轨迹发送给服务端,以便所述服务端根据所述第一终端运动轨迹生成资源领取提示消息并发送给第二终端。
  10. 根据权利要求9所述的方法,其特征在于,所述获取第一用户提供的第一终端运动轨迹,包括:
    根据所述第一用户对所述第一终端的移动,确定所述第一终端运动轨迹。
  11. 根据权利要求9所述的方法,其特征在于,所述获取第一用户提供的第一终端运动轨迹,包括:
    根据所述第一用户对所述第一终端的输入操作,确定所述第一终端运动轨迹。
  12. 根据权利要求9所述的方法,其特征在于,该方法还包括:
    将所述数额的资源从所述第一终端对应的账户中转移到所述服务端对应的账户中。
  13. 一种资源领取方法,应用于第二终端,其特征在于,包括:
    接收并展示服务端发送的资源领取提示消息,所述资源领取提示消息包括所述第一终端运动轨迹的描述信息;
    根据第二终端对应的第二用户对所述第二终端的移动,获得第二终端运动轨迹;
    生成资源领取请求并发送给所述服务端,所述资源领取请求包括所述第二终端运动轨迹;
    接收服务端响应于所述第二终端运动轨迹与所述第一终端运动轨迹匹配而分配的资源。
  14. 根据权利要求13所述的方法,其特征在于,根据第二终端对应的第二用户对所述第二终端的移动,获得第二终端运动轨迹,包括:
    通过调用所述第二终端的传感器记录所述第二用户对所述第二终端的移动,获得所述第二终端运动轨迹。
  15. 一种设备,其特征在于,所述设备包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-14中任一所述的方法。
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-14中任一所述的方法。
PCT/CN2019/107207 2018-09-25 2019-09-23 一种资源分配、发放及领取方法 WO2020063511A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811119286.XA CN109246225A (zh) 2018-09-25 2018-09-25 一种资源分配、发放及领取方法
CN201811119286.X 2018-09-25

Publications (1)

Publication Number Publication Date
WO2020063511A1 true WO2020063511A1 (zh) 2020-04-02

Family

ID=65056859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/107207 WO2020063511A1 (zh) 2018-09-25 2019-09-23 一种资源分配、发放及领取方法

Country Status (2)

Country Link
CN (1) CN109246225A (zh)
WO (1) WO2020063511A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612507A (zh) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 金融资源配置方法、装置及电子设备
CN113300937A (zh) * 2021-03-10 2021-08-24 阿里巴巴新加坡控股有限公司 资源分配方法、显示方法、装置、系统及设备
CN113676740A (zh) * 2021-07-16 2021-11-19 五八同城信息技术有限公司 电子资源显示和发放方法、装置、电子设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246225A (zh) * 2018-09-25 2019-01-18 上海掌门科技有限公司 一种资源分配、发放及领取方法
CN111723618A (zh) * 2019-03-21 2020-09-29 浙江莲荷科技有限公司 信息处理方法及装置
CN110488988B (zh) * 2019-07-01 2023-08-04 维沃移动通信有限公司 一种显示控制方法及终端
CN110719222A (zh) * 2019-10-18 2020-01-21 上海连尚网络科技有限公司 用于撤回资源的方法、用于退还资源的方法、设备和介质
CN111222977A (zh) * 2019-12-20 2020-06-02 上海淇玥信息技术有限公司 基于资源配置规则转推用户信息的方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160234302A1 (en) * 2014-01-29 2016-08-11 Tencent Technology (Shenzhen) Company Limited Method, device and system for distributing virtual items
CN106920092A (zh) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 一种虚拟资源分配方法、客户端及服务器
CN108108250A (zh) * 2017-09-25 2018-06-01 上海掌门科技有限公司 分享信息的处理方法、设备及计算机可读存储介质
CN108196952A (zh) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 一种资源分配方法、装置及设备
CN109246225A (zh) * 2018-09-25 2019-01-18 上海掌门科技有限公司 一种资源分配、发放及领取方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850989A (zh) * 2015-05-15 2015-08-19 北京海泰方圆科技有限公司 一种用于移动终端的支付设备及支付方法
CN106961466A (zh) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 资源的发送、领取方法及其设备
CN105786516B (zh) * 2016-03-01 2020-12-18 腾讯科技(北京)有限公司 资源领取方法、装置和系统
CN106055115B (zh) * 2016-07-21 2018-12-28 北京安云世纪科技有限公司 一种移动终端的操作处理方法、装置和移动终端
CN106709705A (zh) * 2016-12-30 2017-05-24 腾讯科技(深圳)有限公司 虚拟物品包发送方法、接收方法、装置及系统
CN108460585A (zh) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 一种资源获取方法、资源分配方法、装置及电子设备
CN107153581B (zh) * 2017-04-10 2022-04-26 腾讯科技(深圳)有限公司 资源的获取方法和装置
CN107566259A (zh) * 2017-10-18 2018-01-09 维沃移动通信有限公司 运动轨迹分享方法和移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160234302A1 (en) * 2014-01-29 2016-08-11 Tencent Technology (Shenzhen) Company Limited Method, device and system for distributing virtual items
CN106920092A (zh) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 一种虚拟资源分配方法、客户端及服务器
CN108108250A (zh) * 2017-09-25 2018-06-01 上海掌门科技有限公司 分享信息的处理方法、设备及计算机可读存储介质
CN108196952A (zh) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 一种资源分配方法、装置及设备
CN109246225A (zh) * 2018-09-25 2019-01-18 上海掌门科技有限公司 一种资源分配、发放及领取方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612507A (zh) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 金融资源配置方法、装置及电子设备
CN113300937A (zh) * 2021-03-10 2021-08-24 阿里巴巴新加坡控股有限公司 资源分配方法、显示方法、装置、系统及设备
CN113300937B (zh) * 2021-03-10 2023-08-29 淘宝(中国)软件有限公司 资源分配方法、显示方法、装置、系统及设备
CN113676740A (zh) * 2021-07-16 2021-11-19 五八同城信息技术有限公司 电子资源显示和发放方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN109246225A (zh) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2020063511A1 (zh) 一种资源分配、发放及领取方法
CN106487872B (zh) 优惠券的提供方法及装置、虚拟资源的分配及领取方法
US11182844B2 (en) Virtual resource transfer method, client device, application server, and system
WO2020057628A1 (zh) 一种虚拟物品分配、发放及领取方法
WO2017219988A1 (zh) 一种支付方法、支付终端及代付服务器
US20150163186A1 (en) Launching a client application based on a message
US20210256077A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN110286768B (zh) 虚拟物体显示方法、终端设备及计算机可读存储介质
JP7437305B2 (ja) 電子取引方法及び端末
CN109960541A (zh) 启动小程序的方法、设备和计算机存储介质
CN111476526B (zh) 一种快递代取方法、装置、设备和存储介质
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN109933269A (zh) 小程序推荐的方法、设备和计算机存储介质
CN110287146A (zh) 应用下载的方法、设备和计算机存储介质
CN110991903A (zh) 一种服务人员的分配方法、装置、设备和存储介质
CN109495549B (zh) 一种应用拉活的方法、设备和计算机存储介质
CN109495573A (zh) 数据传输方法、装置、存储介质及终端
CN107391020A (zh) 触发领取虚拟物品包的方法、装置及终端
CN110517028A (zh) 支付账单的方法、设备和计算机存储介质
US20200220824A1 (en) Method, a device and a storage medium of forwarding voice information in instant messaging
KR20180038819A (ko) 거래 이력 기반의 서비스 제공 방법 및 그 전자 장치
CN110134869A (zh) 一种信息推送方法、装置、设备和存储介质
CN110727924B (zh) 一种资源分享方法及第一电子设备
CN113300937A (zh) 资源分配方法、显示方法、装置、系统及设备
CN111459475A (zh) 接口调用方法、接口对接配置方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19867313

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19867313

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19867313

Country of ref document: EP

Kind code of ref document: A1