WO2017177835A1 - 虚拟物品的分配方法、系统及服务器 - Google Patents

虚拟物品的分配方法、系统及服务器 Download PDF

Info

Publication number
WO2017177835A1
WO2017177835A1 PCT/CN2017/078932 CN2017078932W WO2017177835A1 WO 2017177835 A1 WO2017177835 A1 WO 2017177835A1 CN 2017078932 W CN2017078932 W CN 2017078932W WO 2017177835 A1 WO2017177835 A1 WO 2017177835A1
Authority
WO
WIPO (PCT)
Prior art keywords
receiving
virtual item
package
user
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/078932
Other languages
English (en)
French (fr)
Inventor
郭春晓
张贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to EP17781811.9A priority Critical patent/EP3445005A4/en
Priority to SG11201808950SA priority patent/SG11201808950SA/en
Priority to KR1020187032770A priority patent/KR102226857B1/ko
Priority to MYPI2018703759A priority patent/MY191194A/en
Priority to KR1020217006862A priority patent/KR102365796B1/ko
Priority to JP2018554007A priority patent/JP6697577B2/ja
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2017177835A1 publication Critical patent/WO2017177835A1/zh
Priority to PH12018502183A priority patent/PH12018502183A1/en
Priority to US16/158,869 priority patent/US11244291B2/en
Anticipated expiration legal-status Critical
Priority to US17/576,259 priority patent/US11823142B2/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0235Discounts or incentives, e.g. coupons or rebates constrained by time limit or expiration date
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0613Electronic shopping [e-shopping] using intermediate agents
    • G06Q30/0619Neutral agent
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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
    • G06Q20/0655Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash managed centrally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0219Discounts or incentives, e.g. coupons or rebates based on funds or budget
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of the Internet, and in particular, to a method, system, and server for allocating virtual items.
  • the sender user creates a group red packet through the client, and determines the total amount to be sent, the number of red packets to be distributed, and the manner of sending.
  • the red envelope system receives the red envelope sending request of the user and after the user pays successfully, the red envelope running water with the same number of red packets is generated according to a specific algorithm, and the corresponding redemption packet is sent to the plurality of recipient users.
  • the red envelope system uses the service server to receive the collection request sent by the different recipient users, and then sends the collection requests to the resource management server, and the resource management server randomly allocates the corresponding red envelope water for the user corresponding to the collection request.
  • the resource management server may randomly allocate the same red packet flow to multiple recipient users at the same time.
  • the resource management server allocates the same red envelope flow to multiple recipient users, it will lead to concurrent competition for red packets. Further, for each red envelope running water, it can only be picked up by one user. For other users who have not received the success, the resource management server can randomly select one for the remaining red packets running water that has not been successfully received. The remaining red packets flowing without success may also be corresponding to multiple users competing, including users who have not received the previous successful users and new points to grab the red packets to redeem the red packets. This cycle of multiple concurrent controversy until all the red packets are collected.
  • the inventors have found that the above technology has at least the following problems: In the process of red bag flow distribution, due to the multiple concurrent conflicts of red packets, the workload of the whole red envelope system is large, the efficiency of red packet flow distribution is low, the time is long, and the user experience is not good.
  • An object of the embodiments of the present application is to provide a method, system, and server for allocating virtual items, which can improve the allocation efficiency of virtual items, shorten the allocation time of virtual items, and improve the user experience.
  • the application provides a virtual item distribution method, the method comprising:
  • the service server receives at least two receiving requests for the preset virtual item packages, records the receiving time of each of the receiving requests, and sends a receiving request with the receiving time to the global server; wherein the preset virtual items The package has a preset number of virtual item sub-packages;
  • the application also provides a virtual item distribution method, the method comprising:
  • Receiving at least two receiving requests for the preset virtual item packages respectively recording the receiving time of each of the receiving requests; wherein the preset virtual item package has a preset number of virtual item sub-packages;
  • the application also provides a virtual item distribution system, comprising:
  • the service server is configured to receive at least two receiving requests for the preset virtual item packages, record the receiving time of each of the receiving requests, and send a receiving request with the receiving time to the global server; wherein
  • the preset virtual item package has a preset number of virtual item sub-packages;
  • the global server is configured to receive the receiving request with the receiving time, and assign a receiving serial number to each of the receiving requests according to a sequence of receiving time of each receiving request, and allocate a receiving serial number.
  • the receiving request is sent to the resource management server;
  • the resource management server is configured to receive the receiving request with the receiving serial number, and allocate a virtual item sub-package according to the receiving serial number as the receiving request corresponding to the receiving serial number, and the virtual item sub-package The virtual item in the middle is sent to the user corresponding to the receiving request.
  • the application also provides a server, comprising: a memory, a communication module, a processor, a counter,
  • the memory is configured to store a preset virtual item package, where the preset virtual item package has a preset number of virtual item sub-packages;
  • the communication module is configured to receive at least two receiving requests for a preset virtual item package
  • the counter is configured to allocate a receiving serial number to each of the receiving requests according to a sequence of receiving times of each of the receiving requests;
  • the processor is configured to obtain, according to the receiving serial number, a corresponding virtual item sub-package from the memory, and allocate a virtual item sub-package for the receiving request corresponding to the receiving serial number; and use the communication module to The virtual item in the virtual item sub-package is sent to the user corresponding to the pick-up request.
  • the receiving request for recording the receiving time is uniformly sent to the global server by the service server, and then the global server allocates the corresponding according to the order of receiving the receiving request time.
  • the resource management server assigns a corresponding virtual item sub-package according to the receiving serial number; and transmitting the virtual item in the virtual item sub-package to a user corresponding to the receiving request, thereby realizing virtual
  • a virtual item sub-package uniquely corresponds to one user, avoiding the occurrence of concurrent competition, thereby ensuring that the virtual item distribution system can efficiently and specifically assign each virtual item to be allocated to the corresponding user. , thereby greatly reducing the workload of the server, improving the efficiency of virtual item distribution, shortening the distribution time, thereby improving the user experience.
  • the global server determines the order in which the user assigns the receiving serial number and the time of receiving the serial number according to the order of the virtual item receiving request to the service server, if the network conditions are the same Compared with the existing collection method, it can effectively ensure that the user who first issues the collection request has the opportunity to obtain the corresponding virtual item.
  • FIG. 1 is a flowchart of a method for allocating virtual items according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of allocation of a virtual item allocation method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a virtual item distribution system according to an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for allocating virtual items according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a server according to an embodiment of the present application.
  • the users who failed in the first round of collection may not receive the success.
  • some users who grab the red envelope link in the first round may not compete for the red envelope. This leads to the user's time to remove the red envelope link, but still can't grab the red envelope. .
  • FIG. 1 is a flowchart of a virtual item distribution method provided by an embodiment of the present application.
  • the present application provides method operational steps or system architectures as shown in the following embodiments or figures, more or fewer operational steps or modular structures may be included in the method or system based on conventional or no inventive labor. .
  • the execution order of the steps or the module structure of the system is not limited to the execution order or module structure provided by the embodiments of the present application.
  • the actual device or terminal product of the method or module structure it may be sequentially executed or executed in parallel according to the method or the module structure shown in the embodiment or the drawing (for example, parallel processor or multi-thread processing). surroundings).
  • the virtual item distribution system may be a distributed system.
  • the virtual item distribution system may include more than two service servers as well as a global server, a resource management server, etc., of course, it may also include participants of other transactions, such as a client that sends and receives virtual items, etc., No specific restrictions are made.
  • the service processor can be used to process specific specific services, for example, It is used to accept and send a collection request, record the time to accept the request for collection, and so on.
  • the resource management server can be used to manage the resources, for example, can be used to manage virtual items in the virtual item package, and the like.
  • the global server can be used to regulate the entire distributed transaction, and is used to allocate a serial number for the collection request under the same virtual item package.
  • a group red packet is transmitted as an example.
  • the sender user needs to send a group red envelope, it can use the client to send a message to the virtual item distribution system to create a red envelope.
  • the client can execute the update/insert/delete SQL statement through JDBC.
  • JDBC Java Data Base Connectivity
  • SQL Structured Query Language
  • SQL Structured Query Language
  • the virtual item distribution system may perform corresponding processing on the message for creating the red envelope. For example, after the user pays successfully, a predetermined number of red envelopes are generated for the group red packets according to a specific algorithm, and the red packets corresponding to the group red packets are stored in the resource management server.
  • a method for allocating a virtual item provided by an embodiment of the present application may include the following steps.
  • Step S10 The service server receives at least two receiving requests for the preset virtual item packages, records the receiving time of each of the receiving requests, and sends a receiving request with the receiving time to the global server; wherein, the pre- Let the virtual item package have a preset number of virtual item sub-packages.
  • the preset virtual item package may be created by the virtual item distribution system for the message after the sender user sends a message for creating a virtual item package to the virtual item distribution system with the client.
  • the preset virtual item package may have a predetermined number of virtual item sub-packages.
  • a virtual item may be stored in the virtual item sub-package.
  • the virtual item may be a variety of items that can be transmitted over a network.
  • the type of the virtual item may include any one of the following: electronic money, traffic, electronic coupons, and the like.
  • the specific type of the virtual item is not limited to the above examples, and the application is not limited herein.
  • the preset number may be set according to the requirements of the sender user, for example, one or two or more. The application is not specifically limited herein.
  • the virtual item distribution system may be provided with a predetermined identifier for the virtual item package for uniquely identifying the virtual item package.
  • the predetermined identifier may be a global ID.
  • the predetermined identifier may include a predetermined identification of the virtual item package, so that the server that processes the collection request can accurately point to the preset virtual item package.
  • a sub-identity may be corresponding to each of the virtual item sub-packets.
  • the sub-identification of the virtual item sub-package may be a branch ID. The number of the branch IDs and the virtual number The number of item sub-packets is the same.
  • the predetermined identifier of the virtual item package may be 00
  • each branch ID of the virtual item sub-package may be 01, 02.
  • the specific form of the global ID or the branch ID may be a number, a string, or other forms.
  • the application is not specifically limited herein.
  • the virtual item package and the virtual item sub-package may be stored in the resource management server.
  • a virtual item distribution system in a distributed scenario, it may generally include at least two service servers to cope with complex business scenarios.
  • the number of the receiving requests received by the service server is at least two, otherwise the concurrent contention problem is difficult to occur.
  • each service server may receive one receiving request; in another case, one of the service servers may receive two receiving requests. Another service server did not receive the pick up request.
  • the service server is three or more, it is also possible that one of the service servers receives all the collection requests, and the other service servers do not receive the collection request. In other words, the number of the receiving requests received by the service server may be randomly allocated according to the actual situation, and the present application does not specifically limit the content.
  • the service server may separately record the time of arrival of the service server for each receiving request received, and then send the receiving request with the receiving time to the global server.
  • Step S12 The global server receives the receiving request with the receiving time, and assigns a receiving serial number to each receiving request according to the order of receiving time of each receiving request, and assigns a receiving serial number.
  • the pick up request is sent to the resource management server.
  • the global server receives a receiving request that is received by each service server and records a receiving time.
  • the global server may sequentially allocate a corresponding receiving serial number to the receiving request according to the order of receiving the receiving request.
  • the receiving serial number can be used to uniquely indicate the receiving order of the user corresponding to the receiving request.
  • the specific form of the receiving serial number may be a number, a character string, or the like, and the present application is not specifically limited herein.
  • the global server sends the receiving request with the receiving serial number to the resource management server.
  • the global server may be provided with a counter for each virtual item package.
  • the counter may be specifically configured to use the historical record value of the set virtual item package as an initial value of the current virtual item package allocation, and each time the judgment is received, the value of the receiving serial number is according to a preset step. The length is incremented in order to form the current recorded value of the counter.
  • the corresponding receiving serial number may be the initial value +1 ⁇ preset step size; for the second eligible user, the corresponding receiving serial number may be The initial value + 2 ⁇ preset step size, and so on, until the Mth eligible user, the corresponding receiving serial number can be the initial value + M ⁇ preset step size.
  • the receiving serial number may be a ratio of a difference between a current recorded value and an initial value to a preset step size. For example, when the initial value is 0 and the preset step size is 1, the sequence numbers are sequentially incremented from 1 in order of increasing natural numbers.
  • the global server when the number of the serial numbers is equal to the number of virtual item sub-packets, it indicates that the virtual items have been allocated. At this time, the global server no longer allocates a corresponding serial number to the receiving request, and the initial value of the serial number may be restored to an initial value, for example, cleared to zero.
  • the collection request may include a predetermined identification of the virtual item package during the entire virtual item distribution process.
  • the global server needs to separately assign serial numbers to multiple collection requests from different virtual item packages, by identifying the predetermined identification of the virtual item package, multiple receiving requests for the same virtual item package can be simultaneously performed. Sort.
  • Step S14 the resource management server receives the receiving request with the receiving serial number, and allocates a virtual item sub-package according to the receiving serial number as the receiving request corresponding to the receiving serial number; and the virtual item is The virtual item in the package is sent to the user corresponding to the receiving request.
  • the resource server stores the virtual item package. Receiving, by the resource management server, the receiving request that is sent by the global server and having the receiving serial number, and then determining, according to the receiving serial number, the virtual item sub-package under the virtual item package corresponding to the receiving serial number And transmitting the virtual item in the virtual item sub-package to the user corresponding to the receiving request.
  • the virtual item sub-package may be stored in the resource management server according to a predetermined storage manner.
  • the predetermined storage manner may be stored in the structure of the data stack.
  • the predetermined storage manner may also be other manners, which is not specifically limited herein.
  • the resource management server may sequentially extract the virtual item sub-package for the natural sequence of the pick-up serial number, and assign the virtual item in the virtual item sub-package to the issuer user of the pick-up request. For example, the receiving serial number corresponding to user A is 1, and the first virtual item sub-package can be taken out from the data stack; the receiving serial number corresponding to user B is 2, and the second one can be taken out from the data stack. Virtual item sub-packages, and so on, until all virtual item sub-packages in the virtual item package are allocated.
  • the virtual item distribution system may be provided with a predetermined identification for the virtual item package, and a sub-ID may also be provided for each virtual item sub-package.
  • each receiving request may include a predetermined identifier of the virtual item package.
  • the resource management server may first determine a predetermined target according to the virtual item package Find the corresponding virtual item package. After determining the virtual item package to be received, further, the corresponding virtual item sub-package may be obtained according to the receiving serial number.
  • the sub-identification of the virtual item sub-package and the collection serial number may have a preset correspondence relationship.
  • the sub-identification of the virtual item sub-package may be determined according to the receiving serial number assigned by the user and the preset correspondence, and the corresponding virtual item may be determined. The determined virtual item is then sent to the user corresponding to the pickup serial number.
  • the preset correspondence may be a relationship in which the receiving serial number and the sub-identity are in one-to-one correspondence.
  • the virtual item package has two virtual item sub-packets
  • the predetermined identification of the virtual item package may be 00
  • the sub-identification of each virtual item sub-package is 01, 02, respectively.
  • the collection serial number assigned to the collection request may be 1, 2, respectively.
  • the preset correspondence may be a relationship corresponding to the order.
  • the sub-identity corresponding to the receiving request with the serial number 1 may be 01
  • the sub-ID corresponding to the receiving request with the serial number 2 may be 02.
  • the preset correspondence may be a reverse-corresponding relationship.
  • the sub-identity corresponding to the receiving request with the serial number 1 may be 02
  • the sub-ID corresponding to the receiving request with the serial number 2 may be 01.
  • the receiving request for recording the receiving time is uniformly sent to the global server by the service server, and then the global server allocates the corresponding receiving serial number according to the order of receiving the receiving request time, the resource management.
  • the server allocates a corresponding virtual item sub-package according to the receiving serial number; and sends the virtual item in the virtual item sub-package to the user corresponding to the receiving request, thereby realizing a virtual item in the virtual item allocating process
  • the sub-package uniquely corresponds to one user, which avoids the occurrence of concurrent competition, so as to ensure that the virtual item distribution system can efficiently and specifically allocate each virtual item to be allocated to the corresponding user, thereby greatly reducing the work of the server.
  • the quantity improves the efficiency of virtual item distribution and shortens the distribution time, thereby improving the user experience.
  • the global server determines the order in which the user assigns the receiving serial number and the time of receiving the serial number according to the order of the virtual item receiving request to the service server, if the network conditions are the same Compared with the existing collection method, it can effectively ensure that the user who first issues the collection request has the opportunity to obtain the corresponding virtual item.
  • the receiving request may include a predetermined identifier of the virtual item package; Before the resource management server allocates the virtual item sub-packet according to the receiving sequence number as the receiving request corresponding to the receiving serial number, the method may further include: the resource management server according to the receiving serial number Determining a preset virtual item package pointed to by the collection request.
  • a plurality of virtual item packages may be stored in the resource management server.
  • the resource management server may determine, by using the predetermined identifier, a preset virtual item package specifically pointed to by the receiving request. After the virtual item package is determined, the resource management server may allocate the virtual item sub-package under the virtual item package according to the receiving serial number as the receiving request corresponding to the receiving serial number, so that the server can simultaneously differently The virtual items under the virtual item package are allocated.
  • the method may further include: the service server determining, according to the receiving request, a user who is eligible to receive; And the service server records, for the user who is eligible to receive, the receiving time of the receiving request corresponding thereto.
  • the collection request may include information for determining whether the user who issued the collection request has the eligibility for collection. Based on the information, it can be determined whether the user who sent the virtual item collection request has the eligibility to receive.
  • the receiving request may include whether the user has received the first status information of the virtual item sub-package, and when the first status information of the user indicates that it is not received, the user corresponding to the receiving request has the right to receive the eligibility. . Conversely, when the first status identification information of the user is indicated as having been received, it indicates that the user corresponding to the receiving request has received the corresponding virtual item and does not have the virtual item receiving qualification.
  • the form of the first state information may be the identifier 0 or 1. When the user corresponding to the receiving request has not received the virtual item, the corresponding first state information may be 0; when the user has received the virtual item, the corresponding first state information may be 1.
  • the specific form of the first state information is not limited to the above examples, and the application is not specifically limited herein.
  • the method may further include: the global server determining, according to the receiving request, a user who is eligible to receive; The global server allocates a receiving serial number to the receiving request corresponding to the eligible user.
  • the collection request may include information for determining whether the user who issued the collection request has the eligibility for collection. Based on the information, it can be determined whether the user who sent the virtual item collection request has the eligibility to receive.
  • the receiving request may include whether the user has received the first status information of the virtual item sub-package, and when the first status information of the user indicates that it is not received, the user corresponding to the receiving request has the right to receive the eligibility. . Conversely, when the first status identification information of the user is indicated as having been received, it indicates that the user corresponding to the receiving request has received the corresponding virtual item and does not have the virtual item receiving qualification.
  • the form of the first state information may be the identifier 0 or 1. When the user corresponding to the receiving request has not received the virtual item, the corresponding first state information may be 0; when the user has received the virtual item, the corresponding first state information may be 1.
  • the specific form of the first state information is not limited to the above examples, and the application is not specifically limited herein.
  • the receiving request may further include second status information of whether the user has been authenticated by the real name, and when the second status information is real name authentication.
  • the user is a user, the user corresponding to the receiving request has the right to receive.
  • the second status information is a non-real name authentication user, it indicates that the user corresponding to the receiving request does not have the eligibility to receive.
  • the user corresponding to the receiving request has the right to receive.
  • the form of the second state information may also be the identifier 0 or 1.
  • the corresponding second state information may be 0; when the user corresponding to the receiving request is a non-real-name authentication user, the corresponding second state information may be Is 1.
  • the specific form of the second state information is not limited to the above examples, and the application is not specifically limited herein.
  • the virtual item is electronic money, it is possible to qualify for the collection by restricting the user to be authenticated by the real name, and it is possible to prevent illegal acts such as money laundering by issuing virtual money.
  • the method may further include: updating the first state information of the user.
  • the first status information of the user may be updated from the original unreceived status to the received status.
  • the service server in the virtual item distribution system or The global server can judge that it no longer has the qualification to receive the virtual item, thereby avoiding the situation that the same user repeatedly receives multiple virtual items under one virtual item package.
  • the receiving serial number may be set to be sequentially incremented according to the order of the receiving time according to the preset initial value, and sequentially increased according to the number of the users having the qualifications; After the virtual item sub-package is received, the receiving serial number is restored to the initial value.
  • each receiving request sent from the service server to the global server may include The receiving time of each receiving request to the service server is described.
  • the global server may identify the user who is eligible to receive according to the order of receiving time included in the receiving request, and each counter confirms a user who is eligible to receive the counter, and the counter sequentially counts the users.
  • the global server may set a unified counter for the virtual item package.
  • the counter can allocate the corresponding receiving serial number to the user who is eligible to receive the payment.
  • the specific receiving sequence number may be a counter value in which the counter sequentially increases in accordance with the number of users having the qualifications.
  • the counter value of the counter may be restored to the initial value.
  • the initial value of the counter may be 0, or may be the ID of the virtual item package corresponding to the virtual item sub-package or any one of the character strings, which is not specifically limited herein.
  • the number of virtual item sub-packages in the virtual item package is, for example, two, and each virtual item sub-package corresponds to a sub-ID, which is ID+1 and ID+2, respectively.
  • the preset step size is 1, and the initial value is a predetermined identifier of the virtual item package as an ID.
  • the record value of the counter is the same as the identifier of the virtual item sub-package, and the identifier of the virtual item sub-package may be determined according to the record value.
  • the corresponding virtual item can be queried according to the determined identifier of the virtual item sub-package, so that the virtual item can be assigned to the corresponding user.
  • the counter randomly counts them in succession.
  • the receiving serial numbers corresponding to the two users are adjacent to each other and have a difference of 1, for example, the receiving serial numbers are 2 and 3, respectively.
  • the corresponding user whose counter counts first can be assigned the corresponding receiving serial number, and the other user cannot be assigned.
  • the group red packet of the 10 is randomly divided into two red packets according to the needs of the sender user.
  • the group red envelope can be divided into red envelope 1 and red envelope 2
  • the amount in the red envelope 1 is 2.5 yuan
  • the amount in the red envelope 2 is 7.5 yuan.
  • a total of 5 users grab the two red packets, and user A, user B, user C, user D, and user E respectively click to remove the red packets, and correspondingly, respectively send the receiving request to the service server.
  • the time for the service server to receive user A, user B, user C, user D, and user E is recorded as 8:30:31, 5, 5, 5, 2016, February 7, 2016, 8:30, 31, 10, 10 Millisecond, February 7, 2016 8:30:31 45 Seconds, February 7, 2016 8:30:32, 20 milliseconds, February 7, 2016, 8:30:35, 30 milliseconds.
  • the service server then sends a request for receipt containing the receipt time to the global server.
  • the global server may allocate a receiving serial number to the user corresponding to the receiving request for the order of the receiving request. Specifically, when the global server is allocated, the Nth eligible user may be assigned a receiving serial number of the Nth virtual item sub-package, where N is an initial value of 1 according to the qualified user.
  • N is in the range of [1, M]
  • M is the number of virtual item sub-packets.
  • the first user A is assigned a collection serial number 1
  • the second user B is assigned a collection serial number 2. Since there are only two red packets, the global server can determine the number of the collection serial numbers that can be allocated according to the number of the red packets. Once the number of the received serial numbers reaches the number of the red packets, the distribution will be stopped. serial number.
  • the resource management server obtains the amount 2.5 from the red envelope 1 and sends it to the user A according to the receiving serial number 1. According to the receiving serial number 2, the amount 7.5 is obtained from the red envelope 2 and sent to the user B. Accordingly, the resource management server does not. Red packets are distributed to user C, user D, and user E.
  • the present application also provides a virtual item distribution system.
  • the virtual item distribution system may include: a global server 22, a resource management server 24, and a service server.
  • the service server may be at least two, which may be a service server 20, a service server 21, and the like.
  • the service server is configured to receive at least two receiving requests for the preset virtual item packages, record the receiving time of each of the receiving requests, and send a receiving request with the receiving time to the global server; wherein
  • the preset virtual item package has a preset number of virtual item sub-packages;
  • the global server 22 is configured to receive a receiving request for receiving the receiving time sent by the service server, and assign a receiving serial number to each receiving request according to a sequence of receiving time of each receiving request, and allocate the receiving sequence number.
  • a request for receiving a serial number is sent to the resource management server;
  • the resource management server 24 is configured to receive a collection request with a receiving serial number sent by the global server, and allocate a virtual item sub-package according to the receiving serial number for the receiving request corresponding to the receiving serial number, and The virtual item in the virtual item sub-package is sent to the user corresponding to the pick-up request.
  • the receiving request may include a predetermined identifier of the virtual item package; correspondingly, the resource management server 24 may further be configured to use the predetermined identifier according to the predetermined identifier. Determining a preset virtual item package pointed to by the collection request.
  • the service server may also be used to:
  • the service server records, for the user who is eligible to receive, the receiving time of the receiving request corresponding thereto.
  • the global server 22 can also be used to:
  • the global server 22 assigns a receiving serial number to the receiving request corresponding to the user who is eligible to receive.
  • the receiving request may include first status information of whether the user has received the virtual item sub-package, and when the first status information of the user is indicated as not received. Indicates that the user corresponding to the receiving request has the right to receive.
  • the receiving serial number may be set to:
  • the receiving serial number is restored to an initial value.
  • the virtual item distribution system disclosed in the above embodiment corresponds to the embodiment of the virtual item distribution method of the present application, and the implementation method of the virtual item distribution method of the present application can be realized and the technical effect of the method embodiment can be achieved.
  • the method of virtual item allocation described in this application can also be applied to non-distributed scenarios.
  • another method for allocating virtual items may include the following steps.
  • Step S11 Receive at least two receiving requests for the preset virtual item packages, and record the receiving time of each of the receiving requests respectively; wherein the preset virtual item package has a preset number of virtual item sub-packages.
  • the preset virtual item package may be created by the server for the message after the sender user sends a message to the server to create a virtual item package with the client.
  • the preset virtual item package may have a predetermined number of virtual item sub-packages.
  • a virtual item may be stored in the virtual item sub-package.
  • the virtual item may be a variety of items that can be transmitted over a network.
  • the type of the virtual item may include any one of the following: electronic money, traffic, electronic coupons, and the like.
  • the specific type of the virtual item is not limited to the above examples, and the application is not limited herein.
  • the preset quantity may be specifically set according to the needs of the sender user, for example, one or two or more, and the present application does not specifically Limited.
  • the server may be configured with a predetermined identifier for the virtual item package for uniquely identifying the virtual item package.
  • the predetermined identifier may be a global ID.
  • the predetermined identifier may include a predetermined identification of the virtual item package, so that when the collection request is processed, the server can accurately point to the preset virtual item package.
  • a sub-identity may be corresponding to each of the virtual item sub-packets.
  • the sub-identity of the virtual item sub-package may be a branch ID. The number of the branch IDs is the same as the number of the virtual item sub-packets.
  • the predetermined identifier of the virtual item package may be 00
  • each branch ID of the virtual item sub-package may be 01, 02.
  • the specific form of the global ID or the branch ID may be a number, a string, or other forms.
  • the application is not specifically limited herein.
  • the virtual item package, virtual item sub-package may be stored in the server.
  • the server may separately record the time of arrival of the server for each receiving request received, to record the sequence in which each receiving request arrives at the server.
  • Step S13 Allocating a receiving sequence number for each of the receiving requests according to the order of receiving time of each receiving request.
  • the server may, in response to the receiving time of the receiving request, assign a receiving serial number corresponding to the receiving request in the order of receiving the receiving time.
  • the receiving serial number can be used to uniquely indicate the receiving order of the user corresponding to the receiving request.
  • the specific form of the receiving serial number may be a number, a character string, or the like, and the present application is not specifically limited herein.
  • the server may be provided with a counter for each virtual item package.
  • the counter may be specifically configured to use the historical record value of the set virtual item package as an initial value of the current virtual item package allocation, and each time the judgment is received, the value of the receiving serial number is according to a preset step. The length is incremented in order to form the current recorded value of the counter.
  • the corresponding receiving serial number may be the initial value +1 ⁇ preset step size; for the second eligible user, the corresponding receiving serial number may be The initial value + 2 ⁇ preset step size, and so on, until the Mth eligible user, the corresponding receiving serial number can be the initial value + M ⁇ preset step size.
  • the receiving serial number may be a ratio of a difference between a current recorded value and an initial value to a preset step size. For example, when the initial value is 0 and the preset step size is 1, the sequence numbers are sequentially incremented from 1 in order of increasing natural numbers.
  • the server when the number of the serial numbers is equal to the number of virtual item sub-packets, it indicates that the virtual items have been allocated. At this time, the server no longer allocates a corresponding serial number to the receiving request, and the initial value of the serial number may be restored to an initial value, for example, cleared to zero.
  • the collection request may include a predetermined identification of the virtual item package during the entire virtual item distribution process.
  • the server needs to separately assign serial numbers to multiple collection requests from different virtual item packages, by identifying the predetermined identification of the virtual item package, multiple receiving requests of the same virtual item package can be simultaneously sorted. .
  • Step S15 Allocating a virtual item sub-package according to the receiving serial number for the receiving request corresponding to the receiving serial number, and transmitting the virtual item in the virtual item sub-package to the user corresponding to the receiving request.
  • the server stores the virtual item package.
  • the server may determine, according to the receiving serial number, a virtual item sub-package under the virtual item package corresponding to the receiving serial number, and then send the virtual item in the virtual item sub-package to the receiving Request the corresponding user.
  • the virtual item sub-package may be stored in the server according to a predetermined storage manner.
  • the predetermined storage manner may be stored for the structure of the data stack, or may be other storage manners, which is not specifically limited herein.
  • the server may sequentially extract the virtual item sub-package for the natural sequence of the pick-up serial number, and assign the virtual item in the virtual item sub-package to the issuer user of the pick-up request.
  • the receiving serial number corresponding to user A is 1, and the first virtual item sub-package can be taken out from the data stack;
  • the receiving serial number corresponding to user B is 2, and the second one can be taken out from the data stack.
  • the server may be provided with a predetermined identifier for the virtual item package, and a sub-ID may also be provided for each virtual item sub-package.
  • each receiving request may include a predetermined identifier of the virtual item package.
  • the server may first find a corresponding virtual item package according to the predetermined identifier of the virtual item package. After determining the virtual item package to be received, further, the corresponding virtual item sub-package may be obtained according to the receiving serial number.
  • the sub-identification of the virtual item sub-package and the collection serial number may have a preset correspondence relationship.
  • the sub-identification of the virtual item sub-package may be determined according to the receiving serial number assigned by the user and the preset correspondence, and the corresponding virtual item may be determined. The determined virtual item is then sent to the user corresponding to the pickup serial number.
  • the preset correspondence may be a relationship in which the receiving serial number and the sub-identity are in one-to-one correspondence.
  • the virtual item package has 2 virtual item sub-packages
  • the predetermined identifier of the product package may be 00
  • the sub-identification of each virtual item sub-package is 01, 02 respectively.
  • the collection serial number assigned to the collection request may be 1, 2, respectively.
  • the preset correspondence may be a relationship corresponding to the order.
  • the sub-identity corresponding to the receiving request with the serial number 1 may be 01
  • the sub-ID corresponding to the receiving request with the serial number 2 may be 02.
  • the preset correspondence may be a reverse-corresponding relationship.
  • the sub-identity corresponding to the receiving request with the serial number 1 may be 02
  • the sub-ID corresponding to the receiving request with the serial number 2 may be 01.
  • the server can efficiently and purposely allocate each virtual item to be allocated to the corresponding user, thereby greatly reducing the workload of the server, improving the efficiency of virtual item distribution, shortening the allocation time, and thereby improving the user experience.
  • the server since the server determines the order in which the user is assigned to the receiving serial number and whether it can be assigned to the receiving serial number according to the chronological order of the receiving request to the server, in the case where the network conditions are the same, relative to the present In some cases, it is effective to ensure that the user who first sends the request has the opportunity to obtain the corresponding virtual item.
  • the receiving request may include a predetermined identifier of the virtual item package; and correspondingly, assigning a virtual item to the receiving request according to the receiving serial number corresponding to the receiving serial number
  • the method may further include: determining, according to the predetermined identifier, a preset virtual item package pointed by the receiving request.
  • a plurality of virtual item packages may be stored in the server.
  • the server may determine, by using the predetermined identifier, a preset virtual item package specifically pointed to by the receiving request. After determining the virtual item package, the server may allocate the virtual item sub-package according to the receiving serial number as the receiving request corresponding to the receiving serial number.
  • the method may further include: determining, according to the receiving request, a user who is eligible to receive; correspondingly, Have The qualified user records the receiving time of the receiving request corresponding thereto.
  • the collection request may include information for determining whether the user who issued the collection request has the eligibility for collection. Based on the information, it can be determined whether the user who sent the virtual item collection request has the eligibility to receive.
  • the receiving request may include whether the user has received the first status information of the virtual item sub-package, and when the first status information of the user indicates that it is not received, the user corresponding to the receiving request has the right to receive the eligibility. . Conversely, when the first status identification information of the user is indicated as having been received, it indicates that the user corresponding to the receiving request has received the corresponding virtual item and does not have the right to receive.
  • the form of the first state information may be the identifier 0 or 1. When the user corresponding to the receiving request has not received the virtual item, the corresponding first state information may be 0; when the user has received the virtual item, the corresponding first state information may be 1.
  • the specific form of the first state information is not limited to the above examples, and the application is not specifically limited herein.
  • the receiving serial number may be set to be sequentially incremented according to the order of the receiving time according to the preset initial value, and sequentially increased according to the number of the users having the qualifications; After the virtual item sub-package is received, the receiving serial number is restored to the initial value.
  • each receiving request may include a receiving time at which each of the receiving requests arrives at the server.
  • the server may identify the user who is eligible to receive according to the order of receiving time included in the receiving request, and each counter confirms a user who is eligible to receive the counter, and the counter sequentially counts the users.
  • the server may set a unified counter for the virtual item package.
  • the counter can allocate a corresponding receiving serial number to the user who is eligible to receive.
  • the specific receiving sequence number may be a counter value in which the counter sequentially increases in accordance with the number of users having the qualifications.
  • the counter value of the counter may be restored to the initial value.
  • the initial value of the counter may be 0, or may be the ID of the virtual item package corresponding to the virtual item or any character string, which is not specifically limited herein.
  • the number of virtual items in the virtual item package is, for example, two, and each virtual item sub-package corresponds to a sub-ID, which is ID+1 and ID+2, respectively.
  • the preset step size is 1, and the initial value is a predetermined identifier of the virtual item package as an ID.
  • the record value of the counter is the same as the identifier of the virtual item sub-package, and may be determined according to the record value.
  • the identifier of the virtual item sub-package The corresponding virtual item can be queried according to the determined identifier of the virtual item sub-package, so that the virtual item can be assigned to the corresponding user.
  • the counter randomly counts them.
  • the receiving serial numbers corresponding to the two users are adjacent to each other and have a difference of 1, for example, the receiving serial numbers are 2 and 3, respectively.
  • the corresponding user whose counter counts first can be assigned the corresponding receiving serial number, and the other user cannot be assigned.
  • the group red packet of the 10 is randomly divided into two red packets according to the needs of the sender user.
  • the group red envelope can be divided into red envelope 1 and red envelope 2
  • the amount in the red envelope 1 is 2.5 yuan
  • the amount in the red envelope 2 is 7.5 yuan.
  • User A, user B, user C, user D, and user E respectively click on the red-packed package, and correspondingly, the receiving request is sent to the server.
  • the time when the server receives user A, user B, user C, user D, and user E is recorded as 8:30:31, 5, 5, 5, 2016, February 7, 2016, 8:30, 31, 10, 10 milliseconds. , February 7th, 2016, 8:30:31, 45 milliseconds, February 7, 2016, 8:30:32, 20 milliseconds, February 7, 2016, 8:30:35, 30 milliseconds.
  • the server may allocate a receiving serial number to the user corresponding to the receiving request for the order in which the receiving request arrives at the server. Specifically, when the server is allocated, the Nth eligible user may be assigned a receiving serial number of the Nth virtual item sub-package, where N is 1 according to the number of eligible users.
  • N is in the range of [1, M]
  • M is the number of virtual item sub-packets.
  • the first user A is assigned a collection serial number 1
  • the second user B is assigned a collection serial number 2. Since there are only two red packets, the server may determine the number of the collection serial numbers that can be allocated according to the number of the red packets. Once the number of the received serial numbers reaches the number of the red packets, the distribution sequence will be stopped. number. The server obtains the amount 2.5 from the red envelope 1 and sends it to the user A according to the receiving serial number 1. According to the receiving serial number 2, the amount 7.5 is obtained from the red envelope 2 and sent to the user B. Accordingly, the server is no longer the user C. User D and user E allocate red packets.
  • the receiving request may include a predetermined identifier of the virtual item package; and correspondingly, assigning a virtual item to the receiving request according to the receiving serial number corresponding to the receiving serial number
  • the method may further include: determining, according to the predetermined identifier, a preset virtual item package pointed by the receiving request.
  • a plurality of virtual item packages can be stored in the server.
  • the server may determine the receiving request by using the predetermined identifier. Find a specific virtual item package that is specifically pointed to. After determining the virtual item package, the server may allocate the virtual item sub-package under the virtual item package according to the receiving serial number as the receiving request corresponding to the receiving serial number, so that the server can simultaneously access different virtual items. The virtual items under the package are allocated.
  • the method may further include: determining, according to the receiving request, a user who is eligible to receive; correspondingly, The user who is eligible to receive the time of receipt of the corresponding receiving request.
  • the collection request may include information for determining whether the user who issued the collection request has the eligibility for collection. Based on the information, it can be determined whether the user who sent the virtual item collection request has the eligibility to receive.
  • the receiving request may include whether the user has received the first status information of the virtual item sub-package, and when the first status information of the user indicates that it is not received, the user corresponding to the receiving request has the right to receive the eligibility. . Conversely, when the first status identification information of the user is indicated as having been received, it indicates that the user corresponding to the receiving request has received the corresponding virtual item and does not have the right to receive.
  • the form of the first state information may be the identifier 0 or 1. When the user corresponding to the receiving request has not received the virtual item, the corresponding first state information may be 0; when the user has received the virtual item, the corresponding first state information may be 1.
  • the specific form of the first state information is not limited to the above examples, and the application is not specifically limited herein.
  • the receiving serial number may be set to be sequentially incremented according to the order of the receiving time according to the preset initial value, and sequentially increased according to the number of the users having the qualifications; After the virtual item sub-package is received, the receiving serial number is restored to the initial value.
  • each receiving request may include a receiving time at which each of the receiving requests arrives at the server.
  • the server may identify the user who is eligible to receive according to the order of receiving time included in the receiving request, and each counter confirms a user who is eligible to receive the counter, and the counter sequentially counts the users.
  • the server may set a unified counter for the virtual item package.
  • the counter can allocate the corresponding receiving serial number to the user who is eligible to receive the payment.
  • the receiving serial number may be a counter value in which the counter sequentially increases in accordance with the number of users having the qualifications.
  • the counter value of the counter may be restored to the initial value.
  • the initial value of the counter may be 0, or may be the ID of the virtual item package corresponding to the virtual item sub-package or any one of the character strings, which is not specifically limited herein.
  • the present application further provides a server.
  • the server may include: a memory 30, a communication module 31, a counter 33, and a processor 35.
  • the memory 30 may be configured to store a preset virtual item package, where the preset virtual item package has a preset number of virtual item sub-packages;
  • the communication module 31 can be configured to receive at least two receiving requests for a preset virtual item package
  • the counter 33 may be configured to allocate a receiving sequence number for each of the receiving requests according to a sequence of receiving times of each of the receiving requests;
  • the processor 35 may be configured to acquire a corresponding virtual item sub-package from the memory 30 according to the receiving serial number, and allocate a virtual item sub-package for the receiving request corresponding to the receiving serial number; and pass the communication Module 31 transmits the virtual item in the virtual item sub-package to the user corresponding to the pick-up request.
  • the receiving request may include a predetermined identifier of the virtual item package; and correspondingly, the processor 35 may be further configured to: determine, according to the predetermined identifier, the receiving The preset virtual item package that the request points to.
  • the processor 35 may be further configured to: determine, according to the receiving request, a user who is eligible to receive the eligibility; and, for the eligibility user, record the corresponding The time of receipt of the request.
  • the receiving serial number may be:
  • the server disclosed in the above embodiment corresponds to the implementation method of the virtual item distribution method of the present application, and the implementation method of the virtual item allocation method of the present application can be realized and the technical effect of the method embodiment can be achieved.
  • the system, device or module set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • the above devices are described as being separately divided into various modules by function.
  • the functions of the various modules may be implemented in one or more software and/or hardware in the implementation of the present application.
  • controller may take, for example, a microprocessor or a processor and the storage may be (micro) A computer readable medium, logic gate, switch, Application Specific Integrated Circuit (ASIC), programmable logic controller, and embedded microcontroller in the form of computer readable program code (eg, software or firmware) executed by the processor
  • ASIC Application Specific Integrated Circuit
  • controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller can also be implemented as part of the control logic of the memory.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • program modules include routines, programs, objects, components, data structures, classes, and the like that perform particular tasks or implement particular abstract data types.
  • program modules can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.
  • the present application can be implemented by means of software plus necessary hardware. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product in essence or in the form of a software product, or may be embodied in the implementation process of data migration.
  • the computer software product can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a mobile terminal, a service) The device, or network device, etc.) performs the methods described in various embodiments of the various embodiments or embodiments of the present application.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请提供了一种虚拟物品的分配方法、系统及服务器。所述方法包括:接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;根据所述领取序列号为所述领取序列号对应的领取请求分配虚拟物品子包;并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。本申请所述虚拟物品的分配方法、系统及服务器,能够避免出现并发争抢的问题,从而提高虚拟物品的分配效率,缩短分配时间,从而提高用户体验。

Description

虚拟物品的分配方法、系统及服务器
本申请要求2016年04月14日递交的申请号为201610235617.0、发明名称为“虚拟物品的分配方法、系统及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网领域,特别涉及一种虚拟物品的分配方法、系统及服务器。
背景技术
目前,随着网络技术的发展,以红包作为载体发送虚拟物品越来越流行。通过手机等移动终端进行收发红包已经成为人们日常交际的一种有效沟通方式。例如在春节期间,成千上万的用户参与了发红包、抢红包活动。
下面,以目前流行的发送群红包为例,介绍其具体的创建和领取流程。
首先发送方用户通过客户端创建一个群红包,确定需要发送的总金额、分发的红包个数、发送的方式等信息。当红包系统接收到该用户的红包发送请求且在用户支付成功后,根据特定的算法对应生成与所述红包个数相同的红包流水,并向多个领取方用户发送相应的抢红包链接。
对于每个领取方用户而言,其可以在客户端通过点击抢红包链接向红包系统发出领取请求。所述红包系统利用业务服务器来接收不同领取方用户发出的领取请求,然后将这些领取请求统一发送给资源管理服务器,由资源管理服务器为与所述领取请求对应的用户随机分配相应的红包流水。
在所述红包流水分配过程中,由于可能同时有多个用户都在点击抢红包链接,资源管理服务器随机分配时可能将同一红包流水同时分配给了多个领取方用户。当资源管理服务器将同一个红包流水分配给多个领取方用户时,会导致红包流水的并发争抢问题。进一步的,对于每一个红包流水而言,其只能被一个用户领取。对于其他没有领取成功的用户,资源管理服务器可以在剩余没有领取成功的红包流水中随机选择一条供其领取。而所述剩余没有领取成功的红包流水也可能对应有多个用户在争抢,包括之前没有领取成功的用户以及新点抢红包链接进行抢红包的用户。如此循环进行多伦次的并发争抢,直至所有的红包流水被领取。
在实现本申请实施方式的过程中,发明人发现上述技术至少存在以下问题:在上述 红包流水分配过程中,由于红包流水存在多伦次的并发争抢问题,导致整个红包系统的工作量较大,红包流水分配的效率较低,耗时较长,用户体验不佳。
发明内容
本申请实施方式的目的是提供一种虚拟物品的分配方法、系统及服务器,能够提高虚拟物品的分配效率,缩短虚拟物品的分配时间,从而提高用户体验。
本申请提供一种虚拟物品分配方法,所述方法包括:
业务服务器接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
所述全局服务器接收所述记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的领取请求发送至资源管理服务器;
所述资源管理服务器接收所述分配有领取序列号的领取请求,根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包;并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
本申请还提供一种虚拟物品分配方法,所述方法包括:
接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;
根据所述领取序列号为所述领取序列号对应的领取请求分配虚拟物品子包;并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
本申请还提供一种虚拟物品分配系统,包括:
业务服务器、全局服务器、资源管理服务器,
所述业务服务器用于接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
所述全局服务器用于接收所述记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的 领取请求发送至资源管理服务器;
所述资源管理服务器用于接收所述分配有领取序列号的领取请求,根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包,并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
本申请还提供一种服务器,包括:存储器、通讯模块、处理器、计数器,
所述存储器用于存储预设虚拟物品包,所述预设虚拟物品包具有预设数量的虚拟物品子包;
所述通讯模块用于接收至少二个指向预设虚拟物品包的领取请求;
所述计数器用于根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;
所述处理器用于根据所述领取序列号从所述存储器中获取相应的虚拟物品子包,为与所述领取序列号对应的领取请求分配虚拟物品子包;并通过所述通讯模块将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
由以上描述的本实施方式所提供的技术方案可见,通过业务服务器将记录有接收时间的领取请求统一发送到全局服务器,然后由全局服务器根据每个所述领取请求接收时间的先后顺序分配相应的领取序列号,所述资源管理服务器根据所述领取序列号分配相应的虚拟物品子包;将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户,从而实现了在虚拟物品分配过程中,一个虚拟物品子包唯一对应一个用户,避免了并发争抢问题的出现,从而保证虚拟物品的分配系统能够高效、有针对性地将每个待分配虚拟物品分配给相应的用户,进而大大减少了服务器的工作量,提高了虚拟物品分配效率,缩短了分配时间,从而提高了用户体验。
此外,本申请实施方式中,由于全局服务器整体根据虚拟物品领取请求到达业务服务器的先后顺序时间确定用户分配到领取序列号的先后顺序以及能否分配到领取序列号,在网络条件相同的情况下,相对于现有的领取方式而言,能够有效保证先发出领取请求的用户先有机会获得相应的虚拟物品。
附图说明
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动 性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一个实施方式提供的虚拟物品的分配方法的流程图;
图2为本申请一个实施方式提供的虚拟物品的分配方法的分配示意图;
图3为本申请一个实施方式提供的虚拟物品的分配系统的示意图;
图4为本申请一个实施方式提供的虚拟物品的分配方法的流程图;
图5为本申请一个实施方式提供的一种服务器的示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都应当属于本申请保护的范围。
现有的红包流水分配过程中,在第一轮红包流水领取过程中领取失败的用户与新点抢红包链接进行抢红包的用户进行下一轮并发争抢。而在下一轮并发争抢过程中上述第一轮领取失败的用户很有可能又没有领取成功。直至所有红包流水都领取成功后,可能某些第一轮点抢红包链接的用户还是没有争抢到红包,这就导致用户虽然点拆红包链接的时间比较早,但是依旧抢不到红包的现象。
下面结合附图对本申请所述的虚拟物品的分配方法、系统及服务器进行详细的说明。图1是本申请一个实施方式提供的虚拟物品分配方法的流程图。虽然本申请提供了如下述实施方式或附图所示的方法操作步骤或系统结构,但基于常规或者无需创造性的劳动在所述方法或系统中可以包括更多或者更少的操作步骤或模块结构。在逻辑性上不存在必要因果关系的步骤或结构中,这些步骤的执行顺序或系统的模块结构不限于本申请实施方式提供的执行顺序或模块结构。所述的方法或模块结构的在实际中的装置或终端产品执行时,可以按照实施方式或者附图所示的方法或模块结构连接进行顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。
本申请实施方式中,所述虚拟物品分配系统可以为分布式的系统。所述虚拟物品分配系统可以包括两个以上的业务服务器以及全局服务器、资源管理服务器等,当然其还可以包括其他事务的参与者,例如发送和接受虚拟物品的客户端等,本申请在此并不作具体的限定。其中,所述业务处理器,可以用于处理具体的各种具体的业务,例如可以 用于接受和发送领取请求,记录接受领取请求的时间等。所述资源管理服务器可以用于负责资源的管理,例如可以用于管理虚拟物品包中的虚拟物品等。所述全局服务器,可以用于调控整个分布式事务,用于针对同一虚拟物品包下的领取请求,分配序列号等。
在本实施方式中,以发送群红包为例。若发送方用户需要发送一个群红包,则其可以利用客户端向虚拟物品分配系统发送一个创建红包的消息。具体的,例如客户端可以通过JDBC执行update/insert/delete SQL语句。这里的JDBC(Java Data Base Connectivity,java数据库连接)是Java语言中用来规范客户端程序如何来访问数据库的应用程序接口,提供了诸如查询和更新数据库中数据的方法。进一步的,这里的SQL(Structured Query Language)是指结构化查询语言,是一种编程语言,用于数据库中的标准数据查询语言。
进一步的,虚拟物品分配系统可以针对所述创建红包的消息,进行相应的处理。例如,在用户支付成功后,根据特定的算法针对该群红包生成预定个数的红包流水,并将所述群红包对应的红包流水存储在所述资源管理服务器中。
请参阅图1,本申请一个实施方式所提供的一种虚拟物品的分配方法可以包括如下步骤。
步骤S10:业务服务器接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包。
在本实施方式中,所述预设虚拟物品包可以为发送方用户通过与客户端向虚拟物品分配系统发送创建虚拟物品包的消息后,由所述虚拟物品分配系统针对该消息创建。所述预设虚拟物品包中可以具有预定数量的虚拟物品子包。所述虚拟物品子包中可以对应存储有虚拟物品。所述虚拟物品可以为能够通过网络进行传输的各种物品。例如,所述虚拟物品的种类可以包括下述中的任意一种:电子货币、流量、电子优惠券等。当然,所述虚拟物品的具体种类并不限于上述举例,本申请在此不作一一限定。所述预设数量具体可以根据发送方用户的需求而进行设定,例如可以为一个,也可以为二个及以上,本申请在此并不作具体的限定。
在本实施方式中,所述虚拟物品分配系统可以针对所述虚拟物品包设置有预定标识,用于唯一标识所述虚拟物品包。具体的,所述预定标识可以为一个全局ID。对于所述每个领取请求而言,其可以包含有所述虚拟物品包的预定标识,以便处理所述领取请求的服务器能够准确指向预设虚拟物品包。此外,针对所述每个虚拟物品子包可以对应有子标识。例如所述虚拟物品子包的子标识可以为分支ID。所述分支ID的个数与所述虚拟 物品子包的个数相同。例如,所述虚拟物品子包的个数为2个时,所述虚拟物品包的预定标识可以为00,所述虚拟物品子包的各个分支ID可以为01,02。当然,所述全局ID或者分支ID的具体形式可以为数字,也可以为字符串,也可为其他形式本申请在此并不作具体的限定。所述虚拟物品包、虚拟物品子包可以存储在所述资源管理服务器中。
在本实施方式中,针对分布式场景下的虚拟物品分配系统而言,其一般可以包括至少二个以上的业务服务器,以应对复杂的业务场景。其中,所述业务服务器接收到所述领取请求的个数为至少两个,否则难以出现并发争抢问题。
具体的,当所述业务服务器为两个时,在一种情况下,可能每个业务服务器接收到一个领取请求;在另一种情况下,也可能其中一个业务服务器接收到两个领取请求,另一个业务服务器没有接收到领取请求。此外,当所述业务服务器为三个及以上时,也可能由其中一个业务服务器接收到全部的领取请求,其他业务服务器没有接收到领取请求。总之所述业务服务器接收到的领取请求的个数可以根据实际的情况而随机分配,本申请在此并不作具体的限定。
在本实施方式中,所述业务服务器针对接收到的每个领取请求,可以分别记录其到达所述业务服务器的时间,然后将所述记录有接收时间的领取请求发送给全局服务器。
步骤S12:所述全局服务器接收所述记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的领取请求发送至资源管理服务器。
在本实施方式中,所述全局服务器接收所述各个业务服务器发送的记录有接收时间的领取请求。所述全局服务器可以依据所述领取请求的接受时间的先后顺序,依次为与所述领取请求分配相应的领取序列号。其中,所述领取序列号可以用于唯一表示该领取请求对应的用户的领取顺序。所述领取序列号的具体形式可以为数字、字符串等等,本申请在此并不作具体的限定。所述全局服务器将所述分配有领取序列号的领取请求发送给所述资源管理服务器。
在本实施方式中,所述全局服务器可以针对每个虚拟物品包设置有计数器。所述计数器具体可以被设置为以设置的虚拟物品包的历史记录值作为当前虚拟物品包分配的初始值,当每次判断接收到一个领取请求时,所述领取序列号的值按照预设步长依次递增,形成计数器的当前记录值。基于所述计数器的当前记录值可以确定出具有领取资格的用户的领取序列号。具体的,所述计数器的当前记录值=初始值+N×预设步长。其中,N以1为初始值按照所述具有领取资格的用户的个数依次顺序递增,N取值范围为[1,M], M为虚拟物品个数。对于第一个具有领取资格的用户而言,其对应的领取序列号可以为初始值+1×预设步长;对于第二个有领取资格的用户而言,其对应的领取序列号可以为初始值+2×预设步长,以此类推,直至第M个领取资格的用户,其对应的领取序列号可以为初始值+M×预设步长。其中,所述领取序列号可以为当前记录值与初始值的差与预设步长的比值。例如,当所述初始值为0,所述预设步长为1时,所述序列号从1开始按照自然数的递增顺序依次递增。
在实施方式中,当所述序列号的个数等于虚拟物品子包的个数时,表示虚拟物品已经被分配结束。此时,所述全局服务器不再对领取请求分配相应的序列号,所述序列号的初始值可以恢复为初始值,例如清为零。
在一个实施方式中,在整个虚拟物品分配的过程中,所述领取请求中可以包含有所述虚拟物品包的预定标识。当所述全局服务器同时需要分别对来自不同虚拟物品包下的多个领取请求分配序列号时,通过识别所述虚拟物品包的预定标识,可以同时针对同一个虚拟物品包的多个领取请求进行排序。
步骤S14:所述资源管理服务器接收所述分配有领取序列号的领取请求,根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包;并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
在本实施方式中,所述资源服务器存储有所述虚拟物品包。所述资源管理服务器接收所述全局服务器发送的分配有领取序列号的领取请求,然后可以根据所述领取序列号,确定与所述领取序列号对应的所述虚拟物品包下的虚拟物品子包,再将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
具体的,所述虚拟物品子包可以按照预定的存储方式存储在所述资源管理服务器中。所述预定存储方式可以为数据栈的结构进行存储,当然,所述预定的存储方式还可以为其他方式,本申请在此并不作具体的限定。所述资源管理服务器可以针对所述领取序列号的自然顺序,依次取出虚拟物品子包,将所述虚拟物品子包中的虚拟物品分配给与所述领取请求的发出方用户。例如,用户A对应的领取序列号为1,可以从所述数据栈中取出第一个虚拟物品子包;用户B对应的领取序列号为2的,可以从所述数据栈中取出第二个虚拟物品子包,以此类推,直至将虚拟物品包中所有虚拟物品子包分配完。
在一个实施方式中,所述虚拟物品分配系统可以针对所述虚拟物品包设置有预定标识,针对每个虚拟物品子包也可以设置有子标识。相应的,每个领取请求中可以包含有所述虚拟物品包的预定标识。所述资源管理服务器可以先根据所述虚拟物品包的预定标 识查找到相应的虚拟物品包。当确定待领取的虚拟物品包后,进一步的,可以根据所述领取序列号领取相应的虚拟物品子包。
在本实施方式中,所述虚拟物品子包的子标识与所述领取序列号之间可以具有预设的对应关系。具体分配时,可以根据所述用户分配到的领取序列号以及所述预设的对应关系确定所述虚拟物品子包的子标识,进而确定相应的虚拟物品。然后,将所述确定的虚拟物品发送给与所述领取序列号相对应的用户。所述预设的对应关系可以为能将所述领取序列号与所述子标识一一对应的关系。
例如,在一个具体的实施方式中,虚拟物品包具有2个虚拟物品子包,所述虚拟物品包的预定标识可以为00,所述每个虚拟物品子包的子标识分别为01,02。所述领取请求分配到的领取序列号可以分别1、2。则所述预设的对应关系可以为顺序对应的关系,例如领取序列号为1的领取请求对应的子标识可以为01,领取序列号为2的领取请求对应的子标识可以为02。此外,所述预设的对应关系可以为逆序对应的关系,例如领取序列号为1的领取请求对应的子标识可以为02,领取序列号为2的领取请求对应的子标识可以为01。
当然,所述预设的对应关系并不限于上述描述,所属领域技术人员在本申请的技术精髓启示下,还可能做出其他的变更,但只要其实现的功能和效果与本申请相同或相似,均应涵盖于本申请保护范围内。
本申请实施方式中,通过业务服务器将记录有接收时间的领取请求统一发送到全局服务器,然后由全局服务器根据每个所述领取请求接收时间的先后顺序分配相应的领取序列号,所述资源管理服务器根据所述领取序列号分配相应的虚拟物品子包;将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户,从而实现了在虚拟物品分配过程中,一个虚拟物品子包唯一对应一个用户,避免了并发争抢问题的出现,从而保证虚拟物品的分配系统能够高效、有针对性地将每个待分配虚拟物品分配给相应的用户,进而大大减少了服务器的工作量,提高了虚拟物品分配效率,缩短了分配时间,从而提高了用户体验。
此外,本申请实施方式中,由于全局服务器整体根据虚拟物品领取请求到达业务服务器的先后顺序时间确定用户分配到领取序列号的先后顺序以及能否分配到领取序列号,在网络条件相同的情况下,相对于现有的领取方式而言,能够有效保证先发出领取请求的用户先有机会获得相应的虚拟物品。
在一个实施方式中,所述领取请求中可以包含有所述虚拟物品包的预定标识;相应 的,在所述资源管理服务器根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包前,所述方法还可以包括:所述资源管理服务器根据所述领取序列号确定所述领取请求指向的预设虚拟物品包。
在本实施方式中,在所述资源管理服务器中,可以存储有多个虚拟物品包。当所述领取请求中包含有所述虚拟物品包的预定标识时,所述资源管理服务器可以通过所述预定标识确定所述领取请求具体指向的预设虚拟物品包。当确定了虚拟物品包后,所述资源管理服务器可以根据所述领取序列号为与所述领取序列号对应的领取请求分配该虚拟物品包下的虚拟物品子包,便于服务器能够同时对不同的虚拟物品包下的虚拟物品子进行分配。
在一个实施方式中,在所述业务服务器记录每个所述领取请求的接收时间前,所述方法还可以包括:所述业务服务器基于所述领取请求,判断出具有领取资格的用户;相应的,所述业务服务器针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
在本实施方式中,所述领取请求中可以包含有用于判断发出所述领取请求的用户是否具有领取资格的信息。基于所述信息,可以判断出该发送虚拟物品领取请求的用户是否具有领取资格。
具体的,所述领取请求可以包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。相反的,当所述用户的第一状态标识信息表示为已领取时,表示与所述领取请求对应的用户已经领取过相应的虚拟物品,不具有虚拟物品领取资格。其中,所述第一状态信息的形式可以为标识0或者1。当与所述领取请求对应的用户还未领取虚拟物品时,其对应的第一状态信息可以为0;当所述用户已领取过虚拟物品时,其对应的第一状态信息可以为1。当然,所述第一状态信息的具体形式并不限于上述举例,并申请在此并不作具体的限定。
在一个实施方式中,在所述全局服务器为每个所述领取请求分配领取序列号前,所述方法还可以包括:所述全局服务器基于所述领取请求,判断出具有领取资格的用户;相应的,所述全局服务器为所述具有领取资格的用户对应的领取请求分配领取序列号。
在本实施方式中,所述领取请求中可以包含有用于判断发出所述领取请求的用户是否具有领取资格的信息。基于所述信息,可以判断出该发送虚拟物品领取请求的用户是否具有领取资格。
具体的,所述领取请求可以包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。相反的,当所述用户的第一状态标识信息表示为已领取时,表示与所述领取请求对应的用户已经领取过相应的虚拟物品,不具有虚拟物品领取资格。其中,所述第一状态信息的形式可以为标识0或者1。当与所述领取请求对应的用户还未领取虚拟物品时,其对应的第一状态信息可以为0;当所述用户已领取过虚拟物品时,其对应的第一状态信息可以为1。当然,所述第一状态信息的具体形式并不限于上述举例,并申请在此并不作具体的限定。
在一个具体的实施方式中,当所述虚拟物品的种类为电子货币时,所述领取请求中还可以包含用户是否经过实名认证的第二状态信息,且当所述第二状态信息为实名认证用户时,表示所述领取请求对应的用户具有领取资格。相反的,当所述第二状态信息为非实名认证用户时,表示与所述领取请求对应的用户不具有领取资格。
在本实施方式中,当所述领取请求中包含的第一状态信息表示为未领取,且当所述第二状态信息表示为实名认证用户时,表示所述领取请求对应的用户具有领取资格。具体的,所述第二状态信息的形式也可以为标识0或者1。当与所述领取请求对应的用户为实名认证用户时,其对应的第二状态信息可以为0;当与所述领取请求对应的用户为非实名认证用户时,其对应的第二状态信息可以为1。当然,所述第二状态信息的具体形式并不限于上述举例,并申请在此并不作具体的限定。在本实施方式中,对于虚拟物品为电子货币的场景下,通过限制用户需要经过实名认证才有可能具备领取资格,可以防止发生通过发虚拟货币进行洗钱等非法行为。
在一个实施方式中,所述方法还可以包括:将所述用户的第一状态信息进行更新。
当所述用户分配到相应的虚拟物品后,所述用户的第一状态信息可以由原来的未领取状态更新为已领取状态。当所述用户的第一状态信息更新后,若领取过虚拟物品的用户再次点击抢红包链接,此时由于其第一状态信息表示为已领取状态,因此,虚拟物品分配系统中的业务服务器或者全局服务器可以判断其不再具有虚拟物品的领取资格,从而可以避免同一用户重复领取一个虚拟物品包下的多个虚拟物品的情况。
在一个实施方式中,所述领取序列号可以被设置成:以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
在本实施方式中,自业务服务器发送给全局服务器的每个领取请求中可以包含有所 述每个领取请求到达业务服务器的接收时间。所述全局服务器可以按照所述领取请求中包含的接收时间的先后顺序识别出具有领取资格的用户,每确认一个具有领取资格的用户,计数器依次对其进行相应的计数。
具体的,所述全局服务器可以针对虚拟物品包设置有一个统一的计数器。在所述业务服务器或者全局服务器判断出领取请求对应的用户具有领取资格后,所述计数器能够为所述具有领取资格的用户分配相应的领取序列号。具体的所述领取序列号可以为所述计数器按照所述具有领取资格的用户的个数依次顺序递增的计数值。当所述具有领取资格的用户的个数与总的虚拟物品的个数相等时,表示虚拟物品子包已经被领取完了,此时,所述计数器的计数值可以恢复为初始值。其中,所述计数器的初始值可以为0,也可以为所述虚拟物品子包对应的虚拟物品包的ID或者任意一个字符串,本申请在此并不作具体的限定。
在一个具体的实施方式中,虚拟物品包中虚拟物品子包的个数例如为2个,每个虚拟物品子包对应有子标识,分别为ID+1、ID+2。所述预设步长为1,所述初始值为虚拟物品包的预定标识为ID。当确认第一个具有领取资格的用户后,所述计数器的记录值变为ID+1,当确认第二个具有领取资格的用户后,所述计数器的记录值变为ID+2。在上述情况下,所述计数器的记录值与所述虚拟物品子包的标识相同,可以根据所述记录值确定所述虚拟物品子包的标识。根据所述确定的虚拟物品子包的标识可以查询到相应的虚拟物品,从而能将所述虚拟物品分配给相对应的用户。
在一个具体的场景下,当两个用户发出的虚拟物品领取请求到达业务服务器的时间相同且都具有领取资格时,所述计数器随机对其进行先后计数。当剩余没有分配的虚拟物品子包的个数还有2个及以上时,上述两个用户对应的领取序列号相邻并相差为1,例如,领取序列号分别为2、3。当剩余没有分配的虚拟物品子包的个数只剩下一个时,计数器先计到数的相应用户能够分配到对应的领取序列号,另外一个用户则无法分配到。
在一个领取群红包的应用场景下,如以发送方用户需要发送金额为10元的群红包为例,根据发送方用户需求将所述10的群红包以金额随机的方式分为两个红包发送。如图2所示,该群红包可分为红包1和红包2,红包1中的金额为2.5元,红包2中的金额为7.5元。共有5个用户抢这两个红包,其中用户A、用户B、用户C、用户D、用户E分别点击拆红包,相应的,分别将领取请求发送至业务服务器。业务服务器接收用户A、用户B、用户C、用户D、用户E的时间分别记录为2016年2月7日8时30分31秒5毫秒、2016年2月7日8时30分31秒10毫秒、2016年2月7日8时30分31秒45毫 秒、2016年2月7日8时30分32秒20毫秒、2016年2月7日8时30分35秒30毫秒。然后所述业务服务器将包含所述接收时间的领取请求发送给全局服务器。所述全局服务器可以针对所述领取请求的先后顺序,为与领取请求相对应的用户分配领取序列号。具体的,所述全局服务器分配时,可以为第N个具有领取资格的用户分配第N个虚拟物品子包的领取序列号,其中,N以1为初始值按照所述具有领取资格的用户的个数依次顺序递增,N取值范围为[1,M],M为虚拟物品子包个数。例如,为第一个用户A分配领取序列号1、为第二个用户B分配领取序列号2。由于红包只有两个,所述全局服务器可以根据所述红包的个数来确定能够分配的领取序列号的个数,一旦所述领取序列号的个数达到所述红包的个数将停止分配领取序列号。资源管理服务器根据所述领取序列号1,从红包1中获取金额2.5发送给用户A;根据所述领取序列号2,从红包2中获取金额7.5发送给用户B,相应的,资源管理服务器不再为用户C、用户D、用户E分配红包。
基于上述实施方式所述的虚拟物品分配的方法,本申请还提供一种虚拟物品分配系统。
请参阅图3,所述虚拟物品分配系统可以包括:全局服务器22,资源管理服务器24,业务服务器,所述业务服务器可以为至少两个,分别可以为业务服务器20、业务服务器21等,
所述业务服务器用于接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
所述全局服务器22用于接收所述业务服务器发送的记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的领取请求发送至资源管理服务器;
所述资源管理服务器24用于接收所述全局服务器发送的分配有领取序列号的领取请求,根据所述领取序列号为所述领取序列号对应的领取请求分配虚拟物品子包,并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
所述虚拟物品的分配系统的另一种实施方式中,所述领取请求中可以包含有所述虚拟物品包的预定标识;相应的,所述资源管理服务器24还可以用于根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
所述虚拟物品的分配系统的另一种实施方式中,所述业务服务器还可以用于:
基于所述领取请求,判断出具有领取资格的用户;
相应的,所述业务服务器针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
所述虚拟物品的分配系统的另一种实施方式中,所述全局服务器22还可以用于:
基于所述领取请求,判断出具有领取资格的用户;
相应的,所述全局服务器22为所述具有领取资格的用户对应的领取请求分配领取序列号。
所述虚拟物品的分配系统的另一种实施方式中,所述领取请求中可以包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。
所述虚拟物品的分配系统的另一种实施方式中,所述领取序列号可以被设置为:
以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;
当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
上述实施方式公开的虚拟物品分配系统与本申请虚拟物品的分配方法实施方式相对应,可以实现本申请的虚拟物品的分配方法实施方式并达到方法实施方式的技术效果。
本申请所述虚拟物品分配的方法也可以适用于非分布式的场景下。
请参阅图4,本申请一个实施方式所提供的另一种虚拟物品的分配方法可以包括如下步骤。
步骤S11:接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包。
在本实施方式中,所述预设虚拟物品包可以为发送方用户通过与客户端向服务器发送创建虚拟物品包的消息后,由所述服务器针对该消息创建。所述预设虚拟物品包中可以具有预定数量的虚拟物品子包。所述虚拟物品子包中可以对应存储有虚拟物品。所述虚拟物品可以为能够通过网络进行传输的各种物品。例如,所述虚拟物品的种类可以包括下述中的任意一种:电子货币、流量、电子优惠券等。当然,所述虚拟物品的具体种类并不限于上述举例,本申请在此不作一一限定。所述预设数量具体可以根据发送方用户的需求而进行设定,例如可以为一个,也可以为二个及以上,本申请在此并不作具体 的限定。
在本实施方式中,所述服务器可以针对所述虚拟物品包设置有预定标识,用于唯一标识所述虚拟物品包。具体的,所述预定标识可以为一个全局ID。对于所述每个领取请求而言,其可以包含有所述虚拟物品包的预定标识,以便处理所述领取请求时,服务器能够准确指向预设虚拟物品包。此外,针对所述每个虚拟物品子包可以对应有子标识。例如,所述虚拟物品子包的子标识可以为分支ID。所述分支ID的个数与所述虚拟物品子包的个数相同。例如,所述虚拟物品子包的个数为2个时,所述虚拟物品包的预定标识可以为00,所述虚拟物品子包的各个分支ID可以为01,02。当然,所述全局ID或者分支ID的具体形式可以为数字,也可以为字符串,也可为其他形式本申请在此并不作具体的限定。所述虚拟物品包、虚拟物品子包可以存储在所述服务器中。
在本实施方式中,所述服务器针对接收到的每个领取请求,可以分别记录其到达服务器的时间,以记录所述每个领取请求到达服务器的先后顺序。
步骤S13:根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号。
在本实施方式中,所述服务器针对记录有接收时间的领取请求,可以依据所述领取请求的接受时间的先后顺序,依次为与所述领取请求分配相应的领取序列号。其中,所述领取序列号可以用于唯一表示该领取请求对应的用户的领取顺序。所述领取序列号的具体形式可以为数字、字符串等等,本申请在此并不作具体的限定。
在本实施方式中,所述服务器可以针对每个虚拟物品包设置有计数器。所述计数器具体可以被设置为以设置的虚拟物品包的历史记录值作为当前虚拟物品包分配的初始值,当每次判断接收到一个领取请求时,所述领取序列号的值按照预设步长依次递增,形成计数器的当前记录值。基于所述计数器的当前记录值可以确定出具有领取资格的用户的领取序列号。具体的,所述计数器的当前记录值=初始值+N×预设步长。其中,N以1为初始值按照所述具有领取资格的用户的个数依次顺序递增,N取值范围为[1,M],M为虚拟物品个数。对于第一个具有领取资格的用户而言,其对应的领取序列号可以为初始值+1×预设步长;对于第二个有领取资格的用户而言,其对应的领取序列号可以为初始值+2×预设步长,以此类推,直至第M个领取资格的用户,其对应的领取序列号可以为初始值+M×预设步长。其中,所述领取序列号可以为当前记录值与初始值的差与预设步长的比值。例如,当所述初始值为0,所述预设步长为1时,所述序列号从1开始按照自然数的递增顺序依次递增。
在实施方式中,当所述序列号的个数等于虚拟物品子包的个数时,表示虚拟物品已经被分配结束。此时,所述服务器不再对领取请求分配相应的序列号,所述序列号的初始值可以恢复为初始值,例如清为零。
在一个实施方式中,在整个虚拟物品分配的过程中,所述领取请求中可以包含有所述虚拟物品包的预定标识。当所述服务器同时需要分别对来自不同虚拟物品包下的多个领取请求分配序列号时,通过识别所述虚拟物品包的预定标识,可以同时针对同一个虚拟物品包的多个领取请求进行排序。
步骤S15:根据所述领取序列号为所述领取序列号对应的领取请求分配虚拟物品子包,并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
在本实施方式中,所述服务器存储有所述虚拟物品包。所述服务器可以根据所述领取序列号确定与所述领取序列号对应的所述虚拟物品包下的虚拟物品子包,然后再将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
具体的,所述虚拟物品子包可以按照预定的存储方式存储在所述服务器中。所述预定存储方式可以为数据栈的结构进行存储,或者可以为其他存储方式,本申请在此并不作具体的限定。所述服务器可以针对所述领取序列号的自然顺序,依次取出虚拟物品子包,将所述虚拟物品子包中的虚拟物品分配给与所述领取请求的发出方用户。例如,用户A对应的领取序列号为1,可以从所述数据栈中取出第一个虚拟物品子包;用户B对应的领取序列号为2的,可以从所述数据栈中取出第二个虚拟物品子包,以此类推,直至将虚拟物品包中所有虚拟物品子包分配完。
在一个实施方式中,所述服务器可以针对所述虚拟物品包设置有预定标识,针对每个虚拟物品子包也可以设置有子标识。相应的,每个领取请求中可以包含有所述虚拟物品包的预定标识。所述服务器可以先根据所述虚拟物品包的预定标识查找到相应的虚拟物品包。当确定待领取的虚拟物品包后,进一步的,可以根据所述领取序列号领取相应的虚拟物品子包。
在本实施方式中,所述虚拟物品子包的子标识与所述领取序列号之间可以具有预设的对应关系。具体分配时,可以根据所述用户分配到的领取序列号以及所述预设的对应关系确定所述虚拟物品子包的子标识,进而确定相应的虚拟物品。然后,将所述确定的虚拟物品发送给与所述领取序列号相对应的用户。所述预设的对应关系可以为能将所述领取序列号与所述子标识一一对应的关系。
例如,在一个具体的实施方式中,虚拟物品包具有2个虚拟物品子包,所述虚拟物 品包的预定标识可以为00,所述每个虚拟物品子包的子标识分别为01,02。所述领取请求分配到的领取序列号可以分别1、2。则所述预设的对应关系可以为顺序对应的关系,例如领取序列号为1的领取请求对应的子标识可以为01,领取序列号为2的领取请求对应的子标识可以为02。此外,所述预设的对应关系可以为逆序对应的关系,例如领取序列号为1的领取请求对应的子标识可以为02,领取序列号为2的领取请求对应的子标识可以为01。
当然,所述预设的对应关系并不限于上述描述,所属领域技术人员在本申请的技术精髓启示下,还可能做出其他的变更,但只要其实现的功能和效果与本申请相同或相似,均应涵盖于本申请保护范围内。
本申请实施方式中,通过记录每个领取请求的接收时间,根据每个所述领取请求接收时间的先后顺序分配相应的领取序列号,根据所述领取序列号分配相应的虚拟物品子包;将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户,从而实现了在虚拟物品分配过程中,一个虚拟物品子包唯一对应一个用户,避免了并发争抢问题的出现,从而保证服务器能够高效、有针对性地将每个待分配虚拟物品分配给相应的用户,进而大大减少了服务器的工作量,提高了虚拟物品分配效率,缩短了分配时间,从而提高了用户体验。
此外,本申请实施方式中,由于服务器整体根据领取请求到达服务器的时间先后顺序确定用户分配到领取序列号的先后顺序以及能否分配到领取序列号,在网络条件相同的情况下,相对于现有的领取方式而言,能够有效保证先发出领取请求的用户先有机会获得相应的虚拟物品。
在一个实施方式中,所述领取请求中可以包含有所述虚拟物品包的预定标识;相应的,在所述根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包的步骤前,所述方法还可以包括:根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
在本实施方式中,在所述服务器中可以存储有多个虚拟物品包。当所述领取请求中包含有所述虚拟物品包的预定标识时,所述服务器可以通过所述预定标识确定所述领取请求具体指向的预设虚拟物品包。当确定了虚拟物品包后,所述服务器可以根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包。
在一个实施方式中,在所述记录每个所述领取请求的接收时间的步骤前,所述方法还可以包括:基于所述领取请求,判断出具有领取资格的用户;相应的,针对所述具有 领取资格的用户,记录与其对应的所述领取请求的接收时间。
在本实施方式中,所述领取请求中可以包含有用于判断发出所述领取请求的用户是否具有领取资格的信息。基于所述信息,可以判断出该发送虚拟物品领取请求的用户是否具有领取资格。
具体的,所述领取请求可以包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。相反的,当所述用户的第一状态标识信息表示为已领取时,表示与所述领取请求对应的用户已经领取过相应的虚拟物品,不具有领取资格。其中,所述第一状态信息的形式可以为标识0或者1。当与所述领取请求对应的用户还未领取虚拟物品时,其对应的第一状态信息可以为0;当所述用户已领取过虚拟物品时,其对应的第一状态信息可以为1。当然,所述第一状态信息的具体形式并不限于上述举例,并申请在此并不作具体的限定。
在一个实施方式中,所述领取序列号可以被设置成:以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
在本实施方式中,每个领取请求中可以包含有所述每个领取请求到达服务器的接收时间。所述服务器可以按照所述领取请求中包含的接收时间的先后顺序识别出具有领取资格的用户,每确认一个具有领取资格的用户,计数器依次对其进行相应的计数。
具体的,所述服务器可以针对虚拟物品包设置有一个统一的计数器。在所述服务器判断出与领取请求对应的用户具有领取资格后,所述计数器能够为具有领取资格的用户分配相应的领取序列号。具体的所述领取序列号可以为所述计数器按照所述具有领取资格的用户的个数依次顺序递增的计数值。当所述具有领取资格的用户的个数与总的虚拟物品的个数相等时,表示虚拟物品已经被领取完了,此时,所述计数器的计数值可以恢复为初始值。其中,所述计数器的初始值可以为0,也可以为所述虚拟物品对应的虚拟物品包的ID或者任意一个字符串,本申请在此并不作具体的限定。
在一个具体的实施方式中,虚拟物品包中虚拟物品的个数例如为2个,每个虚拟物品子包对应有子标识,分别为ID+1、ID+2。所述预设步长为1,所述初始值为虚拟物品包的预定标识为ID。当确认第一个具有领取资格的用户后,所述计数器的记录值变为ID+1,当确认第二个具有领取资格的用户后,所述计数器的记录值变为ID+2。在上述情况下,所述计数器的记录值与所述虚拟物品子包的标识相同,可以根据所述记录值确定 所述虚拟物品子包的标识。根据所述确定的虚拟物品子包的标识可以查询到相应的虚拟物品,从而能将所述虚拟物品分配给相对应的用户。
在一个具体的场景下,当两个用户发出的领取请求到达服务器的时间相同且都具有领取资格时,所述计数器随机对其进行先后计数。当剩余没有分配的虚拟物品子包的个数还有2个及以上时,上述两个用户对应的领取序列号相邻并相差为1,例如,领取序列号分别为2、3。当剩余没有分配的虚拟物品子包的个数只剩下一个时,计数器先计到数的相应用户能够分配到对应的领取序列号,另外一个用户则无法分配到。
在一个领取群红包的应用场景下,如以发送方用户需要发送金额为10元的群红包为例,根据发送方用户需求将所述10的群红包以金额随机的方式分为两个红包发送。如图2所示,该群红包可分为红包1和红包2,红包1中的金额为2.5元,红包2中的金额为7.5元。共有5个用户来抢这两个红包。其中用户A、用户B、用户C、用户D、用户E分别点击拆红包,相应的,分别将领取请求发送至服务器。服务器接收用户A、用户B、用户C、用户D、用户E的时间分别记录为2016年2月7日8时30分31秒5毫秒、2016年2月7日8时30分31秒10毫秒、2016年2月7日8时30分31秒45毫秒、2016年2月7日8时30分32秒20毫秒、2016年2月7日8时30分35秒30毫秒。所述服务器可以针对所述领取请求到达服务器的先后顺序,为与领取请求相对应的用户分配领取序列号。具体的,所述服务器分配时,可以为第N个具有领取资格的用户分配第N个虚拟物品子包的领取序列号,其中,N以1为初始值按照所述具有领取资格的用户的个数依次顺序递增,N取值范围为[1,M],M为虚拟物品子包个数。例如,为第一个用户A分配领取序列号1、为第二个用户B分配领取序列号2。由于红包只有两个,所述服务器可以根据所述红包的个数来确定能够分配的领取序列号的个数,一旦所述领取序列号的个数达到所述红包的个数将停止分配领取序列号。服务器根据所述领取序列号1,从红包1中获取金额2.5发送给用户A;根据所述领取序列号2,从红包2中获取金额7.5发送给用户B,相应的,服务器不再为用户C、用户D、用户E分配红包。
在一个实施方式中,所述领取请求中可以包含有所述虚拟物品包的预定标识;相应的,在所述根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包的步骤前,所述方法还可以包括:根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
在本实施方式中,在服务器中,可以存储有多个虚拟物品包。当所述领取请求中包含有所述虚拟物品包的预定标识时,所述服务器可以通过所述预定标识确定所述领取请 求具体指向的预设虚拟物品包。当确定了虚拟物品包后,所述服务器可以根据所述领取序列号为与所述领取序列号对应的领取请求分配该虚拟物品包下的虚拟物品子包,便于服务器能够同时对不同的虚拟物品包下的虚拟物品子进行分配。
在一个实施方式中,在所述记录每个所述领取请求的接收时间的步骤前,所述方法还可以包括:基于所述领取请求,判断出具有领取资格的用户;相应的,针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
在本实施方式中,所述领取请求中可以包含有用于判断发出所述领取请求的用户是否具有领取资格的信息。基于所述信息,可以判断出该发送虚拟物品领取请求的用户是否具有领取资格。
具体的,所述领取请求可以包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。相反的,当所述用户的第一状态标识信息表示为已领取时,表示与所述领取请求对应的用户已经领取过相应的虚拟物品,不具有领取资格。其中,所述第一状态信息的形式可以为标识0或者1。当与所述领取请求对应的用户还未领取虚拟物品时,其对应的第一状态信息可以为0;当所述用户已领取过虚拟物品时,其对应的第一状态信息可以为1。当然,所述第一状态信息的具体形式并不限于上述举例,并申请在此并不作具体的限定。
在一个实施方式中,所述领取序列号可以被设置成:以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
在本实施方式中,每个领取请求中可以包含有所述每个领取请求到达服务器的接收时间。所述服务器可以按照所述领取请求中包含的接收时间的先后顺序识别出具有领取资格的用户,每确认一个具有领取资格的用户,计数器依次对其进行相应的计数。
具体的,所述服务器可以针对虚拟物品包设置有一个统一的计数器。在所述服务器判断出领取请求对应的用户具有领取资格后,所述计数器能够为所述具有领取资格的用户分配相应的领取序列号。具体的,所述领取序列号可以为所述计数器按照所述具有领取资格的用户的个数依次顺序递增的计数值。当所述具有领取资格的用户的个数与总的虚拟物品子包的个数相等时,表示虚拟物品子包已经被领取完了,此时,所述计数器的计数值可以恢复为初始值。其中,所述计数器的初始值可以为0,也可以为所述虚拟物品子包对应的虚拟物品包的ID或者任意一个字符串,本申请在此并不作具体的限定。
基于上述实施方式所述的虚拟物品分配的方法,本申请还提供一种服务器。
请参阅图5,所述服务器可以包括:存储器30、通讯模块31、计数器33、处理器35,
所述存储器30可以用于存储预设虚拟物品包,所述预设虚拟物品包具有预设数量的虚拟物品子包;
所述通讯模块31可以用于接收至少二个指向预设虚拟物品包的领取请求;
所述计数器33可以用于根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;
所述处理器35可以用于根据所述领取序列号从所述存储器30中获取相应的虚拟物品子包,为与所述领取序列号对应的领取请求分配虚拟物品子包;并通过所述通讯模块31将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
所述服务器的另一种实施方式中,所述领取请求中可以包含有所述虚拟物品包的预定标识;相应的,所述处理器35还可以用于:根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
所述服务器的另一种实施方式中,所述处理器35还可以用于:基于所述领取请求,判断出具有领取资格的用户;针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
所述服务器的另一种实施方式中,所述领取序列号可以为:
以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
上述实施方式公开的服务器与本申请虚拟物品的分配方法实施方式相对应,可以实现本申请的虚拟物品的分配方法实施方式并达到方法实施方式的技术效果。
本申请中各个实施方式所涉及的上述描述仅是本申请中的一些实施方式中的应用,在某些标准、方法的基础上略加修改后的实施方式也可以实行上述本申请各实施方式的方案。当然,在符合本申请上述各实施方式的中所述的处理方法步骤的其他无创造性的变形,仍然可以实现相同的申请,在此不再赘述。
虽然本申请提供了如实施方式或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施方式中列举的步骤顺序仅仅为众多 步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的装置或客户端产品执行时,可以按照实施方式或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。
上述实施方式阐明的系统、装置或模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。为了描述的方便,描述以上装置时以功能分为各种模块分别描述。在实施本申请时可以把各模块的功能在同一个或多个软件和/或硬件中实现。当然,也可以将实现某功能的模块由多个子模块或子单元组合实现。
本申请中所述的方法、系统或模块可以以可读程序嵌入控制器方式实现,所述控制器按具体要求实现例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内部包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
本申请所述系统中的部分模块可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构、类等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的硬件的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,也可以通过数据迁移的实施过程中体现出来。该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,移动终端,服务 器,或者网络设备等)执行本申请各个实施方式或者实施方式的某些部分所述的方法。
本说明书中的各个实施方式采用递进的方式描述,各个实施方式之间相同或相似的部分互相参见即可,每个实施方式重点说明的都是与其他实施方式的不同之处。本申请的全部或者部分可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、移动通信终端、多处理器系统、基于微处理器的系统、可编程的电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
在本申请文件中,介绍了本申请的多个实施方式,所属领域技术人员可以理解得出,本申请中的实施方式之间可以互相组合。而且,所属领域技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。

Claims (24)

  1. 一种虚拟物品的分配方法,其特征在于,其包括:
    业务服务器接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
    所述全局服务器接收所述记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的领取请求发送至资源管理服务器;
    所述资源管理服务器接收所述分配有领取序列号的领取请求,根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包;并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
  2. 如权利要求1所述的方法,其特征在于,所述领取请求中包含有所述虚拟物品包的预定标识;
    相应的,在所述资源管理服务器根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包前,所述方法还包括:
    所述资源管理服务器根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
  3. 如权利要求2所述的方法,其特征在于,在所述业务服务器记录每个所述领取请求的接收时间前,所述方法还包括:
    所述业务服务器基于所述领取请求,判断出具有领取资格的用户;
    相应的,所述业务服务器针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
  4. 如权利要求2所述的方法,其特征在于,在所述全局服务器为每个所述领取请求分配领取序列号前,所述方法还包括:
    所述全局服务器基于所述领取请求,判断出具有领取资格的用户;
    相应的,所述全局服务器为所述具有领取资格的用户对应的领取请求分配领取序列号。
  5. 如权利要求3或4所述的方法,其特征在于:所述领取请求中包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。
  6. 如权利要求3或4所述的方法,其特征在于,所述领取序列号为:
    以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;
    当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
  7. 如权利要求5所述的方法,其特征在于,当所述虚拟物品的种类为电子货币时,所述领取请求中还包含用户是否经过实名认证的第二状态信息,且当所述第二状态信息表示为实名认证用户时,表示与所述领取请求对应的用户具有领取资格。
  8. 如权利要求1所述的方法,其特征在于,所述虚拟物品的种类包括下述中的任意一种:
    电子货币、流量、电子优惠券。
  9. 一种虚拟物品的分配方法,其特征在于,其包括:
    接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
    根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;
    根据所述领取序列号为所述领取序列号对应的领取请求分配虚拟物品子包,并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
  10. 如权利要求9所述的方法,其特征在于,所述领取请求中包含有所述虚拟物品包的预定标识;
    相应的,在所述根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包的步骤前,所述方法还包括:
    根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
  11. 如权利要求10所述的方法,其特征在于,在所述记录每个所述领取请求的接收时间的步骤前,所述方法还包括:
    基于所述领取请求,判断出具有领取资格的用户;
    相应的,针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
  12. 如权利要求11所述的方法,其特征在于,所述领取请求中包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。
  13. 如权利要求11所述的方法,其特征在于,所述领取序列号为:
    以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;
    当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
  14. 如权利要求9所述的方法,其特征在于,所述虚拟物品的种类包括下述中的任意一种:
    电子货币、流量、电子优惠券。
  15. 一种虚拟物品分配系统,其特征在于,其包括:业务服务器、全局服务器、资源管理服务器,
    所述业务服务器用于接收至少二个指向预设虚拟物品包的领取请求,分别记录每个所述领取请求的接收时间,并将记录有接收时间的领取请求发送至全局服务器;其中,所述预设虚拟物品包具有预设数量的虚拟物品子包;
    所述全局服务器用于接收所述业务服务器发送的记录有接收时间的领取请求,根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号,并将分配有领取序列号的领取请求发送至资源管理服务器;
    所述资源管理服务器用于接收所述全局服务器发送的分配有领取序列号的领取请求,根据所述领取序列号为与所述领取序列号对应的领取请求分配虚拟物品子包,并将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
  16. 如权利要求15所述的系统,其特征在于,所述领取请求中包含有所述虚拟物品包的预定标识;相应的,所述资源管理服务器还用于:
    根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
  17. 如权利要求16所述的系统,其特征在于,所述业务服务器还用于:
    基于所述领取请求,判断出具有领取资格的用户;
    相应的,所述业务服务器针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
  18. 如权利要求16所述的系统,其特征在于,所述全局服务器还用于:
    基于所述领取请求,判断出具有领取资格的用户;
    相应的,所述全局服务器为所述具有领取资格的用户对应的领取请求分配领取序列号。
  19. 如权利要求17或18所述的系统,其特征在于:所述领取请求中包含用户是否已经领取虚拟物品子包的第一状态信息,当所述用户的第一状态信息表示为未领取时,表示与所述领取请求对应的用户具有领取资格。
  20. 如权利要求17或18所述的系统,其特征在于,所述领取序列号被设置为:
    以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;
    当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
  21. 一种服务器,其特征在于,其包括:存储器、通讯模块、处理器、计数器,
    所述存储器用于存储预设虚拟物品包,所述预设虚拟物品包具有预设数量的虚拟物品子包;
    所述通讯模块用于接收至少二个指向预设虚拟物品包的领取请求;
    所述计数器用于根据每个所述领取请求的接收时间的先后顺序为每个所述领取请求分配领取序列号;
    所述处理器用于根据所述领取序列号从所述存储器中获取相应的虚拟物品子包,为 与所述领取序列号对应的领取请求分配虚拟物品子包;并通过所述通讯模块将所述虚拟物品子包中的虚拟物品发送给与所述领取请求对应的用户。
  22. 如权利要求21所述的服务器,其特征在于,所述领取请求中包含有所述虚拟物品包的预定标识;相应的,所述处理器还用于:
    根据所述预定标识确定所述领取请求指向的预设虚拟物品包。
  23. 如权利要求22所述的服务器,其特征在于,所述处理器还用于:
    基于所述领取请求,判断出具有领取资格的用户;
    针对所述具有领取资格的用户,记录与其对应的所述领取请求的接收时间。
  24. 如权利要求23所述的服务器,其特征在于,所述领取序列号为:
    以预设的初始值根据所述接收时间的先后顺序,并按照所述具有领取资格的用户的个数依次顺序递增;
    当判断所述虚拟物品子包被领取完,所述领取序列号恢复为初始值。
PCT/CN2017/078932 2016-04-14 2017-03-31 虚拟物品的分配方法、系统及服务器 Ceased WO2017177835A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
SG11201808950SA SG11201808950SA (en) 2016-04-14 2017-03-31 Method, system, and server for allocating virtual articles
KR1020187032770A KR102226857B1 (ko) 2016-04-14 2017-03-31 가상 물품을 할당하기 위한 방법과 시스템, 및 서버
MYPI2018703759A MY191194A (en) 2016-04-14 2017-03-31 Method, system, and server for allocating virtual articles
KR1020217006862A KR102365796B1 (ko) 2016-04-14 2017-03-31 가상 물품을 할당하기 위한 방법과 시스템
JP2018554007A JP6697577B2 (ja) 2016-04-14 2017-03-31 仮想物品を割り当てる方法、システム及びサーバ
EP17781811.9A EP3445005A4 (en) 2016-04-14 2017-03-31 METHOD AND SYSTEM FOR ASSIGNING VIRTUAL ARTICLES AND SERVER
PH12018502183A PH12018502183A1 (en) 2016-04-14 2018-10-11 Method, system, and server for allocating virtual articles
US16/158,869 US11244291B2 (en) 2016-04-14 2018-10-12 Method and system for allocating virtual articles
US17/576,259 US11823142B2 (en) 2016-04-14 2022-01-14 Method and system for allocating virtual articles

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610235617.0 2016-04-14
CN201610235617.0A CN107302488B (zh) 2016-04-14 2016-04-14 虚拟物品的分配方法、系统及服务器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/158,869 Continuation US11244291B2 (en) 2016-04-14 2018-10-12 Method and system for allocating virtual articles

Publications (1)

Publication Number Publication Date
WO2017177835A1 true WO2017177835A1 (zh) 2017-10-19

Family

ID=60041393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078932 Ceased WO2017177835A1 (zh) 2016-04-14 2017-03-31 虚拟物品的分配方法、系统及服务器

Country Status (10)

Country Link
US (2) US11244291B2 (zh)
EP (1) EP3445005A4 (zh)
JP (1) JP6697577B2 (zh)
KR (2) KR102226857B1 (zh)
CN (1) CN107302488B (zh)
MY (1) MY191194A (zh)
PH (1) PH12018502183A1 (zh)
SG (1) SG11201808950SA (zh)
TW (1) TWI675339B (zh)
WO (1) WO2017177835A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200024744A (ko) * 2017-07-07 2020-03-09 파나소닉 아이피 매니지먼트 가부시키가이샤 정보 제공 방법, 정보 처리 시스템, 정보 단말, 및 정보 처리 방법
CN108768830B (zh) * 2018-05-24 2022-09-16 上海掌门科技有限公司 用于推送信息、显示信息的方法和设备
CN108764866B (zh) * 2018-05-24 2022-09-23 上海掌门科技有限公司 用于分配资源、领取资源的方法和设备
CN108874923B (zh) * 2018-05-31 2023-07-04 康键信息技术(深圳)有限公司 虚拟物品分发方法、服务器及计算机可读存储介质
CN108805438A (zh) * 2018-06-05 2018-11-13 上海掌门科技有限公司 用于分配资源、领取资源的方法和设备
CN109213598B (zh) * 2018-07-03 2022-08-02 深圳极联信息技术股份有限公司 一种资源分配方法、装置及计算机可读存储介质
CN110738507A (zh) * 2018-07-18 2020-01-31 北京京东金融科技控股有限公司 一种兑换码的领取方法和装置
CN110061907B (zh) * 2019-04-28 2022-03-11 上海掌门科技有限公司 用于领取资源、分配资源的方法和设备
CN112184277B (zh) * 2019-07-04 2023-06-16 腾讯科技(深圳)有限公司 虚拟物品包发送、接收方法、装置、设备及存储介质
CN110688215A (zh) * 2019-08-23 2020-01-14 咪咕文化科技有限公司 虚拟资源的分配方法、服务器和计算机可读存储介质
CN111028009B (zh) * 2019-12-10 2024-02-27 中国银行股份有限公司 可领取业务实体处理方法和装置
CN111612520B (zh) * 2020-04-17 2024-07-05 五八有限公司 资源处理方法、装置、服务器及存储介质
CN111787345B (zh) * 2020-07-07 2022-04-01 北京达佳互联信息技术有限公司 基于网络直播间的互动资源处理方法、装置、服务器及存储介质
CN113908557B (zh) * 2021-10-15 2025-12-23 网易(杭州)网络有限公司 游戏礼包序列号处理方法、装置、电子设备及存储介质
CN114237925B (zh) * 2021-11-09 2025-09-16 上海星阑信息科技有限公司 虚拟道具智能下发方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101883A1 (en) * 2010-05-04 2012-04-26 Pervez Akhter System and Method for Rewarding Smart Phone Users Personal Companion
CN104618226A (zh) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端和服务器
CN105302907A (zh) * 2015-10-30 2016-02-03 百度在线网络技术(北京)有限公司 一种请求的处理方法及装置

Family Cites Families (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100394122B1 (ko) 2000-02-29 2003-08-09 박래정 개인 접근정보를 획득하고 획득된 개인 접근정보를이용하여 통신망을 통해 전자정보를 제공하는 방법 및 장치
EP1158409B1 (en) * 2000-05-25 2008-05-28 Hitachi, Ltd. Storage system making possible data synchronisation confirmation at time of asynchronous remote copy
US8626577B2 (en) 2002-09-13 2014-01-07 Visa U.S.A Network centric loyalty system
US9928522B2 (en) * 2003-08-01 2018-03-27 Oath (Americas) Inc. Audience matching network with performance factoring and revenue allocation
US11475436B2 (en) 2010-01-08 2022-10-18 Blackhawk Network, Inc. System and method for providing a security code
AU2005242593C1 (en) * 2004-05-14 2010-02-04 Orderly Mind Limited Queuing system, method and computer program product for managing the provision of services over a communications network
JP2006236297A (ja) * 2005-02-24 2006-09-07 Almagic:Kk ネットワーク型クーポン発券システムおよびネットワーク型クーポン発券装置のクーポン発券方法
US7677979B2 (en) 2005-10-14 2010-03-16 Leviathan Entertainment, Llc Method and system for allocating resources in a video game
JP5005210B2 (ja) 2005-11-11 2012-08-22 任天堂株式会社 ネットワークゲームシステム、ネットワークゲームプログラムおよびネットワーク構築方法
US9064359B2 (en) * 2005-12-02 2015-06-23 Modiv Media, Inc. System for queue and service management
US8352442B2 (en) 2008-08-08 2013-01-08 International Business Machines Corporation Determination of an updated data source from disparate data sources
US20100278345A1 (en) 2009-05-04 2010-11-04 Thomas Matthieu Alsina Method and apparatus for proximity based pairing of mobile devices
TWI453686B (zh) 2009-12-10 2014-09-21 財團法人資訊工業策進會 結合社交網路之消費管理系統及方法
US8635250B2 (en) 2010-04-26 2014-01-21 Vinod Mehra Methods and systems for deleting large amounts of data from a multitenant database
JP2012088841A (ja) * 2010-10-18 2012-05-10 Adc Technology Inc クーポン付与装置
US9002727B2 (en) 2011-02-14 2015-04-07 Coupons.Com Incorporated Identifier-based coupon distribution
KR20120105582A (ko) * 2011-03-02 2012-09-26 주식회사 열심히커뮤니케이션즈 무료쿠폰 제공시스템 및 그 방법
US9311462B1 (en) 2011-03-04 2016-04-12 Zynga Inc. Cross platform social networking authentication system
EP2702544A4 (en) 2011-04-25 2014-11-26 Mastercard International Inc METHOD AND SYSTEMS FOR PROVIDING AND VERIFYING THE DYNAMIC DELIVERY AND DYNAMIC RECEIPT OF GIFTS
KR20130049256A (ko) * 2011-10-20 2013-05-14 도현구 이벤트 발생에 따라 모바일 단말기로 할인쿠폰을 제공하는 방법과, 이를 위한 모바일 단말기 및 서버
US20130159411A1 (en) 2011-11-02 2013-06-20 Barbara Bowen Data sharing and content delivery system
US8606644B1 (en) * 2011-12-14 2013-12-10 Eventbrite, Inc. Order queue management in event ticket network systems
US20130185127A1 (en) * 2012-01-17 2013-07-18 Martin Rödén Systems and Methods for Advertising
US20130191523A1 (en) 2012-01-19 2013-07-25 EvoApp, Inc. Real-time analytics for large data sets
KR101307242B1 (ko) * 2012-04-19 2013-09-11 이흥수 순서표의 항목 순서를 식별자로 이용하는 방법 및 장치
JP5449473B2 (ja) * 2012-07-27 2014-03-19 グリー株式会社 ゲームシステム、装置及びプログラム
US20140310109A1 (en) * 2013-04-11 2014-10-16 Dov E. King Live And Interactive Auction Utilizing A Social Media Platform
US9998531B2 (en) 2013-09-18 2018-06-12 International Business Machines Corporation Computer-based, balanced provisioning and optimization of data transfer resources for products and services
CN103973769B (zh) * 2014-01-29 2016-08-17 腾讯科技(深圳)有限公司 虚拟物品发送方法、接收方法、装置和系统
US20150310471A1 (en) * 2014-04-25 2015-10-29 Radoslav P. Kotorov Method and System for Social Gamification of Commercial Offers
CN105100162B (zh) * 2014-05-19 2018-11-23 腾讯科技(深圳)有限公司 虚拟物品发送方法及装置、接收方法及装置、系统
US9244978B2 (en) 2014-06-11 2016-01-26 Oracle International Corporation Custom partitioning of a data stream
US9712287B2 (en) * 2014-07-31 2017-07-18 Qualcomm Incorporated System and method of redundancy based packet transmission error recovery
US10902497B1 (en) * 2014-08-25 2021-01-26 Twitter, Inc. Method and system for processing requests in a messaging platform
CN104680386B (zh) * 2015-02-11 2016-12-28 腾讯科技(深圳)有限公司 虚拟物品发放方法及发放装置
CN106156228B (zh) * 2015-04-24 2020-01-10 腾讯科技(深圳)有限公司 资源发放系统、资源发放方法及资源领取方法
CN104954468A (zh) * 2015-06-18 2015-09-30 小米科技有限责任公司 资源的分配方法及装置
CN105389117B (zh) * 2015-12-07 2020-09-08 腾讯科技(深圳)有限公司 获取资源的方法和装置以及资源处理方法、装置和系统
US20170279631A1 (en) * 2016-03-25 2017-09-28 Afero, Inc. Internet of things (iot) apparatuses, systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120101883A1 (en) * 2010-05-04 2012-04-26 Pervez Akhter System and Method for Rewarding Smart Phone Users Personal Companion
CN104618226A (zh) * 2015-02-16 2015-05-13 腾讯科技(深圳)有限公司 一种信息处理方法、客户端和服务器
CN105302907A (zh) * 2015-10-30 2016-02-03 百度在线网络技术(北京)有限公司 一种请求的处理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3445005A4 *

Also Published As

Publication number Publication date
PH12018502183A1 (en) 2019-10-07
KR20180133903A (ko) 2018-12-17
KR102226857B1 (ko) 2021-03-12
MY191194A (en) 2022-06-07
EP3445005A1 (en) 2019-02-20
JP6697577B2 (ja) 2020-05-20
EP3445005A4 (en) 2019-11-20
KR20210029304A (ko) 2021-03-15
US11244291B2 (en) 2022-02-08
JP2019514132A (ja) 2019-05-30
US20220138706A1 (en) 2022-05-05
US20190043027A1 (en) 2019-02-07
CN107302488A (zh) 2017-10-27
KR102365796B1 (ko) 2022-02-23
TWI675339B (zh) 2019-10-21
TW201737170A (zh) 2017-10-16
SG11201808950SA (en) 2018-11-29
US11823142B2 (en) 2023-11-21
CN107302488B (zh) 2021-07-09

Similar Documents

Publication Publication Date Title
US11823142B2 (en) Method and system for allocating virtual articles
CN108595157B (zh) 区块链数据的处理方法、装置、设备和存储介质
CN100518181C (zh) 服务器之间无状态会话的透明迁移
CN107360206B (zh) 一种区块链共识方法、设备及系统
CN108062672B (zh) 一种基于区块链智能合约的流程调度方法
CN110825535B (zh) 一种作业调度的方法和系统
WO2019128535A1 (zh) 消息管理方法、设备及存储介质
CN109344172A (zh) 一种高并发数据处理方法、装置及客户端服务器
CN110851248B (zh) 异步任务数据处理方法、装置及计算机可读存储介质
WO2019153973A1 (zh) 事件驱动方法及装置
CN109614209A (zh) 一种任务处理方法、应用服务器及系统
CN111597033A (zh) 一种任务调度方法和装置
US20060026169A1 (en) Communication method with reduced response time in a distributed data processing system
CN107623731A (zh) 一种任务调度方法、客户端、服务集群及系统
CN110430180A (zh) 一种基于热插拔的物联网平台及实现方法
CN110457128B (zh) 任务分配方法、装置和系统
CN102891809A (zh) 多核网络设备报文按接口保序方法及系统
WO2019029721A1 (zh) 任务的调度方法、装置、设备及存储介质
CN110389976A (zh) 一种多接口数据的调度方法和装置
CN114217875B (zh) 处理订单的方法、装置、设备及存储介质
CN119941396A (zh) 一种区块链数据处理方法、装置、设备及存储介质
HK1246520B (zh) 虚拟物品的分配方法、系统及服务器
CN117632383A (zh) 分布式定时任务调度方法、装置、设备及存储介质
CN105791160B (zh) 软件定义网络中事务的处理方法、设备及系统
HK1246520A1 (zh) 虚拟物品的分配方法、系统及服务器

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018554007

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20187032770

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2017781811

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017781811

Country of ref document: EP

Effective date: 20181114

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

Ref document number: 17781811

Country of ref document: EP

Kind code of ref document: A1