WO2022152010A1 - Methods for acquiring virtual article and publishing virtual article, computer device, and medium - Google Patents

Methods for acquiring virtual article and publishing virtual article, computer device, and medium Download PDF

Info

Publication number
WO2022152010A1
WO2022152010A1 PCT/CN2022/070112 CN2022070112W WO2022152010A1 WO 2022152010 A1 WO2022152010 A1 WO 2022152010A1 CN 2022070112 W CN2022070112 W CN 2022070112W WO 2022152010 A1 WO2022152010 A1 WO 2022152010A1
Authority
WO
WIPO (PCT)
Prior art keywords
voting
virtual item
interface
virtual
item package
Prior art date
Application number
PCT/CN2022/070112
Other languages
French (fr)
Chinese (zh)
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 WO2022152010A1 publication Critical patent/WO2022152010A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme

Definitions

  • the embodiments of the present application relate to the technical field of information interaction, and in particular, to a method for collecting virtual items and publishing virtual items, computer equipment and media.
  • a user can send virtual items using a virtual item package, and other users can receive the virtual item package to obtain virtual items in the virtual item package.
  • virtual item package Taking the use of "electronic red envelopes" as an example of a virtual item package, a user sends an electronic red envelope, and the electronic red envelope carries virtual items, such as virtual resources, vouchers, etc. After one or more users select the electronic red envelope, they can The electronic red envelope is received.
  • the virtual item package only has the function of transferring virtual items, and the function is relatively single.
  • the embodiments of the present application provide a virtual item receiving and virtual item publishing method, computer equipment and medium, which can enrich the functions of the virtual item package and improve the interactivity in the process of receiving the virtual item package.
  • the technical solution is as follows:
  • a method for claiming a virtual item comprising:
  • voting interface In response to the triggering operation on the virtual item package, displaying a voting interface corresponding to the virtual item package, where the voting interface includes at least two voting options;
  • the target voting option is the selected voting option among the voting options, and is used to determine a voting result
  • a claiming interface corresponding to the virtual item package is displayed, and the claiming interface includes claiming information and voting results.
  • a method for publishing a virtual item comprising:
  • parameter information corresponding to the virtual item package is obtained, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used for the virtual item package is configured;
  • the configured virtual item package is published.
  • a method for collecting virtual items comprising:
  • the claiming result of the voting party is determined according to the voting result of the virtual item package, and the claiming result corresponding to the voting party is issued to the voting party, and the claiming request contains the voting party identification.
  • a virtual item claiming device comprising:
  • a first display module configured to display a voting interface corresponding to the virtual item package in response to a triggering operation on the virtual item package, where the voting interface includes at least two voting options;
  • a first receiving module configured to receive a selection operation for a target voting option among at least two of the voting options
  • the second display module is configured to display a claiming interface corresponding to the virtual item package when the voting is over, and the claiming interface includes claiming information and voting results.
  • an apparatus for issuing virtual items comprising:
  • a ninth display module used to display the release interface corresponding to the virtual item package
  • an obtaining module configured to obtain parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package;
  • the first publishing module is configured to publish the virtual item package in response to the publishing operation on the virtual item package.
  • a virtual item claiming device comprising:
  • a second publishing module configured to publish a virtual item package, where the virtual item package corresponds to at least two voting options
  • a second receiving module configured to receive voting information sent by a voting party, where the voting information includes a voting party identifier and a target voting option selected by the voting party;
  • a determining module configured to determine the voting result corresponding to the virtual item package based on the received at least one of the voting information when the voting ends;
  • a sending module is configured to, in response to a claiming request sent by the voting party, deliver the claiming result corresponding to the voting party to the voting party, where the claiming request includes the voting party identifier.
  • a computer device comprising a memory and one or more processors, the memory having computer-readable instructions stored therein, the computer-readable instructions, when executed by the processor, cause the one or more processors to execute The method for claiming a virtual item described in the above aspect, or, the method for releasing a virtual item described in the above aspect is executed.
  • One or more non-volatile readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the functions described in the above aspects.
  • a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the virtual item claiming method provided in the above-mentioned optional implementation manner, or executes the above-mentioned optional implementation manner
  • the virtual item publishing method provided in .
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application
  • FIG. 2 shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application
  • FIG. 3 shows a schematic diagram of a process of claiming a virtual item package according to an exemplary embodiment of the present application
  • FIG. 4 shows a flowchart of a method for publishing a virtual item package provided by an exemplary embodiment of the present application
  • FIG. 5 shows a schematic diagram of a virtual goods package publishing process according to an exemplary embodiment of the present application
  • FIG. 6 shows a flowchart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application
  • FIG. 7 shows a flowchart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application.
  • FIG. 8 shows a schematic diagram of the setting process of the number of items shown in an exemplary embodiment of the present application
  • FIG. 9 shows a schematic diagram of the setting process of the virtual item allocation strategy shown in an exemplary embodiment of the present application.
  • FIG. 10 shows a schematic diagram of parameter information (attribute information) corresponding to a virtual item package shown in an exemplary embodiment of the present application
  • FIG. 11 shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application.
  • FIG. 12 shows a schematic diagram of a process of claiming a virtual item package according to another exemplary embodiment of the present application.
  • FIG. 13 shows a schematic diagram of the viewing process of the voting barrage shown in an exemplary embodiment of the present application
  • FIG. 14 shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application.
  • FIG. 15 shows a flowchart of a method for claiming virtual items provided by an exemplary embodiment of the present application
  • FIG. 16 shows a flowchart of a method for publishing a virtual goods package according to an exemplary embodiment of the present application
  • FIG. 17 shows a flowchart of a method for claiming a virtual goods package according to an exemplary embodiment of the present application
  • FIG. 18 shows a sequence diagram of an interaction process shown in an exemplary embodiment of the present application.
  • FIG. 19 is a structural block diagram of a virtual item claiming device provided by an exemplary embodiment of the present application.
  • FIG. 20 is a structural block diagram of an apparatus for issuing virtual items provided by an exemplary embodiment of the present application.
  • FIG. 21 is a structural block diagram of a virtual item claiming device provided by another exemplary embodiment of the present application.
  • FIG. 22 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 23 shows a schematic structural diagram of a server provided by an embodiment of the present application.
  • Virtual items virtual resources that can be circulated.
  • virtual items are virtual resources that can be exchanged for goods.
  • the virtual items may be virtual currency, funds, funds, shares, game equipment, game materials, game pets, game currency, icons, members, titles, value-added services, points, ingots, golden beans, gift certificates, exchange certificates , coupons, greeting cards, money, and more.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment may include: a first terminal 110 , a server 120 and a second terminal 130 .
  • Running in the first terminal 110 is an application program capable of publishing a virtual item package, which can be, for example, a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playback device, and a wearable device MP3 (Moving Picture Experts Group). Audio Layer III, moving image expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, moving image expert compression standard audio layer 4) player, laptop and other electronic equipment.
  • the application program may be a financial program, a social program, a shopping program, a game program, a video program, an audio program, an instant messaging program, or the like.
  • the user can perform the configuration operation of the virtual item package in the first terminal 110, and the terminal correspondingly obtains parameter information corresponding to the virtual item package, such as voting options, virtual items, voting end conditions, virtual item allocation strategies, etc. , and after the configuration is completed, the release operation of the virtual item package is performed, and the corresponding first terminal 110 may send a release request of the virtual item package to the server 120, and the release request may include the identifier of the publisher and the identifier of the receiver corresponding to the virtual item package. and parameter information.
  • the server 120 is configured to provide background services for applications in the first terminal 110 or the second terminal 130 (eg, applications capable of receiving virtual item packages).
  • the server 120 may be a backend server for the above-mentioned application (eg, an application capable of receiving virtual item packages).
  • the server 120 may be a server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the server 120 may receive a release request of the virtual item package from the first terminal 110, and send the virtual item package to at least one second terminal 130 indicated by the receiver identifier.
  • the server 120 may receive voting information sent by the second terminal 130, where the voting information includes the voting party identifier and the voting option selected by the voting party, and determines the voting result corresponding to the virtual item package based on the voting information.
  • the second terminal 130 runs an application program capable of receiving virtual item packages, which may be a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device MP3 player, or an MP4 player. devices, laptops, and other electronic devices.
  • the application program may be a financial program, a social program, a shopping program, a game program, a video program, an audio program, an instant messaging program, or the like.
  • the application programs used for receiving the virtual item package or publishing the virtual item package may be the same application program or different application programs, which is not limited in this embodiment.
  • the second terminal 130 may receive the virtual item package sent by the server 120; optionally, when the second terminal 130 receives the voting party's selection operation on the voting option, the second terminal 130 may send voting information to the server 120, so that the server 120 may determine a voting result corresponding to the virtual item package based on the at least one voting information.
  • the first terminal 110, the second terminal 130 and the server 120 may communicate with each other through a network.
  • the network can be a wired network or a wireless network.
  • FIG. 2 shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application. Taking the execution subject of the method as the second terminal 130 shown in FIG. 1 as an example, the method includes:
  • Step 201 in response to the triggering operation on the virtual item package, display a voting interface corresponding to the virtual item package, and the voting interface includes at least two voting options.
  • the virtual item package is sent by the first user account, which is the publisher corresponding to the virtual item package, and the receiver of the virtual item package is set correspondingly, that is, only the designated receiver can receive the virtual item package.
  • virtual item packs and receive the virtual items contained in the virtual item packs Exemplarily, if a user account publishes a virtual item package in the target group, only members (users) in the target group can participate in receiving the virtual item package; optionally, if the target host user is in the live broadcast interface When the virtual item package is released, only users who enter the live broadcast room corresponding to the target host can participate in receiving the virtual item package.
  • the virtual item package is published in the target group as an example for illustration.
  • the virtual item package is displayed on the current display interface (ie, the group message interface) corresponding to the target group, any Users or members can receive virtual item packages.
  • the virtual item collection is combined with the voting activities, and the user needs to vote on the voting options corresponding to the virtual item package, and then may participate in the collection of the virtual item package.
  • the terminal after the terminal receives the triggering operation for the virtual item package, it will first display a voting interface corresponding to the virtual item package.
  • the voting interface includes at least two voting options. The selection of voting options is carried out in , so that the corresponding virtual items can be subsequently claimed based on the selection result.
  • the trigger operation may be a user's click operation, long-press operation, double-click operation, etc. on the virtual item package, and may also be a voice command, which is not limited in this embodiment of the present application.
  • the at least two voting options included in the voting interface are set by the virtual item package corresponding to the publisher. Since the virtual item package in this embodiment not only has the function of issuing virtual items, but also has the voting function, therefore, The publisher of the virtual item package can set a topic of interest to himself as a voting option, so as to collect the opinions or opinions of other users on the voting option.
  • the voting option can also be provided by an application with the function of publishing virtual item packages.
  • the application collects hot topics in itself or other network platforms, and filters and filters the hot topics to generate a variety of votes.
  • Optional voting options corresponding to users who can choose the voting options they are interested in from the various optional voting options provided by the application when publishing the virtual item package.
  • the application when it collects hot topics, it can obtain the historical browsing track of the local user (the publisher corresponding to the virtual item package) (for example, the historical browsing record in the search application), or the local user's historical browsing track.
  • Information such as application usage records (for example, frequently using a certain game application), or purchase records of local users (for example, frequently shopping for a certain type of product online) and other information, filter and filter this information (filter out the user's private information) , and perform feature extraction on the filtered information, extract the feature dimensions that the user is interested in, and generate optional voting options based on these feature dimensions, so that the determined voting options are more in line with the user's interests.
  • the user searches for game strategies more frequently, and correspondingly, it can be obtained that the user is highly interested in the game application, and can generate information related to the game application. voting options, such as "do you like to play xx games", “what characters do you like in xx games", "whether you are in xx games” and so on.
  • FIG. 3 it shows a schematic diagram of a process of claiming a virtual item package according to an exemplary embodiment of the present application.
  • the user 301 sends a PK red envelope 302 in the group chat, and the user clicks on the PK red envelope 302 to pop up the voting interface 303 corresponding to the PK red envelope 302.
  • the voting interface 303 displays two voting options 304, such as "voting option one" and "" "Voting option 2" wherein, voting option 1 may correspond to online shopping and voting option 2 may correspond to offline shopping.
  • the voting interface 303 also displays the subject information "your favorite shopping method" corresponding to the PK red envelope 302, the current voting situation "7 votes: 6 votes", the publisher information "A's voting red envelope” and the like.
  • Step 202 Receive a selection operation for a target voting option among the at least two voting options, where the target voting option is the selected voting option in the voting options, and is used to determine the voting result.
  • the voting interface corresponding to the virtual item package includes at least two voting options, the voting options are set as optional, and the user can select any voting option based on his interest in the voting options to participate in voting, so that the corresponding terminal can receive the user's selection operation on the target voting option among the at least two voting options.
  • the selection operation may be manually triggered by the user, for example, the selection operation may be a click operation, a long-press operation, a double-click operation, etc. on the voting option, or indirectly triggered by the user, for example, the selection of the voting option is triggered by a voice command operation, which is not limited in this embodiment.
  • the user's selection operation on the target voting option may be obtained through the intelligent voice dialogue technology.
  • the process of receiving the selection operation on the target voting option may include the following steps:
  • voting can be completed through intelligent voice dialogue technology.
  • the terminal has an intelligent voice dialogue function
  • the user can wake up the function through a preset command, and the corresponding terminal enables the intelligent voice dialogue function.
  • the terminal To receive or vote-related voice commands, such as "receive the virtual item package sent by Xiao Wang", when the terminal receives the voice command sent by the user, it will perform voice recognition on the voice.
  • the voting options contained in the voting interface can be converted into voice prompt messages, so that the user can obtain the relevant information such as the voting options corresponding to the virtual item package in time.
  • the method for converting voting options into voice prompt messages in a possible implementation, it can be realized by optical character recognition (Optical Character Recognition, OCR) technology and speech synthesis (Text-To-Speech, TTS) technology, namely First, perform OCR identification on the voting interface to obtain various text information (eg, voting options) contained in the voting interface, and convert the identified text information into a voice prompt message through TTS technology.
  • OCR Optical Character Recognition
  • TTS Text-To-Speech
  • the virtual item package carries a voice prompt message related to the voting option.
  • the terminal determines that the user has a need to receive the virtual item package, for example, by receiving a voice command from the user to receive the virtual item package, it can be automatically played.
  • the voice prompt message enables the user to obtain information such as voting options corresponding to the virtual item package based on the voice prompt message.
  • the terminal plays the voice prompt information related to the voting option
  • the user can determine the voting option he is interested in based on the obtained voting option information, and send a voice selection instruction to the terminal.
  • the voice selection instruction includes a target voting option.
  • the terminal determines the target voting option selected by the user based on the voting options included in the voice selection instruction, and performs a selection operation on the target voting option.
  • the intelligent voice dialogue system can include five parts: Automatic Speech Recognition (ASR): Convert the original voice signal into text information ;Natural Language Understanding (NLU): Convert the recognized text information into a semantic representation that the machine can understand; Dialog Management (DM): Determine the actions the system should take based on the dialog state; Natural language generation ( Natural Language Generation, NLG): Convert system actions into natural language text; Speech Synthesis (TTS): Convert natural language text into speech output to the user.
  • ASR Automatic Speech Recognition
  • NLU Natural Language Understanding
  • DM Dialog Management
  • NLG Natural Language Generation
  • NLG Natural Language Generation
  • the terminal receives the voice command, first converts it into text information "help me choose voting option A” through voice recognition technology, and then uses natural voice. Understand, so that the terminal understands the meaning that the current user wants to express "the user wants to select voting option A”; and then determines through dialogue management that the terminal needs to perform the selection operation of selecting voting option A;
  • the language generation technology converts the action that the terminal has selected the voting option A into natural speech text "voting option A has been selected”, and converts it into voice output to the user through the language synthesis technology, so as to remind the user that the voting option has been selected.
  • each voting option is optional; when the terminal receives the selection operation for the target voting option, in order to prevent the user from arbitrarily changing the result of his choice, it is not conducive to subsequent statistical voting As a result, each voting option can be set from selectable to non-selectable state, that is, the user only has a single chance to vote.
  • setting the voting option to an optional state or an unselectable state may be to set the voting control corresponding to the voting option to an optional state or a non-selectable state, that is, the voting interface displays the voting option and the vote.
  • the voting control corresponding to the option the user selects the target voting option by selecting the target voting control corresponding to the target voting option.
  • the terminal receives the selection operation for the target voting option, and updates the voting control corresponding to the voting option 1 from voting to vote.
  • Step 203 when the voting is over, a receiving interface corresponding to the virtual item package is displayed, and the receiving interface includes the receiving information and the voting result.
  • the virtual item package is correspondingly set with a voting ending condition, and the voting ending condition includes at least one of the total number of votes reaching a quantity threshold, and the release duration of the virtual item package reaching the duration threshold.
  • the quantity threshold and the duration threshold may be preset by the developer, or set by the publisher corresponding to the virtual item package.
  • the quantity threshold may be 50; the duration threshold may be 2h.
  • the terminal can obtain the current total number of votes corresponding to the virtual item package in real time. If the current total number of votes reaches the number threshold, the voting is determined to be over, and the collection interface corresponding to the virtual item package is displayed.
  • the terminal can obtain the current release duration corresponding to the virtual item package in real time. .
  • a timer or timer can be set for the virtual item package, and the timer duration can be set to the duration threshold.
  • the timer reaches the timer duration, it is determined that the voting is over;
  • the timer duration of the controller reaches the duration threshold, it is determined that the voting is over.
  • the voting countdown can be displayed on the voting interface corresponding to the virtual item package.
  • the start time of the voting countdown is the duration threshold.
  • the receiving interface in this embodiment not only displays the receiving information, but also correspondingly displays the voting result, wherein the receiving information is used to indicate the receiving result of the voting party (user), and the voting result is determined based on the voting information corresponding to the voting party. .
  • the claim information may be the claim result, for example, the virtual item and the quantity allocated by the voting party, or may be a claim control.
  • the user can click on the claim control to receive the allocated virtual item correspondingly.
  • the receiving interface 305 corresponding to the virtual item package can be displayed, and the receiving interface 305 displays the receiving result 306 (RMB 8.20) and the voting result 307 (corresponding to the voting option of online shopping).
  • the receiving result 306 RMB 8.20
  • the voting result 307 corresponding to the voting option of online shopping.
  • the result of receiving the virtual item package is associated with the voting result.
  • the number and types of virtual items included in the virtual item package, as well as the relationship between the voting result party and each virtual item (virtual item allocation strategy) can be preset, so that after the voting is over, the voting result party can be determined based on the voting result.
  • Voting options thereby determining the virtual items corresponding to each voting option, and then determining the virtual items corresponding to the target voting options based on the target voting options selected by each user, and then determining the receiving result corresponding to each user.
  • the virtual item package corresponds to voting option A and voting option B
  • the virtual item package corresponds to two voting result parties, voting result party 1 and voting result party 2
  • voting result party 1 corresponds to virtual item A
  • the voting result party 2 corresponds to the virtual item B
  • the voting result party 1 and the voting result party 2 are divided based on the number of votes; when the voting ends, the voting options corresponding to each voting result party are determined based on the voting results.
  • the voting option is the voting result side 1, and the voting option with a smaller number of votes is the voting result side 2, and the voting result indicates that the number of voters corresponding to the voting option B is more than the number of voters corresponding to the voting option A, and the voting result side 1 can be obtained.
  • voting result party 2 corresponds to voting option A. Based on the relationship between the voting result party and the virtual item, it can be determined that voting option B corresponds to virtual item A, and voting option A corresponds to virtual item B; if the target voting option is Voting option A, so that the receiving result corresponding to the target voting option can be determined based on the virtual item B corresponding to the voting option A.
  • the voting result may also be displayed in the receiving interface, and the voting result may be the final number of votes corresponding to each voting option.
  • the target voting option is determined as the winner of the vote based on the number of votes, and the number of votes corresponding to the target voting option is large, the winning logo can be displayed in the claim interface.
  • a failure sign is displayed in the claim interface.
  • the virtual item package corresponds to two voting options, and each voting option corresponds to the same number of votes, one of them can be randomly selected as the winner and the other as the loser, or the default option 1 is the winner and option 2 For the loser, whether the voting option is option one or option two is set by the corresponding publisher of the virtual item package.
  • the virtual items corresponding to the virtual item package may be virtual currency, funds, funds, shares, game equipment, game materials, game pets, game coins, icons, members, titles, value-added services, points, ingots, golden beans, Gift certificates, vouchers, coupons, greeting cards, money, and more.
  • virtual items corresponding to parties with different voting results may be the same or different.
  • the specific setting method refer to the publishing process of the virtual item package below, which will not be repeated in this embodiment.
  • the virtual item package has the function of collecting virtual items and the function of voting, which not only enriches the functions of the virtual item package, but also increases the It is only necessary to generate one virtual item package to complete the collection and voting.
  • the application can also reduce the number of generated virtual item packages. Thus, the power and computing resources consumed when generating the virtual item package are saved.
  • users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages.
  • users can actively participate in voting by distributing virtual items, so that the publisher corresponding to the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
  • FIG. 4 shows a flowchart of a method for publishing a virtual item package provided by an exemplary embodiment of the present application, and the execution body of the method is the first method shown in FIG. 1 .
  • a terminal 110 is exemplified. The method includes:
  • Step 401 displaying a release interface corresponding to the virtual item package.
  • the publishing interface is used to configure parameter information corresponding to the virtual item package, so that a corresponding virtual item package can be generated based on the parameter information subsequently.
  • the applications having the function of publishing virtual item packages may be: instant messaging applications, live broadcasting applications, social networking applications, and game applications, which are not limited in the embodiments of the present application.
  • the terminal can call out the release interface corresponding to the virtual item package by clicking the selection control corresponding to the virtual item package in the application program interface.
  • FIG. 5 it shows a schematic diagram of a publishing process of a virtual item package shown in an exemplary embodiment of the present application.
  • a red envelope control 501 is displayed.
  • the terminal receives a trigger operation on the red envelope control 501, and can display a red envelope selection interface containing at least one red envelope.
  • the red envelope selection interface the user can click on the PK red envelope 502, the terminal receives the trigger operation on the PK red envelope 502, and displays the release interface 503 corresponding to the PK red envelope 502.
  • the user can configure the various parameter information corresponding to the PK red envelope 502 in the release interface 503, such as , red envelope amount, red envelope theme, red envelope options (voting options), winner's reward and loser's reward, etc.
  • Step 402 in response to the configuration operation in the publishing interface, obtain parameter information corresponding to the virtual item package, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used to configure the virtual item package.
  • the virtual item package in this embodiment also has a voting function, in a possible implementation, when configuring the parameter information corresponding to the virtual item package on the publishing interface, it is not only necessary to configure the virtual item information corresponding to the virtual item package, but also It is also necessary to configure the voting information corresponding to the virtual item package, for example, at least two voting options.
  • the voting information may further include a voting topic, and the voting topic is related to the voting option. If the user has set the voting theme, the voting theme can be displayed on the virtual item package to prompt other users to vote on the theme of the event. If the user is interested in the voting theme, he can click the virtual item package to participate in the voting. Just ignore the virtual item pack.
  • the voting topic can be set by the publisher corresponding to the virtual item package, for example, by setting a topic of interest; or an optional topic can be provided by the application, and the publisher can choose.
  • a plurality of groups of voting topics and their corresponding voting options may be pre-stored in the application. If the user selects a target voting topic, voting options associated with the target voting topic may be automatically filled in the publishing interface.
  • the parameter information of the virtual item package may further include a virtual item distribution strategy, and the virtual item distribution policy is used to indicate the voting result party and the virtual item distribution strategy. relationship between items.
  • the virtual item allocation strategy indicates the corresponding relationship between the voting result party and the virtual item. Since the virtual item package cannot obtain the voting result in advance, it is impossible to directly set the corresponding virtual item for the voting option. Therefore, the preset There is a corresponding relationship between the voting result party and the virtual item, and then the voting result determines the corresponding relationship between the voting option and the voting result party, so that after the voting is over, the virtual item corresponding to each voting option is indirectly determined.
  • the voting option corresponding to each voting result party may be determined based on the number of votes corresponding to each voting option in the voting result.
  • three voting options are set, and the first voting result is correspondingly set.
  • Party, the second voting result party and the third voting result party the terminal determines the voting option corresponding to each voting result party by sorting the voting numbers corresponding to each voting option indicated by the voting result, if the voting number corresponding to voting option A is 17 , the number of votes corresponding to voting option B is 20, and the number of votes corresponding to voting option C is 10. According to the number of votes, the order is voting option B > voting option A > voting option C. It can be obtained that the first voting result is voting option B , the second voting result is voting option A, and the third voting result is voting option C.
  • the user can customize the virtual items corresponding to different voting result parties, wherein the virtual items corresponding to different voting result parties may be the same or different. If the virtual items are the same, multiple voting result parties will share the same virtual item.
  • Step 403 in response to the publishing operation on the virtual item package, publish the configured virtual item package.
  • a configuration interface corresponding to the virtual item package displays a publishing control, and when the publisher corresponding to the virtual item package completes the configuration operation for the virtual item package in the publishing interface, the corresponding terminal obtains each valid parameter
  • the publisher can click the publishing control, so that the corresponding terminal receives the publishing operation for the virtual item package, and can publish the configured virtual item package.
  • an exemplary illustration is made by publishing the virtual item package to the target group.
  • the user enters the corresponding red packet amount, theme, options, rewards and other parameter information in the publishing interface 503, the user can click the publishing control 504.
  • the terminal receives the trigger operation on the publishing control 504, and can publish the PK red packet to the target group.
  • the PK red packet 505 is displayed in the group message interface of the target group.
  • the release scenarios of the virtual item package are different, and the release location of the virtual item package is different.
  • the virtual item package can be published on the corresponding social home page of the publisher, or Publish the virtual item package in the target group joined by the publisher, or publish the virtual item package in the target conversation interface, or publish the virtual item package in the circle of friends and social space;
  • the application scenario is a live broadcast scenario, you can Publish the virtual item package on the live broadcast interface corresponding to the publisher;
  • the application scenario is a short video scene, the virtual item package can be published on the short video interface corresponding to the publisher.
  • the process of publishing the virtual item package may be as follows: the client where the publisher is located receives the publishing operation for the virtual item package, and the publisher corresponding to the virtual item package
  • the ID, parameter information and recipient ID are sent to the backend server, and the backend server receives the release request corresponding to the virtual item package, and the release request includes the issuer ID, parameter information, recipient ID and other information.
  • the virtual item package is sent to the client where each receiver is located, so that the virtual item package is displayed in the corresponding group message interface of each receiver.
  • a publishing interface corresponding to the virtual item package is provided, so that the user can configure the parameter information corresponding to the virtual item package in the publishing interface, because the parameter information includes voting options and virtual items.
  • the virtual item package generated based on the parameter information has the function of collecting virtual items and also has the function of voting. Since voting options and virtual items can be configured simultaneously through the same publishing interface, the present application can reduce the number of generated publishing interfaces, thereby saving generation and publishing, compared to configuring voting options and virtual items through different publishing interfaces. The power and computing resources consumed by the interface.
  • users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages.
  • users can actively participate in voting by issuing virtual items, so that the corresponding publisher of the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
  • setting controls corresponding to each parameter information are set in the publishing interface corresponding to the virtual item package, so that the user can perform parameter configuration based on the prompts of each setting control.
  • FIG. 6 shows a flow chart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application, and the execution subject of the method is the first terminal 110 shown in FIG. 1 as an example.
  • the method includes:
  • Step 601 displaying a release interface corresponding to the virtual item package.
  • step 601 For the implementation of step 601, reference may be made to the above embodiments, and details are not described herein in this embodiment.
  • Step 602 Acquire at least two set voting options through the voting option setting control in the publishing interface.
  • a voting option setting control is set in the publishing interface, and the voting option setting control may be an input control, which requires the user to input the corresponding voting option (or voting content), and the voting option setting control may also be a selection control, and the user can provide Select the voting option from among the multiple candidate voting options.
  • the publishing interface is provided with voting option setting controls corresponding to the two voting options respectively.
  • voting option setting controls corresponding to the two voting options respectively.
  • the voting option setting control when When the user clicks the voting option setting control, the voting option can be entered manually or by voice.
  • the terminal receives the setting operation for the voting option, and obtains at least two voting options set.
  • the terminal may display the obtained voting options on the publishing interface, so that the user can confirm whether the voting options are entered incorrectly.
  • voting options are generally optional opinions on a certain topic information. Therefore, in a possible implementation, the user can also define the voting corresponding to this voting activity in the publishing interface. Topic, a voting topic setting control is set in the corresponding publishing interface. The user can set the corresponding voting topic through the voting topic setting control, and the terminal correspondingly obtains the set voting topic.
  • the voting theme setting control can also be an input control or a selection control.
  • the user can customize the voting theme, and can also select the voting theme from the candidate themes provided in the publishing interface.
  • the embodiment of the present application This does not constitute a limitation.
  • a voting option setting control 508 corresponding to the PK red envelope is displayed in the publishing interface 503.
  • the user can click the voting option setting control 508 to input the corresponding voting option, and the corresponding terminal can receive at least two corresponding virtual item packages.
  • voting options for example, voting option 1: online shopping and voting option 2: offline shopping
  • a voting theme setting control 507 is also displayed in the publishing interface 503, and the user can click the voting theme setting control 507 and enter The theme information corresponding to the PK red envelope, and the corresponding terminal obtains the theme information corresponding to the PK red envelope (favorite shopping method).
  • Step 603 Obtain the item type and item quantity of the set virtual item through the item setting control in the publishing interface.
  • an item setting control is set in the publishing interface; since the virtual item in this embodiment includes two attributes, one is the item type and the other is the item quantity, optionally, the publishing interface can provide the type setting corresponding to the item type controls, and the quantity setting controls corresponding to the number of items.
  • At least one type of virtual item corresponding to the virtual item package and the item quantity corresponding to each virtual item can be selected.
  • the publishing interface 503 is provided with an item setting control 506.
  • the user can click the item setting control 506 to set the amount of the red packet corresponding to the PK red packet, and the corresponding red packet amount corresponding to the PK red packet obtained by the terminal is 200 yuan.
  • the number of items corresponding to the virtual item cannot be determined in advance (the number of items corresponding to the virtual item is determined by the number of votes for each final voting option).
  • the number of acquired items needs to be checked in advance to ensure that the number of items is not lower than the minimum quantity threshold.
  • the set item type and item quantity of the virtual item can be obtained by simply operating the voting option setting control and the item setting control in the publishing interface, it saves the cost of obtaining at least two voting options. Power resources used to select voting options, item type and quantity of virtual items.
  • step 603 may include step 603A and step 603B.
  • Step 603A Obtain the quantity threshold and the set quantity of items through the item setting control in the publishing interface.
  • the terminal receives the set item quantity and corrects the item quantity. test.
  • Step 603B in response to the item quantity being lower than the quantity threshold, displaying a prompt message.
  • the quantity threshold is determined according to at least one of the minimum collection quantity of items, the total number of votes, and the group size of the target group. For example, the quantity threshold is determined by the minimum collection quantity of the item and the total number of votes, or the quantity threshold is determined by the minimum collection quantity of the item and the group size of the target group.
  • the minimum claim quantity indicates the minimum claim value corresponding to a single participating user. Taking the virtual item as virtual currency as an example, the corresponding minimum claim quantity may be 0.01 yuan.
  • the minimum claim quantity can be preset by the developer or set by the user, but the minimum claim quantity set by the user needs to be no less than the minimum claim quantity preset by the developer.
  • the minimum collection quantity corresponding to different virtual items may be different.
  • the minimum collection quantity corresponding to virtual currency may be 0.01 yuan
  • the minimum collection quantity corresponding to point coupons may be 50 points.
  • the total number of votes refers to the maximum number of votes corresponding to the virtual item package.
  • the number of votes can be set by the initiator corresponding to the virtual item package.
  • a total number of votes setting controls are provided in the publishing interface corresponding to the virtual item package. By setting the control for the total number of votes The set operation to get the total number of votes for the set.
  • Group size refers to the number of users included in the group.
  • a prompt message is displayed when it is determined that the number of items is lower than the quantity threshold, the user can be prompted to modify the set item quantity based on the prompt information, thereby reducing the probability of failure to receive virtual items due to insufficient set item quantity.
  • the prompt information by displaying the prompt information only when it is determined that the number of items is lower than the quantity threshold, the power resources consumed when the prompt information is displayed arbitrarily can be reduced.
  • the terminal may determine the current corresponding to the virtual item package based on the total number of votes and the minimum number of receipts. number of thresholds.
  • quantity threshold minimum number of votes * total number of votes.
  • the minimum claim amount is 0.01 yuan
  • the corresponding quantity threshold is 0.5 yuan.
  • the quantity threshold is determined based on the group size corresponding to the target group and the minimum claim quantity, wherein the group size corresponding to the target group may be included in the target group group size.
  • the group size indicates that the target group includes 60 members, the minimum claim amount is 0.01 yuan, and correspondingly, the quantity threshold is 0.6 yuan.
  • the total number of votes is preferentially selected as the factor for determining the number threshold. If the user does not set the total number of votes in the publishing interface, then By default, the group size corresponding to the target group is used as the factor for determining the number threshold.
  • the terminal when the user sets the item quantity through the item setting control in the publishing interface, the terminal obtains the item quantity corresponding to the setting operation, and compares the item quantity with the quantity threshold. If the quantity is lower than the quantity threshold, prompt information will be displayed on the upper layer of the publishing interface, and the prompt information will be used to remind the user of the minimum quantity threshold that needs to be set; Pass the test.
  • the quantity threshold can also be directly displayed on the item setting control, so that the user can obtain the corresponding quantity threshold before setting, avoiding the need for the user to repeat the input operation, and improving the configuration efficiency of the parameter information.
  • the maximum quantity threshold may be set by the developer, and the maximum quantity threshold corresponding to different virtual items may be different.
  • the maximum quantity threshold corresponding to the red envelope amount may be 2,000 yuan.
  • FIG. 8 it shows a schematic diagram of a process of setting the number of items shown in an exemplary embodiment of the present application.
  • An item quantity setting control 802 is displayed in the publishing interface 801. The user clicks the item quantity setting control 802, and inputs the item quantity. After the terminal obtains the item quantity, if it is determined that the item quantity is lower than the quantity threshold, a prompt message 803 will pop up on the upper layer of the publishing interface 801. , to indicate the minimum item amount.
  • Step 604 in response to the triggering operation on the voting result party in the publishing interface, display at least one candidate virtual item corresponding to the voting result party.
  • the collection result of the virtual item package provided in this embodiment is related to the voting result, and the publisher cannot obtain the voting result in advance when configuring the virtual item package, and cannot directly set the corresponding virtual item for the voting option, therefore, In order to make the subsequent determination of the collection result based on the voting result, the publisher needs to set a corresponding virtual item distribution strategy, that is, the parameter information corresponding to the virtual item package also includes the virtual item distribution policy, and the virtual item distribution policy is between the voting result party and the virtual item. corresponding relationship.
  • a policy setting control is set in the publishing interface. Since the virtual item allocation policy indicates the corresponding relationship between the voting result party and the virtual item, corresponding policy setting controls can be set for different voting result parties respectively, so that users can set different votes respectively.
  • the number corresponding to the voting result party and the number of voting options may be the same or different. For example, when voting option 1 is "online shopping" and voting option 2 is "offline shopping", two voting result parties can be set: the winner and the loser, and the winner's reward is set as “red envelope", the loser Rewards are "coupons".
  • the “red envelope” can be distributed to the user who chooses voting option 1, and the “discount” can be issued to the user who chooses voting option 2 coupon".
  • voting option 1 is "online shopping”
  • voting option 2 is "offline shopping”
  • voting option 2 is "no shopping”
  • two voting result parties can also be set: winner and loser, and Set the winner's reward as "red envelope” and the loser's reward as "coupon”.
  • the policy setting control may be an input control or a selection control, which is not limited in this embodiment.
  • a policy setting control 509 is displayed in the publishing interface 503 , and the user can click the policy setting control 509 to set the distribution policy of the virtual item package corresponding to the PK red packet.
  • the user can select virtual items corresponding to different voting result parties through the policy setting control in the publishing interface.
  • the terminal obtains the correspondence between the different voting result parties and the virtual items, Thereby, the virtual item allocation strategy corresponding to the virtual item package is determined.
  • the virtual item package corresponds to at least one candidate virtual item, and the candidate virtual items corresponding to different virtual item packages may be different. If the virtual item package is an electronic red envelope, the corresponding candidate virtual items may be virtual currency, electronic cards, and coupons. etc.; if the virtual item package is a game gift package, the corresponding candidate virtual items may be game coins, virtual items, etc., and the embodiment of the present application does not limit the item types of the candidate virtual items.
  • a drop-down control corresponding to the voting result party is set in the publishing interface. After the user clicks the drop-down control, the terminal receives a trigger operation on the voting result party in the publishing interface, and can display the voting result party. corresponding at least one candidate virtual item, so that the user can select any candidate virtual item as the virtual item corresponding to the voting result party.
  • parties with different voting results may select the same virtual item, or may select different virtual items, which is not limited in this embodiment of the present application.
  • the corresponding virtual items are determined based on the virtual item distribution strategy and the voting results.
  • the voting option with the larger number of votes indicated by the default voting result is assigned the larger number of items.
  • the number of votes corresponding to voting option A is 10
  • the number of votes corresponding to voting option B is 5
  • the number of items corresponding to the virtual item is 24, and the virtual item is allocated according to the number of votes corresponding to each voting option.
  • the ratio between the number of virtual items obtained by option A and the number of virtual items obtained by voting option B can be 2:1, that is, the number of virtual items allocated by voting option A from the virtual items is 16, while the number of virtual items allocated by voting option B from the virtual The number of items allocated is 8.
  • the general candidate virtual item is the red packet amount (provided by the virtual item issuer), and virtual items other than the red packet amount can be coupons, coupons, etc.
  • the virtual item may be provided by an operator, and the operator may be an operator of an application program, or an operator that implants advertisements in the application platform, which is not limited in this embodiment of the present application.
  • Step 605 In response to the selection operation on the candidate virtual item, the candidate virtual item selected by the selection operation is used as the target virtual item, and the target virtual item is determined as the virtual item corresponding to the voting result party.
  • the user can select from at least one candidate virtual item, and when the terminal receives the user's selection operation on the target virtual item in the candidate virtual items, the target virtual item can be directly used as the voting result The corresponding virtual item.
  • FIG. 9 it shows a schematic diagram of the setting process of the virtual item allocation strategy shown in an exemplary embodiment of the present application.
  • a voting result party 902 is displayed in the publishing interface 901.
  • the voting result party 902 may include a voting result party 1 corresponding to the winning party and a voting result party 2 corresponding to the losing party.
  • the terminal receives the voting result party 902.
  • At least one candidate virtual item corresponding to the voting result party 902 is displayed, such as (coupons, red envelopes, gold coin gift packages, etc.); It is determined as the virtual item corresponding to the voting result party 902 .
  • the virtual item allocation strategy can be configured, thereby greatly reducing the configuration threshold of the virtual item allocation strategy, thereby reducing the probability of incorrect configuration of the virtual item allocation strategy, and saving the need to correct the configuration.
  • the power and computing resources consumed by the virtual item allocation strategy can be configured, thereby greatly reducing the configuration threshold of the virtual item allocation strategy, thereby reducing the probability of incorrect configuration of the virtual item allocation strategy, and saving the need to correct the configuration.
  • the parameter information corresponding to the virtual item package may also include the voting end condition corresponding to the virtual item package, that is, when the virtual item package satisfies the voting end condition, the virtual item may be voted based on the voting result and the virtual item allocation strategy.
  • the virtual items corresponding to the packages are allocated.
  • the voting ending condition may be preset by the developer, or may be set and adjusted by the user.
  • the parameter information corresponding to the virtual item package further includes a voting end condition corresponding to the virtual item package, and the voting end condition may be that the total number of votes reaches the number threshold, that is, when the virtual item package is released, the virtual item package is released. After the corresponding total number of votes reaches the threshold, it is determined that the voting is over, and the virtual item corresponding to the virtual item package can be received.
  • the number threshold may be 50.
  • the voting end condition may also be that the release duration of the virtual item package reaches the duration threshold, that is, the timing starts after the virtual item package is published to the target group, and when the timing duration reaches the duration threshold, it is determined that the voting is over. , users who have voted can receive virtual items corresponding to the virtual item package.
  • the voting can be ended in time based on the configured voting ending condition, thereby saving the power resources consumed by not ending the voting in time.
  • the duration threshold may adopt a system default value, or may be set by the user on the publishing interface.
  • the duration threshold may be 2h.
  • the red envelope attributes include: option (voting option), amount (number of virtual items), theme, winner's reward, loser's reward; if the options include option 1 and option 2, the user ID for selecting option 1 is stored , and the reward obtained by it; similarly, the user ID of the second option is stored, as well as the reward obtained; if the user expresses other opinions, there are corresponding opinions corresponding to each user ID.
  • Step 606 in response to the publishing operation on the virtual item package, publish the virtual item package.
  • step 606 For the implementation of step 606, reference may be made to the above embodiments, and details are not described herein in this embodiment.
  • the complete parameter information corresponding to the virtual item package can be obtained, so that the During the process of publishing the virtual item package, other clients can generate corresponding virtual item packages based on the parameter information, so that the virtual item package has a voting function and a virtual item distribution function.
  • the virtual item package in this embodiment corresponds to parameters such as voting options and virtual item allocation strategies.
  • the receiving process of the virtual item package is also different from that in the related art.
  • FIG. 11 shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application. Taking the execution subject of the method as the second terminal 130 shown in FIG. 1 as an example, the method includes:
  • Step 1101 if the voting has not ended, in response to the triggering operation on the virtual item package, a voting interface corresponding to the virtual item package is displayed.
  • the voting interface is an interface that provides voting functions. That is, if the voting is over, even if the user clicks on the virtual item package, the corresponding virtual item package cannot be displayed. voting interface. Therefore, in a possible implementation, when the terminal receives a trigger operation for the virtual item package, whether to display the voting interface also needs to determine whether the voting has ended, and when it is determined that the voting has not ended, the corresponding display of the virtual item package corresponds to voting interface.
  • whether the voting ends is determined by determining whether the voting end condition is met, and the voting end condition includes at least one of the total number of votes reaching a quantity threshold, and/or the release duration of the virtual item package reaching a duration threshold.
  • the voting end condition is that the total number of votes reaches the number threshold
  • the terminal when the terminal receives the trigger operation for the virtual item package, it can obtain the current total number of votes corresponding to the virtual item package. If the current total number of votes is less than the number threshold, it is determined that the voting has not ended. , to display the voting interface corresponding to the virtual item package, so that users can participate in voting.
  • the voting end condition is that the release duration of the virtual item package reaches the duration threshold
  • the terminal when the terminal receives the trigger operation for the virtual item package, it can obtain the current release duration corresponding to the virtual item package. If the current release duration is less than the duration threshold, the vote is determined. If it is not over, the voting interface corresponding to the virtual item package is displayed so that users can participate in the voting.
  • a timer or timer when the terminal receives a trigger operation on the virtual item package, it can obtain the timer status. If the timer does not reach the timer duration, it is determined that the voting has not ended and the display The voting interface corresponding to the virtual item package; the timer duration of the timer can also be obtained. If the timer duration is less than the duration threshold, it is determined that the voting has not ended, and the voting interface corresponding to the virtual item package is displayed.
  • a claiming interface is displayed in response to a triggering operation on the virtual item package. If the terminal receives the trigger operation for the virtual item package and determines that the voting is over, indicating that the user has been unable to participate in the voting activity, the voting interface corresponding to the virtual item package is not displayed, and the receiving interface corresponding to the virtual item package can be displayed.
  • Step 1102 Receive a selection operation for a target voting option among the at least two voting options.
  • step 1102 reference may be made to the above embodiments, and details are not described herein in this embodiment.
  • Step 1103 If the current time is at the voting end stage, and the current display interface is the group message interface of the target group, display a claim prompt interface corresponding to the virtual item package, and the target group is the group that publishes the virtual item package.
  • the virtual item package may be used in multiple application scenarios, and in different application scenarios, the release locations of the virtual item package are correspondingly different.
  • the virtual item package is published in the live broadcast scene, the virtual item package is correspondingly displayed in the live broadcast interface; if the virtual item package is released in the short video scene, the virtual item package is correspondingly displayed in the short video interface; Publish the virtual item package in the group, and the virtual item package will be displayed in the group message interface; if the virtual item package is published on the social platform, the virtual item package can be displayed on the social home page of the publisher, or displayed in the publisher's participation.
  • the group message interface or displayed in the social space corresponding to the publisher, or displayed in the circle of friends corresponding to the publisher, this embodiment does not limit the publishing or display position corresponding to the virtual item package.
  • the target group may be any group in the group messaging application.
  • the terminal determines whether the current display interface is the group message interface corresponding to the target group, and if so, automatically displays the claim prompt interface corresponding to the virtual item package on the upper layer of the current display interface, so as to promptly remind the user that they can claim the item.
  • Virtual Item Pack when it is determined that the voting corresponding to the virtual item package ends, that is, the When the current time is at the end of voting, the terminal determines whether the current display interface is the group message interface corresponding to the target group, and if so, automatically displays the claim prompt interface corresponding to the virtual item package on the upper layer of the current display interface, so as to promptly remind the user that they can claim the item.
  • the current voting interface can also be switched to display the receiving prompt interface to remind the user to perform the operation of receiving the virtual item package.
  • the terminal determines that the currently displayed interface is neither the voting interface corresponding to the virtual item package nor the group message interface corresponding to the target group, it means that the user temporarily leaves the group message interface and does not display it temporarily.
  • the claim prompt interface corresponding to the virtual item package is displayed, and when it is determined that the user re-enters the group message interface, the claim prompt interface corresponding to the virtual item package is displayed.
  • the notification bar corresponding to the collection prompt information of the virtual item package may be displayed, so as to notify the user to return to the group message interface in time to collect the virtual item package.
  • Step 1104 in response to the triggering operation on the claim entry in the claim prompt interface, display the claim interface corresponding to the virtual item package.
  • the receiving interface includes receiving information and voting results.
  • the claiming information is used to indicate the claiming result
  • the virtual item corresponding to the claiming result is the virtual item corresponding to the target voting option
  • the virtual item corresponding to each voting option is determined by the voting result.
  • Claim results may include virtual items.
  • the virtual item corresponding to the claim result may be the virtual item included in the claim result.
  • the 50-point coupon in the claim interface 1210 can be the virtual item corresponding to the claim result.
  • the process of determining the claim result may include the following steps:
  • the virtual item allocation strategy is configured by the publisher, and the virtual item allocation strategy is used to indicate the corresponding relationship between the voting result party and the virtual item in the voting result.
  • the server determines the voting result corresponding to the virtual item package based on each voting information received during the voting period, wherein the voting result is the correspondence between the voting result party and the voting option
  • the corresponding relationship between the voting result party and the voting options is determined by the number of votes corresponding to each voting option.
  • the relationship between the voting result party and the number of votes can be preset by the developer. For example, if the voting result party includes a winner and a loser, the number of votes corresponding to the winner is higher than the number of votes corresponding to the loser.
  • the voting result determined by the server based on the voting information is: the winner corresponds to voting option B, and the loser corresponds to voting option A; the virtual item distribution strategy corresponding to the known virtual item package is: the winner corresponds to virtual item A, and the loser corresponds to virtual item A.
  • virtual item B virtual items corresponding to each voting option can be obtained, that is, voting option A corresponds to virtual item B, and voting option B corresponds to virtual item A.
  • the virtual items corresponding to each voting option can be accurately determined based on the voting results, so that the accuracy of the generated collection results can be improved based on the corresponding relationship between the accurately determined voting options and the virtual items, thereby saving energy It reduces the power and computing resources consumed when modifying the wrong results.
  • the virtual item corresponding to the target voting option may be determined based on the relationship between the target voting option selected by the voter and the voting option.
  • voting option A corresponds to virtual item B
  • voting option B corresponds to virtual item A
  • the target voting option is voting option B
  • the virtual item corresponding to the target voting option is virtual item A.
  • the virtual item needs to be allocated to each voter who selects the voting option corresponding to the virtual item, that is, when the virtual item corresponding to the target voting option is determined, the virtual item also needs to be allocated to the user who selects the target voting option.
  • first determine the number of votes corresponding to the target voting option and determine the receiving result corresponding to each voter based on the number of votes and the number of items corresponding to the virtual item. For example, based on the number of votes corresponding to the target voting option and the number of virtual items corresponding to the target voting option, the receiving result of each voter who selects the target voting option is determined.
  • the voting party refers to the users who participated in the voting.
  • a random strategy or an average strategy can be used when determining the receiving results.
  • the claiming prompt interface displays a claiming entrance
  • the claiming entrance may be in the form of a claiming control or the like.
  • the user can click the claim entry in the claim prompt interface, and correspondingly, the terminal receives the trigger operation for the claim entry in the claim prompt interface, and can switch the claim prompt interface to display the corresponding virtual item package Receive interface.
  • Step 1105 displaying a popup input box in the voting interface.
  • a voting barrage is displayed on the upper layer of the voting interface, and the voting barrage is released by the voting party who has completed the vote, so that the user can timely learn the opinions of other users participating in the voting activity, and promote the user to actively participate in the voting. Express your opinion.
  • a bullet screen input box is displayed in the voting interface, and the bullet screen input box provides the user with an entrance to express their own opinion information. displayed in the interface.
  • the popup input box can also be displayed directly when the voting interface is displayed, regardless of whether the user has completed the voting.
  • Step 1106 in response to the input operation on the bullet screen input box, display the voting bullet screen input in the bullet screen input box on the upper layer of the voting interface, and send the voting bullet screen to the server; wherein, the sent voting bullet screen is used to instruct the server to The voting barrage is pushed to the terminals of the voting parties who participated in the voting.
  • the user can input the opinion information to be published in the bullet screen input box
  • the corresponding terminal can receive the input operation on the bullet screen input box, and display the bullet screen input box on the upper layer of the current voting interface The voting barrage entered in the .
  • the terminal after the terminal receives the voting bulletin posted by the user, in order to facilitate other users participating in the voting to see the voting bulletin, it can send the voting bulletin to the server.
  • the server receives the newly added voting bulletin. Behind the scenes, the voting barrage can be pushed to other terminals, that is, the voting barrage can be pushed to the terminals of other voting parties.
  • Step 1107 In response to the triggering operation on the entry of the details page, a claim details interface corresponding to the virtual item package is displayed, and the claim details interface is used to display the claim result of the voter who has claimed the virtual item.
  • the collection interface displays a detail page entry.
  • the corresponding terminal can receive a trigger for the detail page entry.
  • the receiving interface can be switched to display the receiving details interface.
  • the user can view the receiving results of each voter who has received the virtual item.
  • the claim result in the claim details interface may include the claimant (voting party) identifier and its corresponding virtual item.
  • the virtual item corresponding to the voting party identifier is the virtual item received by the voting party corresponding to the voting party identifier.
  • the process of displaying the claim details interface may include the following steps:
  • the first claim details page is displayed in the claim details interface, and the first claim details page is used to display the claim details of the virtual item corresponding to the target voting option.
  • the user After the user enters the collection details page, he pays more attention to the collection details of the virtual item corresponding to the target voting option (the target voting option is the voting option selected by the user).
  • the first claim details page can be displayed preferentially in the claim details interface, so that the user can view the claim details of the virtual item corresponding to the target voting option through the first claim details page.
  • the second claim details page is switched to display in the claim details interface, and the second claim details page is used to display the claim details of the virtual items corresponding to other voting options except the target voting option;
  • the virtual item corresponding to the voting option is determined by the voting result.
  • the user can perform a sliding operation on the receiving details interface, and the corresponding terminal receives the sliding operation on the receiving details interface. Switch to display the second claim details page in the details interface, so that you can view the claim details of virtual items corresponding to other voting options other than the target voting option.
  • the sliding operation may be a single-contact sliding operation or a double-contact sliding operation, which is not limited in this embodiment.
  • FIG. 12 shows a schematic diagram of a process of claiming a virtual item package shown in another exemplary embodiment of the present application.
  • the user 1201 sends a PK red envelope 1202 in the group chat, and the user clicks on the PK red envelope 1202 to pop up the voting interface 1203 corresponding to the PK red envelope.
  • the voting interface 1203 displays two voting options 1204, such as "Voting option 1: online shopping.
  • the voting interface 1203 also displays the subject information “your favorite shopping method” corresponding to the PK red envelope 1202, and the current voting situation “7 votes: 6 votes”;
  • a voting barrage 1205 is also displayed in the voting interface 1203; when the user completes the vote, a barrage input box 1206 is displayed in the voting interface 1203, and the user can input the voting barrage through the barrage input box 1206; After the voting is over, the voting interface 1203 is switched to the claim prompt interface 1207.
  • the claim prompt interface 1207 displays the claim entry 1208. The user can click on the claim entry 1208, and the terminal receives the trigger operation on the claim entry 1208, and displays the corresponding PK red envelope.
  • the interface 1209 displays the detail page view entry 1211, the user can click the detail page view entry 1211, the terminal receives the trigger operation on the detail page entry 1211, and displays the claim details interface 1212 corresponding to the virtual item package, wherein the claim details interface 1212 For the first claim details page, when the sliding operation 1213 on the claim details interface 1212 is received, the (second) claim details interface 1214 is switched to be displayed.
  • Step 1108 in response to the selection operation of the target voter corresponding to the collection result in the collection details interface, display the voting barrage issued by the target voter, and the voting barrage is released after the target voter completes the vote; The chosen voter among the item's voters.
  • voting barrage viewing function is provided in the receiving details interface.
  • the user can click the collection result corresponding to the target voter who wants to view the voting barrage, and the corresponding terminal receives the selection operation of the collection result in the collection details interface, and can display the voting barrage published by the target voter.
  • FIG. 13 it shows a schematic diagram of the viewing process of the voting barrage shown in an exemplary embodiment of the present application.
  • the user can click the claim result 1302 corresponding to the target voter in the claim details interface 1301, and the terminal receives the selection operation for the claim result 1302 corresponding to the target voter, and displays the voting barrage 1303 published by the target voter.
  • a drop-down arrow can be displayed at the receiving result, or the entrance can be viewed so that the user can pass the drop-down arrow. Or view the entrance to view the voting bullet screen; on the contrary, for the voter who has not published the voting bullet screen, the drop-down arrow or the viewing entrance can not be displayed.
  • the voting barrage published by the voting party can be displayed. Compared with asking the voting party for the voting barrage released by the voting party by phone, text message, etc., it can not only improve the acquisition of voting barrage It is more efficient, and it can also save the power resources consumed when individually inquiring about the voting barrage released by the voting party through phone calls, text messages, etc.
  • Step 1109 In response to the trigger operation of the bullet screen details entry in the claim details interface, display the bullet screen details page, and display the bullet screen released by each voting party in the bullet screen details page, wherein the bullet screen details entry is displayed in the virtual item.
  • the virtual item package in this embodiment not only has the function of issuing virtual items, but also has the function of voting and collecting different opinions. For users who need to collect opinion information related to a certain topic, they can publish the virtual item package by publishing the virtual item package. to fulfill.
  • a bullet screen details entry is displayed on the receiving details interface corresponding to the publisher of the virtual item package, and the publisher can click on the bullet screen details entry.
  • the barrage released by each voter is displayed on the screen details page, and the publisher does not need to click on the corresponding result of each voter to receive the result, which can improve the efficiency of the publisher to view and collect the vote barrage.
  • a bullet screen details entry 1304 is displayed in the corresponding receiving details interface 1301.
  • the publisher can click the bullet screen details entry 1304, and the terminal receives the details of the bullet screen.
  • the trigger operation of the entry 1304 switches to display the bullet screen details page 1305, and the bullet screen details page 1305 displays the bullet screen 1306 published by each voting party.
  • the end of voting it is judged whether it is a group message interface, so as to determine whether to display the receiving prompt interface corresponding to the virtual item package, so as to remind the user that the virtual item package can be received in time; in addition, by displaying in the voting interface
  • the barrage input box and voting barrage can encourage users to participate in voting activities and actively express their opinions, which is more conducive to the virtual item publisher to collect other voting opinions; in addition, the virtual item package also provides a collection of the results of each voter.
  • the details interface allows users to learn about the receipt status of other voters; at the same time, the receipt details interface also provides a viewing entry for the voting barrage, which is convenient for users to view the opinions expressed by each voting party after the collection is completed, and it is also convenient for users. Collect polling barrages published by various voting parties.
  • the bullet chats released by each voting party can be displayed based on the bullet chat details entry, thus greatly improving the collection efficiency and efficiency of the released bullet chats. Show efficiency.
  • the process of users participating in voting and receiving virtual item packages requires real-time data interaction with the backend server, so that the server can update the voting and receiving situations in real time based on the voting situation of each user.
  • step 1102 can be replaced by step 1401
  • step 1104 can be replaced by step 1402 and step 1403 .
  • Step 1401 in response to the selection operation of the target voting option among the at least two voting options, send voting information to the server, where the voting information includes the voting party identifier and the target voting option.
  • the terminal may determine the currently logged-in user account, and determine the voting party identifier based on the user account, and determine the voting party identifier based on the voting party.
  • the identification and target voting options generate voting information, and send the voting information to the server, so that the server can obtain the voting information of different voting parties participating in the voting. It is easy to understand that the voting party corresponding to the voting party identification is the user corresponding to the user account.
  • the voting party identification may be the login account, user account, user name, user identification, etc. corresponding to the voting party, and this embodiment does not constitute a limitation on the voting party identification.
  • the server may store the voting party identifier and the target voting option in association.
  • Step 1402 in response to the triggering operation of the claim entry in the claim prompt interface, send a claim request to the server, where the claim request includes the voter ID, and the server is used to determine the target voting option based on the voter ID, and determine the claim result based on the target vote option .
  • the terminal when it receives the trigger operation for the claim entry in the claim prompt interface, it can generate a claim request based on the voter identifier corresponding to the claimant (corresponding to the voter), and send the claim to the server. Claiming the request, so that the server determines the target voting option based on the voting party identification, and then determines the claiming result.
  • Step 1403 Receive the claiming result and voting result returned by the server, and display the claiming interface based on the claiming result and the voting result.
  • the server may send the claiming result and the voting result to the terminal, so that the terminal can display the claiming interface based on the claiming result and the voting result.
  • the claiming interface displays claiming information, and when the claiming information is the claiming result, the claiming result and voting result can be directly displayed on the claiming interface.
  • the voting process and the receiving process of the virtual item package are realized.
  • the voting information updates the voting result, and determines the receiving result corresponding to each voting party based on the target voting option.
  • the above embodiment mainly describes the release process of the virtual item package and the collection process of the virtual item package in the terminal. During the release and collection process of the virtual item package, information interaction between the terminal and the server is required. The following focuses on Describe the interactive implementation of the server in the process of receiving virtual item packages.
  • FIG. 15 shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application. Taking the execution subject of the method as the server 120 shown in FIG. 1 as an example, the method at least includes the following steps:
  • Step 1501 Publish a virtual item package corresponding to at least two voting options.
  • This embodiment takes the example of publishing the virtual item package to the target group as an example for illustration.
  • the terminal when it receives the publishing operation for the virtual item package, it may send the corresponding virtual item package to the server.
  • the release request can include the parameter information corresponding to the virtual item package, and the receiver corresponding to the virtual item package (the terminal corresponding to the target group member).
  • the server after receiving the release request, the server can The virtual item package is published to the target group.
  • Step 1502 Receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party.
  • the terminal when it receives the voting party's selection operation, it can obtain the voting information including the voting party's identifier and the target voting option, and send the voting information to the server, and the corresponding server receives the voting party's voting information. Voting information sent.
  • the corresponding server can receive the voting information sent by the voting parties in the target group; if the virtual item package is published to the live broadcast room, the corresponding server can receive the voting information sent by the voting parties in the live broadcast room. If the virtual item package is published to the target social space, the corresponding server receives the voting information sent by the voting party in the target social space, and the target social space can be a circle of friends, a social homepage, etc.
  • the server may store the voting information in association with the virtual item package, so that when receiving a request for claiming the virtual item package, it may determine the collection result corresponding to each voter.
  • Step 1503 when the voting ends, determine the voting result corresponding to the virtual item package based on the at least one piece of voting information received.
  • the parameter information corresponding to the virtual item package further includes a voting end condition, and the voting end condition is used to determine the timing of the end of the voting.
  • the server can synthesize the received voting information to determine the voting result corresponding to the virtual item package, and the voting result can be different voting options and their corresponding voting quantities.
  • the virtual item package corresponds to voting option A and voting option B.
  • the server obtains, based on the received voting information, that there are 10 voters who choose voting option A, and 10 voters who choose voting option B. There are 20 numbers, and the corresponding voting results are: voting option A: 10, voting option B: 20.
  • Step 1504 In response to the claim request sent by the voter, and according to the voting result of the virtual item package, determine the voter's claim result, and deliver the voter's corresponding claim result to the voter, and the claim request includes the voter identifier.
  • the virtual item corresponding to the receiving result is the virtual item corresponding to the target voting option, and the virtual item corresponding to each voting option is determined by the voting result.
  • Voting party refers to the user who participated in the voting.
  • the parameter information corresponding to the virtual item package is pre-stored in the server, and the parameter information includes the voting options corresponding to the virtual item package, the virtual item and the virtual item distribution strategy.
  • the virtual item distribution policy is the relationship between the voting result party and the virtual item. Correspondence.
  • the server when the server receives a claim request sent by a voter, it first determines the target voting option corresponding to the voter according to the voter identifier included in the claim result, and then determines the vote according to the target voting option The corresponding receiving result of the party.
  • the process of determining the receiving result based on the target voting option may include the following steps:
  • the server pre-sets the relationship between the parties with different voting results and the number of votes. Therefore, the server can determine the voting option corresponding to each voting result party according to the number of votes corresponding to each voting option in the voting result. .
  • the virtual item package corresponds to voting option A and voting option B
  • the virtual item package corresponds to voting result party A and voting result party B
  • the relationship between the voting result party and the number of votes is: voting result party A
  • the number of votes is greater than the number of votes of the voting result party B
  • voting option A corresponds to 10 votes
  • voting option B corresponds to 20 votes. It can be seen that the number of votes corresponding to voting option A is less than the number of votes.
  • the number of votes corresponding to option B is
  • the voting result party A is the voting option B, and the voting result party B corresponds to the voting option A;
  • the virtual item distribution strategy is: the voting result party A corresponds to the virtual item A, and the voting result Party B corresponds to virtual item B.
  • voting option B corresponds to virtual item A
  • voting option A corresponds to virtual item B.
  • the virtual item corresponding to the target voting option may be determined according to the target voting option corresponding to the voting party.
  • voting option A and voting option B are included, voting option B corresponds to virtual item A, voting option A corresponds to virtual item B, and the target voting option is voting option B, then the virtual item corresponding to the target voting option is virtual item A. .
  • the server may adopt a random strategy or an average strategy to divide the number of items corresponding to the virtual item to obtain the collection result corresponding to each voter.
  • the publishing process, the receiving process and the voting process of the virtual item package can be realized.
  • the virtual item package has the virtual item collection function and the voting function. Since the collection process of the virtual item package and the voting process can be combined, it is possible to generate a collection and a voting process at the same time.
  • the present application can reduce the number of generated virtual item packages, thereby saving the generation of virtual item packages power consumption and computing resources.
  • users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages.
  • users can actively participate in voting by issuing virtual items, so that the corresponding publisher of the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
  • the voting barrage Since the upper layer of the voting interface corresponding to the virtual item package will also display a voting barrage, the voting barrage is released by the voting party who has completed the vote, and the publishing and display process of the voting barrage also needs to be realized by the interaction between the server and the terminal.
  • the process of claiming the virtual item package performed by the server further includes the following steps:
  • the terminal when the terminal receives the voting party's publishing operation on the voting barrage, and obtains the voting barrage released by the voting party, the terminal can send the voting barrage and the voting party's identification to the server.
  • the server Receive the voting barrage sent by the voting party, and store the voting barrage and the voting party ID in association.
  • the terminal when it receives the triggering operation on the virtual item package, in the process of displaying the voting interface, it can send a barrage push request to the server, and the corresponding server receives the message sent by the voting party in the target group.
  • the barrage push request feedback the stored voting barrage to the voting party, so that the terminal can display it on the upper layer of the voting interface after receiving each voting barrage.
  • the server receives the barrage push request sent by the terminal for the first time, there is no need for the terminal to request the voting barrage in real time, and the server feeds back the voting barrage to the voting party at preset time intervals.
  • the preset time period may be set by the developer, for example, the preset time period is 10 minutes.
  • the server when the server determines that there is a new voting barrage, it will feed back the voting barrage to the voting party, without the need for the server to feed back the voting barrage to the voting party in real time, or the terminal to request the voting barrage from the server in real time.
  • the voting barrage released by each voting party can be displayed in the voting interface, thereby prompting the voting users to actively express their opinions and ideas, which is beneficial for the publishing party to collect and remove votes Additional point of view information other than options.
  • FIG. 16 shows a flowchart of a method for publishing a virtual item package according to an exemplary embodiment of the present application.
  • the method includes:
  • Step 1601 select the PK red envelope.
  • a red packet control corresponding to the PK red packet is set in the group interface corresponding to the target group.
  • the red packet control corresponding to the PK red packet can be selected, thereby entering the publishing interface corresponding to the PK red packet.
  • Step 1602 set the red envelope amount, subject, two options, and the winner and loser reward.
  • the user configures the parameter information corresponding to the PK red envelope in the release interface corresponding to the PK red envelope, such as the red envelope amount, theme, two options, and the winner and the loser's reward.
  • the winner and loser's reward is the virtual item distribution strategy.
  • Step 1603 pay the red envelope amount.
  • the amount of the red envelope is provided by the corresponding issuer of the red envelope, and a payment operation is required.
  • Step 1604 send to the group.
  • the PK red envelope can be released to the target group.
  • FIG. 17 shows a flowchart of a method for collecting a virtual item package shown in an exemplary embodiment of the present application.
  • the method includes:
  • Step 1701 click on the red envelope.
  • the voting interface corresponding to the PK red envelope can be displayed, and the voting option can be selected in the voting interface.
  • Step 1702 select the viewpoint that you agree with.
  • the opinion is the voting option in the above embodiment, and the user selects the voting option he approves in the voting interface.
  • Step 1703 whether you have your own ideas.
  • a pop-up input box will be displayed on the voting interface. If the user wants to express his or her own opinion, he may enter step 1704, and enter and publish in the pop-up input box.
  • Step 1704 input your own opinion.
  • Step 1705 whether the countdown is over.
  • the PK red envelope has a voting end condition.
  • the voting end condition of the PK red envelope is the time length threshold, the end of the countdown means the voting ends.
  • Step 1706 click to open the red envelope.
  • the claim reminder page When the voting is over, the claim reminder page will be displayed, and the user can click the red envelope on the claim tip page to open the control to claim the red envelope.
  • Step 1707 check your own reward and PK result (the system will deposit the reward into the user account).
  • Step 1708 check whether to check the receiving details.
  • Step 1709 check the situation of the winner and loser of the PK.
  • Step 1710 whether it is the initiator of the red envelope.
  • Step 1711 whether to view all the different viewpoints.
  • Step 1712 view all the different viewpoints.
  • Step 1713 stay in the group or temporarily leave the group.
  • the PK red envelope is displayed in the group chat interface 1801.
  • the status value is "No" it means that the voting is not over, and you can choose the voting option; if the status value is "Yes”, it means that the voting is over.
  • the user can select the voting option in the red envelope interface 1802 corresponding to the PK red envelope, the terminal sends the user's choice (voting information) to the server 1803, and the server 1803 stores the user's choice and feeds back the selection status.
  • the user can express his opinion in the red envelope interface 1802 corresponding to the PK red envelope, the terminal sends the user's personal opinion (voting barrage) to the server 1803, and the server 1803 stores the user's personal opinion correspondingly and feeds back the storage status.
  • the user queries the user's red envelope reward by opening a red envelope, and the terminal sends a query request to the server 1803 to query the user's red envelope reward. After receiving the query request, the server 1803 calculates the user's reward and feeds back the user's red envelope reward.
  • FIG. 19 is a structural block diagram of a virtual item claiming apparatus provided by an exemplary embodiment of the present application.
  • the device includes:
  • a first display module 1901 configured to display a voting interface corresponding to the virtual goods package in response to a triggering operation on the virtual goods package, and the voting interface includes at least two voting options;
  • a first receiving module 1902 configured to receive a selection operation for a target voting option in at least two of the voting options
  • the second display module 1903 is configured to display the receiving interface corresponding to the virtual item package when the voting is over, and the receiving interface includes the receiving information and the voting result; the target voting option is the selected voting option in the voting options , used to determine the voting result.
  • the second display module 1903 includes:
  • the first display unit is configured to display the receiving prompt interface corresponding to the virtual item package if the current time is in the voting end stage and the current display interface is the group message interface of the target group, and the target group is published with a group of said virtual item packages;
  • a second display unit configured to display the claiming interface corresponding to the virtual item package in response to the triggering operation on the claiming entrance in the claiming prompt interface.
  • the claim information includes a claim result
  • the first receiving module 1902 includes:
  • a sending unit configured to send voting information to a server in response to a selection operation on the target voting option in at least two of the voting options, where the voting information includes a voting party identifier and the target voting option;
  • the second display unit is also used for:
  • a claim request is sent to the server, the claim request includes the voter identifier, and the server is configured to determine the target based on the voter identifier voting options, and determining the claim result based on the target voting options;
  • a voting barrage is displayed on the upper layer of the voting interface, and the voting barrage is published by the voting party who has completed the voting;
  • the device also includes:
  • a third display module used for displaying a bullet screen input box in the voting interface
  • a fourth display module configured to, in response to an input operation on the bullet screen input box, display the voting bullet screen input in the bullet screen input box on the upper layer of the voting interface, and send the voting bullet screen to the server;
  • the sent voting barrage is used to instruct the server to push the voting barrage to the terminals of the voting parties participating in the voting.
  • a detail page entry is displayed in the claim interface
  • the device also includes:
  • the fifth display module is configured to display a claim details interface corresponding to the virtual item package in response to a triggering operation on the entry of the details page, and the claim details interface is used to display the claim result of the voter who has claimed the virtual item.
  • the fifth display module includes:
  • a third display unit configured to display a first claim details page in the claim details interface in response to a triggering operation on the details page entry, where the first claim details page is used to display the virtual corresponding to the target voting option the collection details of the item;
  • the fourth display unit is used to switch and display a second claim details page in the claim details interface in response to the sliding operation on the claim details interface, and the second claim details page is used to display the options other than the target voting options.
  • the other voting options correspond to the collection details of the virtual items; wherein, the virtual items corresponding to each voting option are determined by the voting results.
  • the apparatus further includes:
  • the sixth display module is used to display the voting barrage published by the target voting party in response to the selection operation on the receiving result corresponding to the target voting party in the receiving details interface, and the voting barrage is completed by the target voting party Published after voting; the target voter is the voter selected among the voters who have claimed the virtual item.
  • the apparatus further includes:
  • the seventh display module is configured to display the bullet screen details page in response to the triggering operation on the bullet screen details entry in the receiving details interface, and display the bullet screen published by each of the voting parties in the bullet screen details page, wherein, The bullet screen details entry is displayed on the receiving details interface of the publisher corresponding to the virtual item package.
  • the claiming information is used to indicate a claiming result
  • the virtual item corresponding to the claiming result is the virtual item corresponding to the target voting option
  • the virtual item corresponding to each voting option is selected by the voting The result is confirmed.
  • the first display module 1901 includes:
  • a fifth display unit configured to display the voting interface corresponding to the virtual item package in response to a triggering operation on the virtual item package if the voting has not ended;
  • the method also includes:
  • the eighth display module is configured to display the claiming interface in response to the triggering operation on the virtual item package if the voting ends.
  • the virtual item package has the virtual item collection function and the voting function.
  • the user needs to complete the vote before the Participating in the collection of virtual item packages enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interactivity in the process of receiving virtual item packages.
  • users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
  • FIG. 20 is a structural block diagram of an apparatus for issuing virtual items provided by an exemplary embodiment of the present application.
  • the device includes:
  • the ninth display module 2001 is used to display the release interface corresponding to the virtual item package
  • the obtaining module 2002 is configured to obtain parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface, the parameter information including at least two voting options and virtual items corresponding to the virtual item package; The parameter information is used to configure the virtual item package;
  • the first publishing module 2003 is configured to publish the configured virtual item package in response to the publishing operation on the virtual item package.
  • the obtaining module 2002 includes:
  • a first obtaining unit configured to obtain at least two of the set voting options through the voting option setting controls in the publishing interface
  • the second obtaining unit is configured to obtain the set item type and item quantity of the virtual item through the item setting control in the publishing interface.
  • the parameter information further includes a virtual item distribution policy corresponding to the virtual item package, where the virtual item distribution policy is used to indicate the relationship between the voting result party and the virtual item in the voting result.
  • the acquisition module 2002 includes:
  • a sixth display unit configured to display at least one candidate virtual item corresponding to the voting result party in response to a triggering operation on the voting result party in the publishing interface
  • the determining unit is configured to, in response to the selection operation on the candidate virtual item, take the candidate virtual item selected by the selection operation as the target virtual item, and determine the target virtual item as the virtual item corresponding to the voting result party.
  • the second obtaining unit is further configured to:
  • a prompt message is displayed, and the quantity threshold is determined according to at least one of the minimum pick-up quantity of items, the total number of votes, and the group size of the target group.
  • the parameter information further includes a voting end condition corresponding to the virtual item package, and the voting end condition includes that the total number of votes reaches a quantity threshold.
  • the parameter information further includes a voting ending condition corresponding to the virtual item package, and the voting ending condition includes that the release duration of the virtual item package reaches a duration threshold.
  • a publishing interface corresponding to the virtual item package is provided, so that the user can configure the parameter information corresponding to the virtual item package in the publishing interface, because the parameter information includes voting options and virtual items. , so that the virtual item package generated based on the parameter information has the function of collecting virtual items and also has the function of voting.
  • users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages.
  • users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
  • FIG. 21 is a structural block diagram of a virtual item claiming apparatus provided by another exemplary embodiment of the present application.
  • the device includes:
  • the second publishing module 2101 is configured to publish a virtual item package, where the virtual item package corresponds to at least two voting options;
  • the second receiving module 2102 is configured to receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party;
  • a determination module 2103 configured to determine the voting result corresponding to the virtual item package based on the received at least one of the voting information when the voting ends;
  • the sending module 2104 is configured to respond to the claiming request sent by the voting party, and determine the claiming result of the voting party according to the voting result of the virtual item package, and issue the claiming party corresponding to the voting party to the voting party As a result, the claiming request contains the voting party identifier.
  • the publishing process, the receiving process and the voting process of the virtual item package can be realized.
  • the virtual item package has the virtual item collection function and the voting function.
  • the method of the item package can increase the user's sense of participation in receiving the virtual item package, and further enhance the interactivity in the process of receiving the virtual item package.
  • users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
  • An embodiment of the present application provides a computer device, the computer device includes a processor and a memory, and the memory stores at least a piece of program, and at least a piece of program is loaded and executed by the processor to implement the virtual system provided in the above-mentioned optional implementation manner.
  • the computer device may be a terminal or a server.
  • the terminal can be used to execute the terminal-side virtual item claiming method in the foregoing optional embodiment, or execute the terminal-side virtual item publishing method in the foregoing optional embodiment.
  • FIG. 22 shows a structural block diagram of a terminal 2200 provided by an exemplary embodiment of the present application.
  • the terminal 2200 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, the standard audio level 3 of the moving picture expert compression), MP4 (Moving Picture Experts Group Audio Layer IV, the moving picture expert compressed standard audio Level 4) Player, laptop or desktop computer.
  • Terminal 2200 may also be called user equipment, portable terminal, laptop terminal, desktop terminal, and the like by other names.
  • the terminal 2200 includes: a processor 2201 and a memory 2202 .
  • the processor 2201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 2201 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • the processor 2201 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
  • the processor 2201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 2201 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 2202 may include one or more computer-readable storage media, which may be non-transitory. Memory 2202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2202 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2201 to realize the information processing provided by the method embodiments in this application. method.
  • the terminal 2200 may optionally further include: a peripheral device interface 2203 and at least one peripheral device.
  • the processor 2201, the memory 2202 and the peripheral device interface 2203 can be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 2203 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 2204 , a display screen 2205 , a camera assembly 2206 , an audio circuit 2207 , a positioning assembly 2208 and a power supply 2209 .
  • the peripheral device interface 2203 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 2201 and the memory 2202.
  • processor 2201, memory 2202, and peripherals interface 2203 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 2201, memory 2202, and peripherals interface 2203 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 2204 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 2204 communicates with communication networks and other communication devices via electromagnetic signals.
  • the radio frequency circuit 2204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 2204 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 2204 may communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • the radio frequency circuit 2204 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.
  • the display screen 2205 is used for displaying UI (User Interface, user interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 2205 also has the ability to acquire touch signals on or above the surface of the display screen 2205 .
  • the touch signal may be input to the processor 2201 as a control signal for processing.
  • the display screen 2205 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 2205 there may be one display screen 2205, which is provided on the front panel of the terminal 2200; in other embodiments, there may be at least two display screens 2205, which are respectively arranged on different surfaces of the terminal 2200 or in a folded design; In still other embodiments, the display screen 2205 may be a flexible display screen, disposed on a curved surface or a folding surface of the terminal 2200 . Even, the display screen 2205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 2205 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 2206 is used to capture images or video.
  • the camera assembly 2206 includes a front camera and a rear camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • the camera assembly 2206 may also include a flash.
  • the flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • Audio circuitry 2207 may include a microphone and speakers.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 2201 for processing, or input them to the radio frequency circuit 2204 to realize voice communication.
  • the microphone may also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 2201 or the radio frequency circuit 2204 into sound waves.
  • the loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes.
  • the audio circuit 2207 may also include a headphone jack.
  • the positioning component 2208 is used to locate the current geographic location of the terminal 2200 to implement navigation or LBS (Location Based Service).
  • the positioning component 2208 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, or the Galileo system of Russia.
  • the power supply 2209 is used to power various components in the terminal 2200 .
  • the power source 2209 may be alternating current, direct current, primary batteries, or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 2200 also includes one or more sensors 2210.
  • the one or more sensors 2210 include, but are not limited to, an acceleration sensor 2211 , a gyro sensor 2212 , a pressure sensor 2213 , a fingerprint sensor 2214 , an optical sensor 2215 and a proximity sensor 2216 .
  • the acceleration sensor 2211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2200 .
  • the acceleration sensor 2211 can be used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 2201 can control the touch display screen 2205 to perform information processing in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2211 .
  • the acceleration sensor 2211 can also be used for game or user movement data collection.
  • the gyroscope sensor 2212 can detect the body direction and rotation angle of the terminal 2200 , and the gyroscope sensor 2212 can cooperate with the acceleration sensor 2211 to collect 3D actions of the user on the terminal 2200 .
  • the processor 2201 can implement the following functions according to the data collected by the gyro sensor 2212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 2213 may be disposed on the side frame of the terminal 2200 and/or the lower layer of the touch display screen 2205 .
  • the processor 2201 performs left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 2213.
  • the processor 2201 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 2205.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 2214 is used to collect the user's fingerprint, and the processor 2201 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 2214, or the fingerprint sensor 2214 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 2201 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings.
  • the fingerprint sensor 2214 may be provided on the front, back or side of the terminal 2200 . When the terminal 2200 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 2214 can be integrated with the physical buttons or the manufacturer's logo.
  • Optical sensor 2215 is used to collect ambient light intensity.
  • the processor 2201 can control the display brightness of the touch display screen 2205 according to the ambient light intensity collected by the optical sensor 2215 . Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2205 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2205 is decreased.
  • the processor 2201 may also dynamically adjust the shooting parameters of the camera assembly 2206 according to the ambient light intensity collected by the optical sensor 2215 .
  • a proximity sensor 2216 also called a distance sensor, is usually disposed on the front panel of the terminal 2200.
  • the proximity sensor 2216 is used to collect the distance between the user and the front of the terminal 2200 .
  • the processor 2201 controls the touch display screen 2205 to switch from the bright screen state to the off screen state; when the proximity sensor 2216 detects When the distance between the user and the front of the terminal 2200 gradually increases, the processor 2201 controls the touch display screen 2205 to switch from the off-screen state to the bright-screen state.
  • FIG. 22 does not constitute a limitation on the terminal 2200, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • the server can be used to execute the method for claiming virtual items on the server side in the foregoing optional embodiment.
  • the server 2300 includes a central processing unit (CPU, Central Processing unit) 2301, a system memory 2304 including a random access memory (RAM, Random Access Memory) 2302 and a read-only memory (ROM, Read-Only Memory) 2303, and a connection System memory 2304 and system bus 2305 of the central processing unit 2301.
  • the server 2300 also includes a basic input/output system (I/O, Input/Output) 2306 that facilitates the transfer of information between various devices within the computer, and a basic input/output system (I/O, Input/Output) 2306 for storing the operating system 2313, application programs 2314 and other program modules 2315.
  • the basic input/output system 2306 includes a display 2308 for displaying information and input devices 2309 such as a mouse, keyboard, etc., for user input of information. Both the display 2308 and the input device 2309 are connected to the central processing unit 2301 through the input/output controller 2310 connected to the system bus 2305.
  • the basic input/output system 2306 may also include an input/output controller 2310 for receiving and processing input from a number of other devices such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 2310 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 2307 is connected to the central processing unit 2301 through a mass storage controller (not shown) connected to the system bus 2305.
  • the mass storage device 2307 and its associated computer-readable media provide non-volatile storage for the server 2300. That is, the mass storage device 2307 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
  • Computer-readable media can include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, electrically erasable programmable read-only memory), flash memory or Other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc, high-density digital video disc) or other optical storage, cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices.
  • the system memory 2304 and the mass storage device 2307 described above may be collectively referred to as memory.
  • the server 2300 may also be operated by connecting to a remote computer on the network through a network such as the Internet. That is, the server 2300 can be connected to the network 2312 through the network interface unit 2311 connected to the system bus 2305, or in other words, the network interface unit 2311 can also be used to connect to other types of networks or remote computer systems (not shown) .
  • the memory also includes one or more programs stored in the memory and configured to be executed by the one or more central processing units 2301 .
  • the present application also provides a computer-readable storage medium, where at least one instruction, at least one piece of program, code set or instruction set is stored in the readable storage medium, the at least one instruction, the at least one piece of program, the The code set or instruction set is loaded and executed by the processor to implement the virtual item claiming method provided by any of the foregoing exemplary embodiments, or to implement the virtual item issuing method provided by any of the foregoing exemplary embodiments.
  • Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the virtual item claiming method provided in the above-mentioned optional implementation manner, or executes the above-mentioned optional implementation manner
  • the virtual item publishing method provided in .

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application discloses methods for acquiring a virtual article and publishing a virtual article, a computer device, and a medium, which relate to the technical field of information exchange. The method for acquiring a virtual article comprises: in response to a trigger operation for a virtual article package, displaying a voting interface corresponding to the virtual article package, the voting interface containing at least two voting options; receiving a selection operation for a target voting option among the at least two voting options, the target voting option being the selected voting option among the voting options and being used for determining a voting result; and when voting is finished, displaying an acquisition interface corresponding to the virtual article package, the acquisition interface containing acquisition information and a voting result.

Description

虚拟物品领取、虚拟物品发布方法、计算机设备及介质Virtual item collection, virtual item release method, computer equipment and medium
本申请要求于2021年1月14日提交中国专利局,申请号为202110050278.X、发明名称为“虚拟物品领取方法、虚拟物品发布方法、计算机设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 14, 2021 with the application number 202110050278.X and the invention titled "Virtual Item Receiving Method, Virtual Item Publishing Method, Computer Equipment and Medium", which The entire contents of this application are incorporated by reference.
技术领域technical field
本申请实施例涉及信息交互技术领域,特别涉及一种虚拟物品领取、虚拟物品发布方法、计算机设备及介质。The embodiments of the present application relate to the technical field of information interaction, and in particular, to a method for collecting virtual items and publishing virtual items, computer equipment and media.
背景技术Background technique
随着网络技术的发展,出现了各式各样的虚拟物品,比如网络游戏中的装备、宠物、虚拟货币等等。With the development of network technology, various virtual items have appeared, such as equipment, pets, virtual currency and so on in online games.
在社交软件中,用户可以使用虚拟物品包发送虚拟物品,其他用户可以接收该虚拟物品包,获得虚拟物品包中的虚拟物品。以使用“电子红包”作为虚拟物品包为例,一个用户发送电子红包,电子红包中携带有虚拟物品,例如,虚拟资源、代金券等,一个或多个用户选中该电子红包后,即可对该电子红包进行领取。In social software, a user can send virtual items using a virtual item package, and other users can receive the virtual item package to obtain virtual items in the virtual item package. Taking the use of "electronic red envelopes" as an example of a virtual item package, a user sends an electronic red envelope, and the electronic red envelope carries virtual items, such as virtual resources, vouchers, etc. After one or more users select the electronic red envelope, they can The electronic red envelope is received.
相关技术中,虚拟物品包仅具备传递虚拟物品的功能,功能较为单一。In the related art, the virtual item package only has the function of transferring virtual items, and the function is relatively single.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种虚拟物品领取、虚拟物品发布方法、计算机设备及介质,可以丰富虚拟物品包的功能,提高虚拟物品包领取过程中的互动性。所述技术方案如下:The embodiments of the present application provide a virtual item receiving and virtual item publishing method, computer equipment and medium, which can enrich the functions of the virtual item package and improve the interactivity in the process of receiving the virtual item package. The technical solution is as follows:
根据本申请的一个方面,提供了一种虚拟物品领取方法,所述方法包括:According to one aspect of the present application, there is provided a method for claiming a virtual item, the method comprising:
响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,所述投票界面中包含至少两个投票选项;In response to the triggering operation on the virtual item package, displaying a voting interface corresponding to the virtual item package, where the voting interface includes at least two voting options;
接收对至少两个所述投票选项中目标投票选项的选择操作;所述目标投票选项为所述投票选项中被选中的投票选项,用于确定投票结果;及receiving a selection operation for a target voting option in at least two of the voting options; the target voting option is the selected voting option among the voting options, and is used to determine a voting result; and
当投票结束时,显示所述虚拟物品包对应的领取界面,所述领取界面中包含领取信息和投票结果。When the voting ends, a claiming interface corresponding to the virtual item package is displayed, and the claiming interface includes claiming information and voting results.
根据本申请的另一个方面,提供了一种虚拟物品发布方法,所述方法包括:According to another aspect of the present application, a method for publishing a virtual item is provided, the method comprising:
显示虚拟物品包对应的发布界面;Display the release interface corresponding to the virtual item package;
响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,所述参数信息包括所述虚拟物品包对应的至少两个投票选项和虚拟物品;所述参数信息用于对所述虚拟物品包进行配置;及In response to the configuration operation in the publishing interface, parameter information corresponding to the virtual item package is obtained, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used for the virtual item package is configured; and
响应于对所述虚拟物品包的发布操作,发布已配置的所述虚拟物品包。In response to a publish operation on the virtual item package, the configured virtual item package is published.
根据本申请的另一个方面,提供了一种虚拟物品领取方法,所述方法包括:According to another aspect of the present application, a method for collecting virtual items is provided, the method comprising:
发布虚拟物品包,所述虚拟物品包对应至少两个投票选项;Publishing a virtual item package, the virtual item package corresponding to at least two voting options;
接收投票方发送的投票信息,所述投票信息中包含投票方标识和所述投票方选择的目标投票选项;Receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party;
当投票结束时,基于接收到的至少一个所述投票信息确定所述虚拟物品包对应的投票结果;及When the voting ends, determining a voting result corresponding to the virtual item package based on the received at least one of the voting information; and
响应于所述投票方发送的领取请求,并根据所述虚拟物品包的投票结果确定所述投票方的领取结果,向所述投票方下发所述投票方对应的领取结果,所述领取请求中包含所述投票方标识。In response to the claiming request sent by the voting party, the claiming result of the voting party is determined according to the voting result of the virtual item package, and the claiming result corresponding to the voting party is issued to the voting party, and the claiming request contains the voting party identification.
根据本申请的另一方面,提供了一种虚拟物品领取装置,所述装置包括:According to another aspect of the present application, a virtual item claiming device is provided, the device comprising:
第一显示模块,用于响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,所述投票界面中包含至少两个投票选项;a first display module, configured to display a voting interface corresponding to the virtual item package in response to a triggering operation on the virtual item package, where the voting interface includes at least two voting options;
第一接收模块,用于接收对至少两个所述投票选项中目标投票选项的选择操作;及a first receiving module, configured to receive a selection operation for a target voting option among at least two of the voting options; and
第二显示模块,用于当投票结束时,显示所述虚拟物品包对应的领取界面,所述领取界面中包含领取信息和投票结果。The second display module is configured to display a claiming interface corresponding to the virtual item package when the voting is over, and the claiming interface includes claiming information and voting results.
根据本申请的另一方面,提供了一种虚拟物品发布装置,所述装置包括:According to another aspect of the present application, there is provided an apparatus for issuing virtual items, the apparatus comprising:
第九显示模块,用于显示虚拟物品包对应的发布界面;a ninth display module, used to display the release interface corresponding to the virtual item package;
获取模块,用于响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,所述参数信息包括所述虚拟物品包对应的至少两个投票选项和虚拟物品;及an obtaining module, configured to obtain parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; and
第一发布模块,用于响应于对所述虚拟物品包的发布操作,发布所述虚拟物品包。The first publishing module is configured to publish the virtual item package in response to the publishing operation on the virtual item package.
根据本申请的另一方面,提供了一种虚拟物品领取装置,所述装置包括:According to another aspect of the present application, a virtual item claiming device is provided, the device comprising:
第二发布模块,用于发布虚拟物品包,所述虚拟物品包对应至少两个投票选项;a second publishing module, configured to publish a virtual item package, where the virtual item package corresponds to at least two voting options;
第二接收模块,用于接收投票方发送的投票信息,所述投票信息中包含投票方标识和所述投票方选择的目标投票选项;a second receiving module, configured to receive voting information sent by a voting party, where the voting information includes a voting party identifier and a target voting option selected by the voting party;
确定模块,用于当投票结束时,基于接收到的至少一个所述投票信息确定所述虚拟物品包对应的投票结果;及a determining module, configured to determine the voting result corresponding to the virtual item package based on the received at least one of the voting information when the voting ends; and
发送模块,用于响应于所述投票方发送的领取请求,向所述投票方下发所述投票方对应的领取结果,所述领取请求中包含所述投票方标识。A sending module is configured to, in response to a claiming request sent by the voting party, deliver the claiming result corresponding to the voting party to the voting party, where the claiming request includes the voting party identifier.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行上述方面所述的虚拟物品领取方法,或,执行上述方面所述的虚拟物品发布方法。A computer device comprising a memory and one or more processors, the memory having computer-readable instructions stored therein, the computer-readable instructions, when executed by the processor, cause the one or more processors to execute The method for claiming a virtual item described in the above aspect, or, the method for releasing a virtual item described in the above aspect is executed.
一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以上述方面所述的虚拟物品领取方法,或,执行上述方面所述的虚拟物品发布方法。One or more non-volatile readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the functions described in the above aspects. The method for collecting virtual items described above, or, executing the method for releasing virtual items described in the above aspects.
一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述可选实现方式中提供的虚拟物品领取方法,或,执行上述可选实现方式中提供的虚拟物品发布方法。A computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the virtual item claiming method provided in the above-mentioned optional implementation manner, or executes the above-mentioned optional implementation manner The virtual item publishing method provided in .
附图说明Description of drawings
图1示出了本申请一个实施例提供的实施环境的示意图;FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application;
图2示出了本申请一个示例性实施例提供的虚拟物品领取方法的流程图;FIG. 2 shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application;
图3示出了本申请一个示例性实施例示出的虚拟物品包的领取过程示意图;FIG. 3 shows a schematic diagram of a process of claiming a virtual item package according to an exemplary embodiment of the present application;
图4示出了本申请一个示例性实施例提供的虚拟物品包发布方法的流程图;FIG. 4 shows a flowchart of a method for publishing a virtual item package provided by an exemplary embodiment of the present application;
图5示出了本申请一个示例性实施例示出的虚拟物品包发布过程的示意图;FIG. 5 shows a schematic diagram of a virtual goods package publishing process according to an exemplary embodiment of the present application;
图6示出了本申请另一个示例性实施例提供的虚拟物品包发布方法的流程图;FIG. 6 shows a flowchart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application;
图7示出了本申请另一个示例性实施例提供的虚拟物品包发布方法的流程图;FIG. 7 shows a flowchart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application;
图8示出了本申请一个示例性实施例示出的物品数量的设置过程示意图;FIG. 8 shows a schematic diagram of the setting process of the number of items shown in an exemplary embodiment of the present application;
图9示出了本申请一个示例性实施例示出的虚拟物品分配策略的设置过程示意图;FIG. 9 shows a schematic diagram of the setting process of the virtual item allocation strategy shown in an exemplary embodiment of the present application;
图10示出了本申请一个示例性实施例示出的虚拟物品包对应参数信息(属性信息)示意图;FIG. 10 shows a schematic diagram of parameter information (attribute information) corresponding to a virtual item package shown in an exemplary embodiment of the present application;
图11示出了本申请另一个示例性实施例提供的虚拟物品领取方法的流程图;FIG. 11 shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application;
图12示出了本申请另一个示例性实施例示出的虚拟物品包的领取过程示意图;FIG. 12 shows a schematic diagram of a process of claiming a virtual item package according to another exemplary embodiment of the present application;
图13示出了本申请一个示例性实施例示出的投票弹幕的查看过程示意图;FIG. 13 shows a schematic diagram of the viewing process of the voting barrage shown in an exemplary embodiment of the present application;
图14示出了本申请另一个示例性实施例提供的虚拟物品领取方法的流程图;FIG. 14 shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application;
图15示出了本申请一个示例性实施例提供的虚拟物品领取方法的流程图;FIG. 15 shows a flowchart of a method for claiming virtual items provided by an exemplary embodiment of the present application;
图16示出了本申请一个示例性实施例示出的虚拟物品包发布方法的流程图;FIG. 16 shows a flowchart of a method for publishing a virtual goods package according to an exemplary embodiment of the present application;
图17示出了本申请一个示例性实施例示出的虚拟物品包领取方法的流程图;FIG. 17 shows a flowchart of a method for claiming a virtual goods package according to an exemplary embodiment of the present application;
图18示出了本申请一个示例性实施例示出的交互过程的时序图;FIG. 18 shows a sequence diagram of an interaction process shown in an exemplary embodiment of the present application;
图19是本申请一个示例性实施例提供的虚拟物品领取装置的结构框图;FIG. 19 is a structural block diagram of a virtual item claiming device provided by an exemplary embodiment of the present application;
图20是本申请一个示例性实施例提供的虚拟物品发布装置的结构框图;FIG. 20 is a structural block diagram of an apparatus for issuing virtual items provided by an exemplary embodiment of the present application;
图21是本申请另一个示例性实施例提供的虚拟物品领取装置的结构框图;FIG. 21 is a structural block diagram of a virtual item claiming device provided by another exemplary embodiment of the present application;
图22示出了本申请一个示例性实施例提供的终端的结构框图;FIG. 22 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application;
图23示出了本申请一个实施例提供的服务器的结构示意图。FIG. 23 shows a schematic structural diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
首先对本申请实施例涉及的名词进行简介:First, the terms involved in the embodiments of the present application are briefly introduced:
虚拟物品:是能够进行流通的虚拟资源。示例性的,虚拟物品是可以进行商品交换的虚拟资源。示例性的,虚拟物品可以是虚拟货币、资金、基金、股份、游戏装备、游戏材料、游戏宠物、游戏币、图标、会员、称号、增值业务、积分、元宝、金豆、礼金券、兑换券、优惠券、贺卡、金钱等等。Virtual items: virtual resources that can be circulated. Illustratively, virtual items are virtual resources that can be exchanged for goods. Exemplarily, the virtual items may be virtual currency, funds, funds, shares, game equipment, game materials, game pets, game currency, icons, members, titles, value-added services, points, ingots, golden beans, gift certificates, exchange certificates , coupons, greeting cards, money, and more.
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境可以包括:第一终端110、服务器120和第二终端130。Please refer to FIG. 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment may include: a first terminal 110 , a server 120 and a second terminal 130 .
第一终端110中运行有能够进行虚拟物品包发布的应用程序,其可以是诸如手机、台式电脑、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机等电子设备。其中,该应用程序可以是金融类程序、社交类程序、购物类程序、游戏类程序、视频类程序、音频类程序、即时通讯类程序等。本实施例中,用户可以在第一终端110中进行虚拟物品包的配置操作,终端对应获取到虚拟物品包对应的参数信息,比如,投票选项、虚拟物品、投票结束条件、虚拟物品分配策略等,并在配置完成后,进行虚拟物品包的发布操作,对应第一终端110可以向服务器120发送虚拟物品包的发布请求,该发布请求中可以包括虚拟物品包对应的发布方标识、接收方标识以及参数信息。Running in the first terminal 110 is an application program capable of publishing a virtual item package, which can be, for example, a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playback device, and a wearable device MP3 (Moving Picture Experts Group). Audio Layer III, moving image expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, moving image expert compression standard audio layer 4) player, laptop and other electronic equipment. The application program may be a financial program, a social program, a shopping program, a game program, a video program, an audio program, an instant messaging program, or the like. In this embodiment, the user can perform the configuration operation of the virtual item package in the first terminal 110, and the terminal correspondingly obtains parameter information corresponding to the virtual item package, such as voting options, virtual items, voting end conditions, virtual item allocation strategies, etc. , and after the configuration is completed, the release operation of the virtual item package is performed, and the corresponding first terminal 110 may send a release request of the virtual item package to the server 120, and the release request may include the identifier of the publisher and the identifier of the receiver corresponding to the virtual item package. and parameter information.
服务器120用于为第一终端110或第二终端130中的应用程序(如能够接收虚拟物品包的应用程序)提供后台服务。例如,服务器120可以是上述应用程序(如能够接收虚拟物品包的应用程序)的后台服务器。服务器120可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。本申请实施例中,服务器120可以接收来自第一终端110的虚拟物品包的发布请求,并向接收方标识指示的至少一个第二终端130发送该虚拟物品包。可选的,服务器120可以接收第二终端130发送的投票信息,该投票信息包括投票方标识和投票方所选择的投票选项,并基于该投票信息确定虚拟物品包对应的投票结果。The server 120 is configured to provide background services for applications in the first terminal 110 or the second terminal 130 (eg, applications capable of receiving virtual item packages). For example, the server 120 may be a backend server for the above-mentioned application (eg, an application capable of receiving virtual item packages). The server 120 may be a server, a server cluster composed of multiple servers, or a cloud computing service center. In this embodiment of the present application, the server 120 may receive a release request of the virtual item package from the first terminal 110, and send the virtual item package to at least one second terminal 130 indicated by the receiver identifier. Optionally, the server 120 may receive voting information sent by the second terminal 130, where the voting information includes the voting party identifier and the voting option selected by the voting party, and determines the voting result corresponding to the virtual item package based on the voting information.
第二终端130中运行有能够进行虚拟物品包接收的应用程序,其可以是诸如手机、台式电脑、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备MP3播放器、MP4播放器、膝上型便携计算机等电子设备。其中,该应用程序可以是金融类程序、社交类程序、购物类程序、游戏类程序、视频类程序、音频类程序、即时通讯类程序等。可选的,用于虚拟物品包接收或虚拟物品包发布的应用程序可以是相同应用程序,也可以是不同应用程序,本实施例对此不构成限定。本实施例中,第二终端130可以接收服务器120发送的虚拟物品包;可选的,当第二终端130接收到投票方对投票选项的选择操作时,可以向服务器120发送投票信息,以便服务器120可以基于至少一个投票信息确定虚拟物品包对应的投票结果。The second terminal 130 runs an application program capable of receiving virtual item packages, which may be a mobile phone, a desktop computer, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device MP3 player, or an MP4 player. devices, laptops, and other electronic devices. The application program may be a financial program, a social program, a shopping program, a game program, a video program, an audio program, an instant messaging program, or the like. Optionally, the application programs used for receiving the virtual item package or publishing the virtual item package may be the same application program or different application programs, which is not limited in this embodiment. In this embodiment, the second terminal 130 may receive the virtual item package sent by the server 120; optionally, when the second terminal 130 receives the voting party's selection operation on the voting option, the second terminal 130 may send voting information to the server 120, so that the server 120 may determine a voting result corresponding to the virtual item package based on the at least one voting information.
第一终端110、第二终端130和服务器120之间可通过网络进行互相通信。该网络可以是有线网络,也可以是无线网络。The first terminal 110, the second terminal 130 and the server 120 may communicate with each other through a network. The network can be a wired network or a wireless network.
请参考图2,其示出了本申请一个示例性实施例提供的虚拟物品领取方法的流程图。以该方法的执行主体为图1所示出的第二终端130来举例说明,该方法包括:Please refer to FIG. 2 , which shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application. Taking the execution subject of the method as the second terminal 130 shown in FIG. 1 as an example, the method includes:
步骤201,响应于对虚拟物品包的触发操作,显示虚拟物品包对应的投票界面,投票界面中包含至少两个投票选项。 Step 201 , in response to the triggering operation on the virtual item package, display a voting interface corresponding to the virtual item package, and the voting interface includes at least two voting options.
其中,虚拟物品包是由第一用户账号发送的,该第一用户账号是虚拟物品包对应的发布方,并对应设置有虚拟物品包的领取方,也就是说,只有指定领取方可以接收到虚拟物品包,并领取到虚拟物品包中包含的虚拟物品。示例性的,若某个用户账号在目标群组里发布虚拟物品包,对应只有目标群组中的成员(用户)可以参与领取该虚拟物品包;可选的,若目标主播用户在直播界面中发布该虚拟物品包,对应只有进入目标主播对应直播间的用户可以参与领取该虚拟物品包。The virtual item package is sent by the first user account, which is the publisher corresponding to the virtual item package, and the receiver of the virtual item package is set correspondingly, that is, only the designated receiver can receive the virtual item package. virtual item packs and receive the virtual items contained in the virtual item packs. Exemplarily, if a user account publishes a virtual item package in the target group, only members (users) in the target group can participate in receiving the virtual item package; optionally, if the target host user is in the live broadcast interface When the virtual item package is released, only users who enter the live broadcast room corresponding to the target host can participate in receiving the virtual item package.
本实施例以虚拟物品包发布在目标群组中为例进行示例性说明,当目标群组对应的当前显示界面(即群组消息界面)中显示有虚拟物品包,该目标群组中的任意用户或成员均可以进行虚拟物品包的领取操作。In this embodiment, the virtual item package is published in the target group as an example for illustration. When the virtual item package is displayed on the current display interface (ie, the group message interface) corresponding to the target group, any Users or members can receive virtual item packages.
本实施例中,将虚拟物品领取与投票活动相结合,用户需要对虚拟物品包对应的投票选项进行投票,才可能参与领取该虚拟物品包。In this embodiment, the virtual item collection is combined with the voting activities, and the user needs to vote on the voting options corresponding to the virtual item package, and then may participate in the collection of the virtual item package.
在一种可能的实施方式中,当终端接收到对虚拟物品包的触发操作后,首先会显示虚拟物品包对应的投票界面,该投票界面中包含至少两个投票选项,用户可以在该投票界面中进行投票选项的选择,以便后续基于该选择结果来领取对应的虚拟物品。In a possible implementation, after the terminal receives the triggering operation for the virtual item package, it will first display a voting interface corresponding to the virtual item package. The voting interface includes at least two voting options. The selection of voting options is carried out in , so that the corresponding virtual items can be subsequently claimed based on the selection result.
其中,触发操作可以是用户对虚拟物品包的点击操作、长按操作、双击操作等,也可以是语音指令,本申请实施例对该触发操作不构成限定。The trigger operation may be a user's click operation, long-press operation, double-click operation, etc. on the virtual item package, and may also be a voice command, which is not limited in this embodiment of the present application.
可选的,投票界面中包含的至少两个投票选项,是由虚拟物品包对应发布方进行设置,由于本实施例中的虚拟物品包不仅具有发放虚拟物品的功能,还具有投票功能,因此,虚拟物品包的发布方可以设置自身感兴趣的话题作为投票选项,以收集其他用户对该投票选项的观点或看法。Optionally, the at least two voting options included in the voting interface are set by the virtual item package corresponding to the publisher. Since the virtual item package in this embodiment not only has the function of issuing virtual items, but also has the voting function, therefore, The publisher of the virtual item package can set a topic of interest to himself as a voting option, so as to collect the opinions or opinions of other users on the voting option.
可选的,投票选项也可以由具有发布虚拟物品包功能的应用程序提供,应用程序通过收集自身或其他网络平台中的热点话题,并对热点话题进行过滤和筛选,生成多种可用于投票的可选投票选项,对应用户 在发布虚拟物品包时,可以在应用程序提供的多种可选投票选项中,选择自己感兴趣的投票选项。Optionally, the voting option can also be provided by an application with the function of publishing virtual item packages. The application collects hot topics in itself or other network platforms, and filters and filters the hot topics to generate a variety of votes. Optional voting options, corresponding to users who can choose the voting options they are interested in from the various optional voting options provided by the application when publishing the virtual item package.
可选的,当应用程序收集热点话题时,可以获取到本机用户(虚拟物品包对应发布方)的历史浏览轨迹(比如,在搜索类应用程序中的历史浏览记录)、或本机用户的应用程序使用记录(比如,经常使用某个游戏应用程序)、或本机用户的购买记录(比如,经常网购某类产品)等信息,对这些信息进行过滤和筛选(过滤掉用户的隐私信息),并对过滤后的信息进行特征提取,提取出用户感兴趣的特征维度,并基于这些特征维度生成可选投票选项,使得确定出的投票选项更符合用户兴趣。示例性的,从用户在搜索类应用程序中的历史浏览记录中可以得到:用户搜索游戏攻略的频率较高,对应可以得到用户对该游戏应用程序兴趣较高,可以生成与该游戏应用程序相关的投票选项,比如,“是否喜欢玩xx游戏”“喜欢xx游戏中的哪些角色”“是否在xx游戏中氪金”等。Optionally, when the application collects hot topics, it can obtain the historical browsing track of the local user (the publisher corresponding to the virtual item package) (for example, the historical browsing record in the search application), or the local user's historical browsing track. Information such as application usage records (for example, frequently using a certain game application), or purchase records of local users (for example, frequently shopping for a certain type of product online) and other information, filter and filter this information (filter out the user's private information) , and perform feature extraction on the filtered information, extract the feature dimensions that the user is interested in, and generate optional voting options based on these feature dimensions, so that the determined voting options are more in line with the user's interests. Exemplarily, it can be obtained from the user's historical browsing records in the search application program: the user searches for game strategies more frequently, and correspondingly, it can be obtained that the user is highly interested in the game application, and can generate information related to the game application. voting options, such as "do you like to play xx games", "what characters do you like in xx games", "whether you are in xx games" and so on.
如图3所示,其示出了本申请一个示例性实施例示出的虚拟物品包的领取过程示意图。用户301在群聊中发送了一个PK红包302,用户点击PK红包302可以弹出PK红包302对应的投票界面303,该投票界面303中显示有两个投票选项304,比如“投票选项一”以及“投票选项二”其中,投票选项一可对应于线上购物以及投票选项二可对应于线下购物。可选的,投票界面303中还显示有PK红包302对应的主题信息“你最喜欢的购物方式”、当前投票情况“7票:6票”、发布者信息“A的投票红包”等。As shown in FIG. 3 , it shows a schematic diagram of a process of claiming a virtual item package according to an exemplary embodiment of the present application. The user 301 sends a PK red envelope 302 in the group chat, and the user clicks on the PK red envelope 302 to pop up the voting interface 303 corresponding to the PK red envelope 302. The voting interface 303 displays two voting options 304, such as "voting option one" and "" "Voting option 2" wherein, voting option 1 may correspond to online shopping and voting option 2 may correspond to offline shopping. Optionally, the voting interface 303 also displays the subject information "your favorite shopping method" corresponding to the PK red envelope 302, the current voting situation "7 votes: 6 votes", the publisher information "A's voting red envelope" and the like.
步骤202,接收对至少两个投票选项中目标投票选项的选择操作,目标投票选项为投票选项中被选中的投票选项,用于确定投票结果。Step 202: Receive a selection operation for a target voting option among the at least two voting options, where the target voting option is the selected voting option in the voting options, and is used to determine the voting result.
在一种可能的实施方式中,虚拟物品包对应的投票界面中包含至少两个投票选项,该投票选项被设置为可选状态,用户可以基于自身对投票选项的兴趣选择任意投票选项,以参与投票,从而对应终端可以接收到用户对至少两个投票选项中目标投票选项的选择操作。In a possible implementation, the voting interface corresponding to the virtual item package includes at least two voting options, the voting options are set as optional, and the user can select any voting option based on his interest in the voting options to participate in voting, so that the corresponding terminal can receive the user's selection operation on the target voting option among the at least two voting options.
其中,该选择操作可以由用户手动触发,比如,该选择操作可以是对投票选项的点击操作、长按操作、双击操作等,或由用户间接触发,比如,通过语音指令触发对投票选项的选择操作,本实施例对此不构成限定。The selection operation may be manually triggered by the user, for example, the selection operation may be a click operation, a long-press operation, a double-click operation, etc. on the voting option, or indirectly triggered by the user, for example, the selection of the voting option is triggered by a voice command operation, which is not limited in this embodiment.
对于用户间接触发的场景,可以通过智能语音对话技术获取用户对目标投票选项的选择操作,示例性的,接收对目标投票选项的选择操作的过程可以包括以下步骤:For the scenario triggered by the user indirectly, the user's selection operation on the target voting option may be obtained through the intelligent voice dialogue technology. Exemplarily, the process of receiving the selection operation on the target voting option may include the following steps:
1、将投票界面中包含的投票选项转化为语音提示消息。1. Convert the voting options contained in the voting interface into voice prompt messages.
针对某些用户无法手动触发选择操作的场景,比如,开车场景、或其他不方便进行手动操作的场景,均可以通过智能语音对话技术来完成投票。For some scenarios where users cannot manually trigger selection operations, such as driving scenarios, or other scenarios where manual operations are inconvenient, voting can be completed through intelligent voice dialogue technology.
在一种可能的实施方式中,终端具备智能语音对话功能,用户可以通过预设指令唤醒该功能,对应终端开启智能语音对话功能,当用户存在虚拟物品包领取需求时,可以首先向终端发送与领取或投票相关的语音指令,比如“领取小王发送的虚拟物品包”,当终端接收用户发出的语音指令后,对语音进行语音识别,当确定出该语音指令中包含与投票、领取虚拟物品包等相关的文字后,可以将投票界面中包含的投票选项转化为语音提示消息,以便用户及时获取到该虚拟物品包对应的投票选项等相关信息。In a possible implementation, the terminal has an intelligent voice dialogue function, the user can wake up the function through a preset command, and the corresponding terminal enables the intelligent voice dialogue function. To receive or vote-related voice commands, such as "receive the virtual item package sent by Xiao Wang", when the terminal receives the voice command sent by the user, it will perform voice recognition on the voice. After entering the relevant text such as the package, the voting options contained in the voting interface can be converted into voice prompt messages, so that the user can obtain the relevant information such as the voting options corresponding to the virtual item package in time.
针对将投票选项转化为语音提示消息的方法,在一种可能的实施方式中,可以通过光学字符识别(Optical Character Recognition,OCR)技术和语音合成(Text-To-Speech,TTS)技术实现,即首先对投票界面进行OCR识别,得到投票界面中包含的各个文本信息(比如,投票选项),并将识别出的文本信息通过TTS技术转化为语音提示消息。For the method for converting voting options into voice prompt messages, in a possible implementation, it can be realized by optical character recognition (Optical Character Recognition, OCR) technology and speech synthesis (Text-To-Speech, TTS) technology, namely First, perform OCR identification on the voting interface to obtain various text information (eg, voting options) contained in the voting interface, and convert the identified text information into a voice prompt message through TTS technology.
可选的,虚拟物品包携带有与投票选项相关的语音提示消息,当终端确定用户存在领取该虚拟物品包的需求时,比如,通过接收到用户领取虚拟物品包的语音指令时,可以自动播放该语音提示消息,使得用户可以基于该语音提示消息获取到虚拟物品包对应的投票选项等信息。Optionally, the virtual item package carries a voice prompt message related to the voting option. When the terminal determines that the user has a need to receive the virtual item package, for example, by receiving a voice command from the user to receive the virtual item package, it can be automatically played. The voice prompt message enables the user to obtain information such as voting options corresponding to the virtual item package based on the voice prompt message.
2、当接收到用户的语音选择指令后,基于语音选择指令确定目标投票选项。2. After receiving the user's voice selection instruction, determine the target voting option based on the voice selection instruction.
在一种可能的实施方式中,当终端播放完与投票选项相关的语音提示信息后,用户可以基于获取到的投票选项信息,确定自身感兴趣的投票选项,并向终端发送语音选择指令,该语音选择指令中包含目标投票选项,对应的,终端接收到该语音选择指令后,基于语音选择指令中包含的投票选项,确定用户所选择的目标投票选项,并执行对目标投票选项的选择操作。In a possible implementation, after the terminal plays the voice prompt information related to the voting option, the user can determine the voting option he is interested in based on the obtained voting option information, and send a voice selection instruction to the terminal. The voice selection instruction includes a target voting option. Correspondingly, after receiving the voice selection instruction, the terminal determines the target voting option selected by the user based on the voting options included in the voice selection instruction, and performs a selection operation on the target voting option.
其中,通过语音选择指令选择目标投票选项的过程可以通过智能语音对话系统实现,该智能语音对话系统可以包括五部分:自动语音识别(Automatic Speech Recognition,ASR):将原始的语音信号转化成文本信息;自然语音理解(Natural Language Understanding,NLU):将识别出的文本信息转化为机器可以理解的语义表示;对话管理(Dialog Management,DM):基于对话状态判断系统应该采取的动作;自然语言生成(Natural Language Generation,NLG):将系统动作转变为自然语言文本;语音合成(TTS):将自然语言文本变成语音输出给用户。Among them, the process of selecting the target voting option through the voice selection command can be realized by an intelligent voice dialogue system. The intelligent voice dialogue system can include five parts: Automatic Speech Recognition (ASR): Convert the original voice signal into text information ;Natural Language Understanding (NLU): Convert the recognized text information into a semantic representation that the machine can understand; Dialog Management (DM): Determine the actions the system should take based on the dialog state; Natural language generation ( Natural Language Generation, NLG): Convert system actions into natural language text; Speech Synthesis (TTS): Convert natural language text into speech output to the user.
示例性的,若用户输入的语音指令为“帮我选择投票选项A”,终端接收到该语音指令,首先通过语音识别技术,转化为文本信息“帮我选择投票选项A”,再通过自然语音理解,使得终端理解当前用户所 要表达的意思“用户想要选择投票选项A”;再通过对话管理确定终端需要执行选择投票选项A的选择操作;为了使得用户可以了解到是否选择成功,可以通过自然语言生成技术将终端已选择投票选项A的动作转变为自然语音文本“投票选项A已选择完成”,并通过语言合成技术将其转变成语音输出给用户,以便提醒用户投票选项已选择完成。Exemplarily, if the voice command input by the user is "help me choose voting option A", the terminal receives the voice command, first converts it into text information "help me choose voting option A" through voice recognition technology, and then uses natural voice. Understand, so that the terminal understands the meaning that the current user wants to express "the user wants to select voting option A"; and then determines through dialogue management that the terminal needs to perform the selection operation of selecting voting option A; The language generation technology converts the action that the terminal has selected the voting option A into natural speech text "voting option A has been selected", and converts it into voice output to the user through the language synthesis technology, so as to remind the user that the voting option has been selected.
对于投票界面,若用户未选择任意投票选项,则各个投票选项均为可选状态;当终端接收到对目标投票选项的选择操作后,为了避免用户后续随意更改自身选择结果,不利于后续统计投票结果,可以将各个投票选项由可选状态设置为不可选状态,也就是说,用户仅具有单次投票机会。For the voting interface, if the user does not select any voting option, each voting option is optional; when the terminal receives the selection operation for the target voting option, in order to prevent the user from arbitrarily changing the result of his choice, it is not conducive to subsequent statistical voting As a result, each voting option can be set from selectable to non-selectable state, that is, the user only has a single chance to vote.
可选的,将投票选项设置为可选状态或不可选状态,可以是将投票选项对应的投票控件设置为可选状态或不可选状态,也就是说,投票界面中显示有投票选项以及该投票选项对应的投票控件,用户通过对目标投票选项对应目标投票控件的选择操作,选择目标投票选项。Optionally, setting the voting option to an optional state or an unselectable state may be to set the voting control corresponding to the voting option to an optional state or a non-selectable state, that is, the voting interface displays the voting option and the vote. The voting control corresponding to the option, the user selects the target voting option by selecting the target voting control corresponding to the target voting option.
如图3所示,当用户点击投票界面303中的对应于“线上购物”的投票选项一时,终端接收到对目标投票选项的选择操作,将投票选项一对应的投票控件由投票更新为已投票。As shown in FIG. 3 , when the user clicks the voting option 1 corresponding to “online shopping” in the voting interface 303, the terminal receives the selection operation for the target voting option, and updates the voting control corresponding to the voting option 1 from voting to vote.
步骤203,当投票结束时,显示虚拟物品包对应的领取界面,领取界面中包含领取信息和投票结果。 Step 203 , when the voting is over, a receiving interface corresponding to the virtual item package is displayed, and the receiving interface includes the receiving information and the voting result.
本实施例中在领取虚拟物品包时,需要参与虚拟物品包对应的投票活动,且后续还需要基于投票结果来确定领取结果,而投票结果需要在投票结束后基于所有已投票用户的投票信息确定,因此,在一种可能的实施方式中,当终端确定投票结束后,才会显示虚拟物品包对应的领取界面。In this embodiment, when collecting the virtual item package, you need to participate in the voting activity corresponding to the virtual item package, and the collection result needs to be determined based on the voting result, and the voting result needs to be determined based on the voting information of all users who have voted after the voting is over. , therefore, in a possible implementation manner, only after the terminal determines that the voting is over, the receiving interface corresponding to the virtual item package is displayed.
其中,虚拟物品包对应设置有投票结束条件,该投票结束条件包括投票总数达到数量阈值,和,虚拟物品包的发布时长达到时长阈值中的至少一种。其中,数量阈值和时长阈值均可以由开发人员预先设置,或由虚拟物品包对应发布方进行设置,比如,数量阈值可以是50;时长阈值可以是2h。Wherein, the virtual item package is correspondingly set with a voting ending condition, and the voting ending condition includes at least one of the total number of votes reaching a quantity threshold, and the release duration of the virtual item package reaching the duration threshold. Wherein, both the quantity threshold and the duration threshold may be preset by the developer, or set by the publisher corresponding to the virtual item package. For example, the quantity threshold may be 50; the duration threshold may be 2h.
若投票结束条件为投票总数达到数量阈值,终端可以实时获取到虚拟物品包对应的当前投票总数,若当前投票总数达到数量阈值后,确定投票结束,显示虚拟物品包对应的领取界面。If the voting end condition is that the total number of votes reaches the number threshold, the terminal can obtain the current total number of votes corresponding to the virtual item package in real time. If the current total number of votes reaches the number threshold, the voting is determined to be over, and the collection interface corresponding to the virtual item package is displayed.
若投票结束条件为虚拟物品包的发布时长达到时长阈值,终端可以实时获取到虚拟物品包对应的当前发布时长,若当前发布时长达到时长阈值后,确定投票结束,显示虚拟物品包对应的领取界面。If the voting end condition is that the release duration of the virtual item package reaches the duration threshold, the terminal can obtain the current release duration corresponding to the virtual item package in real time. .
可选的,当虚拟物品包发布后,可以为该虚拟物品包设置定时器或计时器,定时器时长可以设置为该时长阈值,当定时器达到定时器时长后,确定投票结束;或当计时器的计时器时长达到时长阈值后,确定投票结束。Optionally, after the virtual item package is released, a timer or timer can be set for the virtual item package, and the timer duration can be set to the duration threshold. When the timer reaches the timer duration, it is determined that the voting is over; After the timer duration of the controller reaches the duration threshold, it is determined that the voting is over.
可选的,若投票结束条件为虚拟物品包对应的发布时长达到时长阈值,可以在虚拟物品包对应的投票界面上显示投票倒计时,投票倒计时的开始时间为时长阈值,当投票倒计时为0时,确定投票结束。Optionally, if the voting end condition is that the release duration corresponding to the virtual item package reaches the duration threshold, the voting countdown can be displayed on the voting interface corresponding to the virtual item package. The start time of the voting countdown is the duration threshold. When the voting countdown is 0, Confirm voting is closed.
本实施例中的领取界面中不仅显示有领取信息,还对应显示有投票结果,其中,该领取信息用于指示投票方(用户)的领取结果,投票结果是基于投票方对应的投票信息确定的。The receiving interface in this embodiment not only displays the receiving information, but also correspondingly displays the voting result, wherein the receiving information is used to indicate the receiving result of the voting party (user), and the voting result is determined based on the voting information corresponding to the voting party. .
可选的,领取信息可以是领取结果,比如,投票方分配到的虚拟物品以及数量,也可以是领取控件,用户可以点击该领取控件,对应领取到分配的虚拟物品。Optionally, the claim information may be the claim result, for example, the virtual item and the quantity allocated by the voting party, or may be a claim control. The user can click on the claim control to receive the allocated virtual item correspondingly.
如图3所示,当投票结束时,可以显示虚拟物品包对应的领取界面305,该领取界面305中显示有领取结果306(8.20元),以及投票结果307(对应于线上购物的投票选项一20票:对应于线下购物的投票选项二15票),其中,由于线上购物对应的投票总数高于线下购物的投票总数,选择线上购物的投票方获胜。As shown in FIG. 3 , when the voting is over, the receiving interface 305 corresponding to the virtual item package can be displayed, and the receiving interface 305 displays the receiving result 306 (RMB 8.20) and the voting result 307 (corresponding to the voting option of online shopping). 1 20 votes: corresponding to the voting option 2 of offline shopping (15 votes), among which, since the total number of votes corresponding to online shopping is higher than the total number of votes for offline shopping, the voter who chooses online shopping wins.
由于本实施例中的虚拟物品包还具有投票功能,对应将虚拟物品包的领取结果与投票结果相关联,在一种可能的实施方式中,虚拟物品包对应发布方在发布虚拟物品包时,可以预先设置虚拟物品包中包含的虚拟物品数量和种类,以及投票结果方与各个虚拟物品之间的关系(虚拟物品分配策略),以便在投票结束后,可以基于投票结果确定投票结果方对应的投票选项,从而确定出各个投票选项对应的虚拟物品,再基于各个用户所选择的目标投票选项,确定目标投票选项对应的虚拟物品,进而确定每个用户对应的领取结果。Since the virtual item package in this embodiment also has a voting function, the result of receiving the virtual item package is associated with the voting result. The number and types of virtual items included in the virtual item package, as well as the relationship between the voting result party and each virtual item (virtual item allocation strategy) can be preset, so that after the voting is over, the voting result party can be determined based on the voting result. Voting options, thereby determining the virtual items corresponding to each voting option, and then determining the virtual items corresponding to the target voting options based on the target voting options selected by each user, and then determining the receiving result corresponding to each user.
在一个示例性的例子中,若虚拟物品包对应投票选项A和投票选项B,则虚拟物品包对应两个投票结果方,投票结果方1和投票结果方2,投票结果方1对应虚拟物品A,投票结果方2对应虚拟物品B,且投票结果方1和投票结果方2基于投票数量划分;当投票结束时,基于投票结果确定出各个投票结果方对应的投票选项,若设定投票数量多的投票选项为投票结果方1,而投票数量较少的投票选项为投票结果方2,且投票结果指示投票选项B对应的投票人数多于投票选项A对应的投票人数,可以得到投票结果方1对应投票选项B,投票结果方2对应投票选项A,基于投票结果方和虚拟物品之间的关系,可以确定出投票选项B对应虚拟物品A,投票选项A对应虚拟物品B;若目标投票选项是投票选项A,从而可以基于投票选项A对应的虚拟物品B确定该目标投票选项对应的领取结果。In an illustrative example, if the virtual item package corresponds to voting option A and voting option B, the virtual item package corresponds to two voting result parties, voting result party 1 and voting result party 2, and voting result party 1 corresponds to virtual item A , the voting result party 2 corresponds to the virtual item B, and the voting result party 1 and the voting result party 2 are divided based on the number of votes; when the voting ends, the voting options corresponding to each voting result party are determined based on the voting results. The voting option is the voting result side 1, and the voting option with a smaller number of votes is the voting result side 2, and the voting result indicates that the number of voters corresponding to the voting option B is more than the number of voters corresponding to the voting option A, and the voting result side 1 can be obtained. Corresponds to voting option B, and voting result party 2 corresponds to voting option A. Based on the relationship between the voting result party and the virtual item, it can be determined that voting option B corresponds to virtual item A, and voting option A corresponds to virtual item B; if the target voting option is Voting option A, so that the receiving result corresponding to the target voting option can be determined based on the virtual item B corresponding to the voting option A.
可选的,由于本实施例中在领取红包过程中结合了投票过程,因此,也可以在领取界面中显示投票结果,该投票结果可以为各个投票选项对应的最终投票数量。可选的,若以投票数量确定目标投票选项为投 票胜方,且目标投票选项对应的投票数量较多,可以在领取界面中显示获胜标识,若目标投票选项对应的投票数量较少,可以在领取界面中显示失败标识。Optionally, since the voting process is combined in the process of receiving the red envelope in this embodiment, the voting result may also be displayed in the receiving interface, and the voting result may be the final number of votes corresponding to each voting option. Optionally, if the target voting option is determined as the winner of the vote based on the number of votes, and the number of votes corresponding to the target voting option is large, the winning logo can be displayed in the claim interface. A failure sign is displayed in the claim interface.
可选的,若虚拟物品包对应两个投票选项,且每个投票选项对应的投票数量相同,可以从中随机选择一方作为获胜方,另一方为失败方,或默认选项一为获胜方,选项二为失败方,投票选项是选项一还是选项二由虚拟物品包对应发布方进行设置。Optionally, if the virtual item package corresponds to two voting options, and each voting option corresponds to the same number of votes, one of them can be randomly selected as the winner and the other as the loser, or the default option 1 is the winner and option 2 For the loser, whether the voting option is option one or option two is set by the corresponding publisher of the virtual item package.
可选的,虚拟物品包对应的虚拟物品可以是虚拟货币、资金、基金、股份、游戏装备、游戏材料、游戏宠物、游戏币、图标、会员、称号、增值业务、积分、元宝、金豆、礼金券、兑换券、优惠券、贺卡、金钱等等。Optionally, the virtual items corresponding to the virtual item package may be virtual currency, funds, funds, shares, game equipment, game materials, game pets, game coins, icons, members, titles, value-added services, points, ingots, golden beans, Gift certificates, vouchers, coupons, greeting cards, money, and more.
可选的,不同投票结果方对应的虚拟物品可以相同,也可以不同,具体设置方式可以参考下文中虚拟物品包的发布过程,本实施例在此不做赘述。Optionally, virtual items corresponding to parties with different voting results may be the same or different. For the specific setting method, refer to the publishing process of the virtual item package below, which will not be repeated in this embodiment.
综上所述,本申请实施例中,通过将虚拟物品包的领取过程与投票过程相结合,使得虚拟物品包具备虚拟物品领取功能和投票功能,从而不仅丰富了虚拟物品包的功能,而且由于只需生成一个虚拟物品包即可完成领取和投票,相比于生成仅用于进行领取和仅用于进行投票的两个虚拟物品包,本申请还可以减少所生成的虚拟物品包的数量,从而节约生成虚拟物品包时所耗费的电力、运算资源。在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果,从而节约了督促用户参与投票所耗费的电力、运算等资源。To sum up, in the embodiment of the present application, by combining the process of collecting the virtual item package with the voting process, the virtual item package has the function of collecting virtual items and the function of voting, which not only enriches the functions of the virtual item package, but also increases the It is only necessary to generate one virtual item package to complete the collection and voting. Compared with generating two virtual item packages only for collection and only for voting, the application can also reduce the number of generated virtual item packages. Thus, the power and computing resources consumed when generating the virtual item package are saved. During the collection process, users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages. . At the same time, users can actively participate in voting by distributing virtual items, so that the publisher corresponding to the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
上文实施例中介绍了虚拟物品包的领取过程,本实施例中着重介绍虚拟物品包的发布过程。在一个示例性的例子中,如图4所示,其示出了本申请一个示例性实施例提供的虚拟物品包发布方法的流程图,以该方法的执行主体为图1所示出的第一终端110来举例说明。该方法包括:The process of receiving the virtual item package is introduced in the above embodiment, and the present embodiment focuses on the process of releasing the virtual item package. In an exemplary example, as shown in FIG. 4 , it shows a flowchart of a method for publishing a virtual item package provided by an exemplary embodiment of the present application, and the execution body of the method is the first method shown in FIG. 1 . A terminal 110 is exemplified. The method includes:
步骤401,显示虚拟物品包对应的发布界面。 Step 401, displaying a release interface corresponding to the virtual item package.
其中,发布界面用于配置虚拟物品包对应的参数信息,以便后续可以基于该参数信息生成对应的虚拟物品包。The publishing interface is used to configure parameter information corresponding to the virtual item package, so that a corresponding virtual item package can be generated based on the parameter information subsequently.
可选的,具有虚拟物品包发布功能的应用程序可以是:即时通讯类应用程序、直播类应用程序、社交类应用程序、游戏类应用程序,本申请实施例对此不构成限定。Optionally, the applications having the function of publishing virtual item packages may be: instant messaging applications, live broadcasting applications, social networking applications, and game applications, which are not limited in the embodiments of the present application.
在一种可能的实施方式中,若用户具有虚拟物品包的发布需求,通过在应用程序界面中点击虚拟物品包对应的选择控件,终端对应呼出虚拟物品包对应的发布界面。In a possible implementation, if the user has a release requirement for the virtual item package, the terminal can call out the release interface corresponding to the virtual item package by clicking the selection control corresponding to the virtual item package in the application program interface.
如图5所示,其示出了本申请一个示例性实施例示出的虚拟物品包发布过程的示意图。在目标群组对应的群组消息界面中,显示有红包控件501,当用户点击红包控件501后,终端接收到对红包控件501的触发操作,可以显示包含至少一种红包的红包选择界面,在红包选择界面中用户可以点击PK红包502,终端接收到对PK红包502的触发操作,显示PK红包502对应的发布界面503,用户可以在发布界面503中配置PK红包502对应的各个参数信息,比如,红包金额、红包主题、红包选项(投票选项)、胜方奖励以及败方奖励等。As shown in FIG. 5 , it shows a schematic diagram of a publishing process of a virtual item package shown in an exemplary embodiment of the present application. In the group message interface corresponding to the target group, a red envelope control 501 is displayed. After the user clicks on the red envelope control 501, the terminal receives a trigger operation on the red envelope control 501, and can display a red envelope selection interface containing at least one red envelope. In the red envelope selection interface, the user can click on the PK red envelope 502, the terminal receives the trigger operation on the PK red envelope 502, and displays the release interface 503 corresponding to the PK red envelope 502. The user can configure the various parameter information corresponding to the PK red envelope 502 in the release interface 503, such as , red envelope amount, red envelope theme, red envelope options (voting options), winner's reward and loser's reward, etc.
步骤402,响应于发布界面内的配置操作,获取虚拟物品包对应的参数信息,参数信息包括虚拟物品包对应的至少两个投票选项和虚拟物品;参数信息用于对虚拟物品包进行配置。 Step 402, in response to the configuration operation in the publishing interface, obtain parameter information corresponding to the virtual item package, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used to configure the virtual item package.
由于本实施例中的虚拟物品包还具有投票功能,因此,在一种可能的实施方式中,在发布界面配置虚拟物品包对应的参数信息时,不仅需要配置虚拟物品包对应的虚拟物品信息,还需要配置虚拟物品包对应的投票信息,比如,至少两个投票选项。Since the virtual item package in this embodiment also has a voting function, in a possible implementation, when configuring the parameter information corresponding to the virtual item package on the publishing interface, it is not only necessary to configure the virtual item information corresponding to the virtual item package, but also It is also necessary to configure the voting information corresponding to the virtual item package, for example, at least two voting options.
可选的,投票信息还可以包括投票主题,投票主题与投票选项具有相关性。若用户设置有该投票主题,可以将投票主题显示在虚拟物品包上,以提示其他用户投票活动的主题,若用户对该投票主题感兴趣,可以点击虚拟物品包参与投票,若不感兴趣,可以直接忽略该虚拟物品包。Optionally, the voting information may further include a voting topic, and the voting topic is related to the voting option. If the user has set the voting theme, the voting theme can be displayed on the virtual item package to prompt other users to vote on the theme of the event. If the user is interested in the voting theme, he can click the virtual item package to participate in the voting. Just ignore the virtual item pack.
可选的,投票主题可以由虚拟物品包对应发布方自行设置,比如,设置自己感兴趣的主题;或由应用程序提供可选主题,由发布方进行选择。Optionally, the voting topic can be set by the publisher corresponding to the virtual item package, for example, by setting a topic of interest; or an optional topic can be provided by the application, and the publisher can choose.
可选的,应用程序中可以预先存储有多组投票主题和其对应的投票选项,若用户选择目标投票主题,可以自动在发布界面上填充与该目标投票主题所关联的投票选项。Optionally, a plurality of groups of voting topics and their corresponding voting options may be pre-stored in the application. If the user selects a target voting topic, voting options associated with the target voting topic may be automatically filled in the publishing interface.
由于本实施例中提供的虚拟物品包对应的领取结果是与投票结果挂钩的,因此,虚拟物品包的参数信息还可以包括虚拟物品分配策略,该虚拟物品分配策略用于指示投票结果方与虚拟物品之间的关系。Since the collection result corresponding to the virtual item package provided in this embodiment is linked to the voting result, the parameter information of the virtual item package may further include a virtual item distribution strategy, and the virtual item distribution policy is used to indicate the voting result party and the virtual item distribution strategy. relationship between items.
其中,虚拟物品分配策略指示投票结果方与虚拟物品之间的对应关系,由于虚拟物品包在设置时无法预先得到投票结果,也就无法直接就投票选项设置其对应的虚拟物品,因此,预先设置有投票结果方和虚拟物品之间的对应关系,再由投票结果来确定投票选项和投票结果方之间的对应关系,从而在投票结束后, 间接确定各个投票选项对应的虚拟物品。Among them, the virtual item allocation strategy indicates the corresponding relationship between the voting result party and the virtual item. Since the virtual item package cannot obtain the voting result in advance, it is impossible to directly set the corresponding virtual item for the voting option. Therefore, the preset There is a corresponding relationship between the voting result party and the virtual item, and then the voting result determines the corresponding relationship between the voting option and the voting result party, so that after the voting is over, the virtual item corresponding to each voting option is indirectly determined.
在一种可能的实施方式中,可以基于投票结果中各个投票选项对应的投票数量,确定各个投票结果方所对应的投票选项,示意性的,设置有三个投票选项,对应设置有第一投票结果方、第二投票结果方和第三投票结果方,终端通过投票结果指示的各个投票选项对应的投票数量排序,来确定各个投票结果方对应的投票选项,若投票选项A对应的投票数量为17,投票选项B对应的投票数量为20,投票选项C对应的投票数量为10,按照投票数量排序为投票选项B>投票选项A>投票选项C,可以得到,第一投票结果方为投票选项B,第二投票结果方为投票选项A,第三投票结果方为投票选项C。In a possible implementation manner, the voting option corresponding to each voting result party may be determined based on the number of votes corresponding to each voting option in the voting result. Illustratively, three voting options are set, and the first voting result is correspondingly set. Party, the second voting result party and the third voting result party, the terminal determines the voting option corresponding to each voting result party by sorting the voting numbers corresponding to each voting option indicated by the voting result, if the voting number corresponding to voting option A is 17 , the number of votes corresponding to voting option B is 20, and the number of votes corresponding to voting option C is 10. According to the number of votes, the order is voting option B > voting option A > voting option C. It can be obtained that the first voting result is voting option B , the second voting result is voting option A, and the third voting result is voting option C.
基于上述投票结果与投票结果方之间的关系,用户可以自定义不同投票结果方对应的虚拟物品,其中,不同投票结果方对应的虚拟物品可以相同,也可以不相同,若不同投票结果方对应的虚拟物品相同,则多个投票结果方瓜分同一虚拟物品。Based on the relationship between the above voting results and the voting result parties, the user can customize the virtual items corresponding to different voting result parties, wherein the virtual items corresponding to different voting result parties may be the same or different. If the virtual items are the same, multiple voting result parties will share the same virtual item.
步骤403,响应于对虚拟物品包的发布操作,发布已配置的虚拟物品包。 Step 403, in response to the publishing operation on the virtual item package, publish the configured virtual item package.
在一种可能的实施方式中,虚拟物品包对应的配置界面中显示有发布控件,当虚拟物品包对应发布方在发布界面中完成对虚拟物品包的配置操作,对应终端获取到各个有效的参数信息时,发布方可以点击该发布控件,从而对应终端接收到对虚拟物品包的发布操作,可以发布该已配置的虚拟物品包。In a possible implementation, a configuration interface corresponding to the virtual item package displays a publishing control, and when the publisher corresponding to the virtual item package completes the configuration operation for the virtual item package in the publishing interface, the corresponding terminal obtains each valid parameter When the information is displayed, the publisher can click the publishing control, so that the corresponding terminal receives the publishing operation for the virtual item package, and can publish the configured virtual item package.
如图5所示,以将虚拟物品包发布至目标群组进行示例性说明,当用户在发布界面503中输入对应的红包金额、主题、选项、奖励等参数信息后,可以点击发布控件504,终端接收到对发布控件504的触发操作,可以将PK红包发布至目标群组,对应的,目标群组的群组消息界面中显示有PK红包505。As shown in FIG. 5 , an exemplary illustration is made by publishing the virtual item package to the target group. When the user enters the corresponding red packet amount, theme, options, rewards and other parameter information in the publishing interface 503, the user can click the publishing control 504. The terminal receives the trigger operation on the publishing control 504, and can publish the PK red packet to the target group. Correspondingly, the PK red packet 505 is displayed in the group message interface of the target group.
可选的,虚拟物品包的发布场景不同,虚拟物品包的发布位置存在差异,比如,若在社交类应用程序中发布虚拟物品包,可以将虚拟物品包发布在发布方对应社交主页中,或将虚拟物品包发布在有发布方加入的目标群组中,或将虚拟物品包发布在目标会话界面中,或将虚拟物品包发布在朋友圈、社交空间中;若应用场景为直播场景,可以将虚拟物品包发布在发布方对应的直播界面中;若应用场景为短视频场景,可以将虚拟物品包发布在发布方对应的短视频界面中。Optionally, the release scenarios of the virtual item package are different, and the release location of the virtual item package is different. For example, if the virtual item package is published in a social application, the virtual item package can be published on the corresponding social home page of the publisher, or Publish the virtual item package in the target group joined by the publisher, or publish the virtual item package in the target conversation interface, or publish the virtual item package in the circle of friends and social space; if the application scenario is a live broadcast scenario, you can Publish the virtual item package on the live broadcast interface corresponding to the publisher; if the application scenario is a short video scene, the virtual item package can be published on the short video interface corresponding to the publisher.
可选的,以虚拟物品包的发布位置为目标群组为例,发布虚拟物品包的过程可以为:发布方所在客户端接收到对虚拟物品包的发布操作,将虚拟物品包对应的发布方标识、参数信息和接收方标识发送至后台服务器,后台服务器接收到虚拟物品包对应的发布请求,该发布请求中即包含发布方标识、参数信息和接收方标识等信息,基于该接收方标识将虚拟物品包发送至各个接收方所在客户端,从而各个接收方对应群组消息界面中显示有该虚拟物品包。Optionally, taking the publishing location of the virtual item package as the target group as an example, the process of publishing the virtual item package may be as follows: the client where the publisher is located receives the publishing operation for the virtual item package, and the publisher corresponding to the virtual item package The ID, parameter information and recipient ID are sent to the backend server, and the backend server receives the release request corresponding to the virtual item package, and the release request includes the issuer ID, parameter information, recipient ID and other information. The virtual item package is sent to the client where each receiver is located, so that the virtual item package is displayed in the corresponding group message interface of each receiver.
综上所述,本申请实施例中,提供有虚拟物品包对应的发布界面,使得用户可以在发布界面中对虚拟物品包对应的参数信息进行配置,由于该参数信息中包含投票选项和虚拟物品,使得基于该参数信息生成的虚拟物品包具备虚拟物品领取功能的同时还具备投票功能。由于可通过同一发布界面同时对投票选项和虚拟物品进行配置,相比于通过不同的发布界面分别对投票选项和虚拟物品进行配置,本申请可减少所生成的发布界面的数量,从而节约生成发布界面时所耗费的电力、运算资源。在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果,从而节约了督促用户参与投票所耗费的电力、运算等资源。To sum up, in the embodiment of the present application, a publishing interface corresponding to the virtual item package is provided, so that the user can configure the parameter information corresponding to the virtual item package in the publishing interface, because the parameter information includes voting options and virtual items. , so that the virtual item package generated based on the parameter information has the function of collecting virtual items and also has the function of voting. Since voting options and virtual items can be configured simultaneously through the same publishing interface, the present application can reduce the number of generated publishing interfaces, thereby saving generation and publishing, compared to configuring voting options and virtual items through different publishing interfaces. The power and computing resources consumed by the interface. During the collection process, users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages. . At the same time, users can actively participate in voting by issuing virtual items, so that the corresponding publisher of the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
在一种可能的实施方式中,为了方便用户对虚拟物品包进行参数配置,虚拟物品包对应的发布界面中设置有各个参数信息对应的设置控件,以便用户基于各个设置控件的提示进行参数配置。In a possible implementation, in order to facilitate the user to configure parameters for the virtual item package, setting controls corresponding to each parameter information are set in the publishing interface corresponding to the virtual item package, so that the user can perform parameter configuration based on the prompts of each setting control.
如图6所示,其示出了本申请另一个示例性实施例提供的虚拟物品包发布方法的流程图,以该方法的执行主体为图1所示出的第一终端110来举例说明。该方法包括:As shown in FIG. 6 , it shows a flow chart of a method for publishing a virtual item package provided by another exemplary embodiment of the present application, and the execution subject of the method is the first terminal 110 shown in FIG. 1 as an example. The method includes:
步骤601,显示虚拟物品包对应的发布界面。 Step 601, displaying a release interface corresponding to the virtual item package.
步骤601的实施方式可以参考上文实施例,本实施例在此不做赘述。For the implementation of step 601, reference may be made to the above embodiments, and details are not described herein in this embodiment.
步骤602,通过发布界面内的投票选项设置控件,获取设置的至少两个投票选项。Step 602: Acquire at least two set voting options through the voting option setting control in the publishing interface.
其中,发布界面中设置有投票选项设置控件,该投票选项设置控件可以是输入控件,需要用户输入对应的投票选项(或投票内容),该投票选项设置控件也可以是选择控件,用户可以在提供的多个候选投票选项中选择投票选项。Wherein, a voting option setting control is set in the publishing interface, and the voting option setting control may be an input control, which requires the user to input the corresponding voting option (or voting content), and the voting option setting control may also be a selection control, and the user can provide Select the voting option from among the multiple candidate voting options.
在一种可能的实施方式中,以虚拟物品包对应两个投票选项为例,发布界面中设置有两个投票选项分别对应的投票选项设置控件,以投票选项设置控件为输入控件为例,当用户点击该投票选项设置控件时,可以手动或语音输入投票选项,对应的,终端接收到对投票选项的设置操作,获取到设置的至少两个投票选项。In a possible implementation, taking the virtual item package corresponding to two voting options as an example, the publishing interface is provided with voting option setting controls corresponding to the two voting options respectively. Taking the voting option setting control as an input control as an example, when When the user clicks the voting option setting control, the voting option can be entered manually or by voice. Correspondingly, the terminal receives the setting operation for the voting option, and obtains at least two voting options set.
可选的,终端可以将获取到的投票选项显示在发布界面中,以便用户确认投票选项是否输入有误。Optionally, the terminal may display the obtained voting options on the publishing interface, so that the user can confirm whether the voting options are entered incorrectly.
可选的,在进行投票活动时,投票选项一般是对某个主题信息的可选观点,因此,在一种可能的实施 方式中,用户也可以在发布界面中定义本次投票活动对应的投票主题,对应发布界面中设置有投票主题设置控件,用户可以通过该投票主题设置控件设置对应的投票主题,终端对应获取到设置的投票主题。Optionally, when conducting voting activities, voting options are generally optional opinions on a certain topic information. Therefore, in a possible implementation, the user can also define the voting corresponding to this voting activity in the publishing interface. Topic, a voting topic setting control is set in the corresponding publishing interface. The user can set the corresponding voting topic through the voting topic setting control, and the terminal correspondingly obtains the set voting topic.
可选的,与投票选项设置控件类似,投票主题设置控件也可以是输入控件或选择控件,用户可以自定义投票主题,也可以在发布界面所提供的候选主题中选择投票主题,本申请实施例对此不构成限定。Optionally, similar to the voting option setting control, the voting theme setting control can also be an input control or a selection control. The user can customize the voting theme, and can also select the voting theme from the candidate themes provided in the publishing interface. The embodiment of the present application This does not constitute a limitation.
如图5所示,发布界面503中显示有PK红包对应的投票选项设置控件508,用户可以点击该投票选项设置控件508,输入对应的投票选项,对应终端可以接收到虚拟物品包对应的至少两个投票选项(比如,投票选项一:线上购物和投票选项二:线下购物);可选的,发布界面503中还显示有投票主题设置控件507,用户可以点击投票主题设置控件507,输入PK红包对应的主题信息,对应终端获取到PK红包对应的主题信息(最喜欢的购物方式)。As shown in FIG. 5 , a voting option setting control 508 corresponding to the PK red envelope is displayed in the publishing interface 503. The user can click the voting option setting control 508 to input the corresponding voting option, and the corresponding terminal can receive at least two corresponding virtual item packages. voting options (for example, voting option 1: online shopping and voting option 2: offline shopping); optionally, a voting theme setting control 507 is also displayed in the publishing interface 503, and the user can click the voting theme setting control 507 and enter The theme information corresponding to the PK red envelope, and the corresponding terminal obtains the theme information corresponding to the PK red envelope (favorite shopping method).
步骤603,通过发布界面内的物品设置控件,获取设置的虚拟物品的物品类型和物品数量。Step 603: Obtain the item type and item quantity of the set virtual item through the item setting control in the publishing interface.
其中,发布界面中设置有物品设置控件;由于本实施例中的虚拟物品包括两个属性,一个是物品类型,一个是物品数量,可选的,发布界面中可以提供有物品类型对应的类型设置控件,以及物品数量对应的数量设置控件。Among them, an item setting control is set in the publishing interface; since the virtual item in this embodiment includes two attributes, one is the item type and the other is the item quantity, optionally, the publishing interface can provide the type setting corresponding to the item type controls, and the quantity setting controls corresponding to the number of items.
在一种可能的实施方式中,当用户触发物品设置控件时,可以选择该虚拟物品包所对应的至少一类虚拟物品,和各个虚拟物品对应的物品数量。In a possible implementation manner, when the user triggers the item setting control, at least one type of virtual item corresponding to the virtual item package and the item quantity corresponding to each virtual item can be selected.
如图5所示,发布界面503中设置有物品设置控件506,用户可以点击物品设置控件506,设置PK红包对应的红包金额,对应终端获取到PK红包对应的红包金额为200元。As shown in FIG. 5 , the publishing interface 503 is provided with an item setting control 506. The user can click the item setting control 506 to set the amount of the red packet corresponding to the PK red packet, and the corresponding red packet amount corresponding to the PK red packet obtained by the terminal is 200 yuan.
由于虚拟物品包的领取结果是基于投票结果来确定的,无法预先确定虚拟物品对应的物品数量(虚拟物品对应的物品数量是由最终各个投票选项的投票数量决定的),为了避免在虚拟物品包进行领取过程中,存在虚拟物品数量少于投票数量的情况,因此,在一种可能的实施方式中,需要对获取到物品数量进行提前校验,以保证物品数量不低于最低数量阈值。Since the collection result of the virtual item package is determined based on the voting result, the number of items corresponding to the virtual item cannot be determined in advance (the number of items corresponding to the virtual item is determined by the number of votes for each final voting option). During the collection process, there is a situation that the number of virtual items is less than the number of votes. Therefore, in a possible implementation, the number of acquired items needs to be checked in advance to ensure that the number of items is not lower than the minimum quantity threshold.
由于只需通过对发布界面内的投票选项设置控件和物品设置控件进行简单操作,即可获取设置的至少两个投票选项、设置的虚拟物品的物品类型和物品数量,因此,节约了获取至少两个投票选项、虚拟物品的物品类型和物品数量时所耗费的电力资源。Since at least two set voting options, the set item type and item quantity of the virtual item can be obtained by simply operating the voting option setting control and the item setting control in the publishing interface, it saves the cost of obtaining at least two voting options. Power resources used to select voting options, item type and quantity of virtual items.
在一个示例性的例子中,在图6的基础上,如图7所示,步骤603可以包括步骤603A和步骤603B。In an exemplary example, on the basis of FIG. 6 , as shown in FIG. 7 , step 603 may include step 603A and step 603B.
步骤603A,通过发布界面内的物品设置控件,获取数量阈值和设置的物品数量。 Step 603A: Obtain the quantity threshold and the set quantity of items through the item setting control in the publishing interface.
在一种可能的实施方式中,以物品设置控件为输入控件为例,若用户触发该物品设置控件,输入对应物品数量,对应的,终端接收到设置的物品数量,并对该物品数量进行校验。In a possible implementation, taking the item setting control as an input control as an example, if the user triggers the item setting control and inputs the corresponding item quantity, correspondingly, the terminal receives the set item quantity and corrects the item quantity. test.
步骤603B,响应于物品数量低于数量阈值,显示提示信息。 Step 603B, in response to the item quantity being lower than the quantity threshold, displaying a prompt message.
其中,数量阈值根据物品最低领取数量、投票总数以及目标群组的群组规模中的至少一种确定得到。比如,数量阈值由物品最低领取数量和投票总数确定,或,数量阈值由物品最低领取数量和目标群组的群组规模确定。The quantity threshold is determined according to at least one of the minimum collection quantity of items, the total number of votes, and the group size of the target group. For example, the quantity threshold is determined by the minimum collection quantity of the item and the total number of votes, or the quantity threshold is determined by the minimum collection quantity of the item and the group size of the target group.
其中,最低领取数量指示单个参与用户对应最低领取值,以虚拟物品为虚拟货币为例,其对应的最低领取数量可以为0.01元。可选的,最低领取数量可以由开发人员预先设置,也可以由用户自定义设置,但是用户自定义设置的最低领取数量需要不低于开发人员预先设置的最低领取数量。Among them, the minimum claim quantity indicates the minimum claim value corresponding to a single participating user. Taking the virtual item as virtual currency as an example, the corresponding minimum claim quantity may be 0.01 yuan. Optionally, the minimum claim quantity can be preset by the developer or set by the user, but the minimum claim quantity set by the user needs to be no less than the minimum claim quantity preset by the developer.
可选的,不同虚拟物品对应的最低领取数量可以不同,比如,虚拟货币对应的最低领取数量可以为0.01元,点券对应的最低领取数量可以为50点券。Optionally, the minimum collection quantity corresponding to different virtual items may be different. For example, the minimum collection quantity corresponding to virtual currency may be 0.01 yuan, and the minimum collection quantity corresponding to point coupons may be 50 points.
投票总数指虚拟物品包对应的最大投票数量,该投票数量可以由虚拟物品包对应的发起方进行设置,对应在虚拟物品包对应的发布界面中提供有投票总数设置控件,通过对投票总数设置控件的设置操作,获取设置的投票总数。群组规模是指群组所包括的用户数量。The total number of votes refers to the maximum number of votes corresponding to the virtual item package. The number of votes can be set by the initiator corresponding to the virtual item package. Correspondingly, a total number of votes setting controls are provided in the publishing interface corresponding to the virtual item package. By setting the control for the total number of votes The set operation to get the total number of votes for the set. Group size refers to the number of users included in the group.
由于在确定物品数量低于数量阈值时,会显示提示信息,可基于该提示信息提示用户修改所设置的物品数量,从而减少因设置的物品数量不足而导致虚拟物品领取失败的概率。此外,通过在确定物品数量低于数量阈值时,才显示提示信息,可减少随意显示提示信息时所耗费的电力资源。Since a prompt message is displayed when it is determined that the number of items is lower than the quantity threshold, the user can be prompted to modify the set item quantity based on the prompt information, thereby reducing the probability of failure to receive virtual items due to insufficient set item quantity. In addition, by displaying the prompt information only when it is determined that the number of items is lower than the quantity threshold, the power resources consumed when the prompt information is displayed arbitrarily can be reduced.
在一种可能的实施方式中,当用户在虚拟物品包对应的发布界面中设置好该虚拟物品包对应的投票总数时,终端可以基于该投票总数和最低领取数量,确定出虚拟物品包当前对应的数量阈值。In a possible implementation, when the user sets the total number of votes corresponding to the virtual item package in the publishing interface corresponding to the virtual item package, the terminal may determine the current corresponding to the virtual item package based on the total number of votes and the minimum number of receipts. number of thresholds.
其中,数量阈值、投票总数和最低领取数量之间的关系可以表示为:数量阈值=最低领取数量*投票总数。示例性的,若投票总数为50,最低领取数量为0.01元,对应的数量阈值为0.5元。Among them, the relationship between the quantity threshold, the total number of votes and the minimum number of votes can be expressed as: quantity threshold = minimum number of votes * total number of votes. Exemplarily, if the total number of votes is 50, the minimum claim amount is 0.01 yuan, and the corresponding quantity threshold is 0.5 yuan.
由于虚拟物品包是发布于目标群组中,假设目标群组中的全部成员均参与该虚拟物品包的领取活动,且全部成员均领取同一虚拟物品,就需要保证虚拟物品对应的物品数量可以分给全部成员,因此,在一种可能的实施方式中,基于目标群组对应的群组规模和最低领取数量确定数量阈值,其中,目标群组对应的群组规模可以是目标群组中包含的群组人数。Since the virtual item package is published in the target group, assuming that all members in the target group participate in the collection of the virtual item package, and all members receive the same virtual item, it is necessary to ensure that the number of items corresponding to the virtual item can be divided into groups. For all members, therefore, in a possible implementation manner, the quantity threshold is determined based on the group size corresponding to the target group and the minimum claim quantity, wherein the group size corresponding to the target group may be included in the target group group size.
其中,目标群组的群组规模、最低领取数量以及数量阈值之间的关系可以表示为:数量阈值=最低领 取数量*群组规模。示例性的,群组规模指示目标群组中包含60个成员,最低领取数量为0.01元,对应的,数量阈值为0.6元。Among them, the relationship between the group size of the target group, the minimum collection quantity and the quantity threshold can be expressed as: quantity threshold=minimum collection quantity*group size. Exemplarily, the group size indicates that the target group includes 60 members, the minimum claim amount is 0.01 yuan, and correspondingly, the quantity threshold is 0.6 yuan.
可选的,针对上述两种确定数量阈值的方式,若用户在发布界面中设置有投票总数,则优先选择投票总数作为确定数量阈值的因素,若用户并未在发布界面中设置投票总数,则默认采用目标群组对应的群组规模作为确定数量阈值的因素。Optionally, for the above two methods of determining the number threshold, if the user has set the total number of votes in the publishing interface, the total number of votes is preferentially selected as the factor for determining the number threshold. If the user does not set the total number of votes in the publishing interface, then By default, the group size corresponding to the target group is used as the factor for determining the number threshold.
在一种可能的实施方式中,当用户通过发布界面内的物品设置控件进行物品数量设置时,终端获取到设置操作对应的物品数量,并将该物品数量与数量阈值进行比较,若判断出物品数量低于数量阈值,则在发布界面上层显示提示信息,该提示信息用于提示用户需要设置的最低数量阈值;若确定出物品数量高于数量阈值,则不会显示提示信息,确定物品数量校验通过。In a possible implementation, when the user sets the item quantity through the item setting control in the publishing interface, the terminal obtains the item quantity corresponding to the setting operation, and compares the item quantity with the quantity threshold. If the quantity is lower than the quantity threshold, prompt information will be displayed on the upper layer of the publishing interface, and the prompt information will be used to remind the user of the minimum quantity threshold that needs to be set; Pass the test.
可选的,也可以直接将该数量阈值显示在物品设置控件处,以便用户可以在设置之前就获取到对应的数量阈值,避免用户需要重复进行输入操作,提高参数信息的配置效率。Optionally, the quantity threshold can also be directly displayed on the item setting control, so that the user can obtain the corresponding quantity threshold before setting, avoiding the need for the user to repeat the input operation, and improving the configuration efficiency of the parameter information.
可选的,基于虚拟物品在线上转移过程中安全性的考虑,虚拟物品对应的物品数量也可能存在最大数量阈值,对应的,在获取到设置的物品数量时,物品数量需要位于最小数量阈值和最大数量阈值之间。其中,最大数量阈值可以由开发人员进行设置,不同虚拟物品对应的最大数量阈值可以不同,比如,红包金额对应的最大数量阈值可以是2000元。Optionally, based on the consideration of security during the online transfer of virtual items, there may also be a maximum quantity threshold for the number of items corresponding to virtual items. between the maximum number thresholds. The maximum quantity threshold may be set by the developer, and the maximum quantity threshold corresponding to different virtual items may be different. For example, the maximum quantity threshold corresponding to the red envelope amount may be 2,000 yuan.
如图8所示,其示出了本申请一个示例性实施例示出的物品数量的设置过程示意图。发布界面801中显示有物品数量设置控件802,用户点击物品数量设置控件802,输入物品数量,终端获取到物品数量后,若确定出物品数量低于数量阈值,在发布界面801上层弹出提示信息803,以提示最低物品金额。As shown in FIG. 8 , it shows a schematic diagram of a process of setting the number of items shown in an exemplary embodiment of the present application. An item quantity setting control 802 is displayed in the publishing interface 801. The user clicks the item quantity setting control 802, and inputs the item quantity. After the terminal obtains the item quantity, if it is determined that the item quantity is lower than the quantity threshold, a prompt message 803 will pop up on the upper layer of the publishing interface 801. , to indicate the minimum item amount.
步骤604,响应于对发布界面内投票结果方的触发操作,显示投票结果方对应的至少一种候选虚拟物品。 Step 604, in response to the triggering operation on the voting result party in the publishing interface, display at least one candidate virtual item corresponding to the voting result party.
由于本实施例中提供的虚拟物品包的领取结果与投票结果有关,而发布方在配置虚拟物品包时,无法预先得到投票结果,也就无法直接就投票选项设置其对应的虚拟物品,因此,为了使得后续可以基于投票结果确定领取结果,发布方需要对应设置虚拟物品分配策略,即虚拟物品包对应的参数信息还包括虚拟物品分配策略,该虚拟物品分配策略为投票结果方与虚拟物品之间的对应关系。Since the collection result of the virtual item package provided in this embodiment is related to the voting result, and the publisher cannot obtain the voting result in advance when configuring the virtual item package, and cannot directly set the corresponding virtual item for the voting option, therefore, In order to make the subsequent determination of the collection result based on the voting result, the publisher needs to set a corresponding virtual item distribution strategy, that is, the parameter information corresponding to the virtual item package also includes the virtual item distribution policy, and the virtual item distribution policy is between the voting result party and the virtual item. corresponding relationship.
其中,发布界面内设置有策略设置控件,由于虚拟物品分配策略指示投票结果方与虚拟物品之间的对应关系,对应可以为不同投票结果方分别设置对应的策略设置控件,以便用户分别设置不同投票结果方对应的虚拟物品。其中,投票结果方对应的个数与投票选项的个数可以相同,也可以不同。比如,当投票选项1为“线上购物”、投票选项2为“线下购物”时,可设置两个投票结果方:胜方和败方,且设置胜方奖励为“红包”、败方奖励为“优惠券”。当基于投票结果确定胜方为选择投票选项1的用户,败方为选择投票选项2的用户时,即可向选择投票选项1的用户发放“红包”,向选择投票选项2的用户发放“优惠券”。又比如,当投票选项1为“线上购物”、投票选项2为“线下购物”、投票选项2为“不购物”时,也可设置两个投票结果方:胜方和败方,且设置胜方奖励为“红包”、败方奖励为“优惠券”。当基于投票结果确定大部分用户选择投票选项1时,可确定胜方为选择投票选项1的用户,败方为选择投票选项2和3的用户,从而可向选择投票选项1的用户发放“红包”,向选择投票选项2和3的用户发放“优惠券”。Among them, a policy setting control is set in the publishing interface. Since the virtual item allocation policy indicates the corresponding relationship between the voting result party and the virtual item, corresponding policy setting controls can be set for different voting result parties respectively, so that users can set different votes respectively. The virtual item corresponding to the result party. The number corresponding to the voting result party and the number of voting options may be the same or different. For example, when voting option 1 is "online shopping" and voting option 2 is "offline shopping", two voting result parties can be set: the winner and the loser, and the winner's reward is set as "red envelope", the loser Rewards are "coupons". When it is determined based on the voting results that the winner is the user who chooses voting option 1 and the loser is the user who chooses voting option 2, the “red envelope” can be distributed to the user who chooses voting option 1, and the “discount” can be issued to the user who chooses voting option 2 coupon". For another example, when voting option 1 is "online shopping", voting option 2 is "offline shopping", and voting option 2 is "no shopping", two voting result parties can also be set: winner and loser, and Set the winner's reward as "red envelope" and the loser's reward as "coupon". When it is determined based on the voting results that most users choose voting option 1, it can be determined that the winner is the user who chooses voting option 1, and the loser is the user who chooses voting option 2 and 3, so that the user who chooses voting option 1 can be issued "red envelopes" ” to issue “coupons” to users who choose voting options 2 and 3.
可选的,策略设置控件可以是输入控件,也可以是选择控件,本实施例对此不够成限定。Optionally, the policy setting control may be an input control or a selection control, which is not limited in this embodiment.
如图5所示,发布界面503中显示有策略设置控件509,用户可以点击策略设置控件509,设置PK红包对应的虚拟物品包分配策略。As shown in FIG. 5 , a policy setting control 509 is displayed in the publishing interface 503 , and the user can click the policy setting control 509 to set the distribution policy of the virtual item package corresponding to the PK red packet.
在一种可能的实施方式中,用户可以通过发布界面内的策略设置控件,选择不同投票结果方分别对应的虚拟物品,对应的,终端获取到不同投票结果方和虚拟物品之间的对应关系,从而确定出虚拟物品包对应的虚拟物品分配策略。In a possible implementation, the user can select virtual items corresponding to different voting result parties through the policy setting control in the publishing interface. Correspondingly, the terminal obtains the correspondence between the different voting result parties and the virtual items, Thereby, the virtual item allocation strategy corresponding to the virtual item package is determined.
其中,虚拟物品包对应至少一种候选虚拟物品,不同虚拟物品包对应的候选虚拟物品可以不同,若虚拟物品包为电子红包,其对应的候选虚拟物品可以为虚拟货币、电子卡劵、优惠券等;若虚拟物品包为游戏礼包,其对应的候选虚拟物品可以是游戏币、虚拟道具等,本申请实施例对候选虚拟物品的物品种类不构成限定。The virtual item package corresponds to at least one candidate virtual item, and the candidate virtual items corresponding to different virtual item packages may be different. If the virtual item package is an electronic red envelope, the corresponding candidate virtual items may be virtual currency, electronic cards, and coupons. etc.; if the virtual item package is a game gift package, the corresponding candidate virtual items may be game coins, virtual items, etc., and the embodiment of the present application does not limit the item types of the candidate virtual items.
在一种可能的实施方式中,发布界面中设置有投票结果方对应的下拉控件,当用户点击该下拉控件后,终端接收到对发布界面内投票结果方的触发操作,可以显示该投票结果方对应的至少一种候选虚拟物品,以便用户选择其中的任意候选虚拟物品作为该投票结果方对应的虚拟物品。In a possible implementation, a drop-down control corresponding to the voting result party is set in the publishing interface. After the user clicks the drop-down control, the terminal receives a trigger operation on the voting result party in the publishing interface, and can display the voting result party. corresponding at least one candidate virtual item, so that the user can select any candidate virtual item as the virtual item corresponding to the voting result party.
可选的,不同投票结果方可以选择相同的虚拟物品,也可以选择不同的虚拟物品,本申请实施例对此不构成限定。Optionally, parties with different voting results may select the same virtual item, or may select different virtual items, which is not limited in this embodiment of the present application.
其中,若包含两个投票结果方(与两个投票选项对应),且用户设置两个投票结果方对应的虚拟物品相同,在投票结束时,基于虚拟物品分配策略和投票结果确定各个参与用户对应的领取结果时,需要基于投票选项对应的投票数量来确定两个投票结果方所分配到的物品数量。其中,默认投票结果指示的投票数 量较多的投票选项分配到的物品数量较多。示例性的,投票选项A对应的投票数量为10,投票选项B对应的投票数量为5,虚拟物品对应的物品数量为24,按照各个投票选项对应的投票数量分配该虚拟物品,对应的,投票选项A获得的虚拟物品数量与投票选项B获得的虚拟物品数量之间的比值可以为2:1,即投票选项A从虚拟物品中分配得到的物品数量为16,而投票选项B从虚拟物品中分配得到的物品数量为8。Among them, if there are two voting result parties (corresponding to the two voting options), and the user sets the virtual items corresponding to the two voting result parties to be the same, at the end of the voting, the corresponding virtual items are determined based on the virtual item distribution strategy and the voting results. When receiving the results, the number of items allocated by the two voting result parties needs to be determined based on the number of votes corresponding to the voting options. Among them, the voting option with the larger number of votes indicated by the default voting result is assigned the larger number of items. Exemplarily, the number of votes corresponding to voting option A is 10, the number of votes corresponding to voting option B is 5, and the number of items corresponding to the virtual item is 24, and the virtual item is allocated according to the number of votes corresponding to each voting option. The ratio between the number of virtual items obtained by option A and the number of virtual items obtained by voting option B can be 2:1, that is, the number of virtual items allocated by voting option A from the virtual items is 16, while the number of virtual items allocated by voting option B from the virtual The number of items allocated is 8.
以虚拟物品包为电子红包为例,一般候选虚拟物品为红包金额(由虚拟物品发布方提供),除红包金额之外的虚拟物品可以为点券、优惠券等,该点券和优惠券等虚拟物品可以由运营商提供,该运营商可以为应用程序的运营商,或者是在该应用平台中进行广告植入的运营商,本申请实施例对此不构成限定。Taking the virtual item package as an electronic red packet as an example, the general candidate virtual item is the red packet amount (provided by the virtual item issuer), and virtual items other than the red packet amount can be coupons, coupons, etc. The coupons and coupons, etc. The virtual item may be provided by an operator, and the operator may be an operator of an application program, or an operator that implants advertisements in the application platform, which is not limited in this embodiment of the present application.
步骤605,响应于对候选虚拟物品的选择操作,将选择操作所选中的候选虚拟物品作为目标虚拟物品,并将目标虚拟物品确定为投票结果方对应的虚拟物品。Step 605: In response to the selection operation on the candidate virtual item, the candidate virtual item selected by the selection operation is used as the target virtual item, and the target virtual item is determined as the virtual item corresponding to the voting result party.
在一种可能的实施方式中,用户可以在至少一个候选虚拟物品中进行选择,当终端接收到用户对候选虚拟物品中目标虚拟物品的选择操后,可以直接将该目标虚拟物品作为该投票结果方对应的虚拟物品。In a possible implementation, the user can select from at least one candidate virtual item, and when the terminal receives the user's selection operation on the target virtual item in the candidate virtual items, the target virtual item can be directly used as the voting result The corresponding virtual item.
如图9所示,其示出了本申请一个示例性实施例示出的虚拟物品分配策略的设置过程示意图。发布界面901中显示有投票结果方902,投票结果方902可包括有对应于胜方的投票结果方1,以及对应于败方的投票结果方2,当用户点击投票结果方902后,终端接收到对投票结果方902的触发操作,显示投票结果方902对应的至少一种候选虚拟物品,比如(优惠券、红包、金币礼包等);若用户选择候选虚拟物品中的红包,终端对应将红包确定为投票结果方902对应的虚拟物品。As shown in FIG. 9 , it shows a schematic diagram of the setting process of the virtual item allocation strategy shown in an exemplary embodiment of the present application. A voting result party 902 is displayed in the publishing interface 901. The voting result party 902 may include a voting result party 1 corresponding to the winning party and a voting result party 2 corresponding to the losing party. When the user clicks the voting result party 902, the terminal receives the voting result party 902. To the trigger operation on the voting result party 902, at least one candidate virtual item corresponding to the voting result party 902 is displayed, such as (coupons, red envelopes, gold coin gift packages, etc.); It is determined as the virtual item corresponding to the voting result party 902 .
由于仅需进行简单的触发操作和选择操作,即可配置虚拟物品分配策略,从而大大降低了虚拟物品分配策略的配置门槛,进而减少了虚拟物品分配策略配置错误的概率,节约了修正所配置的虚拟物品分配策略时耗费的电力、运算资源。Since only simple triggering and selection operations are required, the virtual item allocation strategy can be configured, thereby greatly reducing the configuration threshold of the virtual item allocation strategy, thereby reducing the probability of incorrect configuration of the virtual item allocation strategy, and saving the need to correct the configuration. The power and computing resources consumed by the virtual item allocation strategy.
可选的,虚拟物品包对应的参数信息还可以包括虚拟物品包对应的投票结束条件,也就是说,当虚拟物品包满足该投票结束条件时,可以基于投票结果和虚拟物品分配策略对虚拟物品包对应的虚拟物品进行分配。Optionally, the parameter information corresponding to the virtual item package may also include the voting end condition corresponding to the virtual item package, that is, when the virtual item package satisfies the voting end condition, the virtual item may be voted based on the voting result and the virtual item allocation strategy. The virtual items corresponding to the packages are allocated.
其中,该投票结束条件可以由开发人员进行预先设置,也可以由用户自行设置和调节。The voting ending condition may be preset by the developer, or may be set and adjusted by the user.
可选的,虚拟物品包对应的参数信息还包括虚拟物品包对应的投票结束条件,投票结束条件可以是投票总数达到数量阈值,也就是说,当该虚拟物品包被发布后,该虚拟物品包对应的投票总数达到该数量阈值后,确定投票结束,可以领取虚拟物品包对应的虚拟物品。示例性的,数量阈值可以是50。Optionally, the parameter information corresponding to the virtual item package further includes a voting end condition corresponding to the virtual item package, and the voting end condition may be that the total number of votes reaches the number threshold, that is, when the virtual item package is released, the virtual item package is released. After the corresponding total number of votes reaches the threshold, it is determined that the voting is over, and the virtual item corresponding to the virtual item package can be received. Exemplarily, the number threshold may be 50.
可选的,投票结束条件也可以是虚拟物品包的发布时长达到时长阈值,也就是说,当虚拟物品包被发布至目标群组后开始计时,当计时时长达到该时长阈值后,确定投票结束,已投票的用户可以领取虚拟物品包对应的虚拟物品。Optionally, the voting end condition may also be that the release duration of the virtual item package reaches the duration threshold, that is, the timing starts after the virtual item package is published to the target group, and when the timing duration reaches the duration threshold, it is determined that the voting is over. , users who have voted can receive virtual items corresponding to the virtual item package.
通过配置投票结束条件,可基于所配置的投票结束条件及时结束投票,从而节约了因未及时结束投票而耗费的电力资源。By configuring the voting ending condition, the voting can be ended in time based on the configured voting ending condition, thereby saving the power resources consumed by not ending the voting in time.
其中,时长阈值可以采用系统默认值,也可以由用户在发布界面进行设置,示例性的,时长阈值可以是2h。Wherein, the duration threshold may adopt a system default value, or may be set by the user on the publishing interface. For example, the duration threshold may be 2h.
在一个示例性的例子中,如图10所示,其示出了本申请一个示例性实施例示出的虚拟物品包对应参数信息(属性信息)示意图。本实施例中,红包属性包括:选项(投票选项)、金额(虚拟物品数量)、主题、胜方奖励、败方奖励;若选项包括选项一和选项二,则存储有选择选项一的用户ID,以及其获取的奖励;同理,存储有选择选项二的用户ID,以及获得的奖励;若用户发表有其他观点,则对应有各个用户ID对应的观点。In an exemplary example, as shown in FIG. 10 , it shows a schematic diagram of parameter information (attribute information) corresponding to the virtual item package shown in an exemplary embodiment of the present application. In this embodiment, the red envelope attributes include: option (voting option), amount (number of virtual items), theme, winner's reward, loser's reward; if the options include option 1 and option 2, the user ID for selecting option 1 is stored , and the reward obtained by it; similarly, the user ID of the second option is stored, as well as the reward obtained; if the user expresses other opinions, there are corresponding opinions corresponding to each user ID.
步骤606,响应于对虚拟物品包的发布操作,发布虚拟物品包。 Step 606, in response to the publishing operation on the virtual item package, publish the virtual item package.
步骤606的实施方式可以参考上文实施例,本实施例在此不做赘述。For the implementation of step 606, reference may be made to the above embodiments, and details are not described herein in this embodiment.
上述实施例中,通过在发布界面进行投票选项、虚拟物品对应的物品种类和物品数量、虚拟物品分配策略以及投票结束条件等参数信息的设置,可以获取到虚拟物品包对应的完整参数信息,以便在发布该虚拟物品包过程中,其他客户端可以基于该参数信息生成对应虚拟物品包,从而使得虚拟物品包具备投票功能和虚拟物品发放功能。In the above embodiment, by setting the parameter information such as voting options, item types and quantities corresponding to virtual items, virtual item allocation strategies, and voting end conditions on the publishing interface, the complete parameter information corresponding to the virtual item package can be obtained, so that the During the process of publishing the virtual item package, other clients can generate corresponding virtual item packages based on the parameter information, so that the virtual item package has a voting function and a virtual item distribution function.
由上述虚拟物品包的参数设置过程可知,虚拟物品包对应的参数信息和相关技术中的参数信息存在差异,本实施例中的虚拟物品包对应有投票选项、虚拟物品分配策略等参数,对应的,由于虚拟物品包参数信息的不同,虚拟物品包的领取过程也与相关技术中存在差异。It can be seen from the above parameter setting process of the virtual item package that there are differences between the parameter information corresponding to the virtual item package and the parameter information in the related art. The virtual item package in this embodiment corresponds to parameters such as voting options and virtual item allocation strategies. , due to the difference in the parameter information of the virtual item package, the receiving process of the virtual item package is also different from that in the related art.
如图11所示,其示出了本申请另一个示例性实施例提供的虚拟物品领取方法的流程图。以该方法的执行主体为图1所示出的第二终端130来举例说明,该方法包括:As shown in FIG. 11 , it shows a flowchart of a method for claiming a virtual item provided by another exemplary embodiment of the present application. Taking the execution subject of the method as the second terminal 130 shown in FIG. 1 as an example, the method includes:
步骤1101,若投票未结束,则响应于对虚拟物品包的触发操作,显示虚拟物品包对应的投票界面。 Step 1101 , if the voting has not ended, in response to the triggering operation on the virtual item package, a voting interface corresponding to the virtual item package is displayed.
当投票结束后,用户无法参与该虚拟物品包对应的投票活动,而投票界面是提供投票功能的界面,也就是说,若投票结束后,即使用户点击虚拟物品包,也无法显示虚拟物品包对应的投票界面。因此,在一 种可能的实施方式中,当终端接收到对虚拟物品包的触发操作时,是否显示投票界面还需要确定投票是否结束,当确定出投票未结束时,对应显示虚拟物品包对应的投票界面。When the voting is over, the user cannot participate in the voting activities corresponding to the virtual item package, and the voting interface is an interface that provides voting functions. That is, if the voting is over, even if the user clicks on the virtual item package, the corresponding virtual item package cannot be displayed. voting interface. Therefore, in a possible implementation, when the terminal receives a trigger operation for the virtual item package, whether to display the voting interface also needs to determine whether the voting has ended, and when it is determined that the voting has not ended, the corresponding display of the virtual item package corresponds to voting interface.
其中,通过确定是否满足投票结束条件,确定投票是否结束,该投票结束条件包括投票总数达到数量阈值,和/或,虚拟物品包的发布时长达到时长阈值中的至少一种。Wherein, whether the voting ends is determined by determining whether the voting end condition is met, and the voting end condition includes at least one of the total number of votes reaching a quantity threshold, and/or the release duration of the virtual item package reaching a duration threshold.
若投票结束条件为投票总数达到数量阈值,当终端接收到对虚拟物品包的触发操作时,可以获取到该虚拟物品包对应的当前投票总数,若当前投票总数小于该数量阈值,确定投票未结束,显示虚拟物品包对应的投票界面,以便用户参与投票。If the voting end condition is that the total number of votes reaches the number threshold, when the terminal receives the trigger operation for the virtual item package, it can obtain the current total number of votes corresponding to the virtual item package. If the current total number of votes is less than the number threshold, it is determined that the voting has not ended. , to display the voting interface corresponding to the virtual item package, so that users can participate in voting.
若投票结束条件为虚拟物品包的发布时长达到时长阈值,当终端接收到对虚拟物品包的触发操作时,可以获取该虚拟物品包对应的当前发布时长,若当前发布时长小于时长阈值,确定投票未结束,显示虚拟物品包对应的投票界面,以便用户参与投票。If the voting end condition is that the release duration of the virtual item package reaches the duration threshold, when the terminal receives the trigger operation for the virtual item package, it can obtain the current release duration corresponding to the virtual item package. If the current release duration is less than the duration threshold, the vote is determined. If it is not over, the voting interface corresponding to the virtual item package is displayed so that users can participate in the voting.
可选的,若虚拟物品包对应设置有定时器或计时器,终端接收到对虚拟物品包的触发操作时,可以获取定时器状态,若定时器未达到定时器时长,确定投票未结束,显示虚拟物品包对应的投票界面;也可以获取计时器的计时器时长,若该计时器时长小于时长阈值,确定投票未结束,显示虚拟物品包对应的投票界面。Optionally, if a timer or timer is set corresponding to the virtual item package, when the terminal receives a trigger operation on the virtual item package, it can obtain the timer status. If the timer does not reach the timer duration, it is determined that the voting has not ended and the display The voting interface corresponding to the virtual item package; the timer duration of the timer can also be obtained. If the timer duration is less than the duration threshold, it is determined that the voting has not ended, and the voting interface corresponding to the virtual item package is displayed.
在另一种可能的实施方式中,若投票结束,则响应于对虚拟物品包的触发操作,显示领取界面。若终端接收到对虚拟物品包的触发操作,确定投票结束,表示用户已无法参与投票活动,则不显示虚拟物品包对应的投票界面,可以显示虚拟物品包对应的领取界面。In another possible implementation, if the voting ends, a claiming interface is displayed in response to a triggering operation on the virtual item package. If the terminal receives the trigger operation for the virtual item package and determines that the voting is over, indicating that the user has been unable to participate in the voting activity, the voting interface corresponding to the virtual item package is not displayed, and the receiving interface corresponding to the virtual item package can be displayed.
通过在投票结束时,及时将显示的投票界面变更为领取界面,可以减少当投票结束后,用户依旧基于投票界面进行无效投票,如此,不仅提升了投票的准确性,而且节约了进行无效投票时所耗费的电力、运算等资源。By changing the displayed voting interface to the receiving interface in time when the voting is over, it can reduce the number of invalid votes still based on the voting interface after the voting is over, which not only improves the accuracy of voting, but also saves the time for invalid voting. Power, computing and other resources consumed.
其中,确定投票结束的实施方式可以参考上文实施例,本实施例在此不做赘述。Wherein, reference may be made to the foregoing embodiment for the implementation manner of determining the end of the voting, which will not be repeated in this embodiment.
步骤1102,接收对至少两个投票选项中目标投票选项的选择操作。Step 1102: Receive a selection operation for a target voting option among the at least two voting options.
步骤1102的实施方式可以参考上文实施例,本实施例在此不做赘述。For the implementation of step 1102, reference may be made to the above embodiments, and details are not described herein in this embodiment.
步骤1103,若当前时间处于投票结束阶段,且当前显示界面为目标群组的群组消息界面,则显示虚拟物品包对应的领取提示界面,目标群组为发布有虚拟物品包的群组。Step 1103: If the current time is at the voting end stage, and the current display interface is the group message interface of the target group, display a claim prompt interface corresponding to the virtual item package, and the target group is the group that publishes the virtual item package.
在一种可能的实施方式中,可以在多种应用场景中使用虚拟物品包,而不同应用场景中,虚拟物品包的发布位置也对应不同。示例性的,若在直播场景中发布虚拟物品包,虚拟物品包对应显示在直播界面中;若在短视频场景中发布虚拟物品包,虚拟物品包对应显示在短视频界面中;若在目标群组中发布虚拟物品包,虚拟物品包对应显示在群组消息界面中;若在社交平台上发布虚拟物品包,虚拟物品包可以显示在发布方的社交主页中、或显示在有发布方参与的群组消息界面中、或显示在发布方对应的社交空间中、或显示在发布方对应的朋友圈中,本实施例对虚拟物品包对应的发布或显示位置不构成限定。其中,目标群组可以为群消息应用中的任意一个群组。In a possible implementation, the virtual item package may be used in multiple application scenarios, and in different application scenarios, the release locations of the virtual item package are correspondingly different. Exemplarily, if the virtual item package is published in the live broadcast scene, the virtual item package is correspondingly displayed in the live broadcast interface; if the virtual item package is released in the short video scene, the virtual item package is correspondingly displayed in the short video interface; Publish the virtual item package in the group, and the virtual item package will be displayed in the group message interface; if the virtual item package is published on the social platform, the virtual item package can be displayed on the social home page of the publisher, or displayed in the publisher's participation. In the group message interface, or displayed in the social space corresponding to the publisher, or displayed in the circle of friends corresponding to the publisher, this embodiment does not limit the publishing or display position corresponding to the virtual item package. The target group may be any group in the group messaging application.
下述以虚拟物品包被发布在目标群组对应的群组消息界面中为例进行示例性说明,在一种可能的实施方式中,当确定出虚拟物品包对应的投票结束时,也即在当前时间处于投票结束时,终端确定当前显示界面是否为目标群组对应的群组消息界面,若是,则自动在当前显示界面上层显示虚拟物品包对应的领取提示界面,以便及时提醒用户可以领取该虚拟物品包。The following is an example of how the virtual item package is published in the group message interface corresponding to the target group. In a possible implementation, when it is determined that the voting corresponding to the virtual item package ends, that is, the When the current time is at the end of voting, the terminal determines whether the current display interface is the group message interface corresponding to the target group, and if so, automatically displays the claim prompt interface corresponding to the virtual item package on the upper layer of the current display interface, so as to promptly remind the user that they can claim the item. Virtual Item Pack.
可选的,当投票结束时,且终端确定出当前显示界面是虚拟物品包对应的投票界面,也可以将当前投票界面切换显示为领取提示界面,以提醒用户进行虚拟物品包的领取操作。Optionally, when the voting is over, and the terminal determines that the currently displayed interface is the voting interface corresponding to the virtual item package, the current voting interface can also be switched to display the receiving prompt interface to remind the user to perform the operation of receiving the virtual item package.
可选的,当投票结束时,且终端确定出当前显示界面既不是虚拟物品包对应的投票界面,也不是目标群组对应的群组消息界面,表示用户暂时离开群组消息界面,暂时不显示虚拟物品包对应的领取提示界面,并在确定用户重新进入群组消息界面时,显示虚拟物品包对应的领取提示界面。Optionally, when the voting ends, and the terminal determines that the currently displayed interface is neither the voting interface corresponding to the virtual item package nor the group message interface corresponding to the target group, it means that the user temporarily leaves the group message interface and does not display it temporarily. The claim prompt interface corresponding to the virtual item package is displayed, and when it is determined that the user re-enters the group message interface, the claim prompt interface corresponding to the virtual item package is displayed.
可选的,当用户暂时离开群组消息界面时,可以在通知栏中显示虚拟物品包对应的领取提示信息,以便及时通知用户返回群组消息界面,进行虚拟物品包的领取操作。Optionally, when the user temporarily leaves the group message interface, the notification bar corresponding to the collection prompt information of the virtual item package may be displayed, so as to notify the user to return to the group message interface in time to collect the virtual item package.
步骤1104,响应于对领取提示界面中领取入口的触发操作,显示虚拟物品包对应的领取界面。 Step 1104, in response to the triggering operation on the claim entry in the claim prompt interface, display the claim interface corresponding to the virtual item package.
其中,领取界面中包含领取信息和投票结果。领取信息用于指示领取结果,该领取结果对应的虚拟物品为目标投票选项对应的虚拟物品,且各个投票选项对应的虚拟物品由投票结果确定得到。领取结果可以包括虚拟物品。其中,领取结果对应的虚拟物品可以为领取结果中包括的虚拟物品。比如,参考图12,领取界面1210中的50点券即可为领取结果所对应的虚拟物品。Among them, the receiving interface includes receiving information and voting results. The claiming information is used to indicate the claiming result, the virtual item corresponding to the claiming result is the virtual item corresponding to the target voting option, and the virtual item corresponding to each voting option is determined by the voting result. Claim results may include virtual items. Wherein, the virtual item corresponding to the claim result may be the virtual item included in the claim result. For example, referring to FIG. 12 , the 50-point coupon in the claim interface 1210 can be the virtual item corresponding to the claim result.
示例性的,确定领取结果的过程可以包括以下步骤:Exemplarily, the process of determining the claim result may include the following steps:
1、基于投票结果和虚拟物品分配策略,确定各个投票选项对应的虚拟物品。1. Based on the voting results and the virtual item allocation strategy, determine the virtual items corresponding to each voting option.
其中,虚拟物品分配策略由发布方配置得到,该虚拟物品分配策略用于指示投票结果中投票结果方与虚拟物品之间的对应关系。The virtual item allocation strategy is configured by the publisher, and the virtual item allocation strategy is used to indicate the corresponding relationship between the voting result party and the virtual item in the voting result.
在一种可能的实施方式中,当投票结束后,服务器基于投票期间接收到的各个投票信息,确定出虚拟物品包对应的投票结果,其中,投票结果为投票结果方与投票选项之间的对应关系,投票结果方与投票选项之间的对应关系由每个投票选项对应的投票数量确定。In a possible implementation, after the voting is over, the server determines the voting result corresponding to the virtual item package based on each voting information received during the voting period, wherein the voting result is the correspondence between the voting result party and the voting option The corresponding relationship between the voting result party and the voting options is determined by the number of votes corresponding to each voting option.
其中,投票结果方与投票数量之间的关系可以由开发人员预先设置,比如,若投票结果方包括获胜方和失败方,其中,获胜方对应的投票数量高于失败方对应的投票数量。The relationship between the voting result party and the number of votes can be preset by the developer. For example, if the voting result party includes a winner and a loser, the number of votes corresponding to the winner is higher than the number of votes corresponding to the loser.
示例性的,若虚拟物品包对应投票选项A和投票选项B,投票选项A对应的投票数量为10票,投票选项B对应的投票数量为20票,以投票结果方包括获胜方和失败方为例,服务器基于投票信息确定出的投票结果为:获胜方对应投票选项B,失败方对应投票选项A;已知虚拟物品包对应的虚拟物品分配策略为:获胜方对应虚拟物品A,失败方对应虚拟物品B,可以得到各个投票选项对应的虚拟物品,即投票选项A对应虚拟物品B,投票选项B对应虚拟物品A。Exemplarily, if the virtual item package corresponds to voting option A and voting option B, the number of votes corresponding to voting option A is 10 votes, and the number of votes corresponding to voting option B is 20 votes, and the voting results include the winner and the loser. For example, the voting result determined by the server based on the voting information is: the winner corresponds to voting option B, and the loser corresponds to voting option A; the virtual item distribution strategy corresponding to the known virtual item package is: the winner corresponds to virtual item A, and the loser corresponds to virtual item A. For virtual item B, virtual items corresponding to each voting option can be obtained, that is, voting option A corresponds to virtual item B, and voting option B corresponds to virtual item A.
通过确定投票结果,可基于该投票结果准确确定各投票选项各自对应的虚拟物品,从而可基于准确确定的投票选项与虚拟物品之间的对应关系,提升所生成的领取结果的准确性,进而节约了修改错误的领取结果时所耗费的电力、运算资源。By determining the voting results, the virtual items corresponding to each voting option can be accurately determined based on the voting results, so that the accuracy of the generated collection results can be improved based on the corresponding relationship between the accurately determined voting options and the virtual items, thereby saving energy It reduces the power and computing resources consumed when modifying the wrong results.
2、根据各个投票选项对应的虚拟物品,确定目标投票选项对应的虚拟物品。2. Determine the virtual item corresponding to the target voting option according to the virtual item corresponding to each voting option.
在一种可能的实施方式中,当确定出各个投票选项对应的虚拟物品后,即可以基于投票方选择的目标投票选项与投票选项之间的关系,确定出目标投票选项对应的虚拟物品。In a possible implementation, after the virtual item corresponding to each voting option is determined, the virtual item corresponding to the target voting option may be determined based on the relationship between the target voting option selected by the voter and the voting option.
示例性的,若包含投票选项A和投票选项B,投票选项A对应虚拟物品B,投票选项B对应虚拟物品A,目标投票选项为投票选项B,则目标投票选项对应的虚拟物品为虚拟物品A。Exemplarily, if voting option A and voting option B are included, voting option A corresponds to virtual item B, voting option B corresponds to virtual item A, and the target voting option is voting option B, then the virtual item corresponding to the target voting option is virtual item A. .
3、基于该目标投票选项对应的虚拟物品确定投票方对应的领取结果。3. Determine the receiving result corresponding to the voting party based on the virtual item corresponding to the target voting option.
虚拟物品需要分配给选择该虚拟物品对应投票选项的各个投票方,也即,在确定目标投票选项所对应的虚拟物品时,还需要将该虚拟物品分配至选择目标投票选项的用户,因此,在一种可能的实施方式中,首先确定出目标投票选项对应的投票数量,并基于投票数量和虚拟物品对应的物品数量,确定每个投票方对应的领取结果。比如,基于目标投票选项对应的投票数量和与目标投票选项所对应的虚拟物品的物品数量,确定选择目标投票选项的每个投票方的领取结果。其中,投票方指的是参与投票的用户。The virtual item needs to be allocated to each voter who selects the voting option corresponding to the virtual item, that is, when the virtual item corresponding to the target voting option is determined, the virtual item also needs to be allocated to the user who selects the target voting option. In a possible implementation, first determine the number of votes corresponding to the target voting option, and determine the receiving result corresponding to each voter based on the number of votes and the number of items corresponding to the virtual item. For example, based on the number of votes corresponding to the target voting option and the number of virtual items corresponding to the target voting option, the receiving result of each voter who selects the target voting option is determined. Among them, the voting party refers to the users who participated in the voting.
可选的,在确定领取结果时,可以采用随机策略或平均策略,随机策略指选择目标投票选项的各个投票方对应的领取结果可以不相同;采用平均策略后,选择目标投票选项的各个投票方对应的领取结果相同,领取结果=虚拟物品对应的物品数量/目标投票选项对应的投票数量。Optionally, a random strategy or an average strategy can be used when determining the receiving results. The random strategy means that the receiving results corresponding to each voter who selects the target voting option can be different; after the average strategy is adopted, each voter who chooses the target voting option The corresponding collection results are the same, and the collection result = the number of items corresponding to the virtual item/the number of votes corresponding to the target voting option.
其中,领取提示界面中显示有领取入口,该领取入口可以是领取控件等形式。Among them, the claiming prompt interface displays a claiming entrance, and the claiming entrance may be in the form of a claiming control or the like.
在一种可能的实施方式中,用户可以点击领取提示界面中的领取入口,对应的,终端接收到对领取提示界面中领取入口的触发操作,可以将领取提示界面切换显示为虚拟物品包对应的领取界面。In a possible implementation, the user can click the claim entry in the claim prompt interface, and correspondingly, the terminal receives the trigger operation for the claim entry in the claim prompt interface, and can switch the claim prompt interface to display the corresponding virtual item package Receive interface.
步骤1105,在投票界面中显示弹幕输入框。 Step 1105, displaying a popup input box in the voting interface.
在一种可能的实施方式中,投票界面上层显示有投票弹幕,该投票弹幕由完成投票的投票方发布,使得用户可以及时了解到其他参与该投票活动的用户的观点,并促进用户积极发表自身观点。In a possible implementation, a voting barrage is displayed on the upper layer of the voting interface, and the voting barrage is released by the voting party who has completed the vote, so that the user can timely learn the opinions of other users participating in the voting activity, and promote the user to actively participate in the voting. Express your opinion.
其中,投票界面中显示有弹幕输入框,该弹幕输入框为用户提供发表自身观点信息的入口,在一种可能的实施方式中,该弹幕输入框可以在用户完成投票后,在投票界面中进行显示。Among them, a bullet screen input box is displayed in the voting interface, and the bullet screen input box provides the user with an entrance to express their own opinion information. displayed in the interface.
可选的,该弹幕输入框也可以在显示投票界面时直接显示,无论用户是否完成投票。Optionally, the popup input box can also be displayed directly when the voting interface is displayed, regardless of whether the user has completed the voting.
步骤1106,响应于对弹幕输入框的输入操作,在投票界面上层显示弹幕输入框内输入的投票弹幕,并向服务器发送投票弹幕;其中,发送的投票弹幕用于指示服务器将投票弹幕推送至参与投票的投票方的终端。 Step 1106, in response to the input operation on the bullet screen input box, display the voting bullet screen input in the bullet screen input box on the upper layer of the voting interface, and send the voting bullet screen to the server; wherein, the sent voting bullet screen is used to instruct the server to The voting barrage is pushed to the terminals of the voting parties who participated in the voting.
在一种可能的实施方式中,用户可以在弹幕输入框中输入想要发表的观点信息,对应终端可以接收到对弹幕输入框的输入操作,并在当前投票界面上层显示弹幕输入框内输入的投票弹幕。In a possible implementation, the user can input the opinion information to be published in the bullet screen input box, the corresponding terminal can receive the input operation on the bullet screen input box, and display the bullet screen input box on the upper layer of the current voting interface The voting barrage entered in the .
可选的,当终端接收到用户发表的投票弹幕后,为了便于其他参与投票的用户也可以看到该投票弹幕,可以向服务器发送投票弹幕,对应的,服务器在接收到新增投票弹幕后,可以将该投票弹幕推送至其他终端,也即,将该投票弹幕推送至其他投票方的终端。Optionally, after the terminal receives the voting bulletin posted by the user, in order to facilitate other users participating in the voting to see the voting bulletin, it can send the voting bulletin to the server. Correspondingly, the server receives the newly added voting bulletin. Behind the scenes, the voting barrage can be pushed to other terminals, that is, the voting barrage can be pushed to the terminals of other voting parties.
通过发送投票弹幕,可使得用户及时了解到其他参与该投票活动的用户的观点,从而不仅能够促进用户积极发表自身观点,而且可以促进用户基于了解到的观点进行及时的投票,如此,便节约了因投票时长过长而耗费的电力资源。By sending the voting barrage, users can timely understand the opinions of other users participating in the voting activity, which can not only promote users to actively express their own opinions, but also promote users to vote in a timely manner based on the opinions learned, so as to save money The power resources consumed by the voting time are too long.
步骤1107,响应于对详情页入口的触发操作,显示虚拟物品包对应的领取详情界面,领取详情界面用于显示已领取虚拟物品的投票方的领取结果。Step 1107: In response to the triggering operation on the entry of the details page, a claim details interface corresponding to the virtual item package is displayed, and the claim details interface is used to display the claim result of the voter who has claimed the virtual item.
为了便于用户查看其他参与投票的用户的领取结果,在一种可能的实施方式中,领取界面中显示有详情页入口,当用户点击详情页入口时,对应终端可以接收到对详情页入口的触发操作,可以将领取界面切换显示为领取详情界面,在该领取详情界面中,用户可以查看已领取虚拟物品的各个投票方的领取结果。In order to facilitate the user to view the collection results of other users who participated in the voting, in a possible implementation manner, the collection interface displays a detail page entry. When the user clicks on the detail page entry, the corresponding terminal can receive a trigger for the detail page entry. operation, the receiving interface can be switched to display the receiving details interface. In the receiving details interface, the user can view the receiving results of each voter who has received the virtual item.
其中,领取详情界面中的领取结果可以包括领取方(投票方)标识和其对应的虚拟物品。其中,投票方标识对应的虚拟物品即为与该投票方标识所对应的投票方领取的虚拟物品。Wherein, the claim result in the claim details interface may include the claimant (voting party) identifier and its corresponding virtual item. The virtual item corresponding to the voting party identifier is the virtual item received by the voting party corresponding to the voting party identifier.
由于涉及到多个投票选项,因此,对应选择不同投票选项的投票方,设置有不同的领取详情界面,用户可以切换查看选择不同投票选项的各个投票方的领取结果。Since multiple voting options are involved, there are different claim details interfaces for voters who choose different voting options, and users can switch to view the claim results of each voter who chooses different voting options.
通过展示已领取虚拟物品的投票方的领取结果,使得用户可以及时了解各个投票方的领域信息,相比于向各个投票方单独询问领取结果,本申请不仅可以提升获取各领域结果的获取效率,而且可以节约因单独询问领取结果所耗费的电子资源。By displaying the collection results of the voting parties who have received the virtual items, users can know the field information of each voting party in time. Compared with asking each voting party for the collection results individually, this application can not only improve the efficiency of obtaining results in various fields, but also In addition, the electronic resources consumed by inquiring and obtaining the result separately can be saved.
在一个示例性的例子中,显示领取详情界面的过程可以包括以下步骤:In an illustrative example, the process of displaying the claim details interface may include the following steps:
一、响应于对详情页入口的触发操作,在领取详情界面中显示第一领取详情页,第一领取详情页用于显示目标投票选项对应虚拟物品的领取详情。1. In response to the trigger operation on the entry of the details page, the first claim details page is displayed in the claim details interface, and the first claim details page is used to display the claim details of the virtual item corresponding to the target voting option.
由于用户进入领取详情页后,更关注目标投票选项(目标投票选项为用户所选投票选项)对应虚拟物品的领取详情,因此,在一种可能的实施方式中,当接收到对详情页入口的触发操作后,可以在领取详情界面中优先显示第一领取详情页,以便用户可以通过第一领取详情页查看目标投票选项对应虚拟物品的领取详情。After the user enters the collection details page, he pays more attention to the collection details of the virtual item corresponding to the target voting option (the target voting option is the voting option selected by the user). After the operation is triggered, the first claim details page can be displayed preferentially in the claim details interface, so that the user can view the claim details of the virtual item corresponding to the target voting option through the first claim details page.
二、响应于对领取详情界面的滑动操作,在领取详情界面中切换显示第二领取详情页,第二领取详情页用于显示目标投票选项外其他投票选项对应虚拟物品的领取详情;其中,各个投票选项对应的虚拟物品由所述投票结果确定得到。2. In response to the sliding operation on the claim details interface, the second claim details page is switched to display in the claim details interface, and the second claim details page is used to display the claim details of the virtual items corresponding to other voting options except the target voting option; The virtual item corresponding to the voting option is determined by the voting result.
基于用户也会关注其他投票选项对应虚拟物品的领取详情的心理,在一种可能的实施方式中,用户通过对领取详情界面的滑动操作,对应终端接收到对领取详情界面的滑动操作,在领取详情界面中切换显示第二领取详情页,以便查看目标投票选项外其他投票选项对应虚拟物品的领取详情。Based on the psychology that the user will also pay attention to the receiving details of the virtual items corresponding to other voting options, in a possible implementation, the user can perform a sliding operation on the receiving details interface, and the corresponding terminal receives the sliding operation on the receiving details interface. Switch to display the second claim details page in the details interface, so that you can view the claim details of virtual items corresponding to other voting options other than the target voting option.
其中,该滑动操作可以是单触点滑动操作,也可以是双触点滑动操作,本实施例对此不构成限定。The sliding operation may be a single-contact sliding operation or a double-contact sliding operation, which is not limited in this embodiment.
在一个示例性的例子中,如图12所示,其示出了本申请另一个示例性实施例示出的虚拟物品包的领取过程示意图。用户1201在群聊中发送了一个PK红包1202,用户点击PK红包1202可以弹出PK红包对应的投票界面1203,该投票界面1203中显示有两个投票选项1204,比如“投票选项一:线上购物”以及“投票选项二:线下购物”;可选的,投票界面1203中还显示有PK红包1202对应的主题信息“你最喜欢的购物方式”、当前投票情况“7票:6票”;可选的,该投票界面1203中还显示有投票弹幕1205;当用户投票完成后,投票界面1203中显示有弹幕输入框1206,用户可以通过该弹幕输入框1206输入投票弹幕;当投票结束后,由投票界面1203切换显示为领取提示界面1207,该领取提示界面1207中显示有领取入口1208,用户可以点击领取入口1208,终端接收到对领取入口1208的触发操作,显示PK红包对应的领取界面1209或领取界面1210,其中,领取界面1209为获胜方(投票数量较多)对应的领取界面,领取界面1210为失败方(投票数量较少)对应的领取界面;可选的,领取界面1209中显示有详情页查看入口1211,用户可以点击详情页查看入口1211,终端接收到对详情页入口1211的触发操作,显示虚拟物品包对应的领取详情界面1212,其中,该领取详情界面1212为第一领取详情页面,当接收到对领取详情界面1212的滑动操作1213时,切换显示(第二)领取详情界面1214。In an exemplary example, as shown in FIG. 12 , it shows a schematic diagram of a process of claiming a virtual item package shown in another exemplary embodiment of the present application. The user 1201 sends a PK red envelope 1202 in the group chat, and the user clicks on the PK red envelope 1202 to pop up the voting interface 1203 corresponding to the PK red envelope. The voting interface 1203 displays two voting options 1204, such as "Voting option 1: online shopping. ” and “voting option 2: offline shopping”; optionally, the voting interface 1203 also displays the subject information “your favorite shopping method” corresponding to the PK red envelope 1202, and the current voting situation “7 votes: 6 votes”; Optionally, a voting barrage 1205 is also displayed in the voting interface 1203; when the user completes the vote, a barrage input box 1206 is displayed in the voting interface 1203, and the user can input the voting barrage through the barrage input box 1206; After the voting is over, the voting interface 1203 is switched to the claim prompt interface 1207. The claim prompt interface 1207 displays the claim entry 1208. The user can click on the claim entry 1208, and the terminal receives the trigger operation on the claim entry 1208, and displays the corresponding PK red envelope. Claiming interface 1209 or claiming interface 1210, wherein the claiming interface 1209 is the claiming interface corresponding to the winning party (the number of votes is more), and the claiming interface 1210 is the claiming interface corresponding to the losing party (the number of votes is less); The interface 1209 displays the detail page view entry 1211, the user can click the detail page view entry 1211, the terminal receives the trigger operation on the detail page entry 1211, and displays the claim details interface 1212 corresponding to the virtual item package, wherein the claim details interface 1212 For the first claim details page, when the sliding operation 1213 on the claim details interface 1212 is received, the (second) claim details interface 1214 is switched to be displayed.
通过优先显示第一领域详情页,再通过滑动操作显示第二领取详情页,可使得领取详情界面中优先显示用户更为关注的信息,如此,不仅能够提升用户体验,而且相比于向各个投票方单独询问领取结果,还可以节约因单独询问领取结果所耗费的电子资源。By prioritizing the display of the first field details page, and then displaying the second claim details page through a swipe operation, information that the user is more concerned about can be displayed preferentially in the claim details interface. In this way, not only can the user experience be improved, but also compared to voting for each It can save the electronic resources consumed by separately inquiring about the receiving results.
步骤1108,响应于对领取详情界面中目标投票方对应领取结果的选择操作,显示目标投票方发布的投票弹幕,投票弹幕由目标投票方完成投票后发布;目标投票方为在已领取虚拟物品的投票方中被选中的投票方。 Step 1108, in response to the selection operation of the target voter corresponding to the collection result in the collection details interface, display the voting barrage issued by the target voter, and the voting barrage is released after the target voter completes the vote; The chosen voter among the item's voters.
本实施例中,存在某些完成投票的投票方发布过投票弹幕,为了方便用户对感兴趣的观点进行查看,在一种可能的实施方式中,领取详情界面中提供有投票弹幕查看功能,用户可以点击想要查看投票弹幕的目标投票方对应的领取结果,对应终端接收到对领取详情界面中领取结果的选择操作,可以显示目标投票方发布的投票弹幕。In this embodiment, some voting parties who have completed the vote have published the voting barrage. In order to facilitate the user to view the viewpoints they are interested in, in a possible implementation, a voting barrage viewing function is provided in the receiving details interface. , the user can click the collection result corresponding to the target voter who wants to view the voting barrage, and the corresponding terminal receives the selection operation of the collection result in the collection details interface, and can display the voting barrage published by the target voter.
如图13所示,其示出了本申请一个示例性实施例示出的投票弹幕的查看过程示意图。用户可以在领取详情界面1301中点击目标投票方对应的领取结果1302,终端接收到对目标投票方对应领取结果1302的选择操作,显示目标投票方发布的投票弹幕1303。As shown in FIG. 13 , it shows a schematic diagram of the viewing process of the voting barrage shown in an exemplary embodiment of the present application. The user can click the claim result 1302 corresponding to the target voter in the claim details interface 1301, and the terminal receives the selection operation for the claim result 1302 corresponding to the target voter, and displays the voting barrage 1303 published by the target voter.
可选的,为了区分投票方是否发表过投票弹幕,在领取详情界面中,对于发表过投票弹幕的投票方,可以在其领取结果处显示下拉箭头,或查看入口,以便用户通过下拉箭头或查看入口进行投票弹幕的查看;反之,对于未发表过投票弹幕的投票方,可以不显示下拉箭头或查看入口。Optionally, in order to distinguish whether the voting party has published the voting bullet screen, in the receiving details interface, for the voting party who has published the voting bullet screen, a drop-down arrow can be displayed at the receiving result, or the entrance can be viewed so that the user can pass the drop-down arrow. Or view the entrance to view the voting bullet screen; on the contrary, for the voter who has not published the voting bullet screen, the drop-down arrow or the viewing entrance can not be displayed.
由于只需选择投票方,即可显示该投票方所发布的投票弹幕,相比于通过电话、短信等方式单独向投票方询问其发布的投票弹幕,不仅可提升获取投票弹幕的获取效率,而且还可以节约通过电话、短信等方 式单独向投票方询问其发布的投票弹幕时所耗费的电力资源。Since you only need to select the voting party, the voting barrage published by the voting party can be displayed. Compared with asking the voting party for the voting barrage released by the voting party by phone, text message, etc., it can not only improve the acquisition of voting barrage It is more efficient, and it can also save the power resources consumed when individually inquiring about the voting barrage released by the voting party through phone calls, text messages, etc.
步骤1109,响应于对领取详情界面中弹幕详情入口的触发操作,显示弹幕详情页面,并在弹幕详情页面中显示各个投票方发布的弹幕,其中,弹幕详情入口显示在虚拟物品包对应的发布方的领取详情界面。Step 1109: In response to the trigger operation of the bullet screen details entry in the claim details interface, display the bullet screen details page, and display the bullet screen released by each voting party in the bullet screen details page, wherein the bullet screen details entry is displayed in the virtual item. The receiving details interface of the publisher corresponding to the package.
本实施例中的虚拟物品包,不仅具有发放虚拟物品的功能,还具有投票功能以及收集不同观点的功能,对于需要收集对某个主题相关的观点信息的用户,即可以通过发布该虚拟物品包来实现。The virtual item package in this embodiment not only has the function of issuing virtual items, but also has the function of voting and collecting different opinions. For users who need to collect opinion information related to a certain topic, they can publish the virtual item package by publishing the virtual item package. to fulfill.
由于虚拟物品发布方往往更关注所有参与用户发表的其他观点信息,以达到收集各方观点的目的,为了便于虚拟物品发布方可以查看在虚拟物品包领取过程中发表的所有不同观点,在一种可能的实施方式中,虚拟物品包对应发布方的领取详情界面中显示有弹幕详情入口,发布方可以点击该弹幕详情入口,对应终端接收到对弹幕详情入口的触发操作,可以在弹幕详情页中显示各个投票方发布的弹幕,无需发布方点击每个投票方对应的领取结果,可以提高发布方查看和收集投票弹幕的效率。Since the virtual item publisher often pays more attention to other opinion information published by all participating users, in order to achieve the purpose of collecting opinions from all parties, in order to facilitate the virtual item publisher to view all the different opinions expressed in the process of receiving the virtual item package, in a In a possible implementation, a bullet screen details entry is displayed on the receiving details interface corresponding to the publisher of the virtual item package, and the publisher can click on the bullet screen details entry. The barrage released by each voter is displayed on the screen details page, and the publisher does not need to click on the corresponding result of each voter to receive the result, which can improve the efficiency of the publisher to view and collect the vote barrage.
如图13所示,若用户为虚拟物品包对应发布方,在其对应的领取详情界面1301中显示有弹幕详情入口1304,发布方可以点击弹幕详情入口1304,终端接收到对弹幕详情入口1304的触发操作,切换显示弹幕详情页面1305,该弹幕详情页面1305中显示各个投票方发布的弹幕1306。As shown in FIG. 13 , if the user is the publisher corresponding to the virtual item package, a bullet screen details entry 1304 is displayed in the corresponding receiving details interface 1301. The publisher can click the bullet screen details entry 1304, and the terminal receives the details of the bullet screen. The trigger operation of the entry 1304 switches to display the bullet screen details page 1305, and the bullet screen details page 1305 displays the bullet screen 1306 published by each voting party.
本实施例中,通过在投票结束时,判断是否为群组消息界面,以便确定是否显示虚拟物品包对应的领取提示界面,以便及时提醒用户可以领取虚拟物品包;此外,通过在投票界面中显示弹幕输入框和投票弹幕,可以促使用户参与投票活动,并积极发表用户观点,更有利于虚拟物品发布方收集其他投票观点;另外,虚拟物品包还提供有查看各个投票方领取结果的领取详情界面,使得用户可以了解到其他参投票方的领取情况;同时,领取详情界面中还提供有投票弹幕的查看入口,可以方便用户在领取结束后查看各个投票方发表的观点,也方便用户收集各个投票方发表的投票弹幕。In this embodiment, at the end of voting, it is judged whether it is a group message interface, so as to determine whether to display the receiving prompt interface corresponding to the virtual item package, so as to remind the user that the virtual item package can be received in time; in addition, by displaying in the voting interface The barrage input box and voting barrage can encourage users to participate in voting activities and actively express their opinions, which is more conducive to the virtual item publisher to collect other voting opinions; in addition, the virtual item package also provides a collection of the results of each voter. The details interface allows users to learn about the receipt status of other voters; at the same time, the receipt details interface also provides a viewing entry for the voting barrage, which is convenient for users to view the opinions expressed by each voting party after the collection is completed, and it is also convenient for users. Collect polling barrages published by various voting parties.
由于只需触发在虚拟物品发布方的领取详情界面中显示弹幕详情入口,即可基于弹幕详情入口显示各个投票方发布的弹幕,因此,大大提升了所发布的弹幕的收集效率和显示效率。As only the bullet chat details entry displayed in the claim details interface of the virtual item issuer is triggered, the bullet chats released by each voting party can be displayed based on the bullet chat details entry, thus greatly improving the collection efficiency and efficiency of the released bullet chats. Show efficiency.
在一种可能的实施方式中,用户参与投票和领取虚拟物品包的过程都需要实时与后台服务器进行数据交互,以便服务器可以基于各个用户参与投票的情况实时更新投票情况和领取情况。In a possible implementation, the process of users participating in voting and receiving virtual item packages requires real-time data interaction with the backend server, so that the server can update the voting and receiving situations in real time based on the voting situation of each user.
在图11的基础上,如图14所示,步骤1102可以被替换为步骤1401,步骤1104可以被替换为步骤1402和步骤1403。On the basis of FIG. 11 , as shown in FIG. 14 , step 1102 can be replaced by step 1401 , and step 1104 can be replaced by step 1402 and step 1403 .
步骤1401,响应于对至少两个投票选项中目标投票选项的选择操作,向服务器发送投票信息,投票信息中包含投票方标识和目标投票选项。 Step 1401, in response to the selection operation of the target voting option among the at least two voting options, send voting information to the server, where the voting information includes the voting party identifier and the target voting option.
在一种可能的实施方式中,当终端接收到对至少两个投票选项中目标投票选项的选择操作后,终端可确定当前登录的用户账号,并基于该用户账号确定投票方标识,基于投票方标识和目标投票选项生成投票信息,并将该投票信息发送至服务器,以便服务器获取到不同参与投票的投票方的投票信息。容易理解地,与该投票方标识相对应的投票方即为与该用户账号相对应的用户。In a possible implementation manner, after the terminal receives the selection operation of the target voting option among the at least two voting options, the terminal may determine the currently logged-in user account, and determine the voting party identifier based on the user account, and determine the voting party identifier based on the voting party. The identification and target voting options generate voting information, and send the voting information to the server, so that the server can obtain the voting information of different voting parties participating in the voting. It is easy to understand that the voting party corresponding to the voting party identification is the user corresponding to the user account.
其中,投票方标识可以是投票方对应的登录账号、用户账号、用户名、用户标识等,本实施例对投票方标识不构成限定。Wherein, the voting party identification may be the login account, user account, user name, user identification, etc. corresponding to the voting party, and this embodiment does not constitute a limitation on the voting party identification.
可选的,当服务器接收到终端发送的投票信息后,可以将该投票方标识和目标投票选项关联存储。Optionally, after the server receives the voting information sent by the terminal, it may store the voting party identifier and the target voting option in association.
步骤1402,响应于对领取提示界面中领取入口的触发操作,向服务器发送领取请求,领取请求中包含投票方标识,服务器用于基于投票方标识确定目标投票选项,并基于目标投票选项确定领取结果。 Step 1402, in response to the triggering operation of the claim entry in the claim prompt interface, send a claim request to the server, where the claim request includes the voter ID, and the server is used to determine the target voting option based on the voter ID, and determine the claim result based on the target vote option .
在一种可能的实施方式中,当终端接收到对领取提示界面中领取入口的触发操作时,可以基于领取方(与投票方对应)对应的投票方标识,生成领取请求,并向服务器发送该领取请求,以便服务器基于该投票方标识确定目标投票选项,进而确定领取结果。In a possible implementation manner, when the terminal receives the trigger operation for the claim entry in the claim prompt interface, it can generate a claim request based on the voter identifier corresponding to the claimant (corresponding to the voter), and send the claim to the server. Claiming the request, so that the server determines the target voting option based on the voting party identification, and then determines the claiming result.
其中,确定领取结果的过程可以参考上文实施例,本实施例在此不做赘述。Wherein, for the process of determining the receiving result, reference may be made to the above embodiment, which will not be repeated in this embodiment.
步骤1403,接收所述服务器返回的领取结果和投票结果,并基于领取结果和投票结果显示领取界面。Step 1403: Receive the claiming result and voting result returned by the server, and display the claiming interface based on the claiming result and the voting result.
在一种可能的实施方式中,服务器确定出该投票方标识对应的领取结果后,可以将该领取结果和投票结果发送至终端,以便终端基于领取结果和投票结果显示领取界面。In a possible implementation manner, after the server determines the claiming result corresponding to the voting party identifier, the server may send the claiming result and the voting result to the terminal, so that the terminal can display the claiming interface based on the claiming result and the voting result.
其中,领取界面中显示有领取信息,当领取信息为领取结果时,可以直接将领取结果和投票结果显示在领取界面中。Among them, the claiming interface displays claiming information, and when the claiming information is the claiming result, the claiming result and voting result can be directly displayed on the claiming interface.
本实施例中,通过终端与服务器之间的信息交互,从而实现虚拟物品包的投票过程和领取过程,其中,通过将包含投票方标识和目标投票选项的投票信息发送至服务器,以便服务器可以基于该投票信息更新投票结果,并基于该目标投票选项确定各个投票方对应的领取结果。In this embodiment, through the information interaction between the terminal and the server, the voting process and the receiving process of the virtual item package are realized. The voting information updates the voting result, and determines the receiving result corresponding to each voting party based on the target voting option.
上文实施例中主要描述了虚拟物品包的发布过程,以及虚拟物品包在终端中的领取过程,在虚拟物品包发布和领取过程中,均需要终端与服务器之间进行信息交互实现,下文着重描述服务器在虚拟物品包领取过程中的交互实现。The above embodiment mainly describes the release process of the virtual item package and the collection process of the virtual item package in the terminal. During the release and collection process of the virtual item package, information interaction between the terminal and the server is required. The following focuses on Describe the interactive implementation of the server in the process of receiving virtual item packages.
请参考图15,其示出了本申请一个示例性实施例提供的虚拟物品领取方法的流程图。以该方法的执行 主体为图1所示出的服务器120来举例说明,该方法至少包括如下步骤:Please refer to FIG. 15 , which shows a flowchart of a method for claiming a virtual item provided by an exemplary embodiment of the present application. Taking the execution subject of the method as the server 120 shown in FIG. 1 as an example, the method at least includes the following steps:
步骤1501,发布虚拟物品包,虚拟物品包对应至少两个投票选项。Step 1501: Publish a virtual item package corresponding to at least two voting options.
本实施例以将虚拟物品包发布至目标群组为例进行示例性说明,在一种可能的实施方式中,终端在接收到对虚拟物品包的发布操作时,可以向服务器发送虚拟物品包对应的发布请求,该发布请求中可以包括虚拟物品包对应的参数信息,以及虚拟物品包对应的接收方(目标群组成员对应的终端),对应的,服务器在接收到该发布请求后,可以将虚拟物品包发布至目标群组。This embodiment takes the example of publishing the virtual item package to the target group as an example for illustration. In a possible implementation, when the terminal receives the publishing operation for the virtual item package, it may send the corresponding virtual item package to the server. The release request can include the parameter information corresponding to the virtual item package, and the receiver corresponding to the virtual item package (the terminal corresponding to the target group member). Correspondingly, after receiving the release request, the server can The virtual item package is published to the target group.
步骤1502,接收投票方发送的投票信息,投票信息中包含投票方标识和投票方选择的目标投票选项。Step 1502: Receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party.
在一种可能的实施方式中,当终端接收到投票方的选择操作时,可以获取到包含投票方标识和目标投票选项的投票信息,并将该投票信息发送至服务器,对应服务器接收到投票方发送的投票信息。In a possible implementation, when the terminal receives the voting party's selection operation, it can obtain the voting information including the voting party's identifier and the target voting option, and send the voting information to the server, and the corresponding server receives the voting party's voting information. Voting information sent.
其中,若虚拟物品包被发布至目标群组,对应服务器可以接收到目标群组内投票方发送的投票信息;若虚拟物品包被发布至直播间,对应服务器可以接收到直播间内投票方发送的投票信息;若虚拟物品包被发布至目标社交空间,对应服务器接收到目标社交空间内投票方发送的投票信息,该目标社交空间可以是朋友圈、社交主页等。Among them, if the virtual item package is published to the target group, the corresponding server can receive the voting information sent by the voting parties in the target group; if the virtual item package is published to the live broadcast room, the corresponding server can receive the voting information sent by the voting parties in the live broadcast room. If the virtual item package is published to the target social space, the corresponding server receives the voting information sent by the voting party in the target social space, and the target social space can be a circle of friends, a social homepage, etc.
可选的,服务器在接收到该投票信息后,可以将该投票信息和虚拟物品包关联存储,以便在接收到虚拟物品包的领取请求时,可以确定各个投票方对应的领取结果。Optionally, after receiving the voting information, the server may store the voting information in association with the virtual item package, so that when receiving a request for claiming the virtual item package, it may determine the collection result corresponding to each voter.
步骤1503,当投票结束时,基于接收到的至少一个投票信息确定虚拟物品包对应的投票结果。 Step 1503, when the voting ends, determine the voting result corresponding to the virtual item package based on the at least one piece of voting information received.
其中,虚拟物品包对应的参数信息中还包括投票结束条件,该投票结束条件用于确定投票结束的时机。The parameter information corresponding to the virtual item package further includes a voting end condition, and the voting end condition is used to determine the timing of the end of the voting.
在一种可能的实施方式中,当服务器确定出投票结束后,可以综合接收到的各个投票信息,确定虚拟物品包对应的投票结果,该投票结果可以是不同投票选项和其对应的投票数量。In a possible implementation, after the server determines that the voting is over, the server can synthesize the received voting information to determine the voting result corresponding to the virtual item package, and the voting result can be different voting options and their corresponding voting quantities.
在一个示例性的例子中,虚拟物品包对应投票选项A和投票选项B,服务器基于接收到的投票信息,得到选择投票选项A的投票方个数有10个,选择投票选项B的投票方个数有20个,对应的投票结果为:投票选项A:10,投票选项B:20。In an exemplary example, the virtual item package corresponds to voting option A and voting option B. The server obtains, based on the received voting information, that there are 10 voters who choose voting option A, and 10 voters who choose voting option B. There are 20 numbers, and the corresponding voting results are: voting option A: 10, voting option B: 20.
步骤1504,响应于投票方发送的领取请求,并根据虚拟物品包的投票结果确定投票方的领取结果,向投票方下发投票方对应的领取结果,领取请求中包含投票方标识。Step 1504: In response to the claim request sent by the voter, and according to the voting result of the virtual item package, determine the voter's claim result, and deliver the voter's corresponding claim result to the voter, and the claim request includes the voter identifier.
其中,领取结果对应的虚拟物品为目标投票选项对应的虚拟物品,且各个投票选项对应的虚拟物品由投票结果确定。投票方指的是参与投票的用户。The virtual item corresponding to the receiving result is the virtual item corresponding to the target voting option, and the virtual item corresponding to each voting option is determined by the voting result. Voting party refers to the user who participated in the voting.
服务器中预先存储有虚拟物品包对应的参数信息,该参数信息中包括虚拟物品包对应的投票选项、虚拟物品以及虚拟物品分配策略,其中,虚拟物品分配策略即投票结果方与虚拟物品之间的对应关系。The parameter information corresponding to the virtual item package is pre-stored in the server, and the parameter information includes the voting options corresponding to the virtual item package, the virtual item and the virtual item distribution strategy. The virtual item distribution policy is the relationship between the voting result party and the virtual item. Correspondence.
在一种可能的实施方式中,当服务器接收到投票方发送的领取请求时,首先根据领取结果中包含的投票方标识,确定该投票方对应的目标投票选项,继而根据目标投票选项确定该投票方所对应的领取结果。In a possible implementation, when the server receives a claim request sent by a voter, it first determines the target voting option corresponding to the voter according to the voter identifier included in the claim result, and then determines the vote according to the target voting option The corresponding receiving result of the party.
其中,基于目标投票选项确定领取结果的过程可以包括以下步骤:Wherein, the process of determining the receiving result based on the target voting option may include the following steps:
一、基于投票结果和虚拟物品分配策略确定各个投票选项对应的虚拟物品。1. Determine the virtual item corresponding to each voting option based on the voting result and the virtual item allocation strategy.
在一种可能的实施方式中,服务器预先设置有不同投票结果方与投票数量之间的关系,因此,服务器可以通过投票结果中各个投票选项对应的投票数量,确定各个投票结果方对应的投票选项。In a possible implementation, the server pre-sets the relationship between the parties with different voting results and the number of votes. Therefore, the server can determine the voting option corresponding to each voting result party according to the number of votes corresponding to each voting option in the voting result. .
示例性的,若虚拟物品包对应投票选项A和投票选项B,对应的,虚拟物品包对应投票结果方A和投票结果方B,投票结果方与投票数量之间的关系为:投票结果方A的投票数量大于投票结果方B的投票数量;若服务器获取到虚拟物品包对应的投票结果为:投票选项A对应10票,投票选项B对应20票,可见,投票选项A对应的投票数量小于投票选项B对应的投票数量,因此,基于投票结果可以确定出投票结果方A为投票选项B,投票结果方B对应投票选项A;虚拟物品分配策略为:投票结果方A对应虚拟物品A,投票结果方B对应虚拟物品B,基于虚拟物品分配策略和投票结果可以得出:投票选项B对应虚拟物品A,投票选项A对应虚拟物品B。Exemplarily, if the virtual item package corresponds to voting option A and voting option B, correspondingly, the virtual item package corresponds to voting result party A and voting result party B, and the relationship between the voting result party and the number of votes is: voting result party A The number of votes is greater than the number of votes of the voting result party B; if the server obtains the voting result corresponding to the virtual item package: voting option A corresponds to 10 votes, and voting option B corresponds to 20 votes. It can be seen that the number of votes corresponding to voting option A is less than the number of votes. The number of votes corresponding to option B. Therefore, based on the voting result, it can be determined that the voting result party A is the voting option B, and the voting result party B corresponds to the voting option A; the virtual item distribution strategy is: the voting result party A corresponds to the virtual item A, and the voting result Party B corresponds to virtual item B. Based on the virtual item allocation strategy and voting results, it can be concluded that voting option B corresponds to virtual item A, and voting option A corresponds to virtual item B.
二、确定目标投票选项对应的虚拟物品。2. Determine the virtual items corresponding to the target voting options.
在一种可能的实施方式中,当确定出各个投票选项对应的虚拟物品后,即可以根据投票方对应的目标投票选项,确定出该目标投票选项对应的虚拟物品。示例性的,若包含投票选项A和投票选项B,投票选项B对应虚拟物品A,投票选项A对应虚拟物品B,目标投票选项为投票选项B,则目标投票选项对应的虚拟物品为虚拟物品A。In a possible implementation, after the virtual item corresponding to each voting option is determined, the virtual item corresponding to the target voting option may be determined according to the target voting option corresponding to the voting party. Exemplarily, if voting option A and voting option B are included, voting option B corresponds to virtual item A, voting option A corresponds to virtual item B, and the target voting option is voting option B, then the virtual item corresponding to the target voting option is virtual item A. .
三、基于该目标投票选项对应的虚拟物品确定投票方对应的领取结果。3. Determine the receiving result corresponding to the voting party based on the virtual item corresponding to the target voting option.
在一种可能的实施方式中,当确定出目标投票选项对应的虚拟物品后,服务器可以采用随机策略或平均策略,从虚拟物品对应的物品数量中划分得到各个投票方对应的领取结果。In a possible implementation, after determining the virtual item corresponding to the target voting option, the server may adopt a random strategy or an average strategy to divide the number of items corresponding to the virtual item to obtain the collection result corresponding to each voter.
其中,采用随机策略后,选择目标投票选项的各个投票方对应的领取结果可以不同,而采用平均策略后,则选择目标投票选项的各个投票方对应的领取结果相同,领取结果=虚拟物品对应的物品数量/目标投票选项对应的投票数量。Among them, after the random strategy is adopted, the receiving results corresponding to each voter who selects the target voting option may be different, while after the average strategy is adopted, the corresponding receiving results of each voter who chooses the target voting option are the same, and the receiving result = the corresponding virtual item. The number of votes corresponding to the item number/target voting option.
综上所述,本申请实施例中,通过终端与服务器之间的信息交互,可以实现虚拟物品包的发布过程、领取过程和投票过程。通过将虚拟物品包的领取过程与投票过程相结合,使得虚拟物品包具备虚拟物品领取功能和投票功能,由于可将虚拟物品包的领取过程与投票过程相结合,因此,可生成同时具有领取和投票功能的虚拟物品包,相比于分别生成仅用于领取的虚拟物品包和仅用于进行投票的虚拟物品包,本申请可减少所生成的虚拟物品包的数量,从而节约生成虚拟物品包时所耗费的电力、运算资源。在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果,从而节约了督促用户参与投票所耗费的电力、运算等资源。To sum up, in the embodiment of the present application, through the information interaction between the terminal and the server, the publishing process, the receiving process and the voting process of the virtual item package can be realized. By combining the collection process of the virtual item package with the voting process, the virtual item package has the virtual item collection function and the voting function. Since the collection process of the virtual item package and the voting process can be combined, it is possible to generate a collection and a voting process at the same time. For the virtual item package with voting function, compared with generating a virtual item package only for receiving and a virtual item package only for voting, the present application can reduce the number of generated virtual item packages, thereby saving the generation of virtual item packages power consumption and computing resources. During the collection process, users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages. . At the same time, users can actively participate in voting by issuing virtual items, so that the corresponding publisher of the virtual item package can quickly collect the voting results through the collection process of the virtual item package, thereby saving electricity, computing and other resources consumed by urging users to participate in voting.
由于虚拟物品包对应的投票界面上层还会显示有投票弹幕,该投票弹幕由完成投票的投票方发布,而投票弹幕的发布和显示过程也需要由服务器与终端之间进行交互实现。Since the upper layer of the voting interface corresponding to the virtual item package will also display a voting barrage, the voting barrage is released by the voting party who has completed the vote, and the publishing and display process of the voting barrage also needs to be realized by the interaction between the server and the terminal.
在一个示例性的例子中,由服务器执行的虚拟物品包的领取过程还包括以下步骤:In an exemplary example, the process of claiming the virtual item package performed by the server further includes the following steps:
一、接收投票方发送的投票弹幕,将投票弹幕和投票方标识关联存储,投票弹幕由投票方完成投票后发布。1. Receive the voting barrage sent by the voting party, store the voting barrage and the voting party's ID in association, and release the voting barrage after the voting party completes the vote.
在一种可能的实施方式中,当终端接收到投票方对投票弹幕的发布操作,获取到投票方发布的投票弹幕,可以将投票弹幕和投票方标识发送给服务器,对应的,服务器接收到投票方发送的投票弹幕,并将该投票弹幕和投票方标识关联存储。In a possible implementation, when the terminal receives the voting party's publishing operation on the voting barrage, and obtains the voting barrage released by the voting party, the terminal can send the voting barrage and the voting party's identification to the server. Correspondingly, the server Receive the voting barrage sent by the voting party, and store the voting barrage and the voting party ID in association.
二、响应于目标群组内投票方发送的弹幕推送请求,向投票方反馈投票弹幕,投票弹幕用于在投票界面上层显示。2. In response to the barrage push request sent by the voting party in the target group, feedback the voting barrage to the voting party, and the voting barrage is used to display on the upper layer of the voting interface.
在一种可能的实施方式中,当终端接收到对虚拟物品包的触发操作,在显示投票界面过程中,可以向服务器发送弹幕推送请求,对应的服务器接收到目标群组内投票方发送的弹幕推送请求,向投票方反馈存储的投票弹幕,以便终端在接收到各个投票弹幕后,可以在投票界面上层进行显示。In a possible implementation, when the terminal receives the triggering operation on the virtual item package, in the process of displaying the voting interface, it can send a barrage push request to the server, and the corresponding server receives the message sent by the voting party in the target group. The barrage push request, feedback the stored voting barrage to the voting party, so that the terminal can display it on the upper layer of the voting interface after receiving each voting barrage.
可选的,为了降低终端的功耗,在服务器首次接收到终端发送的弹幕推送请求后,无需终端实时请求投票弹幕,由服务器每隔预设时间段向投票方反馈投票弹幕。其中,预设时间段可以由开发人员进行设置,比如,预设时间段为10min。Optionally, in order to reduce the power consumption of the terminal, after the server receives the barrage push request sent by the terminal for the first time, there is no need for the terminal to request the voting barrage in real time, and the server feeds back the voting barrage to the voting party at preset time intervals. The preset time period may be set by the developer, for example, the preset time period is 10 minutes.
可选的,为了进一步降低服务器功耗,服务器在确定存在新增投票弹幕时,向投票方反馈投票弹幕,无需服务器实时向投票方反馈投票弹幕,或终端实时向服务器请求投票弹幕。Optionally, in order to further reduce the power consumption of the server, when the server determines that there is a new voting barrage, it will feed back the voting barrage to the voting party, without the need for the server to feed back the voting barrage to the voting party in real time, or the terminal to request the voting barrage from the server in real time. .
本实施例中,通过终端与服务器之间进行信息交互,可以实现在投票界面中展示各个投票方发布的投票弹幕,从而促使参与投票的用户积极发表观点和想法,有利于发布方收集除投票选项之外的其他观点信息。In this embodiment, through the information exchange between the terminal and the server, the voting barrage released by each voting party can be displayed in the voting interface, thereby prompting the voting users to actively express their opinions and ideas, which is beneficial for the publishing party to collect and remove votes Additional point of view information other than options.
在一种可能的应用场景中,以虚拟物品包为PK红包为例,如图16所示,其示出了本申请一个示例性实施例示出的虚拟物品包发布方法的流程图。该方法包括:In a possible application scenario, taking the virtual item package as a PK red packet as an example, as shown in FIG. 16 , it shows a flowchart of a method for publishing a virtual item package according to an exemplary embodiment of the present application. The method includes:
步骤1601,选择PK红包。Step 1601, select the PK red envelope.
其中,在目标群组对应的群组界面中,设置有PK红包对应的红包控件,当用户需要发布PK红包时,可以选择PK红包对应的红包控件,从而进入PK红包对应的发布界面。Among them, in the group interface corresponding to the target group, a red packet control corresponding to the PK red packet is set. When the user needs to publish the PK red packet, the red packet control corresponding to the PK red packet can be selected, thereby entering the publishing interface corresponding to the PK red packet.
步骤1602,设置红包金额、主体、两个选项、以及获胜方失败方奖励。Step 1602, set the red envelope amount, subject, two options, and the winner and loser reward.
用户在PK红包对应的发布界面中配置PK红包对应的参数信息,比如,红包金额、主题、两个选项、以及获胜方失败方奖励,获胜方和失败方奖励即虚拟物品分配策略。The user configures the parameter information corresponding to the PK red envelope in the release interface corresponding to the PK red envelope, such as the red envelope amount, theme, two options, and the winner and the loser's reward. The winner and loser's reward is the virtual item distribution strategy.
步骤1603,支付红包金额。Step 1603, pay the red envelope amount.
其中,红包金额由红包对应发布方提供,需要进行支付操作。Among them, the amount of the red envelope is provided by the corresponding issuer of the red envelope, and a payment operation is required.
步骤1604,发到群里。Step 1604, send to the group.
当红包金额支付完成后,即可以将PK红包发布至目标群组。When the payment of the red envelope amount is completed, the PK red envelope can be released to the target group.
在一种可能的应用场景中,以虚拟物品包为PK红包为例,如图17所示,其示出了本申请一个示例性实施例示出的虚拟物品包领取方法的流程图。该方法包括:In a possible application scenario, taking the virtual item package as a PK red packet as an example, as shown in FIG. 17 , it shows a flowchart of a method for collecting a virtual item package shown in an exemplary embodiment of the present application. The method includes:
步骤1701,点击红包。Step 1701, click on the red envelope.
当用户点击PK红包后,可以显示PK红包对应的投票界面,可以在该投票界面中选择投票选项。When the user clicks the PK red envelope, the voting interface corresponding to the PK red envelope can be displayed, and the voting option can be selected in the voting interface.
步骤1702,选择自己赞成的观点。Step 1702, select the viewpoint that you agree with.
观点即上文实施例中的投票选项,用户在投票界面中选择自己赞成的投票选项。The opinion is the voting option in the above embodiment, and the user selects the voting option he approves in the voting interface.
步骤1703,是否有自己的想法。Step 1703, whether you have your own ideas.
当用户投票完成后,投票界面中会显示有弹幕输入框,若用户想要发表自身观点,可以进入步骤1704,通过在弹幕输入框中进行输入和发布。After the user votes, a pop-up input box will be displayed on the voting interface. If the user wants to express his or her own opinion, he may enter step 1704, and enter and publish in the pop-up input box.
步骤1704,输入自己的观点。Step 1704, input your own opinion.
步骤1705,倒计时是否结束。Step 1705, whether the countdown is over.
PK红包具有投票结束条件,本实施例中,PK红包的投票结束条件为时长阈值时,倒计时结束即表示投票结束。The PK red envelope has a voting end condition. In this embodiment, when the voting end condition of the PK red envelope is the time length threshold, the end of the countdown means the voting ends.
步骤1706,点击开红包。Step 1706, click to open the red envelope.
当投票结束时,会显示领取提示页面,用户可以点击领取提示页面中的红包开启控件,领取红包。When the voting is over, the claim reminder page will be displayed, and the user can click the red envelope on the claim tip page to open the control to claim the red envelope.
步骤1707,查看自己的奖励及PK结果(系统将奖励存入用户账户)。Step 1707, check your own reward and PK result (the system will deposit the reward into the user account).
步骤1708,是否查看领取详情。Step 1708, check whether to check the receiving details.
步骤1709,查看PK的胜方及败方的情况。Step 1709, check the situation of the winner and loser of the PK.
步骤1710,是否是红包发起方。Step 1710, whether it is the initiator of the red envelope.
步骤1711,是否查看所有不同的观点。Step 1711, whether to view all the different viewpoints.
步骤1712,查看所有不同的观点。Step 1712, view all the different viewpoints.
步骤1713,留在群里或暂时离开群。Step 1713, stay in the group or temporarily leave the group.
在一种可能的实施方式中,用户参与投票、领取红包都需要实时与后台进行数据交互,交互过程的时序图如图18所示。In a possible implementation, users participating in voting and receiving red envelopes need to interact with the background in real time. The sequence diagram of the interaction process is shown in Figure 18.
当用户进入群聊时,群聊界面1801中显示有PK红包,用户打开红包时,校验此时PK红包对应的状态(校验状态即确定投票是否结束),查询投票活动是否结果,返回状态值,若状态值是“否”,表示投票未结束,可以选择投票选项;若状态值是“是”,表示投票结束。When the user enters the group chat, the PK red envelope is displayed in the group chat interface 1801. When the user opens the red envelope, check the status corresponding to the PK red envelope at this time (check the status to determine whether the voting is over), check whether the voting activity is successful, and return the status If the status value is "No", it means that the voting is not over, and you can choose the voting option; if the status value is "Yes", it means that the voting is over.
用户可以在PK红包对应的红包界面1802中选择投票选项,终端向服务器1803发送用户选择(投票信息),服务器1803存储用户选择,并反馈选择状态,存储成功即选择成功,存储失败即选择失败。The user can select the voting option in the red envelope interface 1802 corresponding to the PK red envelope, the terminal sends the user's choice (voting information) to the server 1803, and the server 1803 stores the user's choice and feeds back the selection status.
用户可以在PK红包对应的红包界面1802中发表自己的观点,终端向服务器1803发送用户个人观点(投票弹幕),服务器1803对应存储用户个人观点,并反馈存储状态。The user can express his opinion in the red envelope interface 1802 corresponding to the PK red envelope, the terminal sends the user's personal opinion (voting barrage) to the server 1803, and the server 1803 stores the user's personal opinion correspondingly and feeds back the storage status.
当投票结束后,用户通过开红包查询用户红包奖励,终端向服务器1803发送查询请求,以查询用户红包奖励,服务器1803在接收到查询请求后,计算用户奖励,并反馈用户红包奖励。When the voting is over, the user queries the user's red envelope reward by opening a red envelope, and the terminal sends a query request to the server 1803 to query the user's red envelope reward. After receiving the query request, the server 1803 calculates the user's reward and feeds back the user's red envelope reward.
以下为本申请的装置实施例,对于装置实施例中未详细描述的细节,可参考上述方法实施例。The following is an apparatus embodiment of the present application. For details that are not described in detail in the apparatus embodiment, reference may be made to the foregoing method embodiment.
图19是本申请一个示例性实施例提供的虚拟物品领取装置的结构框图。该装置包括:FIG. 19 is a structural block diagram of a virtual item claiming apparatus provided by an exemplary embodiment of the present application. The device includes:
第一显示模块1901,用于响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,所述投票界面中包含至少两个投票选项;a first display module 1901, configured to display a voting interface corresponding to the virtual goods package in response to a triggering operation on the virtual goods package, and the voting interface includes at least two voting options;
第一接收模块1902,用于接收对至少两个所述投票选项中目标投票选项的选择操作;a first receiving module 1902, configured to receive a selection operation for a target voting option in at least two of the voting options;
第二显示模块1903,用于当投票结束时,显示所述虚拟物品包对应的领取界面,所述领取界面中包含领取信息和投票结果;目标投票选项为所述投票选项中被选中的投票选项,用于确定投票结果。The second display module 1903 is configured to display the receiving interface corresponding to the virtual item package when the voting is over, and the receiving interface includes the receiving information and the voting result; the target voting option is the selected voting option in the voting options , used to determine the voting result.
在一个可选的实施例中,所述第二显示模块1903,包括:In an optional embodiment, the second display module 1903 includes:
第一显示单元,用于若当前时间处于投票结束阶段,且当前显示界面为目标群组的群组消息界面,则显示所述虚拟物品包对应的领取提示界面,所述目标群组为发布有所述虚拟物品包的群组;The first display unit is configured to display the receiving prompt interface corresponding to the virtual item package if the current time is in the voting end stage and the current display interface is the group message interface of the target group, and the target group is published with a group of said virtual item packages;
第二显示单元,用于响应于对所述领取提示界面中领取入口的触发操作,显示所述虚拟物品包对应的所述领取界面。A second display unit, configured to display the claiming interface corresponding to the virtual item package in response to the triggering operation on the claiming entrance in the claiming prompt interface.
在一个可选的实施例中,所述领取信息包含领取结果;In an optional embodiment, the claim information includes a claim result;
所述第一接收模块1902,包括:The first receiving module 1902 includes:
发送单元,用于响应于对至少两个所述投票选项中所述目标投票选项的选择操作,向服务器发送投票信息,所述投票信息中包含投票方标识和所述目标投票选项;a sending unit, configured to send voting information to a server in response to a selection operation on the target voting option in at least two of the voting options, where the voting information includes a voting party identifier and the target voting option;
所述第二显示单元,还用于:The second display unit is also used for:
响应于对所述领取提示界面中领取入口的触发操作,向所述服务器发送领取请求,所述领取请求中包含所述投票方标识,所述服务器用于基于所述投票方标识确定所述目标投票选项,并基于所述目标投票选项确定所述领取结果;In response to the triggering operation on the claim entry in the claim prompt interface, a claim request is sent to the server, the claim request includes the voter identifier, and the server is configured to determine the target based on the voter identifier voting options, and determining the claim result based on the target voting options;
接收所述服务器返回的领取结果和投票结果,并基于所述领取结果和所述投票结果显示所述领取界面。Receive the claiming result and voting result returned by the server, and display the claiming interface based on the claiming result and the voting result.
在一个可选的实施例中,所述投票界面上层显示有投票弹幕,所述投票弹幕由完成投票的投票方发布;In an optional embodiment, a voting barrage is displayed on the upper layer of the voting interface, and the voting barrage is published by the voting party who has completed the voting;
所述装置还包括:The device also includes:
第三显示模块,用于在所述投票界面中显示弹幕输入框;a third display module, used for displaying a bullet screen input box in the voting interface;
第四显示模块,用于响应于对所述弹幕输入框的输入操作,在所述投票界面上层显示所述弹幕输入框 内输入的投票弹幕,并向服务器发送所述投票弹幕;其中,发送的所述投票弹幕用于指示所述服务器将所述投票弹幕推送至参与投票的投票方的终端。a fourth display module, configured to, in response to an input operation on the bullet screen input box, display the voting bullet screen input in the bullet screen input box on the upper layer of the voting interface, and send the voting bullet screen to the server; The sent voting barrage is used to instruct the server to push the voting barrage to the terminals of the voting parties participating in the voting.
在一个可选的实施例中,所述领取界面中显示有详情页入口;In an optional embodiment, a detail page entry is displayed in the claim interface;
所述装置还包括:The device also includes:
第五显示模块,用于响应于对所述详情页入口的触发操作,显示所述虚拟物品包对应的领取详情界面,所述领取详情界面用于显示已领取虚拟物品的投票方的领取结果。The fifth display module is configured to display a claim details interface corresponding to the virtual item package in response to a triggering operation on the entry of the details page, and the claim details interface is used to display the claim result of the voter who has claimed the virtual item.
在一个可选的实施例中,所述第五显示模块,包括:In an optional embodiment, the fifth display module includes:
第三显示单元,用于响应于对所述详情页入口的触发操作,在所述领取详情界面中显示第一领取详情页,所述第一领取详情页用于显示所述目标投票选项对应虚拟物品的领取详情;a third display unit, configured to display a first claim details page in the claim details interface in response to a triggering operation on the details page entry, where the first claim details page is used to display the virtual corresponding to the target voting option the collection details of the item;
第四显示单元,用于响应于对所述领取详情界面的滑动操作,在所述领取详情界面中切换显示第二领取详情页,所述第二领取详情页用于显示所述目标投票选项外其他投票选项对应虚拟物品的领取详情;其中,各个投票选项对应的虚拟物品由所述投票结果确定得到。The fourth display unit is used to switch and display a second claim details page in the claim details interface in response to the sliding operation on the claim details interface, and the second claim details page is used to display the options other than the target voting options. The other voting options correspond to the collection details of the virtual items; wherein, the virtual items corresponding to each voting option are determined by the voting results.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the apparatus further includes:
第六显示模块,用于响应于对所述领取详情界面中目标投票方对应领取结果的选择操作,显示所述目标投票方发布的投票弹幕,所述投票弹幕由所述目标投票方完成投票后发布;所述目标投票方为在已领取虚拟物品的投票方中被选中的投票方。The sixth display module is used to display the voting barrage published by the target voting party in response to the selection operation on the receiving result corresponding to the target voting party in the receiving details interface, and the voting barrage is completed by the target voting party Published after voting; the target voter is the voter selected among the voters who have claimed the virtual item.
在一个可选的实施例中,所述装置还包括:In an optional embodiment, the apparatus further includes:
第七显示模块,用于响应于对所述领取详情界面中弹幕详情入口的触发操作,显示弹幕详情页面,并在弹幕详情页面中显示各个所述投票方发布的弹幕,其中,所述弹幕详情入口显示在所述虚拟物品包对应的发布方的所述领取详情界面。The seventh display module is configured to display the bullet screen details page in response to the triggering operation on the bullet screen details entry in the receiving details interface, and display the bullet screen published by each of the voting parties in the bullet screen details page, wherein, The bullet screen details entry is displayed on the receiving details interface of the publisher corresponding to the virtual item package.
在一个可选的实施例中,所述领取信息用于指示领取结果,所述领取结果对应的虚拟物品为所述目标投票选项对应的虚拟物品,且各个投票选项对应的虚拟物品由所述投票结果确定得到。In an optional embodiment, the claiming information is used to indicate a claiming result, the virtual item corresponding to the claiming result is the virtual item corresponding to the target voting option, and the virtual item corresponding to each voting option is selected by the voting The result is confirmed.
在一个可选的实施例中,所述第一显示模块1901,包括:In an optional embodiment, the first display module 1901 includes:
第五显示单元,用于若投票未结束,则响应于对所述虚拟物品包的触发操作,显示所述虚拟物品包对应的所述投票界面;a fifth display unit, configured to display the voting interface corresponding to the virtual item package in response to a triggering operation on the virtual item package if the voting has not ended;
所述方法还包括:The method also includes:
第八显示模块,用于若投票结束,则响应于对所述虚拟物品包的触发操作,显示所述领取界面。The eighth display module is configured to display the claiming interface in response to the triggering operation on the virtual item package if the voting ends.
综上所述,本申请实施例中,通过将虚拟物品包的领取过程与投票过程相结合,使得虚拟物品包具备虚拟物品领取功能和投票功能,在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果。To sum up, in the embodiment of the present application, by combining the virtual item package collection process with the voting process, the virtual item package has the virtual item collection function and the voting function. In the collection process, the user needs to complete the vote before the Participating in the collection of virtual item packages enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interactivity in the process of receiving virtual item packages. At the same time, users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
图20是本申请一个示例性实施例提供的虚拟物品发布装置的结构框图。所述装置包括:FIG. 20 is a structural block diagram of an apparatus for issuing virtual items provided by an exemplary embodiment of the present application. The device includes:
第九显示模块2001,用于显示虚拟物品包对应的发布界面;The ninth display module 2001 is used to display the release interface corresponding to the virtual item package;
获取模块2002,用于响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,所述参数信息包括所述虚拟物品包对应的至少两个投票选项和虚拟物品;所述参数信息用于对所述虚拟物品包进行配置;The obtaining module 2002 is configured to obtain parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface, the parameter information including at least two voting options and virtual items corresponding to the virtual item package; The parameter information is used to configure the virtual item package;
第一发布模块2003,用于响应于对所述虚拟物品包的发布操作,发布已配置的所述虚拟物品包。The first publishing module 2003 is configured to publish the configured virtual item package in response to the publishing operation on the virtual item package.
在一个可选的实施例中,所述获取模块2002,包括:In an optional embodiment, the obtaining module 2002 includes:
第一获取单元,用于通过所述发布界面内的投票选项设置控件,获取设置的至少两个所述投票选项;a first obtaining unit, configured to obtain at least two of the set voting options through the voting option setting controls in the publishing interface;
第二获取单元,用于通过所述发布界面内的物品设置控件,获取设置的所述虚拟物品的物品类型和物品数量。The second obtaining unit is configured to obtain the set item type and item quantity of the virtual item through the item setting control in the publishing interface.
在一个可选的实施例中,所述参数信息还包括所述虚拟物品包对应的虚拟物品分配策略,所述虚拟物品分配策略用于指示投票结果中投票结果方与所述虚拟物品之间的对应关系;In an optional embodiment, the parameter information further includes a virtual item distribution policy corresponding to the virtual item package, where the virtual item distribution policy is used to indicate the relationship between the voting result party and the virtual item in the voting result. Correspondence;
所述获取模块2002,包括:The acquisition module 2002 includes:
第六显示单元,用于响应于对所述发布界面内所述投票结果方的触发操作,显示所述投票结果方对应的至少一种候选虚拟物品;a sixth display unit, configured to display at least one candidate virtual item corresponding to the voting result party in response to a triggering operation on the voting result party in the publishing interface;
确定单元,用于响应于对所述候选虚拟物品的选择操作,将选择操作所选中的候选虚拟物品作为目标虚拟物品,并将所述目标虚拟物品确定为所述投票结果方对应的虚拟物品。The determining unit is configured to, in response to the selection operation on the candidate virtual item, take the candidate virtual item selected by the selection operation as the target virtual item, and determine the target virtual item as the virtual item corresponding to the voting result party.
在一个可选的实施例中,所述第二获取单元,还用于:In an optional embodiment, the second obtaining unit is further configured to:
通过所述发布界面内的所述物品设置控件,获取数量阈值和设置的所述物品数量;Obtain the quantity threshold and the set quantity of the item through the item setting control in the publishing interface;
响应于所述物品数量低于所述数量阈值,显示提示信息,所述数量阈值根据物品最低领取数量、投票 总数以及所述目标群组的群组规模中的至少一种确定得到。In response to the item quantity being lower than the quantity threshold, a prompt message is displayed, and the quantity threshold is determined according to at least one of the minimum pick-up quantity of items, the total number of votes, and the group size of the target group.
在一个可选的实施例中,所述参数信息还包括所述虚拟物品包对应的投票结束条件,所述投票结束条件包括投票总数达到数量阈值。In an optional embodiment, the parameter information further includes a voting end condition corresponding to the virtual item package, and the voting end condition includes that the total number of votes reaches a quantity threshold.
在一个可选的实施例中,所述参数信息还包括所述虚拟物品包对应的投票结束条件,所述投票结束条件包括所述虚拟物品包的发布时长达到时长阈值。综上所述,本申请实施例中,提供有虚拟物品包对应的发布界面,使得用户可以在发布界面中对虚拟物品包对应的参数信息进行配置,由于该参数信息中包含投票选项和虚拟物品,使得基于该参数信息生成的虚拟物品包具备虚拟物品领取功能的同时还具备投票功能。在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果。In an optional embodiment, the parameter information further includes a voting ending condition corresponding to the virtual item package, and the voting ending condition includes that the release duration of the virtual item package reaches a duration threshold. To sum up, in the embodiment of the present application, a publishing interface corresponding to the virtual item package is provided, so that the user can configure the parameter information corresponding to the virtual item package in the publishing interface, because the parameter information includes voting options and virtual items. , so that the virtual item package generated based on the parameter information has the function of collecting virtual items and also has the function of voting. During the collection process, users need to complete the voting before they can participate in the collection of virtual item packages, which enriches the way users receive virtual item packages, increases the user's sense of participation in receiving virtual item packages, and further enhances the interaction in the process of receiving virtual item packages. . At the same time, users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
图21是本申请另一个示例性实施例提供的虚拟物品领取装置的结构框图。所述装置包括:FIG. 21 is a structural block diagram of a virtual item claiming apparatus provided by another exemplary embodiment of the present application. The device includes:
第二发布模块2101,用于发布虚拟物品包,所述虚拟物品包对应至少两个投票选项;The second publishing module 2101 is configured to publish a virtual item package, where the virtual item package corresponds to at least two voting options;
第二接收模块2102,用于接收投票方发送的投票信息,所述投票信息中包含投票方标识和所述投票方选择的目标投票选项;The second receiving module 2102 is configured to receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party;
确定模块2103,用于当投票结束时,基于接收到的至少一个所述投票信息确定所述虚拟物品包对应的投票结果;A determination module 2103, configured to determine the voting result corresponding to the virtual item package based on the received at least one of the voting information when the voting ends;
发送模块2104,用于响应于所述投票方发送的领取请求,并根据所述虚拟物品包的投票结果确定所述投票方的领取结果,向所述投票方下发所述投票方对应的领取结果,所述领取请求中包含所述投票方标识。The sending module 2104 is configured to respond to the claiming request sent by the voting party, and determine the claiming result of the voting party according to the voting result of the virtual item package, and issue the claiming party corresponding to the voting party to the voting party As a result, the claiming request contains the voting party identifier.
综上所述,本申请实施例中,通过终端与服务器之间的信息交互,可以实现虚拟物品包的发布过程、领取过程和投票过程。通过将虚拟物品包的领取过程与投票过程相结合,使得虚拟物品包具备虚拟物品领取功能和投票功能,在领取过程中,用户需要完成投票后才可以参与领取虚拟物品包,丰富了用户领取虚拟物品包的方式,可以增加用户领取虚拟物品包的参与感,进一步提升虚拟物品包领取过程中的互动性。同时,可以通过发放虚拟物品促进用户积极参与投票,进而使得虚拟物品包对应发布者可以通过虚拟物品包的领取过程迅速收集投票结果。To sum up, in this embodiment of the present application, through the information interaction between the terminal and the server, the publishing process, the receiving process and the voting process of the virtual item package can be realized. By combining the collection process of the virtual item package with the voting process, the virtual item package has the virtual item collection function and the voting function. During the collection process, the user needs to complete the vote before participating in the collection of the virtual item package, which enriches the virtual item collection for users. The method of the item package can increase the user's sense of participation in receiving the virtual item package, and further enhance the interactivity in the process of receiving the virtual item package. At the same time, users can actively participate in voting by issuing virtual items, so that the publisher corresponding to the virtual item package can quickly collect voting results through the process of collecting the virtual item package.
本申请实施例提供了一种计算机设备,该计算机设备包括处理器和存储器,存储器中存储有至少一段程序,至少一段程序由该处理器加载并执行以实现如上述可选实施方式中提供的虚拟物品领取方法,或,实现如上述可选实施方式中提供的虚拟物品发布方法。可选的,计算机设备可以是终端,也可以是服务器。An embodiment of the present application provides a computer device, the computer device includes a processor and a memory, and the memory stores at least a piece of program, and at least a piece of program is loaded and executed by the processor to implement the virtual system provided in the above-mentioned optional implementation manner. The method for picking up items, or, implementing the method for publishing virtual items as provided in the above-mentioned optional embodiments. Optionally, the computer device may be a terminal or a server.
当计算机设备是终端时,该终端可用于执行上述可选实施方式中终端侧的虚拟物品领取方法,或执行上述可选实施方式中终端侧的虚拟物品发布方法。When the computer device is a terminal, the terminal can be used to execute the terminal-side virtual item claiming method in the foregoing optional embodiment, or execute the terminal-side virtual item publishing method in the foregoing optional embodiment.
图22示出了本申请一个示例性实施例提供的终端2200的结构框图。该终端2200可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端2200还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其它名称。FIG. 22 shows a structural block diagram of a terminal 2200 provided by an exemplary embodiment of the present application. The terminal 2200 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, the standard audio level 3 of the moving picture expert compression), MP4 (Moving Picture Experts Group Audio Layer IV, the moving picture expert compressed standard audio Level 4) Player, laptop or desktop computer. Terminal 2200 may also be called user equipment, portable terminal, laptop terminal, desktop terminal, and the like by other names.
通常,终端2200包括有:处理器2201和存储器2202。Generally, the terminal 2200 includes: a processor 2201 and a memory 2202 .
处理器2201可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器2201可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器2201也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器2201可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器2201还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 2201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 2201 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish. The processor 2201 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state. In some embodiments, the processor 2201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 2201 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
存储器2202可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器2202还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器2202中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器2201所执行以实现本申请中方法实施例提供的信息处理方法。 Memory 2202 may include one or more computer-readable storage media, which may be non-transitory. Memory 2202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2202 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2201 to realize the information processing provided by the method embodiments in this application. method.
在一些实施例中,终端2200还可选包括有:外围设备接口2203和至少一个外围设备。处理器2201、存储器2202和外围设备接口2203之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口2203相连。具体地,外围设备包括:射频电路2204、显示屏2205、摄像头组件2206、音频电路2207、定位组件2208和电源2209中的至少一种。In some embodiments, the terminal 2200 may optionally further include: a peripheral device interface 2203 and at least one peripheral device. The processor 2201, the memory 2202 and the peripheral device interface 2203 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 2203 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2204 , a display screen 2205 , a camera assembly 2206 , an audio circuit 2207 , a positioning assembly 2208 and a power supply 2209 .
外围设备接口2203可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理 器2201和存储器2202。在一些实施例中,处理器2201、存储器2202和外围设备接口2203被集成在同一芯片或电路板上;在一些其它实施例中,处理器2201、存储器2202和外围设备接口2203中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 2203 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 2201 and the memory 2202. In some embodiments, processor 2201, memory 2202, and peripherals interface 2203 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 2201, memory 2202, and peripherals interface 2203 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路2204用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路2204通过电磁信号与通信网络以及其它通信设备进行通信。射频电路2204将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路2204包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路2204可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路2204还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 2204 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 2204 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 2204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 2204 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 2204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2204 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.
显示屏2205用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏2205是触摸显示屏时,显示屏2205还具有采集在显示屏2205的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器2201进行处理。此时,显示屏2205还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏2205可以为一个,设置终端2200的前面板;在另一些实施例中,显示屏2205可以为至少两个,分别设置在终端2200的不同表面或呈折叠设计;在再一些实施例中,显示屏2205可以是柔性显示屏,设置在终端2200的弯曲表面上或折叠面上。甚至,显示屏2205还可以设置成非矩形的不规则图形,也即异形屏。显示屏2205可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 2205 is used for displaying UI (User Interface, user interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 2205 is a touch display screen, the display screen 2205 also has the ability to acquire touch signals on or above the surface of the display screen 2205 . The touch signal may be input to the processor 2201 as a control signal for processing. At this time, the display screen 2205 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 2205, which is provided on the front panel of the terminal 2200; in other embodiments, there may be at least two display screens 2205, which are respectively arranged on different surfaces of the terminal 2200 or in a folded design; In still other embodiments, the display screen 2205 may be a flexible display screen, disposed on a curved surface or a folding surface of the terminal 2200 . Even, the display screen 2205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 2205 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
摄像头组件2206用于采集图像或视频。可选地,摄像头组件2206包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件2206还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 2206 is used to capture images or video. Optionally, the camera assembly 2206 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, the camera assembly 2206 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
音频电路2207可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器2201进行处理,或者输入至射频电路2204以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端2200的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器2201或射频电路2204的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路2207还可以包括耳机插孔。 Audio circuitry 2207 may include a microphone and speakers. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 2201 for processing, or input them to the radio frequency circuit 2204 to realize voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively disposed in different parts of the terminal 2200 . The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 2201 or the radio frequency circuit 2204 into sound waves. The loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes. In some embodiments, the audio circuit 2207 may also include a headphone jack.
定位组件2208用于定位终端2200的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件2208可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。The positioning component 2208 is used to locate the current geographic location of the terminal 2200 to implement navigation or LBS (Location Based Service). The positioning component 2208 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, or the Galileo system of Russia.
电源2209用于为终端2200中的各个组件进行供电。电源2209可以是交流电、直流电、一次性电池或可充电电池。当电源2209包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。The power supply 2209 is used to power various components in the terminal 2200 . The power source 2209 may be alternating current, direct current, primary batteries, or rechargeable batteries. When the power source 2209 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils. The rechargeable battery can also be used to support fast charging technology.
在一些实施例中,终端2200还包括有一个或多个传感器2210。该一个或多个传感器2210包括但不限于:加速度传感器2211、陀螺仪传感器2212、压力传感器2213、指纹传感器2214、光学传感器2215以及接近传感器2216。In some embodiments, the terminal 2200 also includes one or more sensors 2210. The one or more sensors 2210 include, but are not limited to, an acceleration sensor 2211 , a gyro sensor 2212 , a pressure sensor 2213 , a fingerprint sensor 2214 , an optical sensor 2215 and a proximity sensor 2216 .
加速度传感器2211可以检测以终端2200建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器2211可以用于检测重力加速度在三个坐标轴上的分量。处理器2201可以根据加速度传感器2211采集的重力加速度信号,控制触摸显示屏2205以横向视图或纵向视图进行信息处理。加速度传感器2211还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 2211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2200 . For example, the acceleration sensor 2211 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 2201 can control the touch display screen 2205 to perform information processing in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2211 . The acceleration sensor 2211 can also be used for game or user movement data collection.
陀螺仪传感器2212可以检测终端2200的机体方向及转动角度,陀螺仪传感器2212可以与加速度传感器2211协同采集用户对终端2200的3D动作。处理器2201根据陀螺仪传感器2212采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 2212 can detect the body direction and rotation angle of the terminal 2200 , and the gyroscope sensor 2212 can cooperate with the acceleration sensor 2211 to collect 3D actions of the user on the terminal 2200 . The processor 2201 can implement the following functions according to the data collected by the gyro sensor 2212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
压力传感器2213可以设置在终端2200的侧边框和/或触摸显示屏2205的下层。当压力传感器2213设置在终端2200的侧边框时,可以检测用户对终端2200的握持信号,由处理器2201根据压力传感器2213采集的握持信号进行左右手识别或快捷操作。当压力传感器2213设置在触摸显示屏2205的下层时,由处理器2201根据用户对触摸显示屏2205的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 2213 may be disposed on the side frame of the terminal 2200 and/or the lower layer of the touch display screen 2205 . When the pressure sensor 2213 is disposed on the side frame of the terminal 2200, the user's holding signal of the terminal 2200 can be detected, and the processor 2201 performs left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 2213. When the pressure sensor 2213 is disposed on the lower layer of the touch display screen 2205, the processor 2201 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 2205. The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
指纹传感器2214用于采集用户的指纹,由处理器2201根据指纹传感器2214采集到的指纹识别用户的身份,或者,由指纹传感器2214根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器2201授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器2214可以被设置终端2200的正面、背面或侧面。当终端2200上设置有物理按键或厂商Logo时,指纹传感器2214可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 2214 is used to collect the user's fingerprint, and the processor 2201 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 2214, or the fingerprint sensor 2214 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 2201 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 2214 may be provided on the front, back or side of the terminal 2200 . When the terminal 2200 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 2214 can be integrated with the physical buttons or the manufacturer's logo.
光学传感器2215用于采集环境光强度。在一个实施例中,处理器2201可以根据光学传感器2215采集的环境光强度,控制触摸显示屏2205的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏2205的显示亮度;当环境光强度较低时,调低触摸显示屏2205的显示亮度。在另一个实施例中,处理器2201还可以根据光学传感器2215采集的环境光强度,动态调整摄像头组件2206的拍摄参数。Optical sensor 2215 is used to collect ambient light intensity. In one embodiment, the processor 2201 can control the display brightness of the touch display screen 2205 according to the ambient light intensity collected by the optical sensor 2215 . Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2205 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2205 is decreased. In another embodiment, the processor 2201 may also dynamically adjust the shooting parameters of the camera assembly 2206 according to the ambient light intensity collected by the optical sensor 2215 .
接近传感器2216,也称距离传感器,通常设置在终端2200的前面板。接近传感器2216用于采集用户与终端2200的正面之间的距离。在一个实施例中,当接近传感器2216检测到用户与终端2200的正面之间的距离逐渐变小时,由处理器2201控制触摸显示屏2205从亮屏状态切换为息屏状态;当接近传感器2216检测到用户与终端2200的正面之间的距离逐渐变大时,由处理器2201控制触摸显示屏2205从息屏状态切换为亮屏状态。A proximity sensor 2216, also called a distance sensor, is usually disposed on the front panel of the terminal 2200. The proximity sensor 2216 is used to collect the distance between the user and the front of the terminal 2200 . In one embodiment, when the proximity sensor 2216 detects that the distance between the user and the front of the terminal 2200 gradually decreases, the processor 2201 controls the touch display screen 2205 to switch from the bright screen state to the off screen state; when the proximity sensor 2216 detects When the distance between the user and the front of the terminal 2200 gradually increases, the processor 2201 controls the touch display screen 2205 to switch from the off-screen state to the bright-screen state.
本领域技术人员可以理解,图22中示出的结构并不构成对终端2200的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 22 does not constitute a limitation on the terminal 2200, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
当计算机设备是服务器时,该服务器可用于执行上述可选实施方式中服务器侧的虚拟物品领取方法。When the computer device is a server, the server can be used to execute the method for claiming virtual items on the server side in the foregoing optional embodiment.
请参考图23,其示出了本申请一个实施例提供的服务器的结构示意图。所述服务器2300包括中央处理单元(CPU,Central Processing unit)2301、包括随机存取存储器(RAM,Random Access Memory)2302和只读存储器(ROM,Read-Only Memory)2303的系统存储器2304,以及连接系统存储器2304和中央处理单元2301的系统总线2305。所述服务器2300还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O,Input/Output)2306,和用于存储操作系统2313、应用程序2314和其他程序模块2315的大容量存储设备2307。Please refer to FIG. 23 , which shows a schematic structural diagram of a server provided by an embodiment of the present application. The server 2300 includes a central processing unit (CPU, Central Processing unit) 2301, a system memory 2304 including a random access memory (RAM, Random Access Memory) 2302 and a read-only memory (ROM, Read-Only Memory) 2303, and a connection System memory 2304 and system bus 2305 of the central processing unit 2301. The server 2300 also includes a basic input/output system (I/O, Input/Output) 2306 that facilitates the transfer of information between various devices within the computer, and a basic input/output system (I/O, Input/Output) 2306 for storing the operating system 2313, application programs 2314 and other program modules 2315. Mass storage device 2307.
所述基本输入/输出系统2306包括有用于显示信息的显示器2308和用于用户输入信息的诸如鼠标、键盘之类的输入设备2309。其中所述显示器2308和输入设备2309都通过连接到系统总线2305的输入/输出控制器2310连接到中央处理单元2301。所述基本输入/输出系统2306还可以包括输入/输出控制器2310以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入/输出控制器2310还提供输出到显示屏、打印机或其他类型的输出设备。The basic input/output system 2306 includes a display 2308 for displaying information and input devices 2309 such as a mouse, keyboard, etc., for user input of information. Both the display 2308 and the input device 2309 are connected to the central processing unit 2301 through the input/output controller 2310 connected to the system bus 2305. The basic input/output system 2306 may also include an input/output controller 2310 for receiving and processing input from a number of other devices such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 2310 also provides output to a display screen, printer, or other type of output device.
所述大容量存储设备2307通过连接到系统总线2305的大容量存储控制器(未示出)连接到中央处理单元2301。所述大容量存储设备2307及其相关联的计算机可读介质为服务器2300提供非易失性存储。也就是说,所述大容量存储设备2307可以包括诸如硬盘或者CD-ROM(Compact Disc Read-Only Memory,只读光盘)驱动器之类的计算机可读介质(未示出)。The mass storage device 2307 is connected to the central processing unit 2301 through a mass storage controller (not shown) connected to the system bus 2305. The mass storage device 2307 and its associated computer-readable media provide non-volatile storage for the server 2300. That is, the mass storage device 2307 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、EPROM(Erasable Programmable Read-Only Memory,可擦除可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,带电可擦除可编程只读存储器)、闪存或其他固态存储其技术,CD-ROM、DVD(Digital Video Disc,高密度数字视频光盘)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器2304和大容量存储设备2307可以统称为存储器。Without loss of generality, the computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, electrically erasable programmable read-only memory), flash memory or Other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc, high-density digital video disc) or other optical storage, cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art know that the computer storage medium is not limited to the above-mentioned ones. The system memory 2304 and the mass storage device 2307 described above may be collectively referred to as memory.
根据本申请的各种实施例,所述服务器2300还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器2300可以通过连接在所述系统总线2305上的网络接口单元2311连接到网络2312,或者说,也可以使用网络接口单元2311来连接到其他类型的网络或远程计算机系统(未示出)。According to various embodiments of the present application, the server 2300 may also be operated by connecting to a remote computer on the network through a network such as the Internet. That is, the server 2300 can be connected to the network 2312 through the network interface unit 2311 connected to the system bus 2305, or in other words, the network interface unit 2311 can also be used to connect to other types of networks or remote computer systems (not shown) .
所述存储器还包括一个或者一个以上的程序,所述一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上中央处理单元2301执行。The memory also includes one or more programs stored in the memory and configured to be executed by the one or more central processing units 2301 .
本申请还提供了一种计算机可读存储介质,所述可读存储介质中存储有至少一条指令、至少一段程序、 代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述任意示例性实施例所提供的虚拟物品领取方法,或,实现如上述任意示例性实施例所提供的虚拟物品发布方法。The present application also provides a computer-readable storage medium, where at least one instruction, at least one piece of program, code set or instruction set is stored in the readable storage medium, the at least one instruction, the at least one piece of program, the The code set or instruction set is loaded and executed by the processor to implement the virtual item claiming method provided by any of the foregoing exemplary embodiments, or to implement the virtual item issuing method provided by any of the foregoing exemplary embodiments.
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述可选实现方式中提供的虚拟物品领取方法,或,执行上述可选实现方式中提供的虚拟物品发布方法。Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the virtual item claiming method provided in the above-mentioned optional implementation manner, or executes the above-mentioned optional implementation manner The virtual item publishing method provided in .
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

Claims (22)

  1. 一种虚拟物品领取方法,其特征在于,应用于第二终端,所述方法包括:A method for collecting virtual items, characterized in that it is applied to a second terminal, and the method includes:
    响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,所述投票界面中包含至少两个投票选项;In response to the triggering operation on the virtual item package, displaying a voting interface corresponding to the virtual item package, where the voting interface includes at least two voting options;
    接收对至少两个所述投票选项中目标投票选项的选择操作;所述目标投票选项为所述投票选项中被选中的投票选项,用于确定投票结果;及receiving a selection operation for a target voting option in at least two of the voting options; the target voting option is the selected voting option among the voting options, and is used to determine a voting result; and
    当投票结束时,显示所述虚拟物品包对应的领取界面,所述领取界面中包含领取信息和投票结果。When the voting ends, a claiming interface corresponding to the virtual item package is displayed, and the claiming interface includes claiming information and voting results.
  2. 根据权利要求1所述的方法,其特征在于,所述当投票结束时,显示所述虚拟物品包对应的领取界面,包括:若当前时间处于投票结束阶段,且当前显示界面为目标群组的群组消息界面,则显示所述虚拟物品包对应的领取提示界面,所述目标群组为发布有所述虚拟物品包的群组;及The method according to claim 1, wherein when the voting is over, displaying the receiving interface corresponding to the virtual item package comprises: if the current time is in the voting end stage, and the current display interface is the target group's a group message interface, displaying a claim prompt interface corresponding to the virtual item package, and the target group is the group in which the virtual item package is published; and
    响应于对所述领取提示界面中领取入口的触发操作,显示所述虚拟物品包对应的所述领取界面。In response to the triggering operation on the claiming entrance in the claiming prompt interface, the claiming interface corresponding to the virtual item package is displayed.
  3. 根据权利要求2所述的方法,其特征在于,所述领取信息包含领取结果;The method according to claim 2, wherein the claim information comprises a claim result;
    所述接收对至少两个所述投票选项中目标投票选项的选择操作,包括:The receiving operation of selecting a target voting option in at least two of the voting options includes:
    响应于对至少两个所述投票选项中所述目标投票选项的选择操作,向服务器发送投票信息,所述投票信息中包含投票方标识和所述目标投票选项;In response to the selection operation of the target voting option in at least two of the voting options, sending voting information to the server, the voting information including the voting party identifier and the target voting option;
    所述响应于对所述领取提示界面中领取入口的触发操作,显示所述虚拟物品包对应的所述领取界面,包括:The displaying the claiming interface corresponding to the virtual item package in response to the triggering operation on the claiming entrance in the claiming prompt interface, including:
    响应于对所述领取提示界面中领取入口的触发操作,向所述服务器发送领取请求,所述领取请求中包含所述投票方标识,所述服务器用于基于所述投票方标识确定所述目标投票选项,并基于所述目标投票选项确定所述领取结果;及In response to the triggering operation on the claim entry in the claim prompt interface, a claim request is sent to the server, the claim request includes the voter identifier, and the server is configured to determine the target based on the voter identifier voting options, and determining the claim result based on the target voting options; and
    接收所述服务器返回的领取结果和投票结果,并基于所述领取结果和所述投票结果显示所述领取界面。Receive the claiming result and voting result returned by the server, and display the claiming interface based on the claiming result and the voting result.
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述投票界面上层显示有投票弹幕,所述投票弹幕由完成投票的投票方发布;The method according to any one of claims 1 to 3, wherein a voting barrage is displayed on the upper layer of the voting interface, and the voting barrage is issued by the voting party who has completed the voting;
    所述接收对至少两个所述投票选项中目标投票选项的选择操作之后,所述方法还包括:After receiving the selection operation for the target voting option in the at least two voting options, the method further includes:
    在所述投票界面中显示弹幕输入框;及displaying a popup input box in the voting interface; and
    响应于对所述弹幕输入框的输入操作,在所述投票界面上层显示所述弹幕输入框内输入的投票弹幕,并向服务器发送所述投票弹幕;其中,发送的所述投票弹幕用于指示所述服务器将所述投票弹幕推送至参与投票的投票方的终端。In response to the input operation on the bullet screen input box, the voting bullet screen input in the bullet screen input box is displayed on the upper layer of the voting interface, and the voting bullet screen is sent to the server; The bullet screen is used to instruct the server to push the voting bullet screen to the terminals of the voting parties participating in the voting.
  5. 根据权利要求1至3任一所述的方法,其特征在于,所述领取界面中显示有详情页入口;The method according to any one of claims 1 to 3, wherein a detail page entry is displayed in the receiving interface;
    所述显示所述虚拟物品包对应的领取界面之后,所述方法还包括:After displaying the receiving interface corresponding to the virtual item package, the method further includes:
    响应于对所述详情页入口的触发操作,显示所述虚拟物品包对应的领取详情界面,所述领取详情界面用于显示已领取虚拟物品的投票方的领取结果。In response to the triggering operation on the entry of the details page, a claim details interface corresponding to the virtual item package is displayed, and the claim details interface is used to display the claim result of the voter who has claimed the virtual item.
  6. 根据权利要求5所述的方法,其特征在于,所述响应于对所述详情页入口的触发操作,显示所述虚拟物品包对应的领取详情界面,包括:The method according to claim 5, wherein, in response to a triggering operation on the entry of the details page, displaying a claim details interface corresponding to the virtual item package, comprising:
    响应于对所述详情页入口的触发操作,在所述领取详情界面中显示第一领取详情页,所述第一领取详情页用于显示所述目标投票选项对应虚拟物品的领取详情;及In response to the triggering operation on the entry of the details page, a first claim details page is displayed in the claim details interface, and the first claim details page is used to display the claim details of the virtual item corresponding to the target voting option; and
    响应于对所述领取详情界面的滑动操作,在所述领取详情界面中切换显示第二领取详情页,所述第二领取详情页用于显示所述目标投票选项外其他投票选项对应虚拟物品的领取详情;其中,各个投票选项对应的虚拟物品由所述投票结果确定得到。In response to the sliding operation on the claim details interface, the second claim details page is switched to display in the claim details interface, and the second claim details page is used to display the virtual items corresponding to the other voting options except the target voting option. Collection details; wherein, the virtual items corresponding to each voting option are determined by the voting results.
  7. 根据权利要求5所述的方法,其特征在于,所述显示所述虚拟物品包对应的领取详情界面之后,所述方法还包括:The method according to claim 5, characterized in that after displaying the claim details interface corresponding to the virtual item package, the method further comprises:
    响应于对所述领取详情界面中目标投票方对应领取结果的选择操作,显示所述目标投票方发布的投票弹幕,所述投票弹幕由所述目标投票方完成投票后发布;所述目标投票方为在已领取虚拟物品的投票方中被选中的投票方。In response to the selection operation of the target voter corresponding to the claim result in the claim details interface, the voting barrage published by the target voter is displayed, and the voting barrage is published after the target voter completes the vote; the target voter The voter is the voter selected among the voters who have claimed the virtual item.
  8. 根据权利要求5所述的方法,其特征在于,所述显示所述虚拟物品包对应的领取详情界面之后, 所述方法还包括:The method according to claim 5, characterized in that after displaying the claim details interface corresponding to the virtual item package, the method further comprises:
    响应于对所述领取详情界面中弹幕详情入口的触发操作,显示弹幕详情页面,并在所述弹幕详情页面中显示各个所述投票方发布的弹幕,其中,所述弹幕详情入口显示在所述虚拟物品包对应的发布方的领取详情界面。In response to the triggering operation on the bullet screen details entry in the claim details interface, the bullet screen details page is displayed, and the bullet screen released by each of the voting parties is displayed on the bullet screen details page, wherein the bullet screen details The entrance is displayed on the receiving details interface of the publisher corresponding to the virtual item package.
  9. 根据权利要求1至3任一所述的方法,其特征在于,所述领取信息用于指示领取结果,所述领取结果对应的虚拟物品为所述目标投票选项对应的虚拟物品,且各个投票选项对应的虚拟物品由所述投票结果确定得到。The method according to any one of claims 1 to 3, wherein the claim information is used to indicate a claim result, the virtual item corresponding to the claim result is a virtual item corresponding to the target voting option, and each voting option The corresponding virtual item is determined by the voting result.
  10. 根据权利要求1至3任一所述的方法,其特征在于,所述响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,包括:The method according to any one of claims 1 to 3, wherein the displaying a voting interface corresponding to the virtual item package in response to a triggering operation on the virtual item package comprises:
    若投票未结束,则响应于对所述虚拟物品包的触发操作,显示所述虚拟物品包对应的所述投票界面;及If the voting has not ended, displaying the voting interface corresponding to the virtual item package in response to the triggering operation on the virtual item package; and
    所述方法还包括:The method also includes:
    若投票结束,则响应于对所述虚拟物品包的触发操作,显示所述领取界面。If the voting ends, the claiming interface is displayed in response to the triggering operation on the virtual item package.
  11. 一种虚拟物品发布方法,其特征在于,应用于第一终端,所述方法包括:A method for publishing virtual items, characterized in that being applied to a first terminal, the method comprising:
    显示虚拟物品包对应的发布界面;Display the release interface corresponding to the virtual item package;
    响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,所述参数信息包括所述虚拟物品包对应的至少两个投票选项和虚拟物品;所述参数信息用于对所述虚拟物品包进行配置;及In response to the configuration operation in the publishing interface, parameter information corresponding to the virtual item package is obtained, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used for the virtual item package is configured; and
    响应于对所述虚拟物品包的发布操作,发布已配置的所述虚拟物品包。In response to a publish operation on the virtual item package, the configured virtual item package is published.
  12. 根据权利要求11所述的方法,其特征在于,所述响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,包括:The method according to claim 11, wherein the obtaining parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface comprises:
    通过所述发布界面内的投票选项设置控件,获取设置的至少两个所述投票选项;及Obtain at least two of the set voting options through the voting option setting control in the publishing interface; and
    通过所述发布界面内的物品设置控件,获取设置的所述虚拟物品的物品类型和物品数量。Obtain the set item type and item quantity of the virtual item through the item setting control in the publishing interface.
  13. 根据权利要求11所述的方法,其特征在于,所述参数信息还包括所述虚拟物品包对应的虚拟物品分配策略,所述虚拟物品分配策略用于指示投票结果中投票结果方与所述虚拟物品之间的对应关系;The method according to claim 11, wherein the parameter information further comprises a virtual item allocation strategy corresponding to the virtual item package, wherein the virtual item allocation strategy is used to indicate the voting result party in the voting result and the virtual item allocation strategy. Correspondence between items;
    所述响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,包括:The obtaining parameter information corresponding to the virtual item package in response to the configuration operation in the publishing interface includes:
    响应于对所述发布界面内所述投票结果方的触发操作,显示所述投票结果方对应的至少一种候选虚拟物品;及In response to a triggering operation on the voting result party in the publishing interface, displaying at least one candidate virtual item corresponding to the voting result party; and
    响应于对所述候选虚拟物品的选择操作,将所述选择操作所选中的候选虚拟物品作为目标虚拟物品,并将所述目标虚拟物品确定为所述投票结果方对应的虚拟物品。In response to the selection operation on the candidate virtual item, the candidate virtual item selected by the selection operation is used as the target virtual item, and the target virtual item is determined as the virtual item corresponding to the voting result party.
  14. 根据权利要求12所述的方法,其特征在于,所述通过所述发布界面内的物品设置控件,获取设置的所述虚拟物品的物品类型和物品数量,包括:The method according to claim 12, wherein the obtaining the set item type and item quantity of the virtual item through the item setting control in the publishing interface comprises:
    通过所述发布界面内的所述物品设置控件,获取数量阈值和设置的所述物品数量;及响应于所述物品数量低于所述数量阈值,显示提示信息;所述数量阈值根据物品最低领取数量、投票总数以及所述目标群组的群组规模中的至少一种确定得到。Obtain the quantity threshold and the set quantity of the item through the item setting control in the publishing interface; and display a prompt message in response to the item quantity being lower than the quantity threshold; the quantity threshold is based on the minimum collection of items At least one of a number, a total number of votes, and a group size of the target group is determined.
  15. 根据权利要求11至14任一所述的方法,其特征在于,所述参数信息还包括所述虚拟物品包对应的投票结束条件,所述投票结束条件包括投票总数达到数量阈值。The method according to any one of claims 11 to 14, wherein the parameter information further includes a voting end condition corresponding to the virtual item package, and the voting end condition includes that the total number of votes reaches a quantity threshold.
  16. 根据权利要求11至14任一所述的方法,其特征在于,所述参数信息还包括所述虚拟物品包对应的投票结束条件,所述投票结束条件包括所述虚拟物品包的发布时长达到时长阈值。The method according to any one of claims 11 to 14, wherein the parameter information further includes a voting ending condition corresponding to the virtual item package, and the voting ending condition includes that the release duration of the virtual item package reaches the duration threshold.
  17. 一种虚拟物品领取方法,其特征在于,应用于服务器,所述方法包括:A method for collecting virtual items, characterized in that it is applied to a server, and the method includes:
    发布虚拟物品包,所述虚拟物品包对应至少两个投票选项;Publishing a virtual item package, the virtual item package corresponding to at least two voting options;
    接收投票方发送的投票信息,所述投票信息中包含投票方标识和所述投票方选择的目标投票选项;Receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party;
    当投票结束时,基于接收到的至少一个所述投票信息确定所述虚拟物品包对应的投票结果;及When the voting ends, determining a voting result corresponding to the virtual item package based on the received at least one of the voting information; and
    响应于所述投票方发送的领取请求,并根据所述虚拟物品包的投票结果确定所述投票方的领取结果,向所述投票方下发所述投票方对应的领取结果,所述领取请求中包含所述投票方标识。In response to the claiming request sent by the voting party, the claiming result of the voting party is determined according to the voting result of the virtual item package, and the claiming result corresponding to the voting party is issued to the voting party, and the claiming request contains the voting party identification.
  18. 一种虚拟物品领取装置,其特征在于,所述装置包括:A device for claiming virtual items, characterized in that the device comprises:
    第一显示模块,用于响应于对虚拟物品包的触发操作,显示所述虚拟物品包对应的投票界面,所述投票界面中包含至少两个投票选项;a first display module, configured to display a voting interface corresponding to the virtual goods package in response to a triggering operation on the virtual goods package, where the voting interface includes at least two voting options;
    第一接收模块,用于接收对至少两个所述投票选项中目标投票选项的选择操作;所述目标投票选项为所述投票选项中被选中的投票选项,用于确定投票结果;及a first receiving module, configured to receive a selection operation for a target voting option in at least two of the voting options; the target voting option is the selected voting option in the voting options, and is used to determine the voting result; and
    第二显示模块,用于当投票结束时,显示所述虚拟物品包对应的领取界面,所述领取界面中包含领取信息和投票结果。The second display module is configured to display a claiming interface corresponding to the virtual item package when the voting ends, and the claiming interface includes claiming information and voting results.
  19. 一种虚拟物品发布装置,其特征在于,所述装置包括:An apparatus for issuing virtual items, characterized in that the apparatus comprises:
    第九显示模块,用于显示虚拟物品包对应的发布界面;a ninth display module, used to display the release interface corresponding to the virtual item package;
    获取模块,用于响应于所述发布界面内的配置操作,获取所述虚拟物品包对应的参数信息,所述参数信息包括所述虚拟物品包对应的至少两个投票选项和虚拟物品;所述参数信息用于对所述虚拟物品包进行配置;及an obtaining module, configured to obtain parameter information corresponding to the virtual item package in response to a configuration operation in the publishing interface, where the parameter information includes at least two voting options and virtual items corresponding to the virtual item package; the parameter information is used to configure the virtual item package; and
    第一发布模块,用于响应于对所述虚拟物品包的发布操作,发布已配置的所述虚拟物品包。The first publishing module is configured to publish the configured virtual item package in response to the publishing operation on the virtual item package.
  20. 一种虚拟物品领取装置,其特征在于,所述装置包括:A device for claiming virtual items, characterized in that the device comprises:
    第二发布模块,用于发布虚拟物品包,所述虚拟物品包对应至少两个投票选项;a second publishing module, configured to publish a virtual item package, where the virtual item package corresponds to at least two voting options;
    第二接收模块,用于接收投票方发送的投票信息,所述投票信息中包含投票方标识和所述投票方选择的目标投票选项;a second receiving module, configured to receive voting information sent by the voting party, where the voting information includes the voting party identifier and the target voting option selected by the voting party;
    确定模块,用于当投票结束时,基于接收到的至少一个所述投票信息确定所述虚拟物品包对应的投票结果;及a determining module, configured to determine the voting result corresponding to the virtual item package based on the received at least one of the voting information when the voting ends; and
    发送模块,用于响应于所述投票方发送的领取请求,并根据所述虚拟物品包的投票结果确定所述投票方的领取结果,向所述投票方下发所述投票方对应的领取结果,所述领取请求中包含所述投票方标识。A sending module, configured to respond to a claim request sent by the voter, determine the voter's claim result according to the voting result of the virtual item package, and deliver the voter's corresponding claim result to the voter , the claiming request contains the voting party identifier.
  21. 一种计算机设备,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行权利要求1至10任一所述的虚拟物品领取方法,或执行权利要求11至16任一所述的虚拟物品发布方法,或执行权利要求17所述的虚拟物品领取方法。A computer device comprising a memory and one or more processors, wherein the memory stores computer-readable instructions, wherein the computer-readable instructions, when executed by the processor, cause the one or more The processor executes the method for claiming virtual items according to any one of claims 1 to 10, or executes the method for publishing virtual items according to any one of claims 11 to 16, or executes the method for claiming virtual items according to claim 17.
  22. 一种计算机可读的存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至10任一所述的虚拟物品领取方法,或执行权利要求17所述的虚拟物品领取方法,或执行权利要求11至16任一所述的虚拟物品发布方法。A computer-readable storage medium, characterized in that, when the computer-readable instructions are executed by one or more processors, the one or more processors can execute the one or more processors according to any one of claims 1 to 10. The method for claiming virtual items, or the method for claiming virtual items according to claim 17 , or the method for publishing virtual items according to any one of claims 11 to 16 .
PCT/CN2022/070112 2021-01-14 2022-01-04 Methods for acquiring virtual article and publishing virtual article, computer device, and medium WO2022152010A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110050278.X 2021-01-14
CN202110050278.XA CN114764699A (en) 2021-01-14 2021-01-14 Virtual article picking and issuing method, computer device and medium

Publications (1)

Publication Number Publication Date
WO2022152010A1 true WO2022152010A1 (en) 2022-07-21

Family

ID=82363549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/070112 WO2022152010A1 (en) 2021-01-14 2022-01-04 Methods for acquiring virtual article and publishing virtual article, computer device, and medium

Country Status (2)

Country Link
CN (1) CN114764699A (en)
WO (1) WO2022152010A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130174055A1 (en) * 2011-12-29 2013-07-04 Erik J. Johnson Content Related Viewer Voting Apparatus, Method and System
CN106656747A (en) * 2016-11-14 2017-05-10 腾讯科技(深圳)有限公司 Information processing method and information processing apparatus
CN106934603A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The implementation method and device of electronics red packet
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN108111398A (en) * 2017-12-18 2018-06-01 苏州燕云网络技术有限公司 Message originator of seeking help method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130174055A1 (en) * 2011-12-29 2013-07-04 Erik J. Johnson Content Related Viewer Voting Apparatus, Method and System
CN106934603A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The implementation method and device of electronics red packet
CN106656747A (en) * 2016-11-14 2017-05-10 腾讯科技(深圳)有限公司 Information processing method and information processing apparatus
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN108111398A (en) * 2017-12-18 2018-06-01 苏州燕云网络技术有限公司 Message originator of seeking help method and device

Also Published As

Publication number Publication date
CN114764699A (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN110585726B (en) User recall method, device, server and computer readable storage medium
WO2019228120A1 (en) Video interaction method and device, terminal, and storage medium
CN111882309B (en) Message processing method, device, electronic equipment and storage medium
CN110152307B (en) Virtual article issuing method, device and storage medium
US11516303B2 (en) Method for displaying media resources and terminal
CN113041625B (en) Live interface display method, device and equipment and readable storage medium
CN113050847B (en) Live broadcast interaction method, device, equipment, system and computer readable storage medium
CN113115114B (en) Interaction method, device, equipment and storage medium
CN114245221B (en) Interaction method and device based on live broadcasting room, electronic equipment and storage medium
CN113709022B (en) Message interaction method, device, equipment and storage medium
CN112492339A (en) Live broadcast method, device, server, terminal and storage medium
CN112261481B (en) Interactive video creating method, device and equipment and readable storage medium
CN113407744A (en) Resource display method and device, computer equipment and medium
CN111327916B (en) Live broadcast management method, device and equipment based on geographic object and storage medium
CN112511850A (en) Wheat connecting method, live broadcast display method, device, equipment and storage medium
EP4125022A1 (en) Method and apparatus for processing resources
CN109525568B (en) Song on-demand method and device
CN112749956A (en) Information processing method, device and equipment
CN112215651A (en) Information prompting method and device, storage medium and electronic equipment
CN111949116B (en) Method, device, terminal and system for picking up virtual article package and sending method
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN111382355A (en) Live broadcast management method, device and equipment based on geographic object and storage medium
CN113413615B (en) Game invitation method, game invitation device, computer equipment and storage medium
CN112019890B (en) Live broadcast distribution method, device, server and medium
CN113839913B (en) Interactive information processing method, related device and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.11.2023)