CN110806864A - Virtual card obtaining and issuing method, device, equipment and readable storage medium - Google Patents
Virtual card obtaining and issuing method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN110806864A CN110806864A CN201911077774.3A CN201911077774A CN110806864A CN 110806864 A CN110806864 A CN 110806864A CN 201911077774 A CN201911077774 A CN 201911077774A CN 110806864 A CN110806864 A CN 110806864A
- Authority
- CN
- China
- Prior art keywords
- virtual card
- target
- application program
- target application
- server
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a method, a device, equipment and a readable storage medium for acquiring and issuing a virtual card, and relates to the field of program design. The method comprises the following steps: logging in a target application program through a first platform account; sending a virtual card acquisition request to a server; receiving a virtual card issuing message sent by a server, wherein the virtual card issuing message is sent when the use duration of the first platform account using the target application program reaches the required duration; and displaying a virtual card issuing interface, wherein the virtual card issuing interface comprises a target virtual card. When a virtual card issuing request sent by a first platform account is received, the service duration of the first platform account login target application program is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the service duration reaches the required duration, so that the waste of server resources of a card server is avoided, and the activity of a virtual card collecting event is improved.
Description
Technical Field
The embodiment of the application relates to the field of program design, in particular to a method, a device, equipment and a readable storage medium for acquiring and issuing a virtual card.
Background
The virtual card collection function is typically a function provided in the gaming application for redeeming bonus awards, including: at least one of experience value, game property, additional download resource, coupon, appointed game download right, data update right and appointed expression, and the collected virtual cards can be traded.
In the related art, when the virtual cards are collected, generally, when the game nodes or the scores of the game nodes are completed in the game application program to reach the required scores, the virtual cards are dealt to the player by the virtual card collection server, and the dealt virtual cards may be virtual cards corresponding to the completed game nodes or randomly drawn virtual cards.
However, when the virtual cards are collected in the above manner, the virtual card collection process is related to the completion of the game node in the game application program, and when the player enters the game and does not play the game node, the player cannot participate in the virtual card collection process, so that the participation degree in the virtual card collection process is not high, and the server resources occupied by the virtual card collection server are wasted.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a readable storage medium for acquiring and issuing virtual cards, which can solve the problems that the participation degree in the virtual card collecting process is not high, and the server resources occupied by a virtual card collecting server are wasted. The technical scheme is as follows:
in one aspect, a method for acquiring a virtual card is provided, the method comprising:
logging in a target application program through a first platform account, wherein the first platform account is an account registered in an application platform, and the target application program is provided in the application platform;
sending a virtual card acquisition request to a server, wherein the virtual card acquisition request comprises the identifier of the first platform account and the identifier of the target application program;
receiving a virtual card dealing message sent by the server, wherein the virtual card dealing message is a message which is sent by the server and used for showing that a target virtual card is dealt when the use duration of the first platform account using the target application program reaches a required duration, and the target virtual card is at least one virtual card extracted from a virtual card set;
and displaying a virtual card issuing interface according to the virtual card issuing message, wherein the virtual card issuing interface comprises the target virtual card.
In another aspect, a method for issuing a virtual card is provided, the method including:
receiving a virtual card issuing request sent by a first platform account, wherein the first platform account is an account registered in an application platform, a target application program is provided in the application platform, and the virtual card issuing request is a request sent when the first platform account logs in the target application program;
acquiring the use duration of the first platform account for using the target application program according to the virtual card issuing request;
and when the service life reaches the required service life, selecting a target virtual card from a first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account.
In another aspect, an apparatus for obtaining a virtual card is provided, the apparatus comprising:
the system comprises a login module, a storage module and a display module, wherein the login module is used for logging in a target application program through a first platform account, the first platform account is an account registered in an application platform, and the target application program is provided in the application platform;
the sending module is used for sending a virtual card acquisition request to a server, wherein the virtual card acquisition request comprises the identifier of the first platform account and the identifier of the target application program;
a receiving module, configured to receive a virtual card issuing message sent by the server, where the virtual card issuing message is a message sent by the server to indicate that a target virtual card is issued when a usage duration of the first platform account using the target application reaches a required duration, and the target virtual card is at least one virtual card extracted from a virtual card set;
the display module is further configured to display a virtual card issuing interface according to the virtual card issuing message, where the virtual card issuing interface includes the target virtual card.
In another aspect, there is provided an apparatus for issuing a virtual card, the apparatus including:
the card issuing system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a virtual card issuing request sent by a first platform account, the first platform account is an account registered in an application platform, a target application program is provided in the application platform, the application platform is provided with a virtual card collecting function, and the virtual card issuing request is a request sent when the first platform account logs in the target application program;
the acquisition module is used for acquiring the use duration of the first platform account for using the target application program according to the virtual card issuing request;
and the processing module is used for selecting a target virtual card from the first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account when the service life reaches the required service life.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the virtual card issuing method or the virtual card acquiring method according to any one of the embodiments of the present application.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the virtual card issuing method or the virtual card acquiring method according to any one of the embodiments of the present application.
In another aspect, a computer program product is provided, which when run on a computer, causes the computer to execute the virtual card issuance method or the virtual card acquisition method according to any one of the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
when a virtual card issuing request sent by a first platform account is received, the service duration of a target application program logged in by the first platform account is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the service duration reaches the required duration.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of a virtual card presentation through a virtual card presentation cabinet as provided by an exemplary embodiment of the present application;
FIG. 2 is a schematic illustration of a virtual card being presented via a virtual card signature as provided by an exemplary embodiment of the present application;
FIG. 3 is a schematic illustration of a virtual card being displayed via a backpack display interface as provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic illustration of a transaction process for a virtual card as provided by an exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of an item redemption process for a virtual card as provided by an exemplary embodiment of the present application;
FIG. 6 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 7 is a flow chart of a method for dealing virtual cards provided by an exemplary embodiment of the present application;
FIG. 8 is a schematic diagram of a process for querying virtual card dealing conditions through an SDK according to the embodiment shown in FIG. 7;
FIG. 9 is a schematic diagram of a process for querying a virtual card issuance scenario when a first platform account logs out of a login provided in accordance with the embodiment shown in FIG. 7;
FIG. 10 is a flow chart of a method for dealing virtual cards provided by another exemplary embodiment of the present application;
FIG. 11 is a flow chart of a method for dealing virtual cards provided by another exemplary embodiment of the present application;
FIG. 12 is a schematic illustration of an item redemption process provided by an exemplary embodiment of the present application;
FIG. 13 is a flow chart of a method of obtaining a virtual card as provided by an exemplary embodiment of the present application;
FIG. 14 is a schematic view of a virtual card issuance gifting interface provided in accordance with the embodiment shown in FIG. 13;
FIG. 15 is a schematic illustration of an interface provided for dealing virtual cards within a game based on the embodiment shown in FIG. 13;
FIG. 16 is a schematic diagram of an interface provided by the embodiment shown in FIG. 13 for dealing out a virtual card after the target account is logged out of the target application;
FIG. 17 is a schematic illustration of a virtual card presentation process provided by an exemplary embodiment of the present application;
FIG. 18 is a schematic illustration of a virtual card transaction process provided by an exemplary embodiment of the present application;
fig. 19 is a block diagram of a virtual card issuing apparatus according to an exemplary embodiment of the present application;
fig. 20 is a block diagram of a virtual card issuing apparatus according to another exemplary embodiment of the present application;
FIG. 21 is a block diagram of a virtual card acquisition device according to an exemplary embodiment of the present application;
FIG. 22 is a block diagram of a virtual card acquisition device according to another exemplary embodiment of the present application;
FIG. 23 is a block diagram of a server provided in an exemplary embodiment of the present application;
fig. 24 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
virtual card collection: the process refers to a process of providing a virtual card set in an application program and collecting virtual cards in the virtual card set by a player, and optionally, a virtual card combination composed of different virtual cards in the virtual card set can realize different redemption functions, such as: the virtual card set provided in the application includes 20 virtual cards, where a first combination of the virtual cards 1, the virtual cards 2, and the virtual cards 3 can exchange game items a in the application, and a second combination of the virtual cards 4, the virtual cards 5, and the virtual cards 6 can exchange experience values in the application, and it is noted that each virtual card can participate in one composition of a virtual card combination or in a plurality of compositions of virtual card combinations, which is not limited in the embodiment of the present application.
Optionally, in the virtual card collecting process, there are situations such as virtual card dealing, virtual card purchasing, virtual card selling, virtual card presenting, and the like, where virtual card dealing refers to a process in which, when a player satisfies a virtual card dealing condition, a server generates a virtual card corresponding to the virtual card dealing condition and provides the virtual card to the player, and the virtual card dealing condition includes: optionally, in this embodiment of the present application, the virtual card issuing condition further includes that the usage duration of the player logging in the application program reaches the required duration.
Optionally, the virtual card further corresponds to a rarity level, and the rarity level of the virtual card is generally divided into an Ultra Rare (UR), a Super Rare (SSR), a Super Rare (SR), a Rare (R), and a Normal (Normal, N) in the application program, where the rarity of the UR is greater than that of the SSR, the rarity of the SSR is greater than that of the SR, the rarity of the SR is greater than that of the R, and the rarity of the R is greater than that of the N. Optionally, the number of SSR virtual cards, SR virtual cards, R virtual cards, and N virtual cards in the game may be one or more, wherein the SSR virtual cards are less than the SR virtual card types, the SR virtual cards are less than the R virtual cards, and the R virtual cards are less than the N virtual cards according to the rarity degree.
Optionally, the collected virtual cards may be used for item exchange, transaction, and display, and may also be used to implement participation of the virtual card characters in game play, which is not limited in the embodiment of the present application.
Illustratively, the presentation, transaction and item redemption of the virtual card are described separately:
first, the process of showing the virtual card is explained. The virtual card display can be performed through a virtual card display cabinet, a virtual card image, a virtual card backpack, etc., referring to fig. 1, a virtual card display cabinet 110 is displayed in a program interface 100 of the application, and a virtual card owned by a target account currently logged in the application is displayed in the virtual card display cabinet 110, including a virtual card 111, a virtual card 112, a virtual card 113, a virtual card 114, and a virtual cardOptionally, the virtual cards displayed in the virtual card display cabinet 110 are the virtual cards with higher rarity level owned by the target account, or the virtual cards displayed in the virtual card display cabinet 110 are n virtual cards recently owned by the target account, or the virtual cards displayed in the virtual card display cabinet 110 are all virtual cards owned by the target account and are displayed in a rolling manner.
Referring to fig. 2, a virtual card mirror 210 is displayed in the program interface 200 of the application, and the virtual card mirror 210 may display all available virtual cards in the application, may also display virtual cards owned by the target account, and may also display virtual cards corresponding to different partitions according to different game partitions.
Referring to fig. 3, which shows an interface for displaying a virtual card corresponding to a target game application in a backpack display interface 300 of the target application, illustratively, the backpack display interface 300 includes a game selection area 310, the game selection area 310 is used for selecting a game provided by an application platform, and after the target game application is selected in the game selection area 310, the backpack display interface 300 displays a virtual card corresponding to the target game application owned by a target account.
Second, a description is given of a transaction process of the virtual card.Referring to fig. 4, schematically, a virtual card commodity list 410 is displayed in a virtual card commodity transaction interface 400 of the game application, the virtual card commodity list 410 includes a virtual card to be sold, and after receiving a selection operation of a virtual card 411 to be sold, a detailed information interface 420 of the virtual card 411 to be sold is displayed, and the detailed information interface 420 includes detailed information for purchasing the virtual card 411 to be sold, such as: a virtual card name, a virtual card rarity rating, a unit price, etc., when receiving a selection operation on the purchase control 421, a purchase interface 430 is displayed, the purchase interface 430 being used to select a purchase quantity of the virtual card 411 to be sold, optionally due to the virtual card to be soldThe cards 411 may be virtual cards sold by the system or virtual cards sold by other players, when the virtual cards 411 to be sold are virtual cards sold by other players, the selling price of the virtual cards 411 to be sold may be defined by other players, so the price of the virtual cards 411 to be sold includes multiple situations, optionally, the purchasing interface 430 further includes an on-sale situation display area 431 of the virtual cards 411 to be sold, and when the on-sale situation display area 431 shows that the virtual cards 411 to be sold are currently sold in the market, the quantities corresponding to different selling price positions are as follows: the selling price of 3 virtual cards 411 to be sold in the market is 0.4 yuan, the selling price of 22 virtual cards 411 to be sold in the market is 0.5 yuan, the selling price of 30 virtual cards 411 to be sold in the market is 0.6 yuan, and the selling price of 268 virtual cards 411 to be sold in the market is higher than 0.6 yuan. When the player needs to purchase 5 virtual cards 411 to be sold, 3 virtual cards 411 to be sold are required to be purchased at a price of 0.4 and 2 virtual cards 411 to be sold are required to be purchased at a price of 0.5. When a selection operation on the purchase confirmation control 432 is received, a purchase success prompt message 440 is displayed.
Third, the item exchange process of the virtual card is explained.Schematically, taking the article exchange process as an example to explain the exchange of the game item, please refer to fig. 5, a virtual card collection progress area 510 is displayed in the article exchange interface 500, a virtual card combination required to be collected for exchanging the game item and a virtual card in the virtual card combination obtained by collecting the current target account are displayed in the virtual card collection progress area 510, and when the target account is collected to be aligned with the virtual card in the virtual card combination, the game item is exchanged by clicking the pick-up control 520.
With reference to fig. 6, the implementation environment related to the embodiment of the present application is described by taking an application of the virtual card dealing method provided in the embodiment of the present application to a game application as an example, and referring to fig. 6, the implementation environment includes a terminal 610 and a game server 620, wherein the terminal 610 is installed with the game application 611, optionally, an application platform is installed in the terminal 610, the application platform is provided with at least one game, the game application 611 includes the game application 611, the game application 611 is installed in the terminal 610 by obtaining and downloading the game application 611 in the application platform, optionally, the game application 611 is provided with a virtual card collecting function, and the game application 611 is logged with a target account which collects virtual cards by completing a virtual card dealing condition in the game application 611, wherein the target account number may be accessed by logging into the game application 611 for the desired length of time.
Optionally, as shown in fig. 6, the game server 620 includes a card server 621 and a duration server 622, wherein the card server 621 is configured to manage the virtual cards owned by each account and issue the virtual cards to the target account when the target account satisfies the virtual card issue condition, and the duration server 622 is configured to record the login time of the login game of each account. Optionally, taking the usage duration of the target account as an example for description, the obtaining method of the usage duration includes any one of the following manners:
firstly, the game application 611 has access to a virtual card dealing query expansion Software Development Kit (SDK), when a target account logs in the game application 611, a virtual card dealing request is sent to the card server 621 every preset time interval through the SDK, when the card server 621 receives the virtual card dealing request, the card server 621 queries the login time of the target account to the time server 622, and determines the usage time of the target account according to the current time and the login time of the target account;
secondly, as shown in fig. 6, the game server 620 further includes an online server 623, where the online server 623 is configured to manage a process of logging in the game application program for a target account, and optionally, when the target account logs out of the game application program 611, send a game quit notification to the online server 623, the online server 623 sends the game quit notification for the target account to a card server 621, the card server 621 queries a time server 622 for a login time of the target account according to the game quit notification, and determines a usage time of the target account according to the current time and the login time of the target account; alternatively, since the target account has already exited the game application 611, when the usage duration of the target account is determined in this manner and a virtual card is dealt to the target account, a virtual card dealing notification is sent to the terminal 610 when the target account logs into the game application 611 next time, or a management application manages a plurality of game applications, including the game application 611, and a virtual card dealing notification is displayed in a management interface of the management application to the game application 611.
It should be noted that the terminal 610 may be implemented as a mobile terminal such as a mobile phone, a tablet computer, a wearable smart device, a portable laptop computer, or a desktop computer, which is not limited in the embodiment of the present application.
The game server 620 may be implemented as one server or a server cluster formed by a plurality of servers, and the game server 620 may be implemented as a physical server or a cloud server, which is not limited in this embodiment of the application.
With reference to the above noun introduction and implementation environment, the virtual card dealing method provided in the embodiment of the present application is described, as shown in fig. 7, taking an example that the method is applied to the game server shown in fig. 6 as an example, and the method includes:
Optionally, the application platform is a downloading and management platform of the target application program, and after the target application program is acquired through the application platform, the first platform account number acquires the right to download the target application program, so that the target application program is downloaded and installed in the terminal.
Optionally, the sending manner of the virtual card dealing request includes at least one of the following manners:
firstly, the virtual card issuing request is a request sent by a first platform account at intervals of preset time;
optionally, the target application program has access to a virtual card dealing inquiry SDK, and sends a virtual card dealing request to the game server at preset time intervals through the virtual card dealing inquiry SDK, where: when the first platform account number is registered to the target application, the virtual card dealing request is sent to the game server every 10 minutes by the virtual card dealing inquiry SDK.
Referring to fig. 8, for example, the SDK810 sends a virtual card issuing request to the card server 820 at regular time to query whether a virtual card is issued, the card server 820 queries the online time of the first platform account from the time server 830 after receiving the virtual card issuing request, the time server 830 feeds back the online time of the first platform account to the card server 820, and the card server 820 determines whether the first platform account can obtain the virtual card according to the online time, and notifies the SDK810 of the virtual card issuing result by the card server 820.
Second, the virtual card issuance request is a request sent when the first platform account exits the target application.
Optionally, since the virtual card issuance request is used to request that the card is issued to the first platform account according to the usage duration of the first platform account registered in the target application, when the first platform account exits the target application, the virtual card issuance request is issued to the game server, and the game server determines the total single-time duration or the multiple accumulated durations of the first platform account registered in the target application according to the virtual card issuance request.
Optionally, the game server includes an online server and a card server, when the first platform account exits the target application program, the first platform account sends a game exit notification to the online server, and the online server sends the game exit notification to the card server as a virtual card dispensing request, that is, the card server verifies the usage duration of the first platform account logged in the target application program according to the game exit notification.
Referring to fig. 9, for example, when the first platform account logs out of the target application, the online server 910 receives a game quit notification sent by the first platform account, and the online server 910 sends a virtual card dealing request to the card server 920, the card server 920 queries the online duration of the first platform account to the duration server 90 according to the virtual card request, and after the duration server 930 feeds back the online duration of the first platform account to the card server 920, the card server 920 determines whether the first platform account can obtain a virtual card according to the online duration, and the card server 920 notifies the online server 910 of a virtual card dealing result.
Alternatively, the target application may be implemented as at least one of a gaming application, a social application, an instant messaging application, a financial management application, an efficiency management application, and the like.
Alternatively, the target application may be implemented as one of the application programs in the program management application, such as: there are 50 applications managed in the game management application, and a player can purchase and download a target application in the game management application to apply the target application.
Alternatively, the virtual card collection function may be a function provided by the application platform, or may be a function provided by the target application.
Optionally, the usage duration is used to indicate a total duration from a login time of the first platform account to a current time when the first platform account last logged in the target application; or, the usage duration is used for representing the total duration from the last login time of the first platform account for logging in the target application program to the login time of logging out the target application program; or, the use duration is used for representing the total duration from the starting time of the last starting of the target application program to the current time; or, the use duration is used for representing the total duration from the latest starting time of the target application program to the quitting time; or, the use duration is used for representing the sum of the latest n starting durations of the target application program; or, the usage duration is used to represent the sum of the durations of the last n times of login of the first platform account to the target application.
Optionally, the determining and acquiring manner of the usage duration includes any one of the following manners:
firstly, the server acquires the login time when the first platform account logs in the target application program for the last time according to the virtual card issuing request, and the time difference between the current time and the login time is used as the service time of the first platform account logging in the target application program;
optionally, the game server includes a card server and a time server, the card server receives a virtual card issuing request sent by a first platform account, and obtains a login time at which the first platform account logs in the target application program recently from the time server according to the virtual card issuing request, and the card server determines the login time of the first platform account according to the login time and the current time.
Optionally, the login time is recorded by the server when the first platform account logs in the target application program, optionally, when the terminal logs in the target application program through the first platform account, a login request is sent to the server, the login request is used for requesting to log in the target application program through the first platform account, the server records the login time when the first platform account logs in the target application program according to the login request, and the server determines the use duration of the target application program for the first platform account to use according to the login time and the time when the virtual card acquisition request is received, optionally, the server feeds back a login success message to the terminal, and the terminal receives the login success message fed back by the server and logs in the target application program according to the login success message.
Optionally, after determining the starting time of the target application program, the terminal sends the starting time to the server, and when the server receives a virtual card obtaining request, the server calculates the use duration according to the starting time and the current time; or the terminal determines the starting time of starting the target application program, sends the starting time to the server, determines the quitting time of the target application program, sends the quitting time to the server, and calculates the service time according to the starting time and the quitting time when the server receives the virtual card obtaining request; or the terminal determines the login time when the target application program is logged in, sends the login time to the server, and calculates the use duration according to the login time and the current time when the server receives the virtual card obtaining request; or the terminal determines the login time of the login target application program, sends the login time to the server, determines the logout time of the login target application program, sends the logout time to the server, and calculates the use duration according to the login time and the logout time when the server receives the virtual card obtaining request; or, when the terminal starts the target application program each time, the starting time and the quitting time are sent to the server, the server determines the starting time length of each time according to the starting time and the quitting time for multiple times, and the starting time lengths of n times are accumulated to obtain the use time length; or the terminal sends the login time and the logout time to the server every time when logging in the target application program, the server determines the login time length of each time according to the login time and the logout time of multiple times, and the login time lengths of n times are accumulated to obtain the use time length.
Second, the virtual card issuance request includes a usage duration of the first platform account using the target application.
Optionally, the terminal determines the starting time of starting the target application program, determines the use duration of the first platform account for using the target application program according to the current time and the starting time, and optionally sends a virtual card acquisition request to the server every preset time duration; or, the terminal determines the login time of the login target application program, and determines the use duration of the first platform account for using the target application program according to the current time and the login time, and optionally, the terminal sends a virtual card acquisition request to the server every preset time duration; or, the terminal determines the starting time of starting the target application program, determines the quitting time of quitting the target application program, and determines the use duration of the first platform account for using the target application program according to the starting time and the quitting time, optionally, when the target application program quits, the terminal sends a virtual card acquisition request to the server; or the terminal determines the login time of logging in the target application program and the login time of logging out the target application program, determines the use duration of the first platform account for using the target application program according to the login time and the login time, and optionally, when the target application program exits, the terminal sends a virtual card acquisition request to the server.
Optionally, the server directly obtains the usage duration from the virtual card issuance request when receiving the virtual card issuance request.
Optionally, the start duration is used to indicate a duration for the first platform account to open the target application, and the login duration is used to indicate a duration for the first platform account to open the target application and keep in an online state. Optionally, when the target application is implemented as a game application, the game application may be a stand-alone game, an online game, or an online game, which is not limited in this embodiment of the present application.
Optionally, when the usage duration represents a duration for opening the target application program for the first platform account through the start duration, the target application program may be accessed with the SDK or may not be accessed with the SDK; when the use duration is represented as the duration for opening the target application program and keeping the online state of the first platform account through the login duration, the target application program is accessed with the SDK, and a virtual card issuing request is sent to the server every other preset duration to represent that the first platform account is still in the online state in the target application program. And 703, when the use duration reaches the required duration, selecting a target virtual card from the first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account.
Optionally, the target application corresponds to a first virtual card set, the first virtual card set includes virtual cards that can be obtained from the first platform account, and optionally, the first virtual card set includes a part of virtual cards in a total virtual card set corresponding to the target application, and the part of virtual cards are virtual cards that can be dealt to the first platform account according to the usage duration of the first platform account.
Optionally, the target virtual cards are virtual cards randomly selected from the first set of virtual cards, or the target virtual cards are virtual cards sequentially selected from the first set of virtual cards according to a virtual card arrangement order.
Optionally, the first virtual card set corresponding to the target application includes at least two virtual card subsets corresponding to the required duration ranges, when the virtual cards are dealt to the first platform account according to the usage duration, first determining the target required duration range corresponding to the usage duration, determining the target virtual card subset corresponding to the target required duration range, and selecting the target virtual cards from the target virtual card subset to deal to the first platform account.
Illustratively, the first virtual card set includes a first virtual card subset, a second virtual card subset, and a third virtual card subset, where a required duration range corresponding to the first virtual card subset is 30 minutes to 45 minutes, a required duration range corresponding to the second virtual card subset is 45 minutes to 60 minutes, a required duration range corresponding to the third virtual card subset is greater than 60 minutes, and when a usage duration of the first platform account is 47 minutes, a target virtual card is selected from the second virtual card subset and is dealt to the first platform account.
Optionally, a random algorithm is used to obtain a target card from the target virtual card subset and issue the target card to the first platform account.
Optionally, in the virtual card subset corresponding to the at least two required time length ranges, the rarity level of the virtual cards in the virtual card subset is in a positive correlation with the time length corresponding to the required time length range, and illustratively, the required time length range corresponding to the first virtual card subset is 30 minutes to 45 minutes, the required time length range corresponding to the second virtual card subset is 45 minutes to 60 minutes, and the required time length range corresponding to the third virtual card subset is greater than 60 minutes, then the virtual cards in the first virtual card subset are the virtual cards with N rarity, the virtual cards in the second virtual card subset are the virtual cards with R rarity, and the virtual cards in the third virtual card subset are the virtual cards with SR rarity.
In summary, according to the method for issuing virtual cards provided in this embodiment, when a virtual card issuing request sent by a first platform account is received, the duration of use of a target application program for the first platform account is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the duration of use reaches a required duration, so that even if the first platform account does not participate in a game node in the target application program, the virtual card can be acquired for a certain duration by using the target application program, thereby avoiding waste of server resources of a card server, and improving the activity of a virtual card collecting event.
In an alternative embodiment, before the first platform account receives the dealt virtual cards, it is further determined that the first platform account conforms to the virtual card obtaining requirement, fig. 10 is a flowchart of a method for dealing the virtual cards according to another exemplary embodiment of the present application, which is described by taking as an example the method applied to the game server shown in fig. 6, as shown in fig. 10, the method includes:
step 1001, receiving a virtual card issuance request sent by a first platform account, where the first platform account is an account registered in an application platform, a target application program is provided in the application platform, and the virtual card issuance request is a request sent when the first platform account logs in the target application program.
Optionally, the sending manner of the virtual card dealing request includes at least one of the following manners:
firstly, the virtual card issuing request is a request sent by a first platform account at intervals of preset time;
second, the virtual card issuance request is a request sent when the first platform account exits the target application.
Step 1002, obtaining the usage duration of the first platform account using the target application program according to the virtual card issuing request.
Optionally, the usage duration is used to indicate a total duration from a login time of the first platform account to a current time when the first platform account last logged in the target application; or, the usage duration is used for representing the total duration from the last login time of the first platform account for logging in the target application program to the login time of logging out the target application program; or, the use duration is used for representing the total duration from the starting time of the last starting of the target application program to the current time; or, the use duration is used for representing the total duration from the latest starting time of the target application program to the quitting time; or, the use duration is used for representing the sum of the latest n starting durations of the target application program; or, the usage duration is used to represent the sum of the durations of the last n times of login of the first platform account to the target application.
Step 1003, when the usage duration reaches the required duration and the first platform account number meets the virtual card acquisition requirement, selecting a target virtual card from a first virtual card set corresponding to the target application program and issuing the target virtual card to the first platform account number.
Optionally, the virtual card acquisition requirement includes at least one of:
firstly, the number of the virtual cards acquired by the first platform account in the target time period does not reach a number limit value, namely when the number of the virtual cards acquired by the first platform account in the target time period does not reach the number limit value, the first platform account is determined to meet the virtual card acquisition requirement;
illustratively, the target time period is described by dividing a date into examples, and when the number of the virtual cards acquired by the first platform account in the date of the current time does not reach the limit value of the number, it is determined that the first platform account meets the requirement of acquiring the virtual cards. Such as: the current time is 2019, 10, 14, 17: 58, then when the first platform account number expires 17 at 10/14/2019: and 58, when the number of the virtual cards acquired till 58 does not reach the limit value of the number, determining that the first platform account number meets the acquisition requirement of the virtual cards.
Secondly, the total number of the virtual cards owned by the first platform account does not reach the limit value of the number, that is, when the total number of the virtual cards owned by the first platform account does not reach the limit value of the number, the first platform account is determined to meet the requirement of obtaining the virtual cards.
In summary, according to the method for issuing virtual cards provided in this embodiment, when a virtual card issuing request sent by a first platform account is received, the duration of use of a target application program for the first platform account is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the duration of use reaches a required duration, so that even if the first platform account does not participate in a game node in the target application program, the virtual card can be acquired for a certain duration by using the target application program, thereby avoiding waste of server resources of a card server, and improving the activity of a virtual card collecting event.
In the method provided by this embodiment, whether the first platform account number meets the virtual card acquisition condition is verified, and when the first platform account number meets the virtual card acquisition condition, the virtual card is dealt to the first platform account number, so that the frequency of dealing the virtual card is controlled not to cause the number of the virtual card circulating in the market to be too large.
In an alternative embodiment, the virtual cards are used for redeeming target items, and fig. 11 is a flowchart of a method for dealing virtual cards according to another exemplary embodiment of the present application, which is described by taking as an example the method applied to the game server shown in fig. 6, and as shown in fig. 11, the method includes:
Optionally, the target item identifies a target item for indicating that the second platform account requests redemption through the virtual card combination, optionally, the target item includes at least one of an experience value, a game item, an additional download resource, a coupon, a specified game download right, a profile update right, and a specified emoticon.
Optionally, the request cards included in the virtual card combination further correspond to a request quantity, such as: this virtual card tablet combination is including requiring card tablet 1, requiring card tablet 2, requiring card tablet 3 and requiring card tablet 4, wherein, the requirement quantity that requires card tablet 1 to correspond is 1, the requirement quantity that requires card tablet 2 to correspond is 2, the requirement quantity that requires card tablet 3 to correspond is 2, the requirement quantity that requires card tablet 4 to correspond is 1, then actually contain 6 virtual card tablets in this virtual card tablet combination, when this 6 requirement card tablets of second platform account number set, can exchange target article.
Optionally, the game server stores a virtual card owned by each account, optionally, the virtual card redemption request includes an account identifier of the second platform account, and a second virtual card set owned by the second platform account is obtained according to the account identifier.
And 1104, when the second virtual card set comprises each card requiring in the virtual card combination, deleting the card requiring in the virtual card combination from the second virtual card set, and sending the target item to the second platform account.
Optionally, when the required cards in the second virtual card set are deleted, the required cards of the corresponding number are deleted from the second virtual card set according to the required number of each required card.
In summary, according to the method for issuing virtual cards provided in this embodiment, when a virtual card issuing request sent by a first platform account is received, the duration of use of a target application program for the first platform account is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the duration of use reaches a required duration, so that even if the first platform account does not participate in a game node in the target application program, the virtual card can be acquired for a certain duration by using the target application program, thereby avoiding waste of server resources of a card server, and improving the activity of a virtual card collecting event.
Schematically, fig. 12 shows a schematic diagram of an item redemption process provided by an exemplary embodiment of the present application, as shown in fig. 12, the process includes: in step 1201, the player obtains a virtual card. At step 1202, the player collects a particular virtual card combination. At step 1203, the player redeems the bonus items on the associated page. At step 1204, the virtual card is marked and the bonus item cannot be redeemed a second time. That is, the virtual cards in the particular virtual card combination are marked to indicate that the virtual cards in the particular virtual card combination have been used to redeem the reward item.
Fig. 13 is a flowchart of a method for acquiring a virtual card according to an exemplary embodiment of the present application, which is described by taking as an example that the method is applied to a terminal shown in fig. 6, and as shown in fig. 13, the method includes:
Optionally, the target application is provided with a virtual card collection function.
Optionally, the dealing of the virtual card includes at least one of:
first, when the target application program is purchased, a virtual card is presented to the player;
referring to fig. 14, schematically, when a target account logs in the target application for the first time, a virtual card issuance give interface 1400 is displayed, and the virtual card issuance give interface 1400 includes a virtual card 1401, a virtual card 1402 and a virtual card 1403 which are given to the target account.
Secondly, obtaining virtual cards in the game;
optionally, the corresponding virtual cards are obtained when the target account completes the game node, or the virtual cards which are issued when the usage duration of the target account logging in the target application program reaches the required duration.
Illustratively, referring to FIG. 15, when the usage time of the target account registered with the target application reaches 30 minutes, a virtual card dealing message 1510 is displayed, and the virtual card dealing message 1510 is used to prompt the target account to acquire the dealt virtual card.
Third, virtual cards are obtained upon exiting the game.
Optionally, when the target account quits logging in the target application program and the usage time of the target account logging in the target application program reaches the required time, issuing a virtual card to the target account.
Illustratively, referring to fig. 16, when the target account exits from the login target application, a management area 1610 for managing the target application is displayed in the application management interface 1600, and a virtual card dealing message 1620 is displayed in the management area, wherein the virtual card dealing message 1620 is used for prompting the target account to acquire the dealt virtual card.
Optionally, the virtual card acquisition request may be sent to the server at preset intervals during the running process of the target application program, or may be sent to the server when the first platform account exits from logging in the target application program.
Optionally, when the virtual card acquisition request is sent to the server every preset time length in the running process of the target application program, the target application program is accessed with the SDK; when the virtual card acquisition request is sent to the server when the first platform account exits from the login target application program, the target application program may or may not have access to the SDK.
Optionally, the virtual card acquisition request is used for instructing the server to determine a use duration of the first platform account for the target application program, and when the use duration meets a required duration, issuing a card to the first platform account; or, the virtual card acquisition request comprises the use duration of the first platform account using the target application program, the server acquires the use duration from the virtual card acquisition request, and when the use duration meets the required use duration, the server distributes the card to the first platform account.
Optionally, when the virtual card acquisition request includes a usage duration, the terminal further needs to determine the usage duration before sending the virtual card acquisition request to the server, and the determination manner includes any one of the following manners:
firstly, the terminal determines the starting time of starting the target application program and determines the use duration of the target application program used by the first platform account according to the current time and the starting time; optionally, the terminal sends a virtual card acquisition request to the server every other preset time interval in the running process of the target application program;
secondly, the terminal determines the login time of logging in the target application program and determines the use duration of the first platform account for using the target application program according to the current time and the login time; optionally, the terminal sends a virtual card acquisition request to the server every other preset time interval in the running process of the target application program;
thirdly, the terminal determines the starting time of starting the target application program, determines the quitting time of quitting the target application program, and determines the use duration of the first platform account for using the target application program according to the starting time and the quitting time; optionally, when the target application program quits, the terminal sends the virtual card acquisition request to the server;
fourthly, the terminal determines the login time when the target application program is logged in, determines the login time when the target application program is logged out, and determines the use duration of the target application program used by the first platform account according to the login time and the login time; alternatively, when the target application exits, the terminal sends the virtual card acquisition request to the server.
And step 1303, receiving a virtual card issuing message sent by the server, wherein the virtual card issuing message is a message sent by the server and used for indicating that the target virtual card is issued when the use duration of the first platform account in the target application program reaches the required duration.
Optionally, the virtual card issuance request includes a use duration of the first platform account using the target application program, that is, before the virtual card acquisition request is sent, the terminal determines the use duration of the first platform account using the target application program, generates the virtual card acquisition request according to the use duration, and sends the virtual card acquisition request to the server.
Optionally, the server records a login time when the first platform account logs in the target application program, that is, when the terminal logs in the target application program through the first platform account, a login request is sent to the server, where the login request is used to request to log in the target application program with the first platform account, the server is further used to record the login time when the first platform account logs in the target application program according to the login request, and the server is further used to determine, according to the login time and the time when the virtual card acquisition request is received, a usage duration of the first platform account using the target application program. Optionally, after receiving the login request, the server feeds back a login success message to the terminal according to the login request, and the terminal receives the login success message fed back by the server and logs in the target application program according to the login success message.
Optionally, the server records a start time from the start of the first platform account to the start of the target application, that is, when the terminal is started to the target application through the first platform account, a start request is sent to the server, where the start request is used to request the start of the target application with the first platform account, the server is further used to record a start time from the start of the first platform account to the start of the target application according to the start request, and the server is further used to determine a usage duration of the target application used by the first platform account according to the start time and a time when the virtual card acquisition request is received.
Alternatively, the process of the server issuing the virtual card to the first platform account refers to the embodiments shown in fig. 7, 10 and 11 above.
Optionally, the target virtual card may also be used for display and trading, where the target virtual card may be displayed in a virtual card display case, community dynamics, virtual card signature, and platform backpack. Referring to fig. 17, after the player obtains the virtual card, the player performs a virtual card display through at least one of the virtual card display cabinet 1710, the community dynamic 1720, the virtual card graph 1730, and the platform backpack 1740.
Illustratively, in a virtual card transaction process, please refer to fig. 18, the process includes: at step 1801, the player obtains a virtual card. At step 1802, the player shelves the virtual card to a trading market. At step 1803, other players purchase virtual cards. At step 1804, the player advances the transaction.
Fig. 19 is a block diagram illustrating a configuration of an apparatus for dealing virtual cards according to an exemplary embodiment of the present application, where, as shown in fig. 19, the apparatus includes: a receiving module 1910, an obtaining module 1920, and a processing module 1930;
a receiving module 1910, configured to receive a virtual card issuing request sent by a first platform account, where the first platform account is an account registered in an application platform, a target application is provided in the application platform, the application platform provides a virtual card collecting function, and the virtual card issuing request is a request sent when the first platform account logs in the target application;
an obtaining module 1920, configured to obtain, according to the virtual card issuing request, a usage duration of the first platform account using the target application program;
and the processing module 1930 is configured to, when the duration of use reaches the required duration, select a target virtual card from the first virtual card set corresponding to the target application program and issue the target virtual card to the first platform account.
In an optional embodiment, the first virtual card set corresponding to the target application includes at least two virtual card subsets corresponding to the required duration ranges;
the processing module 1930 is further configured to determine a target required duration range corresponding to the usage duration; determining a target virtual card subset corresponding to the target required duration range; and selecting the target virtual card from the target virtual card subset and distributing the target virtual card to a first platform account.
In an optional embodiment, in the virtual card subset corresponding to the at least two required time length ranges, rarity levels of the virtual cards in the virtual card subset are in a positive correlation with the time length corresponding to the required time length range.
In an optional embodiment, the processing module 1930 is further configured to randomly acquire the target virtual card from the target virtual card subset and issue the target virtual card to the first platform account by using a random algorithm.
In an optional embodiment, the processing module 1930 is further configured to select the target virtual card from the first virtual card set corresponding to the target application program and issue the target virtual card to the first platform account when the duration of use reaches the required duration and the first platform account meets the virtual card acquisition requirement.
In an alternative embodiment, as shown in fig. 20, the apparatus further comprises:
a determining module 1940, configured to determine that the first platform account number meets the virtual card obtaining requirement when the number of the virtual cards obtained by the first platform account number in the target time period does not reach a number limit.
In an optional embodiment, the virtual card issuing request is a request sent by the first platform account at intervals of a preset time length;
or the like, or, alternatively,
the virtual card issuing request is a request sent when the first platform account quits the target application program.
In an optional embodiment, the receiving module 1910 is further configured to receive a virtual card redemption request sent by a second platform account, where the virtual card redemption request includes a target item identifier, and the target item identifier is used to indicate a target item for which the second platform account request is redeemed through a virtual card combination;
the device, still include:
a determining module 1940, configured to determine, according to the virtual card redemption request, required cards included in the virtual card combination corresponding to the target item;
the obtaining module 1920 is further configured to obtain a second virtual card set owned by the second platform account;
the processing module 1930 is further configured to, when each required card in the virtual card combination is included in the second virtual card set, delete the required card included in the virtual card combination from the second virtual card set, and send the target item to the second platform account.
In an alternative embodiment, the requirement cards included in the virtual card combination correspond to a required number;
the processing module 1930 further configured to delete the corresponding number of the required cards from the second set of virtual cards according to the required number.
In an alternative embodiment, the target application is provided with a virtual card collection function;
or the like, or, alternatively,
the application platform is provided with the virtual card collection function.
It should be noted that: the virtual card issuing device provided in the above embodiment is only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the virtual card issuing device provided in the above embodiment and the virtual card issuing method embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment and are not described herein again.
Fig. 21 is a block diagram illustrating a configuration of an apparatus for acquiring a virtual card according to an exemplary embodiment of the present application, where the apparatus includes: a login module 2110, a sending module 2120, a receiving module 2130 and a display module 2140;
a login module 2110, configured to log in a target application program through a first platform account, where the first platform account is an account registered in an application platform, and the application platform is provided with the target application program;
a sending module 2120, configured to send a virtual card acquisition request to a server, where the virtual card acquisition request includes an identifier of the first platform account and an identifier of the target application program;
a receiving module 2130, configured to receive a virtual card issuing message sent by the server, where the virtual card issuing message is a message sent by the server to indicate that a target virtual card is issued when a usage duration of the first platform account using the target application reaches a required duration, and the target virtual card is at least one virtual card extracted from a set of virtual cards;
the display module 2140 is further configured to display a virtual card dealing interface according to the virtual card dealing message, where the virtual card dealing interface includes the target virtual card.
In an optional embodiment, the usage duration of the first platform account using the target application is further included in the virtual card acquisition request.
In an alternative embodiment, as shown in fig. 22, the apparatus further comprises:
a determining module 2150, configured to determine a start time when the target application is started; and determining the use duration of the first platform account for using the target application program according to the current time and the starting time.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a login time when the target application program is logged in; and determining the use duration of the first platform account for using the target application program according to the current time and the login time.
In an optional embodiment, the sending module 2120 is further configured to send the virtual card obtaining request to the server every preset time interval in an operation process of the target application program.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a start time when the target application is started; determining an exit time when the target application program exits; and determining the use duration of the first platform account for using the target application program according to the starting time and the quitting time.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a login time when the target application program is logged in; determining a logout time when the target application program is logged out; and determining the use duration of the first platform account for using the target application program according to the login time and the logout time.
In an optional embodiment, the sending module 2120 is further configured to send the virtual card obtaining request to the server when the target application quits.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a start time when the target application is started;
the sending module 2120 is further configured to send the starting time to the server, so that the server calculates the use duration according to the starting time and the current time when receiving the virtual card obtaining request.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a start time when the target application is started, and send the start time to the server; and determining the quitting time when the target application program quits, and sending the quitting time to the server, so that the server calculates the service time according to the starting time and the quitting time when receiving the virtual card obtaining request.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a login time when the target application program is logged in;
the sending module 2120 is further configured to send the login time to the server, so that the server calculates the usage duration according to the login time and the current time when receiving the virtual card obtaining request.
In an optional embodiment, the apparatus further comprises:
a determining module 2150, configured to determine a login time when the target application program is logged in, and send the login time to the server; and determining the login time when the target application program is logged out, and sending the login time to the server, so that the server calculates the service time according to the login time and the login time when receiving the virtual card obtaining request.
In summary, according to the virtual card issuing device or the virtual card acquiring device provided in this embodiment, when a virtual card issuing request for issuing a first platform account is received, the usage duration of the first platform account using the target application is verified according to the virtual card issuing request, and a virtual card is issued to the first platform account when the usage duration reaches the required duration.
It should be noted that: the apparatus for acquiring a virtual card provided in the above embodiment is only illustrated by dividing the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the virtual card obtaining device and the virtual card obtaining method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 23 is a schematic structural diagram of a server according to an exemplary embodiment of the present application.
The server 2300 includes a Central Processing Unit (CPU) 2301, a system Memory 2304 including a Random Access Memory (RAM) 2302 and a Read Only Memory (ROM) 2303, and a system bus 2305 connecting the system Memory 2304 and the Central Processing Unit 2301. The server 2300 also includes a basic Input/Output System (I/O System)2306 that helps to transfer information between devices within the computer, and a mass storage device 2307 that stores an operating System 2313, application programs 2314, and other program modules 2315.
The basic input/output system 2306 includes a display 2308 for displaying information and an input device 2309 such as a mouse, keyboard, etc. for user input of information. Wherein a display 2308 and an input device 2309 are connected to the central processing unit 2301 through an input-output controller 2310 connected to the system bus 2305. The basic input/output system 2306 may also include an input/output controller 2310 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 2310 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 2307 is connected to the central processing unit 2301 through a mass storage controller (not shown) connected to the system bus 2305. The mass storage device 2307 and its associated computer-readable media provide non-volatile storage for the server 2300. That is, mass storage device 2307 may include a computer-readable medium (not shown) such as a hard disk or Compact Disc Read Only Memory (CD-ROM) drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 2304 and mass storage device 2307 described above may be collectively referred to as memory.
The server 2300 may also operate with remote computers connected to a network through a network, such as the internet, according to various embodiments of the present application. That is, the server 2300 may be connected to the network 2312 through the network interface unit 2311 that is coupled to the system bus 2305, or the network interface unit 2311 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.
Fig. 24 is a block diagram illustrating a structure of a terminal 2400 according to an exemplary embodiment of the present invention. The terminal 2400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio layer iii, motion video Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts Group Audio layer IV, motion video Experts compression standard Audio layer 4), a notebook computer, or a desktop computer. Terminal 2400 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 2400 includes: a processor 2401 and a memory 2402.
In some embodiments, the terminal 2400 may further optionally include: a peripheral interface 2403 and at least one peripheral. The processor 2401, memory 2402 and peripheral interface 2403 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 2403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2404, a touch display screen 2405, a camera 2406, an audio circuit 2407, a positioning component 2408 and a power supply 2409.
The peripheral interface 2403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 2401 and the memory 2402. In some embodiments, processor 2401, memory 2402, and peripheral interface 2403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of processor 2401, memory 2402 and peripherals interface 2403 can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 2404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 2404 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2404 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 2404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 2404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 2404 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 2405 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 2405 is a touch display screen, the display screen 2405 also has the ability to capture touch signals on or over the surface of the display screen 2405. The touch signal may be input to the processor 2401 as a control signal for processing. At this point, the display 2405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 2405 may be one, providing a front panel of the terminal 2400; in other embodiments, the number of the display screens 2405 can be at least two, and each display screen is disposed on a different surface of the terminal 2400 or is in a foldable design; in still other embodiments, display 2405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 2400. Even further, the display 2405 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 2405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 2406 is used to capture images or video. Optionally, camera assembly 2406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 2406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The positioning component 2408 is utilized to locate a current geographic location of the terminal 2400 to implement navigation or LBS (location based Service). The positioning component 2408 may be based on a positioning component of a GPS (global positioning System) in the united states, a beidou System in china, or a galileo System in russia.
In some embodiments, terminal 2400 also includes one or more sensors 2410. The one or more sensors 2410 include, but are not limited to: acceleration sensor 2411, gyro sensor 2412, pressure sensor 2413, fingerprint sensor 2414, optical sensor 2415, and proximity sensor 2416.
The acceleration sensor 2411 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 2400. For example, the acceleration sensor 2411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 2401 may control the touch display screen 2405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2411. The acceleration sensor 2411 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 2412 may detect a body direction and a rotation angle of the terminal 2400, and the gyroscope sensor 2412 may cooperate with the acceleration sensor 2411 to acquire a 3D motion of the user on the terminal 2400. The processor 2401 may implement the following functions according to the data collected by the gyroscope sensor 2412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 2413 may be disposed on the side frames of terminal 2400 and/or on the underlying layers of touch display 2405. When the pressure sensor 2413 is disposed on the side frame of the terminal 2400, a user holding signal of the terminal 2400 may be detected, and the processor 2401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 2413. When the pressure sensor 2413 is arranged at the lower layer of the touch display screen 2405, the processor 2401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 2405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 2414 is used for collecting the fingerprint of the user, and the processor 2401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 2414, or the fingerprint sensor 2414 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 2401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 2414 may be disposed on the front, back, or side of the terminal 2400. When a physical key or vendor Logo is provided on the terminal 2400, the fingerprint sensor 2414 may be integrated with the physical key or vendor Logo.
The optical sensor 2415 is used to collect the ambient light intensity. In one embodiment, the processor 2401 may control the display brightness of the touch display screen 2405 according to the ambient light intensity collected by the optical sensor 2415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2405 is turned down. In another embodiment, the processor 2401 may also dynamically adjust the shooting parameters of the camera head assembly 2406 according to the intensity of the ambient light collected by the optical sensor 2415.
A proximity sensor 2416, also known as a distance sensor, is typically provided on the front panel of the terminal 2400. The proximity sensor 2416 is used to collect the distance between the user and the front surface of the terminal 2400. In one embodiment, the processor 2401 controls the touch display 2405 to switch from a bright screen state to a dark screen state when the proximity sensor 2416 detects that the distance between the user and the front face of the terminal 2400 is gradually decreased; when the proximity sensor 2416 detects that the distance between the user and the front surface of the terminal 2400 becomes gradually larger, the processor 2401 controls the touch display screen 2405 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 24 is not intended to be limiting and that terminal 2400 may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The embodiment of the present application further provides a computer device, where the computer device includes a processor and a memory, where the memory stores at least one instruction, at least one program, code set, or instruction set, and the at least one instruction, the at least one program, code set, or instruction set is loaded and executed by the processor to implement the virtual card issuing method or the virtual card acquiring method provided in the foregoing method embodiments.
Embodiments of the present application further provide a computer-readable storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored on the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the virtual card issuing method or the virtual card acquiring method provided by the foregoing method embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (23)
1. A method of obtaining a virtual card, the method comprising:
logging in a target application program through a first platform account, wherein the first platform account is an account registered in an application platform, and the target application program is provided in the application platform;
sending a virtual card acquisition request to a server, wherein the virtual card acquisition request comprises the identifier of the first platform account and the identifier of the target application program;
receiving a virtual card dealing message sent by the server, wherein the virtual card dealing message is a message which is sent by the server and used for showing that a target virtual card is dealt when the use duration of the first platform account using the target application program reaches a required duration, and the target virtual card is at least one virtual card extracted from a virtual card set;
and displaying a virtual card issuing interface according to the virtual card issuing message, wherein the virtual card issuing interface comprises the target virtual card.
2. The method of claim 1, wherein the usage duration for the first platform account to use the target application is further included in the virtual card acquisition request.
3. The method of claim 2, wherein prior to sending the virtual card acquisition request to the server, further comprising:
determining a starting time when the target application program is started;
and determining the use duration of the first platform account for using the target application program according to the current time and the starting time.
4. The method of claim 2, wherein prior to sending the virtual card acquisition request to the server, further comprising:
determining login time when the target application program is logged in;
and determining the use duration of the first platform account for using the target application program according to the current time and the login time.
5. The method of claims 2 to 4, wherein sending a virtual card acquisition request to a server comprises:
and in the running process of the target application program, sending the virtual card acquisition request to the server every preset time.
6. The method of claim 2, wherein prior to sending the virtual card acquisition request to the server, further comprising:
determining a starting time when the target application program is started;
determining an exit time when the target application program exits;
and determining the use duration of the first platform account for using the target application program according to the starting time and the quitting time.
7. The method of claim 2, wherein prior to sending the virtual card acquisition request to the server, further comprising:
determining login time when the target application program is logged in;
determining a logout time when the target application program is logged out;
and determining the use duration of the first platform account for using the target application program according to the login time and the logout time.
8. The method of claim 2, 6 or 7, wherein sending a virtual card acquisition request to a server comprises:
and when the target application program quits, sending the virtual card acquisition request to the server.
9. The method of claim 1, further comprising:
determining a starting time when the target application program is started;
and sending the starting time to the server, so that the server calculates the service time according to the starting time and the current time when receiving the virtual card obtaining request.
10. The method of claim 1, further comprising:
determining starting time when the target application program is started, and sending the starting time to the server;
and determining the quitting time when the target application program quits, and sending the quitting time to the server, so that the server calculates the service time according to the starting time and the quitting time when receiving the virtual card obtaining request.
11. The method of claim 1, further comprising:
determining login time when the target application program is logged in;
and sending the login time to the server, so that the server calculates the service life according to the login time and the current time when receiving the virtual card obtaining request.
12. The method of claim 1, further comprising:
determining login time when the target application program is logged in, and sending the login time to the server;
and determining the login time when the target application program is logged out, and sending the login time to the server, so that the server calculates the service time according to the login time and the login time when receiving the virtual card obtaining request.
13. A method of issuing virtual cards, the method comprising:
receiving a virtual card issuing request sent by a first platform account, wherein the first platform account is an account registered in an application platform, a target application program is provided in the application platform, and the virtual card issuing request is a request sent when the first platform account logs in the target application program;
acquiring the use duration of the first platform account for using the target application program according to the virtual card issuing request;
and when the service life reaches the required service life, selecting a target virtual card from a first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account.
14. The method of claim 13, wherein the first set of virtual cards corresponding to the target application includes at least two subsets of virtual cards corresponding to a desired range of durations;
when the service life reaches the required service life, selecting a target virtual card from a first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account number, including:
determining a target required duration range corresponding to the use duration;
determining a target virtual card subset corresponding to the target required duration range;
and selecting the target virtual card from the target virtual card subset to be released to the first platform account.
15. The method of claim 14,
in the virtual card subset corresponding to the at least two required time length ranges, the rarity level of the virtual card in the virtual card subset is in positive correlation with the time length corresponding to the required time length range.
16. The method of claim 14, wherein said selecting said target virtual card from said target virtual card subset for dealing to said first platform account number comprises:
and randomly acquiring the target virtual cards from the target virtual card subset by adopting a random algorithm and distributing the target virtual cards to the first platform account.
17. The method of any of claims 13 to 16, wherein said selecting a target virtual card from a first set of virtual cards corresponding to said target application for dealing to said first platform account when said usage duration reaches a desired duration comprises:
and when the service duration reaches the required duration and the first platform account number meets the virtual card acquisition requirement, selecting the target virtual card from the first virtual card set corresponding to the target application program and issuing the target virtual card to the first platform account number.
18. The method of claim 17, further comprising:
and when the number of the virtual cards acquired by the first platform account in the target time period does not reach a number limit value, determining that the first platform account meets the virtual card acquisition requirement.
19. The method of any of claims 13 to 16, further comprising:
receiving a virtual card exchange request sent by a second platform account, wherein the virtual card exchange request comprises a target article identifier, and the target article identifier is used for representing a target article which is exchanged by the second platform account request through a virtual card combination;
determining required cards contained in the virtual card combination corresponding to the target item according to the virtual card exchange request;
acquiring a second virtual card set owned by the second platform account;
when each required card in the virtual card combination is contained in the second virtual card set, deleting the required card contained in the virtual card combination from the second virtual card set, and sending the target item to the second platform account.
20. An apparatus for obtaining a virtual card, the apparatus comprising:
the system comprises a login module, a storage module and a display module, wherein the login module is used for logging in a target application program through a first platform account, the first platform account is an account registered in an application platform, and the target application program is provided in the application platform;
the sending module is used for sending a virtual card acquisition request to a server, wherein the virtual card acquisition request comprises the identifier of the first platform account and the identifier of the target application program;
a receiving module, configured to receive a virtual card issuing message sent by the server, where the virtual card issuing message is a message sent by the server to indicate that a target virtual card is issued when a usage duration of the first platform account using the target application reaches a required duration, and the target virtual card is at least one virtual card extracted from a virtual card set;
the display module is further configured to display a virtual card issuing interface according to the virtual card issuing message, where the virtual card issuing interface includes the target virtual card.
21. An apparatus for dispensing virtual cards, the apparatus comprising:
the card issuing system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a virtual card issuing request sent by a first platform account, the first platform account is an account registered in an application platform, a target application program is provided in the application platform, the application platform is provided with a virtual card collecting function, and the virtual card issuing request is a request sent when the first platform account logs in the target application program;
the acquisition module is used for acquiring the use duration of the first platform account for using the target application program according to the virtual card issuing request;
and the processing module is used for selecting a target virtual card from the first virtual card set corresponding to the target application program and distributing the target virtual card to the first platform account when the service life reaches the required service life.
22. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of acquiring a virtual card of any of claims 1 to 12 or the method of dealing a virtual card of any of claims 13 to 19.
23. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored, loaded and executed by a processor to implement the method of acquiring a virtual card according to any one of claims 1 to 12 or the method of dealing a virtual card according to any one of claims 13 to 19.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911077774.3A CN110806864B (en) | 2019-11-06 | 2019-11-06 | Virtual card obtaining and issuing method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911077774.3A CN110806864B (en) | 2019-11-06 | 2019-11-06 | Virtual card obtaining and issuing method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110806864A true CN110806864A (en) | 2020-02-18 |
CN110806864B CN110806864B (en) | 2021-04-02 |
Family
ID=69502081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911077774.3A Active CN110806864B (en) | 2019-11-06 | 2019-11-06 | Virtual card obtaining and issuing method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110806864B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590013A (en) * | 2021-07-13 | 2021-11-02 | 网易(杭州)网络有限公司 | Virtual resource processing method, nonvolatile storage medium, and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110250941A1 (en) * | 2010-04-12 | 2011-10-13 | Astro Corporation | Gaming method for playing a card game, and gaming apparatus for performing the same |
CN104519124A (en) * | 2014-11-27 | 2015-04-15 | 广州华多网络科技有限公司 | Allocation method and device of virtual resources |
CN104751350A (en) * | 2015-03-12 | 2015-07-01 | 广东欧珀移动通信有限公司 | Information display method and terminal |
CN106302122A (en) * | 2016-08-16 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Virtual objects management method and device |
CN108011938A (en) * | 2017-11-29 | 2018-05-08 | 北京奇虎科技有限公司 | The processing method and server of a kind of user data |
CN109246228A (en) * | 2018-09-27 | 2019-01-18 | 广州酷狗计算机科技有限公司 | Resource acquisition, resource allocation methods, device, equipment and storage medium |
-
2019
- 2019-11-06 CN CN201911077774.3A patent/CN110806864B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110250941A1 (en) * | 2010-04-12 | 2011-10-13 | Astro Corporation | Gaming method for playing a card game, and gaming apparatus for performing the same |
CN104519124A (en) * | 2014-11-27 | 2015-04-15 | 广州华多网络科技有限公司 | Allocation method and device of virtual resources |
CN104751350A (en) * | 2015-03-12 | 2015-07-01 | 广东欧珀移动通信有限公司 | Information display method and terminal |
CN106302122A (en) * | 2016-08-16 | 2017-01-04 | 腾讯科技(深圳)有限公司 | Virtual objects management method and device |
CN108011938A (en) * | 2017-11-29 | 2018-05-08 | 北京奇虎科技有限公司 | The processing method and server of a kind of user data |
CN109246228A (en) * | 2018-09-27 | 2019-01-18 | 广州酷狗计算机科技有限公司 | Resource acquisition, resource allocation methods, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590013A (en) * | 2021-07-13 | 2021-11-02 | 网易(杭州)网络有限公司 | Virtual resource processing method, nonvolatile storage medium, and electronic device |
CN113590013B (en) * | 2021-07-13 | 2023-08-25 | 网易(杭州)网络有限公司 | Virtual resource processing method, nonvolatile storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN110806864B (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110585726B (en) | User recall method, device, server and computer readable storage medium | |
CN108830572B (en) | Resource transfer method, device, storage medium and equipment | |
CN111314718B (en) | Settlement method, device, equipment and medium for live broadcast battle | |
CN112016941B (en) | Virtual article pickup method, device, terminal and storage medium | |
CN111064655B (en) | Template message pushing method, device, equipment and storage medium | |
CN111083516B (en) | Live broadcast processing method and device | |
CN112616091B (en) | Virtual article sending method and device, computer equipment and storage medium | |
CN111556333B (en) | Live broadcast interaction method, device, equipment and storage medium | |
CN110147503B (en) | Information issuing method and device, computer equipment and storage medium | |
CN110548277B (en) | Method, device and equipment for acquiring hand cards in card game program and readable medium | |
CN112511850A (en) | Wheat connecting method, live broadcast display method, device, equipment and storage medium | |
CN111784416A (en) | Virtual article distribution method, device, equipment and storage medium | |
CN111083042A (en) | Template message pushing method, device, equipment and storage medium | |
CN113518265A (en) | Live broadcast data processing method and device, computer equipment and medium | |
CN112915547A (en) | Virtual object acquisition method, device, terminal, server and readable storage medium | |
CN113506086B (en) | Task issuing method, device, computer equipment and medium | |
CN111045562A (en) | Interface display method, device, equipment and readable storage medium | |
CN111760296B (en) | Team forming processing method, device, terminal, server and storage medium | |
US20240042319A1 (en) | Action effect display method and apparatus, device, medium, and program product | |
CN110806864B (en) | Virtual card obtaining and issuing method, device, equipment and readable storage medium | |
CN113225578A (en) | Live broadcast data processing method, device, terminal, server and medium | |
CN111984871A (en) | Friend recommendation method, friend recommendation display method, device and equipment | |
CN111013154A (en) | Method, device and system for substituting for prize drawing | |
CN112827182B (en) | Method, device, terminal and storage medium for setting attribute of virtual object | |
CN110808985B (en) | Song on-demand method, device, terminal, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40021434 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |