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 PDFInfo
- 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
- card
- coordinates
- glasses
- prompt information
- prompted
- 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
Links
- 239000011521 glass Substances 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001131 transforming effect Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000003190 augmentative effect Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000008921 facial expression Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036544 posture Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/25—Output arrangements for video game devices
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling 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/537—Controlling 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/30—Features 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/80—Features 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/8082—Virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请涉及增强现实技术领域,例如涉及一种用于提示牌类游戏规则的方法、装置、系统和AR眼镜。The present application relates to the field of augmented reality technology, for example, to a method, device, system and AR glasses for prompting card game rules.
背景技术Background technique
目前,牌类游戏以其游戏成本底、玩法多样深受人们的喜爱,随着网络时代的发展,越来越多的人在电脑或手机中进行牌类游戏。但是,在电脑或手机中进行牌类游戏时,玩家与玩家之间的交互性差,在一些技术中,利用增强现实(Augmented Reality,AR)技术模拟采集玩家的体态、手部、面部表情等信息,实现玩家与玩家之间的虚拟交互。另外,为了使游戏更加公平,利用AR技术采集环境参数,并且检测这些参数是否符合规定,在这些环境参数符合规定时,才允许开启游戏。At present, card games are popular among people for their low cost and diverse gameplay. With the development of the Internet age, more and more people play card games on computers or mobile phones. However, when playing card games on computers or mobile phones, the interaction between players is poor. In some technologies, augmented reality (Augmented Reality, AR) technology is used to simulate and collect information such as players' postures, hands, and facial expressions. , to realize the virtual interaction between players. In addition, in order to make the game more fair, AR technology is used to collect environmental parameters and check whether these parameters meet the regulations. Only when these environmental parameters meet the regulations, the game is allowed to start.
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in related technologies:
无论是增强玩家与玩家的之间交互的技术,还是检测游戏公平性的技术,均无法提高新玩家的游戏体验。Neither technology that enhances player-to-player interaction nor technology that detects game fairness can improve the gaming experience for new players.
发明内容SUMMARY OF THE INVENTION
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于提示牌类游戏规则的方法、装置、系统和AR眼镜,以解决现有技术无法提高新玩家的游戏体验的技术问题。Embodiments of the present disclosure provide a method, device, system and AR glasses for prompting card game rules, so as to solve the technical problem that the prior art cannot improve the game experience of new players.
在一些实施例中,用于提示牌类游戏规则应用于AR眼镜,该方法包括:In some embodiments, the rules for prompting a card-type game are applied to AR glasses, and the method includes:
向服务器发送场景数据;Send scene data to the server;
接收所述服务器反馈的提示信息;receiving prompt information fed back by the server;
显示所述提示信息;Display the prompt information;
其中,所述场景数据中包括当前玩家持牌,所述提示信息是通过比较所述当前玩家持牌和预设规则获得的。Wherein, the scene data includes the cards held by the current player, and the prompt information is obtained by comparing the cards held by the current player with preset rules.
在一些实施例中,用于提示牌类游戏规则的方法应用于服务器,该方法包括:In some embodiments, the method for prompting card game rules is applied to the server, the method comprising:
接收AR眼镜发送的场景数据;其中,所述场景数据中包括当前玩家持牌;Receive the scene data sent by the AR glasses; wherein, the scene data includes the current player's license;
比较所述当前玩家持牌和预设规则,获得提示信息;Comparing the current player's license with the preset rules to obtain prompt information;
向所述AR眼镜发送所述提示信息。Send the prompt information to the AR glasses.
在一些实施例中,用于提示牌类游戏规则的装置包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行前述实施例提供的用于提示牌类游戏规则的方法。In some embodiments, the device for prompting the rules of the card game includes a processor and a memory storing program instructions, and the processor is configured to execute the prompting method provided in the foregoing embodiments when executing the program instructions. The method of card game rules.
在一些实施例中,AR眼镜包括:In some embodiments, the AR glasses include:
第一发送模块,被配置为向服务器发送场景数据;The first sending module is configured to send scene data to the server;
第一接收模块,被配置为接收所述服务器反馈的提示信息;The first receiving module is configured to receive the prompt information fed back by the server;
显示模块,被配置为显示所述提示信息;a display module configured to display the prompt information;
其中,所述场景数据中包括当前玩家持牌,所述提示信息是通过比较所述当前玩家持牌和预设规则获得的。Wherein, the scene data includes the cards held by the current player, and the prompt information is obtained by comparing the cards held by the current player with preset rules.
在一些实施例中,服务器包括:In some embodiments, the server includes:
第二接收模块,被配置为接收AR眼镜发送的场景数据;其中,所述场景数据中包括当前玩家持牌;The second receiving module is configured to receive the scene data sent by the AR glasses; wherein, the scene data includes the current player's license;
比较模块,被配置为比较所述当前玩家持牌和预设规则,获得提示信息;The comparison module is configured to compare the current player's license with the preset rules, and obtain prompt information;
第二发送模块,被配置为向所述AR眼镜发送所述提示信息。The second sending module is configured to send the prompt information to the AR glasses.
在一些实施例中,存储介质上存储有计算机程序,当所述计算机程序被处理器执行时实现前述实施例提供的用于提示牌类游戏规则的方法。In some embodiments, a computer program is stored on the storage medium, and when the computer program is executed by the processor, the method for presenting the rules of the card game provided in the foregoing embodiments is implemented.
本公开实施例提供的用于提示牌类游戏规则方法、装置、系统和AR眼镜,可以实现以下技术效果:The method, device, system and AR glasses for prompting card game rules provided by the embodiments of the present disclosure can achieve the following technical effects:
在新玩家进行牌类游戏时,将新玩家持牌与预设规则进行比较,从而获得符合预设规则的提示信息,并将该提示信息向新玩家显示,新玩家即可依据提示信息进行牌类游戏。这样,新玩家可快速的融入一种新的牌类游戏中,提高了新玩家的游戏体验。When a new player plays a card game, compare the new player's card with the preset rules, so as to obtain the prompt information that meets the preset rules, and display the prompt information to the new player, and the new player can play cards according to the prompt information. class games. In this way, new players can quickly integrate into a new card game, which improves the game experience of new players.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或一个以上实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,并且其中:One or more embodiments are exemplified by the corresponding drawings, and these exemplifications and drawings do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, and where:
图1是本公开实施例提供的一种用于提示牌类游戏规则的方法所涉及的实施环境的环境示意图;FIG. 1 is a schematic diagram of an implementation environment involved in a method for prompting card game rules provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种用于提示牌类游戏规则的方法的示意图;Fig. 2 is a schematic diagram of a method for prompting card game rules provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种用于显示提示信息的示意图;Fig. 3 is a schematic diagram for displaying prompt information provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种用于选定待提示牌的示意图;Fig. 4 is a schematic diagram for selecting a card to be prompted provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种将第一坐标变换为AR眼镜的虚拟屏幕所在的第二坐标系中的坐标的示意图;FIG. 5 is a schematic diagram of transforming the first coordinates into coordinates in the second coordinate system where the virtual screen of the AR glasses is located according to an embodiment of the present disclosure;
图6是本公开实施例提供的一种用于提示牌类游戏规则的方法的示意图;Fig. 6 is a schematic diagram of a method for prompting card game rules provided by an embodiment of the present disclosure;
图7是本公开实施例提供的一种用于获得提示信息的示意图;FIG. 7 is a schematic diagram for obtaining prompt information provided by an embodiment of the present disclosure;
图8是本公开实施例提供的一种用于获得提示信息的示意图;Fig. 8 is a schematic diagram for obtaining prompt information provided by an embodiment of the present disclosure;
图9是本公开实施例提供的一种用于提示牌类游戏规则的方法的示意图;FIG. 9 is a schematic diagram of a method for prompting card game rules provided by an embodiment of the present disclosure;
图10是本公开实施例提供的一种用于提示牌类游戏规则的系统的示意图;Fig. 10 is a schematic diagram of a system for prompting card game rules provided by an embodiment of the present disclosure;
图11是本公开实施例提供的一种用于提示牌类游戏规则的系统的示意图;Fig. 11 is a schematic diagram of a system for prompting card game rules provided by an embodiment of the present disclosure;
图12是本公开实施例提供的一种AR眼镜的示意图;Fig. 12 is a schematic diagram of AR glasses provided by an embodiment of the present disclosure;
图13是本公开实施例提供的一种AR眼镜的示意图;Fig. 13 is a schematic diagram of AR glasses provided by an embodiment of the present disclosure;
图14是本公开实施例提供的一种服务器的示意图;Fig. 14 is a schematic diagram of a server provided by an embodiment of the present disclosure;
图15是本公开实施例提供的一种服务器的示意图;Fig. 15 is a schematic diagram of a server provided by an embodiment of the present disclosure;
图16是本公开实施例提供的一种服务器的示意图;Fig. 16 is a schematic diagram of a server provided by an embodiment of the present disclosure;
图17是本公开实施例提供的一种智能终端的示意图;FIG. 17 is a schematic diagram of a smart terminal provided by an embodiment of the present disclosure;
图18是本公开实施例提供的一种用于提示牌类游戏规则的装置的示意图。Fig. 18 is a schematic diagram of an apparatus for prompting rules of a card game provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或一个以上实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, 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 simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
结合图1所示,本公开实施例中提供了一种用于提示牌类游戏规则的方法所涉及的实施环境的环境示意图。该实施环境中包括AR眼镜110、服务器120和智能终端130。With reference to FIG. 1 , an embodiment of the present disclosure provides an environmental schematic diagram of an implementation environment involved in a method for prompting card game rules. This implementation environment includes
服务器120与AR眼镜110通过有线连接/无线连接实现通信,服务器120与智能终端130通过有线连接/无线连接实现通信。The
AR眼镜110是具有摄像/拍照功能,且可在通过摄像/拍照获得的实际/视频/图像中叠加虚拟视频/图像的可穿戴设备。在该AR眼镜110中,前置高清摄像机光心、虚拟屏幕中心点、虚拟成像图中心点在三维空间中成一条直线。在该AR眼镜110中,在设定距离处投射设定尺寸的虚拟屏幕,且虚拟屏幕中心点与人视野中心点重合,屏幕大小由投射系统内部参数决定,宽度和高度皆为常数。且该AR眼镜110在显示过程中,将对虚拟图像的中心进行了放大,放大的比例与AR眼镜110受内设参数控制。The
服务器120可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算中心。The
智能终端130是具有网络访问功能、人机交互功能的电子设备。智能终端130可以为智能手机、平板电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本、个人数字助理(Personal Digital Assistant,PDA)等终端设备,且不限于此。智能设备130可安装应用程序,智能设备130可通过语音与用户进行交互,也可通过设置显示装置-用户输入装置的形式与用户进行交互。The
结合图2所示,本公开实施例提供了一种用于提示牌类游戏规则的方法。该实施例中以该用于提示牌类游戏规则的方法应用于图1所示的AR眼镜中来举例说明。该用于提示牌类游戏规则的方法包括:As shown in FIG. 2 , the embodiment of the present disclosure provides a method for prompting the rules of a card game. In this embodiment, the method for prompting card game rules is applied to the AR glasses shown in FIG. 1 for illustration. The method for prompting card game rules includes:
S201、向服务器发送场景数据。S201. Send scene data to a server.
其中,场景数据中包括当前玩家持牌。Wherein, the scene data includes the current player's license.
该场景数据可以是场景视频,还可以是场景图像。The scene data may be a scene video, or a scene image.
AR眼镜可以向服务器发送原始的场景数据,AR眼镜也可以对原始场景数据进行处理,例如压缩、分割等处理,并向服务器发送处理过的场景数据。The AR glasses can send original scene data to the server, and the AR glasses can also process the original scene data, such as compression and segmentation, and send the processed scene data to the server.
场景数据中包括当前玩家持牌,这样,服务器在接收到该场景数据后,可在该场景数据中提取出玩家持牌,进而便于比较玩家持牌和预设规则,从而获得正确的提示信息。The scene data includes the current player's license, so that after receiving the scene data, the server can extract the player's license from the scene data, which is convenient for comparing the player's card with the preset rules, so as to obtain correct prompt information.
服务器接收AR眼镜发送的原始的场景数据或处理过的场景数据,在场景数据中提取出当前玩家持牌,比较当前玩家持牌和预设规则,获得提示信息,再将提示信息发送至AR眼镜。The server receives the original scene data or processed scene data sent by the AR glasses, extracts the current player's license from the scene data, compares the current player's license with the preset rules, obtains the prompt information, and then sends the prompt information to the AR glasses .
在AR眼镜向服务器发送场景数据前,还包括:AR眼镜获得场景数据。例如,AR眼镜可以通过自身携带的摄像装置/拍照装置获得场景视频/场景图像。Before the AR glasses send the scene data to the server, it also includes: the AR glasses obtain the scene data. For example, AR glasses can obtain scene video/scene images through their own camera/photographing device.
S202、接收服务器反馈的提示信息。S202. Receive prompt information fed back by the server.
其中,提示信息是通过比较当前玩家持牌和预设规则获得的。Wherein, the prompt information is obtained by comparing the current player's license with the preset rules.
其中,提示信息包括但不限于:依据预设规则可出的牌、当前需要的牌、赢牌的番数、输牌的番数或胜率。Wherein, the prompt information includes but not limited to: the cards that can be played according to the preset rules, the cards currently needed, the number of winning cards, the number of losing cards or the winning percentage.
可选地,提示信息与当前玩家持牌具有映射关系。例如,在提示信息中,以牌身份识别号(Identity Document,ID)表示待提示牌;或者,在提示信息中,以牌的具体含义表示待提示牌,例如,牌的具体含义可以扑克牌中的花色和数字,可以是卡牌类游戏中牌的名称,可以是麻将中的牌的类别和数字等;或者,以牌的图像表示待提示牌。Optionally, the prompt information has a mapping relationship with the current player's license. For example, in the prompt information, the card to be prompted is represented by a card ID (Identity Document, ID); or, in the prompt information, the specific meaning of the card is used to represent the card to be prompted, for example, the specific meaning of the card can be included in the playing card The color and number of the card can be the name of the card in the card game, the category and number of the card in mahjong, etc.; or, the image of the card represents the card to be prompted.
预设规则是当前玩家正在进行的牌类游戏的游戏规则。例如预设规则中包括:单张牌的克制关系、单张牌的大小关系、多张牌组合的规则、牌组合的大小关系或赢牌的条件等。The preset rules are the game rules of the card game being played by the current player. For example, the preset rules include: the restraint relationship of a single card, the size relationship of a single card, the rules for the combination of multiple cards, the size relationship of a card combination, or the conditions for winning a card, etc.
例如,在预设条件中包括赢牌条件的情况下,通过比较当前玩家持牌和预设规则,即可区分当前玩家手中已满足部分赢牌条件的牌,以及当前玩家手中不满足赢牌条件的牌,在向当前玩家提示这些信息后,当前玩家即可获知可丢弃的牌。For example, if the preset conditions include winning conditions, by comparing the current player's cards with the preset rules, it is possible to distinguish cards that have met part of the winning conditions in the current player's hand, and cards that do not meet the winning conditions in the current player's hand cards, after prompting the current player with this information, the current player can learn the cards that can be discarded.
或者,在预设条件中包括多张组合的规则的情况下,通过比较当前玩家持牌,即可区分玩家手中已组合在一起的牌,以及,当前玩家手中无法组合在一起的牌,在向当前玩家提示这些信息后,当前玩家即可获知可丢弃的牌。Or, in the case that the preset conditions include the rules of multiple combinations, by comparing the current player's cards, it is possible to distinguish the cards that have been combined in the player's hand, and the cards that cannot be combined in the current player's hand. After the current player prompts this information, the current player can learn the cards that can be discarded.
S203、显示提示信息。S203, displaying prompt information.
在AR眼镜中,以AR眼镜的坐标系,在虚拟屏幕的固定区域显示提示信息,例如,虚拟屏幕的左上角显示提示信息,或在虚拟屏幕的上方显示提示信息;或者,以场景中具体牌的位置为基准,在相对于该基准位置不变的区域中显示提示信息,例如,在一特定牌上方显示关于该一特定牌的提示信息,或,在一特定牌的下方显示该一特定牌的提示信息。In the AR glasses, the prompt information is displayed in a fixed area of the virtual screen in the 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; The position of the card is used as the reference, and the prompt information is displayed in an area that is unchanged relative to the reference position, for example, the prompt information about the specific card is displayed above a specific card, or the specific card is displayed below a specific card prompt information.
在新玩家进行牌类游戏时,将新玩家持牌与预设规则进行比较,从而获得符合预设规则的提示信息,并将该提示信息向新玩家显示,新玩家即可依据提示信息进行牌类游戏。这样,新玩家可快速的融入一种新的牌类游戏中,提高了新玩家的游戏体验。When a new player plays a card game, compare the new player's card with the preset rules, so as to obtain the prompt information that meets the preset rules, and display the prompt information to the new player, and the new player can play cards according to the prompt information. class games. In this way, new players can quickly integrate into a new card game, which improves the game experience of new players.
结合图3所示,显示提示信息,包括:As shown in Figure 3, prompt information is displayed, including:
S301、在当前玩家持牌中选定与提示信息相对应的待提示牌。S301. Select a card to be prompted corresponding to the prompt information among the cards held by the current player.
在AR眼镜接收到提示信息后,在当前玩家持牌中选定与提示信息相对应的待提示牌。待提示牌可以是一张或多张独立牌,待提示牌还可以是一个或多个牌组合(牌组合对应于独立牌)。After the AR glasses receive the prompt information, select the card to be prompted corresponding to the prompt information among the current player's cards. The card to be prompted can be one or more independent cards, and the card to be prompted can also be one or more card combinations (the card combination corresponds to the independent card).
S302、标记待提示牌。S302. Mark a sign to be prompted.
可用特殊颜色标记待提示牌,使待提示牌高亮。这样便于引起玩家注意。例如,标记符合预设规则的出牌,或者,利用一种颜色标记一个牌组合,利用另一种颜色标记另一个牌组合。The cards to be prompted can be marked with special colors to make the cards to be prompted highlighted. This makes it easy to get the player's attention. For example, marking cards that meet preset rules, or marking one combination of cards with one color and another combination of cards with another color.
可用内容符合预设规则的文字信息标记待提示牌。便于玩家依据预设规则判断并决定下一步的操作,例如出牌、吃牌等。The sign to be prompted can be marked with text information whose content meets the preset rules. It is convenient for players to judge and decide the next operation according to the preset rules, such as playing cards, taking cards, etc.
通过上述步骤,即可在提示牌处显示特殊颜色或特定文字,使得标记更具针对性,便于当前玩家根据提示进行相关决定或相关操作,如出牌顺序、吃牌等。提高了用户游戏体验。Through the above steps, a special color or specific text can be displayed on the prompt card, making the mark more targeted, and it is convenient for the current player to make relevant decisions or related operations according to the prompt, such as the order of playing cards, eating cards, etc. Improved user gaming experience.
结合图4所示,在当前玩家持牌中选定与提示信息相对应的待提示牌,包括:As shown in Figure 4, select the cards to be prompted corresponding to the prompt information in the current player's cards, including:
S401、在参照物所在的第一坐标系中,确定待提示牌的坐标,记为第一坐标。S401. In the first coordinate system where the reference object is located, determine the coordinates of the sign to be prompted, and denote it as the first coordinate.
其中,参照物是在当前场景中确定的。当前场景指的是AR眼镜获得场景视频中的当前画面,或者,当前场景指的是AR眼镜当前获得的当场景图像。Wherein, the reference object is determined in the current scene. The current scene refers to the current image in the scene video obtained by the AR glasses, or the current scene refers to the current scene image currently obtained by the AR glasses.
该参照物用于建立第一坐标系。例如,以该参照物的中心为坐标原点,建立第一坐标系;或者,以该参照物的中心为坐标原点,建立第一坐标系。This reference object is used to establish the first coordinate system. For example, the first coordinate system is established with the center of the reference object as the coordinate origin; or, the first coordinate system is established with the center of the reference object as the coordinate origin.
可选地,场景数据中包括一特定物体,选择当前场景中的特定物体作为参照物。其中,特定物体为人工设定的物体,例如,以麻将桌的四条边作为特定物体,或者,在牌桌上放置一个物体,以该放置的物体作为特定物体。在一些实际应用中,在对AR眼镜初始化过程中,拍摄一个物体的照片,将该物体设置为参照物,这样,在AR眼镜识别出该物体后,即以该物体作为参照物。Optionally, the scene data includes a specific object, and the specific object in the current scene is selected as the reference object. Wherein, the specific object is an artificially set object, for example, the four sides of the mahjong table are used as the specific object, or an object is placed on the card table, and the placed object is used as the specific object. In some practical applications, during the initialization process of the AR glasses, a photo of an object is taken, and the object is set as a reference object. In this way, after the AR glasses recognize the object, the object is used as the reference object.
可选地,场景数据中包括弃牌堆,通过图像识别技术获取当前场景中的弃牌堆,以弃牌堆作为参照物。Optionally, the scene data includes a discard pile, and the discard pile in the current scene is acquired through image recognition technology, and the discard pile is used as a reference.
在一些实际场景中,在牌类游戏刚开始时,尚未形成弃牌堆,此时随机选择一牌堆作为参照物;在牌类游戏进行过程中,逐渐形成弃牌堆,此时以弃牌堆作为参照物。例如,实时识别场景中的各牌堆的大小(例如识别各牌堆的面积),在一牌堆逐渐变大时,确定该牌堆作为弃牌堆。In some actual scenarios, at the beginning of the card game, the discard pile has not yet been formed, and a pile of cards is randomly selected as a reference at this time; during the process of the card game, the discard pile is gradually formed, and the discard pile stack as a reference. For example, the size of each pile of cards in the scene is recognized in real time (for example, the area of each pile of cards is recognized), and when a pile of cards gradually becomes larger, the pile of cards is determined as a pile of discarded cards.
在多个玩家进行牌类游戏时,玩家持牌的位置往往不是固定的,但玩家持牌的位置通常在弃牌堆附近,随着玩家持牌位置改变,弃牌堆也发生相应的改变,以弃牌堆作为参照物,可提高场景数据中含有当前玩家持牌的概率,也提高标记待提示牌的成功率。When multiple players play a card game, the position of the player's card is often not fixed, but the position of the player's card is usually near the discard pile. As the position of the player's card changes, the discard pile also changes accordingly. Using the discard pile as a reference can increase the probability that the scene data contains the current player's card, and also increase the success rate of marking the card to be prompted.
在获得参照物后,以参照物中的一点为基准点,建立第一坐标系。例如,以参照物的中心作为基准点,或者,以参照物的重心为基准点。After the reference object is obtained, a first coordinate system is established with a point in the reference object as a reference point. For example, the center of the reference object is used as the reference point, or the center of gravity of the reference object is used as the reference point.
AR眼镜接收到提示信息后,利用图像识别技术处理当前场景数据,定位当前玩家持牌和参照物,基于参照物确定第一坐标系,确定每一张牌在第一坐标系中的坐标。再根据映射关系确定待提示牌,最后确定待提示牌在第一坐标系中的坐标,记为第一坐标。After receiving the prompt information, the AR glasses use image recognition technology to process the current scene data, locate the current player's card and the reference object, determine the first coordinate system based on the reference object, and determine the coordinates of each card in the first coordinate system. Then determine the board to be prompted according to the mapping relationship, and finally determine the coordinates of the board to be prompted in the first coordinate system, which is recorded as the first coordinate.
或者,AR眼镜接收到提示信息后,根据映射关系确定待提示牌,再利用图像识别技术处理当前场景数据,定位当前玩家持牌和参照物,基于参照物确定第一坐标系,确定待提示牌在第一坐标系中的坐标,记为第一坐标。Or, after receiving the prompt information, the AR glasses determine the card to be prompted according to the mapping relationship, and then use image recognition technology to process the current scene data, locate the current player's card and the reference object, determine the first coordinate system based on the reference object, and determine the card to be prompted Coordinates in the first coordinate system are denoted as first coordinates.
S402、将第一坐标变换为AR眼镜的虚拟屏幕所在的第二坐标系中的坐标,记为第二坐标。S402. Transform the first coordinates into coordinates in the second coordinate system where the virtual screen of the AR glasses is located, and record them as second coordinates.
其中,第二坐标对应的牌为待提示牌。Wherein, the card corresponding to the second coordinate is the card to be prompted.
在AR眼镜中,前置高清摄像机光心、虚拟屏幕中心点、虚拟成像图中心点在三维空间中成一条直线,在大多数情况下,上述步骤的第一坐标系和第二坐标系为同一个坐标系,第一坐标和第二坐标为同一个坐标。In 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 image form a straight line in three-dimensional space. In most cases, the first coordinate system and the second coordinate system of the above steps are the same A coordinate system, the first coordinate and the second coordinate are the same coordinate.
通过上述步骤,即可确定待提示牌的第二坐标,便于进一步地对该提示牌具有针对性的标记、提示。提高了玩家的游戏体验。Through the above steps, the second coordinates of the sign to be prompted can be determined, which facilitates further targeted marking and prompting of the sign. Improved the player's gaming experience.
结合图5所示,将第一坐标变换为AR眼镜的虚拟屏幕所在的第二坐标系中的坐标,包括:As shown in Figure 5, transforming the first coordinates into coordinates in the second coordinate system where the virtual screen of the AR glasses is located includes:
S501、获得开始确定第一坐标至开始确定第二坐标的时间段内,AR眼镜的相对旋转方向和相对旋转角度。S501. Obtain the relative rotation direction and relative rotation angle of the AR glasses within the time period from the start of determining the first coordinate to the start of determining the second coordinate.
例如,通过AR眼镜中的陀螺仪获得AR眼镜中的相对旋转方向和相对旋转角度。在开始确定第一坐标时,记录AR眼镜的第一角度,在开始确定第二坐标时,记录AR眼镜的第二角度,计算第二角度与第一角度的角度差,其中,角度差的正负为相对旋转方向,角度差的绝对值为相对旋转角度。For example, the relative rotation direction and relative rotation angle in the AR glasses are obtained through the gyroscope in the AR glasses. When starting to determine the first coordinates, record the first angle of the AR glasses, and when starting to determine the second coordinates, record the second angle of the AR glasses, and calculate the angle difference between the second angle and the first angle, wherein the positive angle of the angle difference Negative is the relative rotation direction, and the absolute value of the angle difference is the relative rotation angle.
S502、将第一坐标沿相对旋转方向的反向旋转相对旋转角度,获得第二坐标。S502. Rotate the first coordinate along the opposite direction of the relative rotation by the relative rotation angle to obtain the second coordinate.
其中,上述步骤的旋转过程是以当前玩家的眼睛为旋转中心进行旋转的。例如,以当前场景中参照物相对于当前场景中心点的位置,确定当前玩家相对于当前场景的偏转角度,依据当前场景的范围和AR眼镜中摄像装置/拍照装置的视场角确定当前玩家相对于当前场景的距离,依据该偏转角度和距离确定旋转中心;或者,旋转中心是预设的。Wherein, the rotation process in the above steps is performed with the current player's eyes as the rotation center. For example, use the position of the reference object in the current scene relative to the center point of the current scene to determine the deflection angle of the current player relative to the current scene, and determine the relative The distance from the current scene, and the rotation center is determined according to the deflection angle and the distance; or, the rotation center is preset.
在上述步骤中,通过引入相对旋转方向和相对旋转角度,降低了在AR眼镜确定第一坐标系的过程中,AR眼镜的转动角度对确定第二坐标的不利影响,进而可更加准确地确定待提示牌的第二坐标,便于在更加准确的位置进行标记。In the above steps, by introducing the relative rotation direction and the relative rotation angle, the adverse effect of the rotation angle of the AR glasses on the determination of the second coordinate system during the process of determining the first coordinate system by the AR glasses is reduced, so that the target coordinate system can be determined more accurately. The second coordinate of the signage is convenient for marking at a more accurate position.
结合图6所示,本公开实施例提供了一种用于提示牌类游戏规则的方法。该实施例中以该用于提示牌类游戏规则的方法应用于图1所示的服务器中来举例说明。该用于提示牌类游戏规则的方法包括:As shown in FIG. 6 , the embodiment of the present disclosure provides a method for prompting the rules of a card game. In this embodiment, the method for prompting card game rules is applied to the server shown in FIG. 1 for illustration. The method for prompting card game rules includes:
S601、接收AR眼镜发送的场景数据。S601. Receive scene data sent by the AR glasses.
其中,场景数据中包括当前玩家持牌。Wherein, the scene data includes the current player's license.
服务器在AR眼镜接收到的场景数据可以是原始的场景数据,也可以是经过AR眼镜处理过的场景数据,例如压缩、分割等处理。The scene data received by the server in the AR glasses can be the original scene data, or the scene data processed by the AR glasses, such as compression and segmentation.
服务器接收到该场景数据后,在该场景数据中提取出玩家持牌。After receiving the scene data, the server extracts the player's card from the scene data.
S602、比较当前玩家持牌和预设规则,获得提示信息。S602. Compare the current player's license with the preset rules, and obtain prompt information.
其中,预设规则是当前牌类游戏的游戏规则。Wherein, the preset rule is a game rule of the current card game.
可选地,预设规则是智能终端发送的。例如,玩家在智能终端中设置预设规则,在玩家确定设置成功后,智能终端将该预设规则发送至服务器。上述玩家可以是当前玩家,也可以是其他玩家。Optionally, the preset rule is sent by the smart terminal. For example, the player sets a preset rule in the smart terminal, and after the player confirms that the setting is successful, the smart terminal sends the preset rule to the server. The aforementioned player may be the current player or other players.
可选地,预设规则是预存在服务器中的。例如,在搭建服务器时,预存该预设规则,或者,服务器接收到智能终端发送的预设规则后,存储该预设规则,在下一次使用该预设规则时,即可直接读取该预设规则。Optionally, the preset rules are pre-stored in the server. For example, when the server is built, the preset rules are pre-stored, or the server stores the preset rules after receiving the preset rules sent by the smart terminal, and the preset rules can be directly read when the preset rules are used next time. rule.
S603、向AR眼镜发送提示信息。S603. Send prompt information to the AR glasses.
在新玩家进行牌类游戏时,将新玩家持牌与预设规则进行比较,从而获得符合预设规则的提示信息,并将该提示信息通过AR眼镜向新玩家显示,新玩家即可依据提示信息进行牌类游戏。这样,新玩家可快速的融入一种新的牌类游戏中,提高了新玩家的游戏体验。When a new player is playing a card game, compare the new player's card with the preset rules, so as to obtain the prompt information that meets the preset rules, and display the prompt information to the new player through the AR glasses, and the new player can follow the prompt information to play a card game. In this way, new players can quickly integrate into a new card game, which improves the game experience of new players.
结合图7所示,比较当前玩家持牌和预设规则,获得提示信息,包括:As shown in Figure 7, compare the current player's license with the preset rules, and obtain prompt information, including:
S701、按照预设规则组合当前玩家持牌。S701. Combine the current player's cards according to preset rules.
预设规则中包括:将同一花色的牌组合在一起,或者,按照牌的数字顺序(由大到小或由小达到)将牌组合在在一起,或者,将同一花色的牌,按照牌的数字顺序将牌组合在一起。The preset rules include: combine cards of the same suit, or combine cards together according to the numerical order of the cards (from big to small or from small to small), or combine cards of the same suit according to the order of the cards. The cards are grouped together in numerical order.
或者,预设规则中包括所有牌组合,逐一选取牌组合与当前玩家持牌进行对比,在当前玩家持牌中包括一个完整的牌组合的情况下,将当前玩家持牌中的这些牌组合在一起,形成一个牌组合。其中,牌组合指的是:按照游戏规则可以组合在一起的牌,一个牌组合往往具有特定含义或功能。Alternatively, the preset rules include all card combinations, select card combinations one by one and compare them with the current player's cards, and if the current player's cards include a complete card combination, combine these card combinations in the current player's cards. Together, form a card combination. Wherein, the combination of cards refers to cards that can be combined together according to the rules of the game, and a combination of cards often has a specific meaning or function.
S702、确定无法组合的持牌为提示信息。S702. It is determined that licenses that cannot be combined are prompt information.
当前玩家可根据上述步骤获得的提示信息,决定需要打出的牌。The current player can decide the cards to be played according to the prompt information obtained in the above steps.
或者,结合图8所示,比较当前玩家持牌和预设规则,获得提示信息,包括:Or, as shown in Figure 8, compare the current player's license with the preset rules to obtain prompt information, including:
S801、在场景数据中获得其他玩家的出牌。S801. Obtain cards played by other players from scene data.
实时识别弃牌堆,在本次识别的弃牌堆不同于上次识别的弃牌堆的情况下,例如弃牌堆中多了一张牌,则弃牌堆图像发生了变化,定位发生变化的区域,识别该区域中的弃牌,则该弃牌即为其他玩家的出牌。Real-time recognition of the discard pile. When the discard pile recognized this time is different from the discard pile recognized last time, for example, if there is one more card in the discard pile, the image of the discard pile will change, and the positioning will change. If you identify the discarded cards in this area, then the discarded cards will be the discarded cards of other players.
可以获得上家的出牌,或者,获得下家的出牌,或者,获得非邻家的出牌。You can get the cards from the previous house, or the cards from the next house, or the cards from the non-neighboring house.
S802、基于预设规则,确定与出牌相对应一个或多个牌组合。S802. Based on preset rules, determine one or more card combinations corresponding to playing cards.
在预设规则中,上述一个或多个牌组合中均包括上述出牌。In the preset rule, the above-mentioned one or more card combinations all include the above-mentioned playing cards.
S803、将当前玩家持牌与一个或多个牌组合依次进行比较。S803. Compare the current player's card with one or more card combinations in sequence.
对于任意一个牌组合,均将该牌组合中的任一张牌与当前玩家所有持牌进行比较,以确定当前玩家持牌是否包括该一张牌。在当前玩家持牌中包括该牌组合的所有牌的情况下,确定当前玩家持牌满足该牌组合的全部;在当前玩家持牌中只包括该牌组合的部分牌的情况下,确定当前玩家持牌满足该牌组合的部分。For any card combination, any card in the card combination is compared with all the current player's cards to determine whether the current player's cards include the card. In the case that the current player's cards include all the cards of the card combination, it is determined that the current player's cards meet all the cards of the card combination; Holding a card satisfies the portion of the card combination.
S804、在当前玩家持牌满足一个牌组合的全部或部分的情况下,确定满足一个牌组合的全部或部分的持牌为提示信息。S804. In the case that the current player's cards satisfy all or part of a card combination, determine that the cards that meet all or part of a card combination are used as prompt information.
在上家出牌后,当前玩家可依据上述步骤获得的提示信息,进行针对性的操作,提高了玩家之间的互动效果。After the previous player plays cards, the current player can perform targeted operations according to the prompt information obtained in the above steps, which improves the interaction effect between players.
结合图9所示,本公开实施例中提供了一种用于提示牌类游戏规则的方法。该实施例中以该用于提示牌类游戏规则的方法应用于图1所示的智能终端中来举例说。该用于提示牌类游戏规则的方法包括:As shown in FIG. 9 , an embodiment of the present disclosure provides a method for prompting card game rules. In this embodiment, the method for prompting card game rules is applied to the smart terminal shown in FIG. 1 as an example. The method for prompting card game rules includes:
S901、获得牌类游戏的预设规则。S901. Obtain a preset rule of a card game.
例如,玩家在智能终端输入某种牌类游戏的预设规则,智能终端即可获得该中牌类游戏的预设规则。或者,智能终端中存储有多种牌类游戏的预设规则,在玩家选定其中一种预设规则,智能终端依据玩家的选择读取存储空间以获得牌类游戏的预设规则。上述玩家可以是当前玩家,也可以是其他玩家。For example, if a player inputs preset rules of a card game on the smart terminal, the smart terminal can obtain the preset rules of the card game. Alternatively, the smart terminal stores preset rules of various card games, and when the player selects one of the preset rules, the smart terminal reads the storage space according to the player's choice to obtain the preset rules of the card game. The aforementioned player may be the current player or other players.
在上述步骤中的预设规则用于与当前玩家持牌进行比较,以获得提示信息。服务器获得当前玩家持牌和该预设规则,服务器比较当前玩家持牌和预设规则,获得提示信息,在将该提示信息发送至AR眼镜,AR眼镜将该提示信息展示给当前玩家。The preset rules in the above steps are used to compare with the current player's cards to obtain prompt information. The server obtains the current player's license and the preset rules. The server compares the current player's license with the preset rules to obtain prompt information. After sending the prompt information to the AR glasses, the AR glasses display the prompt information to the current player.
S902、向服务器发送预设规则。S902. Send the preset rule to the server.
在新玩家进行牌类游戏时,通过该智能终端向服务器提供预设规则,服务器将新玩家持牌与预设规则进行比较,从而获得符合预设规则的提示信息,并将该提示信息通过AR眼镜向新玩家显示,新玩家即可依据提示信息进行牌类游戏。这样,新玩家可快速的融入一种新的牌类游戏中,提高了新玩家的游戏体验。When a new player plays a card game, the smart terminal provides the server with preset rules, and the server compares the new player's card with the preset rules to obtain prompt information that conforms to the preset rules, and sends the prompt information through the AR The glasses show the new player, and the new player can play the card game according to the prompt information. In this way, new players can quickly integrate into a new card game, which improves the game experience of new players.
结合图10所示,本公开实施例提供了一种用于提示牌类游戏规则的系统。该系统包括AR眼镜和服务器,本实施例在AR眼镜和服务器两者交互的角度对用于提示牌类游戏规则的系统进行示例性说明。As shown in FIG. 10 , an embodiment of the present disclosure provides a system for prompting card game rules. The system includes AR glasses and a server. This embodiment illustrates the system for prompting card game rules from the perspective of interaction between the AR glasses and the server.
S1001、AR眼镜向服务器发送场景数据;其中,所述场景数据中包括当前玩家持牌;S1001. The AR glasses send scene data to the server; wherein, the scene data includes the current player's license;
S1002、服务器比较当前玩家持牌和预设规则,获得提示信息;S1002. The server compares the current player's license with the preset rules, and obtains prompt information;
S1003、服务器向AR眼镜发送提示信息;S1003. The server sends a prompt message to the AR glasses;
S1004、AR眼镜显示提示信息。S1004. The AR glasses display prompt information.
结合图11所示,本公开实施例提供了一种用于提示牌类游戏规则的系统。该系统包括AR眼镜、服务器和智能终端,本实施例在AR眼镜、服务器和智能终端三者交互的角度对用于提示牌类游戏规则的系统进行示例性说明。As shown in FIG. 11 , an embodiment of the present disclosure provides a system for prompting card game rules. The system includes AR glasses, a server, and a smart terminal. This embodiment exemplifies the system for prompting card game rules from the perspective of interaction between the AR glasses, the server, and the smart terminal.
S1101、智能终端获得牌类游戏的预设规则;S1101. The smart terminal obtains the preset rules of the card game;
S1102、智能终端向服务器发送预设规则;S1102. The smart terminal sends preset rules to the server;
S1103、AR眼镜向服务器发送场景数据;其中,所述场景数据中包括当前玩家持牌;S1103. The AR glasses send scene data to the server; wherein, the scene data includes the current player's license;
S1104、服务器比较当前玩家持牌和预设规则,获得提示信息;S1104. The server compares the current player's license with the preset rules, and obtains prompt information;
S1105、服务器向AR眼镜发送提示信息;S1105. The server sends a prompt message to the AR glasses;
S1106、AR眼镜显示提示信息。S1106. The AR glasses display prompt information.
结合图12所示,本公开实施例提供了一种AR眼镜。该AR眼镜包括第一发送模块1201、第一接收模块1202和显示模块1203。第一发送模块1201被配置为向服务器发送场景数据,第一接收模块1202被配置为接收服务器反馈的提示信息,显示模块1203被配置为显示提示信息。其中,场景数据中包括当前玩家持牌,提示信息是通过比较当前玩家持牌和预设规则获得的。As shown in FIG. 12 , an embodiment of the present disclosure provides AR glasses. The AR glasses include a
结合图13所示,显示模块1203包括选定单元1204和标记单元1205,其中,选定单元1204被配置为在当前玩家持牌中选定与提示信息相对应的待提示牌,标记单元1205被配置为标记待提示牌。As shown in FIG. 13 , the
可选地,选定单元1204被具体配置为:在参照物所在的第一坐标系中,确定待提示牌的坐标,记为第一坐标,将第一坐标变换为AR眼镜的虚拟屏幕所在的第二坐标系中的坐标,记为第二坐标,其中,参照物是在当前场景中确定的,第二坐标对应的牌为待提示牌。Optionally, the selecting
可选地,将第一坐标变换为AR眼镜的虚拟屏幕所在的第二坐标系中的坐标,包括:获得在开始确定第一坐标至开始确定第二坐标的时间段内,AR眼镜的相对旋转方向和相对旋转角度,将第一坐标沿相对旋转方向的反向旋转相对旋转角度,获得第二坐标。Optionally, transforming the first coordinates into coordinates in the second coordinate system where the virtual screen of the AR glasses is located includes: obtaining the relative rotation of the AR glasses during the time period from starting to determine the first coordinates to starting to determine the second coordinates direction and relative rotation angle, the first coordinate is rotated in the opposite direction to the relative rotation angle to obtain the second coordinate.
结合图14所示,本公开实施例提供了一种服务器。该服务器包括:第二接收模块1401、比较模块1402和第二发送模块1403。With reference to what is shown in FIG. 14 , an embodiment of the present disclosure provides a server. The server includes: a
第二接收模块1401被配置为接收AR眼镜发送的场景数据。其中,场景数据中包括当前玩家持牌。The
比较模块1402被配置为比较当前玩家持牌和预设规则,获得提示信息。The
第二发送模块1403被配置为向AR眼镜发送提示信息。The
结合图15所示,比较模块1402包括组合单元1404和第一确定单元1405,其中,组合单元1404被配置为按照预设规则组合当前玩家持牌,第一确定单元1405被配置为确定无法组合的持牌为提示信息。As shown in FIG. 15 , the
或者,结合图16所示,比较模块1402包括获得单元1406、第二确定单元1407、比较单元1408和第三确定单元1409。获得单元1406被配置为在场景数据中获得其他玩家的出牌,第二确定单元1407被配置为基于预设规则,确定与出牌相对应一个或多个牌组合,比较单元1408被配置为将当前玩家持牌与一个或多个牌组合依次进行比较,第三确定单元1409被配置为在当前玩家持牌满足一个牌组合的全部或部分的情况下,确定满足一个牌组合的全部或部分的持牌为提示信息。Alternatively, as shown in FIG. 16 , the comparing
结合图17所示,本公开实施例提供了一种智能终端。该智能终端包括:获得模块1701和第三发送模块1702。获得模块1701被配置为获得牌类游戏的预设规则,第三发送模块1702被配置为向服务器发送预设规则。其中,预设规则用于与当前玩家持牌进行比较,以获得提示信息。With reference to what is shown in FIG. 17 , an embodiment of the present disclosure provides a smart terminal. The smart terminal includes: an obtaining
本公开实施例提供到了一种用于提示牌类游戏规则的装置,包括处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行前述实施例提供的用于提示牌类游戏规则的方法。An embodiment of the present disclosure provides a device for prompting card game rules, including a processor and a memory storing program instructions. method of class game rules.
结合图18所示,本公开实施例提供了一种用于提示牌类游戏规则的装置。该用于提示牌类游戏规则的装置可通过软件、硬件或者两者的结合实现成为AR眼镜、服务器或智能终端的全部或一部分。该装置包括:As shown in FIG. 18 , an embodiment of the present disclosure provides a device for prompting the rules of a card game. The device for prompting card game rules can be implemented as all or a part of AR glasses, a server or an intelligent terminal through software, hardware or a combination of the two. The device includes:
处理器(processor)1801和存储器(memory)1802,还可以包括通信接口(Communication Interface)1803和总线1804。其中,处理器1801、通信接口1803、存储器1802可以通过总线1804完成相互间的通信。通信接口1803可以用于信息传输。处理器1801可以调用存储器1802中的逻辑指令,以执行前述实施例提供的用于提示牌类游戏规则的方法。A processor (processor) 1801 and a memory (memory) 1802 may also include a communication interface (Communication Interface) 1803 and a
此外,上述的存储器1802中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the
存储器1802作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器1801通过运行存储在存储器1802中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的方法。The
存储器1802可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器1802可以包括高速随机存取存储器,还可以包括非易失性存储器。The
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令设置为执行前述实施例提供的用于提示牌类游戏规则的方法。An embodiment of the present disclosure provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured to execute the method for presenting card game rules provided in the foregoing embodiments.
本公开实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行前述实施例提供的用于提示牌类游戏规则的方法。An embodiment of the present disclosure provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the information provided in the foregoing embodiments. Method used to hint the rules of a card game.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或一个以上指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例中方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机读取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of 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 include any and all possible combinations of one or more of the associated listed ones. Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element qualified by the statement "comprising a ..." does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functions using different methods for each specific application, but such implementation should not be considered as exceeding the scope of the disclosed embodiments. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be 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 disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.
Claims (8)
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)
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 | 北京长行高科信息技术有限公司 | Remote interconnection system and method of mahjong table and mahjong tiles based on AR technology |
CN110874868A (en) * | 2018-09-03 | 2020-03-10 | 广东虚拟现实科技有限公司 | Data processing method, device, terminal device and storage medium |
CN111273763A (en) * | 2018-12-05 | 2020-06-12 | 扩展知识公司 | Augmented reality implementation method and computer system for implementing augmented reality |
-
2020
- 2020-06-30 CN CN202010613757.3A patent/CN111840996B/en active Active
Patent Citations (8)
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, device, terminal device 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 | 北京长行高科信息技术有限公司 | Remote interconnection system and method of mahjong table and mahjong tiles based on AR technology |
Also Published As
Publication number | Publication date |
---|---|
CN111840996A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9595127B2 (en) | Three-dimensional collaboration | |
US10573060B1 (en) | Controller binding in virtual domes | |
US8854356B2 (en) | Storage medium having stored therein image processing program, image processing apparatus, image processing system, and image processing method | |
CN108108012B (en) | Information interaction method and device | |
WO2019150269A1 (en) | Method and system for 3d graphical authentication on electronic devices | |
US20120218299A1 (en) | Information processing system, information processing method, information processing device and tangible recoding medium recording information processing program | |
WO2021143282A1 (en) | Three-dimensional facial model generation method and apparatus, computer device and storage medium | |
CN112543343B (en) | Live broadcast picture processing method and device based on live broadcast with wheat | |
CN103871092A (en) | Display control device, display control method and program | |
US20130215112A1 (en) | Stereoscopic Image Processor, Stereoscopic Image Interaction System, and Stereoscopic Image Displaying Method thereof | |
CN108159700B (en) | Method, device, storage medium, processor and terminal for generating verification code | |
CN102076388A (en) | Portable type game device and method for controlling portable type game device | |
JP5791434B2 (en) | Information processing program, information processing system, information processing apparatus, and information processing method | |
CN115857704A (en) | Exhibition system based on metauniverse, interaction method and electronic equipment | |
CN106156237B (en) | Information processing method, information processing unit and user equipment | |
WO2018000608A1 (en) | Method for sharing panoramic image in virtual reality system, and electronic device | |
US20140087797A1 (en) | Photographic hide-and-seek game for electronic mobile devices | |
CN115176239A (en) | Content distribution system, content distribution method, and content distribution program | |
CN112774185B (en) | Virtual card control method, device and equipment in card virtual scene | |
CN111840996B (en) | Method, device and system for prompting card game rules and AR glasses | |
CN116057580A (en) | Assistance data for anchor points in augmented reality | |
CN116912463A (en) | 3D virtual image processing method, device, electronic device and readable storage medium | |
CN114425162A (en) | Video processing method and related device | |
CN114949851A (en) | Augmented reality interaction method, device, electronic device and storage medium | |
EP2490367B1 (en) | Information processing program, information processing apparatus, information processing method and information processing system |
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 |