
技术领域technical field
本发明涉及辅助交互系统技术领域,具体为一种具备隐私保护的游戏辅助系统及方法。The invention relates to the technical field of auxiliary interaction systems, in particular to a game auxiliary system and method with privacy protection.
背景技术Background technique
麻将是中国传统牌种,集娱乐性与策略性于一体,深受民众喜爱。由于国内不同省市存在上百种不同的玩法,规则各异。玩家们在娱乐和竞技过程中,容易对规则的产生误解,进而在计算得分时产生分歧,并为此引起很多的矛盾,影响玩家游戏心情,降低了竞技效果。Mahjong is a traditional Chinese game, which combines entertainment and strategy, and is very popular among the people. Since there are hundreds of different ways to play in different provinces and cities in China, the rules are different. In the process of entertainment and competition, players are prone to misunderstanding the rules, and then have differences when calculating the score, which causes a lot of contradictions, affects the player's game mood, and reduces the competition effect.
同时,麻将玩家群体的年龄跨度大,从几岁到上百岁的群体都可以玩,不同玩家的在得分的计算能力上差别很大。麻将结束后,参与的玩家有时会花很长时间来计算得分,算错了,算漏了,小计对不上,都会使得游戏无法继续。计算得分耽搁时间越多,也越影响玩家的体验感和游戏的连续性。At the same time, the age span of the mahjong player group is wide, from a few years old to hundreds of years old. After mahjong is over, the participating players sometimes spend a long time calculating the score. If the calculation is wrong, the calculation is missed, or the subtotal is not correct, it will make the game unable to continue. The longer the delay in calculating the score, the more it affects the player's sense of experience and the continuity of the game.
随着信息和网络技术的飞速发展,智能化设备、网络应用和服务可以帮助人们解决工作和生活中的各种问题,但是在智能化设备、网络应用等为人们带来便利的同时,也给用户带来了隐私泄漏的风险。申请人拟开发一种游戏辅助系统,通过采集影像数据作为系统输入,来对各个用户的游戏行为进行检测进而可以实现智能化的提醒、分数核算、作弊检测等功能,可以应用于线上和线下游戏,如麻将、棋牌等,提升游戏玩家的游戏体验,同时可以对用户信息进行隐私化处理,避免用户隐私泄漏。With the rapid development of information and network technology, intelligent devices, network applications and services can help people solve various problems in work and life. Users bring the risk of privacy leakage. The applicant intends to develop a game assistance system, which can detect the game behavior of each user by collecting image data as system input, so as to realize intelligent reminder, score calculation, cheating detection and other functions, which can be applied to online and online Play games, such as mahjong, chess and cards, etc., to improve the game player's game experience, and at the same time, it can perform privacy processing on user information to avoid user privacy leakage.
发明内容SUMMARY OF THE INVENTION
本发明意在提供具备隐私保护的游戏辅助系统及方法,能够解决现有麻将游戏过程中容易存在因未注意到他人出牌而降低用户游戏体验,由于各地规则不同而容易产生对规则的误解以及分数计算不一致的情况,以及计算花费时间长,容易算错等问题,并且能够对采集的数据进行隐私化处理,避免用户隐私泄漏。The present invention is intended to provide a game assistance system and method with privacy protection, which can solve the problem that in the existing mahjong game process, the user's game experience is easily reduced due to not noticing the cards played by others, and the misunderstanding of the rules is likely to occur due to different rules in different places. Inconsistent score calculation, long calculation time, easy to miscalculate and other problems, and can carry out privacy processing on the collected data to avoid leakage of user privacy.
本申请提供如下技术方案:This application provides the following technical solutions:
具备隐私保护的游戏辅助系统,包括:Privacy-preserving game assistance systems, including:
影像采集模块,所述影像采集模块用于采集桌面上的影像数据;an image acquisition module, the image acquisition module is used to collect image data on the desktop;
存储模块,用于存储影像采集模块采集的影像数据;The storage module is used to store the image data collected by the image collection module;
影像识别模块,所述影像识别模块用于根据影像数据识别影像中的各个对象,所述影像识别模块还用于根据影像数据识别游戏过程中的游戏事件;an image recognition module, the image recognition module is used to recognize each object in the image according to the image data, and the image recognition module is also used to recognize the game event in the game process according to the image data;
规则获取模块,用于获取当前游戏的游戏规则;The rule acquisition module is used to acquire the game rules of the current game;
分数变动生成模块,用于根据游戏事件以及游戏规则生成分数变动记录;The score change generation module is used to generate score change records according to game events and game rules;
结算模块,用于根据分数变动记录生成游戏结算数据;The settlement module is used to generate game settlement data according to the score change record;
隐私处理模块,用于根据影像识别模块识别的对象,分析需要隐私处理的区域并对需要隐私处理的区域进行隐私化处理;The privacy processing module is used to analyze the areas that need privacy processing according to the objects identified by the image recognition module, and perform privacy processing for the areas that need privacy processing;
播报显示模块,所述播报显示模块用于对游戏事件以及结算数据进行播报和显示。A broadcast and display module is used for broadcast and display of game events and settlement data.
本发明技术方案中,通过影像采集模块采集游戏过程中,桌面上的影像数据,并基于影像识别,实现对游戏内各个游戏事件的检测,进而获取到麻将游戏过程中发生的游戏事件,如游戏开始、打牌、胡牌等,播报显示模块可以对游戏事件进行实时播报,及时提醒用户注意,避免用户因为未注意到他人的游戏行为而影响游戏体验。分数变动生成模块根据游戏事件结合游戏的规则,判断各个游戏事件对各个用户的分数的变动影响,生成分数变动记录,结算模块用于在游戏结束后,基于分数变动记录生成游戏的结算数据。本申请能够解决现有麻将游戏过程中容易存在因未注意到他人出牌而降低用户游戏体验的问题,同时相比人手工计算分数,本申请能够解决麻将游戏过程中由于各地规则不同而导致的分数计算不一致,计算花费时间长,容易算错等问题,可以根据当前游戏规则自动实现智能分数结算。In the technical solution of the present invention, the image data on the desktop during the game is collected by the image acquisition module, and based on image recognition, the detection of various game events in the game is realized, and the game events that occur during the mahjong game, such as game events, are obtained. The broadcast display module can broadcast game events in real time, remind users to pay attention in time, and prevent users from not paying attention to other people's game behaviors and affecting the game experience. The score change generation module determines the impact of each game event on the score change of each user according to the game events and the rules of the game, and generates a score change record. The settlement module is used to generate game settlement data based on the score change record after the game is over. The present application can solve the problem that the user's game experience is easily reduced due to not noticing other people's playing cards during the existing mahjong game. At the same time, compared with the manual calculation of scores, the present application can solve the problem of different rules in the mahjong game process caused by different places. If the calculation of scores is inconsistent, the calculation takes a long time, and it is easy to make mistakes, intelligent score settlement can be automatically realized according to the current game rules.
同时,本发明技术方案中,通过影像识别模块可以对影像内的各个对象进行检测,隐私处理模块可以根据识别的结果,获取需要隐私处理的对象的区域,隐私处理模块再对影像中相应的区域进行隐私化处理,避免用户隐私泄漏。At the same time, in the technical solution of the present invention, each object in the image can be detected by the image recognition module, the privacy processing module can obtain the area of the object that needs privacy processing according to the recognition result, and the privacy processing module can then identify the corresponding area in the image. Perform privacy processing to avoid leakage of user privacy.
进一步,所述隐私化处理包括裁剪、模糊以及替换。Further, the privacy processing includes cropping, blurring and replacement.
进一步,所述对象包括对象类型和对象的所在区域,所述隐私处理模块存储有隐私类型列表,所述隐私处理模块根据隐私类型列表判断影像数据中各个对象是否为需要隐私化处理的对象类型,并获取需要隐私化处理的对象的所在区域。Further, the object includes an object type and an area where the object is located, the privacy processing module stores a privacy type list, and the privacy processing module determines whether each object in the image data is an object type that needs privacy processing according to the privacy type list, And get the area of the object that needs privacy processing.
进一步,所述影像识别模块包括桌面识别模块,所述桌面识别模块用于识别游戏的桌面,所述隐私处理模块包括桌面裁剪模块,所述桌面裁剪模块用于裁剪去除影像数据中桌面以外的区域。裁剪去除桌面以外的区域一方面保护隐私,另一方面减小数据处理量。Further, the image recognition module includes a desktop recognition module, the desktop recognition module is used to identify the desktop of the game, the privacy processing module includes a desktop cropping module, and the desktop cropping module is used for cropping and removing areas other than the desktop in the image data. . Cropping and removing areas other than the desktop protects privacy on the one hand, and reduces the amount of data processing on the other hand.
进一步,所述游戏事件包括事件类型、事件执行主体、事件关联数据和事件参数;所述影像识别模块包括事件类型识别模块、事件执行主体分析模块、事件关联数据分析模块和事件参数识别模块,所述事件类型识别模块用于对图像数据或视频数据进行识别,并根据多个图像数据或多帧视频数据之间的识别结果来识别桌面上游戏内容的变化情况以及用户动作,所述事件类型识别模块还用于根据游戏内容的变化情况以及用户动作识别事件类型;所述事件执行主体分析模块用于根据事件类型、游戏规则以及用户动作识别时间执行主体;所述事件关联数据分析模块用于根据游戏规则查找并关联与当前游戏事件相关的游戏事件;所述事件参数识别模块用于根据图像数据或视频数据对游戏事件的事件参数进行识别。Further, the game event includes an event type, an event execution subject, event associated data and event parameters; the image recognition module includes an event type identification module, an event execution subject analysis module, an event associated data analysis module and an event parameter identification module. The event type identification module is used to identify image data or video data, and identify changes in game content and user actions on the desktop according to the identification results between multiple image data or multiple frames of video data, and the event type identification The module is also used to identify event types according to changes in game content and user actions; the event execution subject analysis module is used to identify time execution subjects according to event types, game rules and user actions; the event-related data analysis module is used to The game rules search and correlate game events related to the current game event; the event parameter identification module is used to identify the event parameters of the game event according to image data or video data.
通过事件类型、事件执行主体、事件关联数据、以及事件参数等的分析实现游戏事件识别。Game event recognition is realized through the analysis of event type, event execution subject, event-related data, and event parameters.
进一步,所述事件关联数据包括因果关联事件和关联主体,所述事件关联数据分析模块包括因果关系分析模块和关联主体分析模块,所述因果关系分析模块用于根据事件类型、游戏规则查找与当前游戏事件存在因果关系的因果关联事件,所述关联主体分析模块用于根据事件类型、游戏规则以及因果关联事件获取与当前事件相关的关联主体。Further, the event correlation data includes a causal correlation event and an associated subject, the event correlation data analysis module includes a causal relationship analysis module and an associated subject analysis module, and the causal relationship analysis module is used to search for current events according to event types and game rules. The game event has a causal correlation event with a causal relationship, and the correlation subject analysis module is used to obtain the correlation subject related to the current event according to the event type, the game rules and the causal correlation event.
通过对事件之间因果关系的关联获取相关关联主体,为后续分数变动计算提供基础。By correlating the causal relationship between events to obtain the relevant related subjects, it provides a basis for the calculation of subsequent score changes.
进一步,所述游戏结算数据包括单盘结算数据、单局结算数据以及多局累计数据;所述结算模块包括单盘游戏结算模块和数据统计模块,所述单盘游戏结算模块用于根据一盘游戏内的分数变动记录生成该盘游戏对应的单盘结算数据,所述数据统计模块用于统计多盘游戏的单盘结算数据生成单局结算数据,所述数据统计模块还用于统计多局游戏的单局结算数据生成多局累计数据。Further, the game settlement data includes single-game settlement data, single-game settlement data, and multi-game accumulated data; the settlement module includes a single-game game settlement module and a data statistics module, and the single-game game settlement module The score change record in the game generates the single-game settlement data corresponding to the game. The data statistics module is used to count the single-game settlement data of the multi-game games to generate single-game settlement data, and the data statistics module is also used to count multiple games. The single-game settlement data of the game generates multi-game cumulative data.
通过单盘结算数据、单局结算数据以及多局累计数据方便用户全面了解积分变动情况。Through single-disk settlement data, single-office settlement data, and multi-office accumulated data, it is convenient for users to fully understand the changes in points.
进一步,所述分数变动生成模块包括事件过滤模块、规则匹配模块、主体分数变动计算模块以及变动记录生成模块;所述事件过滤模块用于根据游戏规则以及事件类型筛选出分数变动事件;规则匹配模块用于根据事件类型从游戏规则中匹配当前游戏事件的计分规则,主体分数变动计算模块用于根据当前游戏事件对应的计分规则、事件类型、事件参数、因果关系对事件执行主体以及关联主体的分数变化值进行计算,所述变动记录生成模块用于根据各个主体的分数变化值生成分数变动记录。Further, the score change generation module includes an event filter module, a rule matching module, a subject score change calculation module and a change record generation module; the event filter module is used to filter out score change events according to game rules and event types; rule matching module It is used to match the scoring rule of the current game event from the game rules according to the event type, and the subject score change calculation module is used to execute the subject and the associated subject according to the scoring rule corresponding to the current game event, event type, event parameters, and causality. The score change value of each subject is calculated, and the change record generation module is used to generate a score change record according to the score change value of each subject.
通过时间过滤模块,仅针对分数变动事件进行分数变动的计算和记录。Through the time filtering module, the calculation and recording of score changes are performed only for score change events.
进一步,所述播报显示模块包括播报显示内容生成模块、播报模块、投影模块以及传输模块,所述播报显示内容生成模块包括模板获取模块,模板获取模块用于根据事件类型获取播报显示模板,所述播报显示模块用于根据播报显示模板、游戏事件以及游戏结算数据生成播报显示内容;所述播报模块用于将播报显示内容通过语音进行播报,所述投影模块用于将播报显示内容进行投影显示,所述传输模块用于将播报显示内容传输至用户的用户终端。Further, the broadcast display module includes a broadcast display content generation module, a broadcast module, a projection module and a transmission module, the broadcast display content generation module includes a template acquisition module, and the template acquisition module is used for acquiring the broadcast display template according to the event type. The broadcast display module is used to generate the broadcast display content according to the broadcast display template, the game event and the game settlement data; the broadcast module is used to broadcast the broadcast display content by voice, and the projection module is used to project and display the broadcast display content, The transmission module is used for transmitting the broadcast display content to the user terminal of the user.
通过播报显示模板实现播报显示内容的模板化生成,同时方便通过调整播报显示模板来调整播报显示内容的格式。通过多种播报和显示方式进行播报显示内容的展示,方便用户观看,也可以达到尽可能提示到用户的效果。The templated generation of the broadcast display content is realized through the broadcast display template, and the format of the broadcast display content can be adjusted conveniently by adjusting the broadcast display template. The broadcast and display content is displayed through a variety of broadcast and display methods, which is convenient for users to watch, and can also achieve the effect of prompting users as much as possible.
进一步,本申请还公开了一种具备隐私保护的游戏辅助方法,该方法使用了上述的系统。Further, the present application also discloses a game assistance method with privacy protection, which uses the above-mentioned system.
附图说明Description of drawings
图1为本申请具备隐私保护的游戏辅助系统及方法实施例中的逻辑框图。FIG. 1 is a logical block diagram of an embodiment of a game assistance system and method with privacy protection of the present application.
具体实施方式Detailed ways
下面通过具体实施方式进一步详细说明:The following is further described in detail by specific embodiments:
实施例一Example 1
如图1所示,本实施例的具备隐私保护的游戏辅助系统包括硬件系统和软件系统,硬件系统包括主机、采集装置、投影装置、显示装置、网络模块、扬声器、照明灯等,采集装置包括摄像头、麦克风等,本实施例中,将采集装置、投影装置、照明灯、扬声器、网络模块、显示模块等集成在一起形成上半安装部,上半安装部安装在麻将桌的上方,主机设置在麻将桌的一侧,主机和上半安装部的各个装置之间通过网络连接在一起。As shown in FIG. 1 , the game auxiliary system with privacy protection in this embodiment includes a hardware system and a software system. The hardware system includes a host, a collection device, a projection device, a display device, a network module, a speaker, a lighting lamp, etc., and the collection device includes Cameras, microphones, etc. In this embodiment, the collection device, the projection device, the lighting, the speaker, the network module, the display module, etc. are integrated together to form the upper half of the installation part, and the upper half of the installation part is installed above the mahjong table. On one side of the mahjong table, the host and the various devices in the upper half of the installation are connected together through a network.
软件系统包括影像采集模块、存储模块、影像识别模块、游戏规则制定模块、规则获取模块、分数变动生成模块、结算模块、隐私处理模块、隐私设置模块以及播报显示模块。The software system includes an image acquisition module, a storage module, an image recognition module, a game rule formulation module, a rule acquisition module, a score change generation module, a settlement module, a privacy processing module, a privacy setting module, and a broadcast display module.
影像采集模块用于采集桌面上的影像数据;影像采集模块包括图像采集模块和视频采集模块,图像采集模块用于按照预设时间间隔采集桌面的图像数据,视频采集模块用于采集桌面的视频数据;对应的摄像头包括主摄像头和副摄像头,图像采集模块按照预设的时间间隔控制主摄像头进行图像的拍照生成图像数据,视频采集模块通过副摄像头对桌面进行持续的录像生成视频数据。The image acquisition module is used to collect the image data on the desktop; the image acquisition module includes an image acquisition module and a video acquisition module, the image acquisition module is used to collect the image data of the desktop according to the preset time interval, and the video acquisition module is used to collect the video data of the desktop The corresponding camera includes a main camera and a sub-camera, the image acquisition module controls the main camera to take pictures of images according to preset time intervals to generate image data, and the video acquisition module continuously records the desktop through the sub-camera to generate video data.
存储模块用于存储影像采集模块采集的影像数据,即图像数据和视频数据,存储模块还用于存储系统运行所需的各项数据或文件,如游戏规则、播报显示模板等,在本申请的其他实施例中,存储模块也可以采用数据库技术或云存储技术存储在服务器端。The storage module is used to store the image data collected by the image acquisition module, namely image data and video data, and the storage module is also used to store various data or files required for the operation of the system, such as game rules, broadcast display templates, etc. In other embodiments, the storage module may also be stored on the server side by using a database technology or a cloud storage technology.
影像识别模块用于根据影像数据识别游戏事件;游戏事件包括事件类型、事件执行主体、事件关联数据和事件参数。本实施中,事件类型包括游戏开局、摇骰子、起牌、摸牌、出牌、吃牌、碰牌、杠牌、胡牌、游戏结束以及洗牌,事件关联数据包括因果关联事件和关联主体。The image recognition module is used to identify the game event according to the image data; the game event includes the event type, the event execution subject, the event related data and the event parameters. In this implementation, the event types include game start, dice roll, card draw, draw card, card play, draw card, touch card, kong card, Hu card, game end and card shuffling, and the event correlation data includes causal correlation events and correlation subjects .
影像识别模块还用于对影像数据进行图像识别得到影像中的各个对象;本实施例中,对象包括对象类型和对象的所在区域,对象类型包括桌面、手机、私人物品、用户服装等。影像识别模块包括桌面识别模块,桌面识别模块用于识别游戏的桌面。The image recognition module is also used to perform image recognition on the image data to obtain each object in the image; in this embodiment, the object includes the object type and the area where the object is located, and the object type includes desktop, mobile phone, personal items, user clothing and so on. The image identification module includes a desktop identification module, and the desktop identification module is used to identify the desktop of the game.
影像识别模块用于根据图像数据识别游戏事件,影像识别模块还用于根据视频数据进行游戏事件的二次识别,二次识别用于新增游戏事件或对根据图像数据识别到的游戏事件的事件类型、事件执行主体、事件关联数据和事件参数进行校验、修正或补充。The image recognition module is used to identify game events based on image data, and the image recognition module is also used to perform secondary recognition of game events based on video data. The secondary recognition is used to add new game events or to identify game events based on image data. Type, event execution subject, event-related data, and event parameters are verified, corrected or supplemented.
影像识别模块包括事件类型识别模块、事件执行主体分析模块、事件关联数据分析模块、事件参数识别模块以及补充识别模块,事件类型识别模块用于对图像数据或视频数据进行识别,并根据多个图像数据或多帧视频数据之间的识别结果来识别桌面上游戏内容的变化情况以及用户动作,事件类型识别模块还用于根据游戏内容的变化情况以及用户动作识别事件类型;本实施例中,首先采用现有的图像识别算法,如基于神经网络的智能识别算法对图像或视频的帧图像内的物品进行识别,然后通过对比画面中的不同之处,来判断游戏事件,如上一张出的牌里面没有三条,而下一张图片中有三条,则说明出现了打牌事件。事件执行主体分析模块用于根据事件类型、游戏规则以及用户动作识别时间执行主体;通过对比手的位置可以识别各个玩家动作,进而判断出是哪个玩家执行的出牌,同时可以基于游戏事件的记录进行辅助判断,比如上一次摸牌是玩家A,判断是本次打牌事件的执行主体是玩家A;事件关联数据分析模块用于根据游戏规则查找并关联与当前游戏事件相关的游戏事件;事件关联数据分析模块包括因果关系分析模块、关联主体分析模块,因果关系分析模块用于根据事件类型、游戏规则查找与当前游戏事件存在因果关系的因果关联事件,关联主体分析模块用于根据事件类型、游戏规则以及因果关联事件获取与当前事件相关的关联主体。如上述事件的因果关联事件为玩家A的摸牌事件,因为其摸牌,所以打牌,该事件无相关关联主体,而其他事件,如胡牌、碰牌、吃牌等,则相关的因果关联事件则可能是玩家自己摸牌或其他玩家打牌,对应的关联主体就为全体玩家或打出对应牌的玩家,关联主体的确定可以根据游戏规则调整。事件参数识别模块用于根据图像数据或视频数据对游戏事件的事件参数进行识别,如上述例子中游戏事件对应的事件参数为三条。补充识别模块用于根据视频数据进行游戏事件的二次识别,即新增游戏事件或对根据图像数据识别到的游戏事件的事件类型、事件执行主体、事件关联数据和事件参数进行校验、修正或补充,如当检测到桌面在两个图像数据之间增加了两张牌,则可能是玩家出错了也可能是玩家出牌过快已经轮过了两个玩家,而图像采集模块未采集到相关图像,又或者不能通过图像数据来确定执行主体等情况下,则可以通过视频数据进行二次识别,基于视频数据采用现有的识别算法,如基于LSTM的动作识别算法来对用户动作进行识别,来对游戏事件的各个属性(事件类型、事件执行主体、事件关联数据和事件参数)进行验证或完善。The image recognition module includes an event type recognition module, an event execution subject analysis module, an event-related data analysis module, an event parameter recognition module and a supplementary recognition module. The event type recognition module is used to recognize image data or video data, and based on multiple images. The identification result between data or multiple frames of video data is used to identify the changes of game content and user actions on the desktop, and the event type identification module is also used to identify event types according to changes in game content and user actions; in this embodiment, first Existing image recognition algorithms, such as neural network-based intelligent recognition algorithms, are used to recognize items in frame images of images or videos, and then by comparing the differences in the images to determine game events, such as the last card played There are no three of a kind in it, and there are three of a kind in the next picture, which means there is a poker event. The event execution subject analysis module is used to identify the time execution subject according to the event type, game rules and user actions; by comparing the positions of the hands, each player's action can be identified, and then it can be judged which player performed the card, and can be based on the record of the game event. Make auxiliary judgments, for example, the last time the card was drawn was player A, and it was judged that the execution subject of this card-playing event was player A; the event correlation data analysis module is used to find and correlate game events related to the current game event according to the game rules; event correlation The data analysis module includes a causal relationship analysis module and an associated subject analysis module. The causal relationship analysis module is used to find causally related events that have a causal relationship with the current game event according to the event type and game rules. Rules and causally related events get the related subjects related to the current event. For example, the causal correlation event of the above event is Player A's card drawing event. Because he draws a card, he plays a card. There is no relevant subject for this event, and other events, such as winning a card, touching a card, and eating a card, are related causal associations. An event may be a player drawing cards or other players playing cards, and the corresponding associated entities are all players or players who played the corresponding cards. The determination of associated entities can be adjusted according to the game rules. The event parameter identification module is used to identify the event parameters of the game event according to the image data or video data. For example, in the above example, there are three event parameters corresponding to the game event. The supplementary identification module is used for secondary identification of game events based on video data, that is, to add new game events or to verify and correct the event type, event execution subject, event-related data and event parameters of the game event identified based on image data. Or supplemented, if it is detected that two cards have been added between the two image data on the table, it may be that the player has made an error, or the player has played cards too fast and two players have already passed, but the image acquisition module has not captured the data. Related images, or if the execution subject cannot be determined by image data, the video data can be used for secondary recognition, and existing recognition algorithms, such as LSTM-based action recognition algorithms, can be used to recognize user actions based on video data. , to verify or improve each attribute of the game event (event type, event execution subject, event-related data, and event parameters).
游戏规则制定模块用于根据用户输入对游戏规则进行设定,具体的,本实施中,游戏规则制定模块包括玩法选取模块和自定义玩法模块,玩法选取模块用于选取系统已有玩法规则供用户选择,玩法选取模块还用于根据用户操作设定游戏玩法,游戏玩法包括若干游戏规则,自定义玩法模块包括规则选取模块和规则修改模块,规则选取模块用于根据用户操作从规则库中选取游戏规则或快速选取已有玩法对应的游戏规则,如用户可以自定义选择是否启用缺门玩法规则,也可以添加是否允许悔牌的规则等。规则修改模块用于根据用户操作对选取的游戏规则进行修改,本实施例中,修改主要是数据上的修改,比如将番数进行调整、对悔牌的次数进行规定等。The game rule formulation module is used to set the game rules according to user input. Specifically, in this implementation, the game rule formulation module includes a gameplay selection module and a custom gameplay module. The gameplay selection module is used to select the existing gameplay rules of the system for users to use. Selection, the gameplay selection module is also used to set the gameplay according to user operations, the gameplay includes several game rules, the custom gameplay module includes a rule selection module and a rule modification module, and the rule selection module is used to select games from the rule library according to user operations Rules or quickly select the game rules corresponding to the existing gameplay. For example, users can customize whether to enable the lack of door gameplay rules, or add rules to allow repentance, etc. The rule modification module is used to modify the selected game rules according to user operations. In this embodiment, the modification is mainly a modification of data, such as adjusting the number of fans, and specifying the number of times of repentance.
规则获取模块用于获取当前游戏的游戏规则。分数变动生成模块用于根据游戏事件以及游戏规则生成分数变动记录。本实施例中,分数变动生成模块包括事件过滤模块、规则匹配模块、主体分数变动计算模块以及变动记录生成模块;事件过滤模块用于根据游戏规则以及事件类型筛选出分数变动事件;本实施例中,分数变动事件包括杠牌和胡牌。规则匹配模块用于根据事件类型从游戏规则中匹配当前游戏事件的计分规则,主体分数变动计算模块用于根据当前游戏事件对应的计分规则、事件类型、事件参数、因果关系对事件执行主体以及关联主体的分数变化值进行计算,变动记录生成模块用于根据各个主体的分数变化值生成分数变动记录。The rule obtaining module is used to obtain the game rules of the current game. The score change generation module is used for generating score change records according to game events and game rules. In this embodiment, the score change generation module includes an event filter module, a rule matching module, a subject score change calculation module, and a change record generation module; the event filter module is used to filter out score change events according to game rules and event types; in this embodiment , the score change events include Kong and Hu cards. The rule matching module is used to match the scoring rules of the current game event from the game rules according to the event type, and the subject score change calculation module is used to execute the subject of the event according to the scoring rules, event types, event parameters, and causality corresponding to the current game event. And the score change value of the associated subject is calculated, and the change record generation module is used to generate a score change record according to the score change value of each subject.
结算模块用于根据分数变动记录生成游戏结算数据;游戏结算数据包括单盘结算数据、单局结算数据以及多局累计数据;结算模块包括单盘游戏结算模块和数据统计模块,单盘游戏结算模块用于根据一盘游戏内的分数变动记录生成该盘游戏对应的单盘结算数据,数据统计模块用于统计多盘游戏的单盘结算数据生成单局结算数据,数据统计模块还用于统计多局游戏的单局结算数据生成多局累计数据。The settlement module is used to generate game settlement data according to the score change record; the game settlement data includes single-game settlement data, single-game settlement data, and multi-game accumulated data; the settlement module includes a single-game game settlement module and a data statistics module, and a single-game game settlement module It is used to generate single-game settlement data corresponding to a game according to the score change records in a game. The data statistics module is used to count the single-game settlement data of multiple games to generate single-game settlement data. The data statistics module is also used to count multiple games. The single-game settlement data of the game generates multi-game cumulative data.
隐私处理模块,用于根据影像识别模块识别的对象,分析需要隐私处理的区域并对需要隐私处理的区域进行隐私化处理。本实施中,隐私化处理包括裁剪、模糊以及替换,替换即采用预设的类似的内容覆盖到原影像上,进而实现隐私化处理。隐私处理模块存储有隐私类型列表,本实施例中,属于隐私类型的对象包括手机、私人物品、用户服饰、用户人脸、用户首饰等。隐私处理模块根据隐私类型列表判断影像数据中各个对象是否为需要隐私化处理的对象类型,并获取需要隐私化处理的对象的所在区域。隐私处理模块包括桌面裁剪模块,桌面裁剪模块用于裁剪去除影像数据中桌面以外的区域。The privacy processing module is used for analyzing the areas requiring privacy processing and performing privacy processing on the areas requiring privacy processing according to the objects identified by the image recognition module. In this implementation, the privacy processing includes cropping, blurring, and replacement. The replacement is to use a preset similar content to overlay the original image, thereby realizing the privacy processing. The privacy processing module stores a list of privacy types. In this embodiment, objects belonging to the privacy type include mobile phones, personal items, user clothing, user faces, user jewelry, and the like. The privacy processing module determines whether each object in the image data is an object type that needs privacy processing according to the privacy type list, and obtains the area where the object needs privacy processing. The privacy processing module includes a desktop cropping module, and the desktop cropping module is used for cropping and removing areas other than the desktop in the image data.
本实施例中,影像识别模块先识别桌面并由桌面裁剪模块进行裁剪后,再由影像识别模块进行再次的识别,影像识别模块识别时根据隐私类型列表来对影像中的各个对象进行识别,进而减少识别的类型范围,在本申请的其他实施例中,也可以由影像识别模块识别全部的对象,再由隐私处理模块根据对象类型进行筛选判断,对需要隐私化处理的对象进行处理。In this embodiment, the image recognition module first recognizes the desktop and cuts it out by the desktop cropping module, and then the image recognition module performs the recognition again. When the image recognition module recognizes, it recognizes each object in the image according to the privacy type list, and then To reduce the range of identification types, in other embodiments of the present application, the image recognition module can also identify all objects, and then the privacy processing module performs screening and judgment according to the object type, and processes the objects that need privacy processing.
隐私设置模块包括隐私对象设置模块以及隐私等级设置模块,隐私对象设置模块用于对隐私类型列表进行编辑,添加、删除需要隐私化处理的对象类型。隐私等级设置模块用于对隐私等级进行设置,隐私等级设置模块存储有各个等级对应的对象类型列表,隐私对象设置模块还用于根据隐私等级自动匹配对应的隐私类型列表,本实施例中,隐私等级分为高、中、低三级,隐私等级为低级时,仅对用户人脸进行隐私化处理,当隐私等级为中级时,对用户人脸、用户私人物品进行隐私化处理,当隐私等级为高级时,对手机、私人物品、用户服饰、用户人脸、用户首饰等均进行隐私化处理。The privacy setting module includes a privacy object setting module and a privacy level setting module. The privacy object setting module is used to edit the privacy type list, and add and delete object types that need privacy processing. The privacy level setting module is used to set the privacy level. The privacy level setting module stores a list of object types corresponding to each level. The privacy object setting module is also used to automatically match the corresponding privacy type list according to the privacy level. The level is divided into three levels: high, medium and low. When the privacy level is low, only the user's face is processed for privacy. When the privacy level is medium, the user's face and personal items are processed for privacy. When it is advanced, privacy processing is performed on mobile phones, personal items, user clothing, user faces, and user jewelry.
播报显示模块用于对游戏事件以及结算数据进行播报和显示。播报显示模块包括播报显示内容生成模块,播报显示内容生成模块用于根据游戏事件、游戏结算数据生成播报显示内容。播报显示模块还包括播报模块、投影模块以及传输模块,播报模块用于将播报显示内容通过语音进行播报,投影模块用于将播报显示内容进行投影显示,传输模块用于将播报显示内容传输至用户的用户终端。The broadcast and display module is used to broadcast and display game events and settlement data. The broadcast display module includes a broadcast display content generation module, which is used for generating broadcast display content according to game events and game settlement data. The broadcast display module also includes a broadcast module, a projection module and a transmission module. The broadcast module is used to broadcast the broadcast display content through voice, the projection module is used to project the broadcast display content, and the transmission module is used to transmit the broadcast display content to the user. user terminal.
本实施例的具备隐私保护的游戏辅助方法使用了上述的具备隐私保护的游戏辅助系统,该方法包括以下步骤:The game assistance method with privacy protection of this embodiment uses the above-mentioned game assistance system with privacy protection, and the method includes the following steps:
影像采集存储步骤,获取游戏过程中的桌面影像数据并存储;The image acquisition and storage step is to acquire and store the desktop image data during the game;
影像识别步骤,对影像数据进行图像识别得到影像中的各个对象,对象包括对象类型和对象的所在区域;根据影像数据识别游戏过程中的游戏事件;In the image recognition step, image recognition is performed on the image data to obtain each object in the image, and the objects include the type of the object and the area where the object is located; the game events in the game process are recognized according to the image data;
规则获取步骤,获取当前游戏的游戏规则;The rule acquisition step is to acquire the game rules of the current game;
分数变动生成步骤,根据游戏事件以及游戏规则生成分数变动记录;The score change generation step, which generates score change records according to game events and game rules;
结算步骤,根据分数变动记录生成游戏结算数据;The settlement step is to generate game settlement data according to the score change record;
隐私处理步骤,根据影像识别步骤识别的对象,分析需要隐私处理的区域并对需要隐私处理的区域进行隐私化处理;隐私化处理包括裁剪、模糊以及替换。In the privacy processing step, according to the object identified in the image recognition step, analyze the area that needs privacy processing and perform privacy processing on the area requiring privacy processing; the privacy processing includes cropping, blurring, and replacement.
播报显示步骤,对游戏事件以及结算数据进行播报和显示。Broadcast and display steps, broadcast and display game events and settlement data.
影像识别步骤包括桌面识别步骤,桌面识别步骤用于识别影像中游戏的桌面;隐私处理步骤包括桌面裁剪步骤,桌面裁剪步骤包括:The image recognition step includes a desktop identification step, and the desktop identification step is used to identify the desktop of the game in the image; the privacy processing step includes a desktop cropping step, and the desktop cropping step includes:
S100:获取影像识别步骤得到桌面的区域范围;S100: obtaining the area range of the desktop obtained in the image recognition step;
S101:裁剪去除影像数据中游戏桌面以外的区域。S101 : crop and remove the area other than the game table in the image data.
影像识别步骤进行非桌面对象识别之前先执行桌面识别步骤和桌面裁剪步骤。隐私处理步骤存储有隐私类型列表,影像识别步骤根据隐私类型列表来对影像中的各个对象进行识别。Before the image recognition step performs non-desktop object recognition, the desktop recognition step and the desktop cropping step are performed first. The privacy processing step stores a privacy type list, and the image recognition step identifies each object in the image according to the privacy type list.
实施例二Embodiment 2
本实施例与实施例一的区别在于,本实施例中,还包括高分局筛选模块、高分局还原模块、非常规操作筛选模块,所述高分局筛选模块用于根据每局结算数据选出单局结算数据最高的牌局作为高分局,高分局还原模块用于根据游戏事件还原高分局中各个玩家手里的牌的数据及变化过程,所述非常规操作筛选模块用于根据各个玩家手里的牌生成玩家可操作列表,并对可操作列表的各个操作进行评分,根据用户的实际操作对应的评分,若用户的实际操作的评分小于预设值,则判断用户为非常规操作。如用户如果打某一个牌可以听牌或获得较多的听牌数量,但是其偏偏打另一张牌而导致听牌数量少或不听牌,则标记为非常规操作。高分局筛选模块选取高分局的视频,并在视频上标注高分局还原模块以及非常规操作筛选模块的结果并推送到各个用户终端,用户可以通过用户终端查看该局游戏的全过程视频,一方面可以由用户来对高分局中各个玩家的操作进行学习,另一方面可以让用户监看是否有玩家存在违规或作弊行为。The difference between this embodiment and the first embodiment is that in this embodiment, it also includes a high-level bureau screening module, a high-level bureau restoration module, and an unconventional operation screening module, and the high-level bureau screening module is used to select orders according to the settlement data of each bureau. The game with the highest game settlement data is regarded as the high score game. The high score game restoration module is used to restore the data and change process of the cards in the hands of each player in the high score game according to the game event. The player's actionable list is generated from the cards of the player, and each operation of the actionable list is scored. According to the score corresponding to the user's actual operation, if the score of the user's actual operation is less than the preset value, the user is judged to be an unconventional operation. For example, if the user can draw or obtain a large number of draws by playing a certain card, but plays another card so that the number of draws is small or does not draw, it is marked as an unconventional operation. The high score bureau screening module selects the video of the high score bureau, and marks the results of the high score bureau restoration module and the unconventional operation screening module on the video and pushes it to each user terminal. The user can view the whole process video of the game through the user terminal. The user can learn the operation of each player in the high-scoring game, and on the other hand, the user can monitor whether any player violates the rules or cheats.
实施例三Embodiment 3
本实施例与实施例二的区别在于,本实施例中,还包括高亮操作筛选模块,所述高亮操作筛选模块用于根据游戏事件以及各个玩家手里的牌的变化数据来判断玩家非常规操作带来的收益值,具体的,高亮操作筛选模块会根据用户手里的牌的情况进行评分,评分依据为顺子数量、是否有将牌,对牌数量、暗杠数量、是否听牌、听牌数量、是否胡牌等,评分的维度可以根据具体的游戏规则调整,然后按照预设的规则和权重进行求和得到评分,当用户进行了一次非常规操作后,则持续监测用户手中牌的评分变化,以评分的变化作为非常规操作的收益值,若收益值大于预设值则说明该非常规操作给该玩家带来了极大的收益,这可能说明用户的这种玩法很厉害,也有可能是用户采用了非正常手段,则重点将该部分操作对应的视频推送给各个玩家进行查看,供玩家学习和监督。The difference between this embodiment and the second embodiment is that in this embodiment, a highlighting operation screening module is further included, and the highlighting operation screening module is used to judge the player's abnormality according to the game event and the change data of the cards in each player's hand. The revenue value brought by the regular operation. Specifically, the highlight operation screening module will score according to the card situation in the user's hand. The number of cards, the number of draws, whether the card is a hand or not, etc. The dimension of the score can be adjusted according to the specific game rules, and then the score is obtained by summing the preset rules and weights. When the user performs an unconventional operation, the user will be continuously monitored. The change in the score of the cards in the hand is used as the income value of the unconventional operation. If the income value is greater than the preset value, it means that the unconventional operation has brought great benefits to the player, which may indicate that the user is playing this way. It is very powerful. It is also possible that the user has adopted abnormal means. Then, the video corresponding to this part of the operation will be pushed to each player for viewing, so that the player can learn and supervise.
实施例四Embodiment 4
本实施例与实施例三的区别在于,若用户非常规操作带来的收益值较低甚至是负收益,则判断用户为新手,则生成推荐操作并将该操作对应的视频发送给用户学习。The difference between this embodiment and the third embodiment is that if the user's unconventional operation brings a low or even negative profit, the user is judged to be a novice, a recommended operation is generated, and a video corresponding to the operation is sent to the user for learning.
以上的仅是本发明的实施例,该发明不限于此实施案例涉及的领域,方案中公知的具体结构及特性等常识在此未作过多描述,所属领域普通技术人员知晓申请日或者优先权日之前发明所属技术领域所有的普通技术知识,能够获知该领域中所有的现有技术,并且具有应用该日期之前常规实验手段的能力,所属领域普通技术人员可以在本申请给出的启示下,结合自身能力完善并实施本方案,一些典型的公知结构或者公知方法不应当成为所属领域普通技术人员实施本申请的障碍。应当指出,对于本领域的技术人员来说,在不脱离本发明结构的前提下,还可以作出若干变形和改进,这些也应该视为本发明的保护范围,这些都不会影响本发明实施的效果和专利的实用性。本申请要求的保护范围应当以其权利要求的内容为准,说明书中的具体实施方式等记载可以用于解释权利要求的内容。The above are only the embodiments of the present invention, and the invention is not limited to the field involved in this implementation case. The common knowledge such as the well-known specific structure and characteristics in the scheme has not been described too much here, and those of ordinary skill in the art know the filing date or priority. All the common technical knowledge in the technical field of the invention before the date, can know all the prior art in this field, and have the ability to apply the routine experimental means before the date, those of ordinary skill in the art can be given by the present application. Perfecting and implementing this solution in combination with one's own capabilities, some typical well-known structures or well-known methods should not become obstacles for those of ordinary skill in the art to implement the present application. It should be pointed out that for those skilled in the art, some modifications and improvements can be made without departing from the structure of the present invention. These should also be regarded as the protection scope of the present invention, and these will not affect the implementation of the present invention. Effectiveness and utility of patents. The scope of protection claimed in this application shall be based on the content of the claims, and the descriptions of the specific implementation manners in the description can be used to interpret the content of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010948342.1ACN112057874A (en) | 2020-09-10 | 2020-09-10 | Game auxiliary system and method with privacy protection function |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010948342.1ACN112057874A (en) | 2020-09-10 | 2020-09-10 | Game auxiliary system and method with privacy protection function |
| Publication Number | Publication Date |
|---|---|
| CN112057874Atrue CN112057874A (en) | 2020-12-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010948342.1APendingCN112057874A (en) | 2020-09-10 | 2020-09-10 | Game auxiliary system and method with privacy protection function |
| Country | Link |
|---|---|
| CN (1) | CN112057874A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112672200A (en)* | 2020-12-14 | 2021-04-16 | 完美世界征奇(上海)多媒体科技有限公司 | Video generation method and device, electronic equipment and storage medium |
| CN113546398A (en)* | 2021-07-30 | 2021-10-26 | 重庆五诶科技有限公司 | Chess and card game method and system based on artificial intelligence algorithm |
| CN114288638A (en)* | 2022-01-20 | 2022-04-08 | 深圳市优必选科技股份有限公司 | Method, device and electronic device for acquiring score data of virtual game |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080297586A1 (en)* | 2007-05-31 | 2008-12-04 | Kurtz Andrew F | Personal controls for personal video communications |
| CN104836991A (en)* | 2015-05-08 | 2015-08-12 | 杭州南江机器人股份有限公司 | Camera with privacy protection function |
| CN106600525A (en)* | 2016-12-09 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Picture fuzzy processing method and system |
| CN107308634A (en)* | 2017-08-24 | 2017-11-03 | 成都博煜科技有限公司 | A kind of automatic mahjong-playing machine |
| CN108206930A (en)* | 2016-12-16 | 2018-06-26 | 杭州海康威视数字技术股份有限公司 | The method and device for showing image is covered based on privacy |
| CN110719402A (en)* | 2019-09-24 | 2020-01-21 | 维沃移动通信(杭州)有限公司 | Image processing method and terminal equipment |
| CN111062859A (en)* | 2018-10-17 | 2020-04-24 | 奇酷互联网络科技(深圳)有限公司 | Video monitoring method, mobile terminal and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080297586A1 (en)* | 2007-05-31 | 2008-12-04 | Kurtz Andrew F | Personal controls for personal video communications |
| CN104836991A (en)* | 2015-05-08 | 2015-08-12 | 杭州南江机器人股份有限公司 | Camera with privacy protection function |
| CN106600525A (en)* | 2016-12-09 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Picture fuzzy processing method and system |
| CN108206930A (en)* | 2016-12-16 | 2018-06-26 | 杭州海康威视数字技术股份有限公司 | The method and device for showing image is covered based on privacy |
| CN107308634A (en)* | 2017-08-24 | 2017-11-03 | 成都博煜科技有限公司 | A kind of automatic mahjong-playing machine |
| CN111062859A (en)* | 2018-10-17 | 2020-04-24 | 奇酷互联网络科技(深圳)有限公司 | Video monitoring method, mobile terminal and storage medium |
| CN110719402A (en)* | 2019-09-24 | 2020-01-21 | 维沃移动通信(杭州)有限公司 | Image processing method and terminal equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112672200A (en)* | 2020-12-14 | 2021-04-16 | 完美世界征奇(上海)多媒体科技有限公司 | Video generation method and device, electronic equipment and storage medium |
| CN112672200B (en)* | 2020-12-14 | 2023-10-24 | 完美世界征奇(上海)多媒体科技有限公司 | Video generation method and device, electronic equipment and storage medium |
| CN113546398A (en)* | 2021-07-30 | 2021-10-26 | 重庆五诶科技有限公司 | Chess and card game method and system based on artificial intelligence algorithm |
| CN114288638A (en)* | 2022-01-20 | 2022-04-08 | 深圳市优必选科技股份有限公司 | Method, device and electronic device for acquiring score data of virtual game |
| Publication | Publication Date | Title |
|---|---|---|
| CN112057874A (en) | Game auxiliary system and method with privacy protection function | |
| CN113228124B (en) | Image processing method and device, electronic equipment and storage medium | |
| US20160199742A1 (en) | Automatic generation of a game replay video | |
| US10335679B2 (en) | Video processing device, video processing method, and program | |
| US9233305B2 (en) | System and method for managing game-playing experiences | |
| CN107308634A (en) | A kind of automatic mahjong-playing machine | |
| CN112007355B (en) | Full-automatic game auxiliary system | |
| CN113422975A (en) | Background live video auditing method | |
| CN112016479B (en) | Chess and card game auxiliary system | |
| CN109224444A (en) | Game charater recognition methods, device, storage medium and electronic equipment | |
| US20250299487A1 (en) | Video processing device, video processing method, and recording medium | |
| CN115671746A (en) | Game style classification | |
| JP2006006590A (en) | Security system | |
| CN112023383B (en) | Intelligent automatic settlement system | |
| KR101049777B1 (en) | Real-time ranking system and method | |
| CN109918525A (en) | A food image aesthetic analysis label data collection system based on WeChat applet | |
| Babaei et al. | A state-based game attention model for cloud gaming | |
| WO2025020812A1 (en) | Content detection method and apparatus for game scenes, and electronic device | |
| AU2021204562A1 (en) | Object information association method and apparatus, device and storage medium | |
| CN110574066B (en) | Server device and recording medium | |
| CN113521760A (en) | Game guess settlement method, related equipment and computer readable storage medium | |
| JP2007104091A (en) | Image selection apparatus, program and method | |
| CN116866663A (en) | Image prediction processing method, device and storage medium | |
| CN113508392B (en) | Abnormal event processing method, device, system, equipment and storage medium | |
| CN111375210B (en) | Method and device for detecting synchronizer in game, processing equipment and storage medium |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20201211 | |
| RJ01 | Rejection of invention patent application after publication |