CN113384884A - Virtual card-based card-playing prompting method and device, electronic equipment and storage medium - Google Patents

Virtual card-based card-playing prompting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113384884A
CN113384884A CN202110662644.7A CN202110662644A CN113384884A CN 113384884 A CN113384884 A CN 113384884A CN 202110662644 A CN202110662644 A CN 202110662644A CN 113384884 A CN113384884 A CN 113384884A
Authority
CN
China
Prior art keywords
card
virtual
information
playing
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110662644.7A
Other languages
Chinese (zh)
Other versions
CN113384884B (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

Images

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 utility model relates to a virtual card-based card-playing prompting method, a virtual card-based card-playing prompting device, an electronic device and a storage medium, which relate to the technical field of Internet, and 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; acquiring match information of the virtual card match; determining a first target card type based on the match information; and displaying a card-playing prompt of the virtual card held by the current login account number based on the first target card type. In the method, because the current competition information can reflect the competition situation of the current login account, the first target card type determined based on the competition information is the card type which is probably to be played by the user using the terminal, and the first target card type is prompted to the user, so that the user does not need to manually select the virtual card to be played, and the card playing efficiency is improved.

Description

Virtual card-based card-playing prompting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a virtual card-based card-playing prompting method and apparatus, an electronic device, 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 play an entertainment event of a chess and card game through the chess and card application.
In the related art, when playing an entertainment event of a chess and card game through a chess and card application, a terminal may select at least one virtual card included in a preset card type from current virtual cards of 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 the playing efficiency is low.
Disclosure of Invention
The present disclosure provides a virtual card-based card-playing prompting method, device, electronic device, and storage medium, which can improve card-playing efficiency. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a virtual card-based card-playing prompting method, 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;
acquiring match information of the virtual card match;
determining a first target card type based on the match information;
and displaying a card-playing prompt of the virtual card held by the current login account number based on the first target card type.
In some embodiments, the obtaining of the tournament information of the virtual card tournament comprises:
acquiring current card holding information of the current login account and historical card playing 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 playing information represents a virtual card historically played by the plurality of reference accounts;
and determining the game information based on the current card holding information and the historical card playing information.
In still other embodiments, the determining the tournament information based on the current card holding information and the historical card dealing information includes:
the current card holding information and the historical card playing information form the game information; alternatively, the first and second electrodes may be,
acquiring first card-playing sequence information of the target match identity and second card-playing sequence information of the current login account; and forming the game information by using the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information.
In still other embodiments, the determining the tournament information based on the current card holding information and the historical card dealing information includes:
obtaining deal information, wherein the deal information represents a plurality of deals in the virtual card game;
and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
In other embodiments, the process of acquiring 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 a plurality of points;
determining a number of virtual cards per point based on the sequence of virtual cards and the virtual cards held by the current login account;
and forming the current card holding information by the virtual cards of each point and the number of the virtual cards of each point.
In other embodiments, the determining a first target card type based on the tournament information comprises:
inputting the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types;
and determining the first target card type based on the card-playing probabilities of the plurality of preset card types.
In other embodiments, the determining the first target card type based on the card-playing probabilities of 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; alternatively, the first and second electrodes may be,
and under the condition that the target virtual card to be played is selected by the current login account, determining the first target card type based on the card playing probabilities of the 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 highest card playing probability in 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 card-playing prompt model includes:
obtaining sample game information of a historical game round, wherein a second target card type to which a virtual card played by a sample login account in the historical game round belongs is marked in the sample game information;
and carrying out model training based on the sample competition information 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 number based on the first target card type includes:
selecting at least one virtual card satisfying the target card type from the virtual cards held by the current login account;
displaying a discard cue 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 played by a plurality of reference account numbers, where the plurality of reference account numbers are a plurality of account numbers participating in the virtual card game; the method further comprises the following steps:
moving the at least one virtual card from the personal display area to the shared display area in response to a card-out instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided a virtual card-based card-playing prompting apparatus, including:
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, and the personal display area is used for displaying a virtual card held by a current login account;
an acquisition unit configured to perform acquisition of match information of the virtual card match;
a determination unit configured to perform determining a first target card type based on the tournament information;
and the prompting unit is configured to execute card playing prompting on the virtual card held by the current login account based on the first target card type.
In other embodiments, the obtaining unit includes:
an acquisition subunit configured to perform acquisition of current card holding information of a virtual card held by the current login account and historical card playing information of virtual cards historically played by a plurality of reference accounts, the plurality of reference accounts being a plurality of login accounts participating in the virtual card game;
a first determining subunit configured to perform determining the game information based on the current card holding information and the historical card dealing information.
In other embodiments, the first determining subunit is configured to execute the step of combining the current card holding information and the historical card playing information into the game information; alternatively, the first and second electrodes may be,
the first determining subunit is configured to execute the steps of 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 game information by using the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information.
In still other embodiments, the first determining subunit is configured to perform obtaining deal information for a plurality of deals; and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
In still other embodiments, the obtaining subunit is configured to perform determining a virtual card sequence corresponding to the virtual card tournament, the virtual card sequence comprising a plurality of virtual cards of a point count; determining a number of virtual cards per point based on the sequence of virtual cards and the virtual cards held by the current login account; and forming the current card holding information by the virtual cards of each point and the number of the virtual cards of each point.
In other embodiments, the determining unit includes:
the input subunit is configured to input the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types;
a second determining subunit configured to perform determining the first target card type based on the card-out probabilities of the plurality of preset card types.
In other embodiments, the second determining subunit is configured to perform, in a case where the target virtual card to be played is not selected by the current login account, determining a first target card type with the highest playing probability from the plurality of preset card types; alternatively, the first and second electrodes may be,
the second determining subunit is configured to determine, when the target virtual card to be played is selected by the current login account, the first target card type based on the card 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 highest card playing probability among card types that can be formed by the target virtual card and the other virtual cards.
In other embodiments, the apparatus further comprises:
a training unit configured to execute obtaining sample game information of a historical game round, wherein a second target card type to which a virtual card played by a sample login account in the historical game round belongs is marked in the sample game information; and carrying out 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 satisfying the target card type from the virtual cards held by the current login account; and playing a card playing 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 played by a plurality of reference account numbers, where the plurality of reference account numbers are a plurality of account numbers participating in the virtual card game; the device further comprises:
a card-playing unit configured to perform moving the at least one virtual card from the personal display area to the shared display area in response to a card-playing instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
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-playing prompting method according to the above embodiment.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the virtual card-based card-out prompting method according to the above embodiments.
According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product comprising a computer program/instructions which, when executed by a processor, implements the virtual card-based card-playing cue method of the above-described embodiment.
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, because the current game information can reflect the game situation of the current login account, the first target card 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 first target card type is prompted to the user, so that the user does not need to manually select the virtual card 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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic illustration of an environment for implementing a virtual card-based card-playing cue method, according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a virtual card-based card-discard cue method according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a virtual card-based card-discard cue method according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a virtual card-based card-playing cue method according to an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a virtual card-based card-out cue method according to an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a virtual card-based card-out cue method according to an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a virtual card-based card-out cue method according to an exemplary embodiment;
FIG. 8 is a schematic diagram illustrating a virtual card-based card-out cue method according to an exemplary embodiment;
FIG. 9 is a flow diagram illustrating a virtual card-based card-out cue method according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating a configuration of a virtual card-based discard prompting 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 make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in 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 above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The user information to which the present disclosure relates may be information authorized by the user or sufficiently authorized by each party.
The playing card prompting method based on the virtual cards 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 computer, a notebook computer, or a desktop computer. In another possible implementation manner, the electronic device may be a server, and the server is a server, or at least one of a server cluster cloud server, a cloud computing platform, and a virtualization center, which is composed of several servers. 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 taken as an example for description. Fig. 1 is a schematic diagram of an implementation environment of a virtual card-based card-playing prompting method according to an exemplary embodiment, and referring to fig. 1, the implementation environment includes: a server 20 and a plurality of terminals 10. Each terminal 10 and the server 20 are connected through a wireless or wired network.
Each terminal 10 has installed thereon a target application served by the server 20, and each terminal 10 can implement 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 by a third party. In some embodiments, the target application is any application having game control functionality, game tournament functionality, e.g. the target application is a virtual card application.
In some embodiments, the target application may be a standalone virtual card application.
In other embodiments, the target application may also be an application capable of providing a runtime environment for a target applet, the target applet being a virtual tile applet; for example, the target application may be a game application, a social application, or a browser application. In this embodiment, the terminal 10 can run the target applet based on the execution environment provided by the target application without downloading and installing the target applet.
In some embodiments, each terminal 10 is capable of interacting with the server 20 via a virtual card application or virtual card applet to effect virtual card-based card-play cues. And the server 20 is used for providing background services for the terminal 10.
The playing card prompting method based on the virtual cards, 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 a virtual card for the user operating the terminal through the virtual card-based card playing prompt method provided by the embodiment of the disclosure.
It should be noted that the above application scenarios are only exemplary, and do not limit the game scenarios of the chess and card games, and the present disclosure can be applied to any other game scenarios of the chess and card games besides the above application scenarios.
Fig. 2 is a flowchart illustrating a virtual card-based card-playing prompting method according to an exemplary embodiment, which is used in an electronic device, as shown in fig. 2, and includes the following steps.
In step S21, displaying a scene interface of the virtual card game, where the scene interface includes a personal display area for displaying a virtual card held by the current login account;
in step S22, match information of the virtual card match is acquired;
in step S23, a first target card type is determined based on the match information;
in step S24, a virtual card-playing prompt for the current login account number is displayed based on the first target card type.
In some embodiments, the obtaining of the tournament information for the virtual card tournament comprises:
acquiring current card holding information of the current login account and historical card playing 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 playing information represents a virtual card historically played by the plurality of reference accounts;
and determining the game information based on the current card holding information and the historical card playing information.
In other embodiments, the determining the deal information based on the current card holding information and the historical card dealing information includes:
the current card holding information and the historical card playing information form the competition information; alternatively, the first and second electrodes may be,
acquiring first card-playing sequence information of the target match identity and second card-playing sequence information of the current login account; and combining the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information to form the game information.
In other embodiments, the determining the deal information based on the current card holding information and the historical card dealing information includes:
obtaining deal information, the deal information representing a plurality of deals in the virtual card game;
and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
In other embodiments, the process of obtaining the current card holding information of the virtual card held by the current login account number 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 virtual cards of each point and the number of the virtual cards of each point.
In other embodiments, the determining a first target card type based on the tournament information comprises:
inputting the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types;
and determining the first target card type based on the card-playing probabilities of the plurality of preset card types.
In other embodiments, the determining the first target card type based on the card-playing probabilities of 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; alternatively, the first and second electrodes may be,
and under the condition that the current login account number selects a target virtual card to be played, determining the first target card type based on the card playing probabilities of the preset card types, the target virtual card and other virtual cards held by the current login account number, wherein the first target card type is the card type with the highest card playing probability in 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 card-playing prompt model comprises:
obtaining sample game information of a historical game round, wherein a second target card type to which a virtual card played by a sample login account in the historical game round belongs is marked in the sample game information;
and carrying out model training based on the sample competition information to obtain the card-playing prompt model.
In other embodiments, the presenting a card-play cue for the virtual card held by the current registered account number based on the first target card type includes:
selecting at least one virtual card satisfying the target card type from the virtual cards held by the current login account;
a discard cue is presented for the at least one virtual card.
In some embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards played by a plurality of reference account numbers, where the plurality of reference account numbers are a plurality of account numbers participating in the virtual card game; the method further comprises the following steps:
in response to a card-out instruction, moving the at least one virtual card from the personal display area to the shared display area.
In the embodiment of the disclosure, in the virtual card game process, because the current game information can reflect the game situation of the current login account, the first target card 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 first target card type is prompted to the user, so that the user does not need to manually select the virtual card to be played, and the card playing efficiency is improved.
Fig. 3 is a flowchart illustrating a method for prompting a card-out based on virtual cards according to an exemplary embodiment, as shown in fig. 3, in an embodiment of the present disclosure, an electronic device is taken as a terminal, and a card-out prompt for a currently registered account is shown by the terminal in a currently ongoing virtual card game, which includes the following steps.
In step S31, the terminal displays a scene interface of the virtual card game, where the scene interface includes a personal display area for displaying 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, and the like, which is not limited in the disclosure. The current login account may be a login account of a target object, and the target object is an object of the operation terminal. In the embodiment of the present disclosure, a user who uses a target object as a terminal is taken as an example for description.
In the disclosed embodiment, 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 a target object wants to play a virtual card game through the target application, the target object can trigger the terminal to display a scene interface of a virtual card in the target application; since 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 to be played from the virtual cards, so as to trigger the terminal to execute card playing operation to play the virtual card game.
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 the card playing efficiency.
It should be noted that, since the virtual card game is a game in which a plurality of reference account numbers play on the basis of respective held virtual cards, 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 the card-playing objects to determine whether to play cards. Wherein at least one reference account is played in each game round.
In the embodiment of the application, before the card-out prompt of the current login account is displayed, the terminal obtains the game information of the virtual card game, that is, the operations of the steps S32-S33 are executed, and the card-out prompt of the current login account is displayed based on the game information.
In step S32, the terminal acquires the current card holding information of the current login account and the historical card playing information of a plurality of reference accounts.
The plurality of reference account numbers are a plurality of account numbers participating in the virtual card game, the current card holding information represents a virtual card currently held by the current login account number, and the historical card playing information represents a virtual card historically played by the plurality of reference account numbers.
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 before the current card playing object is updated to be the current login account.
In some embodiments, the process of acquiring the current card holding information of the current login account by the terminal includes the following steps (1) - (3):
(1) the terminal determines a virtual card sequence corresponding to the virtual card tournament, the virtual card sequence including a plurality of virtual cards of a point count.
Wherein each virtual card has at least one element of suit or data, etc., and the deck of virtual cards to which each virtual card game corresponds further includes a general virtual card and a special virtual card. And the number of the special virtual cards is larger than that of the common virtual cards.
Correspondingly, the implementation manner of the terminal determining the virtual card sequence corresponding to the virtual card game may be as follows: the terminal regards the virtual cards with the same data as virtual cards with the same number, and sorts the virtual cards in the virtual card game according to the number to obtain the virtual card sequence.
In this implementation, the plurality of virtual cards are a plurality of virtual cards with non-repeating points; that is, for two common virtual cards of different suits but the same data, the terminal treats the two common virtual cards as virtual cards of the same rank.
For example, taking the example of virtual cards as electronic playing cards, a deck of electronic playing cards containing 54 virtual cards would include from 1 to 10(1 being generally denoted a) and J, Q, K representing 13 common virtual cards, and also including 2 special virtual cards represented by the queen and queen.
It should be noted that the number of the virtual cards can be set and changed according to the need, which is not specifically limited in the present application; in one possible implementation, for a common virtual card, the higher the data, the greater the number of points; for a particular virtual card, the more complex the suit, the greater the number of points. For example, taking the virtual card as an electronic playing card as an example for explanation, the number of points corresponding to the virtual card "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 the common virtual cards may not be proportional to the size of the data; for example, if the terminal presets the virtual cards (1 is usually denoted as A) with data 1 and 2 as 14 and 15, respectively, the point number of the virtual cards is set to be 1 and 15
Referring to fig. 4, a red peach 3, a black peach 3, a square slice 3 and a plum blossom 3 are all regarded as a point 3, a red peach 4, a black peach 4, a square slice 4 and a plum blossom 4 are all regarded as a point 4, and by analogy, a red peach J, a black peach J, a square slice J and a plum blossom J are all regarded as a point 11, a red peach Q, a black peach Q, a square slice Q and a plum blossom Q are all regarded as a point 12, a red peach K, a black peach K, a square slice K and a plum blossom K are all regarded as a point 13, a red peach a, a black peach a, a square slice a and a plum blossom a are all regarded as a point 14, a red peach 2, a black peach 2, a square slice 2 and a plum blossom 2 are all regarded as a point 15, a queen is regarded as a point 16, and a queen is regarded as a point 17.
(2) The terminal determines the number of virtual cards per point based on the virtual card sequence and the virtual cards held by the current login account.
In some embodiments, the implementation of this step may be: and for the virtual cards held by the current login account, the terminal counts according to the number of the virtual cards corresponding to each virtual card to obtain the number of the virtual cards of each number in the virtual card sequence.
In addition, if any virtual card of a point in the virtual card sequence does not include the virtual card, the terminal determines that the number of virtual cards of the point is 0.
In this embodiment, the terminal uses a point array with a length of a predetermined length to represent the number of virtual cards per point in the virtual card sequence. Wherein, the preset length is the number of the virtual cards contained in the virtual card sequence. The preset length may be set and changed as needed, and the disclosure does not specifically limit this.
For example, taking the example of the virtual cards as electronic playing cards, the predetermined length may be 15, i.e., the virtual card sequence includes 13 general virtual cards and 2 special virtual cards. Referring to fig. 5, the number array of points is used to represent the red peach 3, the square slice 3, the red peach 5, the king and the king; where 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, the point array is [2, 0, 1, 0, 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 of each point and the number of the virtual cards of each point.
In the point array, the position of each point is uniquely determined, so that the terminal can pre-store the corresponding relation between the position and the virtual card; accordingly, the terminal can use the point array as the current card holding information.
In some embodiments, the terminal may determine the correspondence between the position and the virtual card by: 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 present disclosure, the number of each virtual card in the virtual cards held by the current login account may be counted based on the number of the corresponding virtual card in the virtual card sequence, so as to obtain the current card holding information including the number of the virtual cards of each number, thereby providing support for the input data of the card-out prompt model.
It should be noted that the embodiments of the present disclosure can be applied to the following two cases:
the first case is that in the case where no other reference account has played a virtual card, the current registered account is the reference account for playing the virtual card first in the virtual card game, and the virtual card needs to be played.
In this case, since the plurality of reference account numbers do not play the virtual card, the terminal does not need to acquire the history card playing information.
In the second case, after the virtual card is played by the previous card playing object, the current login account needs to play its own virtual card according to the virtual card played by the previous card playing object.
In this case, the terminal can acquire the history card-out information. The process of acquiring the historical card playing information by the terminal can be realized by the following several implementation modes.
In a first implementation manner, a terminal determines a virtual card sequence corresponding to the virtual card game, wherein the virtual card sequence comprises a plurality of virtual cards with a plurality of 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 account numbers; and composing the virtual cards with each point and the number of the virtual cards with each point into the historical card playing information.
The implementation manner of obtaining the historical card playing information by the terminal is similar to the implementation manner of obtaining the current card holding information by the terminal in step S32, and details are not repeated here.
In the implementation mode, because the plurality of reference account numbers are not distinguished, the historical card playing information is determined only according to the currently played virtual card, so that the information acquisition time is saved, and the information acquisition efficiency 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 enables the card-playing information of the reference account numbers to form the historical card-playing information, and each card-playing information in the historical card-playing information has an account number identification.
The account ID may be an ID (Identity Document) of the reference account. The implementation manner of determining the card-playing information of each reference account by the terminal is similar to the implementation manner of obtaining the current card-holding information by the terminal, and is not described herein again.
In the implementation mode, because the card-playing information of each reference account is acquired, account division of the historical card-playing information is realized, and thus the referential property of the historical card-playing information is improved.
In a third implementation manner, for each game round, the terminal respectively determines card playing information of the game round, wherein the card playing information represents virtual cards played by a plurality of reference account numbers in the game round; the terminal enables the card-playing information of each competition round to form the historical card-playing information, and each card-playing information in the historical card-playing information has a respective round identifier.
Wherein, the round identification can be a serial number of the competition round. For example, the round identification of the first race round is 1, and the round identification of the second race round is 2. In the implementation mode, the card information of each game round is divided, so that the referential performance of the historical card playing information is improved.
In the embodiment of the present disclosure, the second implementation manner described above is taken as an example for explanation.
In step S33, the terminal determines the match information based on the current card holding information and the historical card dealing information.
In some embodiments, the implementation of step S33 may be: and the terminal combines the current card holding information and the historical card playing information into the game information.
In this embodiment, since the current card holding information and the historical card playing information can represent the game situation of the current virtual card game, the current card holding information and the historical card playing information can be combined into the game information, so that the terminal does not need to acquire other information, the time for acquiring information is saved, and the information acquisition efficiency is high.
In other embodiments, the terminal may further determine the game information by combining the card-playing sequence information of each reference account, and accordingly, the implementation manner of step S33 may further be: the terminal acquires first departure sequence information of the target game identity and second departure sequence information of the current login account; and combining the current card holding information, the historical card playing information, the first playing sequence information and the second playing sequence information to form the game information.
In this embodiment, each of the plurality of reference account numbers has a respective game identity. In the virtual card game process, the current login account may be in a confrontational relationship with other reference accounts in the plurality of reference accounts, or at least one reference account in the plurality of reference accounts has a cooperative relationship with the current login account, that is, the at least one reference account of the current login account is in a confrontational relationship with other reference accounts in the plurality of reference accounts.
Correspondingly, the target game identity is a game identity corresponding to a reference account in which other reference accounts are all in a confrontational relationship. The first card-playing sequence information and the second card-playing sequence information respectively represent the target game identity and the playing sequence of the current login account in the current virtual card game, and the playing sequence is fixed and unchanged in the current virtual card game.
For example, taking the virtual card as an electronic playing card as an example, the game identity of each reference account may be any one of the identities of a landholder or a farmer, and the target game identity is the landholder, the first card-playing sequence information is 1, and the second card-playing sequence information may be 2 or 3.
In this embodiment, since the match identity of each reference account has an influence on the card-out operation of the reference account, it can be determined whether the match identity of the current login account is the target match identity by acquiring the first card-out sequence information of the target match identity and the second card-out sequence information of the current login account, so that the first target card type can be subsequently determined by combining the match identity of the current login account, and data support is provided for improving the accuracy of card type determination.
In other embodiments, the terminal may further determine the game information in combination with the playing cards, and accordingly, the step S33 may be implemented by: the terminal acquires deal information which represents a plurality of deals in the virtual card game; and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
The bottom card is at least one virtual card which is displayed in a bright card mode and held by a reference account corresponding to the target game identity in the virtual card game process.
In this embodiment, since the base card is a virtual card of the target match identity, the first target card type can be determined more accurately by combining the base card information, and further, data support is provided for improving the accuracy of card type determination.
It should be noted that the terminal may determine the game information according to any one of the above-mentioned implementations, or the terminal may also determine the game information by combining any two or three of the above-mentioned implementations, which is not specifically limited by the present disclosure. In the embodiment of the present disclosure, the description will be given taking an example in which the match information includes current card holding information, historical card-playing information, deal information, first card-playing sequence information, and second card-playing sequence information.
In the disclosed embodiment, after obtaining the tournament information, the terminal determines the first target card type based on the tournament information, i.e., performs the operations of steps S34-S35.
In step S34, the terminal inputs the game information into the card-out presentation model to obtain card-out probabilities of a plurality of preset card types.
Wherein, the card-playing prompt model is a trained model. The type of the card-playing prompt model can be set and changed according to needs, and the card-playing prompt model is not particularly limited by the disclosure; for example, the card-out cue model may be a deep learning based neural network model.
In some embodiments, a card-playing prompting model is built in the terminal, and the terminal inputs the game information into the card-playing prompting model to obtain card-playing probabilities of a plurality of preset card types.
In this step, since the game information contains a large amount of information, the terminal extracts a feature from the game information, uses the feature as input data of the card-out presentation model, and inputs the input data into the card-out presentation model.
For example, taking the number of reference account numbers participating in the virtual card game as 3 as an example, the feature may be an array including 77 elements, that is, the length of the array is 77; the content of this feature is as follows:
element 0: the first card-playing sequence information is in a value range of 0-2;
element 1: the second card-playing sequence information is in a value range of 0-2;
elements 2 to 16: the format of the current holding information refers to the point array in step S32;
elements 17 to 31: the format of the card playing information of the current login account in the historical card playing information refers to the point array in the step S32;
elements 32 to 46: the format of the card playing information of the reference account which plays the card after the current login account in the historical card playing information refers to the point array in the step S32;
elements 47-61: the format of the card playing information of the reference account numbers playing cards after the reference account number in the historical card playing information refers to the point array in the step S32;
elements 62-76: the floor 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 card-out cue model that outputs card-out probabilities for a plurality of preset card styles.
In this embodiment, since the card-out probabilities of the plurality of preset card types can be acquired on the terminal side, the efficiency of probability acquisition is high.
In other embodiments, the terminal obtains the card-playing probabilities of the preset card types by means of the server, and accordingly, the step may be implemented by: the terminal sends the competition information to the server; the server receives the game information, inputs the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types, and sends the card-playing probabilities of the plurality of preset card types to the terminal; and the terminal receives the card-playing probability of the preset card type.
In the embodiment, because the server is used for predicting the card-playing probabilities of a plurality of preset card types based on the game information, the card-playing prompting model does not need to be deployed on the terminal side, and the processing resources on the terminal side are saved.
In the embodiment of the present disclosure, the terminal may obtain the card-playing probabilities of the preset card types according to any one of the above-mentioned implementation manners, which is not specifically limited by the present disclosure.
The terminal is provided with a plurality of preset brand types in advance; the embodiment of the present disclosure does not specifically limit the arrangement of the plurality of preset brand types. For example, the plurality of preset card types may be determined based on a type of the virtual card game; the type may be any one of an electronic poker game or a mahjong game, etc.
In this step, the output data of the card-playing prompt model is the card-playing probabilities of the preset card types, and the format of the output data may be a tag array.
For example, taking the example of an electronic playing card game as an example, the plurality of preset card types may be: at least two of rocket, bomb, airplane, shunzi, couple, three, couple, single card and other types. Wherein, the rocket comprises two special virtual cards; the bomb comprises four virtual cards with different suits and same data; the airplane comprises two groups of virtual cards with continuous data, and each group of virtual cards comprises three virtual cards with different suits and same data; the sequence includes at least five virtual cards with consecutive data; the continuous pair of virtual cards 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 suits and same data; the pair comprises two virtual cards with different suits and same data; the single card includes any one of the virtual cards.
In step S35, the terminal determines the first target card type based on the card-playing probabilities of the preset card types.
Wherein, the first target card type is the card type which the predicted target object wants to play. For example, taking the example of an electronic playing card game, the first target card type may be: at least one of rocket, bomb, airplane, shunzi, couple, three, couple, single card and other card types.
In the embodiment of the disclosure, the game information is analyzed and processed based on the card-playing prompt model, and the card-playing probabilities of a plurality of preset card types are obtained through prediction, so that the first target card type is obtained, the target object does not need to consider and select virtual cards to be played too much, other reference account numbers do not need to wait for a long time, and the card-playing time is saved.
In some embodiments, the implementation of this step may be: and under the condition that the target virtual card to be played is not selected by the current login account, the terminal determines a first target card type with the maximum card playing probability from the plurality of preset card types.
For example, referring to fig. 7, if the preset card types include rockets, bombs, airplanes, shun son, couple, 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 ]; the preset card types are sorted according to the card-playing sequence, and the obtained label array is [0.65, 0.61, 0.33, 0.22, 0.12, 0.09 and 0.01 ].
In this embodiment, if the target object does not determine the target virtual card, the preset card type with the highest card-out probability may be used as the first target card type, so that the current login account does not need to select another virtual card, and the card type determination efficiency is higher.
In other embodiments, the implementation of this step may be: and under the condition that the current login account number selects a target virtual card to be played, the terminal determines the first target card type based on the card playing probabilities of the preset card types, the target virtual card and other virtual cards held by the current login account number, wherein the first target card type is the card type with the highest card playing probability in the card types which can be formed by the target virtual card and the other virtual cards.
If the target virtual card is selected by the current login account, the terminal can select a card type which can form a preset card type with the target virtual card and has the maximum card-out probability from other virtual cards held by the current login account.
For example, referring to fig. 8, the features extracted from the game information are input into a trained card-playing prompting model, the card-playing prompting model outputs card-playing probabilities of a plurality of preset card types, and a first target card type is determined and obtained in combination with a target virtual card selected by the current login account.
In this embodiment, as the target virtual card selected by the current login account is combined, the determined first target card type is closer to the virtual card that the target object to which the current login account belongs wants to play, and the card type determination accuracy is higher.
In step S36, the terminal presents a card-playing prompt for the virtual card held by the current login account based on the first target card type.
In some embodiments, the implementation of this step may be: the terminal selects at least one virtual card meeting the target card type from the virtual cards held by the current login account; a discard cue is presented for the at least one virtual card.
In this embodiment, the terminal may highlight the at least one virtual card, and accordingly, the implementation manner of the terminal displaying the card-playing prompt of the at least one virtual card may be: in the personal display area, the terminal displays the virtual cards contained in the target card type combination in a target display style, wherein the target display style is different from the display style of the virtual cards except 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 needs, which is not specifically limited in the present application; 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 to move the display position of the at least one virtual card by a preset height. The preset height is not particularly limited by the present disclosure; for example, the preset height may be 3mm, 5mm, etc.
The operation of step S36 may be understood as one implementation of the terminal playing a card in the virtual card held by the current registered account based on the first target card type.
In the embodiment of the disclosure, the card-playing prompt of at least one virtual card meeting the first target card type 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 the convenience of card-playing operation is further improved.
In some embodiments, the scene interface further includes a shared display area for displaying virtual cards played by a plurality of reference account numbers; the virtual card-based card-playing prompting method provided by the present disclosure further includes 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.
Wherein the card-playing instruction is used for indicating that the virtual card is played.
In the disclosed embodiment, the progress of the subsequent virtual card game is promoted by moving at least one virtual card to the shared display area so that the other reference account numbers continue the virtual card game based on the at least one virtual card.
Fig. 9 is a flowchart illustrating a method for prompting a card-playing based on virtual cards according to an exemplary embodiment, and as shown in fig. 9, in the embodiment of the present disclosure, an electronic device is taken as a server, and a card-playing prompting model trained by the server is taken as an example for explanation, which includes the following steps.
In step S91, the server acquires sample game information of a historical game round, in which a second target card type to which a virtual card played by a sample registration account in the historical game round belongs is marked.
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 for the sample login account and sample historical card playing information for 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 playing information represents the virtual cards historically played by the plurality of sample reference accounts; the second target card type may be any one of a plurality of preset card types.
The historical playing round may be a playing round during any virtual card game prior to the current virtual card game; alternatively, the historical playing round may be a playing round during a target virtual card game prior to the current virtual card game. The target virtual card tournament may be a virtual card tournament in which at least one sample reference account having a higher rank than a preset rank participates.
In some embodiments, each sample reference account has a corresponding rating, and the rating may be determined according to the total number of games the sample reference account participates in; for example, the greater the total number of plays, the higher the ranking; alternatively, the ranking may be determined according to the match success ratio of the sample reference account; for example, the higher the match success ratio, the higher the ranking. The present disclosure does not specifically limit the setting of the preset level.
The match success ratio is the ratio of the number of times of match success of the sample reference account in the participated virtual card game to the total number of times of match.
In this step, the server may obtain the sample game information of the historical game round by means of the terminal, and accordingly, the server may obtain the sample game information of the historical game round in a manner that: the terminal acquires sample competition information of a historical competition round and sends the sample competition information to the server; the server receives the sample game information.
In some embodiments, the sample deal information may further include at least one of sample deal information, third deal sequence information of the target deal identity, or fourth deal sequence information of the sample log-in account.
The current sample card holding information, the historical sample card playing information, the sample bottom card information, the third card playing sequence information and the fourth card playing sequence information are sample input data, and the second target card type is sample output data.
For example, taking the virtual card game as an electronic playing card game as an example, the preset card types include rocket, bomb, airplane, cis, couple, three, couple, and single card, and if the second target card type is cis, the sample output array corresponding to the second target card type may be [0, 0, 0, 1, 0, 0, 0, 0 ].
For another example, taking the number of sample reference account numbers participating in the historical virtual card game as 3 as an example, the characteristic corresponding to the sample game information may be an array including 92 elements, that is, the length of the array is 92, and the content included in the characteristic is as follows:
element 0: the third card-playing sequence information is in a value range of 0-2;
element 1: the fourth card-playing sequence information is in a value range of 0-2;
elements 2 to 16: the sample current holding information refers to the point array in the step S32;
elements 17 to 31: the card playing information of the sample login account in the sample historical card playing information refers to the point array in the step S32 in format;
elements 32 to 46: the format of the card playing information of the sample reference account which is played after the sample login account in the sample historical card playing information refers to the point array in the step S32;
elements 47-61: the format of the card playing information of the sample reference account which is played after the sample reference account in the sample historical card playing information refers to the point array in the step S32;
elements 62-76: the sample deal information is formatted with reference to the point array in step S32;
77-91 elements: a second target card type, the format being referenced to the sample output array.
In step S92, the server performs model training based on the sample game information to obtain the card-out presentation model.
In this step, after performing offline training, the server transmits the trained card-out prompting model to the terminal, and the terminal executes the operations of step S31 to step S35; or the server stores the trained card-playing prompting model, inputs the game information into the card-playing prompting model when receiving the game information sent by the terminal again to obtain the card-playing probabilities of a plurality of preset card types, and sends the card-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 subsequently participating in the virtual card game, and the playing prompt model is trained by acquiring the sample game information in the historical game round, so that the playing prompt model can learn the nonlinear relationship between the sample input data and the sample output data in the historical game information, and therefore, when the playing prompt model is used for playing the playing prompt, the intention of the target object to which the currently logged account belongs can be accurately predicted, and the accuracy of the playing prompt is further improved.
Fig. 10 is a block diagram illustrating a structure of a virtual card-based card-out cue 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 for displaying a virtual card held by a current login account;
an acquisition unit 1002 configured to perform acquisition of match information of the virtual card match;
a determination unit 1003 configured to perform determining a first target card type based on the tournament information;
a presentation unit 1004 configured to perform presentation of a card-out presentation of a virtual card held by the current login account based on the first target card type.
In other embodiments, the obtaining unit 1002 includes:
an obtaining subunit, configured to perform obtaining 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 determining subunit configured to perform determining the game information based on the current card holding information and the historical card playing information.
In other embodiments, the first determining subunit is configured to execute the step of combining the current card holding information and the historical card playing information into the game information; alternatively, the first and second electrodes may be,
the first determining subunit is configured to execute the steps of obtaining 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 card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information to form the game information.
In other embodiments, the first determining subunit is configured to perform obtaining deal information for a plurality of deals; and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
In other embodiments, the obtaining subunit is configured to perform determining a virtual card sequence corresponding to the virtual card tournament, the virtual card sequence comprising a plurality of virtual cards of a point count; 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 virtual cards of each point and the number of the virtual cards of each point.
In other embodiments, the determining unit 1003 includes:
the input subunit is configured to input the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types;
a second determining subunit configured to perform determining the first target card type based on the card-out probabilities of the plurality of preset card types.
In other embodiments, the second determining subunit is configured to determine, in a case where the target virtual card to be played is not selected by the current login account, a first target card type with the highest playing probability from the plurality of preset card types; alternatively, the first and second electrodes may be,
the second determining subunit is configured to determine, when the current login account has selected a target virtual card to be played, the first target card type based on the card playing probabilities of the 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 highest card playing probability in card types that can be formed by the target virtual card and the other virtual cards.
In other embodiments, the apparatus further comprises:
a training unit configured to execute obtaining sample game information of a historical game round, wherein a second target card type to which a virtual card played by a sample login account in the historical game round belongs is marked in the sample game information; and carrying out model training based on the sample competition information to obtain the card-playing prompt model.
In other embodiments, the prompting unit 1004 is configured to select at least one virtual card satisfying the target card type from the virtual cards held by the current login account; a discard cue is presented for the at least one virtual card.
In some embodiments, the scene interface further includes a shared display area, where the shared display area is used to display virtual cards played by a plurality of reference account numbers, where the plurality of reference account numbers are a plurality of account numbers participating in the virtual card game; the method further comprises the following steps:
a card-playing unit configured to perform moving the at least one virtual card from the personal display area to the shared display area in response to a card-playing instruction.
In the embodiment of the disclosure, in the virtual card game process, because the current game information can reflect the game situation of the current login account, the first target card 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 first target card type is prompted to the user, so that the user does not need to manually select the virtual card to be played, and the card playing efficiency is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In some embodiments, the electronic device may be provided as a terminal; accordingly, fig. 11 is a block diagram illustrating a configuration of a terminal 10 according to an exemplary embodiment. In some embodiments, the terminal 10 may be: smart phones, tablet computers, notebook computers, desktop computers, or the like. The terminal 10 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
Generally, 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, and so forth. In some embodiments, the processor 101 is implemented in hardware using at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). In some embodiments, the processor 101 also includes a main processor and a coprocessor, the main processor is a processor for Processing data in the wake state, also called a Central Processing Unit (CPU); 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), which is responsible for rendering and drawing the content that the display screen needs 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 magnetic 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-playing prompting method provided by method embodiments in the present disclosure.
In some embodiments, the terminal 10 may further include: a peripheral interface 103 and at least one peripheral. In some embodiments, processor 101, memory 102, and peripheral interface 103 are connected by a bus or signal line. In some embodiments, various peripheral devices are connected to peripheral 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.
The peripheral interface 103 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 101 and the 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 two of the processor 101, the memory 102 and the peripheral interface 103 are implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 104 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 104 communicates with communication networks and other communication devices via electromagnetic signals. The rf 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 rf circuitry 104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. In some embodiments, the radio frequency circuitry 104 communicates with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 104 further includes NFC (Near Field Communication) related circuits, which are not limited by this 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 capture touch signals on or over the surface of the display screen 105. In some embodiments, the touch signal is input to the processor 101 as a control signal for processing. At this point, the display screen 105 is also used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 105 is one, disposed on the front panel of the terminal 10; in other embodiments, the display screens 105 are at least two, each disposed on a different surface of the terminal 10 or in a folded design; 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 arranged in a non-rectangular irregular pattern, i.e. a shaped screen. In some embodiments, the Display 105 is made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 106 is used to capture images or video. In some embodiments, camera assembly 106 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera head 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 double-color-temperature flash lamp is 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 circuitry 107 includes a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, 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 to realize voice communication. In some embodiments, the microphones are multiple and are disposed at different locations of the terminal 10 for stereo sound capture or noise reduction purposes. In some embodiments, the microphone is an array microphone or an omni-directional pick-up 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 membrane speaker, and in some embodiments, the speaker is a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to human, but also the electric signal can be converted into a sound wave inaudible to human for use in distance measurement or the like. In some embodiments, audio circuitry 107 also includes a headphone jack.
The positioning component 108 is used to locate the current geographic Location of the terminal 10 for navigation or LBS (Location Based Service). In some embodiments, the Positioning component 107 is a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, or the russian galileo System.
The power supply 109 is used to supply power to the various components in the terminal 10. In some embodiments, the power source 109 is alternating current, direct current, a disposable battery, or a rechargeable battery. When the power supply 109 includes 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 also includes one or more sensors 110. The one or more sensors 110 include, but are not limited to: acceleration sensor 111, gyro sensor 112, pressure sensor 113, fingerprint sensor 114, optical sensor 115, and proximity sensor 116.
In some embodiments, the acceleration sensor 111 detects acceleration magnitudes on three coordinate axes of a coordinate system established with the terminal 10. For example, the acceleration sensor 111 is used to detect components of the gravitational acceleration in three coordinate axes. In some embodiments, the processor 101 controls the display screen 105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 111. In some embodiments, the acceleration sensor 111 is also used for the acquisition of motion data of a game or a 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 acquire the 3D motion of the user on the terminal 10. The processor 101 can implement the following functions according to the data collected by the gyro sensor 112: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
In some embodiments, the pressure sensors 113 are disposed on the side bezel of the terminal 10 and/or underlying layers of the display screen 105. When the pressure sensor 113 is disposed on the side frame of the terminal 10, the holding signal of the user to the terminal 10 can be detected, and the processor 101 performs left-right hand recognition or shortcut operation according to the holding 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 control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 114 is used for collecting a fingerprint of the user, and the processor 101 identifies the user according to the fingerprint collected by the fingerprint sensor 114, or the fingerprint sensor 114 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 101 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, 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 a vendor Logo is provided on the terminal 10, the fingerprint sensor 114 is integrated with the physical key or the 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 ambient light intensity collected by optical sensor 115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 105 is increased; when the ambient light intensity is low, the display brightness of the display screen 105 is reduced. In another embodiment, the processor 101 also dynamically adjusts the shooting parameters of the camera head assembly 106 according to the ambient light intensity collected by the optical sensor 115.
A proximity sensor 116, also known as a distance sensor, is typically provided on the front panel of the terminal 10. The proximity sensor 116 is used to capture the distance between the user and the front face of the terminal 10. In one embodiment, when the proximity sensor 116 detects that the distance between the user and the front surface of the terminal 10 gradually decreases, the processor 101 controls the display 105 to switch from the bright screen state to the dark screen state; when the proximity sensor 116 detects that the distance between the user and the front surface of the terminal 10 is gradually increased, the display 105 is controlled by the processor 101 to switch from the sniff state to the illuminated state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 is not intended to be limiting of terminal 10, and can include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium comprising instructions, such as the memory 102 comprising instructions, which when executed by a processor of an electronic device, enable the electronic device to perform the virtual card-based card-playing prompting method of the above-described embodiments. The instructions are executable by a processor of an electronic device to perform the virtual card-based card-deal prompting method. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions which, when executed by a processor, implement the virtual card-based card-playing promotion method of the above-described embodiments.
In some embodiments, the computer program according 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 on a plurality of electronic devices distributed at a plurality of sites and interconnected by a communication network, and the plurality of electronic devices distributed at the plurality of sites and interconnected by the communication network may constitute a block chain 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 variations, uses, or adaptations of the disclosure following, in general, the 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A card-playing prompting method based on virtual cards is characterized by comprising 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;
acquiring match information of the virtual card match;
determining a first target card type based on the match information;
and displaying a card-playing prompt of the virtual card held by the current login account number based on the first target card type.
2. The virtual card-based card-playing presentation method of claim 1, wherein said obtaining game information for the virtual card game comprises:
acquiring current card holding information of the current login account and historical card playing 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 playing information represents a virtual card historically played by the plurality of reference accounts;
and determining the game information based on the current card holding information and the historical card playing information.
3. The virtual card-based card-playing presentation method of claim 2, wherein the determining the game information based on the current card holding information and the historical card-playing information comprises:
the current card holding information and the historical card playing information form the game information; alternatively, the first and second electrodes may be,
acquiring first card-playing sequence information of the target match identity and second card-playing sequence information of the current login account; and forming the game information by using the current card holding information, the historical card playing information, the first card playing sequence information and the second card playing sequence information.
4. The virtual card-based card-playing presentation method according to claim 2 or 3, wherein the determining the game information based on the current card-holding information and the historical card-playing information includes:
obtaining deal information, wherein the deal information represents a plurality of deals in the virtual card game;
and forming the game information by using the current card holding information, the historical card playing information and the bottom card information.
5. The virtual card-based card-playing prompting method according to claim 2, wherein the process of acquiring 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 a plurality of points;
determining a number of virtual cards per point based on the sequence of virtual cards and the virtual cards held by the current login account;
and forming the current card holding information by the virtual cards of each point and the number of the virtual cards of each point.
6. The virtual card-based card-playing promotion method of claim 1, wherein the determining a first target card type based on the tournament information comprises:
inputting the game information into a card-playing prompt model to obtain card-playing probabilities of a plurality of preset card types;
and determining the first target card type based on the card-playing probabilities of the plurality of preset card types.
7. The utility model provides a suggestion device that plays based on virtual card which characterized in that includes:
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, and the personal display area is used for displaying a virtual card held by a current login account;
an acquisition unit configured to perform acquisition of match information of the virtual card match;
a determination unit configured to perform determining a first target card type based on the tournament information;
and the prompting unit is configured to display a card-playing prompt of the virtual card held by the current login account based on the first target card type.
8. 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-playing promotion method of any one of claims 1 to 6.
9. A computer-readable storage medium having instructions thereon which, when executed by a processor of an electronic device, enable the electronic device to perform the virtual card-based card-out prompting method of any of claims 1 to 6.
10. A computer program product comprising computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement the virtual card-based card-playing promotion method of any one of claims 1 to 6.
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 true CN113384884A (en) 2021-09-14
CN113384884B 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
CN113384884B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN110119815B (en) Model training method, device, storage medium and equipment
CN109091869B (en) Method and device for controlling action of virtual object, computer equipment and storage medium
CN111921197B (en) Method, device, terminal and storage medium for displaying game playback picture
CN111050189A (en) Live broadcast method, apparatus, device, storage medium, and program product
CN112704883A (en) Method, device, terminal and storage medium for grouping virtual objects in virtual environment
CN113058264A (en) Virtual scene display method, virtual scene processing method, device and equipment
CN111544897B (en) Video clip display method, device, equipment and medium based on virtual scene
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN110837858A (en) Network model training method and device, computer equipment and storage medium
CN113181647A (en) Information display method, device, terminal and storage medium
CN113613028A (en) Live broadcast data processing method, device, terminal, server and storage medium
CN114100133A (en) Virtual chessboard display method, terminal, storage medium and program product
CN112367533B (en) Interactive service processing method, device, equipment and computer readable storage medium
CN108055349B (en) Method, device and system for recommending K song audio
CN111061369B (en) Interaction method, device, equipment and storage medium
CN112306332A (en) Method, device and equipment for determining selected target and storage medium
CN110152309B (en) Voice communication method, device, electronic equipment and storage medium
CN112995687A (en) Interaction method, device, equipment and medium based on Internet
CN112023403A (en) Battle process display method and device based on image-text information
CN111589143A (en) Animation playing method, device, equipment and storage medium
CN108126345B (en) Target selection method, device and storage medium
CN112843703B (en) Information display method, device, terminal and storage medium
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers
CN111641853B (en) Multimedia resource loading method and device, computer equipment and storage medium
CN110928913B (en) User display method, device, computer 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