WO2018024175A1 - Key processing method in interactive application, terminal, and server - Google Patents

Key processing method in interactive application, terminal, and server Download PDF

Info

Publication number
WO2018024175A1
WO2018024175A1 PCT/CN2017/095256 CN2017095256W WO2018024175A1 WO 2018024175 A1 WO2018024175 A1 WO 2018024175A1 CN 2017095256 W CN2017095256 W CN 2017095256W WO 2018024175 A1 WO2018024175 A1 WO 2018024175A1
Authority
WO
WIPO (PCT)
Prior art keywords
additional
button
server
terminal
additional button
Prior art date
Application number
PCT/CN2017/095256
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 腾讯科技(深圳)有限公司
Publication of WO2018024175A1 publication Critical patent/WO2018024175A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

A key processing method in an interactive application, a terminal, and a server, by which an additional behavior can be conveniently executed without continuous occupation of an operation region on a terminal screen. The method comprises: a terminal detects whether a triggering event on a basic key occurs on an interactive interface of an interactive application (101); when it is detected that the basic key is triggered, the terminal executes a basic behavior corresponding to the basic key on the interactive interface, and sends a basic behavior completion message to a server (102); the terminal receives an additional key activation instruction sent by the server, and loads an additional key on an interactive interface according to the additional key activation instruction, the additional key being bound to the basic key and being added to the interactive interface after the basic behavior is executed (103); and when a predictive event is detected, hide the additional key loaded on the interactive interface (104).

Description

交互式应用中的按键处理方法、终端以及服务器Key processing method, terminal and server in interactive application
本申请要求于2016年8月4日提交中国专利局,申请号为201610633109.8,发明名称为“一种交互式应用中的按键处理方法和终端以及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610633109.8, filed on August 4, 2016, entitled "A Button Processing Method and Terminal and Server in Interactive Application", the entire contents of which is incorporated herein by reference. This is incorporated herein by reference.
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种交互式应用中的按键处理方法、终端以及服务器。The present invention relates to the field of computer technologies, and in particular, to a button processing method, a terminal, and a server in an interactive application.
背景技术Background technique
当前绝大部分的终端游戏都可以使用三到四个技能按键,在移动终端的屏幕右下角位置进行按键布局,但是这种基础的布局方式难以支持更多的技能释放和技能策略组合。At present, most of the terminal games can use three to four skill buttons to perform button layout in the lower right corner of the screen of the mobile terminal, but this basic layout method is difficult to support more skill release and skill strategy combinations.
为解决移动终端的屏幕上布局按键数量较少的情况,市面上还有一些终端游戏在移动终端的屏幕右下角位置采用旋转式切页的方式,通过旋转多个页面的方式来实现多技能多策略。例如征途手游版,采用了技能分页,旋转分页切换技能能够实现多技能多策略。然而其复杂的操作方式,导致玩家最终只使用一到三个技能,其余技能形同虚设,并未实现其多技能多策略的设计目标。现有的旋转式切页的操作方式对于用户而言非常的不便捷,在用户需要进行策略选择时,来回的切换分页会影响用户选择技能和策略的快捷性。In order to solve the problem that the number of layout buttons on the screen of the mobile terminal is small, there are some terminal games on the market that use the rotary page cutting method in the lower right corner of the screen of the mobile terminal to realize multi-skills by rotating multiple pages. Strategy. For example, the Journey Mobile version uses skill paging and rotates paging switching skills to achieve multi-skill and multi-strategy. However, its complicated operation mode causes the player to use only one or three skills in the end. The rest of the skills are ineffective and do not achieve the design goal of multi-skill and multi-strategy. The existing rotary page cutting operation mode is very inconvenient for the user. When the user needs to make a policy selection, switching the page back and forth will affect the user's skill and strategy shortcut.
发明内容Summary of the invention
本发明实施例提供了一种交互式应用中的按键处理方法、终端以及服务器,通过附加按键的加载与隐藏,既可以便捷的实现附加行为的执行,也不会对终端屏幕操作区域构成持续占用。The embodiment of the invention provides a button processing method, a terminal and a server in an interactive application. By loading and hiding the additional keys, the execution of the additional behavior can be conveniently implemented, and the terminal screen operation area is not continuously occupied. .
为解决上述技术问题,本发明实施例提供以下技术方案:To solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
第一方面,本发明实施例提供一种交互式应用中的按键处理方法,包 括:In a first aspect, an embodiment of the present invention provides a button processing method in an interactive application, where include:
终端检测交互式应用的交互界面上是否产生对基础按键的触发事件;The terminal detects whether a trigger event for the basic button is generated on the interactive interface of the interactive application;
当检测到所述基础按键被触发时,所述终端在所述交互界面上执行所述基础按键对应的基础行为,并向服务器发送基础行为完成消息;When detecting that the basic button is triggered, the terminal performs a basic behavior corresponding to the basic button on the interaction interface, and sends a basic behavior completion message to the server;
所述终端接收所述服务器发送的附加按键激活指令,并根据所述附加按键激活指令在所述交互界面上加载附加按键,其中,所述附加按键与所述基础按键绑定、且所述附加按键在所述基础行为被执行后添加在所述交互界面上;以及Receiving, by the terminal, an additional button activation command sent by the server, and loading an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button, and the additional a button is added to the interactive interface after the base behavior is performed;
当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。The additional button loaded on the interactive interface is hidden when the first event is detected.
第二方面,本发明实施例还提供一种交互式应用中的按键处理方法,包括:In a second aspect, an embodiment of the present invention further provides a button processing method in an interactive application, including:
服务器接收终端执行完成基础行为之后发送的基础行为完成消息;The server receives the basic behavior completion message sent after the terminal performs the completion of the basic behavior;
所述服务器从所述基础行为完成消息中获取到被触发的基础按键,并根据所述基础按键获取与所述基础按键绑定的附加按键;以及Obtaining, by the server, the triggered basic key from the basic behavior completion message, and acquiring an additional key bound to the basic key according to the basic key; and
所述服务器根据所获取的附加按键向所述终端发送附加按键激活指令,以使所述终端在交互式应用的交互界面上加载所述附加按键。The server sends an additional key activation command to the terminal according to the acquired additional key, so that the terminal loads the additional key on the interactive interface of the interactive application.
第三方面,本发明实施例还提供一种终端,包括:In a third aspect, the embodiment of the present invention further provides a terminal, including:
事件检测模块,用于检测交互式应用的交互界面上是否产生对基础按键的触发事件;An event detecting module, configured to detect whether a trigger event of the basic button is generated on the interactive interface of the interactive application;
基础处理模块,用于当检测到所述基础按键被触发时,在所述交互界面上执行所述基础按键对应的基础行为,并向服务器发送基础行为完成消息;a basic processing module, configured to execute a basic behavior corresponding to the basic button on the interaction interface when detecting that the basic button is triggered, and send a basic behavior completion message to the server;
附加按键加载模块,用于接收所述服务器发送的附加按键激活指令,并根据所述附加按键激活指令在所述交互界面上加载附加按键,其中,所述附加按键与所述基础按键绑定、且所述附加按键在所述基础行为被执行后添加在所述交互界面上;以及An additional button loading module, configured to receive an additional button activation command sent by the server, and load an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button, And the additional button is added to the interaction interface after the base behavior is performed;
附加处理模块,用于当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。An additional processing module is configured to hide the additional button loaded on the interaction interface when the first event is detected.
第四方面,本发明实施例还提供一种服务器,包括: In a fourth aspect, the embodiment of the present invention further provides a server, including:
接收模块,用于接收终端执行完成基础行为之后发送的基础行为完成消息;a receiving module, configured to receive a basic behavior completion message sent by the terminal after performing the basic behavior;
按键获取模块,用于从所述基础行为完成消息中获取到被触发的基础按键,并根据所述基础按键获取与所述基础按键绑定的附加按键;以及a button obtaining module, configured to acquire a triggered basic button from the basic behavior completion message, and acquire an additional button bound to the basic button according to the basic button;
发送模块,用于根据所获取的附加按键向所述终端发送附加按键激活指令,以使所述终端在交互式应用的交互界面上加载所述附加按键。And a sending module, configured to send an additional key activation instruction to the terminal according to the acquired additional key, so that the terminal loads the additional key on an interactive interface of the interactive application.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
在本发明实施例中,终端在检测到基础按键被触发时,在交互界面上执行基础按键对应的基础行为,根据服务器发送的附加按键激活指令在交互界面上加载附加按键,该附加按键与基础按键绑定、且附加按键在基础行为被执行后添加在交互界面上。由于附加按键只有在基础行为执行之后才会加载到交互界面上,因此附加按键不会对交互界面进行长期持续占用,减少交互界面中按键过多时导致的用户操作不方便。当交互界面中加载附加按键之后,当检测到某第一事件时,将交互界面上加载的附加按键隐藏。因此本发明实施例中附加按键可以实现按需加载,并在第一事件之后隐藏掉附加按键,从而减少对交互界面的长期持续占用,使交互界面上的按键布局更简洁,便于用户的操作行为。In the embodiment of the present invention, when detecting that the basic button is triggered, the terminal performs the basic behavior corresponding to the basic button on the interaction interface, and loads the additional button on the interaction interface according to the additional button activation instruction sent by the server, the additional button and the basis. Key bindings, and additional keys are added to the interactive interface after the underlying behavior is executed. Since the additional keys are only loaded into the interactive interface after the basic behavior is executed, the additional keys do not continuously occupy the interactive interface for a long time, and the user operation caused by too many keys in the interactive interface is inconvenient. After the additional key is loaded in the interactive interface, when a certain first event is detected, the additional keys loaded on the interactive interface are hidden. Therefore, in the embodiment of the present invention, the additional button can be loaded on demand, and the additional button is hidden after the first event, thereby reducing the long-term continuous occupation of the interactive interface, making the button layout on the interactive interface more concise, and facilitating the user's operation behavior. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those skilled in the art from the drawings.
图1为本发明实施例提供的一种交互式应用中的按键处理方法的流程方框示意图;1 is a schematic block diagram of a method for processing a button in an interactive application according to an embodiment of the present invention;
图2a为本发明实施例提供的一种基础按键在交互界面上的显示示意图;2a is a schematic diagram showing display of a basic button on an interactive interface according to an embodiment of the present invention;
图2b为本发明实施例提供的一种附加按键在交互界面上的显示示意图;2b is a schematic diagram of display of an additional button on an interactive interface according to an embodiment of the present invention;
图2c为本发明实施例提供的另一种附加按键在交互界面上的显示示意图; 2c is a schematic diagram showing another display of an additional button on an interactive interface according to an embodiment of the present invention;
图2d为本发明实施例提供的一种附加按键在交互界面上的显示时的操作场景示意图;FIG. 2 is a schematic diagram of an operation scenario when an additional button is displayed on an interactive interface according to an embodiment of the present disclosure;
图3为本发明实施例提供的另一种交互式应用中的按键处理方法的流程方框示意图;3 is a schematic block diagram of a method for processing a button in another interactive application according to an embodiment of the present invention;
图4为本发明实施例提供的QTE按键触发和释放过程示意图;4 is a schematic diagram of a triggering and releasing process of a QTE button according to an embodiment of the present invention;
图5为本发明实施例提供的QTE按键的判断过程示意图;FIG. 5 is a schematic diagram of a process of determining a QTE button according to an embodiment of the present invention;
图6a为本发明实施例提供的一种终端的组成结构示意图;FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图6b为本发明实施例提供的一种终端的组成结构示意图;6b is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图7a为本发明实施例提供的一种服务器的组成结构示意图;FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure;
图7b为本发明实施例提供的另一种服务器的组成结构示意图;FIG. 7b is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图7c为本发明实施例提供的另一种服务器的组成结构示意图;FIG. 7c is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图7d为本发明实施例提供的另一种服务器的组成结构示意图;FIG. 7 is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图7e为本发明实施例提供的另一种服务器的组成结构示意图;FIG. 7e is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图8为本发明实施例提供的交互式应用中的按键处理方法应用于终端的组成结构示意图;FIG. 8 is a schematic structural diagram of a component processing method applied to a terminal in an interactive application according to an embodiment of the present disclosure;
图9为本发明实施例提供的交互式应用中的按键处理方法应用于服务器的组成结构示意图。FIG. 9 is a schematic structural diagram of a component processing method applied to a server in an interactive application according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种交互式应用中的按键处理方法和终端以及服务器,通过附加按键的加载与隐藏,既可以便捷的实现附加行为的执行,也不会对终端屏幕操作区域构成持续占用。The embodiment of the invention provides a button processing method, a terminal and a server in an interactive application, which can realize the execution of additional behaviors conveniently and not continuously occupy the operation area of the terminal screen by loading and hiding the additional keys. .
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域的技术人员所获得的所有其他实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、 方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion in order to include a The methods, systems, products, or devices are not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to such processes, methods, products, or devices.
在本发明实施例提供的交互式应用中的按键处理方法中,基础按键与附加按键绑定,基础按键可以在交互式应用的交互界面中以常态方式显示,附加按键并不是在交互界面中长期持续占用,而是基础行为在执行之后被激活,从而用户可以触发该附加按键,该附加按键对应的附加行为可以被执行,附加行为完成之后附加按键可以从交互界面上隐藏起来,从而减少交互界面中的按键数量,提供更简洁的操作界面给用户,便于用户的操作触发。本发明实施例中附加按键的激活需要由终端向服务器请求,服务器拥有附加按键的触发权限,本发明实施例中通过终端与服务器之间的交互处理,可以实现在交互式应用的交互界面中对附加按键的便捷操作。In the key processing method in the interactive application provided by the embodiment of the present invention, the basic key is bound to the additional key, and the basic key can be displayed in a normal manner in the interactive interface of the interactive application, and the additional key is not long in the interactive interface. Continuously occupying, but the basic behavior is activated after execution, so that the user can trigger the additional button, and the additional behavior corresponding to the additional button can be executed, and the additional button can be hidden from the interaction interface after the additional behavior is completed, thereby reducing the interaction interface. The number of buttons in the middle provides a more compact operation interface to the user, which is convenient for the user to trigger. In the embodiment of the present invention, the activation of the additional button needs to be requested by the terminal to the server, and the server has the triggering permission of the additional button. In the embodiment of the present invention, the interaction between the terminal and the server can be implemented in the interactive interface of the interactive application. Convenient operation of additional buttons.
以下分别从终端和服务器的角度分别进行详细说明。首先从终端侧对本发明实施例提供的交互式应用中的按键处理方法进行说明,该方法具体可以应用于交互式应用的交互界面操作中,例如该交互式应用可以是游戏应用程序,或者需要用户操作的办公应用程序,或者数值交易应用程序等。请参阅图1所示,本发明一个实施例提供的交互式应用中的按键处理方法,可以包括如下步骤:The following is a detailed description from the perspective of the terminal and the server, respectively. The key processing method in the interactive application provided by the embodiment of the present invention is first described from the terminal side. The method may be specifically applied to the interactive interface operation of the interactive application, for example, the interactive application may be a game application, or requires a user. Operating office applications, or numerical trading applications, etc. Referring to FIG. 1 , a key processing method in an interactive application provided by an embodiment of the present invention may include the following steps:
101、终端检测交互式应用的交互界面上是否产生对基础按键的触发事件。101. The terminal detects whether a trigger event for the basic button is generated on the interaction interface of the interactive application.
在本发明实施例中,终端中可以按照有操作系统,在操作系统中可以加载交互式应用,该交互式应用具有交互界面,用户可以通过交互界面向交互式应用下发操作指令,终端可以响应用户的操作指令。例如终端的显示屏幕上可以加载交互式应用的交互界面,在交互界面上可以显示至少一个基础按键,每个基础按键可以用于执行一项基础行为。基础按键作为交互式应用的交互界面中的常态按键显示在交互界面中,例如以交互式应用具体为游戏应用程序为例,基础按键可以是承载非策略技能的图标按钮,非策略技能指的是无额外效果的纯伤害技能。本发明实施例中终端需要检查交互界面上是否有用户对基础按键的操作行为,例如用户点击交互界面上的基础按键时,终端可以检测到交互界面上的触发事件,若用户没有操作基础按键,则触发事 件无法生成。In the embodiment of the present invention, an interactive application can be loaded in the operating system according to the operating system. The interactive application has an interactive interface, and the user can send an operation instruction to the interactive application through the interactive interface, and the terminal can respond. User's operating instructions. For example, the interactive display interface of the terminal can be loaded on the display screen of the terminal, and at least one basic button can be displayed on the interactive interface, and each of the basic keys can be used to perform a basic behavior. The basic button is displayed in the interactive interface as a normal button in the interactive interface. For example, the interactive application is specifically a game application. The basic button can be an icon button carrying non-strategic skills, and the non-strategic skill refers to Pure damage skill without extra effects. In the embodiment of the present invention, the terminal needs to check whether the user operates the basic button on the interaction interface. For example, when the user clicks the basic button on the interaction interface, the terminal can detect the trigger event on the interaction interface. If the user does not operate the basic button, Trigger The piece could not be generated.
102、当检测到基础按键被触发时,终端在交互界面上执行基础按键对应的基础行为,并向服务器发送基础行为完成消息。102. When detecting that the basic button is triggered, the terminal performs a basic behavior corresponding to the basic button on the interaction interface, and sends a basic behavior completion message to the server.
在本发明实施例中,通过步骤101中的检测,当基础按键被触发时,终端检测到了基础按键的触发事件,则终端先获取到基础按键的按键标识,然后获取该按键标识绑定的基础行为,终端在交互界面上执行该基础行为。终端执行什么样的基础行为可以由用户触发什么样的基础按键来决定。例如用户点击了指示非策略技能的基础按键,则终端需要释放该非策略技能。本发明实施例中终端执行基础行为之后,终端通过该终端与服务器之间的通信连接发送基础行为完成消息,即终端告知服务器基础按键已经响应完成,本发明实施例中服务器是控制附加按键触发的功能主体,服务器根据终端上报的基础行为完成消息来确定是否发送附加按键激活指令。In the embodiment of the present invention, the detection in step 101, when the basic button is triggered, the terminal detects the trigger event of the basic button, the terminal first obtains the button identifier of the base button, and then acquires the basis of the button identifier binding. Behavior, the terminal performs the underlying behavior on the interactive interface. What kind of basic behavior the terminal performs can be determined by what kind of basic button the user triggers. For example, if the user clicks on the basic button indicating the non-strategy skill, the terminal needs to release the non-strategy skill. After the terminal performs the basic behavior in the embodiment of the present invention, the terminal sends a basic behavior completion message through the communication connection between the terminal and the server, that is, the terminal informs the server that the basic button has been responded to, and the server controls the additional button triggering in the embodiment of the present invention. The function body, the server determines whether to send an additional button activation command according to the basic behavior completion message reported by the terminal.
103、终端接收服务器发送的附加按键激活指令,并根据附加按键激活指令在交互界面上加载附加按键,其中,附加按键与基础按键绑定、且附加按键在基础行为被执行后添加在交互界面上。103. The terminal receives an additional button activation command sent by the server, and loads an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button, and the additional button is added to the interaction interface after the basic behavior is executed. .
在本发明实施例中,附加按键在交互界面上的显示加载是由基础按键的触发来完成,若终端没有检测到基础按键的触发事件,则附加按键不能够在交互界面上加载,附加按键处于隐藏状态。其中附加按键在交互界面上并不是常态显示的,而是可以根据需要来加载。例如,以交互式应用具体为游戏应用程序为例,附加按键可以是玩法技能的图标按钮,或者是策略技能的图标按钮。玩法性技能指的是每个职业的特色技能,比如战士加防御强化,以血换血,刺客的隐身等。策略性技能指的是通用的特色技能;比如角色的位移、对其他角色施展控制效果等技能。在本发明的一些实施例中,附加按键,包括:快速反应事件(英文全称:Quick Timer Events,英文简称:QTE)按键。本发明实施例中采用的附加按键可以是QTE按键,则该QTE按键与基础按键绑定,并且在交互界面上可以显示与隐藏,从而满足按需加载QTE按键,这与目前常用的QTE具有很大的区别。In the embodiment of the present invention, the display loading of the additional button on the interactive interface is completed by the triggering of the basic button. If the terminal does not detect the trigger event of the basic button, the additional button cannot be loaded on the interactive interface, and the additional button is in the Hidden state. The additional keys are not normally displayed on the interactive interface, but can be loaded as needed. For example, in the case where the interactive application is specifically a game application, the additional button may be an icon button of a game skill or an icon button of a strategy skill. Gameplay skills refer to the unique skills of each profession, such as warrior plus defense enhancement, blood transfusion, assassin's stealth and so on. Strategic skills refer to common and characteristic skills; such as the displacement of characters, the ability to exert control effects on other characters. In some embodiments of the present invention, the additional buttons include: Quick Response Events (English name: Quick Message Events, English abbreviation: QTE) button. The additional button used in the embodiment of the present invention may be a QTE button, and the QTE button is bound to the base button, and can be displayed and hidden on the interaction interface, thereby satisfying the on-demand loading of the QTE button, which is very similar to the currently used QTE. Big difference.
目前的很多游戏中都使用QTE,通常游戏通过使用QTE来实现如下目的:1)推动情节发展,2)增强打击感受,3)关卡人机互动,4)组合键位操作。 在目前的游戏场景中使用QTE主要是为了考验玩家即时反应的能力。在实际游戏过程中,玩家要对出现的按键提示迅速做出反应,输入与提示相符合的信息,以完成这类人机交互行为。而本发明实施例中使用的QTE按键与已有的游戏中QTE不同,并不是考验玩家的反映速度,而是需要与基础按键绑定,在基础行为被执行后在交互界面上显示。QTE is used in many games at present. Usually, the game uses QTE to achieve the following objectives: 1) promoting plot development, 2) enhancing combat feelings, 3) level human-computer interaction, and 4) combination key operation. The use of QTE in current game scenarios is primarily intended to test the player's ability to react instantly. In the actual game process, the player should quickly respond to the prompts that appear, and input information that matches the prompts to complete such human-computer interaction. The QTE button used in the embodiment of the present invention is different from the existing QTE in the game, and does not test the player's reflection speed, but needs to be bound to the basic button, and is displayed on the interaction interface after the basic behavior is executed.
本发明实施例中,附加按键与基础按键绑定,即通过被触发的基础按键可以确定需要加载哪个或者哪些附加按键。举例说明,一个基础按键可以绑定一个附加按键,也可以绑定两个或两个以上的附加按键等。本发明实施例中,若终端接收到服务器发送的附加按键激活指令,终端可以根据附加按键激活指令在交互界面上加载附加按键,例如终端在交互界面上可以触发式弹出该附加按键。如图2a所示,为本发明实施例提供的一种基础按键在交互界面上的显示示意图,基础按键可以摆放在交互界面的右下角,基础按键可以采用1+4个按键布局的方式,即图2a中,共有5个基础按键,分别为按键A、按键B、按键C、按键D和按键E。如图2b所示,为本发明实施例提供的一种附加按键在交互界面上的显示示意图。按键A绑定有附加按键A1,按键B绑定有附加按键B1,按键C绑定有附加按键C1,按键D绑定有附加按键D1,按键E绑定有附加按键E1。图2b中以按键D和按键E作为基础按键被触发时加载附加按键的显示过程,图2b中附加按键以虚线圆圈来表示,则附加按键在交互界面上可以显示在绑定的基础按键的上方或者侧方。参照图2b,可以看出当按键D和按键E作为基础按键被触发时在交互界面上对应地显示出附加按键D1和附加按键E1。In the embodiment of the present invention, the additional key is bound to the basic key, that is, the triggered basic key can determine which one or more additional keys need to be loaded. For example, a basic button can be bound to an additional button, or two or more additional buttons can be bound. In the embodiment of the present invention, if the terminal receives the additional button activation command sent by the server, the terminal may load the additional button on the interaction interface according to the additional button activation command. For example, the terminal may trigger the additional button on the interaction interface. As shown in FIG. 2a, a schematic diagram of a basic button displayed on an interactive interface is provided. The basic button can be placed in the lower right corner of the interactive interface, and the basic button can be arranged in a 1+4 button layout. That is, in Figure 2a, there are five basic buttons, which are button A, button B, button C, button D, and button E. As shown in FIG. 2b, a display diagram of an additional button on an interactive interface according to an embodiment of the present invention is shown. The button A is bound with an additional button A1, the button B is bound with an additional button B1, the button C is bound with an additional button C1, the button D is bound with an additional button D1, and the button E is bound with an additional button E1. In Figure 2b, the display process of loading the additional button when the button D and the button E are triggered as the base button is triggered. The additional button in Fig. 2b is represented by a dotted circle, and the additional button can be displayed on the interactive interface above the bound basic button. Or sideways. Referring to FIG. 2b, it can be seen that when the button D and the button E are triggered as the base button, the additional button D1 and the additional button E1 are correspondingly displayed on the interactive interface.
104、当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。104. When the first event is detected, the additional button loaded on the interaction interface is hidden.
在本发明的一些实施例中,第一事件可以为在所述交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断附加按键生存时间是否大于等于生存时间阈值。在这种情况下,本发明实施例提供的交互式应用的按键处理方法,还可以包括如下步骤:In some embodiments of the present invention, the first event may be to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine whether the additional button lifetime is greater than or equal to the survival time threshold. In this case, the key processing method of the interactive application provided by the embodiment of the present invention may further include the following steps:
A1、若附加按键生存时间大于或等于生存时间阈值,终端将交互界面上加载的附加按键隐藏,并停止检测附加按键的触发事件。A1. If the additional button survival time is greater than or equal to the survival time threshold, the terminal hides the additional button loaded on the interaction interface, and stops detecting the trigger event of the additional button.
在本发明的一些实施例中,第一事件可以为在交互界面上加载附加按键 时,启动对附加按键生存时间的计时,并判断附加按键生存时间是否小于生存时间阈值。在这种情况下,本发明实施例提供的交互式应用的按键处理方法,还可以包括如下步骤:In some embodiments of the invention, the first event may be to load an additional button on the interactive interface. When the timeout of the additional button is started, it is determined whether the additional button lifetime is less than the survival time threshold. In this case, the key processing method of the interactive application provided by the embodiment of the present invention may further include the following steps:
A2、若所述附加按键生存时间小于所述生存时间阈值,所述终端检测所述交互界面上是否产生对所述附加按键的触发事件;以及A2. If the additional button lifetime is less than the lifetime threshold, the terminal detects whether a trigger event on the additional button is generated on the interaction interface;
A3、当检测到所述附加按键的触发事件后,所述终端在所述交互界面上执行所述附加按键对应的附加行为,并触发执行步骤104。A3. After detecting the trigger event of the additional button, the terminal performs an additional behavior corresponding to the additional button on the interaction interface, and triggers step 104 to be performed.
终端可以对附加按键的有效性进行实时维护。终端在交互界面上加载附加按键时,终端启动对附加按键生存时间的计时,例如在交互界面上加载附加按键时开始对附加按键生存时间进行计时,并按照终端的时钟对附加按键生存时间进行不断累积。若附加按键生存时间小于生存时间阈值,则说明交互界面上加载的附加按键仍是有效的,此时用户可以点击附加按键来下发操作指令,可以触发步骤104执行。如图2d所示,图2d示出了本发明实施例提供的一种附加按键在交互界面上的显示时的操作场景示意图。用户通过点击显示在交互界面上的附件按键来下发操作指令。当操作指令下发之后,则隐藏该附加按键。若附加按键生存时间大于或等于生存时间阈值,则说明交互界面上加载的附加按键已经无效,此时终端将交互界面上加载的附加按键隐藏,并停止检测附加按键的触发事件,附加按键隐藏指的是附加按键从交互界面上消失,则用户无法再点击附加按键,因此本发明实施例中附加按键并不是在交互界面上长期持续占用的,从而不会增加交互界面上的按键布局。The terminal can maintain the validity of the additional buttons in real time. When the terminal loads the additional button on the interactive interface, the terminal starts timing the survival time of the additional button. For example, when the additional button is loaded on the interaction interface, the survival time of the additional button is started, and the survival time of the additional button is continuously performed according to the clock of the terminal. accumulation. If the additional button lifetime is less than the survival time threshold, it indicates that the additional button loaded on the interaction interface is still valid. At this time, the user can click the additional button to issue an operation command, and the step 104 can be triggered to execute. As shown in FIG. 2d, FIG. 2d is a schematic diagram of an operation scenario when an additional button is displayed on the interactive interface according to an embodiment of the present invention. The user issues an operation instruction by clicking an attachment button displayed on the interactive interface. When the operation command is issued, the additional button is hidden. If the additional button survival time is greater than or equal to the survival time threshold, it indicates that the additional button loaded on the interaction interface has been invalidated. At this time, the terminal hides the additional button loaded on the interaction interface, and stops detecting the trigger event of the additional button, and the additional button hiding refers to If the additional button is deleted from the interactive interface, the user can no longer click the additional button. Therefore, the additional button in the embodiment of the present invention is not continuously occupied on the interactive interface for a long time, so that the button layout on the interactive interface is not increased.
在本发明的一些实施例中,终端启动对附加按键生存时间的计时之后,终端可以对附加按键生存时间进行倒计时提醒。例如请参阅图2c所示,为本发明实施例提供的另一种附加按键在交互界面上的显示示意图,在附加按键D1和附加按键E1的图标按钮上显示倒计时时间,附加按键D1的倒计时为1秒,附加按键E1的倒计时为2秒,从而用户可以通过该倒计时时间确定是否需要点击附加按键D1和附加按键E1。In some embodiments of the present invention, after the terminal starts timing the additional button lifetime, the terminal may count down the additional button lifetime. For example, please refer to FIG. 2c, which is a schematic diagram showing another display of an additional button on the interactive interface according to an embodiment of the present invention. The countdown time is displayed on the icon button of the additional button D1 and the additional button E1, and the countdown of the additional button D1 is In 1 second, the countdown of the additional button E1 is 2 seconds, so that the user can determine whether the additional button D1 and the additional button E1 need to be clicked by the countdown time.
在本发明的一些实施例中,步骤103中的终端接收服务器发送的附加按键激活指令,包括:In some embodiments of the present invention, the terminal in step 103 receives an additional key activation command sent by the server, including:
B1、终端接收服务器判断出增加后的触发点数大于点数阈值时发送的附 加按键激活指令,服务器根据基础行为完成消息对与基础按键绑定的附加按键对应的触发点数进行增加计数,并由服务器记录增加后的触发点数。B1. When the terminal receiving server determines that the number of trigger points after the increase is greater than the threshold of the point, the attached With the button activation command, the server increments the number of trigger points corresponding to the additional keys bound to the base button according to the basic behavior completion message, and the increased number of trigger points is recorded by the server.
其中,本发明实施例中,服务器具有附加按键的触发权限,服务器可以设置触发点数,对于终端每次执行完成基础行为,服务器都可以增加触发点数,从而可以实现对触发点数的累计,服务器判断出增加后的触发点数大于点数阈值时,服务器向终端发送附加按键激活指令,服务器判断出增加后的触发点数仍小于点数阈值时,服务器不发送附加按键激活指令。因此本发明实施例中,服务器可以通过对触发点数的不断累加控制确定向终端发送附加按键激活指令的发送时机。In the embodiment of the present invention, the server has the triggering authority of the additional button, and the server can set the number of trigger points. For each time the terminal performs the basic behavior, the server can increase the number of trigger points, thereby realizing the accumulation of the trigger points, and the server determines. When the number of triggered trigger points is greater than the threshold of the number of points, the server sends an additional button activation command to the terminal, and the server determines that the increased number of trigger points is still less than the threshold threshold, the server does not send an additional button activation command. Therefore, in the embodiment of the present invention, the server can determine the sending timing of sending the additional button activation command to the terminal by continuously accumulating the number of trigger points.
在本发明实施例中,步骤103中交互界面上加载有附加按键之后,终端需要在交互界面上检测第一事件,例如用户可以点击附加按键,则终端可以通过交互界面检测到附加按键被触发的触发事件,检测到附加按键的触发事件之后再执行步骤104。In the embodiment of the present invention, after the additional button is loaded on the interaction interface in step 103, the terminal needs to detect the first event on the interaction interface. For example, the user can click the additional button, and the terminal can detect that the additional button is triggered through the interaction interface. After the trigger event is detected, the trigger event of the additional button is detected, and then step 104 is performed.
在本发明实施例中,附加按键被触发时,终端检测到了附加按键的触发事件,则终端先获取到附加按键的按键标识,然后获取该按键标识绑定的附加行为,终端在交互界面上执行该附加行为,其中终端执行什么样的附加行为可以由用户触发什么样的附加按键来决定。例如用户点击了指示策略技能的附加按键,则终端需要释放该策略技能。本发明实施例中,终端执行附加行为之后,附加按键的作用已经完成,此时终端可以将交互界面上加载的附加按键隐藏起来,从而减少对交互界面的显示区域占用。In the embodiment of the present invention, when the additional button is triggered, the terminal detects the trigger event of the additional button, the terminal first acquires the button identifier of the additional button, and then acquires the additional behavior of the button identifier binding, and the terminal executes on the interaction interface. This additional behavior, in which additional actions the terminal performs, can be determined by what additional keys the user triggers. For example, if the user clicks on an additional button indicating the strategy skill, the terminal needs to release the strategy skill. In the embodiment of the present invention, after the terminal performs the additional behavior, the function of the additional button is completed, and the terminal can hide the additional button loaded on the interaction interface, thereby reducing the occupation of the display area of the interaction interface.
在本发明的一些实施例中,附加按键可以包括:QTE按键。附加行为可以包括:QTE技能。例如,QTE技能具体可以是QTE玩法技能或者QTE策略技能。In some embodiments of the invention, the additional keys may include: a QTE button. Additional behavior can include: QTE skills. For example, the QTE skill can be specifically a QTE game skill or a QTE strategy skill.
在本发明的一些实施例中,步骤A3中的终端在交互界面上执行附加按键对应的附加行为,包括:In some embodiments of the present invention, the terminal in step A3 performs additional actions corresponding to the additional keys on the interaction interface, including:
C1、在交互界面上展示为附加按键配置的行为特效和屏幕溅字表现。C1, showing the behavior effects and screen splash performance of the additional button configuration on the interactive interface.
其中,终端在执行附加行为以及前述步骤102中的基础行为时终端可以分类设置不同的显示效果。例如为了增加附加行为的执行效果,在交互界面上展示为附加按键配置的行为特效和屏幕溅字表现。例如该行为特效可以是 绚丽的技能特效,在交互界面上还可以进行屏幕溅字表现,例如屏幕溅字可以是游戏应用程序中的口号或者附加行为的名称等,具体可以结合应用场景来确定行为特效和屏幕溅字表现。The terminal can classify and set different display effects when performing the additional behavior and the basic behavior in the foregoing step 102. For example, in order to increase the execution effect of the additional behavior, the behavioral effects and screen splash performance of the additional button configuration are displayed on the interactive interface. For example, the behavioral effect can be Beautiful skill effects, screen splashing can also be performed on the interactive interface. For example, the screen splash can be the slogan of the game application or the name of the additional action. It can be combined with the application scene to determine the behavioral effects and screen splash performance. .
在本发明的一些实施例中,步骤104中的将交互界面上加载的附加按键隐藏,包括:In some embodiments of the present invention, the additional keys loaded in the interactive interface in step 104 are hidden, including:
D1、终端在附加行为执行后向服务器发送附加行为完成消息;以及D1. The terminal sends an additional behavior completion message to the server after the additional behavior is performed;
D2、终端接收服务器发送的附加按键失效指令,并根据附加按键失效指令将交互界面上加载的附加按键隐藏。D2. The terminal receives an additional key failure instruction sent by the server, and hides the additional key loaded on the interaction interface according to the additional key failure instruction.
在本发明的一个实施例中,当终端完成附加行为之后,附加按键是否消失可以由服务器来控制,终端向服务器发送附加行为完成消息,由服务器根据附加行为完成消息确定是否向终端发送附加按键失效指令。进一步的,服务器还可以设置发送附加按键失效指令的时机以及方式,详见后续实施例中对服务器一侧的详细说明,当终端接收服务器发送的附加按键失效指令时,终端可以根据附加按键失效指令将交互界面上加载的附加按键隐藏,从而实现附加按键的显示加载与隐藏在服务器的控制下由终端来完成。In an embodiment of the present invention, after the terminal completes the additional behavior, whether the additional button disappears may be controlled by the server, and the terminal sends an additional behavior completion message to the server, and the server determines, according to the additional behavior completion message, whether to send the additional button to the terminal. instruction. Further, the server may also set the timing and manner of sending the additional button invalidation instruction. For details, refer to the detailed description of the server side in the following embodiments. When the terminal receives the additional button invalidation command sent by the server, the terminal may follow the additional button invalidation instruction. The additional keys loaded on the interactive interface are hidden, so that the display loading and hiding of the additional keys is completed by the terminal under the control of the server.
通过以上对本发明实施例的描述可知,终端在检测到基础按键被触发时,在交互界面上执行基础按键对应的基础行为,根据服务器发送的附加按键激活指令在交互界面上加载附加按键,附加按键与基础按键绑定、且附加按键在基础行为被执行后添加在交互界面上。由于附加按键只有在基础行为执行之后才会加载到交互界面上,因此附加按键不会对交互界面进行长期持续占用,减少交互界面中按键过多时导致的用户操作不方便。当交互界面中加载附加按键之后,当检测到第一事件时,将交互界面上加载的附加按键隐藏。因此本发明实施例中附加按键可以实现按需加载,并在附加行为执行之后隐藏掉附加按键,从而减少对交互界面的长期持续占用,使交互界面上的按键布局更简洁,便于用户的操作行为。Through the above description of the embodiment of the present invention, when the terminal detects that the basic button is triggered, the terminal performs the basic behavior corresponding to the basic button on the interaction interface, and loads the additional button on the interaction interface according to the additional button activation command sent by the server, and the additional button Bind to the base button, and the additional button is added to the interface after the base behavior is executed. Since the additional keys are only loaded into the interactive interface after the basic behavior is executed, the additional keys do not continuously occupy the interactive interface for a long time, and the user operation caused by too many keys in the interactive interface is inconvenient. After the additional key is loaded in the interactive interface, when the first event is detected, the additional keys loaded on the interactive interface are hidden. Therefore, in the embodiment of the present invention, the additional button can be loaded on demand, and the additional button is hidden after the additional behavior is executed, thereby reducing the long-term continuous occupation of the interaction interface, making the button layout on the interaction interface more concise, and facilitating the user's operation behavior. .
前述实施例从终端侧对本发明实施例提供的交互式应用中的按键处理方法进行说明,接下来从服务器侧对本发明实施例提供的交互式应用中的按键处理方法进行说明,该方法具体可以应用于交互式应用的交互界面操作中,例如该交互式应用可以是游戏应用程序,或者需要用户操作的办公应用程序, 或者数值交易应用程序等。请参阅图3所示,本发明一个实施例提供的交互式应用中的按键处理方法,可以包括如下步骤:The foregoing embodiment describes a key processing method in the interactive application provided by the embodiment of the present invention from the terminal side, and then describes a key processing method in the interactive application provided by the embodiment of the present invention from the server side, and the method can be specifically applied. In the interactive interface operation of the interactive application, for example, the interactive application may be a game application or an office application that requires user operation. Or a numerical trading application, etc. Referring to FIG. 3, a key processing method in an interactive application provided by an embodiment of the present invention may include the following steps:
301、服务器接收终端执行完成基础行为之后发送的基础行为完成消息。301. The server receives a basic behavior completion message sent by the terminal after performing the completion of the basic behavior.
在本发明实施例中,通过前述实施例对终端的说明可知,终端执行完成基础行为之后,终端向服务器上报基础行为完成消息,则服务器可以通过终端与服务器之间建立的通信连接获取到基础行为完成消息。基础行为完成消息中可以包括用于表示基础行为对应的基础按键的标识。In the embodiment of the present invention, the description of the terminal in the foregoing embodiment shows that after the terminal performs the basic behavior, the terminal reports the basic behavior completion message to the server, and the server can obtain the basic behavior through the communication connection established between the terminal and the server. Complete the message. The base behavior completion message may include an identifier for indicating a base button corresponding to the base behavior.
302、服务器从基础行为完成消息中获取到被触发的基础按键,并根据基础按键获取与基础按键绑定的附加按键。302. The server obtains the triggered basic key from the basic behavior completion message, and acquires an additional key bound to the basic key according to the basic key.
在本发明实施例中,服务器接收到基础行为完成消息之后,服务器通过对基础行为完成消息的解析,可以获取到终端被触发的基础按键,例如获取到基础按键的按键标识。服务器再通过预先配置的基础按键和附加按键的绑定关系,确定与基础按键绑定的附加按键。服务器具有附加按键的激活权限,服务器可以确定附加按键被激活的时机和激活方式,当服务器确定需要激活附加按键时,服务器可以触发步骤303执行。In the embodiment of the present invention, after the server receives the basic behavior completion message, the server can obtain the basic button triggered by the terminal by parsing the basic behavior completion message, for example, obtaining the button identifier of the basic button. The server then determines the additional keys bound to the base button through the binding relationship between the pre-configured base button and the additional button. The server has the activation permission of the additional button, and the server can determine the timing and activation mode of the additional button being activated. When the server determines that the additional button needs to be activated, the server can trigger step 303 to execute.
在本发明的一些实施例中,本发明实施例提供的交互式应用的按键处理方法除了执行前述步骤之外,还可以包括如下步骤:In some embodiments of the present invention, the button processing method of the interactive application provided by the embodiment of the present invention may further include the following steps in addition to the foregoing steps:
E1、根据基础按键获取与基础按键绑定的附加按键之后,服务器对与附加按键对应的触发点数进行增加计数,并记录增加后的触发点数;E1, after obtaining the additional button bound to the basic button according to the basic button, the server increases the number of trigger points corresponding to the additional button, and records the increased number of trigger points;
E2、服务器判断增加后的触发点数是否大于点数阈值;E2. The server determines whether the number of trigger points after the increase is greater than the threshold of the point;
E3、若增加后的触发点数大于或等于点数阈值,服务器触发执行如下步骤303:服务器根据附加按键向终端发送附加按键激活指令。E3. If the number of triggered trigger points is greater than or equal to the threshold of the number of points, the server triggers the following step 303: the server sends an additional button activation command to the terminal according to the additional button.
其中,在本发明的上述实现场景中,服务器获取到需要激活的附加按键之后,服务器可以通过为附加按键设置触发点数来完成对附加按键的激活控制,终端每执行一次基础行为,服务器都可以相应地对附加按键的触发点数增加一次计数值。例如附加按键的触发点数有一个初始值,服务器可以对该初始值随着终端的多次执行基础行为进行不断累积,每次都记录增加后的触发点数。服务器侧还预先配置有点数阈值,则服务器在每次记录增加后的触发点数之后,都判断一次该增加后的触发点数是否大于点数阈值。当增加后 的触发点数大于或等于点数阈值时,说明该附加按键可以被激活。在这种实现场景下,服务器可以执行后续步骤303。当增加后的触发点数小于点数阈值时,说明在当前的触发点数下附加按键还不可以激活,需要继续等待。本发明实施例中服务器通过对触发点数的计数累积,可以引导用户多次点击基础操作,从而完成对触发点数的计数累积,在满足附加按键的激活条件下服务器可以向终端发送附加按键激活指令。In the above implementation scenario of the present invention, after the server obtains the additional button that needs to be activated, the server may complete the activation control of the additional button by setting the trigger point for the additional button, and the server may respond to each time the terminal performs the basic behavior. The ground adds a count value to the number of trigger points of the additional button. For example, the number of trigger points of the additional button has an initial value, and the server can continuously accumulate the initial value with the multiple execution basic behavior of the terminal, and record the increased number of trigger points each time. The server side also pre-configures the threshold number of thresholds, and the server determines whether the number of trigger points after the increase is greater than the threshold of the point after each increment of the number of trigger points. When added When the number of trigger points is greater than or equal to the point threshold, the additional button can be activated. In this implementation scenario, the server can perform the subsequent step 303. When the number of trigger points after the increase is less than the threshold of the point, it means that the additional button can not be activated under the current number of trigger points, and it is necessary to continue waiting. In the embodiment of the present invention, the server can guide the user to click the basic operation multiple times by counting the number of trigger points, thereby completing the counting accumulation of the trigger points, and the server can send an additional key activation instruction to the terminal under the activation condition of the additional button.
进一步的,在本发明实施例执行前述步骤E1至步骤E3的实现场景下,步骤302根据基础按键获取与基础按键绑定的附加按键之后,本发明实施例提供的交互式应用的按键处理方法除了执行前述步骤之外,还可以包括如下步骤:Further, in the implementation scenario of the foregoing steps E1 to E3 in the embodiment of the present invention, after the step 302 obtains the additional key bound to the basic key according to the basic key, the key processing method of the interactive application provided by the embodiment of the present invention is In addition to the foregoing steps, the following steps may also be included:
F1、服务器将附加按键对应的点数增加次数进行重置,得到重置后的点数增加次数。F1. The server resets the number of times corresponding to the additional button, and obtains the number of times the number of points after the reset is increased.
其中,服务器除了使用触发点数之外,还可以配置点数增加次数,对于触发点数的每次增加都累加一次数增加次数,终端每执行一次附加行为,则附加按键对应的点数增加次数就进行一次重置操作,并且在首次使用附加按键对应的点数增加次数时,也可以进行一次重置操作。服务器通过点数增加次数可以对触发点数的每次增加做出次数记录,从而改变触发点数的点数增加方式。具体的,在执行步骤F1的实现场景下,步骤E1服务器对与附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,本发明实施例提供的交互式应用的按键处理方法除了执行前述步骤之外,还可以包括如下步骤:In addition to using the number of trigger points, the server can also configure the number of points to be increased. For each increment of the number of trigger points, the number of times is increased by one time. Each time the terminal performs an additional behavior, the number of points corresponding to the additional button is incremented. The reset operation can also be performed when the number of points corresponding to the additional button is increased for the first time. The server can record the number of times of the trigger point by the number of times the number of points is increased, thereby changing the method of increasing the number of points of the trigger point. Specifically, in the implementation scenario of step F1, the step E1 server increases the number of trigger points corresponding to the additional button, and records the number of trigger points after the addition, and the button processing method of the interactive application provided by the embodiment of the present invention is In addition to the foregoing steps, the following steps may also be included:
G1、若增加后的触发点数小于点数阈值,服务器对重置后的点数增加次数进行次数递增计数,并记录递增后的点数增加次数。G1. If the number of trigger points after the increase is less than the threshold of the number of points, the server counts the number of times of the number of points after the reset, and records the number of increments of the number of points after the increment.
其中,在前述步骤E1执行之后,触发点数有过一次增加次数的记录,在步骤E2中服务器执行过判断步骤之后,除了执行步骤E3之外,还可以执行步骤G1,若增加后的触发点数小于点数阈值,则可以更新点数增加次数,记录递增后的点数增加次数,则每次触发点数有过次数增加,该点数增加次数都更新一次。After the execution of the foregoing step E1, the number of trigger points has been increased by one time. After the server performs the determining step in step E2, in addition to performing step E3, step G1 may be performed, if the number of trigger points after the increase is less than If the number of points is increased, the number of times of increase of the number of points can be updated, and the number of times of increase of the number of points after the increment is recorded, and the number of times of each trigger point is increased, and the number of times of increase of the number of points is updated once.
进一步的,在本发明的一些实施例中,执行步骤G1的实现场景下,步骤 E1服务器对与附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,本发明实施例提供的交互式应用的按键处理方法除了执行前述步骤之外,还可以包括如下步骤:Further, in some embodiments of the present invention, in the implementation scenario of step G1, the steps are performed. After the E1 server counts the number of trigger points corresponding to the additional button, and records the number of the added trigger points, the button processing method of the interactive application provided by the embodiment of the present invention may include the following steps in addition to the foregoing steps:
H1、服务器启动衰减开始定时器;H1, the server starts the attenuation start timer;
H2、若衰减开始定时器超时,服务器对增加后的触发点数进行点数递减计数,并记录递减后的触发点数,启动衰减定时器;H2. If the attenuation start timer expires, the server counts the number of incremented trigger points, and records the number of trigger points after decrement, and starts the decay timer;
H3、若衰减定时器的超时时间超过预置的衰减时间间隔,服务器继续对递减后的触发点数进行次数递减计数,并更新记录递减后的触发点数,当记录的触发点数衰减到触发点数初始值时,删除衰减定时器并对点数增加次数进行重置;H3. If the timeout period of the decay timer exceeds the preset decay time interval, the server continues to count down the number of trigger points after decrement, and updates the number of trigger points after the record is decremented, and the number of trigger points recorded decreases to the initial value of the trigger point. Delete the decay timer and reset the number of points increase;
H4、在启动衰减定时器之后,若服务器接收到终端发送的基础行为完成消息,服务器对与附加按键对应的触发点数进行增加计数,并删除衰减定时器以及重新启动衰减开始定时器。H4. After the start of the fading timer, if the server receives the basic behavior completion message sent by the terminal, the server counts up the number of trigger points corresponding to the additional button, deletes the fading timer, and restarts the fading start timer.
其中,在上述步骤H1中,衰减开始计时器用于对增加后的触发点数在什么时候进行点数递减进行控制,例如衰减开始计时器可以设置为1分钟,则在衰减开始计时器被触发直至1分钟之后,触发点数没有增加,此时衰减开始定时器超时,服务器对增加后的触发点数进行点数递减计数,并记录递减后的触发点数。在衰减开始计时器超时之后,启动递减后的触发点数的衰减定时器,该衰减定时器用于对递减后的触发点数进行递减计数,若衰减定时器的超时时间超过预置的衰减时间间隔,服务器继续对递减后的触发点数进行次数递减计数,并更新记录递减后的触发点数,当记录的触发点数衰减到触发点数初始值时,删除衰减定时器并对点数增加次数进行重置。举例说明,衰减时间间隔可以设置为10秒,则衰减定时器每超时达到10秒,则对触发点数进行次数递减计数,随着衰减定时器的多次超时,可以多次对触发点数进行次数递减计数,直至记录的触发点数衰减到触发点数初始值。此时可以删除衰减定时器并对点数增加次数进行重置,例如将点数增加次数重置为0次。在步骤H3中启动衰减定时器之后,若服务器接收到终端发送的基础行为完成消息,则服务器对与附加按键对应的触发点数进行增加计数,此时说明触发点数又有点数增加,则不再使用衰减定时器,删除衰减定时器以及重新 启动衰减开始定时器。通过前述步骤H1至步骤H4的实现方案,服务器可以实现对附加按键的触发启动进行精确控制,防止终端在交互式应用运行过程中的用户的作弊行为,使得服务器能够更准确地控制附加按键的启动加载。In the above step H1, the attenuation start timer is used to control when the number of increased trigger points is decremented. For example, the attenuation start timer can be set to 1 minute, and then the attenuation start timer is triggered until 1 minute. After that, the number of trigger points does not increase. At this time, the attenuation start timer expires. The server counts the number of trigger points after the increase, and records the number of trigger points after decrement. After the decay start timer expires, a decay timer of the decremented trigger point is started, and the decay timer is used to count down the number of trigger points after decrement. If the timeout period of the decay timer exceeds the preset decay time interval, the server Continue to count down the number of decremented trigger points, and update the number of trigger points after the record is decremented. When the number of recorded trigger points is attenuated to the initial value of the trigger points, the decay timer is deleted and the number of points is reset. For example, the fading interval can be set to 10 seconds. If the aging timer reaches 10 seconds, the number of trigger points is counted down. With the multiple timeout of the fading timer, the number of trigger points can be decremented multiple times. Count until the number of recorded trigger points decays to the initial value of the trigger points. At this point, you can delete the decay timer and reset the number of points, for example, reset the number of points to 0. After the aging timer is started in step H3, if the server receives the basic behavior completion message sent by the terminal, the server increases the number of trigger points corresponding to the additional button, and indicates that the number of trigger points increases a bit, and is no longer used. Attenuation timer, delete decay timer and re Start the decay start timer. Through the implementation of the foregoing steps H1 to H4, the server can implement precise control of the triggering of the additional button to prevent the user from cheating in the process of the interactive application, so that the server can more accurately control the activation of the additional button. load.
303、服务器根据附加按键向终端发送附加按键激活指令,以使终端在交互式应用的交互界面上加载附加按键。303. The server sends an additional button activation command to the terminal according to the additional button, so that the terminal loads the additional button on the interactive interface of the interactive application.
在本发明实施例中,服务器获取到需要激活的附加按键之后,服务器发送附加按键激活指令,终端可以根据服务器的指示在交互式应用的交互界面上加载附加按键,从而实现在服务器的控制下完成终端侧对附加按键在交互界面上的加载。In the embodiment of the present invention, after the server acquires an additional button that needs to be activated, the server sends an additional button activation command, and the terminal may load an additional button on the interaction interface of the interactive application according to the instruction of the server, thereby completing the control under the server. The terminal side loads the additional keys on the interactive interface.
在本发明的一些实施例中,本发明实施例提供的交互式应用的按键处理方法除了执行前述步骤之外,还可以包括如下步骤:In some embodiments of the present invention, the button processing method of the interactive application provided by the embodiment of the present invention may further include the following steps in addition to the foregoing steps:
I1、当服务器根据附加按键向终端发送附加按键激活指令时,服务器启动对附加按键生存时间的计时。I1. When the server sends an additional button activation command to the terminal according to the additional button, the server starts timing the additional button lifetime.
I2、服务器判断附加按键生存时间是否大于生存时间阈值。I2. The server determines whether the additional button lifetime is greater than the lifetime threshold.
I3、当附加按键生存时间大于或等于生存时间阈值时,服务器向终端发送附加按键失效指令。I3. When the additional button survival time is greater than or equal to the survival time threshold, the server sends an additional key failure instruction to the terminal.
在本发明的一个实施例中,服务器可以对附加按键是否有效进行实时维护,服务器向终端发送附加按键激活指令时,服务器启动对附加按键生存时间的计时,例如向终端发送附加按键激活指令时开始对附加按键生存时间进行计时,并按照服务器的时钟对附加按键生存时间进行不断累积,若附加按键生存时间小于生存时间阈值,则说明交互界面上加载的附加按键仍是有效的,此时用户可以点击附加按键来下发操作指令。若附加按键生存时间大于或等于生存时间阈值,则说明交互界面上加载的附加按键已经无效,此时服务器可以向终端发送附加按键失效指令,从而终端需要根据该附加按键失效指令将交互界面上加载的附加按键隐藏,并停止检测附加按键的触发事件,附加按键隐藏指的是附加按键从交互界面上消失,则用户无法再点击附加按键,因此本发明实施例中附加按键并不是在交互界面上长期持续占用的,从而不会增加交互界面上的按键布局。In an embodiment of the present invention, the server may perform real-time maintenance on whether the additional button is valid. When the server sends an additional button activation command to the terminal, the server starts timing the additional button survival time, for example, when sending an additional button activation command to the terminal. The additional button survival time is counted, and the additional button lifetime is continuously accumulated according to the server clock. If the additional button lifetime is less than the survival time threshold, the additional button loaded on the interaction interface is still valid, and the user can Click the additional button to send the operation command. If the additional button survival time is greater than or equal to the survival time threshold, it indicates that the additional button loaded on the interaction interface has been invalidated. At this time, the server may send an additional button failure instruction to the terminal, so that the terminal needs to load the interaction interface according to the additional button failure instruction. The additional button is hidden and stops detecting the trigger event of the additional button. The additional button hiding means that the additional button disappears from the interactive interface, and the user can no longer click the additional button, so the additional button in the embodiment of the present invention is not on the interactive interface. Long-term continuous use, so as not to increase the layout of the buttons on the interactive interface.
在本发明的一些实施例中,本发明实施例提供的交互式应用的按键处理 方法除了执行前述步骤之外,还可以包括如下步骤:In some embodiments of the present invention, the button processing of the interactive application provided by the embodiment of the present invention is provided. In addition to performing the foregoing steps, the method may further include the following steps:
J1、服务器接收终端发送的附加行为完成消息;J1. The server receives an additional behavior completion message sent by the terminal.
J2、服务器根据附加行为完成消息向终端发送附加按键失效指令。J2. The server sends an additional key invalidation instruction to the terminal according to the additional behavior completion message.
其中,当终端完成附加行为之后,附加按键是否消失可以由服务器来控制,终端向服务器发送附加行为完成消息,由服务器根据附加行为完成消息确定是否向终端发送附加按键失效指令。进一步的,服务器还可以设置发送附加按键失效指令的时机以及方式,当终端接收服务器发送的附加按键失效指令时,终端可以根据附加按键失效指令将交互界面上加载的附加按键隐藏,从而实现附加按键的显示加载与隐藏在服务器的控制下由终端来完成。Wherein, after the terminal completes the additional behavior, whether the additional button disappears may be controlled by the server, and the terminal sends an additional behavior completion message to the server, and the server determines whether to send an additional key invalidation instruction to the terminal according to the additional behavior completion message. Further, the server may also set the timing and manner of sending the additional button failure instruction. When the terminal receives the additional button failure instruction sent by the server, the terminal may hide the additional button loaded on the interaction interface according to the additional button failure instruction, thereby implementing the additional button. The display is loaded and hidden under the control of the server by the terminal.
通过以上对本发明实施例的描述可知,服务器接收终端执行完成基础行为之后发送的基础行为完成消息,服务器从基础行为完成消息中获取到被触发的基础按键,并根据基础按键获取与基础按键绑定的附加按键,服务器根据附加按键向终端发送附加按键激活指令,以使终端在交互式应用的交互界面上加载附加按键。本发明实施例中服务器可以控制附加按键的激活,终端根据服务器的附加按键激活指令可以实现附加按键的按需加载,并在附加行为执行之后隐藏掉附加按键,从而减少对交互界面的长期持续占用,使交互界面上的按键布局更简洁,便于用户的操作行为。Through the above description of the embodiment of the present invention, the server receives the basic behavior completion message sent after the terminal performs the completion of the basic behavior, and the server acquires the triggered basic button from the basic behavior completion message, and acquires the basic key binding according to the basic key. The additional button, the server sends an additional button activation command to the terminal according to the additional button, so that the terminal loads the additional button on the interactive interface of the interactive application. In the embodiment of the present invention, the server can control the activation of the additional button, and the terminal can implement the on-demand loading of the additional button according to the additional button activation command of the server, and hide the additional button after the additional behavior is performed, thereby reducing the long-term continuous occupation of the interactive interface. To make the layout of the buttons on the interactive interface more concise and convenient for the user's operation behavior.
为便于更好的理解和实施本发明实施例的上述方案,下面举例相应的应用场景来进行具体说明。本发明实施例中在此基础按键在交互界面上的布局基础上进行延伸与创新,实现更多的技能和技能策略组合。本发明实施例中附加按键的加载与隐藏可以实现交互式应用的交互操作模式。接下来以游戏应用程序中的附加按键具体为QTE按键为例进行举例说明。本发明实施例中将QTE按键用来作为技能显示与隐藏,既可以在合适的时候将技能展现出来给玩家进行选择释放,也可以在不必要的时候减轻主界面的负担,使得交互界面的主界面表现不会凌乱。To facilitate a better understanding and implementation of the foregoing solutions of the embodiments of the present invention, the following application scenarios are specifically illustrated. In the embodiment of the present invention, the extension and innovation of the basic button on the interactive interface are performed, and more skill and skill strategy combinations are realized. The loading and hiding of additional keys in the embodiment of the present invention can implement an interactive operation mode of the interactive application. Next, an example of an additional button in the game application is specifically a QTE button. In the embodiment of the present invention, the QTE button is used as a skill display and hiding, and the skill can be displayed to the player for selection and release at an appropriate time, or the burden of the main interface can be reduced when unnecessary, so that the main interface is interactive. The interface performance will not be messy.
本发明实施例中接下来介绍移动端的角色扮演类手机游戏(英文全称:Role-Playing Game,英文简称:RPG)的多技能的操作与表现方式,通过本发明实施例描述的技术方案,玩家可以在同一屏幕内使用超过8个甚至更多的技能进行战斗,可以较好的还原端游RPG中实现的众多技能带来的丰富的战斗 策略。本发明实施例中附加按键可以通过QTE按键来实现,从而提升玩家在获得技能时的惊喜感与释放技能的爽快感。In the embodiment of the present invention, the multi-skill operation and performance mode of the role-playing mobile phone game (English name: Role-Playing Game, RPG) of the mobile terminal is introduced, and the technical solution described in the embodiment of the present invention can be used by the player. Use more than 8 or more skills to fight in the same screen, you can better restore the rich battles brought by the many skills realized in the RPG. Strategy. In the embodiment of the present invention, the additional button can be implemented by the QTE button, thereby improving the player's feeling of surprise and releasing the skill when acquiring the skill.
由于受限于手机屏幕的尺寸,和人类手指的大小,市场上的RPG在战斗操作上,基本上都是采用在手机屏幕的右下角,排布“1+3至4个”技能按钮的技能操作模式。而作为角色扮演类游戏产品来说,角色的战斗系统是最为基础和重要的游戏模块。在个人电脑端的RPG游戏中,玩家通过鼠标加键盘,可以便捷的发布多达几十种不同的战斗操作指令,而手机RPG游戏只能下达4至5个不同的技能操作。因此,在战斗玩法上,几乎不具备操作策略性可言,战斗本身的游戏可玩性极低。Due to the size of the screen of the mobile phone and the size of the human finger, the RPG on the market basically uses the skill of “1+3 to 4” skill buttons in the lower right corner of the screen of the mobile phone. Operating mode. As a role-playing game product, the character's combat system is the most basic and important game module. In the RPG game on the PC side, players can easily post up to dozens of different combat operation commands through the mouse and keyboard, while mobile RPG games can only issue 4 to 5 different skill operations. Therefore, in combat play, there is almost no operational strategy, and the gameplay of the battle itself is extremely low.
因此,为了提升手机RPG游戏的战斗操作策略性,强化玩家VS环境(英文全称:PVE,英文简称:Player VS Enviroment)乃至玩家对战(英文全称:Player Versus Player,英文简称:PVP)战斗中的可玩性,本发明实施例提供了基于手机RPG游戏的QTE技能操作系统。Therefore, in order to improve the combat operation strategy of mobile RPG games, strengthen the player VS environment (English full name: PVE, English abbreviation: Player VS Enviroment) and even the player battle (English full name: Player Versus Player, English abbreviation: PVP) in the battle For example, the embodiment of the present invention provides a QTE skill operating system based on a mobile phone RPG game.
首先,尊重手机RPG游戏的用户习惯,本发明实施例和其他手机RPG游戏一样,在移动终端屏幕的右下角摆放了“1+4”个基础按键,即一个基础攻击按钮,另外还有4个常态技能按钮,以满足游戏玩家的非策略性常态战斗的需求。然后,本发明实施例创建了一套QTE触发式的扩展技能。当玩家在使用上述4个基础技能后,针对不同特殊战斗玩法需求,分别制定了不同的触发几率,即QTE按键并不是一直存在的,而是通过策划设定触发概率来控制是否出现,并以气泡弹出的形式,在原基础按键的附近,例如侧方或上方,触发式弹出该套QTE按键,以进一步满足游戏玩家更丰富多元的技能策略操作需求。First of all, respecting the user habits of the mobile phone RPG game, the embodiment of the present invention, like other mobile phone RPG games, puts "1+4" basic buttons in the lower right corner of the mobile terminal screen, that is, a basic attack button, and 4 A normal skill button to meet the needs of gamers for non-strategic normal combat. Then, the embodiment of the present invention creates a set of QTE triggered extended skills. When the player uses the above four basic skills, different triggering chances are set for different special combat gameplay requirements, that is, the QTE button does not always exist, but by setting the trigger probability to control whether it appears, and The bubble pop-up form, in the vicinity of the original basic button, such as side or above, triggers the set of QTE buttons to further meet the game player's richer and more diverse skill strategy operation requirements.
接着,针对这些不同的触发式QTE按键,本发明实施例中还可以为每个技能分别设置不同的气泡存活时间。只有在气泡存活时间内,玩家点击使用该技能,才可以正常释放该QTE技能。而如果超过了系统设定的气泡存活时间,则该QTE技能的气泡,将会被系统所销毁。在本发明的另一些实施例中在气泡销毁前还可以提供明显的闪烁效果,从而提示玩家QTE技能即将消失,当气泡消失后,玩家也就不可再使用该QTE技能了,直至下轮使用常态技能而再次触发该QTE技能,则往复循环。通过本发明实施例一方面大幅缓解了此类二级技能触发后,对手机拥挤的屏幕操作区域的持续占领,另一方面也 进一步提升了QTE技能的操作时效策略性。Then, for these different triggered QTE buttons, different bubble survival times can be set for each skill in the embodiment of the present invention. The QTE skill can be released normally only when the player clicks on the skill during the bubble survival time. If the bubble life time set by the system is exceeded, the bubble of the QTE skill will be destroyed by the system. In other embodiments of the present invention, a clear flickering effect can be provided before the bubble is destroyed, thereby prompting the player that the QTE skill is about to disappear. When the bubble disappears, the player can no longer use the QTE skill until the next round uses the normal state. If the skill triggers the QTE skill again, it will cycle back and forth. On the one hand, the embodiment of the present invention substantially alleviates the continued occupation of the crowded screen operation area of the mobile phone after the triggering of such secondary skill, and on the other hand Further improved the operational timeliness of QTE skills.
在本发明实施例提供的QTE按键基础上,可以将基本的非策略技能像其他手机RPG游戏一样排布在4个基础按键位上,而将绝大多数影响战斗策略的玩法性技能排布在触发的QTE按键位上。非策略技能可以是无额外效果的纯伤害技能,而玩法性技能可以为例如加速、治疗、位移、控制、免疫、狂暴、必杀等策略性极强的技能。在QTE技能的使用时,本发明实施例还为其匹配了相比基础技能,更为绚丽的技能特效和屏幕溅字表现。例如,基础技能的表现和QTE的技能表现做了分层实现,QTE技能表现更加华丽,比如战士的撩空斩,和战士的千军杀,同样是造成直线伤害,但是千军杀的蓄力与爆发,攻击范围都会更猛。从而,真正实现手机RPG游戏在战斗的策略性和表现性上完美的结合。表现性可以泛指技能的打击感,细分包括技能的打击特效表现,界面的动态效果表现,屏幕震动效果表现,以及各种音效表现,在释放QTE技能时,会有屏幕溅字效果,来增强技能表现力。Based on the QTE button provided by the embodiment of the present invention, the basic non-strategy skills can be arranged on the four basic button positions like other mobile phone RPG games, and the majority of the gameplay skills affecting the combat strategy are arranged. Triggered on the QTE button. Non-strategic skills can be pure damage skills without additional effects, while gameplay skills can be highly strategic skills such as acceleration, treatment, displacement, control, immunity, violent, and killing. In the use of the QTE skill, the embodiment of the present invention also matches the more skillful effects and screen splash performance than the basic skills. For example, the performance of basic skills and QTE's skill performance have been layered, QTE skills are more gorgeous, such as the warrior's hollow, and the soldiers' thousands of kills, also caused linear damage, but the power of thousands of troops With the outbreak, the scope of the attack will be even stronger. Thus, the true realization of the mobile phone RPG game in the strategic and expressive combination of combat. Performance can refer to the sense of hitting skills. Subdivisions include the performance of special effects, the dynamic performance of the interface, the performance of the screen vibration, and various sound effects. When the QTE skills are released, there will be screen splash effects. Enhance skill expression.
接下来以Buff技术实现QTE按键为例进行说明。在手游QTE系统中,本发明的方法采用终端发起,服务器判定和通知的方式来实现。当触发QTE按键的时候服务器需要通知终端激活了哪个QTE按键以及持续多长时间。终端如果在QTE触发持续时间内释放对应QTE技能或者持续时间结束,服务器都需要通知终端该QTE触发状态消失。这种消息通知和状态标记以及定时器的工作方式可以通过Buff系统来实现。其中,Buff系统可以根据其细化功能有非常多的细分,大体分为增益类Buff和技能类Buff。例如,有Buff增益,Buff关联,Buff修饰,持续间隔触发,状态类Buff,陷阱型Buff,触发型Buff,标识型Buff。Next, the QTE button is implemented by Buff technology as an example. In the mobile QTE system, the method of the present invention is implemented by means of terminal initiation, server determination and notification. When the QTE button is triggered, the server needs to inform the terminal which QTE button is activated and how long it lasts. If the terminal releases the corresponding QTE skill for the duration of the QTE trigger or the duration ends, the server needs to notify the terminal that the QTE trigger status disappears. Such message notifications and status flags and how the timer works can be implemented by the Buff system. Among them, the Buff system can be divided into a number of subdivisions according to its refinement function, which is roughly divided into a gain class Buff and a skill class Buff. For example, there are Buff gain, Buff association, Buff modifier, continuous interval trigger, state class Buff, trap type Buff, trigger type Buff, and marker type Buff.
接下来以终端游戏采用Buff系统来实现QTE按键的维持和改变进行举例说明,QTE按键的实现采用了Buff触发的模式,Buff触发指的是玩家在触发QTE按键的时候,可以通过Buff来表示这个QTE技能,Buff既是QTE技能的触发表现,也是QTE的验证和释放载体,QTE技能的触发和释放都需要有人物身上有相对应的Buff。4个基础按键分别对应4个QTE技能栏位,玩家可以选择将某个或某几个QTE按键与基础按键绑定,即各个基础技能分别绑定不同的QTE按键。如图4所示,为本发明实施例提供的QTE按键触发和释放过程示意图。每次成功释放基础技能之后,服务器会根据策划配置增加对应QTE技能的触 发点数,如果达到了激活QTE技能的点数阈值要求,服务器会为人物增加该QTE技能对应的Buff,并通知给终端。终端收到该Buff激活的消息之后,激活相应的QTE按键图标,QTE按键变成可释放形态。同时由于每一个Buff都有对应的有效时间,当有效时间结束之后,Buff状态自动消失,QTE按键也同时隐藏。Next, the terminal game adopts the Buff system to realize the maintenance and change of the QTE button. The implementation of the QTE button adopts the Buff trigger mode. The Buff trigger refers to the player can indicate this through the Buff when the QTE button is triggered. QTE skills, Buff is both a triggering performance of QTE skills, but also a QTE verification and release carrier. The triggering and release of QTE skills requires a corresponding Buff on the character. The four basic buttons correspond to four QTE skill fields, and the player can choose to bind one or several QTE buttons to the basic button, that is, each basic skill is bound to a different QTE button. FIG. 4 is a schematic diagram of a QTE button triggering and releasing process according to an embodiment of the present invention. After each successful release of the basic skills, the server will increase the touch of the corresponding QTE skills according to the planning configuration. The number of points, if the threshold of the QTE skill is activated, the server will add the Buff corresponding to the QTE skill to the character and notify the terminal. After receiving the Buff activation message, the terminal activates the corresponding QTE button icon, and the QTE button becomes a releasable form. At the same time, since each Buff has a corresponding effective time, when the effective time is over, the Buff state automatically disappears and the QTE button is also hidden.
如图5所示,为本发明实施例提供的QTE按键的判断过程示意图,触发点数的增加是通过释放基础技能获得和累计的,另外QTE触发点数具有初始值,点数的增加量与点数增加次数相关,例如可以根据点数增加次数随机增加触发点数。每次触发QTE按键的Buff时,都会重置点数增加次数。如果增加了触发点数之后没有满足点数阈值的话,点数增加次数就会加1。触发点数也可以引入衰减机制,每次增加完触发点数之后都会启动一个衰减开始定时器,超时时间根据策划配置设定。一旦衰减开始定时器超时,该触发点数进入衰减态,进行第一次点数减少,同时启动一个衰减定时器,超时时间设为策划配置的衰减间隔,衰减定时器每次超时都会减少规定点数。一旦衰减到触发点数初始值,会删除衰减定时器并清空点数增加次数。这期间只要有释放对应的基础技能导致触发点数增加都会停止衰减定时器,并重新启动超时时间为策划配置时间的衰减开始定时器。As shown in FIG. 5 , it is a schematic diagram of a JTE button determination process according to an embodiment of the present invention. The increase of the number of trigger points is obtained and accumulated by releasing the basic skill, and the number of QTE trigger points has an initial value, and the number of points and the number of points are increased. Correlation, for example, the number of trigger points can be randomly increased according to the number of points increase. Each time the Buff of the QTE button is triggered, the number of points is incremented. If the number of points is not met after the number of trigger points is increased, the number of points is increased by one. The number of trigger points can also be introduced into the attenuation mechanism. Each time the number of trigger points is increased, an attenuation start timer is started. The timeout period is set according to the planning configuration. Once the attenuation start timer expires, the number of trigger points enters the attenuation state, the first point is reduced, and an attenuation timer is started. The timeout period is set to the attenuation interval of the planned configuration, and the attenuation timer is reduced by the specified number of times each timeout. Once decayed to the initial value of the trigger point, the decay timer is deleted and the number of points is increased. During this period, as long as there is a release of the corresponding basic skill, the trigger point is increased, the decay timer is stopped, and the timeout period is restarted as the decay start timer of the planned configuration time.
在本发明的前述举例中,释放QTE技能的相应逻辑中,释放条件中有判定是否有对应的Buff的逻辑,服务器用以防止终端作弊。例如,在给玩家挂上QTE按键的Buff时,服务器开始对该Buff计时,若计时未结束,玩家可以正常释放QTE技能,释放时检测玩家是否有该Buff,释放后该Buff立刻被下掉。若计时结束,则该Buff也被下掉。也就是说当QTE按键出现时,有且仅有被释放一次,终端侧作弊是无效的,QTE按键未出现时,无法达到释放QTE技能的目的。进一步的,在本发明的一些实施例中,QTE技能效果中有取消指定Buff的功能。这样当在Buff有效期之内释放QTE技能,则QTE技能的一个效果就是使对应的Buff失效。这样就实现了释放QTE,移除Buff,从而隐藏QTE按键图标的效果。In the foregoing example of the present invention, in the corresponding logic for releasing the QTE skill, the release condition has logic for determining whether there is a corresponding Buff, and the server is used to prevent the terminal from cheating. For example, when the player clicks the Buff of the QTE button, the server starts timing the Buff. If the timing is not over, the player can release the QTE skill normally. When the player releases the Buff, the Buff is immediately released. If the time is over, the Buff is also dropped. That is to say, when the QTE button appears, there is only one release, and the terminal side cheat is invalid. When the QTE button does not appear, the QTE skill cannot be released. Further, in some embodiments of the present invention, the QTE skill effect has the function of canceling the specified Buff. Thus, when the QTE skill is released within the validity period of the Buff, one effect of the QTE skill is to invalidate the corresponding Buff. This achieves the effect of releasing the QTE and removing the Buff, thereby hiding the QTE button icon.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描 述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not described. The described order of actions is limited in that certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
为便于更好的实施本发明实施例的上述方案,下面还提供用于实施上述方案的相关装置。In order to facilitate the implementation of the above solution of the embodiments of the present invention, related devices for implementing the above solutions are also provided below.
请参阅图6a所示,本发明实施例提供的一种终端600,可以包括:事件检测模块601、基础处理模块602、附加按键加载模块603和附加处理模块604,其中,Referring to FIG. 6a, a terminal 600 according to an embodiment of the present invention may include: an event detection module 601, a basic processing module 602, an additional button loading module 603, and an additional processing module 604.
事件检测模块601,用于检测交互式应用的交互界面上是否产生对基础按键的触发事件;The event detecting module 601 is configured to detect whether a trigger event for the basic button is generated on the interactive interface of the interactive application;
基础处理模块602,用于当检测到所述基础按键被触发时,在所述交互界面上执行所述基础按键对应的基础行为,并向服务器发送基础行为完成消息;The basic processing module 602 is configured to: when detecting that the basic button is triggered, perform a basic behavior corresponding to the basic button on the interaction interface, and send a basic behavior completion message to the server;
附加按键加载模块603,用于接收所述服务器发送的附加按键激活指令,并根据所述附加按键激活指令在所述交互界面上加载附加按键,其中,所述附加按键与所述基础按键绑定、且所述附加按键在所述基础行为被执行后添加在所述交互界面上;以及An additional button loading module 603 is configured to receive an additional button activation command sent by the server, and load an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button And the additional button is added to the interaction interface after the base behavior is performed;
附加处理模块604,用于当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。The additional processing module 604 is configured to hide the additional button loaded on the interaction interface when the first event is detected.
在本发明的一些实施例中,第一事件可以为在交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断附加按键生存时间是否大于等于生存时间阈值。在这种情况下,附加处理模块604,还用于若所述附加按键生存时间大于或等于所述生存时间阈值,将所述交互界面上加载的所述附加按键隐藏,并停止检测所述附加按键的触发事件。In some embodiments of the present invention, the first event may be to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine whether the additional button lifetime is greater than or equal to the survival time threshold. In this case, the additional processing module 604 is further configured to: if the additional button lifetime is greater than or equal to the lifetime threshold, hide the additional button loaded on the interaction interface, and stop detecting the additional The trigger event of the button.
在本发明的一些实施例中,第一事件可以为在交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断附加按键生存时间是否小于生存时间阈值。在这种情况下,参阅图6b所示,所述终端600还包括:触发模块605。In some embodiments of the present invention, the first event may be to start timing the additional button survival time when the additional button is loaded on the interactive interface, and determine whether the additional button lifetime is less than the survival time threshold. In this case, referring to FIG. 6b, the terminal 600 further includes: a trigger module 605.
触发模块605,用于若所述附加按键生存时间小于所述生存时间阈值,触发所述事件检测模块检测所述交互界面上是否产生对所述附加按键的触发事 件的检测;The triggering module 605 is configured to trigger the event detecting module to detect whether the triggering of the additional button is generated on the interaction interface if the additional button lifetime is less than the lifetime threshold. Detection of parts;
所述附加处理模块604,还用于当所述事件检测模块检测到所述附加按键的触发事件后,在所述交互界面上执行所述附加按键对应的附加行为,将所述交互界面上加载的所述附加按键隐藏,并停止检测所述附加按键的触发事件。The additional processing module 604 is further configured to: after the event detecting module detects the trigger event of the additional button, perform an additional behavior corresponding to the additional button on the interaction interface, and load the interaction interface The additional button is hidden and stops detecting the trigger event of the additional button.
在本发明的一些实施例中,所述附加处理模块604,具体用于在所述交互界面上展示为所述附加按键配置的行为特效和屏幕溅字表现。In some embodiments of the present invention, the additional processing module 604 is specifically configured to display a behavioral effect and a screen splash performance configured for the additional button on the interactive interface.
在本发明的一些实施例中,所述附加按键加载模块603,具体用于接收所述服务器判断出增加后的触发点数大于点数阈值时发送的附加按键激活指令,所述服务器根据所述基础行为完成消息对与所述基础按键绑定的附加按键对应的触发点数进行增加计数,并由所述服务器记录增加后的触发点数。In some embodiments of the present invention, the additional button loading module 603 is specifically configured to receive an additional button activation command sent by the server when determining that the increased number of trigger points is greater than a threshold, the server according to the basic behavior. The completion message counts up the number of trigger points corresponding to the additional keys bound to the base button, and the number of trigger points after the increase is recorded by the server.
在本发明的一些实施例中,所述附加处理模块604,具体用于在所述附加行为执行后向所述服务器发送附加行为完成消息;以及接收所述服务器发送的附加按键失效指令,并根据所述附加按键失效指令将所述交互界面上加载的所述附加按键隐藏。In some embodiments of the present invention, the additional processing module 604 is specifically configured to send an additional behavior completion message to the server after the additional behavior is performed; and receive an additional key failure instruction sent by the server, and according to The additional key invalidation command hides the additional key loaded on the interactive interface.
在本发明的一些实施例中,所述附加按键可以包括:快速反应事件QTE按键;所述附加行为可以包括:QTE技能。In some embodiments of the invention, the additional button may include: a quick response event QTE button; the additional behavior may include: a QTE skill.
通过以上对本发明实施例的描述可知,终端在检测到基础按键被触发时,在交互界面上执行基础按键对应的基础行为,根据服务器发送的附加按键激活指令在交互界面上加载附加按键,附加按键与基础按键绑定、且附加按键在基础行为被执行后添加在交互界面上。由于附加按键只有在基础行为执行之后才会加载到交互界面上,因此附加按键不会对交互界面进行长期持续占用,减少交互界面中按键过多时导致的用户操作不方便。当交互界面中加载附加按键之后,当检测到第一事件时,将交互界面上加载的附加按键隐藏。因此本发明实施例中附加按键可以实现按需加载,并在附加行为执行之后隐藏掉附加按键,从而减少对交互界面的长期持续占用,使交互界面上的按键布局更简洁,便于用户的操作行为。Through the above description of the embodiment of the present invention, when the terminal detects that the basic button is triggered, the terminal performs the basic behavior corresponding to the basic button on the interaction interface, and loads the additional button on the interaction interface according to the additional button activation command sent by the server, and the additional button Bind to the base button, and the additional button is added to the interface after the base behavior is executed. Since the additional keys are only loaded into the interactive interface after the basic behavior is executed, the additional keys do not continuously occupy the interactive interface for a long time, and the user operation caused by too many keys in the interactive interface is inconvenient. After the additional key is loaded in the interactive interface, when the first event is detected, the additional keys loaded on the interactive interface are hidden. Therefore, in the embodiment of the present invention, the additional button can be loaded on demand, and the additional button is hidden after the additional behavior is executed, thereby reducing the long-term continuous occupation of the interaction interface, making the button layout on the interaction interface more concise, and facilitating the user's operation behavior. .
请参阅图7a所示,本发明实施例提供的一种服务器700,可以包括:接收模块701、按键获取模块702和发送模块703,其中, Referring to FIG. 7a, a server 700 according to an embodiment of the present invention may include: a receiving module 701, a button obtaining module 702, and a sending module 703, where
接收模块701,用于接收终端执行完成基础行为之后发送的基础行为完成消息;The receiving module 701 is configured to receive a basic behavior completion message sent by the terminal after performing the completion of the basic behavior;
按键获取模块702,用于从所述基础行为完成消息中获取到被触发的基础按键,并根据所述基础按键获取与所述基础按键绑定的附加按键;The button obtaining module 702 is configured to obtain a triggered basic button from the basic behavior completion message, and acquire an additional button bound to the basic button according to the basic button;
发送模块703,用于根据所述附加按键向所述终端发送附加按键激活指令,以使所述终端在交互式应用的交互界面上加载所述附加按键。The sending module 703 is configured to send an additional button activation command to the terminal according to the additional button, so that the terminal loads the additional button on the interaction interface of the interactive application.
在本发明的一些实施例中,请参阅图7b所示,所述服务器700还包括:计时模块704和第一判断模块705,其中,In some embodiments of the present invention, as shown in FIG. 7b, the server 700 further includes: a timing module 704 and a first determining module 705, where
计时模块704,用于当所述发送模块703根据所述附加按键向所述终端发送附加按键激活指令时,启动对附加按键生存时间的计时;The timing module 704 is configured to start timing the survival time of the additional button when the sending module 703 sends an additional button activation command to the terminal according to the additional button;
第一判断模块705,用于判断所述附加按键生存时间是否大于生存时间阈值;The first determining module 705 is configured to determine whether the additional button lifetime is greater than a survival time threshold;
所述发送模块703,还用于当所述附加按键生存时间大于或等于所述生存时间阈值时,向所述终端发送附加按键失效指令。The sending module 703 is further configured to send an additional button invalidation instruction to the terminal when the additional button lifetime is greater than or equal to the lifetime threshold.
在本发明的一些实施例中,所述接收模块701,还用于接收所述终端发送的附加行为完成消息;In some embodiments of the present invention, the receiving module 701 is further configured to receive an additional behavior completion message sent by the terminal;
所述发送模块703,还根据所述附加行为完成消息向所述终端发送附加按键失效指令。The sending module 703 further sends an additional key invalidation instruction to the terminal according to the additional behavior completion message.
在本发明的一些实施例中,请参阅图7c所示,相对于图7a所示,所述服务器700还包括:第一计数模块706和第二判断模块707,其中,In some embodiments of the present invention, as shown in FIG. 7c, the server 700 further includes: a first counting module 706 and a second determining module 707, wherein
第一计数模块706,用于所述按键获取模块702根据所述基础按键获取与所述基础按键绑定的附加按键之后,对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数;The first counting module 706 is configured to: after the button acquiring module 702 acquires the additional button bound to the basic button according to the basic button, increase the number of trigger points corresponding to the additional button, and record the increase Number of trigger points;
第二判断模块707,用于判断所述增加后的触发点数是否大于点数阈值;若所述增加后的触发点数大于或等于所述点数阈值,则触发执行所述发送模块根据所述附加按键向所述终端发送附加按键激活指令。The second determining module 707 is configured to determine whether the increased number of trigger points is greater than a threshold value; if the increased number of trigger points is greater than or equal to the threshold number, triggering execution of the sending module according to the additional button The terminal sends an additional key activation command.
进一步的,在本发明的一些实施例中,请参阅图7d所示,相对于图7c所示,所述服务器700还包括:第二计数模块708,其中,Further, in some embodiments of the present invention, referring to FIG. 7d, the server 700 further includes: a second counting module 708, wherein
第二计数模块708,用于所述按键获取模块702根据所述基础按键获取与 所述基础按键绑定的附加按键之后,将所述附加按键对应的点数增加次数进行重置,得到重置后的点数增加次数;所述第一计数模块对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,若所述增加后的触发点数小于所述点数阈值,对所述重置后的点数增加次数进行次数递增计数,并记录递增后的点数增加次数。a second counting module 708, configured to acquire, by the button acquiring module 702 according to the basic button After the additional button of the basic button is bound, the number of times corresponding to the additional button is increased, and the number of times of the number of points after the reset is obtained; the number of trigger points corresponding to the additional button by the first counting module After the increment is counted, and the number of trigger points after the increase is recorded, if the number of trigger points after the increase is less than the threshold of the number of points, the number of times of the number of points after the reset is counted up, and the number of increments of the number of points after the increment is recorded. .
进一步的,在本发明的一些实施例中,请参阅图7e所示,相对于图7d所示,所述服务器700还包括:定时模块709,其中,Further, in some embodiments of the present invention, referring to FIG. 7e, the server 700 further includes: a timing module 709, where
所述定时模块709,用于所述第一计数模块706对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,启动衰减开始定时器;若所述衰减开始定时器超时,对所述增加后的触发点数进行点数递减计数,并记录递减后的触发点数,启动衰减定时器;若所述衰减定时器的超时时间超过预置的衰减时间间隔,继续对所述递减后的触发点数进行次数递减计数,并更新记录递减后的触发点数,当记录的触发点数衰减到触发点数初始值时,删除所述衰减定时器并对所述点数增加次数进行重置;The timing module 709 is configured to: when the first counting module 706 increases the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase, starts the attenuation start timer; if the attenuation starts timing Timeout, counting the number of trigger points after the increase, counting the number of trigger points after decrementing, and starting the decay timer; if the timeout period of the decay timer exceeds the preset decay time interval, continue to The number of trigger points after decrement is counted down, and the number of trigger points after decrementing is updated. When the number of trigger points recorded is attenuated to the initial value of the number of trigger points, the decay timer is deleted and the number of times of the number of points is reset.
所述第一计时模块706,还用于所述定时模块在启动所述衰减定时器之后,若所述服务器接收到所述终端发送的基础行为完成消息,对与所述附加按键对应的触发点数进行增加计数,并删除所述衰减定时器以及重新启动衰减开始定时器。The first timing module 706 is further configured to: after the timing module starts the attenuation timer, if the server receives the basic behavior completion message sent by the terminal, the number of trigger points corresponding to the additional button An increase count is performed, and the decay timer is deleted and the decay start timer is restarted.
通过以上对本发明实施例的描述可知,服务器接收终端执行完成基础行为之后发送的基础行为完成消息,服务器从基础行为完成消息中获取到被触发的基础按键,并根据基础按键获取与基础按键绑定的附加按键,服务器根据附加按键向终端发送附加按键激活指令,以使终端在交互式应用的交互界面上加载附加按键。本发明实施例中服务器可以控制附加按键的激活,终端根据服务器的附加按键激活指令可以实现附加按键的按需加载,并在附加行为执行之后隐藏掉附加按键,从而减少对交互界面的长期持续占用,使交互界面上的按键布局更简洁,便于用户的操作行为。Through the above description of the embodiment of the present invention, the server receives the basic behavior completion message sent after the terminal performs the completion of the basic behavior, and the server acquires the triggered basic button from the basic behavior completion message, and acquires the basic key binding according to the basic key. The additional button, the server sends an additional button activation command to the terminal according to the additional button, so that the terminal loads the additional button on the interactive interface of the interactive application. In the embodiment of the present invention, the server can control the activation of the additional button, and the terminal can implement the on-demand loading of the additional button according to the additional button activation command of the server, and hide the additional button after the additional behavior is performed, thereby reducing the long-term continuous occupation of the interactive interface. To make the layout of the buttons on the interactive interface more concise and convenient for the user's operation behavior.
本发明实施例还提供了另一种终端,如图8所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital  Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:The embodiment of the present invention further provides another terminal. As shown in FIG. 8 , for the convenience of description, only parts related to the embodiment of the present invention are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present invention. . The terminal can be a mobile phone, a tablet, or a PDA (Personal Digital) Assistant, personal digital assistant), POS (Point of Sales), car computer and other terminal devices, taking the terminal as a mobile phone as an example:
图8示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线保真(wireless fidelity,WiFi)模块1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 8 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 8, the mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor 1080. And power supply 1090 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 8 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图8对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 8:
RF电路1010可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1080处理;另外,将设计上行的数据发送给基站。通常,RF电路1010包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1010 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 1080. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1010 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1030可用于接收输入的数字或字符信息,以及产生与手机的用 户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 can be used to receive input digital or character information, and to generate and use with a mobile phone. User settings and key signal inputs related to function control. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1040可包括显示面板1041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。进一步的,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图8中,触控面板1031与显示面板1041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现手机的输入和输出功能。The display unit 1040 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 1040 may include a display panel 1041. Alternatively, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1031 may cover the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 1041. Although the touch panel 1031 and the display panel 1041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 8, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、 相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the acceleration of each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路1060、扬声器1061,传声器1062可提供用户与手机之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010以发送给比如另一手机,或者将音频数据输出至存储器1020以便进一步处理。An audio circuit 1060, a speaker 1061, and a microphone 1062 can provide an audio interface between the user and the handset. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, sent to the other mobile phone via the RF circuit 1010, or outputted to the memory 1020 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块1070,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone through the WiFi module 1070 can help users to send and receive e-mail, browse the web and access streaming media, etc. It provides users with wireless broadband Internet access. Although FIG. 8 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器1080是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1080可包括一个或多个处理单元;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1020, and invoking data stored in the memory 1020, The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
手机还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power source 1090 (such as a battery) that supplies power to various components. Preferably, the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
在本发明实施例中,该终端所包括的处理器1080还具有控制执行以上由终端执行的方法流程。In the embodiment of the present invention, the processor 1080 included in the terminal further has a method flow for controlling execution by the terminal.
图9是本发明实施例提供的一种服务器结构示意图,该服务器1100可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1122(例如,一个或一个以上处理器)和存 储器1132,一个或一个以上存储应用程序1142或数据1144的存储介质1130(例如一个或一个以上海量存储设备)。其中,存储器1132和存储介质1130可以是短暂存储或持久存储。存储在存储介质1130的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1122可以设置为与存储介质1130通信,在服务器1100上执行存储介质1130中的一系列指令操作。FIG. 9 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 1100 may have a large difference due to different configurations or performances, and may include one or more central processing units (CPUs) 1122 (for example, , one or more processors) and A storage 1132, one or more storage media 1130 storing an application 1142 or data 1144 (eg, one or one storage device in Shanghai). The memory 1132 and the storage medium 1130 may be short-term storage or persistent storage. The program stored on storage medium 1130 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 1122 can be configured to communicate with storage medium 1130, executing a series of instruction operations in storage medium 1130 on server 1100.
服务器1100还可以包括一个或一个以上电源1126,一个或一个以上有线或无线网络接口1150,一个或一个以上输入输出接口1158,和/或,一个或一个以上操作系统1141,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Server 1100 may also include one or more power sources 1126, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1158, and/or one or more operating systems 1141, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
上述实施例中由服务器所执行的步骤可以基于该图9所示的服务器结构。The steps performed by the server in the above embodiment may be based on the server structure shown in FIG.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be further noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized. Those of ordinary skill in the art can understand and implement without any creative effort.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁 碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on. In general, functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc. However, for the purposes of the present invention, software program implementation is a better implementation in more cases. Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic A disc or optical disc or the like includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
综上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照上述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对上述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 In conclusion, the above embodiments are only used to explain the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still The technical solutions described in the above embodiments are modified, or equivalent to some of the technical features are included; and the modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (24)

  1. 一种交互式应用中的按键处理方法,包括:A key processing method in an interactive application, comprising:
    终端检测交互式应用的交互界面上是否产生对基础按键的触发事件;The terminal detects whether a trigger event for the basic button is generated on the interactive interface of the interactive application;
    当检测到所述基础按键被触发时,所述终端在所述交互界面上执行所述基础按键对应的基础行为,并向服务器发送基础行为完成消息;When detecting that the basic button is triggered, the terminal performs a basic behavior corresponding to the basic button on the interaction interface, and sends a basic behavior completion message to the server;
    所述终端接收所述服务器发送的附加按键激活指令,并根据所述附加按键激活指令在所述交互界面上加载附加按键,其中,所述附加按键与所述基础按键绑定、且所述附加按键在所述基础行为被执行后添加在所述交互界面上;以及Receiving, by the terminal, an additional button activation command sent by the server, and loading an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button, and the additional a button is added to the interactive interface after the base behavior is performed;
    当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。The additional button loaded on the interactive interface is hidden when the first event is detected.
  2. 根据权利要求1所述的方法,其中,所述第一事件为在所述交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断所述附加按键生存时间是否大于等于生存时间阈值;以及The method according to claim 1, wherein the first event is to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine whether the additional button survival time is greater than or equal to the survival time. Threshold;
    所述当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏包括:And when the first event is detected, hiding the additional button loaded on the interaction interface includes:
    若所述附加按键生存时间大于或等于所述生存时间阈值,所述终端将所述交互界面上加载的所述附加按键隐藏,并停止检测所述附加按键的触发事件。If the additional button lifetime is greater than or equal to the lifetime threshold, the terminal hides the additional button loaded on the interaction interface and stops detecting a trigger event of the additional button.
  3. 根据权利要求1所述的方法,其中,所述第一事件为所述第一事件为在所述交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断所述附加按键生存时间是否小于生存时间阈值;以及The method according to claim 1, wherein the first event is that the first event is to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine that the additional button survives Whether the time is less than the survival time threshold;
    所述当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏包括:And when the first event is detected, hiding the additional button loaded on the interaction interface includes:
    若所述附加按键生存时间小于所述生存时间阈值,所述终端检测所述交互界面上是否产生对所述附加按键的触发事件;以及If the additional button lifetime is less than the lifetime threshold, the terminal detects whether a trigger event for the additional button is generated on the interaction interface;
    当检测到所述附加按键的触发事件后,所述终端在所述交互界面上执行所述附加按键对应的附加行为,在所述附加行为执行完成后隐藏所述附加按键,并停止检测所述附加按键的触发事件。 After detecting the trigger event of the additional button, the terminal performs an additional behavior corresponding to the additional button on the interaction interface, hides the additional button after the execution of the additional behavior is completed, and stops detecting the The trigger event of the additional button.
  4. 根据权利要求3所述的方法,其中,所述终端在所述交互界面上执行所述附加按键对应的附加行为,包括:The method according to claim 3, wherein the terminal performs an additional behavior corresponding to the additional button on the interaction interface, including:
    在所述交互界面上展示为所述附加按键配置的行为特效和屏幕溅字表现。Behavioral effects and screen splash performance configured for the additional buttons are displayed on the interactive interface.
  5. 根据权利要求3或4所述的方法,其中,所述将所述交互界面上加载的所述附加按键隐藏,包括:The method according to claim 3 or 4, wherein the hiding the additional keys loaded on the interactive interface comprises:
    所述终端在所述附加行为执行后向所述服务器发送附加行为完成消息;以及The terminal transmitting an additional behavior completion message to the server after the additional behavior is performed;
    所述终端接收所述服务器发送的附加按键失效指令,并根据所述附加按键失效指令将所述交互界面上加载的所述附加按键隐藏。The terminal receives an additional key failure instruction sent by the server, and hides the additional key loaded on the interaction interface according to the additional key failure instruction.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述附加按键包括:快速反应事件QTE按键;The method according to any one of claims 1 to 5, wherein the additional button comprises: a quick response event QTE button;
    所述附加行为包括:QTE技能。The additional behavior includes: QTE skills.
  7. 一种交互式应用中的按键处理方法,包括:A key processing method in an interactive application, comprising:
    服务器接收终端执行完成基础行为之后发送的基础行为完成消息;The server receives the basic behavior completion message sent after the terminal performs the completion of the basic behavior;
    所述服务器从所述基础行为完成消息中获取到被触发的基础按键,并根据所述基础按键获取与所述基础按键绑定的附加按键;以及Obtaining, by the server, the triggered basic key from the basic behavior completion message, and acquiring an additional key bound to the basic key according to the basic key; and
    所述服务器根据所获取的附加按键向所述终端发送附加按键激活指令,以使所述终端在交互式应用的交互界面上加载所述附加按键。The server sends an additional key activation command to the terminal according to the acquired additional key, so that the terminal loads the additional key on the interactive interface of the interactive application.
  8. 根据权利要求7所述的方法,还包括:The method of claim 7 further comprising:
    当所述服务器根据所述获取的附加按键向所述终端发送附加按键激活指令时,所述服务器启动对附加按键生存时间的计时;When the server sends an additional button activation command to the terminal according to the acquired additional button, the server starts timing the additional button survival time;
    所述服务器判断所述附加按键生存时间是否大于生存时间阈值;以及Determining, by the server, whether the additional button lifetime is greater than a lifetime threshold;
    当所述附加按键生存时间大于或等于所述生存时间阈值时,所述服务器向所述终端发送附加按键失效指令。When the additional button lifetime is greater than or equal to the lifetime threshold, the server sends an additional button invalidation instruction to the terminal.
  9. 根据权利要求7所述的方法,还包括:The method of claim 7 further comprising:
    所述服务器接收所述终端发送的附加行为完成消息;以及Receiving, by the server, an additional behavior completion message sent by the terminal;
    所述服务器根据所述附加行为完成消息向所述终端发送附加按键失效指令。 The server sends an additional key invalidation instruction to the terminal according to the additional behavior completion message.
  10. 根据权利要求7至9中任一项所述的方法,其中,所述根据所述基础按键获取与所述基础按键绑定的附加按键之后,所述方法还包括:The method according to any one of claims 7 to 9, wherein after the obtaining, by the base button, an additional button bound to the base button, the method further comprises:
    所述服务器对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数;The server increases the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase;
    所述服务器判断所述增加后的触发点数是否大于点数阈值;以及Determining, by the server, whether the increased number of trigger points is greater than a threshold of a point;
    若所述增加后的触发点数大于或等于所述点数阈值,则所述服务器根据所述附加按键向所述终端发送附加按键激活指令。If the increased number of trigger points is greater than or equal to the point threshold, the server sends an additional button activation command to the terminal according to the additional button.
  11. 根据权利要求10所述的方法,其中,所述根据所述基础按键获取与所述基础按键绑定的附加按键之后,所述方法还包括:The method of claim 10, wherein the method further comprises: after the obtaining, by the base button, an additional button bound to the base button, the method further comprises:
    所述服务器将所述附加按键对应的点数增加次数进行重置,得到重置后的点数增加次数;The server resets the number of times corresponding to the additional button, and obtains the number of times of the number of points after the reset;
    所述服务器对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,所述方法还包括:After the server counts the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase, the method further includes:
    若所述增加后的触发点数小于所述点数阈值,所述服务器对所述重置后的点数增加次数进行次数递增计数,并记录递增后的点数增加次数。If the number of trigger points after the increase is less than the threshold of the number of points, the server counts the number of times of the number of points after the reset is counted, and records the number of times of increments after the increment.
  12. 根据权利要求11所述的方法,其中,所述服务器对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,所述方法还包括:The method of claim 11, wherein the method further comprises: after the server increments the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase, the method further includes:
    所述服务器启动所述衰减开始定时器;The server starts the decay start timer;
    若所述衰减开始定时器超时,所述服务器对所述增加后的触发点数进行点数递减计数,并记录递减后的触发点数,启动衰减定时器;If the attenuation start timer expires, the server counts the number of trigger points after the increase, and records the number of trigger points after decrement, and starts the attenuation timer;
    若所述衰减定时器的超时时间超过预置的衰减时间间隔,所述服务器继续对所述递减后的触发点数进行次数递减计数,并更新记录递减后的触发点数,当记录的触发点数衰减到触发点数初始值时,删除所述衰减定时器并对所述点数增加次数进行重置;If the timeout period of the fading timer exceeds a preset fading time interval, the server continues to count down the number of the decremented trigger points, and updates the number of trigger points after the record is decremented, when the number of trigger points recorded is attenuated to When the initial value of the number of points is triggered, the attenuation timer is deleted and the number of times of the number of points is reset;
    在启动所述衰减定时器之后,若所述服务器接收到所述终端发送的基础行为完成消息,所述服务器对与所述附加按键对应的触发点数进行增加计数,并删除所述衰减定时器以及重新启动衰减开始定时器。After the aging timer is started, if the server receives the basic behavior completion message sent by the terminal, the server increases the number of trigger points corresponding to the additional button, and deletes the fading timer and Restart the decay start timer.
  13. 一种终端,包括: A terminal comprising:
    事件检测模块,用于检测交互式应用的交互界面上是否产生对基础按键的触发事件;An event detecting module, configured to detect whether a trigger event of the basic button is generated on the interactive interface of the interactive application;
    基础处理模块,用于当检测到所述基础按键被触发时,在所述交互界面上执行所述基础按键对应的基础行为,并向服务器发送基础行为完成消息;a basic processing module, configured to execute a basic behavior corresponding to the basic button on the interaction interface when detecting that the basic button is triggered, and send a basic behavior completion message to the server;
    附加按键加载模块,用于接收所述服务器发送的附加按键激活指令,并根据所述附加按键激活指令在所述交互界面上加载附加按键,其中,所述附加按键与所述基础按键绑定、且所述附加按键在所述基础行为被执行后添加在所述交互界面上;以及An additional button loading module, configured to receive an additional button activation command sent by the server, and load an additional button on the interaction interface according to the additional button activation command, wherein the additional button is bound to the base button, And the additional button is added to the interaction interface after the base behavior is performed;
    附加处理模块,用于当检测到第一事件时,将所述交互界面上加载的所述附加按键隐藏。An additional processing module is configured to hide the additional button loaded on the interaction interface when the first event is detected.
  14. 根据权利要求13所述的终端,其中,所述第一事件为在所述交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断所述附加按键生存时间是否大于等于生存时间阈值;以及The terminal according to claim 13, wherein the first event is to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine whether the additional button survival time is greater than or equal to the survival time. Threshold;
    所述附加处理模块,还用于若所述附加按键生存时间大于或等于所述生存时间阈值,将所述交互界面上加载的所述附加按键隐藏,并停止检测所述附加按键的触发事件。The additional processing module is further configured to: if the additional button lifetime is greater than or equal to the lifetime threshold, hide the additional button loaded on the interaction interface, and stop detecting a trigger event of the additional button.
  15. 根据权利要求13所述的终端,其中,所述第一事件为所述第一事件为在所述交互界面上加载附加按键时,启动对附加按键生存时间的计时,并判断所述附加按键生存时间是否小于生存时间阈值;以及The terminal according to claim 13, wherein the first event is that the first event is to start timing the additional button survival time when the additional button is loaded on the interaction interface, and determine that the additional button survives Whether the time is less than the survival time threshold;
    所述终端还包括:The terminal further includes:
    触发模块,用于若所述附加按键生存时间小于所述生存时间阈值,触发所述事件检测模块对所述交互界面上是否产生对所述附加按键的触发事件的检测;以及a triggering module, configured to trigger, by the event detecting module, whether a trigger event of the additional button is generated on the interaction interface, if the survival time of the additional button is less than the survival time threshold;
    所述附加处理模块,用于当所述事件检测模块检测到所述附加按键的触发事件后,在所述交互界面上执行所述附加按键对应的附加行为,在所述附加行为执行完成后隐藏所述附加按键,并停止检测所述附加按键的触发事件。The additional processing module is configured to perform an additional behavior corresponding to the additional button on the interaction interface after the event detection module detects the trigger event of the additional button, and hide the execution after the additional behavior is completed. The additional button stops detecting the trigger event of the additional button.
  16. 根据权利要求15所述的终端,其中,所述附加处理模块,进一步用于在所述交互界面上展示为所述附加按键配置的行为特效和屏幕溅字表现。The terminal of claim 15, wherein the additional processing module is further configured to display a behavioral effect and a screen splash performance configured for the additional button on the interactive interface.
  17. 根据权利要求15或16所述的终端,其特征在于,所述附加处理模 块,进一步用于在所述附加行为执行后向所述服务器发送附加行为完成消息;以及接收所述服务器发送的附加按键失效指令,并根据所述附加按键失效指令将所述交互界面上加载的所述附加按键隐藏。A terminal according to claim 15 or 16, wherein said additional processing mode Block, further configured to send an additional behavior completion message to the server after the additional behavior is performed; and receive an additional key failure instruction sent by the server, and load the interaction interface according to the additional key failure instruction The additional keys are hidden.
  18. 根据权利要求13至17中任一项所述的终端,其中,所述附加按键包括:快速反应事件QTE按键;The terminal according to any one of claims 13 to 17, wherein the additional button comprises: a quick response event QTE button;
    所述附加行为包括:QTE技能。The additional behavior includes: QTE skills.
  19. 一种服务器,包括:A server that includes:
    接收模块,用于接收终端执行完成基础行为之后发送的基础行为完成消息;a receiving module, configured to receive a basic behavior completion message sent by the terminal after performing the basic behavior;
    按键获取模块,用于从所述基础行为完成消息中获取到被触发的基础按键,并根据所述基础按键获取与所述基础按键绑定的附加按键;以及a button obtaining module, configured to acquire a triggered basic button from the basic behavior completion message, and acquire an additional button bound to the basic button according to the basic button;
    发送模块,用于根据所获取的附加按键向所述终端发送附加按键激活指令,以使所述终端在交互式应用的交互界面上加载所述附加按键。And a sending module, configured to send an additional key activation instruction to the terminal according to the acquired additional key, so that the terminal loads the additional key on an interactive interface of the interactive application.
  20. 根据权利要求19所述的服务器,还包括:计时模块和第一判断模块,其中,The server according to claim 19, further comprising: a timing module and a first determining module, wherein
    计时模块,用于当所述发送模块根据所述附加按键向所述终端发送附加按键激活指令时,启动对附加按键生存时间的计时;a timing module, configured to start timing of an additional button survival time when the sending module sends an additional button activation command to the terminal according to the additional button;
    第一判断模块,用于判断所述附加按键生存时间是否大于生存时间阈值;a first determining module, configured to determine whether the additional button lifetime is greater than a survival time threshold;
    所述发送模块,还用于当所述附加按键生存时间大于或等于所述生存时间阈值时,向所述终端发送附加按键失效指令。The sending module is further configured to send an additional button invalidation instruction to the terminal when the additional button lifetime is greater than or equal to the lifetime threshold.
  21. 根据权利要求20所述的服务器,其特征在于,所述接收模块,还用于接收所述终端发送的附加行为完成消息;The server according to claim 20, wherein the receiving module is further configured to receive an additional behavior completion message sent by the terminal;
    所述发送模块,还根据所述附加行为完成消息向所述终端发送附加按键失效指令。The sending module further sends an additional key invalidation instruction to the terminal according to the additional behavior completion message.
  22. 根据权利要求19至21中任一项所述的服务器,其特征在于,所述服务器还包括:第一计数模块和第二判断模块,其中,The server according to any one of claims 19 to 21, wherein the server further comprises: a first counting module and a second determining module, wherein
    第一计数模块,用于所述按键获取模块根据所述基础按键获取与所述基础按键绑定的附加按键之后,对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数; a first counting module, configured to: after the button acquiring module acquires an additional button bound to the basic button according to the basic button, increase the number of trigger points corresponding to the additional button, and record the triggered trigger Points
    第二判断模块,用于判断所述增加后的触发点数是否大于点数阈值;若所述增加后的触发点数大于或等于所述点数阈值,则触发执行所述发送模块根据所述附加按键向所述终端发送附加按键激活指令。a second determining module, configured to determine whether the increased number of trigger points is greater than a threshold of a point; if the number of triggered points is greater than or equal to the threshold of the point, triggering execution of the sending module according to the additional button The terminal sends an additional button activation command.
  23. 根据权利要求22所述的服务器,其特征在于,所述服务器还包括:第二计数模块,其中,The server according to claim 22, wherein the server further comprises: a second counting module, wherein
    第二计数模块,用于所述按键获取模块根据所述基础按键获取与所述基础按键绑定的附加按键之后,将所述附加按键对应的点数增加次数进行重置,得到重置后的点数增加次数;所述第一计数模块对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,若所述增加后的触发点数小于所述点数阈值,对所述重置后的点数增加次数进行次数递增计数,并记录递增后的点数增加次数。a second counting module, configured to: after the button acquiring module acquires an additional button bound to the basic button according to the basic button, reset the number of points corresponding to the additional button to obtain a number of points after resetting Adding the number of times; the first counting module increases the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase, if the number of trigger points after the increase is less than the threshold of the point, The number of times the number of points is increased is counted up, and the number of increments of the number of points after the increment is recorded.
  24. 根据权利要求23所述的服务器,其特征在于,所述服务器还包括:定时模块,其中,The server according to claim 23, wherein the server further comprises: a timing module, wherein
    所述定时模块,用于所述第一计数模块对与所述附加按键对应的触发点数进行增加计数,并记录增加后的触发点数之后,启动衰减开始定时器;若所述衰减开始定时器超时,对所述增加后的触发点数进行点数递减计数,并记录递减后的触发点数,启动衰减定时器;若所述衰减定时器的超时时间超过预置的衰减时间间隔,继续对所述递减后的触发点数进行次数递减计数,并更新记录递减后的触发点数,当记录的触发点数衰减到触发点数初始值时,删除所述衰减定时器并对所述点数增加次数进行重置;The timing module is configured to: when the first counting module increases the number of trigger points corresponding to the additional button, and records the number of trigger points after the increase, starts the attenuation start timer; if the attenuation start timer expires And counting the number of trigger points after the increase, counting the number of trigger points after decrementing, and starting the decay timer; if the timeout period of the decay timer exceeds the preset decay time interval, continuing to the decrement The number of trigger points is counted down, and the number of trigger points after the record is decremented is updated. When the number of recorded trigger points is attenuated to the initial value of the number of trigger points, the decay timer is deleted and the number of times of the increase is reset.
    所述第一计时模块,还用于所述定时模块在启动所述衰减定时器之后,若所述服务器接收到所述终端发送的基础行为完成消息,对与所述附加按键对应的触发点数进行增加计数,并删除所述衰减定时器以及重新启动衰减开始定时器。 The first timing module is further configured to: after the timing module starts the attenuation timer, if the server receives the basic behavior completion message sent by the terminal, perform the trigger point corresponding to the additional button Increase the count and delete the decay timer and restart the decay start timer.
PCT/CN2017/095256 2016-08-04 2017-07-31 Key processing method in interactive application, terminal, and server WO2018024175A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610633109.8 2016-08-04
CN201610633109.8A CN106293461B (en) 2016-08-04 2016-08-04 Button processing method and terminal and server in a kind of interactive application

Publications (1)

Publication Number Publication Date
WO2018024175A1 true WO2018024175A1 (en) 2018-02-08

Family

ID=57664724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095256 WO2018024175A1 (en) 2016-08-04 2017-07-31 Key processing method in interactive application, terminal, and server

Country Status (2)

Country Link
CN (1) CN106293461B (en)
WO (1) WO2018024175A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796149A (en) * 2020-06-15 2020-10-20 深圳市极致汇仪科技有限公司 Vector network analyzer for entity key touch control
WO2023005705A1 (en) * 2021-07-27 2023-02-02 华为技术有限公司 Payment method, apparatus and terminal device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293461B (en) * 2016-08-04 2018-02-27 腾讯科技(深圳)有限公司 Button processing method and terminal and server in a kind of interactive application
CN108536368B (en) * 2018-03-30 2021-06-15 努比亚技术有限公司 Key using method, terminal and computer readable storage medium
CN109254650B (en) * 2018-08-02 2021-02-09 创新先进技术有限公司 Man-machine interaction method and device
CN109513208B (en) 2018-11-15 2021-04-09 深圳市腾讯信息技术有限公司 Object display method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
US20100060585A1 (en) * 2008-09-05 2010-03-11 Mitake Information Corporation On-screen virtual keyboard system
CN103425396A (en) * 2012-05-18 2013-12-04 弗曼科斯标志有限公司 Keyboard of an electronic device and actuation procedure of the keyboard
CN103793143A (en) * 2014-02-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Display method and device for user interface keys
CN106293461A (en) * 2016-08-04 2017-01-04 腾讯科技(深圳)有限公司 Button processing method in a kind of interactive application and terminal and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010045974A1 (en) * 2010-09-18 2012-03-22 Volkswagen Ag Display and operating device in a motor vehicle
CN102799359B (en) * 2012-06-20 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
US20100060585A1 (en) * 2008-09-05 2010-03-11 Mitake Information Corporation On-screen virtual keyboard system
CN103425396A (en) * 2012-05-18 2013-12-04 弗曼科斯标志有限公司 Keyboard of an electronic device and actuation procedure of the keyboard
CN103793143A (en) * 2014-02-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Display method and device for user interface keys
CN106293461A (en) * 2016-08-04 2017-01-04 腾讯科技(深圳)有限公司 Button processing method in a kind of interactive application and terminal and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796149A (en) * 2020-06-15 2020-10-20 深圳市极致汇仪科技有限公司 Vector network analyzer for entity key touch control
WO2023005705A1 (en) * 2021-07-27 2023-02-02 华为技术有限公司 Payment method, apparatus and terminal device

Also Published As

Publication number Publication date
CN106293461B (en) 2018-02-27
CN106293461A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2018024175A1 (en) Key processing method in interactive application, terminal, and server
US11857878B2 (en) Method, apparatus, and terminal for transmitting prompt information in multiplayer online battle program
CN111773696B (en) Virtual object display method, related device and storage medium
JP7379532B2 (en) Virtual object control method, device, equipment and computer program
WO2016150331A1 (en) Method and device for operating game client
WO2019109907A1 (en) Method for processing virtual resource, electronic device, and storage medium
US11270087B2 (en) Object scanning method based on mobile terminal and mobile terminal
WO2015027737A1 (en) Network interaction method, related apparatus, communications system, and storage medium
WO2020108630A1 (en) Target unit movement method and apparatus, storage medium and terminal
WO2018024258A1 (en) Virtual application attribute update method and apparatus, and storage medium
CN110559663B (en) Display control method and device for virtual rounds in game
JP6430527B6 (en) Data processing method, data processing system, and server
WO2017190680A1 (en) Device control system, method, apparatus and control device
CN112691367B (en) Data processing method and related device
JP5461723B1 (en) GAME MANAGEMENT DEVICE AND GAME MANAGEMENT DEVICE PROGRAM
CN113617028B (en) Control method, related device, equipment and storage medium for virtual prop
CN112402971A (en) Virtual object control method and device, computer equipment and storage medium
CN116531754A (en) Method and device for controlling virtual characters in game and electronic terminal
WO2019085825A1 (en) Health control method based on simulation object, and client
CN113599825B (en) Method and related device for updating virtual resources in game
CN110694278A (en) Game table combining method, game score calculating method and device and intelligent equipment
CN110743167A (en) Method and device for realizing interactive function
JP2017023295A (en) Information processor, event execution method, and event execution program
WO2017169748A1 (en) Game program, method, and information processing device comprising touch screen
CN110102056B (en) Method and device for realizing interactive function

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: 17836357

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17836357

Country of ref document: EP

Kind code of ref document: A1