CN113384884B - Card-playing prompting method and device based on virtual card, electronic equipment and storage medium - Google Patents

Card-playing prompting method and device based on virtual card, electronic equipment and storage medium Download PDF

Info

Publication number
CN113384884B
CN113384884B CN202110662644.7A CN202110662644A CN113384884B CN 113384884 B CN113384884 B CN 113384884B CN 202110662644 A CN202110662644 A CN 202110662644A CN 113384884 B CN113384884 B CN 113384884B
Authority
CN
China
Prior art keywords
card
information
virtual
virtual card
playing
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.)
Active
Application number
CN202110662644.7A
Other languages
Chinese (zh)
Other versions
CN113384884A (en
Inventor
刘爱宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110662644.7A priority Critical patent/CN113384884B/en
Publication of CN113384884A publication Critical patent/CN113384884A/en
Application granted granted Critical
Publication of CN113384884B publication Critical patent/CN113384884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a card-playing prompting method, a device, electronic equipment and a storage medium based on virtual cards, and relates to the technical field of Internet, wherein the method comprises the following steps: displaying a scene interface of a virtual card game, wherein the scene interface comprises a personal display area which is used for displaying a virtual card held by a current login account; obtaining competition information of the virtual card competition; determining a first signage type based on the game information; and displaying a card-out prompt of the virtual card held by the current login account based on the first target mark type. In the method, because the current competition information can reflect the competition condition of the current login account, the first target label type determined based on the competition information is the card type which is likely to be played by the user using the terminal, and the user is not required to select the virtual card which is needed to be played again manually by prompting the first target label type to the user, so that the card playing efficiency is improved.

Description

Card-playing prompting method and device based on virtual card, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, in particular to a playing prompting method and device based on virtual cards, electronic equipment and a storage medium.
Background
With the development of internet technology, various applications can be installed in a terminal. For example, if a chess and card application is installed in the terminal, the user can perform entertainment activities of chess and card games through the chess and card application.
In the related art, when playing an entertainment activity of a chess game through a chess application, a terminal may select at least one virtual card included in a preset card type from among virtual cards currently played by a user according to the preset card type, and highlight the at least one virtual card to prompt the user to select.
However, in the above scheme, since the preset card type may not be the card type that the user wants to play, the user still needs to manually select the virtual card that the user wants to play, and thus the card playing efficiency is low.
Disclosure of Invention
The disclosure provides a card playing prompting method, device, electronic equipment and storage medium based on virtual cards, which can improve card playing efficiency. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a card play prompting method based on a virtual card, including:
Displaying a scene interface of a virtual card game, wherein the scene interface comprises a personal display area which is used for displaying a virtual card held by a current login account;
obtaining competition information of the virtual card competition;
determining a first signage type based on the game information;
and displaying a card-out prompt of the virtual card held by the current login account based on the first target mark type.
In some embodiments, the obtaining game information for the virtual card game includes:
acquiring current card holding information of the current login account and historical card drawing information of a plurality of reference accounts, wherein the plurality of reference accounts are a plurality of accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card drawing information represents a virtual card historically drawn by the plurality of reference accounts;
the game information is determined based on the current deal information and the historical deal information.
In other embodiments, the determining the game information based on the current card holding information and the historical card play information includes:
the current card holding information and the historical card playing information form the competition information; or,
Acquiring first card-playing sequence information of a target game identity and second card-playing sequence information of the current login account; and forming the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information into the competition information.
In other embodiments, the determining the game information based on the current card holding information and the historical card play information includes:
acquiring bottom card information, wherein the bottom card information represents a plurality of bottom cards in the virtual card game;
and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
In other embodiments, the process of obtaining the current card-holding information of the current login account includes:
determining a virtual card sequence corresponding to the virtual card game, wherein the virtual card sequence comprises a plurality of virtual cards with points;
determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account;
and forming the current card holding information by the number of each point virtual card and the number of each point virtual card.
In other embodiments, the determining the first signage type based on the game information includes:
inputting the competition information into a card-playing prompt model to obtain a plurality of card-playing probabilities of preset cards;
and determining the first target label type based on the card discharge probabilities of the plurality of preset card types.
In other embodiments, the determining the first signage type based on the probability of playing the plurality of preset card types includes:
under the condition that the target virtual card to be played is not selected by the current login account, determining a first target card type with the maximum card playing probability from the plurality of preset card types; or,
and under the condition that the current login account selects the target virtual card to be played, determining the first target card type based on the playing probabilities of the plurality of preset card types, the target virtual card and other virtual cards held by the current login account, wherein the first target card type is the card type with the largest playing probability among the card types which can be formed by the target virtual card and the other virtual cards.
In other embodiments, the training process of the deal hint model includes:
acquiring sample competition information of a historical competition round, wherein a sample login account is marked in the sample competition information, and a second target label type of a virtual card played by the historical competition round belongs to the sample login account;
And performing model training based on the sample competition information to obtain the card-playing prompt model.
In other embodiments, the presenting, based on the first signage, a card-out reminder for a virtual card held by the current login account includes:
selecting at least one virtual card meeting the target card type from the virtual cards held by the current login account;
and displaying a card-out prompt for the at least one virtual card.
In other embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards that have been played by a plurality of reference accounts, where the plurality of reference accounts are a plurality of accounts that participate in the virtual card game; the method further comprises the steps of:
the at least one virtual card is moved from the personal presentation area to the shared presentation area in response to a card play instruction.
According to a second aspect of embodiments of the present disclosure, there is provided a card play prompting device based on a virtual card, including:
the display unit is configured to execute a scene interface for displaying the virtual card game, wherein the scene interface comprises a personal display area which is used for displaying the virtual card held by the current login account;
An acquisition unit configured to perform acquisition of game information of the virtual card game;
a determining unit configured to perform determining a first signage type based on the game information;
and the prompting unit is configured to execute card-out prompting on the virtual card held by the current login account based on the first target label.
In other embodiments, the acquisition unit includes:
the obtaining subunit is configured to obtain current card holding information of the virtual card held by the current login account and historical card drawing information of the virtual card historically drawn by a plurality of reference accounts, wherein the plurality of reference accounts are a plurality of login accounts participating in the virtual card game;
a first determination subunit configured to perform determining the game information based on the current dealing information and the historical dealing information.
In other embodiments, the first determining subunit is configured to perform combining the current card holding information and the historical card drawing information into the game information; or,
the first determining subunit is configured to execute the first card-playing sequence information for acquiring the identity of the target match and the second card-playing sequence information of the current login account; and forming the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information into the competition information.
In other embodiments, the first determining subunit is configured to perform acquiring the bottom card information of the plurality of bottom cards; and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
In other embodiments, the acquisition subunit is configured to perform determining a virtual card sequence corresponding to the virtual card game, the virtual card sequence including a plurality of counted virtual cards; determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account; and forming the current card holding information by the number of each point virtual card and the number of each point virtual card.
In other embodiments, the determining unit includes:
an input subunit configured to perform inputting the game information into a play hint model to obtain a plurality of play probabilities of a preset card;
and a second determining subunit configured to perform determining the first target type based on the card discharge probabilities of the plurality of preset card types.
In other embodiments, the second determining subunit is configured to perform determining, from the plurality of preset card types, a first sign-on type with a maximum card-out probability, in a case where the current login account number does not select the target virtual card to be played; or,
The second determining subunit is configured to execute, when the current login account has selected a target virtual card to be played, determining the first target type based on the playing probabilities of the plurality of preset types of cards, the target virtual card and other virtual cards held by the current login account, where the first target type is a type with the largest playing probability among types of cards that can be formed by the target virtual card and the other virtual cards.
In other embodiments, the apparatus further comprises:
the training unit is configured to acquire sample match information of a historical match round, and the sample match information marks a second target mark type of a virtual card played by the historical match round by a sample login account; and performing model training based on the sample competition information to obtain the card-playing prompt model.
In other embodiments, the prompting unit is configured to execute selecting at least one virtual card that meets the target card type from virtual cards held by the current login account; and carrying out card-out prompt on the at least one virtual card.
In other embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards that have been played by a plurality of reference accounts, where the plurality of reference accounts are a plurality of accounts that participate in the virtual card game; the apparatus further comprises:
A card discharge unit configured to execute moving the at least one virtual card from the personal presentation area to the shared presentation area in response to a card discharge instruction.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the virtual card-based card play prompting method as described in the above embodiments.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the virtual card-based card play prompting method as described in the above embodiments.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instruction which, when executed by a processor, implements the virtual card-based card play prompting method described in the above embodiments.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the disclosure, in the virtual card game process, since the current game information can embody the game situation where the current login account is located, the first target mark type determined based on the game information is the card type which is likely to be played by the user using the terminal, and the user is prompted by the first target mark type, so that the user does not need to manually select the virtual card which is required to be played, and the card playing efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram illustrating an implementation environment of a virtual card-based play hint method, according to an example embodiment;
FIG. 2 is a flow chart of a virtual card-based play alert method according to an exemplary embodiment;
FIG. 3 is a flow chart of a virtual card-based play alert method according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a virtual card-based play hint method according to an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a virtual card-based play hint method according to an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a virtual card-based play alert method according to an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a virtual card-based play alert method according to an exemplary embodiment;
FIG. 8 is a schematic diagram illustrating a virtual card-based play hint method according to an exemplary embodiment;
FIG. 9 is a flowchart illustrating a virtual card-based play alert method according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating a virtual card-based play hint device according to an exemplary embodiment;
fig. 11 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The user information referred to in the present disclosure may be information authorized by the user or sufficiently authorized by each party.
The card-out prompting method based on the virtual cards, provided by the embodiment of the disclosure, is applied to electronic equipment. In one possible implementation, the electronic device may be a terminal, for example, at least one of a smart phone, a tablet, a notebook, or a desktop. In another possible implementation, the electronic device may be a server, which is a server, or at least one of a server cluster cloud server composed of several servers, a cloud computing platform, and a virtualization center. In another possible implementation, the electronic device includes a terminal and a server.
In the embodiment of the present disclosure, an electronic device including a terminal and a server is described as an example. FIG. 1 is a schematic diagram of an implementation environment of a virtual card-based play alert method, according to an example embodiment, see FIG. 1, including: a server 20 and a plurality of terminals 10. Each terminal 10 and the server 20 are connected by a wireless or wired network.
Each terminal 10 has installed thereon a target application served by the server 20, and each terminal 10 can realize functions such as data transmission, information interaction, and the like through the target application. In some embodiments, the target application is an application in the operating system of the terminal 10, or an application provided for a third party. In some embodiments, the target application is any application having a game control function, a game play function, for example, the target application is a virtual card application.
In some embodiments, the target application may be a stand-alone virtual card application.
In other embodiments, the target application may also be an application capable of providing a running environment for a target applet, which is a virtual card applet; for example, the target application may be a game application, a social application, or an application such as a browser. In this embodiment, the terminal 10 can run the target applet based on the running environment provided by the target application without downloading and installing the target applet.
In some embodiments, each terminal 10 is capable of information interaction with the server 20 via a virtual card application or virtual card applet, thereby enabling virtual card-based card play cues. And a server 20 for providing a background service to the terminal 10.
The playing prompting method based on the virtual cards, which is provided by the embodiment of the disclosure, can be applied to a virtual card game scene.
The target application is described as a virtual card application. When a user plays a virtual card game through a virtual card application in the terminal, the terminal can display a card playing prompt of the virtual card for the user operating the terminal through the card playing prompt method based on the virtual card provided by the embodiment of the disclosure.
It should be noted that the above application scenario is only an exemplary illustration, and does not limit the playing scenario of the chess game, and the present disclosure can be applied to any other playing scenario of the chess game in addition to the above application scenario.
FIG. 2 is a flow chart of a virtual card-based play alert method for use in an electronic device, as shown in FIG. 2, according to an exemplary embodiment, including the following steps.
In step S21, displaying a scene interface of the virtual card game, where the scene interface includes a personal display area, and the personal display area is used to display a virtual card held by the current login account;
in step S22, game information of the virtual card game is acquired;
in step S23, a first signage type is determined based on the game information;
in step S24, a virtual card-out prompt for the current login account is presented based on the first signage.
In some embodiments, the obtaining game information for the virtual card game includes:
acquiring current card holding information of the current login account and historical card drawing information of a plurality of reference accounts, wherein the plurality of reference accounts are a plurality of login accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card drawing information represents virtual cards historically drawn by the plurality of reference accounts;
The game information is determined based on the current card holding information and the historical card play information.
In other embodiments, the determining the game information based on the current card holding information and the historical card play information includes:
the current card holding information and the historical card playing information form the competition information; or,
acquiring first card-playing sequence information of a target game identity and second card-playing sequence information of the current login account; and combining the current dealing information, the historical dealing information, the first dealing sequential information and the second dealing sequential information into the competition information.
In other embodiments, the determining the game information based on the current card holding information and the historical card play information includes:
acquiring bottom card information, the bottom card information representing a plurality of bottom cards in the virtual card game;
and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
In other embodiments, the process of obtaining current card holding information for a virtual card held by the current login account includes:
determining a virtual card sequence corresponding to the virtual card game, wherein the virtual card sequence comprises a plurality of virtual cards with points;
Determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account;
virtual cards with each point and each point the number of virtual cards of (a) constitutes the current card holding information.
In other embodiments, the determining the first signage type based on the game information includes:
inputting the competition information into a card-playing prompt model to obtain a plurality of card-playing probabilities of preset cards;
the first signage type is determined based on the card discharge probabilities of the plurality of preset card types.
In other embodiments, the determining the first signage type based on the probability of playing the plurality of preset types of cards includes:
under the condition that the current login account does not select a target virtual card to be played, determining a first target card type with the maximum card playing probability from the plurality of preset card types; or,
and under the condition that the current login account selects a target virtual card to be played, determining the first target mark type based on the playing probabilities of the plurality of preset mark types, the target virtual card and other virtual cards held by the current login account, wherein the first target mark type is the mark type with the largest playing probability among the mark types which can be formed by the target virtual card and the other virtual cards.
In other embodiments, the training process of the deal hint model includes:
acquiring sample competition information of a historical competition round, wherein a sample login account is marked in the sample competition information, and a second target label type of a virtual card which is marked out by the historical competition round belongs to the sample competition information;
based on the sample competition information, model training is carried out to obtain the card-playing prompt model.
In other embodiments, the presenting a card-out cue for the virtual card held by the current login account based on the first signage includes:
selecting at least one virtual card meeting the destination name plate from the virtual cards held by the current login account;
and displaying a card-out prompt for the at least one virtual card.
In other embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards that have been played by a plurality of reference accounts, where the plurality of reference accounts are a plurality of accounts that participate in the virtual card game; the method further comprises the steps of:
the at least one virtual card is moved from the personal presentation area to the shared presentation area in response to a card-out instruction.
In the embodiment of the disclosure, in the virtual card game process, since the current game information can embody the game situation where the current login account is located, the first target mark type determined based on the game information is the card type which is likely to be played by the user using the terminal, and the user is prompted by the first target mark type, so that the user does not need to manually select the virtual card which is required to be played, and the card playing efficiency is improved.
Fig. 3 is a flowchart of a playing prompt method based on a virtual card, and as shown in fig. 3, in the embodiment of the disclosure, an electronic device is taken as a terminal, and in a virtual card game currently performed by the terminal, a playing prompt of a current login account is shown and described as an example.
In step S31, the terminal displays a scene interface of the virtual card game, where the scene interface includes a personal display area, and the personal display area is used to display the virtual card held by the current login account.
The virtual card may be any one of an electronic playing card, an electronic mahjong card, etc., which is not particularly limited in this disclosure. The current login account may be a login account of a target object, where the target object is an object for operating the terminal. In the embodiment of the present disclosure, a target object is described as an example of a user using a terminal.
In the embodiment of the present disclosure, a target application is installed in the terminal, and the target application is used for playing a virtual card game, for example, the target application is a virtual card application. When the target object wants to play the virtual card game through the target application, the target object can trigger the terminal to display a scene interface of the virtual card in the target application; because the virtual cards held by the current login account are displayed in the personal display area of the scene interface, the target object can determine the virtual cards which want to be played from the virtual cards, so that the terminal is triggered to execute card playing operation to play virtual card games.
When the current card-playing object is the current login account, the terminal can carry out card-playing prompt on the current login account so as to save the time for selecting the virtual card by the target object, and further improve card-playing efficiency.
It should be noted that, since the virtual card game is a game in which a plurality of reference account numbers are played based on the virtual cards held by the respective virtual card game, each virtual card game includes a plurality of game rounds, and the plurality of reference account numbers are a plurality of account numbers participating in the virtual card game; in each game round, the plurality of reference account numbers are sequentially used as a card-playing object to determine whether to play cards. Wherein, each competition round has at least one reference account number for playing cards.
In the embodiment of the present application, before displaying the play hint for the current login account, the terminal obtains the game information of the virtual card game, that is, executes the operations of steps S32-S33, and displays the play hint for the current login account based on the game information.
In step S32, the terminal obtains current card holding information of the current login account and historical card-out information of a plurality of reference accounts.
The virtual card game system comprises a plurality of reference accounts, a current login account, a historical card playing information and a current card holding information, wherein the plurality of reference accounts are a plurality of accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card playing information represents a virtual card historically played by the plurality of reference accounts.
Because each virtual card game comprises a plurality of game rounds, the historical card-playing information acquired by the terminal is the virtual cards played by each reference account in the virtual card game process before the current card-playing object is updated to the current login account.
In some embodiments, the process of obtaining the current card-holding information of the current login account includes the following steps (1) - (3):
(1) The terminal determines a virtual card sequence corresponding to the virtual card game, wherein the virtual card sequence comprises a plurality of virtual cards with points.
Wherein each virtual card has at least one element of suit or data, etc., and the corresponding deck of virtual cards for each virtual card game further includes a normal virtual card and a special virtual card. And the number of points of the special virtual cards is larger than that of the common virtual cards.
Correspondingly, the implementation manner of the terminal to determine the virtual card sequence corresponding to the virtual card match may be: the terminal regards the virtual cards with the same data as the virtual cards with the same points, and sorts the plurality of virtual cards in the virtual card competition according to the points to obtain the virtual card sequence.
In this implementation, the plurality of virtual cards are a plurality of virtual cards that do not repeat in points; that is, for two common virtual cards of different suits but identical data, the terminal views the two common virtual cards as virtual cards of identical rank.
For example, to illustrate a virtual card as an electronic playing card, where the number of virtual cards included in a deck of electronic playing cards is 54, the virtual card sequence includes 13 common virtual cards represented by 1 through 10 (1 is generally denoted as a) and J, Q, K, and 2 special virtual cards represented by king and king.
The point to be described is that the number of the virtual cards can be set and changed according to the needs, and the application is not particularly limited; in one possible implementation, for a common virtual card, the higher the data, the greater the point number; for a particular virtual card, the more complex the suit, the greater the rank. For example, taking a virtual card as an electronic playing card as an example, the number of points corresponding to the virtual card "red peach 3" may be 3, and the number of points corresponding to the virtual card "square 5" may be 5.
In another possible implementation, the number of points of any one common virtual card may also be non-proportional to the size of the data; for example, the terminal presets points of virtual cards (1 is generally denoted as A) with data of 1 and 2 of 14, 15 respectively, then
Referring to fig. 4, red peach 3, black peach 3, square 3, and plum blossom 3 are all regarded as points 3, red peach 4, black peach 4, square 4, and plum blossom 4 are all regarded as points 4, and so on, red peach J, black peach J, square J, and plum blossom J are all regarded as points 11, red peach Q, black peach Q, square Q, and plum blossom Q are all regarded as points 12, red peach K, black peach K, square K, and plum blossom K are all regarded as points 13, red peach a, black peach a, square a, and plum blossom a are all regarded as points 14, red peach 2, black peach 2, square 2, and plum blossom 2 are all regarded as points 15, small Wang Kan is regarded as points 16, and large Wang Kan is regarded as points 17.
(2) The terminal determines the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account.
In some embodiments, this step may be implemented as: and counting the virtual cards held by the current login account according to the points corresponding to each virtual card by the terminal to obtain the number of the virtual cards with each point in the virtual card sequence.
For any virtual card of the virtual card sequence, if the virtual card held by the current login account does not contain the virtual card, the terminal determines that the number of virtual cards of the point is 0.
In this embodiment, the terminal uses an array of points of a predetermined length to represent the number of virtual cards in each point in the sequence of virtual cards. The preset length is the number of virtual cards contained in the virtual card sequence. The preset length may be set and changed as needed, which is not particularly limited by the present disclosure.
For example, the predetermined length may be 15, i.e., the virtual card sequence contains 13 common virtual cards and 2 special virtual cards, as illustrated by the example of electronic playing cards. Referring to fig. 5, the number array is used for representing the red peach 3, square sheet 3, red peach 5, king and king; wherein, the number of points 3 is 2, the number of points 5 is 1, the number of points 16 is 1, and the number of points 17 is 1, and the point array is [2,0,1,0,0,0,0,0,0,0,0,0,0,1,1].
(3) And the terminal forms the current card holding information by the virtual cards with each point and the number of the virtual cards with each point.
Wherein, because the position of the number of each point in the point array is uniquely determined, the terminal can prestore the corresponding relation between the position and the virtual card; correspondingly, the terminal can take the point array as the current card holding information.
In some embodiments, the implementation manner of the terminal determining the correspondence between the position and the virtual card may be: and the terminal associates the position with the virtual card corresponding to each point to obtain the corresponding relation between the position and the virtual card.
In the embodiment of the disclosure, the number of each virtual card in the virtual cards held by the current login account can be counted based on the point corresponding to each virtual card in the virtual card sequence, so that the current card holding information containing the number of each virtual card with the point is obtained, and thus, support is provided for the input data of the card-out prompt model.
It should be noted that the embodiments of the present disclosure may be applied to the following two cases:
the first case is that the current login account is used as the first reference account number for playing the virtual card in the virtual card game under the condition that no other reference account number plays the virtual card, and the virtual card needs to be played.
In this case, since the virtual cards are not played by the plurality of reference accounts, the terminal does not need to acquire the historical card-playing information.
The second case is that after the last card-out object plays the virtual card, the current login account needs to play the own virtual card according to the virtual card played by the last card-out object.
In this case, the terminal can acquire the historical card-play information. The process of the terminal obtaining the historical card-playing information can be implemented in the following several ways.
In a first implementation manner, a terminal determines a virtual card sequence corresponding to the virtual card game, where the virtual card sequence includes a plurality of virtual cards with points; the terminal determines the number of virtual cards of each point based on the virtual card sequence and the virtual cards played by the plurality of reference accounts; and forming the historical card-playing information by the number of each virtual card with the point and the number of each virtual card with the point.
The implementation manner of the terminal for obtaining the historical card-playing information is similar to that of the terminal for obtaining the current card-holding information in step S32, and will not be described herein.
In the implementation mode, as the plurality of reference account numbers are not distinguished, the historical card-playing information is determined only according to the virtual cards which are currently played, so that the time for acquiring the information is saved, and the efficiency for acquiring the information is improved.
In a second implementation manner, the terminal respectively determines card-playing information of each reference account, wherein the card-playing information represents virtual cards played by the reference account; the terminal composes the card-playing information of the plurality of reference accounts into the historical card-playing information, and each card-playing information in the historical card-playing information has a respective account number identification.
The account number may be an ID (Identity Document, identification number) of the reference account number. The implementation manner of determining the card-playing information of each reference account by the terminal is similar to the implementation manner of acquiring the current card-holding information by the terminal, and is not described in detail herein.
In the implementation mode, because the card-playing information of each reference account is acquired respectively, the account division of the historical card-playing information is realized, and therefore the referenceability of the historical card-playing information is improved.
In a third implementation manner, for each game round, the terminal determines playing information of the game round, where the playing information represents virtual cards played by a plurality of reference accounts in the game round; the terminal composes the card-playing information of each competition round into the historical card-playing information, and each card-playing information in the historical card-playing information has a round identifier.
The round identifier may be a serial number of the competition round. For example, the round of the first game round is identified as 1 and the round of the second game round is identified as 2. In this implementation, the referenceability of the historical play information is improved because the card information for each game round is partitioned.
In the embodiment of the present disclosure, the above second implementation manner is described as an example.
In step S33, the terminal determines the game information based on the current card holding information and the historical card drawing information.
In some embodiments, the implementation of step S33 may be: the terminal composes the current card holding information and the historical card playing information into the competition information.
In this embodiment, since the current dealing information and the historical dealing information can represent the competition situation of the current virtual card competition, the current dealing information and the historical dealing information can be formed into the competition information, so that the terminal does not need to acquire other information, the time for acquiring information is further saved, and the efficiency for acquiring information is higher.
In other embodiments, the terminal may further determine game information in combination with the card playing sequence information of each reference account, and the implementation manner of step S33 may further be: the terminal acquires first departure sequence information of the target match identity and second departure sequence information of the current login account; and combining the current dealing information, the historical dealing information, the first departure sequence information and the second departure sequence information into the competition information.
In this embodiment, each of the plurality of reference accounts has a respective game identity. In the virtual card game process, the current login account may be in a countermeasure relationship with other reference accounts in the multiple reference accounts, or at least one reference account which is in a cooperative relationship with the current login account exists in the multiple reference accounts, that is, the current login account and the at least one reference account are in a countermeasure relationship with other reference accounts in the multiple reference accounts.
Correspondingly, the target match identity is the match identity corresponding to the reference account number of which the other reference account numbers are in the countermeasure relationship. The first card-playing sequence information and the second card-playing sequence information respectively represent the target game identity and the card-playing sequence of the current login account in the current virtual card game process, and the card-playing sequence is fixed in the current virtual card game process.
For example, taking a virtual card as an electronic playing card as an example, the playing identity of each reference account may be any one of the identities of a land owner or a farmer, and the target playing identity is the land owner, the first card-out sequential information is 1, and the second card-out sequential information may be 2 or 3.
In this embodiment, since the playing identity of each reference account has an influence on the playing operation of the reference account, whether the playing identity of the current login account is the target playing identity or not can be determined by acquiring the first playing sequence information of the target playing identity and the second playing sequence information of the current login account, so that the first target type can be determined by combining the playing identity of the current login account subsequently, and further data support is provided for improving the accuracy of determining the card type.
In other embodiments, the terminal may further determine game information in combination with the bottom card, and accordingly, the implementation of step S33 may be: the terminal acquires bottom card information, wherein the bottom card information represents a plurality of bottom cards in the virtual card game; and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
The bottom cards are at least one virtual card displayed in a bright card mode, wherein the at least one virtual card is held by a reference account corresponding to the target game identity in the virtual card game process.
In this embodiment, since the bottom card is a virtual card of the target game identity, the first target card type can be determined more accurately in combination with the bottom card information, thereby providing data support for improving accuracy of card type determination.
It should be noted that the terminal may determine the game information according to any implementation manner, or the terminal may determine the game information in combination with any two or three implementation manners, which is not specifically limited in this disclosure. In the embodiment of the present disclosure, the game information includes current card holding information, historical card drawing information, bottom card information, first card drawing order information, and second card drawing order information.
In the embodiment of the present disclosure, after obtaining the competition information, the terminal determines the first target type based on the competition information, that is, performs the operations of steps S34 to S35.
In step S34, the terminal inputs the game information into the play hint model to obtain a plurality of play probabilities of the preset cards.
The card-playing prompt model is a trained model. The type of the card-out prompt model can be set and changed according to the needs, and the card-out prompt model is not particularly limited in the disclosure; for example, the deal hint model may be a neural network model based on deep learning.
In some embodiments, a card playing prompt model is built in the terminal, and then the terminal inputs the game information into the card playing prompt model to obtain a plurality of card playing probabilities of the preset cards.
In this step, since the game information contains a lot of information, the terminal extracts a feature from the game information, uses the feature as input data of the play presentation model, and inputs the input data into the play presentation model.
For example, describing the number of reference accounts participating in the virtual card game as 3, the feature may be an array of 77 elements, i.e., the length of the array is 77; the content contained in this feature is as follows:
element 0: the first card-discharging sequence information is in a value range of 0-2;
element 1: the second card-discharging sequence information is in a value range of 0-2;
elements 2-16: the format of the current card holding information refers to the point array in the step S32;
elements 17-31: the card-playing information of the current login account in the historical card-playing information is in a format referred to the point array in the step S32;
elements 32-46: the card-playing information of the reference account number which is played after the current login account number in the historical card-playing information is formatted according to the point array in the step S32;
elements 47-61: the format of the card-playing information of the reference account number which is played after the reference account number in the historical card-playing information refers to the point array in the step S32;
Elements 62-76: the base card information is formatted with reference to the point array in step S32.
For example, referring to fig. 6, features extracted from game information are input into a trained play alert model that outputs a plurality of play probabilities for a preset card type.
In this embodiment, since the card discharge probabilities of the plurality of preset card types can be acquired at the terminal side, the probability acquisition efficiency is high.
In other embodiments, the terminal obtains the card-playing probabilities of the plurality of preset card types by means of the server, and correspondingly, the implementation manner of the step may be: the terminal sends the competition information to a server; the server receives the competition information, inputs the competition information into a card-playing prompt model, obtains card-playing probabilities of a plurality of preset card types, and sends the card-playing probabilities of the preset card types to the terminal; and the terminal receives the card-playing probability of the preset card type.
In this embodiment, since the prediction is made based on the game information by means of the server, a plurality of pre-set card-play probabilities are obtained, and thus, there is no need to side the card-play presentation model at the terminal side, thereby saving the processing resources at the terminal side.
In the embodiment of the present disclosure, the terminal may obtain the card playing probabilities of the plurality of preset cards according to any implementation manner, which is not specifically limited in the present disclosure.
The terminal is preset with a plurality of preset card types; the setting of the plurality of preset card types in the embodiment of the present disclosure is not particularly limited. For example, the plurality of preset card types may be determined based on the type of virtual card game; the type may be any of the types of electronic poker games or mahjong games.
In this step, the output data of the card-playing prompt model is the card-playing probabilities of the plurality of preset cards, and the format of the output data may be a tag array.
For example, to illustrate an electronic card game, the plurality of preset card types may be: at least two of rocket, bomb, airplane, cisco, even pair, three, pair, single card and other card types. Wherein the rocket comprises two special virtual cards; the bomb comprises four virtual cards with different colors and identical data; the aircraft comprises two groups of virtual cards with continuous data, and each group of virtual cards comprises three virtual cards with different suits and identical data; the cistron comprises at least five virtual cards with continuous data; the pair comprises three groups of virtual cards with continuous data, and each group of virtual cards comprises two virtual cards with different suits and same data; three virtual cards with different colors and identical data are included; the pair comprises two virtual cards with different suits and identical data; the single card includes one virtual card of any kind.
In step S35, the terminal determines the first signage type based on the card-discharge probabilities of the plurality of preset card types.
The first target mark type is a predicted mark type which the target object wants to hit. For example, to illustrate an electronic card game, the first signage may be: at least one of rocket, bomb, airplane, cisco, even pair, three, pair, single card, etc.
In the embodiment of the disclosure, the playing probability of a plurality of preset card types is obtained through prediction by analyzing and processing the game information based on the card-playing prompt model, so that the first target card type is obtained, the target object does not need to consider too much to select the virtual cards to be played, other reference account numbers do not need to wait for more time, and card-playing time is further saved.
In some embodiments, this step may be implemented as: and under the condition that the current login account does not select the target virtual card to be played, the terminal determines a first target card type with the largest card playing probability from the plurality of preset card types.
For example, referring to fig. 7, if the plurality of preset card types include rocket, bomb, airplane, cisco, even pair, three, pair, and single card, the card-out probability corresponding to each preset card type, that is, the tag array of the output data may be [0.02,0.33,0.12,0.09,0.22,0.01,0.61,0.65]; and sequencing the preset card types according to the card outlet sequence, wherein the obtained tag array is [0.65,0.61,0.33,0.22,0.12,0.09,0.01].
In this embodiment, if the target object does not determine the target virtual card, the preset card type with the largest card-playing probability may be used as the first target card type, so that the current login account does not need to select other virtual cards, and further the card type determination efficiency is high.
In other embodiments, this step may be implemented as: and under the condition that the current login account selects a target virtual card to be played, the terminal determines the first target mark type based on the playing probabilities of the plurality of preset mark types, the target virtual card and other virtual cards held by the current login account, wherein the first target mark type is the mark type with the largest playing probability among the mark types which can be formed by the target virtual card and the other virtual cards.
If the current login account has selected the target virtual card, the terminal may select a card type that can form a preset card type with the target virtual card and has the highest card-out probability from other virtual cards held by the current login account.
For example, referring to fig. 8, features extracted from the game information are input into a trained play alert model, which outputs a plurality of play probabilities for a preset card type, and determines a first target card type in combination with a target virtual card selected by the current login account.
In this embodiment, because the target virtual cards selected by the current login account are combined, the determined first target label is closer to the virtual card that the target object to which the current login account belongs wants to play, and thus accuracy of determining the card type is higher.
In step S36, the terminal displays a card-out prompt for a virtual card held by the current login account based on the first signage.
In some embodiments, this step may be implemented as: the terminal selects at least one virtual card meeting the target type from the virtual cards held by the current login account; and displaying a card-out prompt for the at least one virtual card.
In this embodiment, the terminal may highlight the at least one virtual card, and accordingly, implementation of the terminal displaying the play hint for the at least one virtual card may be: in the personal display area, the terminal displays virtual cards contained in the target card type combination in a target display style which is different from the display style of the virtual cards except for the target card type combination in the virtual cards of the current login account.
The target display style can be set and changed according to the requirement, and the application is not particularly limited to the target display style; for example, the target presentation style may be to present a colored border around the at least one virtual card; alternatively, the target presentation style may be a preset height for moving up the display position of the at least one virtual card. The present disclosure does not specifically limit the preset height; for example, the preset height may be 3mm, 5mm, etc.
It should be noted that, the operation in step S36 may be understood as an implementation manner in which the terminal carries out the card-out prompt on the virtual card held by the current login account according to the first sign-up type.
In the embodiment of the disclosure, the card playing prompt meeting the first target type of virtual card is displayed on the current login account, so that the target object of the operation terminal can refer to the at least one virtual card to perform subsequent card playing operation, and convenience of card playing operation is improved.
In some embodiments, the scene interface further comprises a shared display area, wherein the shared display area is used for displaying virtual cards played by a plurality of reference accounts; the card play prompting method based on the virtual card provided by the present disclosure further comprises the following steps: the terminal moves the at least one virtual card from the personal presentation area to the shared presentation area in response to a card-out instruction.
The card playing instruction is used for indicating playing of the virtual cards.
In the embodiment of the disclosure, the at least one virtual card is moved to the shared display area, so that other reference account numbers continue to conduct virtual card games based on the at least one virtual card, and the progress of subsequent virtual card games is promoted.
Fig. 9 is a flowchart of a playing card prompting method based on a virtual card according to an exemplary embodiment, and as shown in fig. 9, in an embodiment of the disclosure, an electronic device is taken as a server, and a playing card prompting model obtained by training the server is taken as an example to describe the playing card prompting model, which includes the following steps.
In step S91, the server obtains sample game information of the historical game round, where the sample game information is marked with a second destination sign type name to which the virtual card of the sample login account number played in the historical game round belongs.
The sample login account may be any login account participating in a historical game round. The sample game information also includes sample current card holding information of the sample login account and sample historical card playing information of a plurality of sample reference accounts. The sample current card holding information is a virtual card currently held by the sample login account, and the sample historical card drawing information represents virtual cards historically drawn by the plurality of sample reference accounts; the second signage type may be any one of a plurality of preset signage types.
The historical game round may be a game round during any virtual card game prior to the current virtual card game; alternatively, the historical game round may be a round of play during a target virtual card game prior to the current virtual card game. The target virtual card game may be a virtual card game in which at least one sample reference account number having a rank higher than a preset rank participates.
In some embodiments, each sample reference account has a corresponding rating, and the rating may be determined based on the total number of games the sample reference account participates in; for example, the more the total number of plays involved, the higher the rank; alternatively, the ranking may be determined based on the match success rate of the sample reference account number; for example, the higher the match success rate, the higher the rank. The setting of the preset level is not particularly limited by the present disclosure.
The match success ratio is the ratio of the number of times of match success to the total number of times of match in the virtual card match participated in by the sample reference account.
In this step, the server may acquire the sample competition information of the historical competition round by means of the terminal, and correspondingly, the implementation manner of the server to acquire the sample competition information of the historical competition round may be: the terminal acquires sample competition information of historical competition rounds and sends the sample competition information to the server; the server receives the sample game information.
In some embodiments, the sample game information may further include at least one of sample bottom card information, third card-drawing order information for the target game identity, or fourth card-drawing order information for the sample login account.
The sample current card holding information, sample historical card discharging information, sample bottom card information, third card discharging sequence information and fourth card discharging sequence information are all sample input data, and the second label type is sample output data.
For example, taking a virtual card game as an electronic playing card game as an example, the plurality of preset cards includes rocket, bomb, airplane, cisco, even pair, three, pair, single card, and if the second eye-tag type is cisco, the sample output array corresponding to the second eye-tag type may be [0,0,0,1,0,0,0,0].
For another example, taking the example that the number of sample reference accounts participating in the historical virtual card game is 3 as an example, the characteristics corresponding to the sample game information may be an array including 92 elements, that is, the length of the array is 92, and the contents included in the characteristics are as follows:
element 0: third card-discharging sequence information with a value range of 0-2;
element 1: fourth card-discharging sequence information, wherein the value range is 0-2;
elements 2-16: the current card holding information of the sample refers to the point array in the step S32;
elements 17-31: the card-out information of the sample login account in the sample historical card-out information is in a format referring to the point array in the step S32;
Elements 32-46: the card-playing information of the sample reference account number which is played after the sample login account number in the sample historical card-playing information is formatted according to the point array in the step S32;
elements 47-61: the card-playing information of the sample reference account number which is played after the sample reference account number in the sample historical card-playing information is formatted according to the point array in the step S32;
elements 62-76: the sample bottom plate information refers to the point array in the step S32 in format;
elements 77-91: and the second destination label type format refers to the sample output array.
In step S92, the server performs model training based on the sample game information to obtain the play hint model.
In the step, after offline training, the server sends the trained card-out prompt model to the terminal, and the terminal executes the operations from the step S31 to the step S35; or the server stores the trained playing prompt model, inputs the playing information into the playing prompt model when the playing information sent by the terminal is received, obtains a plurality of playing probabilities of the preset playing types, and sends the playing probabilities to the terminal.
In the embodiment of the disclosure, the virtual cards played by each sample reference account in the historical game round can be used as references of the reference accounts for participating in the virtual card game subsequently, and the card-playing prompt model is trained by acquiring sample game information in the historical game round, so that the card-playing prompt model can learn the nonlinear relationship between sample input data and sample output data in the historical game information, and therefore, when the card-playing prompt model is used for card-playing prompt, the intention of a target object to which the current login account belongs can be accurately predicted, and the accuracy of card-playing prompt is improved.
Fig. 10 is a block diagram illustrating a configuration of a virtual card-based play alert device 1000 according to an exemplary embodiment. Referring to fig. 10, the apparatus 1000 includes a display unit 1001, an acquisition unit 1002, a determination unit 1003, and a presentation unit 1004.
A display unit 1001 configured to execute a scene interface for displaying a virtual card game, where the scene interface includes a personal display area, and the personal display area is used to display a virtual card held by a current login account;
an acquisition unit 1002 configured to perform acquisition of game information of the virtual card game;
a determining unit 1003 configured to perform determination of a first signage type based on the game information;
and a presentation unit 1004 configured to execute a card-out presentation for the virtual card held by the current login account based on the first signage.
In other embodiments, the obtaining unit 1002 includes:
an obtaining subunit, configured to obtain current card holding information of the current login account and historical card playing information of a plurality of reference accounts, where the plurality of reference accounts are a plurality of login accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card playing information represents a virtual card historically played by the plurality of reference accounts;
A first determination subunit configured to perform determining the game information based on the current card holding information and the historical card play information.
In other embodiments, the first determining subunit is configured to perform combining the current card holding information and the historical card drawing information into the game information; or,
the first determining subunit is configured to acquire first card-playing sequence information of the target game identity and second card-playing sequence information of the current login account; and combining the current dealing information, the historical dealing information, the first dealing sequential information and the second dealing sequential information into the competition information.
In other embodiments, the first determining subunit is configured to perform acquiring the bottom card information of the plurality of bottom cards; and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
In other embodiments, the acquisition subunit is configured to perform determining a virtual card sequence corresponding to the virtual card game, the virtual card sequence including a plurality of counted virtual cards; determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account; virtual cards with each point and each point the number of virtual cards of (a) constitutes the current card holding information.
In other embodiments, the determining unit 1003 includes:
an input subunit configured to perform inputting the game information into a play hint model to obtain a plurality of play probabilities of a preset card;
and a second determining subunit configured to perform determining the first signage type based on the probabilities of playing the plurality of preset card types.
In other embodiments, the second determining subunit is configured to perform determining, from the plurality of preset card types, a first target card type with a maximum card-playing probability, in a case where the current login account number does not select the target virtual card to be played; or,
the second determining subunit is configured to execute, when the current login account has selected a target virtual card to be played, determining the first target type based on the playing probabilities of the plurality of preset types of cards, the target virtual card and other virtual cards held by the current login account, where the first target type is a type with the largest playing probability among types of cards that the target virtual card and the other virtual cards can compose.
In other embodiments, the apparatus further comprises:
the training unit is configured to acquire sample match information of a historical match round, and the sample match information marks a second target mark type of a virtual card which is marked by a sample login account in the historical match round; based on the sample competition information, model training is carried out to obtain the card-playing prompt model.
In other embodiments, the prompting unit 1004 is configured to execute selecting at least one virtual card that meets the destination type from the virtual cards held by the current login account; and displaying a card-out prompt for the at least one virtual card.
In other embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards that have been played by a plurality of reference accounts, where the plurality of reference accounts are a plurality of accounts that participate in the virtual card game; the method further comprises the steps of:
a card discharge unit configured to execute moving the at least one virtual card from the personal presentation area to the shared presentation area in response to a card discharge instruction.
In the embodiment of the disclosure, in the virtual card game process, since the current game information can embody the game situation where the current login account is located, the first target mark type determined based on the game information is the card type which is likely to be played by the user using the terminal, and the user is prompted by the first target mark type, so that the user does not need to manually select the virtual card which is required to be played, and the card playing efficiency is improved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In some embodiments, the electronic device may be provided as a terminal; accordingly, fig. 11 is a block diagram illustrating the structure of a terminal 10 according to an exemplary embodiment. In some embodiments, the terminal 10 may be: smart phones, tablet computers, notebook computers or desktop computers, etc. The terminal 10 may also be referred to by other names as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 10 includes: a processor 101 and a memory 102.
In some embodiments, processor 101 includes one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. In some embodiments, the processor 101 is implemented in hardware in at least one of a DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). In some embodiments, the processor 101 also includes a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 101 is integrated with a GPU (Graphics Processing Unit, image processor) for taking care of rendering and drawing of the content that the display screen is required to display. In some embodiments, the processor 101 further includes an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
In some embodiments, memory 102 includes one or more computer-readable storage media that are non-transitory. In some embodiments, memory 102 also includes high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 102 is used to store at least one instruction for execution by processor 101 to implement the virtual card-based card play hint method provided by the method embodiments of the present disclosure.
In some embodiments, the terminal 10 may further optionally include: a peripheral interface 103 and at least one peripheral. In some embodiments, processor 101, memory 102, and peripheral interface 103 are coupled via buses or signal lines. In some embodiments, each peripheral device is connected to peripheral device interface 103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 104, display screen 105, camera assembly 106, audio circuitry 107, positioning assembly 108, and power supply 109.
Peripheral interface 103 may be used to connect at least one Input/Output (I/O) related peripheral device to processor 101 and memory 102. In some embodiments, processor 101, memory 102, and peripheral interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 101, memory 102, and peripheral interface 103 are implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 104 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuit 104 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. In some embodiments, the radio frequency circuitry 104 communicates with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 104 further includes NFC (Near Field Communication ) related circuitry, which is not limited by the present disclosure.
The display screen 105 is used to display a UI (User Interface). In some embodiments, the UI includes graphics, text, icons, video, and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to collect touch signals at or above the surface of the display screen 105. In some embodiments, the touch signal is input as a control signal to the processor 101 for processing. At this time, the display screen 105 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, the display screen 105 is one and is disposed on the front panel of the terminal 10; in other embodiments, the display 105 is at least two, each disposed on a different surface of the terminal 10 or in a folded configuration; in other embodiments, the display 105 is a flexible display disposed on a curved surface or a folded surface of the terminal 10. Even further, the display screen 105 is also arranged in an irregular pattern that is not rectangular, i.e. a shaped screen. In some embodiments, the display 105 is made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 106 is used to capture images or video. In some embodiments, the camera assembly 106 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 106 also includes a flash. In some embodiments, the flash is a single color temperature flash, and in some embodiments, the flash is a dual color temperature flash. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and is used for light compensation under different color temperatures.
In some embodiments, audio circuit 107 includes a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 101 for processing, or inputting the electric signals to the radio frequency circuit 104 for voice communication. For purposes of stereo acquisition or noise reduction, in some embodiments, the microphones are provided in a plurality, each at a different location of the terminal 10. In some embodiments, the microphone is an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 101 or the radio frequency circuit 104 into sound waves. In some embodiments, the speaker is a conventional thin film speaker, and in some embodiments, the speaker is a piezoceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only an electric signal but also an acoustic wave audible to humans can be converted into an acoustic wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 107 also includes a headphone jack.
The location component 108 is operative to locate the current geographic location of the terminal 10 for navigation or LBS (Location Based Service, location based services). In some embodiments, the positioning component 107 is a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
The power supply 109 is used to power the various components in the terminal 10. In some embodiments, the power source 109 is an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 109 comprises a rechargeable battery, the rechargeable battery is a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery is also used to support fast charge technology.
In some embodiments, the terminal 10 further includes one or more sensors 110. The one or more sensors 110 include, but are not limited to: an acceleration sensor 111, a gyro sensor 112, a pressure sensor 113, a fingerprint sensor 114, an optical sensor 115, and a proximity sensor 116.
In some embodiments, the acceleration sensor 111 detects the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 10. For example, the acceleration sensor 111 is used to detect components of gravitational acceleration on three coordinate axes. In some embodiments, processor 101 controls display screen 105 to display a user interface in either a landscape view or a portrait view based on gravitational acceleration signals acquired by acceleration sensor 111. In some embodiments, the acceleration sensor 111 is also used for the acquisition of motion data of a game or user.
In some embodiments, the gyro sensor 112 detects the body direction and the rotation angle of the terminal 10, and the gyro sensor 112 and the acceleration sensor 111 cooperate to collect the 3D motion of the user on the terminal 10. The processor 101 can realize the following functions according to the data collected by the gyro sensor 112: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
In some embodiments, the pressure sensor 113 is disposed on a side frame of the terminal 10 and/or on an underlying layer of the display screen 105. When the pressure sensor 113 is disposed at the side frame of the terminal 10, a grip signal of the user to the terminal 10 can be detected, and the processor 101 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 113. When the pressure sensor 113 is disposed at the lower layer of the display screen 105, the processor 101 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 105. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 114 is used to collect a fingerprint of a user, and the processor 101 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 114, or the fingerprint sensor 114 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. In some embodiments, the fingerprint sensor 114 is disposed on the front, back, or side of the terminal 10. When a physical key or vendor Logo is provided on the terminal 10, the fingerprint sensor 114 is integrated with the physical key or vendor Logo.
The optical sensor 115 is used to collect the ambient light intensity. In one embodiment, processor 101 controls the display brightness of display screen 105 based on the intensity of ambient light collected by optical sensor 115. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 105 is turned up; when the ambient light intensity is low, the display brightness of the display screen 105 is turned down. In another embodiment, the processor 101 also dynamically adjusts the shooting parameters of the camera assembly 106 based on the intensity of ambient light collected by the optical sensor 115.
A proximity sensor 116, also referred to as a distance sensor, is typically provided on the front panel of the terminal 10. The proximity sensor 116 is used to collect the distance between the user and the front of the terminal 10. In one embodiment, when the proximity sensor 116 detects a gradual decrease in the distance between the user and the front face of the terminal 10, the processor 101 controls the display screen 105 to switch from the bright screen state to the off screen state; when the proximity sensor 116 detects that the distance between the user and the front surface of the terminal 10 gradually increases, the processor 101 controls the display screen 105 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 11 is not limiting of the terminal 10 and can include more or fewer components than shown, or certain components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, a computer readable storage medium comprising instructions, such as the memory 102 comprising instructions, is also provided, which when executed by a processor of an electronic device, enables the electronic device to perform the virtual card-based card play hint method of the above-described embodiments. The instructions are executable by a processor of the electronic device to perform the virtual card-based card play prompting method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instruction which, when executed by a processor, implements the virtual card-based card play prompting method of the above-described embodiments.
In some embodiments, the computer program related to the embodiments of the present disclosure may be deployed to be executed on one electronic device or on a plurality of electronic devices located at one site, or alternatively, on a plurality of electronic devices distributed at a plurality of sites and interconnected by a communication network, where a plurality of electronic devices distributed at a plurality of sites and interconnected by a communication network may constitute a blockchain system.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (19)

1. A virtual card-based card play prompting method, comprising:
displaying a scene interface of a virtual card game, wherein the scene interface comprises a personal display area, the personal display area is used for displaying virtual cards held by a current login account, and the virtual card game is an electronic playing card game;
obtaining competition information of the virtual card competition;
Inputting the competition information into a card-playing prompt model so that the card-playing prompt model outputs a plurality of card-playing probabilities of preset card types, wherein the preset card types refer to combinations formed by arranging virtual cards according to a specific sequence, suit or number;
determining a first target card type based on the card-out probability of the plurality of preset card types, the target virtual card and other virtual cards held by the current login account, wherein the first target card type is the card type with the largest card-out probability among the card types which can be formed by the target virtual card and the other virtual cards;
and selecting at least one virtual card meeting the first destination label type from the virtual cards held by the current login account, and displaying a card-out prompt for the at least one virtual card.
2. The virtual card-based play prompting method according to claim 1, wherein the acquiring game information of the virtual card game includes:
acquiring current card holding information of the current login account and historical card drawing information of a plurality of reference accounts, wherein the plurality of reference accounts are a plurality of accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card drawing information represents a virtual card historically drawn by the plurality of reference accounts;
The game information is determined based on the current deal information and the historical deal information.
3. The virtual card-based deal prompting method according to claim 2, wherein said determining said game information based on said current deal information and said historical deal information comprises:
the current card holding information and the historical card playing information form the competition information; or,
acquiring first card-playing sequence information of a target game identity and second card-playing sequence information of the current login account; and forming the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information into the competition information.
4. A virtual card-based deal prompting method according to claim 2 or 3, wherein said determining said game information based on said current deal information and said historical deal information comprises:
acquiring bottom card information, wherein the bottom card information represents a plurality of bottom cards in the virtual card game;
and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
5. The virtual card-based card play prompting method according to claim 2, wherein the process of obtaining the current card holding information of the current login account includes:
Determining a virtual card sequence corresponding to the virtual card game, wherein the virtual card sequence comprises a plurality of virtual cards with points;
determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account;
and forming the current card holding information by the number of each point virtual card and the number of each point virtual card.
6. The virtual card-based play cue method of claim 1, further comprising:
and under the condition that the target virtual card to be played is not selected by the current login account, determining the first target card type with the maximum card playing probability from the preset card types.
7. The virtual card-based play alert method of claim 1, wherein the training process of the play alert model comprises:
acquiring sample competition information of a historical competition round, wherein a sample login account is marked in the sample competition information, and a second target label type of a virtual card played by the historical competition round belongs to the sample login account;
and performing model training based on the sample competition information to obtain the card-playing prompt model.
8. The virtual card-based card play prompting method according to claim 1, wherein the scene interface further comprises a shared display area, wherein the shared display area is used for displaying virtual cards with played multiple reference accounts, and the multiple reference accounts are multiple accounts participating in the virtual card game; the method further comprises the steps of:
The at least one virtual card is moved from the personal presentation area to the shared presentation area in response to a card play instruction.
9. A virtual card-based card play prompting device, comprising:
the display unit is configured to execute a scene interface for displaying a virtual card game, wherein the scene interface comprises a personal display area which is used for displaying a virtual card held by a current login account, and the virtual card game is an electronic playing card game;
an acquisition unit configured to perform acquisition of game information of the virtual card game;
a determining unit including an input subunit and a second determining subunit; the input subunit is configured to perform inputting the game information into a card-playing prompt model, so that the card-playing prompt model outputs card-playing probabilities of a plurality of preset card types, wherein the preset card types refer to combinations of virtual cards arranged according to a specific sequence, suit or number;
the second determining subunit is configured to determine, when the current login account has selected a target virtual card to be played, a first target card type based on playing probabilities of the plurality of preset card types, the target virtual card and other virtual cards held by the current login account, where the first target card type is a card type with a maximum playing probability among card types that the target virtual card and the other virtual cards can compose;
And the prompting unit is configured to execute the selection of at least one virtual card meeting the first destination label type from the virtual cards held by the current login account and display the card-out prompt of the at least one virtual card.
10. The virtual card-based play advice apparatus according to claim 9, wherein the acquisition unit comprises:
the obtaining subunit is configured to obtain current card holding information of the current login account and historical card drawing information of a plurality of reference accounts, wherein the plurality of reference accounts are a plurality of accounts participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account, and the historical card drawing information represents a virtual card historically drawn by the plurality of reference accounts;
a first determination subunit configured to perform determining the game information based on the current dealing information and the historical dealing information.
11. The virtual card-based card play prompting device according to claim 10, wherein the first determination subunit is configured to perform composing the current card holding information and the historical card play information into the game information; or,
The first determining subunit is configured to execute obtaining first card-playing sequence information of the target game identity and second card-playing sequence information of the current login account; and forming the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information into the competition information.
12. The virtual card-based play alert device of claim 10 or 11, wherein the first determination subunit is configured to perform acquiring bottom card information representing a plurality of bottom cards in the virtual card game; and combining the current dealing information, the historical dealing information and the bottom card information into the competition information.
13. The virtual card-based play cue device of claim 10, wherein the acquisition subunit is configured to perform a determination of a virtual card sequence corresponding to the virtual card game, the virtual card sequence comprising a plurality of counted virtual cards; determining the number of virtual cards of each point based on the virtual card sequence and the virtual cards held by the current login account; and forming the current card holding information by the number of each point virtual card and the number of each point virtual card.
14. The virtual card-based play prompting device according to claim 9, wherein the second determining subunit is further configured to perform determining the first target card type with the largest play probability from the plurality of preset card types if the target virtual card to be played is not selected by the current login account.
15. The virtual card-based play cue device of claim 9, further comprising:
the training unit is configured to acquire sample match information of a historical match round, and the sample match information marks a second target mark type of a virtual card played by the historical match round by a sample login account; and performing model training based on the sample competition information to obtain the card-playing prompt model.
16. The virtual card-based card play prompting device according to claim 9, wherein the scene interface further comprises a shared display area, the shared display area is used for displaying virtual cards with played multiple reference accounts, and the multiple reference accounts are multiple accounts participating in the virtual card game; the apparatus further comprises:
a card discharge unit configured to execute moving the at least one virtual card from the personal presentation area to the shared presentation area in response to a card discharge instruction.
17. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the virtual card-based play cue method of any one of claims 1 to 8.
18. A computer readable storage medium, wherein instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the virtual card-based card play cue method of any one of claims 1 to 8.
19. A computer program product comprising computer programs/instructions which when executed by a processor implement the virtual card-based card play cue method of any one of claims 1 to 8.
CN202110662644.7A 2021-06-15 2021-06-15 Card-playing prompting method and device based on virtual card, electronic equipment and storage medium Active CN113384884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110662644.7A CN113384884B (en) 2021-06-15 2021-06-15 Card-playing prompting method and device based on virtual card, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110662644.7A CN113384884B (en) 2021-06-15 2021-06-15 Card-playing prompting method and device based on virtual card, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113384884A CN113384884A (en) 2021-09-14
CN113384884B true CN113384884B (en) 2024-03-26

Family

ID=77621226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110662644.7A Active CN113384884B (en) 2021-06-15 2021-06-15 Card-playing prompting method and device based on virtual card, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113384884B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014183512A1 (en) * 2013-05-17 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method and apparatus for implementing simulated card game
CN110175619A (en) * 2018-11-27 2019-08-27 深圳市腾讯信息技术有限公司 Method, equipment and storage medium are determined based on the board group of playing a card of machine learning model
CN110548277A (en) * 2019-09-29 2019-12-10 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring hand cards in card game program and readable medium
CN110585732A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Card handling information determining method and device, server and storage medium
CN111330282A (en) * 2020-02-20 2020-06-26 北京金山云网络技术有限公司 Method and device for determining card-playing candidate items
CN112295227A (en) * 2020-10-28 2021-02-02 北京字节跳动网络技术有限公司 Card game operation method and device, electronic equipment and storage medium
CN112535864A (en) * 2020-12-22 2021-03-23 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene
CN112774185A (en) * 2021-02-09 2021-05-11 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene
CN112827166A (en) * 2021-01-22 2021-05-25 腾讯科技(深圳)有限公司 Card object-based interaction method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014183512A1 (en) * 2013-05-17 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method and apparatus for implementing simulated card game
CN110175619A (en) * 2018-11-27 2019-08-27 深圳市腾讯信息技术有限公司 Method, equipment and storage medium are determined based on the board group of playing a card of machine learning model
CN110585732A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Card handling information determining method and device, server and storage medium
CN110548277A (en) * 2019-09-29 2019-12-10 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring hand cards in card game program and readable medium
CN111330282A (en) * 2020-02-20 2020-06-26 北京金山云网络技术有限公司 Method and device for determining card-playing candidate items
CN112295227A (en) * 2020-10-28 2021-02-02 北京字节跳动网络技术有限公司 Card game operation method and device, electronic equipment and storage medium
CN112535864A (en) * 2020-12-22 2021-03-23 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene
CN112827166A (en) * 2021-01-22 2021-05-25 腾讯科技(深圳)有限公司 Card object-based interaction method and device, computer equipment and storage medium
CN112774185A (en) * 2021-02-09 2021-05-11 腾讯科技(深圳)有限公司 Virtual card control method, device and equipment in card virtual scene

Also Published As

Publication number Publication date
CN113384884A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN110585726A (en) User recall method, device, server and computer readable storage medium
CN111083516B (en) Live broadcast processing method and device
CN110278464B (en) Method and device for displaying list
CN109922356B (en) Video recommendation method and device and computer-readable storage medium
CN111462742B (en) Text display method and device based on voice, electronic equipment and storage medium
CN111050189A (en) Live broadcast method, apparatus, device, storage medium, and program product
CN113613028B (en) Live broadcast data processing method, device, terminal, server and storage medium
CN112827166B (en) Card object-based interaction method and device, computer equipment and storage medium
CN111062824A (en) Group member processing method and device, computer equipment and storage medium
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN110548277B (en) Method, device and equipment for acquiring hand cards in card game program and readable medium
CN112367533B (en) Interactive service processing method, device, equipment and computer readable storage medium
CN108055349B (en) Method, device and system for recommending K song audio
CN112131473B (en) Information recommendation method, device, equipment and storage medium
CN112023403A (en) Battle process display method and device based on image-text information
CN110152309B (en) Voice communication method, device, electronic equipment and storage medium
CN113413587B (en) Information determination method, device, equipment and medium for card sports
CN113384884B (en) Card-playing prompting method and device based on virtual card, electronic equipment and storage medium
CN111641853B (en) Multimedia resource loading method and device, computer equipment and storage medium
CN110519614B (en) Method, device and equipment for interaction between accounts in live broadcast room
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers
CN110928913B (en) User display method, device, computer equipment and computer readable storage medium
CN114826799A (en) Information acquisition method, device, terminal and storage medium
CN113051485A (en) Group searching method, device, terminal and storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant