WO2019109737A1 - 一种资源分配方法、装置及设备 - Google Patents

一种资源分配方法、装置及设备 Download PDF

Info

Publication number
WO2019109737A1
WO2019109737A1 PCT/CN2018/110663 CN2018110663W WO2019109737A1 WO 2019109737 A1 WO2019109737 A1 WO 2019109737A1 CN 2018110663 W CN2018110663 W CN 2018110663W WO 2019109737 A1 WO2019109737 A1 WO 2019109737A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture
resource
user
resource allocation
data
Prior art date
Application number
PCT/CN2018/110663
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 WO2019109737A1 publication Critical patent/WO2019109737A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/107Static hand or arm
    • G06V40/113Recognition of static hand signs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/107Static hand or arm
    • G06V40/117Biometrics derived from hands

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a resource allocation method, apparatus, and device.
  • online resource allocation (such as online lottery or red packets) has become an important resource allocation method.
  • Online resource allocation is based on the network through the resource server, and the resources in the resource pool are allocated to multiple resources. In the account.
  • the method of resource allocation is randomly assigned or on a first-come, first-served basis. For example, when a user grabs a red envelope or a lottery, the resource server allocates resources (ie, red packets, amount, or money) to users participating in the redemption or lottery by random probability. Prizes, etc.) For example, in the process of rushing for a certain item, the resource server allocates resources (ie, the item) to users participating in the snapping of the item on a first-come, first-served basis.
  • the foregoing resource allocation manner does not require the user to participate in a specific allocation process, and therefore, the user's participation in the process of resource allocation is poor, and the user's controllability of resource allocation is poor, and the resource allocation is also performed.
  • the method is easily broken by the cheats such as automated scripts, resulting in uneven resource allocation.
  • An object of the embodiments of the present application is to provide a resource allocation method, apparatus, and device, so as to implement a resource allocation by using a gesture action data input by a user and matching the data with the reference gesture data to allocate resources to the user.
  • the user's sense of participation is enhanced, and the user's controllability of resource allocation is improved.
  • the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the determining, according to the matching degree, the target resource that needs to be allocated to the user in the resource library including:
  • the resource allocation factor corresponding to the user includes at least one or two of the following: a random allocation factor and The chronological order in which the resource acquisition request is received.
  • the method before the acquiring the gesture action data input by the user on the terminal device, the method further includes:
  • the obtaining reference gesture data for performing resource allocation includes:
  • the reference gesture data for performing resource allocation is generated according to an allocation gesture rule for resource allocation to the user.
  • the determining a degree of matching between the gesture action data and the reference gesture data includes:
  • the degree of matching between the gesture motion data and the reference gesture data is determined by a trajectory matching algorithm, which is a handwriting recognition algorithm, an image similarity algorithm, or a OneDollar trajectory recognition algorithm.
  • the determining, according to the matching degree, the target resource that needs to be allocated to the user in the resource library including:
  • a resource corresponding to the resource allocation ratio is obtained from the resource library as a target resource that needs to be allocated to the user.
  • the method before the acquiring the gesture action data input by the user based on the reference gesture data, the method further includes:
  • the acquiring gesture motion data input by the user based on the reference gesture data includes:
  • the gesture action data input by the user based on the reference gesture data is detected and acquired.
  • the acquiring gesture motion data input by the user based on the reference gesture data includes:
  • Sensing data corresponding to the gesture input by the user based on the reference gesture data is collected by the gesture collection sensor;
  • the trajectory restoration processing is performed on the sensing data according to the trajectory restoration algorithm, and the gesture motion data input by the user is obtained.
  • a resource allocation apparatus provided by an embodiment of the present application, where the apparatus includes:
  • a gesture acquiring module configured to acquire gesture motion data input by the user on the terminal device
  • a resource allocation module configured to determine a matching degree between the gesture action data and the reference gesture data, and determine, according to the matching degree, a target resource that needs to be allocated to the user in the resource library;
  • a resource sending module configured to send the target resource to the terminal device.
  • the resource allocation module is configured to determine, according to the matching degree and a resource allocation factor corresponding to the user, a target resource that needs to be allocated to the user in the resource library, where the resource allocation factor corresponding to the user is at least It includes one or both of the following: a random allocation factor and a chronological order of receiving resource acquisition requests.
  • the device further includes:
  • a reference gesture acquisition module configured to acquire reference gesture data for performing resource allocation
  • a message sending module configured to send a resource allocation notification message to the terminal device, where the resource allocation notification message includes the reference gesture data.
  • the reference gesture acquiring module is configured to receive reference gesture data for managing resource input by the user, or generate reference gesture data for resource allocation according to an allocation gesture rule for resource allocation to the user. .
  • the resource allocation module is configured to determine, by using a trajectory matching algorithm, a matching degree between the gesture motion data and the reference gesture data, where the trajectory matching algorithm is a handwriting recognition algorithm, an image similarity algorithm, or a OneDollar trajectory identification. algorithm.
  • the trajectory matching algorithm is a handwriting recognition algorithm, an image similarity algorithm, or a OneDollar trajectory identification. algorithm.
  • the resource allocation module includes:
  • An allocation ratio determining unit configured to determine, according to the matching degree, a resource allocation ratio corresponding to the matching degree
  • a resource allocation unit configured to acquire, from the resource library, a resource corresponding to the resource allocation ratio as a target resource that needs to be allocated to the user.
  • a resource allocation apparatus provided by an embodiment of the present application, where the apparatus includes:
  • a gesture acquiring module configured to acquire gesture motion data input by the user based on the reference gesture data
  • a sending module configured to send the gesture action data to a resource server
  • a receiving module configured to receive, by the resource server, a target resource that is allocated to the user based on the gesture action data.
  • the receiving module is configured to receive a resource allocation notification message sent by the resource server, where the resource allocation notification message includes the reference gesture data;
  • the gesture obtaining module is configured to detect and acquire gesture action data input by the user based on the reference gesture data when the resource allocation instruction triggered by the user for the resource allocation notification message is acquired.
  • the gesture acquiring module includes:
  • a sensing data acquiring unit configured to collect, by using a gesture acquiring sensor, sensing data corresponding to a gesture input by a user based on the reference gesture data;
  • the track restoration module is configured to perform track restoration processing on the sensing data according to the track restoration algorithm to obtain gesture motion data input by the user.
  • a resource allocation device provided by the embodiment of the present application, where the device includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations:
  • a resource allocation device provided by the embodiment of the present application, where the device includes:
  • a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the following operations:
  • the technical solution provided by the embodiment of the present application can be used to determine the matching degree between the gesture action data and the reference gesture data by using the gesture action data input by the user on the terminal device, and determine according to the matching degree.
  • the resource library needs to be allocated to the target resource of the user, and finally the target resource is sent to the terminal device, so that the user allocates resources by using the gesture action data input by the user and matching the reference gesture data with the user.
  • the user's sense of participation is enhanced, and the user's controllability of resource allocation is improved.
  • the above resource allocation method is not easily broken by automatic scripting and other cheating means, thereby improving the convenience and interest of resource allocation.
  • 2A is a schematic diagram of a display interface of resource allocation according to the present application.
  • 2B is a schematic diagram of a display interface with a matching degree of 90%
  • 2C is a schematic diagram of a display interface with a matching degree of 50%
  • FIG. 5 is a schematic diagram of a resource allocation apparatus according to the present application.
  • FIG. 7 is a schematic diagram of a resource allocation device according to the present application.
  • FIG. 8 is another embodiment of a resource allocation device according to the present application.
  • the embodiment of the present application provides a resource allocation method, device, and device.
  • the embodiment of the present application provides a resource allocation method, where the execution entity of the method may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, or may be an individual.
  • the server may be a stand-alone server or a server cluster composed of multiple servers.
  • the executor of the method is described in detail by using a server as an example.
  • the specific processing of the following server may be performed, and details are not described herein again.
  • the server may be referred to as a resource server.
  • the method may specifically include the following steps:
  • step S102 gesture action data input by the user on the terminal device is acquired.
  • the user can be any user who needs to allocate resources.
  • the terminal device may be a terminal device used by the user, such as a mobile phone or a tablet computer.
  • the gesture action data may be corresponding data generated based on different gesture operations of the user, and the gesture action data may specifically include multiple types, for example, writing one or more characters (such as “S” or “HS”, etc.), or It can be a regular shape graphic, such as a rectangle, a square or a circle, or it can be an irregularly shaped figure.
  • the scenario that needs to allocate resources for the user may include multiple types.
  • the resource server needs to allocate a red envelope or a coupon for the user who grabs the red envelope or obtains the coupon.
  • the resource server needs to allocate the purchased merchandise to the user who buys the merchandise.
  • the resource server needs to allocate the prize to the user who participates in the lottery. Scenes, etc.
  • resource allocation may be performed by means of gesture actions.
  • the user may trigger a resource allocation mechanism in the resource server, and the resource server starts the resource allocation mechanism, and according to a preset gesture in the resource allocation mechanism.
  • the action rule assigns a gesture action to the user, that is, a reference gesture action can be randomly generated according to a preset gesture action rule, such as drawing a specified graphic (such as a circular or star graphic) or writing a specified character, etc.
  • the related data of the generated reference gesture action can be sent to the user, and the user can display related data of the reference gesture action through the terminal device, as shown in FIG. 2 .
  • a user is provided with a corresponding sensor (such as an IMU (Inertial Measurement Unit) sensor).
  • the terminal device can detect the user based on the reference gesture. The gestures made. Then, the user can perform a corresponding gesture action on the display screen of the terminal device for the reference gesture action output by the resource server.
  • the terminal device may activate a corresponding sensor, and detect the gesture action made by the user through the sensor, and the terminal device may send the detected gesture motion data to the resource server, so that the resource server may Obtaining gesture action data generated by the user on the terminal device.
  • the resource server generates a gesture motion track and sends it to the user's terminal device.
  • the terminal device can display the gesture to the user through the display screen of the terminal device.
  • Motion track The user can perform an imitation operation on the gesture motion trajectory.
  • the terminal device can activate the related sensor, acquire the gesture motion data generated by the user to simulate the gesture motion trajectory, and send the data to the resource server.
  • the broadcast notice can be made on the shopping website where the A product is located, for example, on the homepage of the shopping website.
  • the snapped advertisement is seen on the homepage of the shopping website, and if the user is interested in the A product, the user can click on the A product provided by the advertisement.
  • the terminal device may send a page acquisition request to the resource server, and the resource server may send the snapped page data to the terminal device.
  • the terminal device may display the page data, and the page data may include a snap button.
  • the user may click the snap button, and the terminal device generates a snapping command to send to the resource server, and the resource server may pre-define according to the resource allocation mechanism.
  • the set gesture action rule assigns a reference gesture action to the user, and the related data of the reference gesture action can be sent to the user, and the user can display related data of the reference gesture action through the terminal device. Then, the user can perform a corresponding gesture action on the display screen of the terminal device for the reference gesture action.
  • the terminal device can detect the gesture action made by the user through the sensor, and send the detected gesture action data to the resource server.
  • step S104 a matching degree between the gesture action data and the reference gesture data is determined, and according to the matching degree, a target resource that needs to be allocated to the user in the resource library is determined.
  • the reference gesture data may be one or more gesture actions randomly selected from a preset gesture action database, or may be a gesture action preset by the user.
  • the target resource can be any resource that needs to be assigned to the user, such as an item, prize, red envelope, or coupon.
  • a matching algorithm may be set in the server, and different numbers of resources corresponding to different matching degrees are also set. For example, as shown in FIG. 2B, if the matching degree is 90%, The resource allocated to the user is 25% of the total number of resources. As shown in FIG. 2C, if the matching degree is 50%, the resource allocated to the user is 0 or the like, and the processing of different numbers of resources corresponding to different matching degrees may be displayed in the form of a table. Can be as shown in Table 1.
  • the matching of the gesture motion data acquired in step S102 and the reference gesture data may be performed by the matching algorithm to obtain the matching degree of the two. Then, in the correspondence relationship shown in the above table 1, it is found whether the matching degree obtained by the above calculation is included, and if the matching degree obtained by the above calculation is found in the correspondence relationship shown in the above Table 1, the calculated matching degree can be obtained.
  • the number of corresponding resources can be obtained from the resource pool as the target resource that needs to be allocated to the user by the number of resources obtained. For example, if the matching degree obtained by the above calculation is 90%, the number of resources corresponding to the matching degree of 90% can be obtained as 25% by the correspondence relationship of the above Table 1. Therefore, the target resource that needs to be allocated to the user can be obtained as 25% of the total resources.
  • the resource server may send a notification that the resource allocation fails to the terminal device.
  • the message may be displayed by the terminal device. After viewing the notification message, the user may re-enter the gesture action data, that is, perform the processes of step S102 and step S104.
  • the target resource that needs to be allocated to the user may be determined in combination with other influencing factors, for example, considering whether to grab the red envelope or snap up the commodity, the red envelope Or the number of commodities is limited, and the time for grabbing red packets or snapping goods is limited. Therefore, there is often a first-come-first-served phenomenon. For this reason, in addition to considering the matching degree, in determining the target resources that need to be allocated to the user. It is also possible to determine the target resource that needs to be allocated to the user in combination with the time sequence of the user's snapping or the like.
  • step S106 the target resource is sent to the terminal device.
  • the resource server may send the target resource to the terminal device, for example, a certain number of coupons may be sent to the terminal device, or the target resource may be Corresponding full-reduction coupons (such as coupons of 100 yuan minus 50 yuan or coupons of 100 yuan minus 20 yuan) are sent to the terminal device, or information about a certain designated product can be sent to the terminal. Equipment, etc.
  • the embodiment of the present application provides a resource allocation method, where the execution body of the method may be a terminal device, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, or may be a personal computer, etc.
  • the terminal device, the method may specifically include the following steps:
  • step S302 gesture action data input by the user based on the reference gesture data is acquired.
  • the user may trigger a resource allocation mechanism in the resource server, and the resource server starts a resource allocation mechanism, and according to a preset gesture action rule in the resource allocation mechanism,
  • the user assigns a gesture action, that is, a reference gesture action can be randomly generated according to the preset gesture action rule, and the related data of the generated reference gesture action can be sent to the user, and the user can display the relevant reference gesture action through the terminal device.
  • the user's terminal device is provided with a corresponding sensor (such as an IMU sensor). After receiving the relevant data of the reference gesture action, the terminal device can detect the gesture action made by the user based on the reference gesture action.
  • step S304 the gesture motion data is transmitted to the resource server.
  • step S306 the target resource allocated by the resource server based on the gesture action data is allocated to the user.
  • step S306 For the specific processing of the foregoing step S306, refer to the related content of the foregoing step S104 and step S106, and details are not described herein again.
  • An embodiment of the present application provides a resource allocation method, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the embodiment of the present application provides a resource allocation method, which may be jointly performed by a terminal device and a resource server, where the terminal device may be a mobile terminal device such as a mobile phone or a tablet computer, or may be For a terminal device such as a personal computer, the resource server may be a separate server or a server cluster composed of multiple servers.
  • the method specifically includes the following contents:
  • step S402 the resource server acquires reference gesture data for performing resource allocation.
  • the manner of obtaining the reference gesture data may include multiple types.
  • the following two methods are provided, which may include the following manners 1 and 2.
  • the resource server receives the reference gesture data input by the management user for resource allocation.
  • the management user may be a manager of a resource to be allocated, such as a merchant who issues a coupon or a user who issues a red envelope.
  • resource allocation may be performed by means of gesture actions. For this reason, the management user may set multiple reference gesture data.
  • a reference gesture setting page may be set in the shopping website or the resource allocation website, and the management user may input the plurality of reference gesture data set in the setting page, and after the setting is completed, the management user may send the setting page to the resource server.
  • the resource server can extract and save multiple benchmark gesture data.
  • the resource server In the second mode, the resource server generates reference gesture data for performing resource allocation according to an allocation gesture rule for resource allocation to the user.
  • the allocation gesture rule may be a rule of reference gesture data generated for resource allocation.
  • the allocation gesture rule may be a rule for defining a condition for generating reference gesture data.
  • the reference gesture data is an irregular motion trajectory, that is, the reference gesture data generated by the assignment gesture rule is not a regular motion trajectory such as a square, a rectangle, or a circle.
  • the allocation gesture rule may also be a rule including one or more reference gesture data.
  • the assignment gesture rule may be set according to the needs of the management user or the actual situation.
  • the management user may be pre-in the resource server according to actual conditions.
  • One or more reference gesture data is set, or a plurality of selectable reference gesture data can be provided in the resource server, and the management user can select one or more reference gesture data therefrom as the reference gesture data used by the user for resource allocation.
  • step S404 the resource server sends a resource allocation notification message to the terminal device, where the resource allocation notification message includes the reference gesture data.
  • the manner in which the resource server sends the resource allocation notification message may include multiple types, such as setting a corresponding advertisement on a shopping website, or passing a resource allocation notification message through a social group (such as a friend or a group of friends in an instant messaging application). Groups, etc.) or web forums are published to users.
  • a social group such as a friend or a group of friends in an instant messaging application. Groups, etc.
  • web forums are published to users.
  • the resource allocation notification message is found. If the user is interested in the content, the following step S406 and subsequent related content may be performed, if the content is not interested, then The user can ignore the resource allocation notification message or close the corresponding page.
  • the resource allocation notification message may include the foregoing reference gesture data, and the reference gesture data may be stored as a template in the terminal device.
  • the terminal device may receive the resource allocation notification message sent by the resource server, where the resource allocation notification message includes the reference gesture data.
  • step S406 when the resource allocation instruction triggered by the user for the resource allocation notification message is acquired, the terminal device detects and acquires the gesture action data input by the user based on the reference gesture data.
  • the resource allocation instruction may be an instruction for requesting the terminal device to perform resource allocation.
  • the page where the resource allocation notification message is located may further include a participation button and a rejection button. If the user needs to request the resource server to allocate resources for the user, the user may click the participation button in the page, and the terminal device may The resource allocation instruction is generated, and at the same time, the terminal device can display related data of the reference gesture action by using the terminal device.
  • the user's terminal device is provided with a corresponding sensor (such as an IMU sensor). After receiving the relevant data of the reference gesture action, the terminal device can detect the gesture action made by the user based on the reference gesture action. Then, the user can perform a corresponding gesture action on the display screen of the terminal device for the reference gesture action output by the resource server.
  • step S406 The specific processing of the foregoing step S406 is not limited to the foregoing manner. In an actual application, the specific processing of the foregoing step S406 may be implemented in the following manner, and specifically includes the following steps 1 and 2.
  • step one the sensor acquisition data corresponding to the gesture input by the user based on the reference gesture data is collected by the gesture collection sensor.
  • Step 2 performing track restoration processing on the sensing data according to the track restoration algorithm to obtain gesture motion data input by the user.
  • the gesture acquisition sensor only collects a kind of signal data, that is, the sensor data, which is not the trajectory of the gesture action. Therefore, in order to obtain the gesture motion data input by the user, the trajectory restoration algorithm may be preset, and the terminal device may The track restoration process is performed on the sensing data by the track restoration algorithm, and finally the gesture motion data input by the user is obtained.
  • step S408 the terminal device sends the gesture action data to the resource server.
  • the resource server determines the matching degree between the gesture action data and the reference gesture data by using a trajectory matching algorithm, which is a handwriting recognition algorithm, an image similarity algorithm or a OneDollar trajectory recognition algorithm.
  • a trajectory matching algorithm which is a handwriting recognition algorithm, an image similarity algorithm or a OneDollar trajectory recognition algorithm.
  • a trajectory matching algorithm may be set in the resource server, and the trajectory matching algorithm may include various types, such as a handwriting recognition algorithm, an image similarity algorithm, and a OneDollar trajectory recognition algorithm.
  • the resource server may be configured with three trajectory matching algorithms, namely, a handwriting recognition algorithm, an image similarity algorithm, and a OneDollar trajectory recognition algorithm.
  • the degree of matching between the gesture motion data and the reference gesture data may be determined by a handwriting recognition algorithm, and if the gesture motion data input by the user is recorded by an image, The degree of matching between the gesture motion data and the reference gesture data and the like can be determined by an image similarity algorithm.
  • step S412 based on the matching degree, a resource allocation ratio corresponding to the matching degree is determined.
  • step S412 For the specific processing of the foregoing step S412, refer to the related content of step S104 and Table 1 in the foregoing first embodiment, and details are not described herein again.
  • the target resource that needs to be allocated to the user may be determined according to the resource allocation factor, and correspondingly, the following content may be included: according to the matching degree and the foregoing
  • the resource allocation factor corresponding to the user determines the target resource that needs to be allocated to the user in the resource library.
  • the resource allocation factor corresponding to the user includes at least one or two of the following: a random allocation factor and a time sequence of receiving the resource acquisition request.
  • the random allocation factor may be an element or a parameter or the like for characterizing a random allocation of resources.
  • the chronological order of receiving resource acquisition requests may represent the order of resource allocation to a certain extent, and may be used in a resource allocation scenario that needs to be performed on a first come, first served basis.
  • step S414 the resource corresponding to the resource allocation ratio described above is acquired from the resource library as a target resource that needs to be allocated to the user.
  • step S414 For the specific processing of the foregoing step S414, refer to the related content of the step S104, the table 1 and the step S106 in the first embodiment, and details are not described herein again.
  • An embodiment of the present application provides a resource allocation method, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the embodiment of the present application further provides a resource allocation device, as shown in FIG. 5 .
  • the resource allocation apparatus includes: a gesture acquisition module 501, a resource allocation module 502, and a resource sending module 503, where:
  • a gesture acquiring module 501 configured to acquire gesture action data input by the user on the terminal device
  • the resource allocation module 502 is configured to determine a matching degree between the gesture action data and the reference gesture data, and determine, according to the matching degree, a target resource that needs to be allocated to the user in the resource library;
  • the resource sending module 503 is configured to send the target resource to the terminal device.
  • the resource allocation module 502 is configured to determine, according to the matching degree and a resource allocation factor corresponding to the user, a target resource that needs to be allocated to the user in the resource library, and the resource corresponding to the user
  • the allocation factor includes at least one or two of the following: a random allocation factor and a chronological order in which the resource acquisition request is received.
  • the device further includes:
  • a reference gesture acquisition module configured to acquire reference gesture data for performing resource allocation
  • a message sending module configured to send a resource allocation notification message to the terminal device, where the resource allocation notification message includes the reference gesture data.
  • the reference gesture acquiring module is configured to receive reference gesture data for managing resource input by the user, or generate a benchmark for resource allocation according to the allocation gesture rule for resource allocation to the user. Gesture data.
  • the resource allocation module 502 is configured to determine, by using a trajectory matching algorithm, a matching degree between the gesture action data and the reference gesture data, where the trajectory matching algorithm is a handwriting recognition algorithm, an image similarity algorithm, or OneDollar track recognition algorithm.
  • the resource allocation module 502 includes:
  • An allocation ratio determining unit configured to determine, according to the matching degree, a resource allocation ratio corresponding to the matching degree
  • a resource allocation unit configured to acquire, from the resource library, a resource corresponding to the resource allocation ratio as a target resource that needs to be allocated to the user.
  • An embodiment of the present application provides a resource allocation apparatus, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the embodiment of the present application further provides a resource allocation device, as shown in FIG. 6.
  • the resource allocation device includes: a gesture acquiring module 601, a sending module 602, and a receiving module 603, where:
  • a gesture acquiring module 601 configured to acquire gesture motion data input by the user based on the reference gesture data
  • the sending module 602 is configured to send the gesture action data to the resource server.
  • the receiving module 603 is configured to receive a target resource that is sent by the resource server and allocated to the user based on the gesture action data.
  • the receiving module 603 is configured to receive a resource allocation notification message that is sent by the resource server, where the resource allocation notification message includes the reference gesture data.
  • the gesture obtaining module 601 is configured to detect and acquire gesture action data input by the user based on the reference gesture data when acquiring the resource allocation instruction triggered by the user for the resource allocation notification message.
  • the gesture acquiring module 601 includes:
  • a sensing data acquiring unit configured to collect, by using a gesture acquiring sensor, sensing data corresponding to a gesture input by a user based on the reference gesture data;
  • the track restoration module is configured to perform track restoration processing on the sensing data according to the track restoration algorithm to obtain gesture motion data input by the user.
  • An embodiment of the present application provides a resource allocation apparatus, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the embodiment of the present application further provides a resource allocation device, as shown in FIG. 7.
  • the resource allocation device may be the resource server or the like provided by the above embodiment.
  • the resource allocation device may vary considerably depending on configuration or performance, and may include one or more processors 701 and memory 702 in which one or more storage applications or data may be stored.
  • the memory 702 can be short-term storage or persistent storage.
  • An application stored in memory 702 may include one or more modules (not shown), each of which may include a series of computer executable instructions in a resource allocation device.
  • the processor 701 can be arranged to communicate with the memory 702 to execute a series of computer executable instructions in the memory 702 on the resource allocation device.
  • the resource allocation device may also include one or more power sources 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706.
  • the resource allocation device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each A module can include a series of computer executable instructions in a resource allocation device and configured to be executed by one or more processors.
  • the one or more programs are included for performing the following computer executable instructions:
  • executable instructions when executed, may also cause the processor to:
  • the resource allocation factor corresponding to the user includes at least one or two of the following: a random allocation factor and The chronological order in which the resource acquisition request is received.
  • executable instructions when executed, may also cause the processor to:
  • executable instructions when executed, may also cause the processor to:
  • the reference gesture data for performing resource allocation is generated according to an allocation gesture rule for resource allocation to the user.
  • executable instructions when executed, may also cause the processor to:
  • the degree of matching between the gesture motion data and the reference gesture data is determined by a trajectory matching algorithm, which is a handwriting recognition algorithm, an image similarity algorithm, or a OneDollar trajectory recognition algorithm.
  • executable instructions when executed, may also cause the processor to:
  • a resource corresponding to the resource allocation ratio is obtained from the resource library as a target resource that needs to be allocated to the user.
  • An embodiment of the present application provides a resource allocation device, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • the embodiment of the present application further provides a resource allocation device, as shown in FIG. 8.
  • the resource allocation device may be the terminal device or the like provided by the above embodiment.
  • the resource allocation device may vary considerably depending on configuration or performance, and may include one or more processors 801 and memory 802 in which one or more storage applications or data may be stored.
  • the memory 802 can be short-lived or persistent.
  • An application stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer executable instructions in a resource allocation device.
  • the processor 801 can be configured to communicate with the memory 802 to execute a series of computer executable instructions in the memory 802 on the resource allocation device.
  • the resource allocation device may also include one or more power sources 803, one or more wired or wireless network interfaces 804, one or more input and output interfaces 805, one or more keyboards 806.
  • the resource allocation device includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each A module can include a series of computer executable instructions in a resource allocation device and configured to be executed by one or more processors.
  • the one or more programs are included for performing the following computer executable instructions:
  • executable instructions when executed, may also cause the processor to:
  • the acquiring gesture motion data input by the user based on the reference gesture data includes:
  • the gesture action data input by the user based on the reference gesture data is detected and acquired.
  • executable instructions when executed, may also cause the processor to:
  • Sensing data corresponding to the gesture input by the user based on the reference gesture data is collected by the gesture collection sensor;
  • the trajectory restoration processing is performed on the sensing data according to the trajectory restoration algorithm, and the gesture motion data input by the user is obtained.
  • An embodiment of the present application provides a resource allocation device, which determines a matching degree between the gesture action data and the reference gesture data by using gesture action data input by the user on the terminal device, and determines, according to the matching degree, that the resource library needs to be allocated. Giving the target resource of the user, and finally transmitting the target resource to the terminal device, so that the user allocates resources by the degree of matching between the gesture action data input by the user and the reference gesture data, so that in the process of resource allocation The user's sense of participation is enhanced, and the user's controllability of resource allocation is improved. Moreover, the above resource allocation method is not easily broken by automatic scripting and the like, and the convenience and interest of resource allocation are improved.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开了一种资源分配方法、装置及设备,该方法包括:获取用户在终端设备上输入的手势动作数据;确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;将所述目标资源发送给所述终端设备。利用本申请实施例,可以使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。

Description

一种资源分配方法、装置及设备 技术领域
本申请涉及计算机技术领域,尤其涉及一种资源分配方法、装置及设备。
背景技术
随着计算机技术的不断发展,在线资源分配(如在线抽奖或抢红包等)成为一种重要的资源分配方式,在线资源分配是基于网络通过资源服务器,将资源库中的资源分配到多个资源账户中。
通常,资源分配采用的方式为随机分配或先到先得,例如,用户在抢红包或抽奖时,资源服务器会通过随机概率的方式为参与抢红包或抽奖的用户分配资源(即红包、金额或奖品等),再例如,用户在抢购某商品的过程中,资源服务器会以先到先得的方式为参与抢购该商品的用户分配资源(即该商品)。
然而,上述资源分配方式不需要用户参与具体的分配过程,因此,会使得在进行资源分配的过程中,用户的参与感较差,用户对资源分配的可控性较差,而且,上述资源分配方式容易被自动化脚本等作弊手段所攻破,造成资源分配不均。
发明内容
本申请实施例的目的是提供一种资源分配方法、装置及设备,以实现通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
为解决上述技术问题,本申请实施例是这样实现的:
本申请实施例提供的一种资源分配方法,所述方法包括:
获取用户在终端设备上输入的手势动作数据;
确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
将所述目标资源发送给所述终端设备。
可选地,所述根据所述匹配度,确定资源库中需要分配给所述用户的目标资源,包括:
根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
可选地,所述获取用户在终端设备上输入的手势动作数据之前,所述方法还包括:
获取用于进行资源分配的基准手势数据;
向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
可选地,所述获取用于进行资源分配的基准手势数据,包括:
接收管理用户输入的用于进行资源分配的基准手势数据;或者,
根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
可选地,所述确定所述手势动作数据与基准手势数据之间的匹配度,包括:
通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
可选地,所述根据所述匹配度,确定资源库中需要分配给所述用户的目标资源,包括:
根据所述匹配度,确定与所述匹配度相应的资源分配比例;
从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
本申请实施例提供的一种资源分配方法,所述方法包括:
获取用户基于基准手势数据输入的手势动作数据;
向资源服务器发送所述手势动作数据;
接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
可选地,所述获取用户基于基准手势数据输入的手势动作数据之前,所述方法还包括:
接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
所述获取用户基于基准手势数据输入的手势动作数据,包括:
当获取到所述用户针对资源分配通知消息触发的资源分配指令时,检测并获取用户基于所述基准手势数据输入的手势动作数据。
可选地,所述获取用户基于基准手势数据输入的手势动作数据,包括:
通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
本申请实施例提供的一种资源分配装置,所述装置包括:
手势获取模块,用于获取用户在终端设备上输入的手势动作数据;
资源分配模块,用于确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
资源发送模块,用于将所述目标资源发送给所述终端设备。
可选地,所述资源分配模块,用于根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
可选地,所述装置还包括:
基准手势获取模块,用于获取用于进行资源分配的基准手势数据;
消息发送模块,用于向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
可选地,所述基准手势获取模块,用于接收管理用户输入的用于进行资源分配的基准手势数据;或者,根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
可选地,所述资源分配模块,用于通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
可选地,所述资源分配模块,包括:
分配比例确定单元,用于根据所述匹配度,确定与所述匹配度相应的资源分配比例;
资源分配单元,用于从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
本申请实施例提供的一种资源分配装置,所述装置包括:
手势获取模块,用于获取用户基于基准手势数据输入的手势动作数据;
发送模块,用于向资源服务器发送所述手势动作数据;
接收模块,用于接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
可选地,所述接收模块,用于接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
所述手势获取模块,用于当获取到所述用户针对资源分配通知消息触发的资源分配指令时,检测并获取用户基于所述基准手势数据输入的手势动作数据。
可选地,所述手势获取模块,包括:
传感数据获取单元,用于通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
轨迹还原模块,用于根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
本申请实施例提供的一种资源分配设备,所述设备包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
获取用户在终端设备上输入的手势动作数据;
确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
将所述目标资源发送给所述终端设备。
本申请实施例提供的一种资源分配设备,所述设备包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
获取用户基于基准手势数据输入的手势动作数据;
向资源服务器发送所述手势动作数据;
接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
由以上本申请实施例提供的技术方案可见,本申请实施例通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一种资源分配方法实施例;
图2A为本申请一种资源分配的显示界面示意图;
图2B为本申请一种匹配度为90%的显示界面示意图;
图2C为本申请一种匹配度为50%的显示界面示意图;
图3为本申请另一种资源分配方法实施例;
图4为本申请又一种资源分配方法实施例;
图5为本申请一种资源分配装置实施例;
图6为本申请另一种资源分配装置实施例;
图7为本申请一种资源分配设备实施例;
图8为本申请另一种资源分配设备实施例。
具体实施方式
本申请实施例提供一种资源分配方法、装置及设备。
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
实施例一
如图1所示,本申请实施例提供一种资源分配方法,该方法的执行主体可以为终端设备或服务器,其中的终端设备可以是如手机、平板电脑等移动终端设备,还可以是如个人计算机等终端设备,服务器可以是独立的一个服务器,也可以是由多个服务器组成的服务器集群。本申请实施例中为了提高资源的分配效率,该方法的执行主体以服务器为例进行详细说明,对于终端设备的情况,可以参照下述服务器的具体处理执行,在此不再赘述。另外,为了后续描述方便,该服务器可以称为资源服务器。该方法具体可以包括以下步骤:
在步骤S102中,获取用户在终端设备上输入的手势动作数据。
其中,用户可以是任意需要进行资源分配的用户。终端设备可以是用户使用的终端设备,具体如手机或平板电脑等。手势动作数据可以是基于用户的不同手势操作产生的相应数据,手势动作数据具体可以包括多种,例如,书写某一个或多个字符(具体如“S”或“HS”等),再或者,可以是一个形状规则的图形,具体如矩形、正方形或圆形等,又或者,还可以是一个形状不规则的图形等。
在实施中,需要为用户进行资源分配的场景可以包括多种,例如,用户在拼手气抢红包或获取优惠券的过程中,资源服务器需要为抢红包或获取优惠券的用户分配红包或优惠券的场景,再例如,用户在抢购商品的过程中,资源服务器需要为抢购商品的用户分配抢购到的商品的场景,又例如,用户在抽奖的过程中,资源服务器需要为参与抽奖 的用户分配奖品的场景等。在上述场景下,当需要为用户分配在线资源时,为了提高用户体验和资源分配的效率,可以通过手势动作的方式进行资源分配。具体地,当用户处于上述任意场景,需要请求资源服务器为该用户分配资源时,用户可以触发资源服务器中的资源分配机制,资源服务器启动资源分配机制,并根据资源分配机制中预先设定的手势动作规则为该用户分配一个手势动作,即可以根据预先设定的手势动作规则,随机生成一个基准手势动作,如画一个指定图形(如圆形或星形的图形等)或书写一个指定字符等,可以将生成的基准手势动作的相关数据发送给用户,用户可以通过终端设备显示该基准手势动作的相关数据,如图2所示。用户的终端设备中设置有相应的传感器(如IMU(Inertial measurement unit,惯性测量单元)传感器等),终端设备接收到该基准手势动作的相关数据后,可以通过该传感器来检测用户基于基准手势动作做出的手势动作。然后,用户可以针对资源服务器输出的基准手势动作,在终端设备的显示屏上做出相应的手势动作。在做出上述手势动作的过程中,终端设备可以启动相应的传感器,并通过该传感器来检测用户做出的手势动作,终端设备可以将检测到的手势动作数据发送给资源服务器,从而资源服务器可以获取到用户在终端设备上产生的手势动作数据。
例如,如图2A所示,资源服务器生成一个手势动作轨迹,并将其发送给用户的终端设备,该终端设备接收到相应的手势动作数据后,可以通过终端设备的显示屏向用户展示该手势动作轨迹。用户可以针对该手势动作轨迹进行模仿操作,此时,终端设备可以启动相关的传感器,获取用户模仿上述手势动作轨迹产生的手势动作数据,并将其发送给资源服务器。
以抢购A商品为例,如果A商品的提供商计划在某一天进行A商品的限量特价售卖,为此,可以在A商品所在的购物网站上进行广播通知,例如,可以在该购物网站的首页上展示A商品抢购的广告,当用户开启该购物网站时,在该购物网站的首页上会看到该抢购的广告,如果该用户对A商品感兴趣,则可以点击该广告提供的A商品的抢购链接,终端设备可以向资源服务器发送页面获取请求,资源服务器可以将抢购的页面数据发送给终端设备。终端设备可以显示该页面数据,该页面数据中可以包括抢购按键,如果用户确定需要购买A商品,则可以点击抢购按键,终端设备生成抢购指令发送给资源服务器,资源服务器可以根据资源分配机制中预先设定的手势动作规则为该用户分配一个基准手势动作,可以将该基准手势动作的相关数据发送给用户,用户可以通过终端设备显示该基准手势动作的相关数据。然后,用户可以针对该基准手势动作,在终端设备的显示屏上做出相应的手势动作。终端设备可以通过传感器来检测用户做出的手势动作,并将检测到的手势动作数据发送给资源服务器。
在步骤S104中,确定上述手势动作数据与基准手势数据之间的匹配度,根据该匹配度,确定资源库中需要分配给该用户的目标资源。
其中,基准手势数据可以是从预先设定的手势动作数据库中随机选取的一个或多个手势动作,或者,也可以是用户预先设定的手势动作等。目标资源可以是需要分配给用户的任意资源,例如某商品、奖品、红包或优惠券等。
在实施中,为了保证用户的账户的安全,服务器中可以设置有匹配算法,而且,还设置有不同匹配度对应的不同数量的资源,例如,如图2B所示,如果匹配度为90%,则分配给该用户的资源为资源总数的25%。如图2C所示,如果匹配度为50%,则分配给该用户的资源为0等,其中,不同匹配度对应的不同数量的资源的处理可以以表格的形式展示。可以如表1所示
表1
匹配度 资源的数量(占资源总数的百分比)
100% 35%
90% 25%
80% 15%
70% 5%
可以通过该匹配算法对上述步骤S102获取的手势动作数据与基准手势数据进行匹配计算,获取两者的匹配度。然后,在上述表1所示的对应关系中查找其中是否包括上述计算得到的匹配度,如果上述表1所示的对应关系中查找到上述计算得到的匹配度,则可以获取计算得到的匹配度对应的资源的数量,可以通过得到的资源的数量,从资源库中获取相应的资源作为需要分配给该用户的目标资源。例如,如果上述计算得到的匹配度为90%,则通过上述表1的对应关系,可以得到匹配度90%对应的资源的数量为25%,因此,可以得到需要分配给该用户的目标资源为资源总数的25%。
此外,如果在上述表1所示的对应关系中没有查找到上述计算得到的匹配度,则可以确定用户输入的手势动作数据不正确,此时,资源服务器可以向终端设备发送资源分配失败的通知消息,终端设备可以显示该通知消息,用户查看到该通知消息后,可以重新输入手势动作数据,即执行上述步骤S102和步骤S104的处理。
需要说明的是,除了可以通过匹配度确定需要分配给该用户的目标资源外,还可以 结合其他影响因素确定需要分配给该用户的目标资源,例如,考虑到无论是抢红包还是抢购商品,红包或商品的数量有限,抢红包或抢购商品的时间也有限,这样,往往会出现先到先得的现象,为此,在确定需要分配给该用户的目标资源时,除了可以考虑匹配度外,还可以结合用户抢购的时间顺序等来确定需要分配给该用户的目标资源。
在步骤S106中,将上述目标资源发送给终端设备。
在实施中,确定资源库中需要分配给该用户的目标资源后,资源服务器可以将目标资源发送给终端设备,例如,可以将一定数量的优惠券发送给终端设备,或者,可以将与目标资源相对应的满减优惠券(如满100元减50元的优惠券或满100元减20元的优惠券等)发送给终端设备,或者,可以将某抢购的指定商品的相关信息发送给终端设备等。
如图3所示,本申请实施例提供一种资源分配方法,该方法的执行主体可以为终端设备,其中的终端设备可以是如手机、平板电脑等移动终端设备,还可以是如个人计算机等终端设备,该方法具体可以包括以下步骤:
在步骤S302中,获取用户基于基准手势数据输入的手势动作数据。
在实施中,当用户需要请求资源服务器为该用户分配资源时,用户可以触发资源服务器中的资源分配机制,资源服务器启动资源分配机制,并根据资源分配机制中预先设定的手势动作规则为该用户分配一个手势动作,即可以根据预先设定的手势动作规则,随机生成一个基准手势动作,可以将生成的基准手势动作的相关数据发送给用户,用户可以通过终端设备显示该基准手势动作的相关数据。用户的终端设备中设置有相应的传感器(如IMU传感器等),终端设备接收到该基准手势动作的相关数据后,可以通过该传感器来检测用户基于基准手势动作做出的手势动作。
在步骤S304中,向资源服务器发送上述手势动作数据。
在步骤S306中,接收资源服务器发送的基于上述手势动作数据为上述用户分配的目标资源。
上述步骤S306的具体处理可以参见上述步骤S104和步骤S106的相关内容,在此不再赘述。
本申请实施例提供一种资源分配方法,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用 户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
实施例二
如图4所示,本申请实施例提供了一种资源分配方法,该方法可以由终端设备和资源服务器共同执行,其中的终端设备可以是如手机、平板电脑等移动终端设备,还可以是如个人计算机等终端设备,资源服务器可以是独立的一个服务器,也可以是由多个服务器组成的服务器集群。该方法具体包括如下内容:
在步骤S402中,资源服务器获取用于进行资源分配的基准手势数据。
上述获取基准手势数据的方式可以包括多种,以下提供两种可选的处理方式,具体可以包括以下方式一和方式二。
方式一,资源服务器接收管理用户输入的用于进行资源分配的基准手势数据。
其中,管理用户可以是待分配资源的管理者,例如发放优惠券的商户或发红包的用户等。
在实施中,如果管理用户需要向发起资源分配的用户分配资源,为了提高用户体验和资源分配的效率,可以通过手势动作的方式进行资源分配,为此,管理用户可以设定多个基准手势数据。购物网站或资源分配网站中可以设置有基准手势设置页面,管理用户可以在该设置页面中输入上述设定的多个基准手势数据,设置完成后,管理用户可以将上述设置页面发送给资源服务器,资源服务器可以提取其中的多个基准手势数据并保存。
方式二,资源服务器根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
其中,分配手势规则可以是用于进行资源分配而生成的基准手势数据的规则。该分配手势规则可以是对生成基准手势数据的限定条件的规则,例如,基准手势数据是非规则运动轨迹,即该分配手势规则生成的基准手势数据不是正方形、矩形或圆形等规则运动轨迹等。该分配手势规则还可以是包括一个或多个基准手势数据的规则,例如,该分配手势规则可以根据管理用户的需求或实际情况进行设定,例如,管理用户可以根据实际情况预先在资源服务器中设置一个或多个基准手势数据,或者,资源服务器中可 以提供多种可选择的基准手势数据,管理用户可以从中选择一个或多个基准手势数据作为用户进行资源分配所使用的基准手势数据。
在步骤S404中,资源服务器向终端设备发送资源分配通知消息,该资源分配通知消息中包括上述基准手势数据。
在实施中,资源服务器发送资源分配通知消息的方式可以包括多种,例如在购物网站上设置相应的广告,或者,将资源分配通知消息通过社交群组(如即时通讯应用中的好友或好友群组等)或网络论坛等公布给用户。当用户登录相关网站或启动应用程序时,会发现该资源分配通知消息,如果用户对其中的内容感兴趣,则可以执行下述步骤S406以及其后续相关内容,如果对其中的内容不感兴趣,则用户可以忽略该资源分配通知消息或关闭相应的页面等。
需要说明的是,该资源分配通知消息中可以包括上述基准手势数据,基准手势数据可以作为模板存储在终端设备中。
另外,终端设备可以接收资源服务器发送的资源分配通知消息,其中,资源分配通知消息中包括所述基准手势数据。
在步骤S406中,当获取到用户针对资源分配通知消息触发的资源分配指令时,终端设备检测并获取用户基于该基准手势数据输入的手势动作数据。
其中,资源分配指令可以是请求终端设备进行资源分配的指令。
在实施中,资源分配通知消息所在的页面中还可以包括参与按键和拒绝按键,如果用户需要请求资源服务器为该用户分配资源,则用户可以点击上述页面中的参与按键,此时,终端设备可以生成资源分配指令,同时,终端设备可以通过终端设备显示该基准手势动作的相关数据。用户的终端设备中设置有相应的传感器(如IMU传感器等),终端设备接收到该基准手势动作的相关数据后,可以通过该传感器来检测用户基于基准手势动作做出的手势动作。然后,用户可以针对资源服务器输出的基准手势动作,在终端设备的显示屏上做出相应的手势动作。
上述步骤S406的具体处理方式并不限于通过上述方式实现,在实际应用中,上述步骤S406的具体处理还可以通过以下方式实现,具体可以包括以下步骤一和步骤二。
步骤一,通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据。
步骤二,根据轨迹还原算法对上述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
在实施中,手势采集传感器采集到的仅是一种信号数据,即传感数据,并不是手势动作的轨迹,因此,为了得到用户输入的手势动作数据,可以预先设置轨迹还原算法,终端设备可以通过轨迹还原算法对上述传感数据进行轨迹还原处理,最终得到用户输入的手势动作数据。
在步骤S408中,终端设备向资源服务器发送上述手势动作数据。
在步骤S410中,资源服务器通过轨迹匹配算法确定上述手势动作数据与基准手势数据之间的匹配度,该轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
在实施中,为了保证用户的账户的安全,资源服务器中可以设置有轨迹匹配算法,该轨迹匹配算法可以包括多种,例如笔迹识别算法、图像相似度算法和OneDollar轨迹识别算法。对于不同识别类型(如笔迹识别或图像识别等),可以对应于相应的轨迹匹配算法,例如资源服务器可以设置有3种轨迹匹配算法,即笔迹识别算法、图像相似度算法和OneDollar轨迹识别算法,如果用户输入的手势动作数据是以笔迹的方式记录,则可以通过笔迹识别算法确定上述手势动作数据与基准手势数据之间的匹配度,如果用户输入的手势动作数据是以图像的方式记录,则可以通过图像相似度算法确定上述手势动作数据与基准手势数据之间的匹配度等。
在步骤S412中,根据上述匹配度,确定与该匹配度相应的资源分配比例。
上述步骤S412的具体处理可以参见上述实施例一中步骤S104及表1的相关内容,在此不再赘述。
需要说明的是,除了可以通过匹配度确定需要分配给该用户的目标资源外,还可以结合资源分配因子确定需要分配给该用户的目标资源,相应的,可以包括以下内容:根据上述匹配度和用户对应的资源分配因子,确定资源库中需要分配给用户的目标资源,用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
其中,随机分配因子可以是用于表征进行资源的随机分配的元素或参数等。接收资源获取请求的时间顺序可以在一定程度上表征资源分配的顺序,可以用于需要执行先到先得的资源分配场景中。
在步骤S414中,从资源库中获取与上述资源分配比例对应的资源作为需要分配给用户的目标资源。
上述步骤S414的具体处理可以参见上述实施例一中步骤S104、表1,以及步骤S106的相关内容,在此不再赘述。
本申请实施例提供一种资源分配方法,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
实施例三
以上为本申请实施例提供的资源分配方法,基于同样的思路,本申请实施例还提供一种资源分配装置,如图5所示。
所述资源分配装置包括:手势获取模块501、资源分配模块502和资源发送模块503,其中:
手势获取模块501,用于获取用户在终端设备上输入的手势动作数据;
资源分配模块502,用于确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
资源发送模块503,用于将所述目标资源发送给所述终端设备。
本申请实施例中,所述资源分配模块502,用于根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
本申请实施例中,所述装置还包括:
基准手势获取模块,用于获取用于进行资源分配的基准手势数据;
消息发送模块,用于向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
本申请实施例中,所述基准手势获取模块,用于接收管理用户输入的用于进行 资源分配的基准手势数据;或者,根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
本申请实施例中,所述资源分配模块502,用于通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
本申请实施例中,所述资源分配模块502,包括:
分配比例确定单元,用于根据所述匹配度,确定与所述匹配度相应的资源分配比例;
资源分配单元,用于从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
本申请实施例提供一种资源分配装置,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
实施例四
基于同样的思路,本申请实施例还提供一种资源分配装置,如图6所示。
所述资源分配装置包括:手势获取模块601、发送模块602和接收模块603,其中:
手势获取模块601,用于获取用户基于基准手势数据输入的手势动作数据;
发送模块602,用于向资源服务器发送所述手势动作数据;
接收模块603,用于接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
本申请实施例中,所述接收模块603,用于接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
所述手势获取模块601,用于当获取到所述用户针对资源分配通知消息触发的资 源分配指令时,检测并获取用户基于所述基准手势数据输入的手势动作数据。
本申请实施例中,所述手势获取模块601,包括:
传感数据获取单元,用于通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
轨迹还原模块,用于根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
本申请实施例提供一种资源分配装置,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
实施例五
基于同样的思路,本申请实施例还提供一种资源分配设备,如图7所示。
该资源分配设备可以为上述实施例提供的资源服务器等。
资源分配设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器701和存储器702,存储器702中可以存储有一个或一个以上存储应用程序或数据。其中,存储器702可以是短暂存储或持久存储。存储在存储器702的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对资源分配设备中的一系列计算机可执行指令。更进一步地,处理器701可以设置为与存储器702通信,在资源分配设备上执行存储器702中的一系列计算机可执行指令。资源分配设备还可以包括一个或一个以上电源703,一个或一个以上有线或无线网络接口704,一个或一个以上输入输出接口705,一个或一个以上键盘706。
具体在本实施例中,资源分配设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对资源分配设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
获取用户在终端设备上输入的手势动作数据;
确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
将所述目标资源发送给所述终端设备。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
获取用于进行资源分配的基准手势数据;
向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
接收管理用户输入的用于进行资源分配的基准手势数据;或者,
根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
根据所述匹配度,确定与所述匹配度相应的资源分配比例;
从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
本申请实施例提供一种资源分配设备,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得 在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
实施例六
基于同样的思路,本申请实施例还提供一种资源分配设备,如图8所示。
该资源分配设备可以为上述实施例提供的终端设备等。
资源分配设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器801和存储器802,存储器802中可以存储有一个或一个以上存储应用程序或数据。其中,存储器802可以是短暂存储或持久存储。存储在存储器802的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对资源分配设备中的一系列计算机可执行指令。更进一步地,处理器801可以设置为与存储器802通信,在资源分配设备上执行存储器802中的一系列计算机可执行指令。资源分配设备还可以包括一个或一个以上电源803,一个或一个以上有线或无线网络接口804,一个或一个以上输入输出接口805,一个或一个以上键盘806。
具体在本实施例中,资源分配设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对资源分配设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
获取用户基于基准手势数据输入的手势动作数据;
向资源服务器发送所述手势动作数据;
接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
所述获取用户基于基准手势数据输入的手势动作数据,包括:
当获取到所述用户针对资源分配通知消息触发的资源分配指令时,检测并获取 用户基于所述基准手势数据输入的手势动作数据。
可选地,所述可执行指令在被执行时,还可以使所述处理器:
通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
本申请实施例提供一种资源分配设备,通过用户在终端设备上输入的手势动作数据,确定该手势动作数据与基准手势数据之间的匹配度,并根据该匹配度,确定资源库中需要分配给该用户的目标资源,最后将目标资源发送给终端设备,这样,通过用户输入的手势动作数据,将其与基准手势数据之间的匹配程度来为用户分配资源,使得在资源分配的过程中用户的参与感增强,提高了用户对资源分配的可控性,而且,上述资源分配方式不容易被自动化脚本等作弊手段所攻破,提高资源分配的便捷性和趣味性。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL 也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代 码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于 存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (20)

  1. 一种资源分配方法,其特征在于,所述方法包括:
    获取用户在终端设备上输入的手势动作数据;
    确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
    将所述目标资源发送给所述终端设备。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述匹配度,确定资源库中需要分配给所述用户的目标资源,包括:
    根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
  3. 根据权利要求2所述的方法,其特征在于,所述获取用户在终端设备上输入的手势动作数据之前,所述方法还包括:
    获取用于进行资源分配的基准手势数据;
    向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
  4. 根据权利要求3所述的方法,其特征在于,所述获取用于进行资源分配的基准手势数据,包括:
    接收管理用户输入的用于进行资源分配的基准手势数据;或者,
    根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述确定所述手势动作数据与基准手势数据之间的匹配度,包括:
    通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述匹配度,确定资源库中需要分配给所述用户的目标资源,包括:
    根据所述匹配度,确定与所述匹配度相应的资源分配比例;
    从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
  7. 一种资源分配方法,其特征在于,所述方法包括:
    获取用户基于基准手势数据输入的手势动作数据;
    向资源服务器发送所述手势动作数据;
    接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
  8. 根据权利要求7所述的方法,其特征在于,所述获取用户基于基准手势数据输入的手势动作数据之前,所述方法还包括:
    接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
    所述获取用户基于基准手势数据输入的手势动作数据,包括:
    当获取到所述用户针对资源分配通知消息触发的资源分配指令时,检测并获取用户基于所述基准手势数据输入的手势动作数据。
  9. 根据权利要求8所述的方法,其特征在于,所述获取用户基于基准手势数据输入的手势动作数据,包括:
    通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
    根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
  10. 一种资源分配装置,其特征在于,所述装置包括:
    手势获取模块,用于获取用户在终端设备上输入的手势动作数据;
    资源分配模块,用于确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
    资源发送模块,用于将所述目标资源发送给所述终端设备。
  11. 根据权利要求10所述的装置,其特征在于,所述资源分配模块,用于根据所述匹配度和所述用户对应的资源分配因子,确定资源库中需要分配给所述用户的目标资源,所述用户对应的资源分配因子至少包括以下一种或两种:随机分配因子和接收资源获取请求的时间顺序。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    基准手势获取模块,用于获取用于进行资源分配的基准手势数据;
    消息发送模块,用于向所述终端设备发送资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据。
  13. 根据权利要求12所述的装置,其特征在于,所述基准手势获取模块,用于接收管理用户输入的用于进行资源分配的基准手势数据;或者,根据对用户进行资源分配的分配手势规则生成用于进行资源分配的基准手势数据。
  14. 根据权利要求10至13中任一项所述的装置,其特征在于,所述资源分配模块,用于通过轨迹匹配算法确定所述手势动作数据与基准手势数据之间的匹配度,所述轨迹匹配算法为笔迹识别算法、图像相似度算法或OneDollar轨迹识别算法。
  15. 根据权利要求14所述的装置,其特征在于,所述资源分配模块,包括:
    分配比例确定单元,用于根据所述匹配度,确定与所述匹配度相应的资源分配比例;
    资源分配单元,用于从所述资源库中获取与所述资源分配比例对应的资源作为需要分配给所述用户的目标资源。
  16. 一种资源分配装置,其特征在于,所述装置包括:
    手势获取模块,用于获取用户基于基准手势数据输入的手势动作数据;
    发送模块,用于向资源服务器发送所述手势动作数据;
    接收模块,用于接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
  17. 根据权利要求16所述的装置,其特征在于,所述接收模块,用于接收所述资源服务器发送的资源分配通知消息,所述资源分配通知消息中包括所述基准手势数据;
    所述手势获取模块,用于当获取到所述用户针对资源分配通知消息触发的资源分配指令时,检测并获取用户基于所述基准手势数据输入的手势动作数据。
  18. 根据权利要求17所述的装置,其特征在于,所述手势获取模块,包括:
    传感数据获取单元,用于通过手势采集传感器采集用户基于基准手势数据输入的手势对应的传感数据;
    轨迹还原模块,用于根据轨迹还原算法对所述传感数据进行轨迹还原处理,得到用户输入的手势动作数据。
  19. 一种资源分配设备,所述设备包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
    获取用户在终端设备上输入的手势动作数据;
    确定所述手势动作数据与基准手势数据之间的匹配度,根据所述匹配度,确定资源库中需要分配给所述用户的目标资源;
    将所述目标资源发送给所述终端设备。
  20. 一种资源分配设备,所述设备包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:
    获取用户基于基准手势数据输入的手势动作数据;
    向资源服务器发送所述手势动作数据;
    接收所述资源服务器发送的基于所述手势动作数据为所述用户分配的目标资源。
PCT/CN2018/110663 2017-12-05 2018-10-17 一种资源分配方法、装置及设备 WO2019109737A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711264262.9 2017-12-05
CN201711264262.9A CN108196952B (zh) 2017-12-05 2017-12-05 一种资源分配方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2019109737A1 true WO2019109737A1 (zh) 2019-06-13

Family

ID=62573634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110663 WO2019109737A1 (zh) 2017-12-05 2018-10-17 一种资源分配方法、装置及设备

Country Status (3)

Country Link
CN (2) CN108196952B (zh)
TW (1) TWI697840B (zh)
WO (1) WO2019109737A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445289A (zh) * 2020-03-31 2020-07-24 深圳前海微众银行股份有限公司 资源投放方法、装置、设备及存储介质
CN112099956A (zh) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 一种资源分配方法、装置及设备
CN112288246A (zh) * 2020-10-20 2021-01-29 中建科技集团有限公司 一种资源分配方法、终端和存储介质
CN112446407A (zh) * 2019-09-03 2021-03-05 财团法人资讯工业策进会 动作数据标记系统、方法及非暂态计算机可读取媒体
CN113127522A (zh) * 2019-12-31 2021-07-16 阿里巴巴集团控股有限公司 数据处理方法、设备、系统及存储介质
CN113127198A (zh) * 2021-04-16 2021-07-16 建信金融科技有限责任公司 一种任务处理方法、装置及设备
CN113343148A (zh) * 2021-06-18 2021-09-03 上海哔哩哔哩科技有限公司 资源处理方法、客户端、服务器及系统
CN113935773A (zh) * 2021-10-15 2022-01-14 口碑(上海)信息技术有限公司 电子资源对象的处理方法、装置、电子设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196952B (zh) * 2017-12-05 2020-06-05 阿里巴巴集团控股有限公司 一种资源分配方法、装置及设备
CN109284714A (zh) * 2018-09-21 2019-01-29 上海掌门科技有限公司 一种虚拟物品分配、发放及领取方法
CN109246225A (zh) * 2018-09-25 2019-01-18 上海掌门科技有限公司 一种资源分配、发放及领取方法
CN111027348A (zh) * 2018-10-10 2020-04-17 百度在线网络技术(北京)有限公司 抽奖方法、装置、设备及存储介质
CN109714357A (zh) * 2019-01-14 2019-05-03 上海掌门科技有限公司 用于分配资源的方法和设备
CN112560777A (zh) * 2020-12-25 2021-03-26 北京思特奇信息技术股份有限公司 一种触发领取卡券的方法、系统及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336658A (zh) * 2012-05-31 2013-10-02 腾讯科技(深圳)有限公司 终端设备的触摸屏的解锁方法和装置
CN106920092A (zh) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 一种虚拟资源分配方法、客户端及服务器
CN107181784A (zh) * 2016-03-11 2017-09-19 阿里巴巴集团控股有限公司 一种资源分配方法及装置
CN108196952A (zh) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 一种资源分配方法、装置及设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5236559B2 (ja) * 2009-03-31 2013-07-17 株式会社コナミデジタルエンタテインメント 音楽演奏ゲーム装置及び音楽演奏ゲーム装置の表示制御方法
US9183580B2 (en) * 2010-11-04 2015-11-10 Digimarc Corporation Methods and systems for resource management on portable devices
US8909567B2 (en) * 2012-02-20 2014-12-09 Xerox Corporation Method and system for the dynamic allocation of resources based on fairness, throughput, and user behavior measurement
US9600077B2 (en) * 2012-10-23 2017-03-21 Lg Electronics Inc. Image display device and method for controlling same
JP6233625B2 (ja) * 2012-11-16 2017-11-22 ソニー株式会社 音声処理装置および方法、並びにプログラム
US9274607B2 (en) * 2013-03-15 2016-03-01 Bruno Delean Authenticating a user using hand gesture
JP2015043141A (ja) * 2013-08-26 2015-03-05 キヤノン株式会社 ジェスチャ認識装置および制御プログラム
US9537805B2 (en) * 2014-03-27 2017-01-03 Dropbox, Inc. Activation of dynamic filter generation for message management systems through gesture-based input
US9547854B2 (en) * 2014-12-02 2017-01-17 Paypal, Inc. User-friendly transaction interface
CN104898981B (zh) * 2015-06-29 2018-10-16 安一恒通(北京)科技有限公司 用于识别手势的方法、装置及终端
CN104932697B (zh) * 2015-06-30 2020-08-21 边缘智能研究院南京有限公司 手势解锁方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336658A (zh) * 2012-05-31 2013-10-02 腾讯科技(深圳)有限公司 终端设备的触摸屏的解锁方法和装置
CN107181784A (zh) * 2016-03-11 2017-09-19 阿里巴巴集团控股有限公司 一种资源分配方法及装置
CN106920092A (zh) * 2016-12-23 2017-07-04 阿里巴巴集团控股有限公司 一种虚拟资源分配方法、客户端及服务器
CN108196952A (zh) * 2017-12-05 2018-06-22 阿里巴巴集团控股有限公司 一种资源分配方法、装置及设备

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446407A (zh) * 2019-09-03 2021-03-05 财团法人资讯工业策进会 动作数据标记系统、方法及非暂态计算机可读取媒体
CN113127522A (zh) * 2019-12-31 2021-07-16 阿里巴巴集团控股有限公司 数据处理方法、设备、系统及存储介质
CN113127522B (zh) * 2019-12-31 2024-05-10 阿里巴巴集团控股有限公司 数据处理方法、设备、系统及存储介质
CN111445289A (zh) * 2020-03-31 2020-07-24 深圳前海微众银行股份有限公司 资源投放方法、装置、设备及存储介质
CN111445289B (zh) * 2020-03-31 2024-05-28 深圳前海微众银行股份有限公司 资源投放方法、装置、设备及存储介质
CN112099956A (zh) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 一种资源分配方法、装置及设备
CN112288246A (zh) * 2020-10-20 2021-01-29 中建科技集团有限公司 一种资源分配方法、终端和存储介质
CN113127198A (zh) * 2021-04-16 2021-07-16 建信金融科技有限责任公司 一种任务处理方法、装置及设备
CN113343148A (zh) * 2021-06-18 2021-09-03 上海哔哩哔哩科技有限公司 资源处理方法、客户端、服务器及系统
CN113343148B (zh) * 2021-06-18 2023-12-01 上海哔哩哔哩科技有限公司 资源处理方法、客户端、服务器及系统
CN113935773A (zh) * 2021-10-15 2022-01-14 口碑(上海)信息技术有限公司 电子资源对象的处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN108196952B (zh) 2020-06-05
CN111880927A (zh) 2020-11-03
TW201926034A (zh) 2019-07-01
CN111880927B (zh) 2024-02-06
TWI697840B (zh) 2020-07-01
CN108196952A (zh) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2019109737A1 (zh) 一种资源分配方法、装置及设备
KR102236499B1 (ko) 가상 자원을 할당하기 위한 방법 및 장치
EP3565219A1 (en) Service execution method and device
TWI622941B (zh) 移動裝置、用於預測使用者行為的方法、及非暫時性電腦可讀取儲存媒體
CN108829457A (zh) 应用程序预测模型更新方法、装置、存储介质及终端
US10572104B2 (en) Electronic device for executing a plurality of applications and method for controlling the electronic device
WO2020173275A1 (zh) 一种信息处理方法、装置及设备
US11671393B2 (en) Dynamic re-configuration of a user interface based on transaction information
AU2017334312A1 (en) Objective based advertisement placement platform
JP2020509440A (ja) リソース送信方法および装置
KR20170065904A (ko) 콘텐트 프리로딩 방법 및 이를 지원하는 전자 장치
CN107835114B (zh) 一种信息处理方法、设备及计算机可读介质
TWI713019B (zh) 資料標籤產生、模型訓練、事件識別方法和裝置
WO2019072198A1 (zh) 一种文件分享方法、设备及计算机可读介质
CN111639269B (zh) 一种地点推荐方法及装置
WO2024037285A1 (zh) 场所服务处理方法及装置
CN114693226A (zh) 审批流程构建方法、装置、设备以及存储介质
CN112306606A (zh) 一种用于呈现控件样式的方法与设备
CN109657889B (zh) 考勤方法及装置
CN114500448A (zh) 选取目标用户的方法、设备及计算机可读介质
CN108255911A (zh) 网络信息的评价方法、设备及电子设备
JP7191996B2 (ja) サーバ、情報処理方法、プログラム
JP7191997B2 (ja) プログラム、情報処理方法、端末
CN109785178A (zh) 用于生成信息的方法和装置
CN107528771A (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: 18886663

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: 18886663

Country of ref document: EP

Kind code of ref document: A1