WO2023273009A1 - Chess power adjustment method and apparatus, device, storage medium, and program - Google Patents

Chess power adjustment method and apparatus, device, storage medium, and program Download PDF

Info

Publication number
WO2023273009A1
WO2023273009A1 PCT/CN2021/123480 CN2021123480W WO2023273009A1 WO 2023273009 A1 WO2023273009 A1 WO 2023273009A1 CN 2021123480 W CN2021123480 W CN 2021123480W WO 2023273009 A1 WO2023273009 A1 WO 2023273009A1
Authority
WO
WIPO (PCT)
Prior art keywords
chess
player
game
move
level
Prior art date
Application number
PCT/CN2021/123480
Other languages
French (fr)
Chinese (zh)
Inventor
李文哲
卢乐炜
蒲雪
李凯
鲁白
韩殿飞
蔺颖
唐明勇
Original Assignee
北京市商汤科技开发有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京市商汤科技开发有限公司 filed Critical 北京市商汤科技开发有限公司
Priority to KR1020247003392A priority Critical patent/KR20240024275A/en
Publication of WO2023273009A1 publication Critical patent/WO2023273009A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/02Chess; Similar board games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/67Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor adaptively or by learning from player actions, e.g. skill level adjustment or by storing successful combat sequences for re-use
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F3/00Board games; Raffle games
    • A63F3/04Geographical or like games ; Educational games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features 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 details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history

Abstract

A chess power adjustment method and apparatus, a device, a storage medium, and a program. The method comprises: obtaining chess playing data between a player and an intelligent chess player in a chess game to be adjusted (S101); in the chess playing data, determining a chess power difference between a chess move of the player and a preset chess move (S102); and on the basis of the chess power difference and the chess game information of said chess game, determining a target chess power level of the intelligent chess player with respect to the player (S103).

Description

一种棋力调整方法、装置、设备、存储介质及程序Method, device, equipment, storage medium and program for adjusting chess power
相关申请的交叉引用Cross References to Related Applications
本专利申请要求2021年06月30日提交的中国专利申请号为202110733601.3、申请人为北京市商汤科技开发有限公司,申请名称为“一种棋力调整方法、装置、设备及存储介质”的优先权,该申请的全文以引用的方式并入本公开中。This patent application claims the priority of the Chinese patent application number 202110733601.3 submitted on June 30, 2021, the applicant is Beijing SenseTime Technology Development Co., Ltd., and the application name is "a chess power adjustment method, device, equipment and storage medium" , which application is incorporated by reference in its entirety into this disclosure.
技术领域technical field
本公开实施例涉及数据处理领域领域,涉及但不限于一种棋力调整方法、装置、设备、存储介质及程序。The embodiments of the present disclosure relate to the field of data processing, and relate to but not limited to a method, device, equipment, storage medium and program for adjusting chess power.
背景技术Background technique
在相关技术中,在线人-机对弈棋艺是预先设定的机器人棋艺等级,按照多个等级来设置机器人棋艺水平;这样,用户只能机械的遵从系统设定的棋艺等级,体验感不佳。In related technologies, the online human-machine chess game is a preset robot chess skill level, and the robot chess skill level is set according to multiple levels; in this way, the user can only mechanically follow the chess skill level set by the system, and the experience is not good.
发明内容Contents of the invention
本公开实施例提供一种棋力调整方法、装置、设备、存储介质及程序。Embodiments of the present disclosure provide a method, device, equipment, storage medium, and program for adjusting chess strength.
本公开实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present disclosure is realized in this way:
本公开实施例提供一种棋力调整方法,所述方法包括:An embodiment of the present disclosure provides a method for adjusting chess strength, the method comprising:
获取待调整棋局中对弈者和智能棋手之间的对弈数据;Obtain the game data between the player and the intelligent chess player in the chess game to be adjusted;
在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;In the game data, determine the difference in chess strength between the player's chess move and the preset chess move;
基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。如此,通过确定对弈者的棋步与预设棋局的棋力差距,结合棋局信息,能够自适应调整人工智能(Artificial Intelligence,AI)棋手的棋力;这样,动态调整AI棋手的棋力,能够使得棋局达到一个胜负平衡的状态,提升棋手体验感。Based on the chess power gap and the chess game information of the game to be adjusted, determine the target chess power level of the intelligent chess player playing against the player. In this way, by determining the difference between the player's chess moves and the chess strength of the preset chess game, combined with the information of the chess game, the chess strength of the artificial intelligence (AI) chess player can be adaptively adjusted; thus, dynamically adjusting the chess strength of the AI chess player can make The chess game reaches a state of balance between victory and defeat, which enhances the player's sense of experience.
在一些实施例中,所述在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距之前,所述方法还包括:基于所述对弈者的棋步所对弈的所述智能棋手的历史棋步,确定对弈所述历史棋步的至少一个历史推荐棋步;将所述至少一个历史推荐棋步,确定为所述预设棋步。如此,将该推荐棋步作为预设棋步,从而能够准确判断出对弈者的棋步与预设棋步有差距。In some embodiments, before determining the difference in chess strength between the player's moves and preset moves in the game data, the method further includes: based on the player's moves As for the historical moves of the intelligent chess players who are playing, determine at least one historical recommended chess move of the historical chess moves; and determine the at least one historical recommended chess move as the preset chess move. In this way, the recommended move is used as the preset move, so that it can be accurately judged that there is a gap between the player's move and the preset move.
在一些实施例中,所述在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距,包括确定所述对弈者的棋步在所述至少一个历史推荐棋步中的棋力排位;基于所述棋力排位,确定所述对弈者的棋步与所述预设棋步之间的棋力差距。如此,自适应地调整智能棋手的棋步,使得智能棋手输出的棋步与该对弈者的棋步棋力相当。In some embodiments, in the game data, determining the difference in chess strength between the player's move and a preset move includes determining that the player's move is within the at least one historical recommendation The ranking of chess strength in the chess moves; based on the ranking of chess strength, the difference in chess strength between the player's chess moves and the preset chess moves is determined. In this way, the chess moves of the intelligent chess player are adjusted adaptively, so that the chess moves output by the intelligent chess player are equivalent to the chess moves of the player.
在一些实施例中,所述基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级,包括:基于所述对弈者的棋步,确定对弈所述对弈者的棋步的至少一个未来推荐棋步;基于所述棋力差距,在所述至少一个未来推荐棋步中确定所述智能棋手对弈所述对弈者的棋步的对弈棋步;基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。如此,从整体上调整智能棋手的棋力,达到目标棋力等级,进而使得智能棋手的棋力等级稍高于对弈者,能够提高对弈者的对弈兴趣。In some embodiments, the determination of the target chess strength level of the smart chess player against the player based on the chess power gap and the chess game information of the game to be adjusted includes: based on the chess moves of the player, Determining at least one future recommended move for playing against the player's moves; based on the gap in chess strength, determining a game for the intelligent chess player against the player's moves in the at least one future recommended move Step: Based on each pair of chess moves in the chess game to be adjusted and the chess game information, determine the target chess strength level of the intelligent chess player playing against the player. In this way, adjusting the chess strength of the intelligent chess player as a whole to reach the target chess strength level, and then making the chess strength level of the intelligent chess player slightly higher than that of the players, can increase the interest of the players in the game.
在一些实施例中,所述基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋 手对弈所述对弈者的目标棋力等级,包括:基于所述每一对弈棋步,确定所述智能棋手在所述待调整棋局中初始棋力等级;基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。如此,照棋局的对弈结果,对该初始棋力等级进行整体调整,进而能够使得在多盘棋局中对弈者和智能棋手达到胜负平衡的状态。In some embodiments, the determining the target chess strength level of the intelligent chess player against the player based on each pair of chess moves in the chess game to be adjusted and the chess game information includes: based on each Comparing chess moves, determining the initial chess power level of the intelligent chess player in the chess game to be adjusted; based on the game result of the chess game to be adjusted and the chess game information, adjusting the initial chess power level to obtain the intelligent chess The target chess skill level of the said player in the hand game. In this way, according to the game results of the chess game, the initial chess level is adjusted as a whole, so that the player and the intelligent chess player can reach a state of balance between victory and defeat in multiple chess games.
在一些实施例中,所述基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级,包括:基于所述棋局信息,确定所述对弈者的每一棋步与所述预设棋步之间的棋力差距,得到棋力差距集合;基于所述棋力差距集合,确定所述对弈者的对弈棋力等级;基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。如此,通过分析对弈者的每一棋步和预设棋步的棋力差距,确定出对弈者的棋力等级;并基于该棋局的对弈结果和对弈者的棋力等级,进而能够设定较为合理的智能棋力的目标棋力等级。In some embodiments, the adjustment of the initial chess power level based on the game result of the chess game to be adjusted and the chess game information to obtain the target chess power level of the intelligent chess player against the player includes: Based on the chess game information, determine the chess power gap between each chess move of the player and the preset chess move, and obtain a chess power gap set; determine the chess power level of the player based on the chess power gap set ; Based on the result of the game and the level of the chess skill of the game, the initial chess skill level is adjusted to obtain the target chess skill level of the intelligent chess player playing against the player. In this way, by analyzing the difference between each chess move of the player and the preset chess moves, the player's level of chess power can be determined; and based on the game result of the game and the player's level of chess power, a more reasonable intelligence can be set. The target level of chess strength.
在一些实施例中,所述基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级,包括:确定所述初始棋力等级和所述对弈棋力等级之间的差值;基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级。如此,能够更加精准的从整体上调整智能棋手的棋力等级,使得智能棋手与对弈者旗鼓相当。In some embodiments, the adjustment of the initial chess skill level based on the game result and the game skill level to obtain the target chess skill level of the intelligent chess player against the player includes: determining the The difference between the initial chess skill level and the chess skill level of the game; based on the game result and the difference, the initial chess skill level is adjusted to obtain the target chess skill level. In this way, it is possible to more accurately adjust the chess level of the intelligent chess player as a whole, so that the intelligent chess player is on par with the players.
在一些实施例中,所述基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级等级,包括:在所述对弈结果为所述对弈者胜或对弈平局的情况下,基于所述差值,增大所述初始棋力等级,得到所述目标棋力等级;或,在所述对弈结果为所述智能棋手胜的情况下,基于所述差值,降低所述初始棋力等级,得到所述目标棋力等级。如此,通过从整体上对智能棋手的棋力进行调整,使得多局的胜负平衡,能够调动对弈者的兴趣。In some embodiments, the adjusting the initial chess power level based on the game result and the difference value to obtain the target chess power level includes: when the game result is the player wins or In the case of a draw in the game, based on the difference, increase the initial chess power level to obtain the target chess power level; or, when the game result is that the intelligent chess player wins, based on the difference , reducing the initial chess skill level to obtain the target chess skill level. In this way, by adjusting the chess strength of the intelligent chess player as a whole, the outcome of multiple games can be balanced, and the interest of the players can be aroused.
在一些实施例中,所述基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级之后,所述方法还包括:在所述待调整棋局的下一棋局中,检测所述下一棋局的对弈者是否为所述待调整棋局中的对弈者;响应于所述下一棋局中的对弈者为所述待调整棋局中的对弈者,将所述目标棋力等级作为所述下一棋局的初始棋力等级。如此,在对弈者为同一棋手的情况下,通过将上一棋局中调整后的目标棋力等级作为下一棋局的初始棋力等级,能够为对弈者提供较好的对弈体验。In some embodiments, after determining the target chess strength level of the intelligent chess player against the player based on the chess strength gap and the chess game information of the game to be adjusted, the method further includes: In the next chess game of adjusting the chess game, detecting whether the player in the next chess game is the player in the chess game to be adjusted; in response to the player in the next chess game being the player in the chess game to be adjusted , using the target chess power level as the initial chess power level of the next game. In this way, when the players are the same chess player, by using the adjusted target chess power level in the previous game as the initial chess power level of the next game, a better game experience can be provided for the players.
本公开实施例提供一种棋力调整装置,所述装置包括:An embodiment of the present disclosure provides a device for adjusting chess strength, the device comprising:
第一获取模块,配置为获取待调整棋局中对弈者和智能棋手之间的对弈数据;The first obtaining module is configured to obtain the game data between the player and the intelligent chess player in the chess game to be adjusted;
第一确定模块,配置为在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;The first determination module is configured to determine the difference in chess strength between the player's chess move and the preset chess move in the game data;
第二确定模块,配置为基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。The second determining module is configured to determine a target chess strength level for the intelligent chess player to play against the player based on the chess strength gap and the chess game information of the game to be adjusted.
对应地,本公开实施例提供一种计算机存储介质,所述计算机存储介质上存储有计算机可执行指令,该计算机可执行指令被执行后,能够实现上述所述的棋力调整方法。Correspondingly, an embodiment of the present disclosure provides a computer storage medium, on which computer-executable instructions are stored. After the computer-executable instructions are executed, the above-mentioned method for adjusting chess strength can be realized.
本公开实施例提供一种电子设备,所述电子设备包括存储器和处理器,所述存储器上存储有计算机可执行指令,所述处理器运行所述存储器上的计算机可执行指令时能够实现上述棋力调整方法。An embodiment of the present disclosure provides an electronic device. The electronic device includes a memory and a processor. Computer-executable instructions are stored in the memory. When the processor executes the computer-executable instructions in the memory, the above-mentioned chess skills can be realized. Adjustment method.
根据本公开实施例的第五方面提供一种计算机程序,所述计算机程序包括计算机可读代码,在所 述计算机可读代码在电子设备中运行的情况下,所述电子设备的处理器执行用于实现上述的棋力调整方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program, the computer program includes computer readable code, and when the computer readable code runs in an electronic device, a processor of the electronic device executes To realize the above-mentioned method for adjusting chess strength.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1A为本公开实施例提供的棋力调整方法的实现流程示意图;FIG. 1A is a schematic diagram of the implementation flow of the chess power adjustment method provided by the embodiment of the present disclosure;
图1B为本公开实施例提供的棋力调整方法的一种系统架构示意图;FIG. 1B is a schematic diagram of a system architecture of a method for adjusting chess power provided by an embodiment of the present disclosure;
图2为本公开实施例提供的棋力调整方法的另一实现流程示意图;FIG. 2 is a schematic flow diagram of another realization of the method for adjusting chess power provided by an embodiment of the present disclosure;
图3为本公开实施例提供的棋力调整方法的另一实现流程示意图;FIG. 3 is a schematic flow diagram of another implementation of the method for adjusting chess power provided by an embodiment of the present disclosure;
图4为本公开实施例提供的AI棋局胜负平衡策略的实现流程示意图;FIG. 4 is a schematic diagram of the implementation flow of the AI chess game balance strategy provided by the embodiment of the present disclosure;
图5为本公开实施例提供的AI棋力自适应评估的实现流程示意图;FIG. 5 is a schematic diagram of the implementation process of AI chess power adaptive evaluation provided by the embodiment of the present disclosure;
图6为本公开实施例提供的棋力调整装置的结构组成示意图;FIG. 6 is a schematic diagram of the structure and composition of the chess power adjustment device provided by the embodiment of the present disclosure;
图7为本公开实施例提供的电子设备的组成结构示意图。FIG. 7 is a schematic diagram of the composition and structure of an electronic device provided by an embodiment of the present disclosure.
具体实施方式detailed description
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对发明的具体技术方案做进一步详细描述。以下实施例用于说明本公开,但不用来限制本公开的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the specific technical solutions of the invention will be further described in detail below in conjunction with the drawings in the embodiments of the present disclosure. The following examples are used to illustrate the present disclosure, but not to limit the scope of the present disclosure.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
在以下的描述中,所涉及的术语“第一\第二\第三”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本公开实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchanged such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein.
除非另有定义,本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本公开实施例的目的,不是旨在限制本公开。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure, and are not intended to limit the present disclosure.
对本公开实施例进行进一步详细说明之前,对本公开实施例中涉及的名词和术语进行说明,本公开实施例中涉及的名词和术语适用于如下的解释。Before the embodiments of the present disclosure are further described in detail, the nouns and terms involved in the embodiments of the present disclosure will be described, and the nouns and terms involved in the embodiments of the present disclosure are applicable to the following explanations.
1)人工智能棋手:指在线人-机对弈的过程中,与作为棋手的参与人对弈的机器人棋手。该机器人棋手采用人工智能的方式写入一定等级的棋力。1) Artificial intelligence chess player: refers to the robot chess player who plays against the participants as chess players in the process of online man-machine game. The robot chess player uses artificial intelligence to write a certain level of chess power.
2)棋手的棋力,是指该棋手下棋的本领,一定的棋力对应着一定的等级。2) A chess player's chess strength refers to the chess player's ability to play chess, and a certain chess strength corresponds to a certain level.
下面说明本公开实施例提供的棋力调整设备的示例性应用,其中,本公开实施例提供的设备可以实施为具有数据处理功能的笔记本电脑、对弈机器人、其他线上对弈棋艺平台,平板电脑,台式计算机,移动设备(例如,个人数字助理,专用消息设备,便携式游戏设备)等各种类型的电子设备。The following describes the exemplary application of the chess power adjustment device provided by the embodiment of the present disclosure, wherein the device provided by the embodiment of the present disclosure can be implemented as a notebook computer with data processing functions, a game robot, other online game chess platform, a tablet computer, a desktop Computers, mobile devices (eg, personal digital assistants, dedicated messaging devices, portable gaming devices) and other types of electronic devices.
下面,将说明棋力调整的设备实施为电子设备时示例性应用。In the following, an exemplary application when the device for adjusting chess strength is implemented as an electronic device will be described.
图1A为本公开实施例提供的棋力调整方法的实现流程示意图,如图1A所示,结合如图1A所示步骤进行说明:Fig. 1A is a schematic diagram of the implementation flow of the chess power adjustment method provided by the embodiment of the present disclosure, as shown in Fig. 1A, and described in conjunction with the steps shown in Fig. 1A:
步骤S101,获取待调整棋局中对弈者和智能棋手之间的对弈数据。Step S101, acquiring the game data between the player and the smart chess player in the game to be adjusted.
在一些实施例中,待调整棋局可以是指当前正在对弈的棋局,也可以是任一棋局。其中,对弈者可以是机器人棋手还可以是自然人棋手。智能棋手可以是采用人工智能的方式写入多种棋力等级的机器人或者任意能够与对弈者进行交互的设备等。对弈者和智能棋手之间的对弈数据包括:当前时刻对弈者所走的棋步,以及对弈者和智能棋手在本棋局中的历史时刻所走的棋步等。In some embodiments, the chess game to be adjusted may refer to the currently playing chess game, or any chess game. Wherein, the player can be a robot chess player or a natural person chess player. A smart chess player can be a robot that uses artificial intelligence to write multiple levels of chess power, or any device that can interact with players. The game data between the player and the intelligent chess player includes: the moves taken by the player at the current moment, and the moves taken by the player and the intelligent chess player at historical moments in the current chess game.
步骤S102,在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距。Step S102, in the game data, determine the difference in chess strength between the player's move and a preset move.
在一些实施例中,预设棋步可以是包括至少一种棋步;预设棋步可以是智能棋手基于自身的历史棋步确定的多种棋步;比如,该对弈者的棋步为当前棋步,那么智能棋手基于该当前棋步多对弈的智能棋手的前一棋步,生成对弈该前一棋步的多种推荐棋步;该多种推荐棋步即为预设棋步。在预设棋步为至少一种棋步的情况下,对弈者的棋步与预设棋步之间的棋力差距,可以是对弈者的棋步与这至少一种棋步中最优棋步之间的差距,还可以是对弈者的棋步与这至少一种棋步中每一棋步之间的差距,还可以是对弈者的棋步与这至少一种棋步中最差棋步之间的差距,还可以是对弈者的棋步与这至少一种棋步中任一棋步之间的差距。In some embodiments, the preset chess moves can include at least one kind of chess moves; the preset chess moves can be various chess moves determined by intelligent chess players based on their own historical moves; for example, the chess moves of the player are The current chess move, then the intelligent chess player generates multiple recommended chess moves for the previous chess move based on the current chess move and the previous chess move of the intelligent chess player; the various recommended chess moves are the preset chess moves step. In the case that the preset chess moves are at least one kind of chess moves, the difference in chess strength between the player's chess moves and the preset chess moves can be the best chess moves between the player's chess moves and the at least one kind of chess moves The disparity between, also can be the disparity between the player's chess move and each chess step in this at least one kind of chess move, also can be the chess player's chess move and the worst chess move in this at least one kind of chess move The gap between can also be the gap between the player's chess move and any chess step in this at least one kind of chess move.
在一些可能的实现方式中,作为智能棋手的AI引擎,通过获取对弈者的棋步,得到多种对弈该棋步的推荐棋步,以便于确定对弈者的棋步与推荐棋步的棋力差距,即上述步骤S102可以通过以下步骤S121至124(图示未示出)实现:In some possible implementations, the AI engine as an intelligent chess player obtains a variety of recommended moves for the game by obtaining the player's moves, so as to determine the player's moves and the strength of the recommended moves The gap, that is, the above step S102 can be realized through the following steps S121 to 124 (not shown):
步骤S121,基于所述对弈者的棋步所对弈的所述智能棋手的历史棋步,确定对弈所述历史棋步的至少一个历史推荐棋步。Step S121, based on the historical moves of the intelligent chess player played by the chess moves of the player, determine at least one recommended historical move for the historical move.
在一些实施例中,该历史棋步,即为对弈者的棋步所对弈的一个棋步;比如,对弈者的棋步为当前棋步,那么该当前棋步所对弈的该智能棋手的棋步即为该历史棋步。在一个具体例子中,智能棋手为AI引擎,该AI引擎在输出一个棋步之后;基于自身输出的棋步,生成多种对弈该棋步的推荐棋步,即得到至少一个历史推荐棋步。In some embodiments, the historical chess move is a chess move played by the player's chess move; The chess move is the historical chess move. In a specific example, the intelligent chess player is an AI engine. After outputting a chess move, the AI engine generates a variety of recommended chess moves for the chess move based on the chess moves output by itself, that is, at least one historical recommended chess move is obtained. .
步骤S122,将所述至少一个历史推荐棋步,确定为所述预设棋步。Step S122, determining the at least one historical recommended move as the preset move.
在一些可能的实现方式中,将该至少一个历史推荐棋步中的最优的历史推荐棋步作为预设棋步,或者是将该至少一个历史推荐棋步中的最后一个历史推荐棋步作为预设棋步,或者该至少一个历史推荐棋步中的每一历史推荐棋步均作为预设棋步。In some possible implementations, the optimal historical recommended chess move in the at least one historical recommended chess move is used as the preset chess move, or the last historical recommended chess move in the at least one historical recommended chess move is used as the preset chess move. The preset chess moves, or each historical recommended chess move in the at least one historical recommended chess move is used as a preset chess move.
上述步骤S121和122给出了一种确定预设棋步的方式,在该方式中,AI引擎基于对弈者的棋步,自动生成多种对弈该棋步的推荐棋步,将该推荐棋步作为预设棋步,从而能够准确判断出对弈者的棋步与预设棋步有差距。The above steps S121 and 122 provide a way to determine the preset chess move. In this way, the AI engine automatically generates a variety of recommended moves for the game based on the player's moves, and the recommended moves As a preset chess move, it can be accurately judged that there is a gap between the player's chess move and the preset chess move.
步骤S123,确定所述对弈者的棋步在所述至少一个历史推荐棋步中的棋力排位。Step S123, determining the ranking of the player's chess moves in the at least one historically recommended chess move.
在一些实施例中,AI引擎生成多个历史推荐棋步之后,首先给这多个历史推荐棋步按照棋力的从高到低进行排序;然后,确定该对弈者的棋步的棋力;最后,确定该对弈者的棋步的棋力在已排序的多个历史推荐棋步中的棋力排序。In some embodiments, after the AI engine generates multiple historically recommended moves, it first sorts the multiple historically recommended moves from high to low in terms of chess strength; then, determines the chess strength of the player's chess moves; finally, Determine the order of the chess strength of the player's chess moves among the sorted multiple historical recommended chess moves.
步骤S124,基于所述棋力排位,确定所述对弈者的棋步与所述预设棋步之间的棋力差距。Step S124, based on the ranking of chess strength, determine the difference in chess strength between the player's chess move and the preset chess move.
在一些实施例中,该棋力排位,能够说明对弈者的棋步在这多个历史推荐棋步中优先级;比如,如果该棋力排位为第一,说明该对弈者的棋力非常高,已经完全超过了预设棋步中的多个历史推荐棋步;基于此,确定该对弈者与多个历史推荐棋步中的最优棋步之间的棋力差距,为对弈者的棋步与预设棋步之间的棋力差距;如果该棋力排位为最后一位,说明该对弈者的棋力比较低,在这种情况下,可以是确定该对弈者的棋步与这多个历史推荐棋步中最后一个棋步之间的棋力差距,作为对弈者的棋步与预设棋步之间的棋力差距;还可以是确定该对弈者的棋步与多个历史推荐棋步中的最优棋步之间的棋力差距,为对弈者的棋步与预设棋步之间的棋力差距。在一些可能的实现方式中,可以是基于该棋力排位,确定对弈者的棋步与每一排在该对弈者的棋步的前面的历史推荐棋步之间的棋力差距。In some embodiments, the chess power ranking can indicate that the player's chess moves have priority among the multiple historically recommended moves; for example, if the chess power ranking is the first, it means that the chess player's chess power is very high, has completely surpassed multiple historical recommended moves in the preset chess moves; based on this, determine the chess strength gap between the player and the optimal chess move among the multiple historical recommended moves, which is the player's chess move and The difference in chess strength between the preset chess moves; if the chess strength ranking is the last one, it means that the chess strength of the player is relatively low. The chess strength gap between the last chess move in the chess moves is used as the chess strength gap between the player's chess move and the preset chess move; The chess strength gap between the superior chess moves is the chess strength gap between the player's chess moves and the preset chess moves. In some possible implementations, based on the ranking of chess strength, it is possible to determine the difference in chess strength between the player's move and each row of historically recommended moves preceding the player's move.
在上述步骤S123和124中,通过确定对弈者的棋步在智能棋手的多个历史推荐棋步中的棋力排位,能够准确判断出对弈者的棋步与历史推荐棋步之间的棋力差距;进而便于基于该对弈者的每一棋步的棋力差距,自适应地调整智能棋手的棋步,使得智能棋手输出的棋步与该对弈者的棋步棋力相当。In the above-mentioned steps S123 and 124, by determining the chess power ranking of the chess player's chess moves among the multiple historical recommended chess moves of the intelligent chess player, the chess strength between the chess player's chess moves and the historical recommended chess moves can be accurately judged Then it is convenient to adjust the chess moves of the intelligent chess player adaptively based on the difference in chess strength of each chess move of the player, so that the chess moves output by the intelligent chess player are equivalent to the chess moves of the player.
步骤S103,基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。Step S103, based on the chess power gap and the chess game information of the game to be adjusted, determine the target chess power level of the intelligent chess player playing against the player.
在一些实施例中,待调整棋局的棋局信息包括:该棋局的对弈结果以及该棋力在整个对弈过程中,对弈者和智能棋手分别胜出的棋步等数据。通过分析对弈者的棋步与智能棋手的历史推荐棋步之间的棋力差距,能够及时调整智能棋手对弈该棋步的棋力,从而智能棋手能够以稍高于对弈者棋力的方式输出对弈棋步。通过将每一步的棋力差距与该整个棋句的棋局信息进行结果,对该智能棋手对弈该对 弈者的棋力进行整体调整,从而确定智能棋手对弈对弈者的目标棋力等级。In some embodiments, the chess game information of the chess game to be adjusted includes: the game result of the chess game and the chess moves of the player and the intelligent chess player during the whole game of the game, and other data. By analyzing the gap between the player's chess moves and the intelligent chess player's historically recommended chess moves, the intelligent chess player can adjust the chess strength of the chess move in time, so that the intelligent chess player can output slightly higher than the player's chess strength Chess moves. By comparing the chess power gap of each step with the chess game information of the entire chess sentence, the overall adjustment of the chess power of the intelligent chess player against the player is carried out, so as to determine the target chess power level of the intelligent chess player against the player.
在本公开实施例中,首先,通过确定对弈者的棋步与预设棋局之间的棋力差距,能够及时调整智能棋手对弈该对弈者的棋步的棋力;然后,将对弈者每一步的棋力差距与整个待调整棋局的棋局信息相结合,整体调整该智能棋手的棋力等级;如此,按照对弈者的棋步动态调整智能棋手的棋力,能够使得棋局达到一个胜负平衡的状态,提升棋手体验感。In the embodiment of the present disclosure, firstly, by determining the difference in chess strength between the player's chess moves and the preset chess game, the chess strength of the intelligent chess player against the player's chess moves can be adjusted in time; The chess power gap is combined with the chess game information of the entire chess game to be adjusted to adjust the chess power level of the smart chess player as a whole; in this way, dynamically adjusting the chess power of the smart chess player according to the chess moves of the players can make the chess game reach a state of balance between victory and defeat. Improve chess player experience.
图1B为本公开实施例提供的棋力调整方法的一种系统架构示意图;如图1B所示,该系统架构中包括:数据获取终端11、网络12和棋力调整终端13。为实现支撑一个示例性应用,数据获取终端11和棋力调整终端13通过网络12建立通信连接,数据获取终端11通过网络12向棋力调整终端13上报获取的对弈数据;棋力调整终端13在对弈数据中,确定对弈者的棋步与预设棋步之间的棋力差距;并基于棋力差距和待调整棋局的棋局信息,确定智能棋手对弈对弈者的目标棋力等级。最后,棋力调整终端13将目标棋力等级上传至网络12,并通过网络12发送给数据获取终端11。FIG. 1B is a schematic diagram of a system architecture of a chess power adjustment method provided by an embodiment of the present disclosure; as shown in FIG. 1B , the system architecture includes: a data acquisition terminal 11 , a network 12 and a chess power adjustment terminal 13 . In order to support an exemplary application, the data acquisition terminal 11 and the chess power adjustment terminal 13 establish a communication connection through the network 12, and the data acquisition terminal 11 reports the obtained game data to the chess power adjustment terminal 13 through the network 12; , determine the chess power gap between the player's chess move and the preset chess move; and determine the target chess power level of the intelligent chess player against the player based on the chess power gap and the game information of the game to be adjusted. Finally, the chess power adjustment terminal 13 uploads the target chess power level to the network 12 and sends it to the data acquisition terminal 11 through the network 12 .
作为示例,数据获取终端11可以包括图像采集设备,棋力调整终端13可以包括具有视觉信息处理能力的视觉处理设备或远程服务器。网络12可以采用有线或无线连接方式。其中,当棋力调整终端13为视觉处理设备时,数据获取终端11可以通过有线连接的方式与视觉处理设备通信连接,例如通过总线进行数据通信;当棋力调整终端13为远程服务器时,数据获取终端11可以通过无线网络与远程服务器进行数据交互。As an example, the data acquisition terminal 11 may include an image acquisition device, and the chess skill adjustment terminal 13 may include a visual processing device or a remote server capable of processing visual information. The network 12 can be wired or wirelessly connected. Wherein, when the chess power adjustment terminal 13 is a visual processing device, the data acquisition terminal 11 can communicate with the visual processing device by a wired connection, for example, carry out data communication through a bus; when the chess power adjustment terminal 13 is a remote server, the data acquisition terminal 11 It can exchange data with the remote server through the wireless network.
或者,在一些场景中,数据获取终端11可以是带有视频采集模组的视觉处理设备,可以是带有摄像头的主机。这时,本公开实施例的视觉定位方法可以由数据获取终端11执行,上述系统架构可以不包含网络12和棋力调整终端13。Or, in some scenarios, the data acquisition terminal 11 may be a visual processing device with a video collection module, or a host computer with a camera. At this time, the visual positioning method of the embodiment of the present disclosure may be executed by the data acquisition terminal 11 , and the above-mentioned system architecture may not include the network 12 and chess skill adjustment terminal 13 .
在一些实施例中,将智能棋手的棋力等级调整为目标棋力等级后,采用该目标棋力等级对智能棋手在下一棋局中进行初始化,即在下一棋局中,基于该目标棋力等级,动态调整智能棋手的棋步;即在步骤S103之后,还包括以下步骤:In some embodiments, after the chess power level of the intelligent chess player is adjusted to the target chess power level, the target chess power level is used to initialize the intelligent chess player in the next chess game, that is, in the next chess game, based on the target chess power level, dynamically adjust The chess move of intelligent chess player; Promptly after step S103, also comprise the following steps:
第一步,在所述待调整棋局的下一棋局中,检测所述下一棋局的对弈者是否为所述待调整棋局中的对弈者。In the first step, in the next game of the game to be adjusted, it is detected whether the player in the next game is the player in the game to be adjusted.
这里,在下一棋局开始时,首先,判断该棋局中的对弈者是否与待调整棋局的对弈者为同一棋手;比如,通过分析对弈者的账号是否为同一账号,确定是否为同一棋手;或者通过人脸识别,确定是否为同一棋手。然后,基于判断结果,确定采用哪一棋力等级初始化该智能棋手。Here, when the next chess game starts, at first, judge whether the player in the game is the same player as the player to be adjusted; for example, determine whether they are the same player by analyzing whether the account number of the player is the same account; Or through face recognition, determine whether it is the same chess player. Then, based on the judgment result, it is determined which level of chess skill to use to initialize the intelligent chess player.
第二步,响应于所述下一棋局中的对弈者为所述待调整棋局中的对弈者,将所述目标棋力等级作为所述下一棋局的初始棋力等级。In the second step, in response to the fact that the player in the next game is the player in the game to be adjusted, the target chess level is used as the initial level of the next game.
这里,如果下一棋局中的对弈者为待调整棋局中的对弈者,即下一棋局中的对弈者与待调整棋局中的对弈者为同一棋手,为快速实现对智能棋手的初始化,将待调整棋局中确定的目标棋力等级,作为该下一棋局中智能棋手的初始棋力等级。如此,在对弈者为同一棋手的情况下,通过将上一棋局中调整后的目标棋力等级作为下一棋局的初始棋力等级,能够为对弈者提供较好的对弈体验。Here, if the player in the next game is the player in the game to be adjusted, that is, the player in the next game is the same player as the player in the game to be adjusted, in order to quickly realize the initialization of the intelligent player, The target chess power level determined in the chess game to be adjusted is used as the initial chess power level of the intelligent chess player in the next chess game. In this way, when the players are the same chess player, by using the adjusted target chess power level in the previous game as the initial chess power level of the next game, a better game experience can be provided for the players.
在一些实施例中,通过分析在待调整棋局中智能棋手每一步的走法,确定智能棋手在整个棋局的目标棋力等级,即上述步骤S103可以通过图2所示的步骤实现,图2为本公开实施例提供的棋力调整方法的另一实现流程示意图,结合图2进行以下说明:In some embodiments, by analyzing each step of the smart chess player in the chess game to be adjusted, the target chess power level of the smart chess player in the whole chess game is determined, that is, the above step S103 can be realized by the steps shown in Figure 2, Figure 2 It is a schematic flow diagram of another implementation flow of the chess power adjustment method provided by the embodiment of the present disclosure, and the following description is made in conjunction with FIG. 2:
步骤S201,基于所述对弈者的棋步,确定对弈所述对弈者的棋步的至少一个未来推荐棋步。Step S201, based on the player's move, determine at least one future recommended move for playing the player's move.
在一些实施例中,智能棋手在棋盘上读取对弈者的棋步,基于该棋步,生成多种对弈该棋步的推荐走法,即至少一个未来推荐棋步。In some embodiments, the intelligent chess player reads the player's move on the chessboard, and based on the move, generates multiple recommended moves for the game, that is, at least one future recommended move.
步骤S202,基于所述棋力差距,在所述至少一个未来推荐棋步中确定所述智能棋手对弈所述对弈者的棋步的对弈棋步。Step S202, based on the difference in chess strength, determine a game move in which the intelligent chess player plays against the player in the at least one future recommended move.
在一些实施例中,基于该棋力差距,在至少一个未来推荐棋步中选择与对弈者棋力相当的棋步,作为对弈棋步。比如,该棋力差距表明对弈者的棋步比历史推荐棋步中最差的棋步还要差很多,那么将该至少一个未来推荐棋步中棋力最差的棋步作为对弈棋步。或者,如果棋力差距表明对弈者的棋步比历史推荐棋步中最优的棋步还要高很多,那么将该至少一个未来推荐棋步中棋力最优的棋步作为对 弈棋步。或者,如果棋力差距表明对弈者的棋步在历史推荐棋步的中间位置,那么在该至少一个未来推荐棋步中选择棋力稍大于该对弈者的棋步作为对弈棋步。In some embodiments, based on the difference in chess strength, a move with comparable strength to the player is selected from at least one future recommended move as a rival move. For example, if the difference in chess strength indicates that the player's chess move is much worse than the worst chess move in the historical recommended moves, then the worst chess move in the at least one future recommended chess move is used as the opponent's chess move. Or, if the difference in chess strength shows that the player's move is much higher than the optimal move in the historical recommended moves, then the best move in at least one future recommended move is used as the opponent's move. Or, if the difference in chess strength shows that the player's chess move is in the middle of the historical recommended moves, then select a chess move with slightly greater chess strength than the player as the opponent's chess move in the at least one future recommended chess move.
在其他实施例中,还可以通过分析前几个棋步,对弈者与智能棋手之间的对弈结果,来设定当前棋步是否需要高于或低于对弈者的棋力。比如,在一个棋局中,连续五步都是智能棋手的棋力高于对弈者的棋力,那么为提高对弈者的对弈兴趣,在第六步时,适当降低智能棋手的棋力,以使对弈者的棋力高于智能棋手。In other embodiments, it is also possible to set whether the current chess step needs to be higher or lower than the player's chess strength by analyzing the previous chess moves and the result of the game between the player and the intelligent chess player. For example, in a chess game, the chess strength of the intelligent chess player is higher than that of the player for five consecutive steps, so in order to improve the player's interest in playing games, in the sixth step, the chess strength of the intelligent chess player is appropriately reduced to make the chess player The player's chess strength is higher than that of the intelligent chess player.
步骤S203,基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。Step S203, based on each pair of chess moves in the chess game to be adjusted and the chess game information, determine the target chess skill level of the intelligent chess player playing against the player.
在一些实施例中,基于待调整棋局中的每一对弈棋步和棋局信息,能够确定该每一对弈棋步的棋力是否高于对弈者的棋力,从而整体调整智能棋手的当前棋力等级,以使该智能棋手达到目标棋力等级。比如,该棋力差距表明对弈者的棋步比历史推荐棋步中最差的棋步还要差很多,那么将该至少一个未来推荐棋步中棋力最差的棋步作为对弈棋步,同时结合整个棋局的棋局信息,适当降低智能棋手的棋力等级。如果棋力差距表明对弈者的棋步比历史推荐棋步中最优的棋步还要高很多,那么将该至少一个未来推荐棋步中棋力最优的棋步作为对弈棋步,同时结合整个棋局的棋局信息,适当升高智能棋手的棋力等级。In some embodiments, based on each pair of chess moves and chess game information in the game to be adjusted, it can be determined whether the chess strength of each pair of chess moves is higher than that of the player, thereby adjusting the current chess strength level of the intelligent chess player as a whole, To make the intelligent chess player reach the target chess level. For example, if the difference in chess strength indicates that the chess move of the player is much worse than the worst chess move in the historical recommended moves, then the least powerful chess move in the at least one future recommended chess move is used as the chess move in the game, and combined with The chess information of the whole chess game can appropriately reduce the chess power level of the intelligent chess player. If the difference in chess strength shows that the player's move is much higher than the optimal move in the historical recommended moves, then the best move in at least one future recommended move is used as the game move, and the whole game is combined The information of the chess game can be used to appropriately increase the chess level of the intelligent chess player.
在本公开实施例中,通过结合棋局信息,分析整个棋局中每一对弈棋步与对弈者的棋步之间的胜负关系,从整体上调整智能棋手的棋力,达到目标棋力等级,进而使得智能棋手的棋力等级稍高于对弈者,能够提高对弈者的对弈兴趣。In the embodiment of the present disclosure, by combining the information of the chess game, analyzing the relationship between each pair of chess moves in the entire chess game and the player's chess moves, the chess strength of the intelligent chess player is adjusted as a whole to reach the target chess strength level, and then The level of chess ability of the intelligent chess player is slightly higher than that of the player, which can increase the player's interest in playing games.
在一些实施例中,通过整个棋局中智能棋手的对弈棋步,评估该智能棋手的当前初始棋力等级,并将对弈结果和棋局信息相结合,调整智能棋手在该棋局中的棋力,即上述步骤S203可以通过以下步骤S231和232(图示未示出)实现:In some embodiments, the current initial level of chess strength of the intelligent chess player is evaluated through the moves of the intelligent chess player in the entire chess game, and the game result is combined with the information of the chess game to adjust the chess strength of the intelligent chess player in the chess game. That is, the above step S203 can be realized through the following steps S231 and 232 (not shown in the figure):
步骤S231,基于所述每一对弈棋步,确定所述智能棋手在所述待调整棋局中初始棋力等级。Step S231, based on each pair of chess moves, determine the initial chess strength level of the intelligent chess player in the chess game to be adjusted.
在一些实施例中,通过统计每一对弈棋步的棋力,确定该智能棋手在该棋局中的当前棋力等级,即初始棋力等级。In some embodiments, by counting the chess strength of each pair of chess moves, the current chess strength level of the intelligent chess player in the chess game is determined, that is, the initial chess strength level.
步骤S232,基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。Step S232, based on the game result of the chess game to be adjusted and the chess game information, adjust the initial chess skill level to obtain a target chess skill level for the intelligent chess player to play against the player.
在一些实施例中,在待调整棋局结束时,获取该待调整棋局的对弈结果。将整个棋局中棋局信息包括的对弈者和智能棋手之间的每一棋步的胜负关系,与整个棋局的对弈结果相结合,从整体上调整智能棋手的棋力系数,即调整初始棋力等级,以达到稍高于对弈者棋力等级的目标棋力等级。如此,通过每一对弈棋步,评估待调整棋手在待调整棋局中的初始棋力等级;并按照棋局的对弈结果,对该初始棋力等级进行整体调整,进而能够使得在多盘棋局中对弈者和智能棋手达到胜负平衡的状态。In some embodiments, when the game to be adjusted ends, the game result of the game to be adjusted is acquired. Combining the winning and losing relationship of each move between the player and the intelligent chess player, which is included in the information of the chess game in the entire chess game, and the results of the entire chess game, adjust the chess power coefficient of the intelligent chess player as a whole, that is, adjust the initial chess power level, to achieve a target level of chess power that is slightly higher than the player's level of chess power. In this way, through each pair of chess moves, evaluate the initial chess strength level of the player to be adjusted in the chess game to be adjusted; and according to the game results of the chess game, the initial chess strength level is adjusted as a whole, so that players in multiple chess games can Reach a state of balance with intelligent chess players.
在一些可能的实现方式中,可以通过以下步骤从整体上调整智能棋手的棋力等级,从而使得智能棋手达到目标棋力等级:In some possible implementations, the chess level of the intelligent chess player can be adjusted as a whole through the following steps, so that the intelligent chess player can reach the target chess level:
第一步,基于所述棋局信息,确定所述对弈者的每一棋步与所述预设棋步之间的棋力差距,得到棋力差距集合。The first step is to determine the difference in chess strength between each chess move of the player and the preset chess move based on the chess game information, and obtain a set of chess strength gaps.
这里,由于棋局信息中包括该待调整棋局中的每一棋步,这样,可以首先,获取棋局信息中对弈者的每一棋步,以及该棋步所对应的智能棋手的多个历史推荐棋步;然后,确定对弈者的每一棋步与多个历史推荐棋步中最优棋步之间的棋力差距,得到棋力差距集合。Here, since the chess game information includes each chess move in the chess game to be adjusted, firstly, each chess move of the player in the chess game information and multiple historical recommendations of the intelligent chess player corresponding to the chess move can be obtained. chess moves; then, determine the chess strength gap between each chess move of the player and the optimal chess move in multiple historical recommended moves, and obtain the chess strength gap set.
第二步,基于所述棋力差距集合,确定所述对弈者的对弈棋力等级。The second step is to determine the player's chess skill level based on the set of chess skill gaps.
这里,通过该棋力差距集合,结合每一棋力差距所对应的最优棋步的棋力等级,可以从整体上确定对弈者在该棋局中的棋力等级,即对弈棋力等级。Here, through the set of chess strength gaps, combined with the chess strength level of the optimal chess move corresponding to each chess strength gap, the chess strength level of the player in the chess game can be determined as a whole, that is, the chess strength level of the opponent.
第三步,基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。The third step is to adjust the initial chess skill level based on the game result and the game skill level to obtain a target chess skill level for the intelligent chess player to play against the player.
这里,基于对弈结果,确定是增大还是降低智能棋手的初始棋力等级,而且基于对弈者的对弈棋力等级,能够确定需要对初始棋力等级进行调整的调整量,使得智能棋手的棋力等级达到目标棋力等 级。如此,通过分析对弈者的每一棋步和预设棋步的棋力差距,确定出对弈者的棋力等级;并基于该棋局的对弈结果和对弈者的棋力等级,进而能够设定较为合理的智能棋力的目标棋力等级。Here, based on the result of the game, it is determined whether to increase or decrease the initial chess power level of the intelligent chess player, and based on the player's chess power level, the adjustment amount that needs to be adjusted to the initial chess power level can be determined, so that the intelligent chess player's chess power level reaches Target chess skill level. In this way, by analyzing the difference between each chess move of the player and the preset chess moves, the player's level of chess power can be determined; and based on the game result of the game and the player's level of chess power, a more reasonable intelligence can be set. The target level of chess strength.
在一些实施例中,通过确定对弈者和智能棋手的棋力等级的差值,可以定量的对智能棋手的初始棋力等级进行调整,即上述第三步可以通过以下过程实现:In some embodiments, by determining the difference between the chess power level of the player and the smart chess player, the initial chess power level of the smart chess player can be quantitatively adjusted, that is, the third step above can be achieved through the following process:
首先,确定所述初始棋力等级和所述对弈棋力等级之间的差值。Firstly, the difference between the initial chess skill level and the playing chess skill level is determined.
这里,在确定出对弈者的对弈棋力等级之后,可以进一步确定在当前棋局中该对弈棋力等级与智能棋手的初始棋力等级之间的差值,即两个棋力等级之间相差的等级数。可以是在棋局结束时,确定对弈者的对弈棋力等级,以及该差值;还可以是在棋局进行过半时,确定对弈者的对弈棋力等级,以及该差值。Here, after the player's chess skill level is determined, the difference between the chess skill level and the intelligent chess player's initial chess skill level in the current game can be further determined, that is, the difference between the two chess skill levels. It may be that at the end of the chess game, determine the player's chess skill level and the difference; it may also be when the chess game is halfway through, determine the player's chess skill level and the difference.
然后,基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级。Then, based on the game result and the difference, the initial chess skill level is adjusted to obtain the target chess skill level.
这里,以该差值设定调整量,按照对弈结果对初始棋力等级进行上调或者下调,使得智能棋手达到目标棋力等级。这样,能够更加精准的从整体上调整智能棋手的棋力等级,使得智能棋手与对弈者旗鼓相当。Here, the difference is used to set the adjustment amount, and the initial chess level is adjusted up or down according to the result of the game, so that the intelligent chess player reaches the target chess level. In this way, the level of chess power of the intelligent chess player can be adjusted more accurately as a whole, so that the intelligent chess player is on par with the players.
在一些可能的实现方式中,通过对弈结果整体调整智能棋手的棋力等级,从而使得多局对弈的胜率平衡,比如:In some possible implementations, the level of chess power of the intelligent chess player is adjusted as a whole through the results of the game, so that the winning rate of multiple games is balanced, for example:
在所述对弈结果为所述对弈者胜或对弈平局的情况下,基于所述差值,增大所述初始棋力等级,得到所述目标棋力等级。If the result of the game is that the player wins or the game draws, based on the difference, the initial chess skill level is increased to obtain the target chess skill level.
这里,在对弈结果为所述对弈者胜的情况下,基于该差值,设定第一调整量,基于该第一调整量增加初始棋力等级,使得智能棋手的棋力等级大于对弈者的对弈棋力等级。如果连续两局的对弈结果均为对弈者胜,那么将第一调整量设定为较大的值,从而使得在第三局中智能棋手稳胜对弈者,以激发对弈者的对弈兴趣。Here, when the result of the game is that the player wins, based on the difference, a first adjustment amount is set, and the initial chess level is increased based on the first adjustment amount, so that the level of chess ability of the intelligent chess player is greater than that of the player. Chess level. If the result of two consecutive games is that the player wins, then the first adjustment amount is set to a larger value, so that the intelligent chess player wins the player steadily in the third game, so as to stimulate the player's interest in playing games.
在对弈结果为对弈平局的情况下,基于该差值,设定第二调整量,基于该第二调整量稍微增加初始棋力等级,使得智能棋手的棋力等级稍微大于对弈者的对弈棋力等级。其中,第二调整量小于第一调整量。In the case that the result of the game is a draw, based on the difference, a second adjustment amount is set, and the initial chess level is slightly increased based on the second adjustment amount, so that the level of the intelligent chess player is slightly greater than that of the player. Wherein, the second adjustment amount is smaller than the first adjustment amount.
或者,在所述对弈结果为所述智能棋手胜的情况下,基于所述差值,降低所述初始棋力等级,得到所述目标棋力等级。Or, if the result of the game is that the intelligent chess player wins, based on the difference, the initial chess skill level is reduced to obtain the target chess skill level.
这里,在对弈结果为所述对弈者输的情况下,基于该差值,设定第三调整量,基于该第三调整量降低初始棋力等级,使得智能棋手的棋力等级稍微大于对弈者的对弈棋力等级。如果连续两局的对弈结果均为智能棋手胜,那么将第三调整量设定为较大的值,即将智能棋手的棋力等级降低到一个较低的等级,从而使得在第三局中对弈者胜出,以调动对弈者的对弈兴趣。Here, when the result of the game is that the player loses, based on the difference, a third adjustment amount is set, and the initial level of chess power is reduced based on the third adjustment amount, so that the level of chess power of the intelligent chess player is slightly greater than that of the player. Chess level. If the result of the two consecutive games is that the intelligent chess player wins, then the third adjustment amount is set to a larger value, that is, the intelligent chess player's level of chess power is reduced to a lower level, so that in the third game The player of the game wins, so as to arouse the interest of the player in the game.
在本公开实施例中,通过结合一局或多局的对弈结果,对智能棋手的棋力等级进行整体调整,以使得在多局对弈中,对弈者和智能棋手能够胜率平衡;从而提高了对弈者的对弈体验。In the embodiment of the present disclosure, by combining the results of one or more games, the level of chess power of the intelligent chess player is adjusted as a whole, so that in multiple games, the winning rate of the player and the intelligent chess player can be balanced; thereby improving The player's gaming experience.
下面,将说明本公开实施例在一个实际的应用场景中的示例性应用,以对在线棋艺对弈过程中进行棋力动态评估为例,进行说明。Next, an exemplary application of an embodiment of the present disclosure in an actual application scenario will be described, taking the dynamic evaluation of chess strength during an online chess game as an example for illustration.
相关技术中,在线人-机对弈棋艺的情况是预先设定的机器人棋艺等级。按照初级/中级/高级等多个等级来设置机器人棋艺水平,要达到人-机旗鼓相当、游刃有余的情况下和机器对弈下棋,一般需要熟悉一定的棋局,参与者才能知道自己适合哪个等级的棋艺对弈。In related technologies, the situation of online human-machine chess game is a preset robot chess skill level. Set the level of chess skills of the robot according to multiple levels such as elementary/intermediate/advanced. To achieve the level of man-machine equal and easy to play chess against the machine, it is generally necessary to be familiar with a certain chess game, so that the participants can know which level of chess skills they are suitable for. game.
相关技术中设定棋艺等级的方式,对用户体验来说,属于一种机械的设定模式,用户需要反复体验才能达到适合自己合适的棋艺等级;这样,用户只能机械的遵从系统设定的棋艺等级,要不太高,要不过低;而在人机对弈过程中,最要的可以持续玩下去的对弈棋局是双方旗鼓相当,单局棋艺对弈双方水平相当水平,在多局对弈过程中,对弈双方胜率均衡,棋逢对手的情况,对用户是一个比较好的体验。The method of setting chess skill levels in related technologies belongs to a mechanical setting mode for user experience, and users need to experience repeatedly to reach their own suitable chess skill level; in this way, users can only mechanically follow the system settings. The level of chess skills should not be too high or not too low; in the process of man-machine games, the most important game game that can be played continuously is that the two sides are evenly matched. The winning rate of both sides of the game is balanced, and the situation of meeting the opponent is a better experience for the user.
本公开实施例提供一种棋力调整方法,实现参与人与AI引擎(对应于上述实施例中的智能棋手)轻松自如,旗鼓相当的对弈下棋;并自动实现对参与人棋力的自动评估,自适应调整AI引擎的棋子走法;这样,整体评估参与人与AI引擎之间的整体棋局的胜负,能够达到一个胜负平衡的状态。The embodiment of the present disclosure provides a method for adjusting chess strength, which realizes that the participants and the AI engine (corresponding to the intelligent chess player in the above-mentioned embodiments) can easily and equally play chess; and automatically realize the automatic evaluation of the chess strength of the participants, automatically Adapt to and adjust the chess pieces of the AI engine; in this way, the overall evaluation of the outcome of the overall chess game between the participants and the AI engine can achieve a state of balance between victory and defeat.
图3为本公开实施例提供的棋力调整方法的另一实现流程示意图,结合图3进行以下说明:FIG. 3 is a schematic flow diagram of another implementation process of the chess power adjustment method provided by the embodiment of the present disclosure. The following description will be made in conjunction with FIG. 3 :
第一步,在对弈前端301和AI棋艺引擎302上分别获取对弈双方棋况/棋局信息303。The first step is to obtain the chess situation/game information 303 of both players on the game front end 301 and the AI chess engine 302 respectively.
这里,对弈双方棋况/棋局信息303包括对弈者和智能棋手之间的对弈数据。Here, the chess situation/game information 303 of both players includes the game data between the player and the intelligent chess player.
第二步,将获取的对弈双方棋况/棋局信息303,输入AI棋力自适应评估模块304和AI棋局胜负平衡策略模块305中。The second step is to input the acquired chess situation/game information 303 of both sides into the AI chess power adaptive evaluation module 304 and the AI chess game balance strategy module 305 .
第三步,通过AI棋力自适应评估模块304,基于对弈双方棋况和棋局信息,实时调整AI引擎棋力306;通过AI棋局胜负平衡策略模块305,基于对弈双方棋况和棋局信息,整体调整AI棋力水平307。The third step is to adjust the chess power of the AI engine 306 in real time based on the chess situation and game information of the two sides through the AI chess power self-adaptive evaluation module 304; through the AI chess game balance strategy module 305, the overall adjustment is based on the chess situation and the game information of the two sides AI chess skill level 307.
第四步,基于实时调整的AI引擎棋力和整体调整的AI引擎棋力水平,执行新棋力策略308;并将该执行后的新棋力策略输入到第一步的对弈前端301和AI棋艺引擎302中。The fourth step is to execute the new chess strategy 308 based on the real-time adjusted AI engine chess strength and the overall adjusted AI engine chess strength level; and input the executed new chess strategy into the game front end 301 and AI chess engine 302 in the first step .
这里,执行新棋力策略308为智能棋手执行目标棋力等级。Here, execute the new chess strategy 308 to implement the target chess strength level for the intelligent chess player.
在一些实施例中,上述AI棋局胜负平衡策略模块305的实现过程如图4所示,图4为本公开实施例提供的AI棋局胜负平衡策略的实现流程示意图,结合图4所示步骤进行以下说明:In some embodiments, the implementation process of the above-mentioned AI chess game balance strategy module 305 is shown in Figure 4, which is a schematic diagram of the implementation process of the AI chess game balance strategy provided by the embodiment of the present disclosure, combined with the steps shown in Figure 4 Make the following instructions:
步骤S401,棋艺对弈开局。In step S401, the chess game starts.
步骤S402,在开局的棋局中进行互动对弈。In step S402, an interactive game is played in the opening game.
这里,在开局的棋局中进行互动对弈的同时,进行步骤S41,实时调整AI引擎的棋力;使得AI引擎的棋力与对弈者的棋力旗鼓相当。Here, while the interactive game is being played in the opening chess game, step S41 is performed to adjust the chess power of the AI engine in real time; so that the chess power of the AI engine is equal to that of the player.
步骤S403,如果棋局对弈结束,获取该棋局的对弈结果。Step S403, if the chess game is over, obtain the game result of the chess game.
在一些实施例中,如果棋局对弈结果是AI引擎赢进入步骤S411,如果棋局对弈结果是对弈平局进入步骤S421,如果棋局对弈结果是AI引擎输进入步骤S431。In some embodiments, if the result of the game game is that the AI engine wins, go to step S411, if the result of the game game is a draw, go to step S421, and if the result of the game game is that the AI engine loses, go to step S431.
步骤S411,如果AI引擎赢,确定AI棋力调整系数。Step S411, if the AI engine wins, determine the AI chess power adjustment coefficient.
步骤S412,下调AI棋力调整系数。Step S412, down-regulating the AI chess power adjustment coefficient.
在步骤S412对AI棋力调整系数进行下调之后,进入步骤S404。After step S412 lowers the AI chess power adjustment coefficient, enter step S404.
步骤S421,如果对弈平局,确定AI棋力调整系数。Step S421, if the game is tied, determine the AI chess power adjustment coefficient.
这里,确定AI棋力调整系数,以便于适当调高AI棋力系数。Here, the AI chess power adjustment coefficient is determined so as to appropriately increase the AI chess power coefficient.
步骤S422,将AI棋力系数进行微上调。Step S422, fine-tuning the AI chess power coefficient.
在步骤S422对AI棋力调整系数进行上调之后,进入步骤S404。After step S422 increases the AI chess power adjustment coefficient, enter step S404.
步骤S431,如果AI引擎输,确定AI棋力调整系数,Step S431, if the AI engine loses, determine the AI chess power adjustment coefficient,
这里,确定AI棋力调整系数,以便于适当调高AI棋力系数。Here, the AI chess power adjustment coefficient is determined so as to appropriately increase the AI chess power coefficient.
步骤S432,将AI棋力系数进行大幅度上调。Step S432, greatly increasing the AI chess power coefficient.
在步骤S432对AI棋力调整系数进行上调之后,进入步骤S404。After step S432 increases the AI chess power adjustment coefficient, enter step S404.
步骤S404,将已调整的AI棋力系数,推荐给下一次棋力系数。Step S404, recommending the adjusted AI chess power coefficient to the next chess power coefficient.
步骤S405,在进行下一棋局时,初始化棋力系数。Step S405, when playing the next game, initialize the chess force coefficient.
这里,将初始化的棋力系数反馈至步骤S402,以供对弈者在下一棋局中进行互动对弈。Here, the initialized chess power coefficient is fed back to step S402 for the players to play interactively in the next game.
在一些实施例中AI棋力自适应评估模块304的实现过程如图5所示,图5为本公开实施例提供的AI棋力自适应评估的实现流程示意图,结合图5所示步骤进行以下说明:In some embodiments, the implementation process of the AI chess power adaptive evaluation module 304 is shown in Figure 5, which is a schematic diagram of the implementation process of the AI chess power adaptive evaluation provided by the embodiment of the present disclosure, and the following description is made in conjunction with the steps shown in Figure 5:
步骤S501,获取当前棋局。Step S501, obtain the current chess game.
步骤S502,在当前棋局中,获取人工走棋数据。Step S502, in the current chess game, obtain manual chess move data.
这里,将人工走棋数据发送给AI引擎,进入步骤S531。Here, send the artificial chess move data to the AI engine, and enter step S531.
步骤S503,将当前棋局发送给AI引擎。Step S503, sending the current chess game to the AI engine.
步骤S504,获得AI引擎的当前棋步推荐走法。Step S504, obtaining the current chess move recommended by the AI engine.
上述步骤S501至步骤S504在人工走棋阶段51实现。The above step S501 to step S504 is realized in the manual move stage 51 .
步骤S505,存储人工走棋的棋步,以及,AI引擎中推荐的棋步。Step S505, storing the chess moves played manually and the chess moves recommended by the AI engine.
步骤S506,将人工走法与AI引擎中推荐的棋步进行比较。Step S506, comparing the manual moves with the recommended moves in the AI engine.
步骤S507,基于比较结果,确定人工走法在AI引擎中推荐的棋步中的排位。Step S507, based on the comparison result, determine the ranking of the manual moves among the chess moves recommended by the AI engine.
步骤S508,基于该排位,确定人工走法与AI引擎中推荐的棋步的差距等级。Step S508, based on the ranking, determine the level of difference between the manual moves and the moves recommended by the AI engine.
这里,该差距等级表征人工走法与AI引擎中推荐的最优走法的差距等级。Here, the gap level represents the gap level between the manual move and the optimal move recommended by the AI engine.
步骤S509,在该棋局中,记录每一步人工走法对应的差距等级。Step S509, in the chess game, record the gap level corresponding to each manual move.
步骤S510,基于每一步人工走法对应的差距等级,确定当前棋局中全部走法的对弈等级。Step S510, based on the gap level corresponding to each manual move, determine the game level of all moves in the current chess game.
步骤S511,基于该全部走法的对弈等级,确定差距等级的范围。Step S511, based on the game levels of all the moves, determine the range of the gap level.
步骤S512,基于该差距等级的范围,确定对弈者的棋艺等级。Step S512, based on the range of the difference level, determine the chess skill level of the player.
上述步骤S505至步骤S512在棋手棋力等级评估阶段52实现。The above step S505 to step S512 is realized in the stage 52 of assessing the player's chess skill level.
步骤S531,将步骤S502中的人工走棋的棋步发送给AI引擎,以进行AI走棋。Step S531, sending the artificial chess moves in step S502 to the AI engine for AI chess moves.
步骤S532,AI引擎获取推荐走法的排序。Step S532, the AI engine obtains the ranking of recommended moves.
步骤S533,基于步骤S509确定的差距等级,在多种推荐走法中确定目标走法。Step S533, based on the difference level determined in step S509, determine the target move among various recommended moves.
步骤S534,AI引擎输出对弈人工棋步的合理棋步。In step S534, the AI engine outputs reasonable moves for the game against artificial moves.
在本公开实施例中,在一局对弈中,动态根据对弈者的走法自动评判对弈者的每一步的棋力水平,并通过多局对弈动态调整胜率平衡,能够提高在线棋艺的用户体验。In the embodiment of the present disclosure, in a game of chess, the player's chess skill level of each step is dynamically and automatically judged according to the player's moves, and the winning rate balance is dynamically adjusted through multiple games, which can improve the user experience of online chess.
本公开实施例提供一种棋力调整装置,图6为本公开实施例提供的棋力调整装置的结构组成示意图,如图6所示,所述棋力调整装置600包括:An embodiment of the present disclosure provides a device for adjusting chess power. FIG. 6 is a schematic diagram of the structural composition of the device for adjusting chess power provided by an embodiment of the present disclosure. As shown in FIG. 6 , the device for adjusting chess power 600 includes:
第一获取模块601,配置为获取待调整棋局中对弈者和智能棋手之间的对弈数据;The first obtaining module 601 is configured to obtain the game data between the player and the intelligent chess player in the chess game to be adjusted;
第一确定模块602,配置为在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;The first determination module 602 is configured to determine the difference in chess strength between the player's chess move and the preset chess move in the game data;
第二确定模块603,配置为基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。The second determination module 603 is configured to determine the target chess strength level of the intelligent chess player against the player based on the chess strength gap and the chess game information of the game to be adjusted.
在一些实施例中,所述装置还包括:In some embodiments, the device also includes:
第三确定模块,配置为基于所述对弈者的棋步所对弈的所述智能棋手的历史棋步,确定对弈所述历史棋步的至少一个历史推荐棋步;The third determination module is configured to determine at least one recommended historical move of the historical move of the game based on the historical move of the intelligent chess player played by the chess move of the player;
第四确定模块,配置为将所述至少一个历史推荐棋步,确定为所述预设棋步。The fourth determination module is configured to determine the at least one historical recommended move as the preset move.
在一些实施例中,所述第一确定模块602,包括In some embodiments, the first determining module 602 includes
第一确定子模块,配置为确定所述对弈者的棋步在所述至少一个历史推荐棋步中的棋力排位;The first determining sub-module is configured to determine the ranking of the player's chess moves in the at least one historically recommended chess move;
第二确定子模块,配置为基于所述棋力排位,确定所述对弈者的棋步与所述预设棋步之间的棋力差距。The second determination sub-module is configured to determine the difference in chess strength between the player's chess move and the preset chess move based on the chess strength ranking.
在一些实施例中,所述第二确定模块603,包括:In some embodiments, the second determination module 603 includes:
第三确定子模块,配置为基于所述对弈者的棋步,确定对弈所述对弈者的棋步的至少一个未来推荐棋步;The third determining submodule is configured to determine at least one future recommended move for playing the player's move based on the player's move;
第四确定子模块,配置为基于所述棋力差距,在所述至少一个未来推荐棋步中确定所述智能棋手对弈所述对弈者的棋步的对弈棋步;The fourth determination sub-module is configured to determine, in the at least one future recommended move, the intelligent chess player's chess move against the player's chess move based on the chess strength gap;
第五确定子模块,配置为基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。The fifth determination sub-module is configured to determine the target chess strength level of the intelligent chess player against the player based on each pair of chess moves in the chess game to be adjusted and the chess game information.
在一些实施例中,所述第五确定子模块,包括:In some embodiments, the fifth determining submodule includes:
第一确定单元,配置为基于所述每一对弈棋步,确定所述智能棋手在所述待调整棋局中初始棋力等级;The first determination unit is configured to determine the initial level of chess strength of the intelligent chess player in the chess game to be adjusted based on each pair of chess moves;
第一调整单元,配置为基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。The first adjustment unit is configured to adjust the initial chess skill level based on the game result of the chess game to be adjusted and the chess game information, so as to obtain a target chess skill level for the intelligent chess player to play against the player.
在一些实施例中,所述第一调整单元,包括:In some embodiments, the first adjustment unit includes:
第一确定子单元,配置为基于所述棋局信息,确定所述对弈者的每一棋步与所述预设棋步之间的棋力差距,得到棋力差距集合;The first determining subunit is configured to determine the difference in chess strength between each chess move of the player and the preset chess move based on the chess game information, and obtain a set of chess strength gaps;
第二确定子单元,配置为基于所述棋力差距集合,确定所述对弈者的对弈棋力等级;The second determining subunit is configured to determine the player's chess skill level based on the chess skill gap set;
第一调整子单元,配置为基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整, 得到所述智能棋手对弈所述对弈者的目标棋力等级。The first adjustment subunit is configured to adjust the initial chess skill level based on the game result and the game skill level to obtain a target chess skill level for the intelligent chess player to play against the player.
在一些实施例中,所述第一调整子单元,还配置为:确定所述初始棋力等级和所述对弈棋力等级之间的差值;基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级。In some embodiments, the first adjustment subunit is further configured to: determine the difference between the initial chess skill level and the game chess skill level; based on the game result and the difference, adjust the The initial chess level is adjusted to obtain the target chess level.
在一些实施例中,所述第一调整子单元,还配置为:在所述对弈结果为所述对弈者胜或对弈平局的情况下,基于所述差值,增大所述初始棋力等级,得到所述目标棋力等级;或,在所述对弈结果为所述智能棋手胜的情况下,基于所述差值,降低所述初始棋力等级,得到所述目标棋力等级。In some embodiments, the first adjustment subunit is further configured to: increase the initial chess skill level based on the difference when the result of the game is that the player wins or the game draws, Obtaining the target chess power level; or, in the case that the intelligent chess player wins as a result of the game, reducing the initial chess power level based on the difference to obtain the target chess power level.
在一些实施例中,所述装置还包括:In some embodiments, the device also includes:
第一检测模块,配置为在所述待调整棋局的下一棋局中,检测所述下一棋局的对弈者是否为所述待调整棋局中的对弈者;The first detection module is configured to, in the next game of the game to be adjusted, detect whether the player in the next game is the player in the game to be adjusted;
第五确定模块,配置为响应于所述下一棋局中的对弈者为所述待调整棋局中的对弈者,将所述目标棋力等级作为所述下一棋局的初始棋力等级。The fifth determination module is configured to use the target chess power level as the initial chess power level of the next chess game in response to the player in the next game being the player in the game to be adjusted.
需要说明的是,以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本公开装置实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解。It should be noted that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
需要说明的是,本公开实施例中,如果以软件功能模块的形式实现上述的棋力调整方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是终端、服务器等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、运动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本公开实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiment of the present disclosure, if the above-mentioned chess power adjustment method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solutions of the embodiments of the present disclosure or the part that contributes to the prior art can be embodied in the form of software products, the computer software products are stored in a storage medium, including several instructions for Make an electronic device (which may be a terminal, a server, etc.) execute all or part of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: various media that can store program codes such as U disk, sports hard disk, read-only memory (Read Only Memory, ROM), magnetic disk or optical disk. As such, embodiments of the present disclosure are not limited to any specific combination of hardware and software.
对应地,本公开实施例再提供一种计算机程序产品,所述计算机程序产品包括计算机可执行指令,该计算机可执行指令被执行后,能够实现本公开实施例提供的棋力调整方法中的步骤。Correspondingly, the embodiments of the present disclosure further provide a computer program product, the computer program product includes computer executable instructions, and after the computer executable instructions are executed, the steps in the method for adjusting chess power provided by the embodiments of the present disclosure can be implemented.
相应的,本公开实施例再提供一种计算机存储介质,所述计算机存储介质上存储有计算机可执行指令,所述该计算机可执行指令被处理器执行时实现上述实施例提供的棋力调整方法的步骤。Correspondingly, an embodiment of the present disclosure further provides a computer storage medium, on which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method for adjusting chess power provided by the above-mentioned embodiments is implemented. step.
相应的,本公开实施例提供一种电子设备,图7为本公开实施例提供的电子设备的组成结构示意图,如图7所示,所述电子设备700包括:一个处理器701、至少一个通信总线、通信接口702、至少一个外部通信接口和存储器703。其中,通信接口702配置为实现这些组件之间的连接通信。其中,通信接口702可以包括显示屏,外部通信接口可以包括标准的有线接口和无线接口。其中所述处理器701,配置为执行存储器中图像处理程序,以实现上述实施例提供的棋力调整方法的步骤。Correspondingly, an embodiment of the present disclosure provides an electronic device. FIG. 7 is a schematic structural diagram of the electronic device provided by an embodiment of the present disclosure. As shown in FIG. 7 , the electronic device 700 includes: a processor 701, at least one communication bus, communication interface 702, at least one external communication interface and memory 703. Wherein, the communication interface 702 is configured to realize connection and communication between these components. Wherein, the communication interface 702 may include a display screen, and the external communication interface may include a standard wired interface and a wireless interface. Wherein the processor 701 is configured to execute the image processing program in the memory, so as to realize the steps of the method for adjusting chess strength provided by the above-mentioned embodiments.
以上棋力调整装置、电子设备和存储介质实施例的描述,与上述方法实施例的描述是类似的,具有同相应方法实施例相似的技术描述和有益效果,限于篇幅,可案件上述方法实施例的记载,故在此不再赘述。对于本公开棋力调整装置、电子设备和存储介质实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解。The above descriptions of the chess power adjustment device, electronic equipment, and storage medium embodiments are similar to the descriptions of the above-mentioned method embodiments, and have similar technical descriptions and beneficial effects as the corresponding method embodiments. records, so I will not repeat them here. For the technical details not disclosed in the embodiments of the chess power adjusting device, electronic equipment and storage medium of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本公开的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present disclosure, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, rather than by the embodiments of the present disclosure. The implementation process constitutes any limitation. The serial numbers of the above-mentioned embodiments of the present disclosure are for description only, and do not represent the advantages and disadvantages of the embodiments. It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
在本公开所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be used as a single unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit. Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in computer-readable storage media. When the program is executed, the execution includes The steps of the foregoing method embodiments; and the foregoing storage media include: removable storage devices, read-only memory (Read Only Memory, ROM), magnetic disks or optical disks and other media that can store program codes.
或者,本公开上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。Alternatively, if the above-mentioned integrated units of the present disclosure are realized in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solutions of the embodiments of the present disclosure or the part that contributes to the prior art can be embodied in the form of software products, the computer software products are stored in a storage medium, including several instructions for Make an electronic device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes various media capable of storing program codes such as removable storage devices, ROMs, magnetic disks or optical disks. The above is only a specific implementation of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope of the present disclosure. should fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be determined by the protection scope of the claims.
工业实用性Industrial Applicability
本公开实施例提供一种棋力调整方法、装置、设备、存储介质及程序,其中,获取待调整棋局中对弈者和智能棋手之间的对弈数据;在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。Embodiments of the present disclosure provide a chess power adjustment method, device, equipment, storage medium and program, wherein, the game data between the player and the intelligent chess player in the chess game to be adjusted is obtained; in the game data, the game is determined The difference in chess strength between the player's chess move and the preset chess move; based on the chess strength difference and the chess game information of the chess game to be adjusted, determine the target chess strength level of the intelligent chess player playing against the player.

Claims (21)

  1. 一种棋力调整方法,所述方法由电子设备执行,所述方法包括:A method for adjusting chess strength, the method is performed by an electronic device, and the method includes:
    获取待调整棋局中对弈者和智能棋手之间的对弈数据;Obtain the game data between the player and the intelligent chess player in the chess game to be adjusted;
    在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;In the game data, determine the difference in chess strength between the player's chess move and the preset chess move;
    基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。Based on the chess power gap and the chess game information of the game to be adjusted, determine the target chess power level of the intelligent chess player playing against the player.
  2. 根据权利要求1所述的方法,其中,所述在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距之前,所述方法还包括:The method according to claim 1, wherein, in the game data, before determining the difference in chess strength between the player's chess move and the preset chess move, the method further includes:
    基于所述对弈者的棋步所对弈的所述智能棋手的历史棋步,确定对弈所述历史棋步的至少一个历史推荐棋步;Based on the historical chess moves of the intelligent chess player played by the chess moves of the player, determine at least one historical recommended chess move for the historical chess moves of the game;
    将所述至少一个历史推荐棋步,确定为所述预设棋步。The at least one historical recommended move is determined as the preset move.
  3. 根据权利要求2所述的方法,其中,所述在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距,包括The method according to claim 2, wherein, in the game data, determining the difference in chess strength between the player's chess move and a preset chess move includes
    确定所述对弈者的棋步在所述至少一个历史推荐棋步中的棋力排位;Determining the ranking of the player's chess moves in the at least one historically recommended chess move;
    基于所述棋力排位,确定所述对弈者的棋步与所述预设棋步之间的棋力差距。Based on the ranking of chess strength, a difference in chess strength between the player's chess move and the preset chess move is determined.
  4. 根据权利要求1至3任一项所述的方法,其中,所述基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级,包括:The method according to any one of claims 1 to 3, wherein, determining the target chess strength level of the intelligent chess player against the player based on the chess strength gap and the chess game information of the chess game to be adjusted, includes :
    基于所述对弈者的棋步,确定对弈所述对弈者的棋步的至少一个未来推荐棋步;determining at least one future recommended move for playing the player's move based on the player's move;
    基于所述棋力差距,在所述至少一个未来推荐棋步中确定所述智能棋手对弈所述对弈者的棋步的对弈棋步;Based on the difference in chess strength, determining a game move of the intelligent chess player against the player's chess moves in the at least one future recommended move;
    基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。Based on each pair of chess moves in the chess game to be adjusted and the chess game information, determine the target chess strength level of the intelligent chess player playing against the player.
  5. 根据权利要求4所述的方法,其中,所述基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级,包括:The method according to claim 4, wherein, based on each pair of chess moves in the chess game to be adjusted and the chess game information, determining the target chess level of the intelligent chess player against the player includes:
    基于所述每一对弈棋步,确定所述智能棋手在所述待调整棋局中初始棋力等级;Based on each pair of chess moves, determine the initial chess strength level of the intelligent chess player in the chess game to be adjusted;
    基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。Based on the game result of the chess game to be adjusted and the chess game information, the initial chess skill level is adjusted to obtain a target chess skill level for the intelligent chess player to play against the player.
  6. 根据权利要求5所述的方法,其中,所述基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级,包括:The method according to claim 5, wherein, based on the game result of the chess game to be adjusted and the chess game information, the initial chess level is adjusted to obtain the goal of the intelligent chess player playing against the player Chess level, including:
    基于所述棋局信息,确定所述对弈者的每一棋步与所述预设棋步之间的棋力差距,得到棋力差距集合;Based on the chess game information, determine the chess power gap between each chess move of the player and the preset chess move, and obtain a chess power gap set;
    基于所述棋力差距集合,确定所述对弈者的对弈棋力等级;Based on the set of chess power gaps, determine the player's chess power level;
    基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。Based on the game result and the game skill level, the initial chess skill level is adjusted to obtain a target chess skill level for the intelligent chess player to play against the player.
  7. 根据权利要求6所述的方法,其中,所述基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级,包括:The method according to claim 6, wherein said initial chess power level is adjusted based on said game result and said game chess power level to obtain a target chess power level of said intelligent chess player against said player, include:
    确定所述初始棋力等级和所述对弈棋力等级之间的差值;Determine the difference between the initial chess skill level and the game chess skill level;
    基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级。Based on the game result and the difference, the initial chess skill level is adjusted to obtain the target chess skill level.
  8. 根据权利要求7所述的方法,其中,所述基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级等级,包括:The method according to claim 7, wherein said adjustment of said initial chess skill level based on said game result and said difference value to obtain said target chess skill level includes:
    在所述对弈结果为所述对弈者胜或对弈平局的情况下,基于所述差值,增大所述初始棋力等级,得到所述目标棋力等级;或,If the result of the game is that the player wins or the game is a tie, based on the difference, increase the initial chess level to obtain the target chess level; or,
    在所述对弈结果为所述智能棋手胜的情况下,基于所述差值,降低所述初始棋力等级,得到所述目标棋力等级。If the result of the game is that the intelligent chess player wins, based on the difference, the initial chess skill level is reduced to obtain the target chess skill level.
  9. 根据权利要求1至8任一项所述的方法,其中,所述基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级之后,所述方法还包括:The method according to any one of claims 1 to 8, wherein, after determining the target chess strength level of the intelligent chess player against the player based on the chess strength gap and the chess game information of the chess game to be adjusted, The method also includes:
    在所述待调整棋局的下一棋局中,检测所述下一棋局的对弈者是否为所述待调整棋局中的对弈者;In the next chess game of the chess game to be adjusted, detect whether the player in the next chess game is the player in the chess game to be adjusted;
    响应于所述下一棋局中的对弈者为所述待调整棋局中的对弈者,将所述目标棋力等级作为所述下一棋局的初始棋力等级。In response to the fact that the player in the next game is the player in the game to be adjusted, the target chess level is used as the initial level of the next game.
  10. 一种棋力调整装置,其中,所述装置包括:A device for adjusting chess strength, wherein the device includes:
    第一获取模块,配置为获取待调整棋局中对弈者和智能棋手之间的对弈数据;The first obtaining module is configured to obtain the game data between the player and the intelligent chess player in the chess game to be adjusted;
    第一确定模块,配置为在所述对弈数据中,确定所述对弈者的棋步与预设棋步之间的棋力差距;The first determination module is configured to determine the difference in chess strength between the player's chess move and the preset chess move in the game data;
    第二确定模块,配置为基于所述棋力差距和所述待调整棋局的棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。The second determining module is configured to determine a target chess strength level for the intelligent chess player to play against the player based on the chess strength gap and the chess game information of the game to be adjusted.
  11. 根据权利要求10所述的装置,其中,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    第三确定模块,配置为基于所述对弈者的棋步所对弈的所述智能棋手的历史棋步,确定对弈所述历史棋步的至少一个历史推荐棋步;The third determination module is configured to determine at least one recommended historical move of the historical move of the game based on the historical move of the intelligent chess player played by the chess move of the player;
    第四确定模块,配置为将所述至少一个历史推荐棋步,确定为所述预设棋步。The fourth determination module is configured to determine the at least one historical recommended move as the preset move.
  12. 根据权利要求11所述的装置,其中,所述第一确定模块,包括The apparatus according to claim 11, wherein the first determining module comprises
    第一确定子模块,配置为确定所述对弈者的棋步在所述至少一个历史推荐棋步中的棋力排位;The first determining sub-module is configured to determine the ranking of the player's chess moves in the at least one historically recommended chess move;
    第二确定子模块,配置为基于所述棋力排位,确定所述对弈者的棋步与所述预设棋步之间的棋力差距。The second determination sub-module is configured to determine the difference in chess strength between the player's chess move and the preset chess move based on the chess strength ranking.
  13. 根据权利要求10至12任一项所述的装置,其中,所述第二确定模块,包括:The device according to any one of claims 10 to 12, wherein the second determination module includes:
    第三确定子模块,配置为基于所述对弈者的棋步,确定对弈所述对弈者的棋步的至少一个未来推荐棋步;The third determining submodule is configured to determine at least one future recommended move for playing the player's move based on the player's move;
    第四确定子模块,配置为基于所述棋力差距,在所述至少一个未来推荐棋步中确定所述智能棋手对弈所述对弈者的棋步的对弈棋步;The fourth determination sub-module is configured to determine, in the at least one future recommended move, the intelligent chess player's chess move against the player's chess move based on the chess strength gap;
    第五确定子模块,配置为基于所述待调整棋局中的每一对弈棋步和所述棋局信息,确定所述智能棋手对弈所述对弈者的目标棋力等级。The fifth determination sub-module is configured to determine the target chess strength level of the intelligent chess player against the player based on each pair of chess moves in the chess game to be adjusted and the chess game information.
  14. 根据权利要求13所述的装置,其中,所述第五确定子模块,包括:The device according to claim 13, wherein the fifth determining submodule comprises:
    第一确定单元,配置为基于所述每一对弈棋步,确定所述智能棋手在所述待调整棋局中初始棋力等级;The first determination unit is configured to determine the initial level of chess strength of the intelligent chess player in the chess game to be adjusted based on each pair of chess moves;
    第一调整单元,配置为基于所述待调整棋局的对弈结果和所述棋局信息,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。The first adjustment unit is configured to adjust the initial chess skill level based on the game result of the chess game to be adjusted and the chess game information, so as to obtain a target chess skill level for the intelligent chess player to play against the player.
  15. 根据权利要求14所述的装置,其中,所述第一调整单元,包括:The device according to claim 14, wherein the first adjustment unit comprises:
    第一确定子单元,配置为基于所述棋局信息,确定所述对弈者的每一棋步与所述预设棋步之间的棋力差距,得到棋力差距集合;The first determining subunit is configured to determine the difference in chess strength between each chess move of the player and the preset chess move based on the chess game information, and obtain a set of chess strength gaps;
    第二确定子单元,配置为基于所述棋力差距集合,确定所述对弈者的对弈棋力等级;The second determining subunit is configured to determine the player's chess skill level based on the chess skill gap set;
    第一调整子单元,配置为基于所述对弈结果和所述对弈棋力等级,对所述初始棋力等级进行调整,得到所述智能棋手对弈所述对弈者的目标棋力等级。The first adjustment subunit is configured to adjust the initial chess skill level based on the game result and the game skill level to obtain a target chess skill level for the intelligent chess player to play against the player.
  16. 根据权利要求15所述的装置,其中,所述第一调整子单元,还配置为:The device according to claim 15, wherein the first adjusting subunit is further configured to:
    确定所述初始棋力等级和所述对弈棋力等级之间的差值;基于所述对弈结果和所述差值,对所述初始棋力等级进行调整,得到所述目标棋力等级。Determine the difference between the initial chess skill level and the game chess skill level; based on the game result and the difference, adjust the initial chess skill level to obtain the target chess skill level.
  17. 根据权利要求16所述的装置,其中,所述第一调整子单元,还配置为:在所述对弈结果为所述对弈者胜或对弈平局的情况下,基于所述差值,增大所述初始棋力等级,得到所述目标棋力等级;或,在所述对弈结果为所述智能棋手胜的情况下,基于所述差值,降低所述初始棋力等级,得到所述 目标棋力等级。The device according to claim 16, wherein the first adjustment subunit is further configured to: increase the The initial chess power level to obtain the target chess power level; or, in the case that the intelligent chess player wins as a result of the game, based on the difference, reduce the initial chess power level to obtain the target chess power level.
  18. 根据权利要求10至17任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 10 to 17, wherein the device further comprises:
    第一检测模块,配置为在所述待调整棋局的下一棋局中,检测所述下一棋局的对弈者是否为所述待调整棋局中的对弈者;The first detection module is configured to, in the next game of the game to be adjusted, detect whether the player in the next game is the player in the game to be adjusted;
    第五确定模块,配置为响应于所述下一棋局中的对弈者为所述待调整棋局中的对弈者,将所述目标棋力等级作为所述下一棋局的初始棋力等级。The fifth determination module is configured to use the target chess power level as the initial chess power level of the next chess game in response to the player in the next game being the player in the game to be adjusted.
  19. 一种计算机存储介质,其中,所述计算机存储介质上存储有计算机可执行指令,该计算机可执行指令被执行后,能够实现权利要求1至9任一项所述的棋力调整方法。A computer storage medium, wherein computer executable instructions are stored on the computer storage medium, and after the computer executable instructions are executed, the method for adjusting chess power according to any one of claims 1 to 9 can be realized.
  20. 一种电子设备,其中,所述电子设备包括存储器和处理器,所述存储器上存储有计算机可执行指令,所述处理器运行所述存储器上的计算机可执行指令时能够实现权利要求1至9任一项所述的棋力调整方法。An electronic device, wherein the electronic device includes a memory and a processor, the memory stores computer-executable instructions, and the processor can implement claims 1 to 9 when running the computer-executable instructions on the memory The chess power adjustment method described in any one.
  21. 一种计算机程序,所述计算机程序包括计算机可读代码,在所述计算机可读代码在电子设备中运行的情况下,所述电子设备的处理器执行用于实现如权利要求1至9中任意一项所述的棋力调整方法。A computer program, the computer program comprising computer readable code, in the case of the computer readable code running in an electronic device, the processor of the electronic device executes to implement any of the claims 1 to 9 A method for adjusting chess strength.
PCT/CN2021/123480 2021-06-30 2021-10-13 Chess power adjustment method and apparatus, device, storage medium, and program WO2023273009A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020247003392A KR20240024275A (en) 2021-06-30 2021-10-13 Energy adjustment methods, devices, devices, storage media and programs

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110733601.3A CN113426094A (en) 2021-06-30 2021-06-30 Chess force adjusting method, device, equipment and storage medium
CN202110733601.3 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023273009A1 true WO2023273009A1 (en) 2023-01-05

Family

ID=77758007

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123480 WO2023273009A1 (en) 2021-06-30 2021-10-13 Chess power adjustment method and apparatus, device, storage medium, and program

Country Status (3)

Country Link
KR (1) KR20240024275A (en)
CN (1) CN113426094A (en)
WO (1) WO2023273009A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113426094A (en) * 2021-06-30 2021-09-24 北京市商汤科技开发有限公司 Chess force adjusting method, device, equipment and storage medium
CN113935618B (en) * 2021-10-12 2022-08-05 网易有道信息技术(江苏)有限公司 Evaluation method and device for chess playing capability, electronic equipment and storage medium
CN113946604B (en) * 2021-10-26 2023-01-20 网易有道信息技术(江苏)有限公司 Staged go teaching method and device, electronic equipment and storage medium
CN114462606A (en) * 2022-01-29 2022-05-10 北京市商汤科技开发有限公司 Man-machine chess-playing method and device, equipment and storage medium
CN114546116A (en) * 2022-02-21 2022-05-27 北京市商汤科技开发有限公司 Man-machine chess playing method and device, electronic equipment and storage medium
CN115025488B (en) * 2022-08-08 2022-11-18 科大讯飞(苏州)科技有限公司 Method of playing chess, device of playing chess, display device and storage device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200517864A (en) * 2003-11-28 2005-06-01 Sohare Information Co Ltd Method of playing chess with an artificial intelligent device
CN106422295A (en) * 2016-09-27 2017-02-22 珠海格力智能装备有限公司 Chess-playing difficulty grade processing method and device and robot
US20200238176A1 (en) * 2019-01-24 2020-07-30 Netmarble Corporation Method and apparatus for recommending game play strategy
CN111667043A (en) * 2020-05-20 2020-09-15 季华实验室 Chess game playing method, system, terminal and storage medium
CN113426094A (en) * 2021-06-30 2021-09-24 北京市商汤科技开发有限公司 Chess force adjusting method, device, equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101592212B1 (en) * 2014-07-17 2016-02-05 주식회사 코어라인소프트 Method and apparatus of learning baduk using baduk record
CN105082144B (en) * 2015-08-05 2017-01-04 马平 Chess playing robot
CN107661622A (en) * 2017-09-18 2018-02-06 北京深度奇点科技有限公司 It is a kind of to generate method of the quintet game to office data
CN109045676B (en) * 2018-07-23 2020-04-10 西安交通大学 Chinese chess recognition learning algorithm and robot intelligent system and method based on algorithm
CN109800647A (en) * 2018-12-18 2019-05-24 陈韬文 A kind of chess manual automatic generation method, system, device and storage medium
CN109621390B (en) * 2019-01-25 2024-03-26 福建商学院 Go chess pieces capable of automatically counting steps and step counting method of go chess board
CN110038303A (en) * 2019-03-14 2019-07-23 北京达佳互联信息技术有限公司 AI object matching method, system and electronic equipment and storage medium
CN111475771B (en) * 2020-04-13 2023-05-12 腾讯科技(深圳)有限公司 Chessboard information processing method, device, equipment and medium based on artificial intelligence
CN112016704B (en) * 2020-10-30 2021-02-26 超参数科技(深圳)有限公司 AI model training method, model using method, computer device and storage medium
CN112274935B (en) * 2020-11-20 2024-01-23 超参数科技(深圳)有限公司 AI model training method, application method computer device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200517864A (en) * 2003-11-28 2005-06-01 Sohare Information Co Ltd Method of playing chess with an artificial intelligent device
CN106422295A (en) * 2016-09-27 2017-02-22 珠海格力智能装备有限公司 Chess-playing difficulty grade processing method and device and robot
US20200238176A1 (en) * 2019-01-24 2020-07-30 Netmarble Corporation Method and apparatus for recommending game play strategy
CN111667043A (en) * 2020-05-20 2020-09-15 季华实验室 Chess game playing method, system, terminal and storage medium
CN113426094A (en) * 2021-06-30 2021-09-24 北京市商汤科技开发有限公司 Chess force adjusting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113426094A (en) 2021-09-24
KR20240024275A (en) 2024-02-23

Similar Documents

Publication Publication Date Title
WO2023273009A1 (en) Chess power adjustment method and apparatus, device, storage medium, and program
US11439918B2 (en) Player to spectator handoff and other spectator controls
JP7184913B2 (en) Creating Winner Tournaments with Fandom Influence
JP7438959B2 (en) Online tournament integration
US8662974B2 (en) Baseball videogame having pitching meter, hero mode and user customization features
US11117058B2 (en) System and method for dynamically valuating players during a fantasy draft
US8500532B2 (en) Machine-implemented method of handling hand tiles/cards of a virtual player during a tile/card game and gaming apparatus
TW201732539A (en) Apparatus and method for player matching, computer readable medium and computer program product
KR20060043334A (en) Method for online game matchmaking using play style information
JP6260785B2 (en) GAME SYSTEM, CONTROL METHOD AND COMPUTER PROGRAM USED FOR THE SAME
CN108905095B (en) Athlete competition state evaluation method and equipment
JP2018175004A (en) Terminal device, server device, program, and method
JP6587817B2 (en) Game system
US20110256909A1 (en) System and method for automated fantasy drafting
US20110256926A1 (en) System and method for valuating a player in a fantasy draft based on user-defined league rules
US8951107B2 (en) System and method for non-sequential automated fantasy drafting
US20210327297A1 (en) Systems and methods to improve brushing behavior
US20230381674A1 (en) Triggering virtual help or hindrance based on audience participation tiers
US20160279517A1 (en) Image identification game
JP2010284473A (en) Game player evaluation system
JP7336684B2 (en) Game system and equipment
JP2021164524A (en) Environment providing device, environment providing method, and environment providing program
TWI610710B (en) Method for randomly generating a bingo disk based on the value of the ballot contest
WO2023218437A1 (en) System and method for efficient matching of players in virtual games
JP2024057991A (en) Information processing program, information processing method, and information processing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21947936

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023580725

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20247003392

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020247003392

Country of ref document: KR

NENP Non-entry into the national phase

Ref country code: DE