WO2017190576A1 - 对象分配方法和装置 - Google Patents

对象分配方法和装置 Download PDF

Info

Publication number
WO2017190576A1
WO2017190576A1 PCT/CN2017/079861 CN2017079861W WO2017190576A1 WO 2017190576 A1 WO2017190576 A1 WO 2017190576A1 CN 2017079861 W CN2017079861 W CN 2017079861W WO 2017190576 A1 WO2017190576 A1 WO 2017190576A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
allocation
audio file
user
time interval
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/079861
Other languages
English (en)
French (fr)
Inventor
朱鸿
杜杰
胡兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2017190576A1 publication Critical patent/WO2017190576A1/zh
Priority to US16/179,721 priority Critical patent/US20190073871A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/3244Payment aspects of a gaming system, e.g. payment schemes, setting payout ratio, bonus or consolation prizes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H1/00Measuring characteristics of vibrations in solids by using direct conduction to the detector
    • G01H1/12Measuring characteristics of vibrations in solids by using direct conduction to the detector of longitudinal or not specified vibrations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H3/00Measuring characteristics of vibrations by using a detector in a fluid
    • G01H3/10Amplitude; Power
    • G01H3/12Amplitude; Power by electric means
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0209Incentive being awarded or redeemed in connection with the playing of a video game
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/326Game play aspects of gaming systems
    • G07F17/3269Timing aspects of game play, e.g. blocking/halting the operation of a gaming machine
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H1/00Measuring characteristics of vibrations in solids by using direct conduction to the detector
    • G01H1/12Measuring characteristics of vibrations in solids by using direct conduction to the detector of longitudinal or not specified vibrations
    • G01H1/14Frequency
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H1/00Measuring characteristics of vibrations in solids by using direct conduction to the detector
    • G01H1/12Measuring characteristics of vibrations in solids by using direct conduction to the detector of longitudinal or not specified vibrations
    • G01H1/16Amplitude

Definitions

  • the present application relates to the field of service processing technologies, and in particular, to an object allocation method and apparatus.
  • the present application provides an object allocation method and apparatus, which can optimize an allocation process to an object.
  • an object allocation method comprising:
  • an object distribution apparatus comprising:
  • the startup unit starts playing the preset audio file according to the received distribution start command
  • Determining a unit determining an allocation time interval corresponding to the preset audio file, and each Allocating an allocation quantity corresponding to the time interval; wherein the allocation quantity is related to a preset acoustic wave characteristic parameter of the preset audio file in each allocated time interval;
  • an allocation unit that acquires the object of the allocated quantity and allocates to an assignable user corresponding to the corresponding allocated time interval.
  • an object allocation method including:
  • An allocation request corresponding to the current user is initiated to the server, and the distribution result returned by the server is received and displayed.
  • an object distribution apparatus comprising:
  • the probability display unit determines, according to the real-time playing status, probability description information that the current user is successfully assigned a preset object, and displays the probability description information;
  • a result display unit initiating an allocation request corresponding to the current user to the server, and receiving and displaying the distribution result returned by the server.
  • a method for configuring an object allocation rule including:
  • an apparatus for configuring an object allocation rule including:
  • the extracting unit respectively extracts preset acoustic wave characteristic parameters of the preset audio file in each allocated time interval according to the allocated time interval corresponding to the preset audio file;
  • a configuration unit configured to allocate an amount corresponding to the allocated time interval according to the preset sound wave characteristic parameter; wherein, when the preset audio file is played to any allocated time interval, the corresponding allocated number of objects will be Assigned to the assignable users corresponding to any of the allocated time intervals.
  • the present application can realize the object allocation in the process of the user listening to the audio file by combining the object allocation operation with the sound wave feature of the audio file, thereby realizing the object allocation operation and the acoustic characteristics of the audio file.
  • the interaction between them helps to increase the fun of the object distribution process.
  • FIG. 1A is a flowchart of a method for configuring an object allocation rule according to an exemplary embodiment of the present application
  • FIG. 1B is a flowchart of a server-side object allocation method according to an exemplary embodiment of the present application
  • FIG. 2 is a schematic diagram of a processing stage of assigning an object according to an exemplary embodiment of the present application
  • Figure 3 is a flow chart of the pre-processing stage of the embodiment of Figure 2;
  • FIG. 4 is a schematic diagram showing a waveform distribution of an audio file according to an exemplary embodiment of the present application.
  • FIG. 5 is a schematic diagram of distribution of an allocation object according to an exemplary embodiment of the present application.
  • Figure 6 is a flow chart of the object allocation phase of the embodiment shown in Figure 2;
  • FIG. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • FIG. 8 is a block diagram of a server-side object allocation apparatus according to an exemplary embodiment of the present application.
  • FIG. 9 is a flowchart of a client side-based object allocation method according to an exemplary embodiment of the present application.
  • FIG. 10 is a system architecture diagram of an object allocation function according to an exemplary embodiment of the present application.
  • FIG. 11 is a system architecture diagram of another implementation object allocation function according to an exemplary embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • FIG. 13 is a block diagram of a client side-based object distribution apparatus according to an exemplary embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • FIG. 15 is a block diagram of an apparatus for configuring an object allocation rule according to an exemplary embodiment of the present application.
  • FIG. 1A is a flowchart of a method for configuring an object allocation rule according to an exemplary embodiment of the present application. As shown in FIG. 1A, the method is applied to a server, and may include the following steps:
  • Step 102A Acquire a preset audio file for object allocation.
  • Step 104A Extract, according to the allocated time interval corresponding to the preset audio file, preset preset acoustic feature parameters of the preset audio file in each allocated time interval.
  • the allocation time interval may be a plurality of intervals obtained by dividing the playing timing of the preset audio file according to a preset duration.
  • the preset acoustic characteristic parameter may include at least one of the following: a vibration frequency and a vibration amplitude.
  • Step 106A configured according to the preset acoustic wave characteristic parameter, in a corresponding allocation time The allocated number corresponding to the interval; wherein, when the preset audio file is played to any of the allocated time intervals, the corresponding allocated number of objects will be allocated to the assignable users corresponding to any of the allocated time intervals.
  • the first audio sampling point may be determined from a plurality of audio sampling points in each allocated time interval of the preset audio file; wherein the value of the preset acoustic wave characteristic parameter of the first audio sampling point satisfies
  • the numerical condition is preset; then, the corresponding allocated quantity is configured according to the sum of the first audio sampling points in each allocated time interval or the sum of the values of the preset acoustic characteristic parameters of all the first audio sampling points.
  • the number of allocations may be positively related to the sum of the number of first audio sample points within the respective allocated time interval or the value of the preset acoustic wave characteristic parameters of all of the first audio sample points.
  • the preset numerical conditions include: not less than the preset value.
  • FIG. 1B is a flowchart of an object allocation method according to an exemplary embodiment of the present application. As shown in FIG. 1B, the method is applied to a server, and may include the following steps:
  • Step 102B Start playing the preset audio file according to the received allocation start command.
  • the allocation start command may be directly sent to the server by the staff member; or the allocation start command may also be issued by any user who is predefined, and the application does not limit this.
  • the preset audio file may be any audio file selected in advance; wherein the number of preset audio files may be one or more.
  • Step 104B determining an allocation time interval corresponding to the preset audio file, and an allocation quantity corresponding to each allocation time interval; wherein the allocation quantity and a preset of the preset audio file in each allocation time interval
  • the acoustic characteristic parameters are related.
  • each preset audio file may include at least one allocated time interval, and each allocation time is according to a difference of preset acoustic feature parameters in each allocated time interval.
  • the interval may have a corresponding allocation quantity, so that the object allocation process and the playback process of the preset audio file cooperate and echo, thereby improving the interest in the process.
  • the preset acoustic wave characteristic parameter may include at least one of a vibration frequency and a vibration amplitude.
  • the preset audio file has a plurality of audio sampling points in each allocated time interval, and the number of allocations may be the same as the number of first audio sampling points or all the first audio sampling points in the corresponding allocated time interval.
  • Setting the sum of the values of the acoustic wave characteristic parameters, for example, the number of allocations is positively related to the sum of the number of first audio sampling points in the corresponding allocated time interval or the value of the preset acoustic characteristic parameters of all the first audio sampling points;
  • the value of the preset acoustic characteristic parameter of an audio sampling point satisfies a preset numerical condition, such as not less than a preset value.
  • Step 106B Acquire an object of the allocated quantity, and assign it to an assignable user corresponding to the corresponding allocated time interval.
  • the object may be a virtual item such as a gift money, a voucher, a redemption voucher, or any physical item; wherein the server may allocate the ID information corresponding to the physical item, and then the corresponding entity according to the distribution result. The item is issued to the user.
  • an allocation request sent by the user through the electronic device may be received, and when any allocation request from any user is received within any allocated time interval, the user may be corresponding to the any allocated time interval. Assignable users.
  • the user's distribution demand can be accurately identified, thereby assigning an object to the user who has the distribution requirement.
  • the number of transmissions of the allocation request by each assignable user in the corresponding allocation time interval may also be counted, and the probability that each assignable user is assigned to the object is positively correlated with the corresponding statistical value.
  • the user may, for the purpose of increasing the probability of being assigned to the object, The sending operation of the allocation request is performed more, thereby facilitating the smooth execution and effective promotion of the distribution activity of the entire object.
  • a user when receiving an allocation request from any user, determining a group to which the user belongs; and then, when the group is a predefined association group corresponding to any of the allocated time intervals, A user is configured as an assignable user corresponding to any of the allocated time intervals.
  • the users of different groups can be differentiated to satisfy the reward and punishment or promotion effect for different groups.
  • the object corresponding to any of the foregoing allocated time intervals may be allocated to the corresponding assignable user according to the predefined allocation probability corresponding to each predefined association group.
  • the probability of assigning an object is a predefined allocation probability, and the probability is related to the group to which the user belongs, so that users of different groups can be differentiated to satisfy the reward and punishment or promotion effect for different groups.
  • the present application can realize the object allocation in the process of the user listening to the audio file by combining the object allocation operation with the sound wave feature of the audio file, thereby realizing the object allocation operation and the acoustic characteristics of the audio file.
  • the interaction between the two helps to increase the fun of the object's distribution process.
  • FIG. 2 is a schematic diagram of a processing stage of an object to be allocated according to an exemplary embodiment of the present application. As shown in FIG. 2, when the object allocation operation is implemented by using the technical solution of the present application, the following two processing stages exist:
  • Step 202 a pre-processing stage.
  • Step 204 an object allocation phase.
  • the preprocessing stage may include the following steps:
  • step 302 the lottery music is determined.
  • the lottery music is equivalent to the "preset audio file" in the embodiment shown in Figs. 1A-1B.
  • the lottery music may be any audio file selected, such as a song, an accompaniment, or the like.
  • one or more lottery music may be selected, and each lottery music is processed in the same manner, that is, the process described below can be applied to each of the selected lottery music.
  • Step 304 Acquire a waveform of a music file.
  • Step 306 processing the obtained waveform.
  • the waveform of the music file is a representation of its audio data to show the continuous variation of the music file over time.
  • the waveform may be subjected to processing such as filtering peaks, troughs, and normalization (the process may adopt an audio processing method commonly used in the related art, and details are not described herein again), thereby obtaining, for example, a graph.
  • step 308 the lottery interval is divided.
  • the lottery interval corresponds to the "allocation time interval" in the embodiment shown in Figs. 1A-1B; each of the allocation time intervals is used to allocate at least a part of the objects, i.e., each lottery interval is used to issue at least a part of the prize.
  • the allocation time interval may be a plurality of intervals obtained by dividing the playing timing of the preset audio file according to the preset duration. For example, if the playback length of the music file is 3 minutes and 12 seconds, and the preset duration is 10 seconds, the music file can be divided into 19 lengths of 10 seconds and a length of 2 seconds.
  • the lottery interval (19 lottery intervals in front correspond to 3 minutes and 10 seconds, and only the remaining 2 seconds constitute an independent lottery interval).
  • step 310 the number of prizes is determined.
  • the number of prizes corresponds to the number of allocations in the embodiment shown in Figs. 1A-1B, i.e., the number of objects available for allocation in the respective allocation time intervals among all objects.
  • the preset audio file has a plurality of audio sampling points in each allocated time interval, and the audio data corresponding to all the audio sampling points together constitute the preset audio file.
  • Each audio sampling point has corresponding preset acoustic wave characteristic parameters, such as vibration frequency, vibration amplitude, etc., then each audio sampling point can be classified according to the satisfaction of the preset numerical condition condition according to the value of the preset acoustic wave characteristic parameter, for example, The first audio sampling point is satisfied by the preset numerical condition, and the rest is the second audio sampling point and the like.
  • vibration amplitude As an example. Assume that the maximum value of each audio sample point is normalized to 100 in the waveform of the music file, and the "preset value" can be defined as 50 or any other value, then when the value of the vibration amplitude is not less than 50, the corresponding The audio sample points can be divided into the first audio sample points described above, while the remaining audio sample points are ignored.
  • the foregoing allocation quantity may be related to the number of first audio sampling points in the corresponding allocation time interval, or the value of the preset acoustic wave characteristic parameter of all the first audio sampling points in the corresponding allocated time interval. and related.
  • the number of allocations may be positively related to the sum of the number of first audio sample points within the respective allocated time interval or the value of the preset acoustic wave characteristic parameters of all of the first audio sample points.
  • the preset acoustic characteristic parameter is “vibration amplitude”
  • the audio sample point whose vibration amplitude is not less than the preset value may be used as the first audio sampling point, and the first audio included in each lottery interval.
  • FIG. 5 shows a distribution map of the number of prizes.
  • the distribution of the number of prizes matches the waveform of the lottery music.
  • the number of allocations is related to the number of first audio sample points in the corresponding allocated time interval (or the sum of the values of the preset sound wave characteristic parameters of all the first audio sample points in the corresponding allocated time interval), both Not only may have the above positive correlation relationship, but also other quantitative relationships such as negative correlation, for example, the more the number of first audio sampling points included in each lottery interval, the smaller the corresponding number of prizes; or, each will be The values of the vibration amplitudes of the first audio sample points in the lottery interval are respectively added, and the greater the sum of the values of the vibration amplitudes of all the first audio sample points in the lottery interval, the smaller the corresponding number of prizes.
  • the preprocessing stage may include the following steps:
  • Step 602 receiving a start command.
  • the start command is equivalent to the "allocation start command" in the embodiment shown in Fig. 1B.
  • the staff may need to initiate a start command for each lottery music separately; or, the staff member may only need to initiate a start command for the first lottery music, and the subsequent lottery music will be in the previous lottery music.
  • the end of the previous lottery music playback is equivalent to "initiating" the start command to the next lottery music.
  • Step 604 playing a music file.
  • the music file is obtained by the above "preprocessing stage".
  • each lottery section is viewed in turn, and the corresponding lottery and prize issuing operation is executed until the music file stops playing.
  • Step 606 determining a current lottery interval.
  • step 608A the number of prizes is determined.
  • the number of prizes is related to the current lottery interval, and the number of prizes corresponding to each lottery interval is determined by the “pre-processing stage” described above, and details are not described herein again.
  • Step 608B determining an assignable user.
  • the server may receive an allocation request sent by the user through the electronic device; wherein, when an allocation request from any user is received within any of the allocated time intervals, the any user is taken as the any allocation time The assignable user corresponding to the interval.
  • the user A and the user B are regarded as assignable users, that is, the user A and the user B can participate in the issuance of the prize corresponding to the current lottery interval.
  • Activity since the distribution request sent by the user C in the current lottery interval is not received, the user C cannot participate in the lottery activity of the current lottery interval.
  • the server may determine the belonging community of the any user when receiving the allocation request from any user; wherein, when the community is a predefined association group corresponding to any of the allocated time intervals, Configure any user as an assignable user corresponding to any of the allocated time intervals.
  • the server may determine the belonging community of the any user when receiving the allocation request from any user; wherein, when the community is a predefined association group corresponding to any of the allocated time intervals, Configure any user as an assignable user corresponding to any of the allocated time intervals.
  • a predefined association group corresponding to each allocation time interval is pre-configured, only members of the predefined association community can be allocated users of the corresponding allocation time interval, and other users cannot participate in the object within the allocated time interval. Distribution, that is, lottery activities, etc.
  • the predefined association group corresponding to the current lottery interval includes enterprise AA and group BB
  • the server receives the allocation request of user D, user E, and user F, respectively, if user D belongs to enterprise AA, user E belongs to The group BB and the user F belong to the enterprise CC, and only the user D and the user E can be regarded as assignable users and participate in the lottery event; and the user F cannot become an assignable user and cannot participate in the lottery event.
  • the assignable user may have multiple request initiation forms when initiating an allocation request through the electronic device.
  • the assignable user can shake the electronic device, and the electronic device can initiate an allocation request to the server when detecting the user's shaking operation; or the assignable user can continuously click the button displayed on the touch screen of the electronic device, then the electronic The device may initiate an allocation request to the server when detecting the user's each click or multiple consecutive clicks; or the electronic device may also detect a preset operation performed by the user by other means, thereby initiating a corresponding allocation request to the server.
  • step 610 a lottery operation is performed.
  • all the prizes in the current lottery interval may be issued according to the winning probability corresponding to each assignable user.
  • each assignable user has the same winning probability, ie all assignable users equally distribute all prizes.
  • the server may count the number of transmissions of the allocation request by each assignable user within the respective allocated time interval, and the probability that each assignable user is assigned to the object is positively correlated with its corresponding statistical value; In other words, the assignable user can increase the probability that it can be assigned to the object by sending more allocation requests within each allocated time interval. Therefore, the assignable user can continuously initiate a lottery request (equivalent to an allocation request) to the server within the current lottery interval, and the prize can be issued with a greater probability.
  • the server may allocate the object corresponding to any of the allocated time intervals to the corresponding assignable user according to a predefined allocation probability corresponding to each predefined association group corresponding to any of the allocated time intervals;
  • the probability that an assignable user can be assigned to an object is related to the group to which it belongs, so if activities such as promotion or marketing are required for some groups, the predefined allocation probability corresponding to these groups can be improved, making it easier for members to make it easier for members. Assign to an object.
  • the processing manner corresponding to each of the allocated time intervals may be the same or may be independent of each other.
  • the user corresponding to the received allocation request may be added as an assignable user in the partial allocation time interval, and only the received one in the other partial allocation time interval.
  • the sender of the allocation request is added as an assignable user when it belongs to the corresponding predefined association community.
  • a strategy in which all assignable users have the same allocation probability may be taken in a part of the allocated time interval, and in another part of the allocated time interval, a strategy in which the allocation probability is positively related to the number of allocation requests may be adopted.
  • the allocation time interval adopts a policy or the like according to a predefined allocation probability corresponding to a predefined association group.
  • the server can directly distribute the virtual item to the corresponding user by mail, SMS, etc.; when the prize is a physical item, the server can use the ID information of the physical item to participate in the lottery activity, and After determining the user who has drawn the prize, the physical item is distributed to the user by means of logistics or the like, or after the ID information is notified to the user, the user goes to the designated place to collect the corresponding physical item.
  • Each user can be configured with a corresponding maximum number of allocations, for example, each user can only allocate at most 2 objects; then, when user A has been assigned 2 objects, even if the user A satisfies "allocable users"
  • the selection rule also excludes User A from "Assignable Users".
  • FIG. 7 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • the electronic device includes a processor 702, an internal bus 704, a network interface 706, a memory 708, and a non-volatile memory 710, and of course may also include hardware required for other services.
  • the processor 702 reads the corresponding computer program from the non-volatile memory 710 into the memory 708 and then operates to form an object distribution device at a logical level.
  • this application does not exclude other implementations,
  • the logic device or the combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logic unit, and may be hardware or logic device.
  • the object distribution apparatus may include an activation unit 802, a determination unit 804, and an allocation unit 806. among them:
  • the startup unit 802 starts playing the preset audio file according to the received allocation start command
  • the determining unit 804 is configured to determine an allocated time interval corresponding to the preset audio file, and an allocated number corresponding to each allocated time interval; wherein the allocated quantity and the preset audio file are in each allocated time interval Set the acoustic wave characteristic parameters;
  • the allocating unit 806 acquires the objects of the allocated quantity and allocates them to the assignable users corresponding to the corresponding allocated time intervals.
  • the allocated time interval is a plurality of intervals obtained by dividing a play timing of the preset audio file according to a preset duration.
  • the preset audio file has a plurality of audio sample points in each allocated time interval; the number of allocations and the number of first audio sample points in the corresponding allocated time interval or all the first audio sample points And setting a sum of values of the acoustic wave characteristic parameters; wherein, the value of the preset acoustic wave characteristic parameter of the first audio sampling point satisfies a preset numerical condition.
  • the number of allocations is positively related to the sum of the number of first audio sampling points in the corresponding allocated time interval or the values of the preset acoustic characteristic parameters of all the first audio sampling points.
  • the preset numerical condition includes: not less than a preset value.
  • the preset acoustic wave characteristic parameter includes at least one of the following: a vibration frequency and a vibration amplitude.
  • it also includes:
  • the receiving unit 808 receives an allocation request sent by the user through the electronic device
  • Processing unit 810 when receiving a score from any user within any of the allocated time intervals When the request is made, any one of the users is used as an assignable user corresponding to any of the allocated time intervals.
  • it also includes:
  • the statistics unit 812 is configured to count the number of transmissions of the allocation request by each assignable user in the corresponding allocated time interval;
  • the probability that each assignable user is assigned to an object is positively correlated with its corresponding statistical value.
  • it also includes:
  • the community determining unit 814 determines the belonging group of the any user when receiving the allocation request from any user;
  • the configuration unit 816 configures any one of the users as the assignable user corresponding to any of the allocated time intervals when the community is a predefined association group corresponding to any of the allocated time intervals.
  • the allocating unit is specifically configured to:
  • FIG. 9 is a diagram of an exemplary embodiment of the present application.
  • a flow chart of a client-side object allocation method is shown in FIG. 9. The method is applied to an electronic device and may include the following steps:
  • Step 902 Acquire a real-time playing status of the preset audio file.
  • Step 904 Determine, according to the real-time playing status, probability description information that the current user is successfully assigned a preset object, and display the probability description information.
  • Step 906 initiating an allocation request corresponding to the current user to the server, and receiving and displaying the distribution result returned by the server.
  • the user can view and understand the probability of winning (ie, the probability of being successfully assigned the preset object) at any time, thereby participating in the server's lottery activity (ie, Object assignment operations can enhance interactivity and fun, stimulate user engagement, and help improve the user experience.
  • the probability description information such as that described in step 904 can be determined in various ways, and the process is exemplified below:
  • the electronic device may receive a real-time playback progress of the preset audio file sent by the server as the real-time playing status; and, in step 904, the electronic device may obtain the preset by a predefined allocation rule corresponding to the audio file (the predefined allocation rule includes a predefined allocation time interval corresponding to the preset audio file and an allocation probability corresponding to each time interval), and accordingly determines a predefined allocation time interval corresponding to the real-time playback progress And the corresponding allocation probability is displayed as the above-described probability description information.
  • the predefined allocation rule includes a predefined allocation time interval corresponding to the preset audio file and an allocation probability corresponding to each time interval
  • FIG. 10 is a system architecture diagram of an object allocation function according to an exemplary embodiment of the present application.
  • a “sweepstake” scenario is taken as an example to describe an object allocation scheme of the present application.
  • the system architecture may include a server, a client, and a front end.
  • the server may be hosted by a server, and the client and the front end be represented by an application installed in the user's electronic device. It can be used to implement the object allocation scheme of the present application.
  • the installation of the client and the front end can be completed at the same time, and when the user starts the application, only the local data configured on the electronic device at the time of installation is used.
  • the user can display the probability display page, the lottery options displayed on the page, etc.
  • the user can install only the client when installing the application, then when the user launches the application, you can download the relevant Page data and presentation of probability display pages and lottery options, etc.
  • Such as the probability display page and the lottery options can be achieved by HTML5 technology.
  • the technical solution of the present application can be implemented by using the necessary data interaction between the front end and the client, and the present application does not limit this.
  • an “audio play task” is configured on the server, and the “audio play task” can obtain the real-time play progress of the preset audio file played in the lottery operation, and provide the progress to the client; the server also configures There is a "draw rule”, which includes a predefined allocation rule, such as a predefined allocation time interval corresponding to a preset audio file and an allocation probability corresponding to each time interval (equivalent to a winning probability).
  • a predefined allocation rule such as a predefined allocation time interval corresponding to a preset audio file and an allocation probability corresponding to each time interval (equivalent to a winning probability).
  • draw rules and "probability determination tasks” configured on the client, the “draw rules” are consistent with the “sweepstake rules” on the server, and the “probability determination tasks” can respectively obtain the "audio play” of the server.
  • the task provides the real-time playback progress and the predefined allocation rules in the client's "sweepstakes rules", thereby determining the real-time winning probability based on the "probability display page" of the front end.
  • the front end can also show the "draw option", so that the user can click the displayed lottery option, so that the client obtains the corresponding trigger information, and initiates the corresponding lottery request (equivalent to the distribution) to the server through the "sweepstake data". Request), then the corresponding lottery result is returned by the server and shown at the front end.
  • the server may provide playback of the preset audio file to the user in the form of television play, broadcast play, or live play; at the same time, the user may perform a lottery operation through an electronic device such as a mobile phone. Then, the server can provide real-time playback progress of the preset audio file by using data interaction with the electronic device, and the electronic device can determine and display the corresponding winning probability according to the real-time playback progress and the predefined allocation rule. And, the user can click the lottery option displayed on the electronic device, and of course, can initiate a lottery request to the server through operations such as “shake” on the electronic device, and then receive by the electronic device after the server performs the lottery operation. And the corresponding lottery results are presented.
  • the electronic device may acquire a preset acoustic feature parameter of the preset audio file in real time as the real-time playing status; and, in step 904, the electronic device may be in the preset sound wave.
  • the probability description information expressing the high allocation probability is generated and displayed, and when the value of the preset acoustic wave characteristic parameter does not satisfy the preset numerical condition, the low distribution probability is generated and displayed. Probability description information.
  • FIG. 11 is a system architecture diagram of another implementation of an object allocation function according to an exemplary embodiment of the present application.
  • the system architecture may include a server, a client, and a front end.
  • An "audio play task” is configured on the server side, and the “audio play task” can play a preset audio file in the lottery operation; the server is also configured with a "draw rule", and the "draw rule” includes a predefined allocation rule, such as The predefined allocation time interval corresponding to the preset audio file and the allocation probability corresponding to each time interval (equivalent to the winning probability).
  • the client has a "draw rule” and an "audio collection task”
  • the "draw rule” is consistent with the "draw rule” on the server
  • the "audio collection task” can be called on the electronic device to which the client belongs.
  • the microphone, etc. collects the preset audio files played by the server, and according to the predefined allocation rules provided by the client's "draw rules", thereby determining the real-time winning probability according to the "probability" displayed at the front end Show page”.
  • the front end can also show the "draw option", so that the user can click the displayed lottery option, so that the client obtains the corresponding trigger information, and initiates the corresponding lottery request (equivalent to the distribution) to the server through the "sweepstake data". Request), then the corresponding lottery result is returned by the server and shown at the front end.
  • the server may provide playback of the preset audio file to the user in the form of television play, broadcast play, or live play; at the same time, the user may perform a lottery operation through an electronic device such as a mobile phone. Then, through the microphone on the electronic device, etc.
  • the playing sound of the preset audio file may be collected to determine and display the corresponding winning probability in combination with the predefined allocation rule; for example, when the playing interval in the audio file is relatively flat, the lowering may be adopted.
  • the probability of winning, while located in the higher playback interval of the audio file can use a higher winning probability.
  • the user can click the lottery option displayed on the electronic device, and of course, can initiate a lottery request to the server through operations such as “shake” on the electronic device, and then receive by the electronic device after the server performs the lottery operation. And the corresponding lottery results are presented.
  • the "probability display page” in the front end represents data and functions for realizing the probability display page
  • the "sweepstake option” represents the lottery option for realizing the probability display page.
  • Data and function similarly, “storage” in the client indicates that the storage function is implemented, and “sweepstake rules” indicate the function for realizing the lottery rule and the data itself of the lottery rule, “sweepstake data” indicates for processing The function of the lottery data and the lottery data itself such as the trigger information and the lottery result are not described here.
  • FIG. 12 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • the electronic device includes a processor 1202, an internal bus 1204, a network interface 1206, a memory 1208, and a non-volatile memory 1210, and of course may also include hardware required for other services.
  • the processor 1202 reads the corresponding computer program from the non-volatile memory 1210 into memory and then operates to form an object distribution device on a logical level.
  • the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
  • the object allocating device may include an obtaining unit 1302 , a probability display unit 1304 , and a result displaying unit 1306 . among them:
  • the acquiring unit 1302 is configured to obtain a real-time playing status of the preset audio file.
  • the probability display unit 1304 determines that the current user is formed according to the real-time playing status. Assigning probability description information of the preset object, and displaying the probability description information;
  • the result display unit 1306 initiates an allocation request corresponding to the current user to the server, and receives and displays the distribution result returned by the server.
  • the obtaining unit 1302 is specifically configured to: receive a real-time playback progress of the preset audio file sent by the server;
  • the probability display unit 1304 is specifically configured to: obtain a predefined allocation rule corresponding to the preset audio file, where the predefined allocation rule includes a predefined allocation time interval corresponding to the preset audio file and corresponding to each time interval. And assigning a probability; determining a predefined allocation time interval corresponding to the real-time playing progress, and displaying the corresponding allocation probability as the probability description information.
  • the acquiring unit 1302 is specifically configured to: collect preset sound wave feature parameters of the preset audio file in real time;
  • the probability display unit 1304 is specifically configured to: when the value of the preset acoustic wave characteristic parameter satisfies a preset numerical condition, generate and display probability description information indicating a high allocation probability; and when the preset acoustic wave characteristic parameter has a numerical value When the preset numerical condition is not satisfied, probability description information expressing a low allocation probability is generated and displayed.
  • FIG. 14 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • the electronic device includes a processor 702, an internal bus 704, a network interface 1406, a memory 1408, and a non-volatile memory 1410, and of course may also include hardware required for other services.
  • the processor 1402 reads the corresponding computer program from the non-volatile memory 1410 into the memory 1408 and then operates to form a configuration device for the object allocation rule on a logical level.
  • this application does not exclude other implementations, such as logic devices or software and hardware combinations, etc.
  • the execution body of the following processing flow is not limited to each logical unit, and may be hardware or logic.
  • the configuration device of the object allocation rule may include an obtaining unit 1502 , an extracting unit 1504 , and a configuration unit 1506 . among them:
  • the obtaining unit 1502 is configured to acquire a preset audio file for object allocation
  • the extracting unit 1504 respectively extracts preset acoustic wave characteristic parameters of the preset audio file in each allocated time interval according to the allocated time interval corresponding to the preset audio file;
  • the configuration unit 1506 is configured to allocate an allocation quantity corresponding to the corresponding allocation time interval according to the preset sound wave characteristic parameter; wherein, when the preset audio file is played to any of the allocated time intervals, the corresponding allocated number of objects will be Assigned to the assignable users corresponding to any of the allocated time intervals.
  • the configuration unit 1506 is specifically configured to:
  • the corresponding allocated quantity is configured according to the sum of the number of first audio sampling points in each allocated time interval or the value of the preset acoustic characteristic parameters of all the first audio sampling points.
  • the number of allocations is positively related to the sum of the number of first audio sampling points in the corresponding allocated time interval or the values of the preset acoustic characteristic parameters of all the first audio sampling points.
  • the preset numerical condition includes: not less than a preset value.
  • the allocated time interval is a plurality of intervals obtained by dividing a play timing of the preset audio file according to a preset duration.
  • the preset acoustic wave characteristic parameter includes at least one of the following: a vibration frequency and a vibration amplitude.
  • the computing device includes one or more processors (CPUs), inputs In/out interface, network interface, and memory.
  • processors CPUs
  • inputs In/out interface inputs In/out interface
  • network interface network interface
  • memory 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Auxiliary Devices For Music (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请提供一种对象分配方法和装置,该方法可以包括:根据接收到的分配启动命令,启动对预设音频文件的播放;确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。通过本申请的技术方案,可以优化对对象的分配过程。

Description

对象分配方法和装置 技术领域
本申请涉及业务处理技术领域,尤其涉及一种对象分配方法和装置。
背景技术
随着网络技术的发展,出现了多种多样的业务实现方式。以“抽奖”形式的虚拟物品交互为例,可以将礼金、代金券、兑换券等通过抽取的方式发放至全部用户中的部分用户。
发明内容
有鉴于此,本申请提供一种对象分配方法和装置,可以优化对对象的分配过程。
为实现上述目的,本申请提供技术方案如下:
根据本申请的第一方面,提出了一种对象分配方法,包括:
根据接收到的分配启动命令,启动对预设音频文件的播放;
确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;
获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
根据本申请的第二方面,提出了一种对象分配装置,包括:
启动单元,根据接收到的分配启动命令,启动对预设音频文件的播放;
确定单元,确定所述预设音频文件对应的分配时间区间,以及每个 分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;
分配单元,获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
根据本申请的第三方面,提出了一种对象分配方法,包括:
获取预设音频文件的实时播放状况;
根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息;
向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
根据本申请的第四方面,提出了一种对象分配装置,包括:
获取单元,获取预设音频文件的实时播放状况;
概率展示单元,根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息;
结果展示单元,向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
根据本申请的第五方面,提出了一种对象分配规则的配置方法,包括:
获取用于对象分配的预设音频文件;
根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数;
根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
根据本申请的第六方面,提出了一种对象分配规则的配置装置,包括:
获取单元,获取用于对象分配的预设音频文件;
提取单元,根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数;
配置单元,根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
由以上技术方案可见,本申请通过将对象的分配操作与音频文件的声波特征相结合,可以在用户收听该音频文件的过程中实现对象的分配,从而实现对象的分配操作与音频文件的声波特征之间的互动,有助于提升对象分配过程中的趣味性。
附图说明
图1A是本申请一示例性实施例的一种对象分配规则的配置方法的流程图;
图1B是本申请一示例性实施例的一种基于服务器侧的对象分配方法的流程图;
图2是本申请一示例性实施例的一种分配对象的处理阶段的示意图;
图3是图2所示实施例的预处理阶段的流程图;
图4是本申请一示例性实施例的一种音频文件的波形分布示意图;
图5是本申请一示例性实施例的一种分配对象的分布示意图;
图6是图2所示实施例的对象分配阶段的流程图;
图7是本申请一示例性实施例的一种电子设备的结构示意图;
图8是本申请一示例性实施例的一种基于服务器侧的对象分配装置的框图;
图9是本申请一示例性实施例的一种基于客户端侧的对象分配方法的流程图;
图10是本申请一示例性实施例提供的一种实现对象分配功能的系统架构图;
图11是本申请一示例性实施例提供的另一种实现对象分配功能的系统架构图;
图12是本申请一示例性实施例的一种电子设备的结构示意图;
图13是本申请一示例性实施例的一种基于客户端侧的对象分配装置的框图;
图14是本申请一示例性实施例的一种电子设备的结构示意图;
图15是本申请一示例性实施例的一种对象分配规则的配置装置的框图。
具体实施方式
为对本申请进行进一步说明,提供下列实施例:
图1A是本申请一示例性实施例的一种对象分配规则的配置方法的流程图,如图1A所示,该方法应用于服务器中,可以包括以下步骤:
步骤102A,获取用于对象分配的预设音频文件。
步骤104A,根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数。
在本实施例中,分配时间区间可以为按照预设时长对所述预设音频文件的播放时序进行划分得到的若干区间。而预设声波特征参数可以包括以下至少之一:振动频率、振动幅度。
步骤106A,根据所述预设声波特征参数,配置在相应的分配时间 区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
在本实施例中,可以从预设音频文件在每个分配时间区间内的若干音频采样点中,确定出第一音频采样点;其中,第一音频采样点的预设声波特征参数的数值满足预设数值条件;然后,根据每个分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和,配置相应的分配数量。比如,分配数量可以正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和。比如,预设数值条件包括:不小于预设数值。
相应地,图1B是本申请一示例性实施例的一种对象分配方法的流程图,如图1B所示,该方法应用于服务器中,可以包括以下步骤:
步骤102B,根据接收到的分配启动命令,启动对预设音频文件的播放。
在本实施例中,分配启动命令可以由工作人员直接向服务器发出;或者,分配启动命令也可以预定义的任意用户发出,本申请并不对此进行限制。
在本实施例中,预设音频文件可以为预先选取的任意音频文件;其中,预设音频文件的数量可以为一个或多个。
步骤104B,确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关。
在本实施例中,每个预设音频文件可以包含至少一个分配时间区间,而根据每个分配时间区间内的预设声波特征参数的差异,每个分配时间 区间可以存在相应的分配数量,从而使得对象的分配过程与该预设音频文件的播放过程相互配合、呼应,提升该过程中的趣味性。
在本实施例中,预设声波特征参数可以包括振动频率、振动幅度中的至少之一。
在本实施例中,预设音频文件在每个分配时间区间内存在若干音频采样点,那么分配数量可以与相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和相关,比如分配数量正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和;其中,第一音频采样点的预设声波特征参数的数值满足预设数值条件,比如不小于预设数值。
步骤106B,获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
在本实施例中,对象可以为礼金、代金券、兑换券等虚拟物品,也可以为任意实体物品;其中,服务器可以对实体物品对应的ID信息等进行分配,然后根据分配结果将相应的实体物品发放给用户。
在本实施例中,可以接收用户通过电子设备发送的分配请求,那么当在任一分配时间区间内接收到来自任一用户的分配请求时,可以将该任一用户作为该任一分配时间区间对应的可分配用户。在该实施例中,通过接收用户发出的分配请求,可以准确识别出用户的分配需求,从而向存在分配需求的用户分配对象。
其中,还可以统计每个可分配用户在相应分配时间区间内对分配请求的发送数量,并且每个可分配用户被分配到对象的概率与其对应的统计数值正相关。在该实施例中,通过将对象的分配概率与分配请求的发送数量正相关,使得用户出于提高自身被分配到对象的概率的目的,会 更多地执行对分配请求的发送操作,从而有助于整个对象的分配活动的顺利执行和有效推广。
在本实施例中,包括在接收到来自任一用户的分配请求时,确定该任一用户的所属团体;然后,当该团体为任一分配时间区间对应的预定义关联团体时,将该任一用户配置为该任一分配时间区间对应的可分配用户。在该实施例中,通过为分配时间区间配置对应的预定义关联团体,可以针对不同团体的用户进行差异化对待,从而满足针对不同团体的奖惩或推广作用。
其中,还可以根据每一预定义关联团体对应的预定义分配概率,将上述任一分配时间区间对应的对象分配至相应的可分配用户。在该实施例中,分配对象的概率为预定义分配概率,且该概率与用户所属的团体相关,从而可以针对不同团体的用户进行差异化对待,以满足针对不同团体的奖惩或推广作用。
由以上技术方案可见,本申请通过将对象的分配操作与音频文件的声波特征相结合,可以在用户收听该音频文件的过程中实现对象的分配,从而实现对象的分配操作与音频文件的声波特征之间的互动,有助于提升对象的分配过程中的趣味性。
图2是本申请一示例性实施例的一种分配对象的处理阶段的示意图,如图2所示,当采用本申请的技术方案来实现对象的分配操作时,存在下述两个处理阶段:
步骤202,预处理阶段。
步骤204,对象分配阶段。
为了便于理解,下面以“音乐”形式的音频文件、“抽奖”形式的对象分配过程,对上述两个阶段进行具体场景下的详细描述。
1、预处理阶段
如图3所示,预处理阶段可以包括以下步骤:
步骤302,确定抽奖音乐。
在本实施例中,抽奖音乐相当于图1A-1B所示实施例中的“预设音频文件”。
在本实施例中,抽奖音乐可以为被选取的任意音频文件,比如歌曲、伴奏等。在同一次抽奖活动中,可以选用一首或多首抽奖音乐,而每一首抽奖音乐的处理方式相同,即下文所述的处理过程可以应用于被选取的每一首抽奖音乐。
步骤304,获取音乐文件的波形。
步骤306,处理获得的波形。
在本实施例中,音乐文件的波形是对其音频数据的具象化,以展示出该音乐文件随时间推移所产生的连续变化。其中,为了便于后续操作的实现,可以对波形进行诸如过滤波峰、波谷,以及归一化等处理(该过程可以采用相关技术中常用的音频处理方式,此处不再赘述),从而得到例如图4所示的波形。
步骤308,划分抽奖区间。
在本实施例中,抽奖区间相当于图1A-1B所示实施例中的“分配时间区间”;每个分配时间区间用于分配至少一部分对象,即每个抽奖区间用于发放至少一部分奖品。
在本实施例中,分配时间区间可以为按照预设时长对预设音频文件的播放时序进行划分得到的若干区间。举例而言,假定音乐文件的播放长度为3分12秒,而预设时长为10秒,那么可以将该音乐文件依次划分为19个长度为10秒的抽奖区间和1个长度为2秒的抽奖区间(前方的19个抽奖区间对应于3分10秒,最后仅剩余的2秒构成一个独立的抽奖区间)。
步骤310,确定奖品数量。
在本实施例中,奖品数量相当于图1A-1B所示实施例中的分配数量,即在所有对象中,可供在相应分配时间区间进行分配的对象的数量。
在本实施例中,预设音频文件在每个分配时间区间内存在若干音频采样点,所有音频采样点对应的音频数据共同组成了该预设音频文件。每个音频采样点存在对应的预设声波特征参数,比如振动频率、振动幅度等,那么可以根据预设声波特征参数的数值对预设数值条件的满足情况,将各个音频采样点进行分类,比如满足预设数值条件的为第一音频采样点,其余为第二音频采样点等。
以“振动幅度”为例。假定音乐文件的波形中,每个音频采样点的最大值被归一化至100,而“预设数值”可以定义为50或其他任意值,那么当振动幅度的数值不小于50时,相应的音频采样点可以被划分为上述的第一音频采样点,而忽略其余的音频采样点。
在本实施例中,上述的分配数量可以与相应分配时间区间内的第一音频采样点的数量相关,或者与相应分配时间区间内的所有第一音频采样点的预设声波特征参数的数值之和相关。
比如,分配数量可以正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和。举例而言,假定预设声波特征参数为“振动幅度”,那么可以将振动幅度的数值不小于预设数值的音频采样点作为第一音频采样点,则每个抽奖区间中包含的第一音频采样点的数量越多时,相应的奖品数量越多;或者,将各个抽奖区间中的第一音频采样点的振动幅度的数值分别相加,则抽奖区间中所有第一音频采样点的振动幅度的数值之和越大时,相应的奖品数量越多。因此,在抽奖音乐的播放过程中,在节奏较慢的诸如主歌部分,用户的情绪尚未被调动,则奖品数量可以相对较少,使相同条件 下用户的中奖概率也相应较小;而在节奏较快的诸如副歌部分,用户的情绪将被音乐本身的节奏所带动而更加激动,则奖品数量可以相对较多,使相同条件下用户的中奖概率相应较大,从而与用户高涨的情绪相辅相成,使用户获得更为强烈的中奖感受,有助于提升其使用体验。比如图5示出了奖品数量的分布图,通过对比图4与图5可知,奖品数量的分布与抽奖音乐的波形相匹配。
当然,由于分配数量与相应分配时间区间内的第一音频采样点的数量(或与相应分配时间区间内的所有第一音频采样点的预设声波特征参数的数值之和)相关,因而两者不仅可以具有上述的正相关的关系,也可以具有负相关等其他数量关系,比如:每个抽奖区间中包含的第一音频采样点的数量越多时,相应的奖品数量越少;或者,将各个抽奖区间中的第一音频采样点的振动幅度的数值分别相加,则抽奖区间中所有第一音频采样点的振动幅度的数值之和越大时,相应的奖品数量越少。
2、对象分配阶段
如图6所示,预处理阶段可以包括以下步骤:
步骤602,接收到启动命令。
在本实施例中,启动命令相当于图1B所示实施例中的“分配启动命令”。当存在多首抽奖音乐时,工作人员可能需要分别针对每首抽奖音乐发起启动命令;或者,工作人员可能仅需对第一首抽奖音乐发起启动命令,而后续抽奖音乐将在前一首抽奖音乐结束后自动播放,则前一首抽奖音乐播放结束时相当于向后一首抽奖音乐“发起”了启动命令。
步骤604,播放音乐文件。
在本实施例中,音乐文件由上述“预处理阶段”获得。在播放音乐文件的过程中,依次查看每个抽奖区间,并执行相应的抽奖和奖品发放操作,直至该音乐文件停止播放。
步骤606,确定当前抽奖区间。
步骤608A,确定奖品数量。
在本实施例中,奖品数量与当前抽奖区间相关,而每个抽奖区间对应的奖品数量是由上述“预处理阶段”确定,此处不再赘述。
步骤608B,确定可分配用户。
作为一示例性实施例,服务器可以接收用户通过电子设备发送的分配请求;其中,当在任一分配时间区间内接收到来自任一用户的分配请求时,将该任一用户作为该任一分配时间区间对应的可分配用户。
举例而言,假定在当前抽奖区间接收到用户A和用户B分别发送的分配请求,则将用户A和用户B作为可分配用户,即用户A和用户B可以参与当前抽奖区间对应的奖品的发放活动;而由于并未接收到用户C在当前抽奖区间发送的分配请求,因而用户C无法参与当前抽奖区间的抽奖活动。
作为另一示例性实施例,服务器可以在接收到来自任一用户的分配请求时,确定该任一用户的所属团体;其中,当该团体为任一分配时间区间对应的预定义关联团体时,将该任一用户配置为该任一分配时间区间对应的可分配用户。换言之,预先配置每个分配时间区间对应的预定义关联团体,那么只有该预定义关联团体的成员才能够作为相应分配时间区间的可分配用户,其他用户则无法在该分配时间区间内参与对象的分配,即抽奖活动等。
举例而言,假定当前抽奖区间对应的预定义关联团体包括企业AA和团体BB,那么当服务器分别接收到用户D、用户E和用户F的分配请求时,如果用户D属于企业AA、用户E属于团体BB、用户F属于企业CC,则只有用户D和用户E可以被作为可分配用户,并参与抽奖活动;而用户F并不能够成为可分配用户,无法参与抽奖活动。
在上述实施例中,可分配用户在通过电子设备发起分配请求时,可以存在多种请求发起形式。举例而言,可分配用户可以晃动电子设备,则电子设备在检测到用户的晃动操作时,可以向服务器发起分配请求;或者,可分配用户可以连续点击电子设备的触摸屏上展示的按钮,那么电子设备在检测到用户的每次点击或多次连续点击时,可以向服务器发起分配请求;或者,电子设备还可以检测用户通过其他方式执行的预设操作,从而向服务器发起相应的分配请求。
步骤610,执行抽奖操作。
在本实施例中,服务器在执行抽奖操作时,可以根据每个可分配用户对应的获奖概率,对当前抽奖区间内的所有奖品进行发放。
在一示例性实施例中,每个可分配用户的获奖概率相同,即所有可分配用户平等分配所有奖品。
在另一示例性实施例中,服务器可以统计每个可分配用户在相应分配时间区间内对分配请求的发送数量,并且每个可分配用户被分配到对象的概率与其对应的统计数值正相关;换言之,可分配用户可以通过在每个分配时间区间内发送更多的分配请求,从而提升自身可被分配到对象的概率。所以,可分配用户在当前抽奖区间内可以不断向服务器发起抽奖请求(相当于分配请求),即可更大概率被发放奖品。
在又一示例性实施例中,服务器可以根据任一分配时间区间对应的每一预定义关联团体对应的预定义分配概率,将该任一分配时间区间对应的对象分配至相应的可分配用户;换言之,可分配用户可被分配到对象的概率与其所属的团体相关,那么如果需要针对一些团体进行推广或营销等活动,则可以提高这些团体对应的预定义分配概率,使其成员能够更加容易地分配到对象。
需要说明的是:
1)当预设音频文件对应于多个分配时间区间时,每个分配时间区间对应的处理方式可以相同,也可以相互独立。举例而言,对于步骤608B中确定可分配用户的方式,可以在部分分配时间区间内将接收到的分配请求对应的用户均添加为可分配用户,而在另一部分分配时间区间内只有接收到的分配请求的发送方属于相应的预定义关联团体时,才将其添加为可分配用户。
类似地,对于步骤610中的抽奖操作,可以在部分分配时间区间采取所有可分配用户的分配概率相同的策略,在另一部分分配时间区间采取分配概率正相关于分配请求数量的策略,在又一部分分配时间区间采取按照预定义关联团体对应的预定义分配概率的策略等。
2)当奖品为虚拟物品时,服务器可以直接将虚拟物品通过邮件、短信等方式发放至相应的用户;当奖品为实体物品时,服务器可以使用该实体物品的ID信息等参与抽奖活动,并在确定抽得该奖品的用户后,将实体物品通过物流等方式发放至用户,或者将ID信息告知该用户后,由该用户前往指定地点进行领取相应的实体物品。
3)可以为每个用户配置相应的最大分配数量,比如每个用户最多只能分配2次对象;那么,当用户A已经被分配了2次对象时,即便该用户A满足“可分配用户”的选取规则,也将该用户A排除出“可分配用户”。
图7示出了根据本申请的一示例性实施例的电子设备的示意结构图。请参考图7,在硬件层面,该电子设备包括处理器702、内部总线704、网络接口706、内存708以及非易失性存储器710,当然还可能包括其他业务所需要的硬件。处理器702从非易失性存储器710中读取对应的计算机程序到内存708中然后运行,在逻辑层面上形成对象分配装置。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比 如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
请参考图8,在软件实施方式中,该对象分配装置可以包括启动单元802、确定单元804和分配单元806。其中:
启动单元802,根据接收到的分配启动命令,启动对预设音频文件的播放;
确定单元804,确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;
分配单元806,获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
可选的,所述分配时间区间为按照预设时长对所述预设音频文件的播放时序进行划分得到的若干区间。
可选的,所述预设音频文件在每个分配时间区间内存在若干音频采样点;所述分配数量与相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和相关;其中,所述第一音频采样点的预设声波特征参数的数值满足预设数值条件。
可选的,所述分配数量正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和。
可选的,所述预设数值条件包括:不小于预设数值。
可选的,所述预设声波特征参数包括以下至少之一:振动频率、振动幅度。
可选的,还包括:
接收单元808,接收用户通过电子设备发送的分配请求;
处理单元810,当在任一分配时间区间内接收到来自任一用户的分 配请求时,将所述任一用户作为所述任一分配时间区间对应的可分配用户。
可选的,还包括:
统计单元812,统计每个可分配用户在相应分配时间区间内对分配请求的发送数量;
其中,每个可分配用户被分配到对象的概率与其对应的统计数值正相关。
可选的,还包括:
团体确定单元814,当接收到来自任一用户的分配请求时,确定所述任一用户的所属团体;
配置单元816,当所述团体为任一分配时间区间对应的预定义关联团体时,将所述任一用户配置为所述任一分配时间区间对应的可分配用户。
可选的,所述分配单元具体用于:
根据每一预定义关联团体对应的预定义分配概率,将所述任一分配时间区间对应的对象分配至相应的可分配用户。
对应于图1B、图3和图6所示的基于服务器侧的对象分配方案,本申请还从客户端角度描述了基于本申请的对象分配方案;图9是本申请一示例性实施例的一种基于客户端侧的对象分配方法的流程图,如图9所示,该方法应用于电子设备中,可以包括以下步骤:
步骤902,获取预设音频文件的实时播放状况。
步骤904,根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息。
步骤906,向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
在上述实施例中,通过在电子设备上展示出概率描述信息,使得用户可以随时查看和了解到中奖概率(即被成功分配预设对象的概率),从而据此参与到服务器的抽奖活动(即对象分配操作)时,可以增强互动性和趣味性,可以激发用户的参与程度,有助于提升用户的应用体验。
在上述实施例中,可以通过多种方式确定出诸如步骤904所述的概率描述信息,下面对该过程进行举例说明:
实施例一
作为一示例性实施例,在步骤902中,电子设备可以接收服务器发送的预设音频文件的实时播放进度,以作为上述的实时播放状况;以及,在步骤904中,电子设备可以通过获取预设音频文件对应的预定义分配规则(该预定义分配规则包含预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率),并据此确定实时播放进度对应的预定义分配时间区间,并将相应的分配概率作为上述的概率描述信息进行展示。
举例而言,图10是本申请一示例性实施例提供的一种实现对象分配功能的系统架构图,该实施例中以“抽奖”场景为例,对本申请的对象分配方案进行描述,如图10所示,该系统架构可以包括服务端、客户端和前端三个部分,其中服务端可以由服务器进行承载,而客户端和前端则表现为用户的电子设备中安装的应用程序,该应用程序可以用于实现本申请的对象分配方案。需要指出的是:在一种情况下,用户在安装应用程序时,可以同时完成对客户端和前端的安装,那么当用户启动应用程序后,只需利用安装时配置于电子设备的本地数据,即可呈现出概率展示页面,以及显示于该页面中的抽奖选项等;在另一种情况下,用户在安装应用程序时,可以仅安装客户端,那么当用户启动应用程序后,可以下载相关的页面数据并呈现概率展示页面以及抽奖选项等,比 如该概率展示页面以及抽奖选项等可以通过HTML5技术来实现。当然,不论采用何种方式,前端与客户端之间均可以通过必要的数据交互,实现本申请的技术方案,本申请并不对此进行限制。
如图10所示,在服务端配置有“音频播放任务”,该“音频播放任务”可以获取在抽奖操作中播放的预设音频文件的实时播放进度,并提供至客户端;服务端还配置有“抽奖规则”,该“抽奖规则”包含预定义分配规则,比如预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率(相当于中奖概率)。相应地,在客户端配置有“抽奖规则”和“概率确定任务”,该“抽奖规则”与服务端上的“抽奖规则”保持一致,而“概率确定任务”可以分别获得服务端的“音频播放任务”提供的实时播放进度和客户端的“抽奖规则”中的预定义分配规则,从而据此确定出实时的中奖概率,以展示于前端的“概率展示页面”中。同时,前端还可以示出“抽奖选项”,使得用户可以通过点击显示出的抽奖选项,使得客户端获得相应的触发信息,并通过“抽奖数据”向服务端发起相应的抽奖请求(相当于分配请求),然后由服务端返回相应的抽奖结果,并示出于前端。
在一示例性场景中,服务器可以协同电视播放、广播播放或现场播放等形式,向用户提供对预设音频文件的播放;同时,用户可以通过诸如手机等电子设备进行抽奖操作。那么,服务器可以通过与电子设备之间的数据交互,提供该预设音频文件的实时播放进度,而电子设备可以根据该实时播放进度和预定义分配规则,确定并展示出相应的中奖概率。以及,用户可以通过点击电子设备上显示出的抽奖选项,当然还可以通过诸如对电子设备的“摇一摇”等操作,向服务器发起抽奖请求,然后在服务器执行抽奖操作后,由电子设备接收并呈现出相应的抽奖结果。
实施例二
作为一示例性实施例,在步骤902中,电子设备可以实时采集预设音频文件的预设声波特征参数,以作为上述的实时播放状况;以及,在步骤904中,电子设备可以在预设声波特征参数的数值满足预设数值条件时,生成并展示出表达高分配概率的概率描述信息,以及在预设声波特征参数的数值未满足预设数值条件时,生成并展示出表达低分配概率的概率描述信息。
举例而言,图11是本申请一示例性实施例提供的另一种实现对象分配功能的系统架构图,如图11所示,该系统架构可以包括服务端、客户端和前端三个部分,三者之间的关系可以参考上述结合图10的描述,此处不再赘述。在服务端配置有“音频播放任务”,该“音频播放任务”可以在抽奖操作中播放预设音频文件;服务端还配置有“抽奖规则”,该“抽奖规则”包含预定义分配规则,比如预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率(相当于中奖概率)。相应地,在客户端配置有“抽奖规则”和“音频采集任务”,该“抽奖规则”与服务端上的“抽奖规则”保持一致,而“音频采集任务”可以调用客户端所属电子设备上的送话器等,对服务端播放的预设音频文件进行采集,并根据客户端的“抽奖规则”提供的预定义分配规则,从而据此确定出实时的中奖概率,以展示于前端的“概率展示页面”中。同时,前端还可以示出“抽奖选项”,使得用户可以通过点击显示出的抽奖选项,使得客户端获得相应的触发信息,并通过“抽奖数据”向服务端发起相应的抽奖请求(相当于分配请求),然后由服务端返回相应的抽奖结果,并示出于前端。
在一示例性场景中,服务器可以协同电视播放、广播播放或现场播放等形式,向用户提供对预设音频文件的播放;同时,用户可以通过诸如手机等电子设备进行抽奖操作。那么,通过电子设备上的送话器等器 件,可以对该预设音频文件的播放声音进行采集,从而结合预定义分配规则,确定并展示出相应的中奖概率;比如,当识别出位于音频文件较为平缓的播放区间时,可以采用较低中奖概率,而位于音频文件较为高昂的播放区间时,可以采用较高中奖概率。以及,用户可以通过点击电子设备上显示出的抽奖选项,当然还可以通过诸如对电子设备的“摇一摇”等操作,向服务器发起抽奖请求,然后在服务器执行抽奖操作后,由电子设备接收并呈现出相应的抽奖结果。
需要说明的是:在图10-11中,前端中的“概率展示页面”表示用于实现概率展示页面的数据和功能,以及“抽奖选项”表示用于实现该概率展示页面中的抽奖选项的数据和功能;类似地,客户端中的“存储”表示用于实现存储功能,以及“抽奖规则”表示用于实现抽奖规则的功能和该抽奖规则的数据本身、“抽奖数据”表示用于处理抽奖数据的功能和触发信息、抽奖结果等抽奖数据本身,此处不再一一描述。
图12示出了根据本申请的一示例性实施例的电子设备的示意结构图。请参考图12,在硬件层面,该电子设备包括处理器1202、内部总线1204、网络接口1206、内存1208以及非易失性存储器1210,当然还可能包括其他业务所需要的硬件。处理器1202从非易失性存储器1210中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成对象分配装置。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
请参考图13,在软件实施方式中,该对象分配装置可以包括获取单元1302、概率展示单元1304和结果展示单元1306。其中:
获取单元1302,获取预设音频文件的实时播放状况;
概率展示单元1304,根据所述实时播放状况,确定当前用户被成 功分配预设对象的概率描述信息,并展示出所述概率描述信息;
结果展示单元1306,向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
可选的,
所述获取单元1302具体用于:接收所述服务器发送的所述预设音频文件的实时播放进度;
所述概率展示单元1304具体用于:获取所述预设音频文件对应的预定义分配规则,所述预定义分配规则包含所述预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率;确定所述实时播放进度对应的预定义分配时间区间,并将相应的分配概率作为所述概率描述信息进行展示。
可选的,
所述获取单元1302具体用于:实时采集所述预设音频文件的预设声波特征参数;
所述概率展示单元1304具体用于:当所述预设声波特征参数的数值满足预设数值条件时,生成并展示出表达高分配概率的概率描述信息;当所述预设声波特征参数的数值未满足所述预设数值条件时,生成并展示出表达低分配概率的概率描述信息。
图14示出了根据本申请的一示例性实施例的电子设备的示意结构图。请参考图14,在硬件层面,该电子设备包括处理器702、内部总线704、网络接口1406、内存1408以及非易失性存储器1410,当然还可能包括其他业务所需要的硬件。处理器1402从非易失性存储器1410中读取对应的计算机程序到内存1408中然后运行,在逻辑层面上形成对象分配规则的配置装置。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说 以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
请参考图15,在软件实施方式中,该对象分配规则的配置装置可以包括获取单元1502、提取单元1504和配置单元1506。其中:
获取单元1502,获取用于对象分配的预设音频文件;
提取单元1504,根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数;
配置单元1506,根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
可选的,所述配置单元1506具体用于:
从所述预设音频文件在每个分配时间区间内的若干音频采样点中,确定出第一音频采样点;其中,所述第一音频采样点的预设声波特征参数的数值满足预设数值条件;
根据每个分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和,配置相应的分配数量。
可选的,所述分配数量正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和。
可选的,所述预设数值条件包括:不小于预设数值。
可选的,所述分配时间区间为按照预设时长对所述预设音频文件的播放时序进行划分得到的若干区间。
可选的,所述预设声波特征参数包括以下至少之一:振动频率、振动幅度。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输 入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (24)

  1. 一种对象分配方法,其特征在于,包括:
    根据接收到的分配启动命令,启动对预设音频文件的播放;
    确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;
    获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    当接收到来自任一用户的分配请求时,确定所述任一用户的所属团体;
    当所述团体为任一分配时间区间对应的预定义关联团体时,将所述任一用户配置为所述任一分配时间区间对应的可分配用户。
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户,包括:
    根据每一预定义关联团体对应的预定义分配概率,将所述任一分配时间区间对应的对象分配至相应的可分配用户。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    接收用户通过电子设备发送的分配请求;
    当在任一分配时间区间内接收到来自任一用户的分配请求时,将所述任一用户作为所述任一分配时间区间对应的可分配用户。
  5. 根据权利要求4所述的方法,其特征在于,还包括:
    统计每个可分配用户在相应分配时间区间内对分配请求的发送数量;
    其中,每个可分配用户被分配到对象的概率与其对应的统计数值正 相关。
  6. 一种对象分配装置,其特征在于,包括:
    启动单元,根据接收到的分配启动命令,启动对预设音频文件的播放;
    确定单元,确定所述预设音频文件对应的分配时间区间,以及每个分配时间区间对应的分配数量;其中,所述分配数量与所述预设音频文件在每个分配时间区间内的预设声波特征参数相关;
    分配单元,获取所述分配数量的对象,并分配至相应分配时间区间对应的可分配用户。
  7. 根据权利要求6所述的装置,其特征在于,还包括:
    团体确定单元,当接收到来自任一用户的分配请求时,确定所述任一用户的所属团体;
    配置单元,当所述团体为任一分配时间区间对应的预定义关联团体时,将所述任一用户配置为所述任一分配时间区间对应的可分配用户。
  8. 根据权利要求7所述的装置,其特征在于,所述分配单元具体用于:
    根据每一预定义关联团体对应的预定义分配概率,将所述任一分配时间区间对应的对象分配至相应的可分配用户。
  9. 根据权利要求6所述的装置,其特征在于,还包括:
    接收单元,接收用户通过电子设备发送的分配请求;
    处理单元,当在任一分配时间区间内接收到来自任一用户的分配请求时,将所述任一用户作为所述任一分配时间区间对应的可分配用户。
  10. 根据权利要求9所述的装置,其特征在于,还包括:
    统计单元,统计每个可分配用户在相应分配时间区间内对分配请求的发送数量;
    其中,每个可分配用户被分配到对象的概率与其对应的统计数值正相关。
  11. 一种对象分配方法,其特征在于,包括:
    获取预设音频文件的实时播放状况;
    根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息;
    向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
  12. 根据权利要求11所述的方法,其特征在于,
    所述获取预设音频文件的实时播放状况,包括:接收所述服务器发送的所述预设音频文件的实时播放进度;
    所述根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息,包括:获取所述预设音频文件对应的预定义分配规则,所述预定义分配规则包含所述预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率;确定所述实时播放进度对应的预定义分配时间区间,并将相应的分配概率作为所述概率描述信息进行展示。
  13. 根据权利要求11所述的方法,其特征在于,
    所述获取预设音频文件的实时播放状况,包括:实时采集所述预设音频文件的预设声波特征参数;
    所述根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息,包括:当所述预设声波特征参数的数值满足预设数值条件时,生成并展示出表达高分配概率的概率描述信息;当所述预设声波特征参数的数值未满足所述预设数值条件时,生成并展示出表达低分配概率的概率描述信息。
  14. 一种对象分配装置,其特征在于,包括:
    获取单元,获取预设音频文件的实时播放状况;
    概率展示单元,根据所述实时播放状况,确定当前用户被成功分配预设对象的概率描述信息,并展示出所述概率描述信息;
    结果展示单元,向服务器发起对应于所述当前用户的分配请求,并接收和展示出所述服务器返回的分配结果。
  15. 根据权利要求14所述的装置,其特征在于,
    所述获取单元具体用于:接收所述服务器发送的所述预设音频文件的实时播放进度;
    所述概率展示单元具体用于:获取所述预设音频文件对应的预定义分配规则,所述预定义分配规则包含所述预设音频文件对应的预定义分配时间区间及各个时间区间对应的分配概率;确定所述实时播放进度对应的预定义分配时间区间,并将相应的分配概率作为所述概率描述信息进行展示。
  16. 根据权利要求14所述的装置,其特征在于,
    所述获取单元具体用于:实时采集所述预设音频文件的预设声波特征参数;
    所述概率展示单元具体用于:当所述预设声波特征参数的数值满足预设数值条件时,生成并展示出表达高分配概率的概率描述信息;当所述预设声波特征参数的数值未满足所述预设数值条件时,生成并展示出表达低分配概率的概率描述信息。
  17. 一种对象分配规则的配置方法,其特征在于,包括:
    获取用于对象分配的预设音频文件;
    根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数;
    根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
  18. 根据权利要求17所述的方法,其特征在于,所述根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量,包括:
    从所述预设音频文件在每个分配时间区间内的若干音频采样点中,确定出第一音频采样点;其中,所述第一音频采样点的预设声波特征参数的数值满足预设数值条件;
    根据每个分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和,配置相应的分配数量。
  19. 根据权利要求18所述的方法,其特征在于,所述分配数量正相关于相应分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和。
  20. 根据权利要求18所述的方法,其特征在于,所述预设数值条件包括:不小于预设数值。
  21. 根据权利要求17所述的方法,其特征在于,所述分配时间区间为按照预设时长对所述预设音频文件的播放时序进行划分得到的若干区间。
  22. 根据权利要求17所述的方法,其特征在于,所述预设声波特征参数包括以下至少之一:振动频率、振动幅度。
  23. 一种对象分配规则的配置装置,其特征在于,包括:
    获取单元,获取用于对象分配的预设音频文件;
    提取单元,根据所述预设音频文件对应的分配时间区间,分别提取所述预设音频文件在每一分配时间区间内的预设声波特征参数;
    配置单元,根据所述预设声波特征参数,配置在相应的分配时间区间对应的分配数量;其中,当所述预设音频文件被播放至任一分配时间区间时,相应分配数量的对象将被分配至所述任一分配时间区间对应的可分配用户。
  24. 根据权利要求23所述的装置,其特征在于,所述配置单元具体用于:
    从所述预设音频文件在每个分配时间区间内的若干音频采样点中,确定出第一音频采样点;其中,所述第一音频采样点的预设声波特征参数的数值满足预设数值条件;
    根据每个分配时间区间内的第一音频采样点的数量或所有第一音频采样点的预设声波特征参数的数值之和,配置相应的分配数量。
PCT/CN2017/079861 2016-05-04 2017-04-10 对象分配方法和装置 Ceased WO2017190576A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/179,721 US20190073871A1 (en) 2016-05-04 2018-11-02 Object Allocation Method and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610289713.3 2016-05-04
CN201610289713.3A CN107346493B (zh) 2016-05-04 2016-05-04 对象分配方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/179,721 Continuation US20190073871A1 (en) 2016-05-04 2018-11-02 Object Allocation Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2017190576A1 true WO2017190576A1 (zh) 2017-11-09

Family

ID=60202707

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079861 Ceased WO2017190576A1 (zh) 2016-05-04 2017-04-10 对象分配方法和装置

Country Status (4)

Country Link
US (1) US20190073871A1 (zh)
CN (1) CN107346493B (zh)
TW (1) TWI744293B (zh)
WO (1) WO2017190576A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113838488A (zh) * 2020-06-24 2021-12-24 北京字节跳动网络技术有限公司 音频播放包生成方法、装置和音频播放方法、装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322894B (zh) * 2019-06-27 2022-02-11 电子科技大学 一种基于声音的波形图生成及大熊猫检测方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049634A1 (en) * 2000-07-06 2002-04-25 Joseph Longinotti Interactive quiz based internet system
CN102063678A (zh) * 2011-01-05 2011-05-18 北京凯铭风尚网络技术有限公司 一种向网友在线派发礼品的方法和装置
CN103812935A (zh) * 2014-01-28 2014-05-21 珠海多玩信息技术有限公司 资源分配方法、装置及系统
CN105516784A (zh) * 2016-01-29 2016-04-20 广州酷狗计算机科技有限公司 虚拟物品显示方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060025206A1 (en) * 1997-03-21 2006-02-02 Walker Jay S Gaming device operable to faciliate audio output via a headset and methods related thereto
US7657836B2 (en) * 2002-07-25 2010-02-02 Sharp Laboratories Of America, Inc. Summarization of soccer video content
US20040152055A1 (en) * 2003-01-30 2004-08-05 Gliessner Michael J.G. Video based language learning system
ZA200401649B (en) * 2003-10-31 2004-09-01 Aruze Corp Gaming machine.
EP2111617B1 (en) * 2007-02-14 2013-09-04 LG Electronics Inc. Audio decoding method and corresponding apparatus
US8821209B2 (en) * 2009-08-06 2014-09-02 Peter Sui Lun Fong Interactive device with sound-based action synchronization
US8874243B2 (en) * 2010-03-16 2014-10-28 Harmonix Music Systems, Inc. Simulating musical instruments
US20110306397A1 (en) * 2010-06-11 2011-12-15 Harmonix Music Systems, Inc. Audio and animation blending
US9808724B2 (en) * 2010-09-20 2017-11-07 Activision Publishing, Inc. Music game software and input device utilizing a video player
KR20150119750A (ko) * 2014-04-16 2015-10-26 삼성전자주식회사 디스플레이장치, 서버, 시스템 및 그 콘텐츠 시청 후 관련 정보제공 및 평가 방법
CN104159159B (zh) * 2014-05-30 2015-10-07 腾讯科技(深圳)有限公司 基于视频的交互方法、终端、服务器及系统
CN104899768B (zh) * 2015-06-25 2016-12-07 北京奇虎科技有限公司 奖品信息产生方法、装置及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049634A1 (en) * 2000-07-06 2002-04-25 Joseph Longinotti Interactive quiz based internet system
CN102063678A (zh) * 2011-01-05 2011-05-18 北京凯铭风尚网络技术有限公司 一种向网友在线派发礼品的方法和装置
CN103812935A (zh) * 2014-01-28 2014-05-21 珠海多玩信息技术有限公司 资源分配方法、装置及系统
CN105516784A (zh) * 2016-01-29 2016-04-20 广州酷狗计算机科技有限公司 虚拟物品显示方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113838488A (zh) * 2020-06-24 2021-12-24 北京字节跳动网络技术有限公司 音频播放包生成方法、装置和音频播放方法、装置
CN113838488B (zh) * 2020-06-24 2023-03-14 北京字节跳动网络技术有限公司 音频播放包生成方法、装置和音频播放方法、装置

Also Published As

Publication number Publication date
TWI744293B (zh) 2021-11-01
US20190073871A1 (en) 2019-03-07
CN107346493A (zh) 2017-11-14
TW201740333A (zh) 2017-11-16
CN107346493B (zh) 2021-03-23

Similar Documents

Publication Publication Date Title
CN108235102B (zh) 业务处理方法、装置及存储介质
CN109905723B (zh) 一种主播的推荐方法、服务器以及可读存储介质
CN109218746A (zh) 获取视频片段的方法、装置和存储介质
US20190297385A1 (en) Operation method of user terminal and server for sponsoring real-time broadcast
EP2803053A1 (en) Automated discovery of gaming preferences
CN109348274B (zh) 一种直播互动方法、装置及存储介质
CN103634199A (zh) 通知消息的显示方法及装置
CN109428910B (zh) 一种数据处理方法、装置及系统
CN107896334B (zh) 进行直播的方法和装置
CN112261435B (zh) 一种社交互动方法、装置、系统、设备及存储介质
WO2017156984A1 (zh) 一种移动终端的视频更新推送方法以及客户端
WO2020030072A1 (zh) 用于分配资源、领取资源、发布资源的方法和设备
CN110689903B (zh) 智能音箱的评测方法、装置、设备和介质
CN117130714A (zh) 媒体交互方法、装置、设备和存储介质
WO2017190576A1 (zh) 对象分配方法和装置
CN110913238A (zh) 一种直播方法、装置、设备及存储介质
CN110536147B (zh) 直播处理的方法、装置及系统
US20110029386A1 (en) Allocation of digital media store credit for presentation of an advertisement with a media player
CN108766460B (zh) 基于语音的交互方法及系统
CN110602553A (zh) 媒体文件播放中的音频处理方法、装置、设备及存储介质
CN109493111A (zh) 抽奖数据处理方法、装置及存储介质、服务器
CN115209228B (zh) 任务互动方法、装置、设备、存储介质及程序产品
CN117111788A (zh) 评论信息展示方法、发布方法、装置、计算机设备及介质
CN109316752B (zh) 游戏部署方法、游戏方法、设备和存储介质
CN113628381A (zh) 抽奖方法和装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17792403

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17792403

Country of ref document: EP

Kind code of ref document: A1