CN111840996B - Method, device and system for prompting card game rules and AR glasses - Google Patents

Method, device and system for prompting card game rules and AR glasses Download PDF

Info

Publication number
CN111840996B
CN111840996B CN202010613757.3A CN202010613757A CN111840996B CN 111840996 B CN111840996 B CN 111840996B CN 202010613757 A CN202010613757 A CN 202010613757A CN 111840996 B CN111840996 B CN 111840996B
Authority
CN
China
Prior art keywords
coordinate
card
glasses
prompt information
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010613757.3A
Other languages
Chinese (zh)
Other versions
CN111840996A (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.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier 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 Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202010613757.3A priority Critical patent/CN111840996B/en
Publication of CN111840996A publication Critical patent/CN111840996A/en
Application granted granted Critical
Publication of CN111840996B publication Critical patent/CN111840996B/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/25Output arrangements for video game devices
    • 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/537Controlling 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 using indicators, e.g. showing the condition of a game character on screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8082Virtual reality

Abstract

The application relates to the technical field of augmented reality and discloses a method for prompting card game rules. The method for prompting card game rules comprises the following steps: the AR glasses send scene data to the server, the scene data comprises the current card holding of the player, the server compares the current card holding of the player with a preset rule to obtain prompt information, the server sends the prompt information to the AR glasses, and the AR glasses display the prompt information. By adopting the method for prompting the card game rules, a new player can be quickly integrated into a new card game, and the game experience of the new player is improved. The application also discloses a device, a system and AR glasses for prompting card game rules.

Description

Method, device and system for prompting card game rules and AR glasses
Technical Field
The present application relates to the field of augmented reality technology, and for example, to a method, apparatus, system and AR glasses for prompting card game rules.
Background
At present, card games are popular among people due to low game cost and various playing methods, and with the development of the network era, more and more people play card games in computers or mobile phones. However, when a card game is played in a computer or a mobile phone, the interactivity between players is poor, and in some technologies, information such as the posture, the hand, and the facial expression of a player is simulated and collected by using an Augmented Reality (AR) technology, so that virtual interaction between the players is realized. In addition, in order to make the game more fair, the AR technology is used for collecting environmental parameters, whether the parameters meet the regulations is detected, and the game is allowed to be started when the environmental parameters meet the regulations.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
neither techniques that enhance player-to-player interaction nor techniques that detect game fairness can improve the gaming experience for new players.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended to be a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method, a device and a system for prompting card game rules and AR glasses, so as to solve the technical problem that the prior art cannot improve the game experience of a new player.
In some embodiments, for prompting card game rules to be applied to AR glasses, the method comprises:
sending scene data to a server;
receiving prompt information fed back by the server;
displaying the prompt information;
the scene data comprises the current card holding of the player, and the prompt information is obtained by comparing the current card holding of the player with a preset rule.
In some embodiments, a method for prompting card game rules is applied to a server, the method comprising:
receiving scene data sent by AR glasses; wherein the scene data comprises the current holding card of the player;
comparing the current player holding card with a preset rule to obtain prompt information;
and sending the prompt information to the AR glasses.
In some embodiments, the apparatus for prompting card game rules comprises a processor and a memory storing program instructions, the processor being configured to, upon execution of the program instructions, perform the method for prompting card game rules provided by the preceding embodiments.
In some embodiments, the AR glasses include:
a first transmitting module configured to transmit scene data to a server;
the first receiving module is configured to receive prompt information fed back by the server;
a display module configured to display the prompt message;
the scene data comprises the current card holding of the player, and the prompt information is obtained by comparing the current card holding of the player with a preset rule.
In some embodiments, the server comprises:
a second receiving module configured to receive scene data transmitted by the AR glasses; wherein the scene data comprises the current holding card of the player;
the comparison module is configured to compare the current card holding of the player with a preset rule to obtain prompt information;
a second sending module configured to send the prompt information to the AR glasses.
In some embodiments, a storage medium has stored thereon a computer program that, when executed by a processor, implements the method for prompting card game rules provided by the foregoing embodiments.
The method, the device and the system for prompting card game rules and the AR glasses provided by the embodiment of the disclosure can realize the following technical effects:
when a new player plays a card game, the card holding of the new player is compared with a preset rule, so that prompt information which accords with the preset rule is obtained, the prompt information is displayed to the new player, and the new player can play the card game according to the prompt information. Therefore, the new player can be quickly integrated into a new card game, and the game experience of the new player is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated in drawings corresponding to, and not limiting to, embodiments in which elements having the same reference number designation are illustrated as similar elements and in which:
FIG. 1 is an environmental schematic diagram of an implementation environment involved in a method for prompting rules for card games provided by embodiments of the present disclosure;
figure 2 is a schematic diagram of a method for prompting rules of a card game provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram for displaying a prompt message according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of a selection panel for a notice provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram of transforming a first coordinate into a coordinate in a second coordinate system in which a virtual screen of AR glasses is located according to an embodiment of the present disclosure;
figure 6 is a schematic diagram of a method for prompting rules of a card game provided by an embodiment of the present disclosure;
FIG. 7 is a schematic diagram for obtaining hint information provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram for obtaining hint information provided by an embodiment of the present disclosure;
figure 9 is a schematic diagram of a method for prompting card game rules provided by embodiments of the present disclosure;
figure 10 is a schematic diagram of a system for prompting rules of a card game provided by embodiments of the present disclosure;
figure 11 is a schematic diagram of a system for prompting rules of a card game provided by embodiments of the present disclosure;
fig. 12 is a schematic view of AR glasses provided by an embodiment of the present disclosure;
fig. 13 is a schematic view of AR glasses provided by an embodiment of the present disclosure;
FIG. 14 is a schematic diagram of a server provided by an embodiment of the present disclosure;
FIG. 15 is a schematic diagram of a server provided by an embodiment of the present disclosure;
FIG. 16 is a schematic diagram of a server provided by an embodiment of the present disclosure;
fig. 17 is a schematic diagram of an intelligent terminal provided in an embodiment of the present disclosure;
figure 18 is a schematic diagram of an apparatus for prompting rules of a card game provided by an embodiment of the disclosure.
Detailed Description
So that the manner in which the features and advantages of the embodiments of the present disclosure can be understood in detail, a more particular description of the embodiments of the disclosure, briefly summarized above, may be had by reference to the appended drawings, which are included to illustrate, but are not intended to limit the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more, unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
Referring to fig. 1, an environment diagram of an implementation environment related to a method for prompting rules of a card game is provided in the embodiment of the present disclosure. The implementation environment includes AR glasses 110, a server 120, and a smart terminal 130.
The server 120 and the AR glasses 110 realize communication through wired/wireless connection, and the server 120 and the smart terminal 130 realize communication through wired/wireless connection.
The AR glasses 110 are wearable devices that have a camera/photographing function and can superimpose virtual video/images in actual/video/images obtained by camera/photographing. In the AR glasses 110, the optical center of the front high-definition camera, the center point of the virtual screen, and the center point of the virtual image form a straight line in a three-dimensional space. In the AR glasses 110, a virtual screen with a set size is projected at a set distance, and the center point of the virtual screen coincides with the center point of the human visual field, the size of the screen is determined by the parameters inside the projection system, and the width and the height are constant. And the AR glasses 110 magnify the center of the virtual image during the display process, and the magnification ratio and the AR glasses 110 are controlled by the built-in parameters.
The server 120 may be a server, a server cluster composed of several servers, or a cloud computing center.
The intelligent terminal 130 is an electronic device having a network access function and a man-machine interaction function. The smart terminal 130 may be a terminal device such as a smart phone, a tablet Computer, an Ultra-mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, but is not limited thereto. The intelligent device 130 may install an application program, and the intelligent device 130 may interact with the user through voice or through a form of setting a display device-user input device.
As shown in connection with fig. 2, an embodiment of the present disclosure provides a method for prompting rules of a card game. The method for prompting card game rules in this embodiment is exemplified by being applied to the AR glasses shown in fig. 1. The method for prompting card game rules comprises the following steps:
s201, sending scene data to a server.
Wherein, the scene data comprises the current holding card of the player.
The scene data may be a scene video or a scene image.
The AR glasses may send the raw scene data to the server, or the AR glasses may process the raw scene data, for example, by compressing or dividing, and send the processed scene data to the server.
The scene data comprises the current holding card of the player, so that the server can extract the holding card of the player from the scene data after receiving the scene data, and further, the holding card of the player can be conveniently compared with the preset rule, and correct prompt information can be obtained.
The server receives original scene data or processed scene data sent by the AR glasses, extracts the current player holding cards from the scene data, compares the current player holding cards with a preset rule to obtain prompt information, and then sends the prompt information to the AR glasses.
Before the AR glasses send the scene data to the server, the method further includes: the AR glasses obtain scene data. For example, the AR glasses may obtain a scene video/image through a camera/photo device carried by the AR glasses.
And S202, receiving prompt information fed back by the server.
Wherein, the prompt information is obtained by comparing the current holding card of the player with the preset rule.
Wherein, the prompt message includes but is not limited to: the cards can be played according to preset rules, the cards currently needed, the number of wins, the number of losses or the winning rate.
Optionally, the hint information has a mapping relationship with the current player holding. For example, in the prompt message, the card to be prompted is represented by an Identity Identification (ID); or, in the prompt message, the card to be prompted is represented by the specific meaning of the card, for example, the specific meaning of the card may be the flower and number in the playing card, may be the name of the card in the card game, may be the category and number of the card in the mahjong, and the like; alternatively, the board to be notified is represented by an image of the board.
The preset rules are game rules of a card game currently being played by a player. For example, the preset rules include: the control relation of single cards, the size relation of single cards, the rule of multi-card combination, the size relation of card combination or the condition of winning cards, etc.
For example, in the case that the predetermined condition includes a winning-card condition, the cards in the current player's hand that have met the partial winning-card condition and the cards in the current player's hand that do not meet the winning-card condition can be distinguished by comparing the current player's holding cards with the predetermined rule, and the current player can know the discardable cards after presenting these information to the current player.
Or, under the condition that the preset condition includes a rule of combining a plurality of cards, cards which are combined together in the hands of the players can be distinguished by comparing the cards held by the current players, and cards which cannot be combined together in the hands of the current players, and the current players can know the discardable cards after the information is prompted to the current players.
And S203, displaying the prompt information.
In the AR glasses, the prompt information is displayed in a fixed area of the virtual screen in a coordinate system of the AR glasses, for example, the prompt information is displayed in the upper left corner of the virtual screen, or the prompt information is displayed above the virtual screen; alternatively, the prompt information is displayed in an area that is not changed relative to the reference position, based on the position of the specific card in the scene, for example, the prompt information about a specific card is displayed above the specific card, or the prompt information about the specific card is displayed below the specific card.
When a new player plays a card game, the new player holds the card and compares the card with a preset rule so as to obtain prompt information which accords with the preset rule, the prompt information is displayed to the new player, and the new player can play the card game according to the prompt information. Therefore, the new player can be quickly integrated into a new card game, and the game experience of the new player is improved.
As shown in fig. 3, the displaying of the prompt information includes:
s301, selecting a card to be reminded corresponding to the prompt information in the current card holding of the player.
And after the AR glasses receive the prompt information, selecting a board to be prompted corresponding to the prompt information from the current player holding boards. The board to be noticed can be one or more independent cards, and the board to be noticed can also be one or more card combinations (the card combinations correspond to the independent cards).
S302, marking a board to be noticed.
The board to be noticed can be marked by special colors, so that the board to be noticed is high-bright. This facilitates the attention of the player. For example, cards meeting preset rules are marked, or one combination of cards is marked with one color and another combination of cards is marked with another color.
The board to be notified can be marked by text information whose content meets the preset rule. The player can judge and decide the next operation according to the preset rules, such as playing cards, eating cards and the like.
Through the steps, the special color or the special characters can be displayed at the notice board, so that the mark is more pertinent, and the current player can conveniently perform related decision or related operation such as playing card sequence, card eating and the like according to the prompt. The user game experience is improved.
As shown in fig. 4, selecting a card to be notified corresponding to the prompt information from the current holding cards of the player includes:
s401, in a first coordinate system of the reference object, determining the coordinates of the board to be reminded and recording the coordinates as first coordinates.
Wherein the reference object is determined in the current scene. The current scene refers to a current picture in a scene video obtained by the AR glasses, or the current scene refers to a current scene image currently obtained by the AR glasses.
The reference object is used to establish a first coordinate system. For example, a first coordinate system is established by taking the center of the reference object as a coordinate origin; alternatively, the first coordinate system is established with the center of the reference object as the origin of coordinates.
Optionally, the scene data includes a specific object, and the specific object in the current scene is selected as the reference object. The specific object is an object set manually, for example, four edges of a mahjong table are used as the specific object, or one object is placed on the mahjong table, and the placed object is used as the specific object. In some implementations, during initialization of the AR glasses, a picture of an object is taken and the object is set as a reference, so that after the AR glasses recognize the object, the object is used as a reference.
Optionally, the scene data includes a discard pile, and the discard pile in the current scene is obtained through an image recognition technology, and the discard pile is used as a reference object.
In some practical scenarios, at the beginning of a card game, a discard pile is not formed, and a card pile is randomly selected as a reference object; during the playing of the card game, a discard pile is gradually formed, and the discard pile is used as a reference object. For example, the size of each pile in the scene is identified in real time (e.g., the area of each pile is identified), and as a pile grows larger, the pile is determined to be a discard pile.
When a plurality of players play a card game, the card holding positions of the players are not fixed, but the card holding positions of the players are usually near a discard pile, and the discard pile is correspondingly changed along with the change of the card holding positions of the players, so that the discard pile is used as a reference object, the probability that the current card holding positions of the players are contained in scene data can be improved, and the success rate of marking cards to be reminded is also improved.
After the reference object is obtained, a first coordinate system is established by taking one point in the reference object as a reference point. For example, the center of the reference object is set as the reference point, or the center of gravity of the reference object is set as the reference point.
After the AR glasses receive the prompt information, the current scene data is processed through an image recognition technology, the current card holding and the reference object of the player are located, the first coordinate system is determined based on the reference object, and the coordinate of each card in the first coordinate system is determined. And finally, determining the coordinate of the board to be noticed in the first coordinate system and recording as the first coordinate.
Or after the AR glasses receive the prompt information, the board to be reminded is determined according to the mapping relation, then the current scene data is processed by using an image recognition technology, the current player holding board and the reference object are positioned, the first coordinate system is determined based on the reference object, and the coordinate of the board to be reminded in the first coordinate system is determined and recorded as the first coordinate.
S402, the first coordinates are transformed into coordinates in a second coordinate system in which the virtual screen of the AR glasses is located, and the coordinates are recorded as second coordinates.
And the card corresponding to the second coordinate is a card to be reminded.
In the AR glasses, the optical center of the front high-definition camera, the center point of the virtual screen and the center point of the virtual imaging graph form a straight line in a three-dimensional space, in most cases, the first coordinate system and the second coordinate system of the steps are the same coordinate system, and the first coordinate system and the second coordinate system are the same coordinate system.
Through the steps, the second coordinate of the board to be noticed can be determined, and the board can be conveniently marked and prompted in a targeted mode. The game experience of the player is improved.
As shown in fig. 5, transforming the first coordinates into coordinates in a second coordinate system in which the virtual screen of the AR glasses is located includes:
and S501, obtaining the relative rotation direction and the relative rotation angle of the AR glasses in the time period from the first coordinate to the second coordinate.
The relative rotational direction and the relative rotational angle in the AR glasses are obtained by, for example, a gyroscope in the AR glasses. When the first coordinate is determined, recording a first angle of the AR glasses, when the second coordinate is determined, recording a second angle of the AR glasses, and calculating an angle difference between the first angle and the second angle, wherein the positive and negative of the angle difference are relative rotation directions, and the absolute value of the angle difference is relative rotation angle.
And S502, rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain a second coordinate.
The rotating process of the above steps is to rotate by taking the current player's eye as the center of rotation. For example, the deflection angle of the current player relative to the current scene is determined according to the position of the reference object in the current scene relative to the center point of the current scene, the distance of the current player relative to the current scene is determined according to the range of the current scene and the field angle of a camera device/a photographing device in the AR glasses, and the rotation center is determined according to the deflection angle and the distance; alternatively, the center of rotation is preset.
In the steps, the relative rotation direction and the relative rotation angle are introduced, so that the adverse effect of the rotation angle of the AR glasses on the determination of the second coordinate in the process of determining the first coordinate system by the AR glasses is reduced, the second coordinate of the board to be reminded can be determined more accurately, and the board to be reminded can be marked at a more accurate position conveniently.
As shown in connection with fig. 6, embodiments of the present disclosure provide a method for prompting card game rules. The method for prompting card game rules in this embodiment is exemplified as applied to the server shown in fig. 1. The method for prompting card game rules comprises the following steps:
and S601, receiving scene data sent by the AR glasses.
Wherein, the scene data includes the current holding card of the player.
The scene data received by the server in the AR glasses may be original scene data, or may be scene data processed by the AR glasses, for example, compression, segmentation, and other processes.
After the server receives the scene data, the card holding of the player is extracted from the scene data.
S602, comparing the current card holding of the player with a preset rule to obtain prompt information.
The preset rules are game rules of the current card game.
Optionally, the preset rule is sent by the intelligent terminal. For example, the player sets a preset rule in the intelligent terminal, and after the player determines that the setting is successful, the intelligent terminal sends the preset rule to the server. The player can be the current player or other players.
Optionally, the preset rule is pre-stored in the server. For example, when the server is built, the preset rule is prestored, or after the server receives the preset rule sent by the intelligent terminal, the preset rule is stored, and when the preset rule is used next time, the preset rule can be directly read.
And S603, sending prompt information to the AR glasses.
When a new player plays a card game, the new player holds the card and compares the card with the preset rule so as to obtain prompt information which accords with the preset rule, the prompt information is displayed to the new player through AR glasses, and the new player can play the card game according to the prompt information. Therefore, the new player can be quickly integrated into a new card game, and the game experience of the new player is improved.
Referring to fig. 7, comparing the current card holding of the player with the preset rule to obtain the prompt information includes:
and S701, combining the holding cards of the current player according to a preset rule.
The preset rules include: cards of the same suit are grouped together, or cards are grouped together in numerical order of cards (from big to small or from small), or cards of the same suit are grouped together in numerical order of cards.
Or the preset rule comprises all the card combinations, the card combinations are selected one by one to be compared with the current player holding cards, and the cards in the current player holding cards are combined together to form a card combination under the condition that the current player holding cards comprise a complete card combination. Wherein, the card combination refers to: cards that can be grouped together according to rules of play, a combination of cards often having a particular meaning or function.
S702, determining the holding cards which cannot be combined as prompt information.
The current player can decide the cards to be played according to the prompt information obtained in the above steps.
Or, as shown in fig. 8, comparing the current card holding of the player with a preset rule to obtain a prompt message, including:
s801, obtaining the cards of other players in the scene data.
Identifying a discard pile in real time, and under the condition that the discard pile identified this time is different from the discard pile identified last time, for example, if one more card is in the discard pile, changing the image of the discard pile, positioning the changed area, identifying the discard in the area, and then the discard is the discard of other players.
The previous home's deal may be obtained, or the next home's deal may be obtained, or a non-neighbor's deal may be obtained.
S802, determining one or more card combinations corresponding to the played cards based on a preset rule.
In a preset rule, the one or more card combinations comprise the card deals.
And S803, comparing the current holding card of the player with one or more card combinations in sequence.
For any one of the card combinations, any one of the cards in the card combination is compared to all of the cards held by the current player to determine whether the current player's holding of the cards includes the one card. Determining that the current player holding cards satisfies all of the combination of cards if all of the cards of the combination of cards are included in the current player holding cards; in the case where only a portion of the cards of the card combination are included in the current player holding cards, it is determined that the current player holding cards satisfy the portion of the card combination.
S804, when the current player holds all or part of the cards meeting one card combination, all or part of the cards meeting one card combination are determined to be holding information.
After the player plays the cards at home, the current player can perform targeted operation according to the prompt information obtained in the above steps, so that the interaction effect among the players is improved.
As shown in connection with fig. 9, a method for prompting rules of a card game is provided in an embodiment of the present disclosure. The method for prompting the card game rules in the embodiment is applied to the intelligent terminal shown in fig. 1 as an example. The method for prompting card game rules comprises the following steps:
and S901, obtaining preset rules of the card games.
For example, when a player inputs a preset rule of a certain card game at the intelligent terminal, the intelligent terminal can obtain the preset rule of the middle card game. Or the intelligent terminal stores preset rules of various card games, one preset rule is selected by the player, and the intelligent terminal reads the storage space according to the selection of the player to obtain the preset rules of the card games. The player can be the current player or other players.
The preset rules in the steps are used for comparing with the current holding of the player to obtain prompt information. The server obtains the current player holding the card and the preset rule, the server compares the current player holding the card and the preset rule to obtain the prompt information, the prompt information is sent to the AR glasses, and the AR glasses display the prompt information to the current player.
And S902, sending a preset rule to a server.
When a new player plays a card game, the intelligent terminal provides preset rules for the server, the server compares the card holding of the new player with the preset rules to obtain prompt information which accords with the preset rules, the prompt information is displayed to the new player through AR glasses, and the new player can play the card game according to the prompt information. Therefore, the new player can be quickly integrated into a new card game, and the game experience of the new player is improved.
As shown in connection with fig. 10, embodiments of the present disclosure provide a system for prompting rules of a card game. The system comprises AR glasses and a server, and the embodiment exemplarily illustrates the system for prompting the card game rules in the aspect of interaction of the AR glasses and the server.
S1001, sending scene data to a server by the AR glasses; wherein the scene data comprises the current holding card of the player;
s1002, the server compares the current player holding card with a preset rule to obtain prompt information;
s1003, the server sends prompt information to the AR glasses;
and S1004, displaying the prompt information by the AR glasses.
As shown in connection with fig. 11, embodiments of the present disclosure provide a system for prompting rules of a card game. The system comprises AR glasses, a server and an intelligent terminal, and the system for prompting the card game rules is exemplarily explained in the aspect of interaction among the AR glasses, the server and the intelligent terminal.
S1101, the intelligent terminal obtains a preset rule of the card game;
s1102, the intelligent terminal sends a preset rule to the server;
s1103, the AR glasses send scene data to a server; wherein the scene data comprises the current holding card of the player;
s1104, the server compares the current player holding card with a preset rule to obtain prompt information;
s1105, the server sends prompt information to the AR glasses;
and S1106, displaying prompt information by the AR glasses.
As shown in fig. 12, an embodiment of the present disclosure provides AR glasses. The AR glasses include a first transmitting module 1201, a first receiving module 1202, and a display module 1203. The first sending module 1201 is configured to send scene data to the server, the first receiving module 1202 is configured to receive prompt information fed back by the server, and the display module 1203 is configured to display the prompt information. The scene data comprises the current holding card of the player, and the prompt information is obtained by comparing the current holding card of the player with a preset rule.
As shown in fig. 13, the display module 1203 includes a selection unit 1204 and a marking unit 1205, where the selection unit 1204 is configured to select a board to be noticed corresponding to the prompt information in the current player holding board, and the marking unit 1205 is configured to mark the board to be noticed.
Optionally, the selecting unit 1204 is specifically configured to: in a first coordinate system where a reference object is located, determining coordinates of a board to be noticed and recording the coordinates as first coordinates, converting the first coordinates into coordinates in a second coordinate system where a virtual screen of the AR glasses is located and recording the coordinates as second coordinates, wherein the reference object is determined in a current scene, and the board corresponding to the second coordinates is the board to be noticed.
Optionally, transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located includes: the relative rotation direction and the relative rotation angle of the AR eyeglasses in the period from the start of the determination of the first coordinate to the start of the determination of the second coordinate are obtained, and the first coordinate is rotated by the relative rotation angle in the reverse direction of the relative rotation direction to obtain the second coordinate.
As shown in fig. 14, an embodiment of the present disclosure provides a server. The server includes: a second receiving module 1401, a comparing module 1402 and a second transmitting module 1403.
The second receiving module 1401 is configured to receive scene data transmitted by the AR glasses. Wherein, the scene data includes the current holding card of the player.
The comparison module 1402 is configured to compare the current holding of the card by the player with a preset rule, and obtain a prompt message.
The second sending module 1403 is configured to send the alert information to the AR glasses.
As shown in fig. 15, the comparison module 1402 includes a combination unit 1404 and a first determination unit 1405, where the combination unit 1404 is configured to combine the current holding cards of the player according to a preset rule, and the first determination unit 1405 is configured to determine the holding cards that cannot be combined as the prompt information.
Alternatively, as shown in fig. 16, the comparing module 1402 includes an obtaining unit 1406, a second determining unit 1407, a comparing unit 1408, and a third determining unit 1409. The obtaining unit 1406 is configured to obtain the cards of other players in the scene data, the second determining unit 1407 is configured to determine one or more card combinations corresponding to the cards based on preset rules, the comparing unit 1408 is configured to sequentially compare the current player holding card with the one or more card combinations, and the third determining unit 1409 is configured to determine all or part of the holding cards meeting one card combination as the prompt information if the current player holding card meets all or part of the one card combination.
As shown in fig. 17, an embodiment of the present disclosure provides an intelligent terminal. This intelligent terminal includes: an obtaining module 1701 and a third sending module 1702. The obtaining module 1701 is configured to obtain preset rules for the card game, and the third transmitting module 1702 is configured to transmit the preset rules to the server. The preset rule is used for comparing with the current holding card of the player to obtain prompt information.
The disclosed embodiment provides a device for prompting card game rules, which comprises a processor and a memory, wherein the memory stores program instructions, and the processor is configured to execute the method for prompting card game rules provided by the embodiment.
As shown in connection with figure 18, embodiments of the present disclosure provide a means for prompting card game rules. The device for prompting the card game rules can be realized by software, hardware or a combination of the software and the hardware to be all or part of AR glasses, a server or an intelligent terminal. The device includes:
a processor (processor) 1801 and a memory (memory) 1802, and may also include a Communication Interface 1803 and a bus 1804. The processor 1801, the communication interface 1803, and the memory 1802 may communicate with each other via the bus 1804. Communication interface 1803 may provide for the transfer of information. The processor 1801 may invoke logic instructions in the memory 1802 to perform the methods for prompting card game rules provided by the previous embodiments.
In addition, the logic instructions in the memory 1802 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
Memory 1802, as a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1801 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 1802, so as to implement the method in the above-described method embodiments.
The memory 1802 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, memory 1802 may include high speed random access memory, and may also include non-volatile memory.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the method for prompting card game rules provided in the foregoing embodiments.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for prompting card game rules provided by the preceding embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosure, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (8)

1. A method for prompting card game rules, applied to AR glasses, the method comprising:
sending scene data to a server; the scene data comprises the current card holding of the player;
receiving prompt information fed back by the server; the prompt information is obtained by comparing the holding of the current player with a preset rule;
displaying the prompt information;
wherein displaying the prompt information comprises: selecting a board to be reminded corresponding to the prompt information in the current player holding boards; marking the board to be reminded;
selecting a card to be noticed corresponding to the prompt message in the current player holding cards, comprising:
determining the coordinates of the board to be reminded in a first coordinate system of a reference object, recording the coordinates as first coordinates, wherein the reference object is determined in the current scene; transforming the first coordinate into a coordinate in a second coordinate system where a virtual screen of the AR glasses is located, and recording the coordinate as a second coordinate, wherein a card corresponding to the second coordinate is the card to be notified;
transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located, including: obtaining a relative rotation direction and a relative rotation angle of the AR glasses in a period from the start of determining the first coordinate to the start of determining the second coordinate; and rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain the second coordinate.
2. A method for prompting game rules, which is applied to a server and is characterized by comprising the following steps:
receiving scene data sent by AR glasses; wherein the scene data comprises the holding card of the current player;
comparing the current player holding card with a preset rule to obtain prompt information;
sending the prompt information to the AR glasses so that the AR glasses display the prompt information;
wherein, the displaying the prompt message comprises: selecting a board to be reminded corresponding to the prompt information in the current player holding boards; marking the board to be reminded;
the method for selecting the card to be reminded corresponding to the prompt information in the current card holding of the player comprises the following steps: determining the coordinate of the board to be noticed in a first coordinate system of a reference object, recording the coordinate as a first coordinate, wherein the reference object is determined in the current scene; converting the first coordinate into a coordinate in a second coordinate system where a virtual screen of the AR glasses is located, and recording the coordinate as a second coordinate, wherein a card corresponding to the second coordinate is the card to be reminded;
transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located, including: obtaining a relative rotation direction and a relative rotation angle of the AR glasses during a period from a start of determining the first coordinate to a start of determining the second coordinate; and rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain the second coordinate.
3. The method of claim 2, wherein comparing the current holding of the player with a predetermined rule to obtain a prompt message comprises:
combining the current player holding cards according to the preset rule, and determining holding cards which cannot be combined as the prompt information; alternatively, the first and second electrodes may be,
obtaining the cards of other players in the scene data, determining one or more card combinations corresponding to the cards based on the preset rules, sequentially comparing the cards held by the current player with the one or more card combinations, and determining all or part of the cards held by one card combination as the prompt information under the condition that the cards held by the current player meet all or part of one card combination.
4. An apparatus for prompting card game rules comprising a processor and a memory having stored thereon program instructions, wherein the processor is configured to perform a method for prompting card game rules as claimed in any of claims 1 to 3 when executing the program instructions.
5. AR eyewear, comprising:
a first transmitting module configured to transmit scene data to a server; the scene data comprises the current card holding of the player;
a first receiving module configured to receive prompt information fed back by the server; the prompt information is obtained by comparing the holding of the current player with a preset rule;
a display module configured to display the prompt message;
wherein the display module comprises a selection unit and a marking unit; wherein the selecting unit is configured to select a board to be noticed corresponding to the prompt information in the current player holding boards, and the marking unit is configured to mark the board to be noticed; the selected cell is specifically configured to: determining the coordinate of the board to be noticed in a first coordinate system of a reference object, recording the coordinate as a first coordinate, converting the first coordinate into the coordinate in a second coordinate system of a virtual screen of the AR glasses, and recording the coordinate as a second coordinate, wherein the reference object is determined in the current scene, and the board corresponding to the second coordinate is the board to be noticed;
transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located, including: obtaining a relative rotation direction and a relative rotation angle of the AR glasses during a period from a start of determining the first coordinate to a start of determining the second coordinate; and rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain the second coordinate.
6. A server, comprising:
a second receiving module configured to receive scene data sent by the AR glasses; wherein the scene data comprises the holding card of the current player;
the comparison module is configured to compare the current card holding of the player with a preset rule to obtain prompt information;
a second sending module configured to send the prompt information to the AR glasses to cause the AR glasses to display the prompt information;
wherein displaying the prompt information comprises: selecting a board to be reminded corresponding to the prompt information in the current player holding boards; marking the board to be noticed;
the method for selecting the card to be reminded corresponding to the prompt information in the current card holding of the player comprises the following steps: determining the coordinate of the board to be noticed in a first coordinate system of a reference object, recording the coordinate as a first coordinate, wherein the reference object is determined in the current scene; transforming the first coordinate into a coordinate in a second coordinate system where a virtual screen of the AR glasses is located, and recording the coordinate as a second coordinate, wherein a card corresponding to the second coordinate is the card to be notified;
transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located, including: obtaining a relative rotation direction and a relative rotation angle of the AR glasses in a period from the start of determining the first coordinate to the start of determining the second coordinate; and rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain the second coordinate.
7. A system for prompting rules of a card game, comprising AR glasses and a server, wherein,
the AR glasses send scene data to a server, wherein the scene data comprises the playing cards of the current player;
the server compares the current player holding cards with a preset rule to obtain prompt information;
the server sends the prompt message to the AR glasses;
the AR glasses display the prompt information;
wherein displaying the prompt information comprises: selecting a card to be reminded corresponding to the prompt information from the current player holding cards; marking the board to be reminded;
the method for selecting the card to be reminded corresponding to the prompt information in the current card holding of the player comprises the following steps: determining the coordinate of the board to be noticed in a first coordinate system of a reference object, recording the coordinate as a first coordinate, wherein the reference object is determined in the current scene; converting the first coordinate into a coordinate in a second coordinate system where a virtual screen of the AR glasses is located, and recording the coordinate as a second coordinate, wherein a card corresponding to the second coordinate is the card to be reminded;
transforming the first coordinates into coordinates in a second coordinate system in which a virtual screen of the AR glasses is located, including: obtaining a relative rotation direction and a relative rotation angle of the AR glasses in a period from the start of determining the first coordinate to the start of determining the second coordinate; and rotating the first coordinate along the reverse direction of the relative rotation direction by the relative rotation angle to obtain the second coordinate.
8. A storage medium having stored thereon a computer program for implementing a method for hinting rules for card games as claimed in any one of claims 1 to 3 when executed by a processor.
CN202010613757.3A 2020-06-30 2020-06-30 Method, device and system for prompting card game rules and AR glasses Active CN111840996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010613757.3A CN111840996B (en) 2020-06-30 2020-06-30 Method, device and system for prompting card game rules and AR glasses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010613757.3A CN111840996B (en) 2020-06-30 2020-06-30 Method, device and system for prompting card game rules and AR glasses

Publications (2)

Publication Number Publication Date
CN111840996A CN111840996A (en) 2020-10-30
CN111840996B true CN111840996B (en) 2022-10-28

Family

ID=72988877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010613757.3A Active CN111840996B (en) 2020-06-30 2020-06-30 Method, device and system for prompting card game rules and AR glasses

Country Status (1)

Country Link
CN (1) CN111840996B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320406A (en) * 2007-05-25 2008-12-10 Nhn公司 Card game service providing method and system
CN104166779A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Achieving method and device for simulating card game on game terminal
CN105169697A (en) * 2015-07-28 2015-12-23 上海斐讯数据通信技术有限公司 Mahjong tile winning control method and system based on mobile terminal
TWM576283U (en) * 2018-10-23 2019-04-01 遠東科技大學 Virtual card game system
CN110223393A (en) * 2019-03-06 2019-09-10 顶拓科技(武汉)有限公司 A kind of AR glasses and a kind of assembling process management system and method
CN110743159A (en) * 2019-10-09 2020-02-04 北京长行高科信息技术有限公司 Mahjong table and mahjong tile remote interconnection system and method based on AR technology
CN110874868A (en) * 2018-09-03 2020-03-10 广东虚拟现实科技有限公司 Data processing method and device, terminal equipment and storage medium
CN111273763A (en) * 2018-12-05 2020-06-12 扩展知识公司 Augmented reality implementation method and computer system for implementing augmented reality

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320406A (en) * 2007-05-25 2008-12-10 Nhn公司 Card game service providing method and system
CN104166779A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Achieving method and device for simulating card game on game terminal
CN105169697A (en) * 2015-07-28 2015-12-23 上海斐讯数据通信技术有限公司 Mahjong tile winning control method and system based on mobile terminal
CN110874868A (en) * 2018-09-03 2020-03-10 广东虚拟现实科技有限公司 Data processing method and device, terminal equipment and storage medium
TWM576283U (en) * 2018-10-23 2019-04-01 遠東科技大學 Virtual card game system
CN111273763A (en) * 2018-12-05 2020-06-12 扩展知识公司 Augmented reality implementation method and computer system for implementing augmented reality
CN110223393A (en) * 2019-03-06 2019-09-10 顶拓科技(武汉)有限公司 A kind of AR glasses and a kind of assembling process management system and method
CN110743159A (en) * 2019-10-09 2020-02-04 北京长行高科信息技术有限公司 Mahjong table and mahjong tile remote interconnection system and method based on AR technology

Also Published As

Publication number Publication date
CN111840996A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN108108012B (en) Information interaction method and device
US9566522B2 (en) Device, method, and computer program product for customizing game functionality using images
US8970623B2 (en) Information processing system, information processing method, information processing device and tangible recoding medium recording information processing program
US9064335B2 (en) System, method, device and computer-readable medium recording information processing program for superimposing information
US8860847B2 (en) Computer-readable storage medium having stored thereon image generation program, capturing apparatus, capturing system, and image generation method for creating an image
US8648924B2 (en) Computer-readable storage medium having stored thereon image generation program, capturing apparatus, capturing system, and image generation method for generating a combination image on a display of the capturing apparatus
WO2021143282A1 (en) Three-dimensional facial model generation method and apparatus, computer device and storage medium
CN110545442B (en) Live broadcast interaction method and device, electronic equipment and readable storage medium
JP5756322B2 (en) Information processing program, information processing method, information processing apparatus, and information processing system
JP5735861B2 (en) Image display program, image display apparatus, image display method, image display system, marker
JP5812550B1 (en) Image display device, image display method, and program
CN115857704A (en) Exhibition system based on metauniverse, interaction method and electronic equipment
CN112774185B (en) Virtual card control method, device and equipment in card virtual scene
CN111744197B (en) Data processing method, device and equipment and readable storage medium
CN111840996B (en) Method, device and system for prompting card game rules and AR glasses
CN111640190A (en) AR effect presentation method and apparatus, electronic device and storage medium
KR20150022158A (en) Apparatus and method for learning mechanical drawing
CN113031846B (en) Method and device for displaying description information of task and electronic equipment
CN113345110A (en) Special effect display method and device, electronic equipment and storage medium
CN113384881A (en) Map display method and device in game
KR20230053717A (en) Systems and methods for precise positioning using touchscreen gestures
CN111193919B (en) 3D display method, device, equipment and computer readable medium
EP2490367B1 (en) Information processing program, information processing apparatus, information processing method and information processing system
CN111383313A (en) Virtual model rendering method, device and equipment and readable storage medium
CN111625103A (en) Sculpture display method and device, electronic equipment and 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