The invention discloses a game scene message processing method, a mobile terminal and a readable storage medium. The game scene message processing method comprises the following steps: detecting whether the mobile terminal contains a game program in the current running program, determining that the mobile terminal is in the game scene if the game program is included; detecting the performance parameters of the mobile terminal when the mobile terminal is in the game scene according to the performance parameters; To determine the priority of the mobile terminal's current game, the priority is high; if the priority of the mobile terminal's current game scene is high, the message alert mode is switched to the preset game mode. By detecting the parameters of the mobile terminal in the game scene, the method can judge the priority of the game state of the mobile terminal, and automatically turn on the game mode when the game is of high priority, and shield the phenomenon that the information reminder may cause the game terminal. Thus improving user experience.
【技术实现步骤摘要】
游戏场景消息处理方法、移动终端以及可读存储介质
本专利技术涉及移动终端领域,尤其涉及一种游戏场景消息处理方法、移动终端以及可读存储介质。
技术介绍
随着移动终端的硬件性能与软件开发程度的不断提高,玩游戏已经成为移动终端最常见的使用目的之一。而很多游戏拥有优美的画面表现,精彩的游戏内容,使得用户在使用移动终端玩游戏时也能获取到不低于使用电脑等游戏终端玩游戏的游戏体验。但是由于移动终端的功能多样性,使得用户在玩游戏的过程中经常遭遇到信息提醒等事件,导致游戏过程被中断。这样使得用户在游戏过程中无法获取到最佳的游戏体验,虽然有部分移动终端具有对应的游戏模式,但是往往需要用户手动开启,所以还是需要用户进行额外的操作,降低了用户的使用体验。
技术实现思路
本专利技术的主要目的在于提供一种游戏场景消息处理方法,旨在解决用户进行游戏时,移动终端的信息提醒等事件打断游戏导致用户游戏体验下降的问题。为实现上述目的,本专利技术提供一种游戏场景消息处理方法,所述游戏场景消息处理方法包括以下步骤:检测到移动终端当前运行程序中是否包含有游戏程序,若包含有游戏程序,则判定移动终端处于游戏场景;当判定移动终端处于游戏场景时,检测移动终端的性能参数,根据性能参数判断移动终端当前游戏的优先级,所述优先级为高优先级;若判定移动终端当前游戏场景的优先级为高,则将消息提醒模式切换为预设的游戏模式。可选地,所述检测到移动终端当前运行程序中是否包含有游戏程序的步骤包括:将移动终端当前运行程序与预设游戏程序列表进行比对,若运行的程序为预设游戏程序列表中的程序,则判定所述程序为游戏程序。可选地,所述检测移动终 ...
【技术保护点】
1.一种游戏场景消息处理方法方法,其特征在于,所述游戏场景消息处理方法包括以下步骤:检测到移动终端当前运行程序中是否包含有游戏程序,若包含有游戏程序,则判定移动终端处于游戏场景;当判定移动终端处于游戏场景时,检测移动终端的性能参数,根据性能参数判断移动终端当前游戏的优先级,所述优先级为高优先级;若判定移动终端当前游戏场景的优先级为高,则将消息提醒模式切换为预设的游戏模式。
【技术特征摘要】
1.一种游戏场景消息处理方法方法,其特征在于,所述游戏场景消息处理方法包括以下步骤:检测到移动终端当前运行程序中是否包含有游戏程序,若包含有游戏程序,则判定移动终端处于游戏场景;当判定移动终端处于游戏场景时,检测移动终端的性能参数,根据性能参数判断移动终端当前游戏的优先级,所述优先级为高优先级;若判定移动终端当前游戏场景的优先级为高,则将消息提醒模式切换为预设的游戏模式。2.如权利要求1所述的游戏场景消息处理方法,其特征在于,所述检测到移动终端当前运行程序中是否包含有游戏程序的步骤包括:将移动终端当前运行程序与预设游戏程序列表进行比对,若运行的程序为预设游戏程序列表中的程序,则判定所述程序为游戏程序。3.如权利要求1所述的游戏场景消息处理方法,其特征在于,所述检测移动终端的性能参数,根据性能参数判断移动终端当前游戏的优先级的步骤包括:检测移动终端的GPU使用率,若检测到移动终端的GPU使用率大于预设GPU使用阈值,则判定当前的游戏处于高优先级。4.如权利要求3所述的游戏场景消息处理方法,其特征在于,所述检测移动终端的GPU使用率的步骤之后包括:若检测到移动终端的GPU使用率小于或等于预设GPU使用阈值时,则检测移动终端的CPU使用率;若检测到移动终端的CPU使用率大于预设CPU使用阈值,则判定当前的游戏处于高优先级。5.如权利要求4所述的游戏场景消息处理方法,其特征在于,所述检测移动终端的CPU使用率的步骤之后还包括:若检测到移动终端的CPU使用率小于或等于预设CP...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。