Movatterモバイル変換


[0]ホーム

URL:


CN110083395B - A touch control method, electronic device, detachable part and storage medium - Google Patents

A touch control method, electronic device, detachable part and storage medium
Download PDF

Info

Publication number
CN110083395B
CN110083395BCN201910300187.XACN201910300187ACN110083395BCN 110083395 BCN110083395 BCN 110083395BCN 201910300187 ACN201910300187 ACN 201910300187ACN 110083395 BCN110083395 BCN 110083395B
Authority
CN
China
Prior art keywords
touch
touch operation
preset
detachable
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910300187.XA
Other languages
Chinese (zh)
Other versions
CN110083395A (en
Inventor
阚毅
李创奇
王巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
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 Shanghai Moaan Intelligent Technology Co ltd, Beijing Xiaomi Mobile Software Co LtdfiledCriticalShanghai Moaan Intelligent Technology Co ltd
Priority to CN201910300187.XApriorityCriticalpatent/CN110083395B/en
Publication of CN110083395ApublicationCriticalpatent/CN110083395A/en
Application grantedgrantedCritical
Publication of CN110083395BpublicationCriticalpatent/CN110083395B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种触控方法、电子设备、可拆卸部件和存储介质,其中,该方法应用于电子设备中,所述电子设备包括与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接;所述方法包括:在所述显示屏获取触控操作;根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发;根据所述触控操作生成对应的目标指令,执行所述目标指令。通过在电子设备上设置可拆卸部件,可以在不改变电子设备连接电路的基础上,为用户提供操作上的安全感。

The present disclosure relates to a touch control method, an electronic device, a detachable component and a storage medium, wherein the method is applied to an electronic device, and the electronic device includes a display screen connected to a body casing, a fixing component, and a touch response support The detachable part; wherein, the detachable part is connected to the body shell through a fixed part; the method includes: acquiring a touch operation on the display screen; determining the touch operation according to the touch characteristics of the touch operation The touch operation is triggered by the detachable component; a corresponding target instruction is generated according to the touch operation, and the target instruction is executed. By arranging detachable parts on the electronic equipment, it is possible to provide users with a sense of operational security without changing the connection circuit of the electronic equipment.

Description

Translated fromChinese
一种触控方法、电子设备、可拆卸部件和存储介质A touch control method, electronic device, detachable part and storage medium

技术领域technical field

本公开涉及电子技术领域,尤其涉及一种触控方法、电子设备、可拆卸部件和存储介质。The present disclosure relates to the field of electronic technology, and in particular to a touch control method, electronic equipment, detachable components and storage media.

背景技术Background technique

随着电子技术的发展,电子设备通常设置有触摸屏等显示屏。显示屏由于操作直观方便,已经逐步替代传统的按键设计。尤其目前的电子设备趋于大屏幕化、全屏幕化,无按键化成为电子设备的主流设计方向。With the development of electronic technology, electronic devices are usually provided with display screens such as touch screens. Due to intuitive and convenient operation, the display screen has gradually replaced the traditional button design. In particular, the current electronic equipment tends to be large-screen and full-screen, and buttonless has become the mainstream design direction of electronic equipment.

但是,在某些特定场景下,例如,需要简单重复操作的场景,物理按键更加具有实用性。物理按键通常设置有凸起或者凹陷,方便用户定位。而显示屏通常是平面的,需要用户在视觉上进行定位。此外,物理按键具有键程,在按下后具有一定的可靠性。而显示屏通常是刚性的玻璃材料,不容易确定是否操作是否有效。因此,显示屏会给用户造成一种不安全感,用户不确定触控的位置是否正确,触控后操作是否有效。However, in some specific scenarios, such as scenarios that require simple and repetitive operations, physical buttons are more practical. The physical buttons are usually provided with protrusions or depressions, which are convenient for users to locate. The display screen is usually flat, requiring the user to visually locate it. In addition, the physical keys have a key travel and have certain reliability after being pressed. And the display is usually rigid glass material, it is not easy to determine whether the operation is effective or not. Therefore, the display screen will give the user a sense of insecurity, and the user is not sure whether the position of the touch is correct and whether the operation after the touch is effective.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种触控方法、电子设备、可拆卸部件及存储介质,可以在不改变电子设备连接电路的基础上,为用户提供操作上的安全感。To overcome the problems in related technologies, the present disclosure provides a touch control method, electronic equipment, detachable components and storage media, which can provide users with a sense of security in operation without changing the connection circuit of the electronic equipment.

根据本公开的一方面,提供了一种触控方法,应用于电子设备,所述电子设备包括与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接;According to an aspect of the present disclosure, a touch control method is provided, which is applied to an electronic device, and the electronic device includes a display screen connected to a body shell, a fixed component, and a detachable component supporting a touch response; wherein, the movable The disassembly part is connected with the body shell through the fixing part;

所述方法包括:The methods include:

在所述显示屏获取触控操作;Obtain a touch operation on the display screen;

根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发;According to the touch feature of the touch operation, determine that the touch operation is triggered by the detachable component;

根据所述触控操作生成对应的目标指令,执行所述目标指令。A corresponding target instruction is generated according to the touch operation, and the target instruction is executed.

在一种可能的实现方式中,根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发,包括:In a possible implementation manner, determining that the touch operation is triggered by the detachable component according to a touch feature of the touch operation includes:

获取所述触控操作作用于所述显示屏的触控位置;Acquiring a touch position where the touch operation acts on the display screen;

当所述触控位置在预设触控位置时,确定所述触控操作由所述可拆卸部件触发。When the touch position is at the preset touch position, it is determined that the touch operation is triggered by the detachable component.

在一种可能的实现方式中,根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发,包括:In a possible implementation manner, determining that the touch operation is triggered by the detachable component according to a touch feature of the touch operation includes:

获取所述触控操作作用于所述显示屏的触控位置和触控次数;Acquiring the touch position and the number of times of touch on the display screen by the touch operation;

当所述触控位置在预设触控位置,并且,所述触控次数大于或等于预设触控次数时,确定所述触控操作由所述可拆卸部件触发。When the touch position is at a preset touch position and the touch times are greater than or equal to the preset touch times, it is determined that the touch operation is triggered by the detachable component.

在一种可能的实现方式中,所述根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发,包括:In a possible implementation manner, the determining that the touch operation is triggered by the detachable component according to the touch feature of the touch operation includes:

判断所述触控操作的触控特征是否匹配预设触控特征;judging whether the touch feature of the touch operation matches the preset touch feature;

在所述触控操作的触控特征匹配所述预设触控特征的情况下,向用户展示确认信息,所述确认信息用于提示用户选择是否安装有所述可拆卸部件;When the touch feature of the touch operation matches the preset touch feature, display confirmation information to the user, the confirmation information is used to prompt the user to select whether the detachable component is installed;

在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作由所述可拆卸部件触发。In the case of receiving a touch command on which the detachable component is installed, it is determined that the touch operation is triggered by the detachable component.

在一种可能的实现方式中,所述执行所述目标指令,包括:In a possible implementation manner, the executing the target instruction includes:

对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽。Shielding or unshielding the touch operation of the preset touch area of the display screen.

在一种可能的实现方式中,所述对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽,包括:In a possible implementation manner, the shielding or canceling the touch operation of the preset touch area of the display screen includes:

在所述触控操作满足预设操作条件时,对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽;所述预设操作条件包括以下至少一种条件:When the touch operation satisfies a preset operation condition, the touch operation of the preset touch area of the display screen is shielded or canceled; the preset operation condition includes at least one of the following conditions:

触控位置为预设触控位置;触控时长大于或等于预设触控时长;触控次数等于预设触控次数;触控面积等于预设触控面积;触控点形状为预设形状。The touch position is the preset touch position; the touch duration is greater than or equal to the preset touch duration; the touch times are equal to the preset touch times; the touch area is equal to the preset touch area; the touch point shape is the preset shape .

在一种可能的实现方式中,在确定所述触控操作由所述可拆卸部件触发之后,还包括:In a possible implementation manner, after determining that the touch operation is triggered by the detachable component, further include:

根据所述可拆卸部件触控所述显示屏的触控位置,对当前所述显示屏的显示界面进行调整,使所述可拆卸部件不遮挡所述显示界面的显示内容。According to the touch position where the detachable component touches the display screen, the current display interface of the display screen is adjusted so that the detachable component does not block the display content of the display interface.

根据本公开的另一方面,提供了一种电子设备,包括:与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接;According to another aspect of the present disclosure, an electronic device is provided, including: a display screen connected to a body casing, a fixing component, and a detachable component supporting touch response; wherein, the detachable component is connected to the Body shell connection;

所述电子设备还包括:The electronic equipment also includes:

获取模块,用于在所述显示屏获取触控操作;An acquisition module, configured to acquire a touch operation on the display screen;

确定模块,用于根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发;A determination module, configured to determine that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;

执行模块,用于根据所述触控操作生成对应的目标指令,执行所述目标指令。An execution module, configured to generate a corresponding target instruction according to the touch operation, and execute the target instruction.

在一种可能的实现方式中,所述确定模块包括:In a possible implementation manner, the determining module includes:

第一获取子模块,用于获取所述可拆卸部件作用于所述显示屏的触控位置;A first acquiring submodule, configured to acquire the touch position of the detachable component acting on the display screen;

第一确定子模块,用于当所述触控位置在预设触控位置时,确定所述触控操作由所述可拆卸部件触发。The first determining submodule is configured to determine that the touch operation is triggered by the detachable component when the touch position is at a preset touch position.

在一种可能的实现方式中,所述确定模块包括:In a possible implementation manner, the determining module includes:

第二获取子模块,用于获取所述可拆卸部件作用于所述显示屏的触控位置和触控次数;The second acquisition sub-module is used to acquire the touch position and the number of touch times of the detachable component acting on the display screen;

第二确定子模块,用于当所述触控位置在预设触控位置,并且,所述触控次数大于或等于预设触控次数时,确定所述触控操作由所述可拆卸部件触发。The second determination sub-module is used to determine that the touch operation is performed by the detachable part when the touch position is at a preset touch position and the touch times are greater than or equal to the preset touch times. trigger.

在一种可能的实现方式中,所述确定模块包括:In a possible implementation manner, the determining module includes:

判断子模块,用于判断所述触控操作的触控特征是否匹配预设触控特征;A judging submodule, configured to judge whether the touch feature of the touch operation matches the preset touch feature;

所述显示屏,用于在所述触控操作的触控特征匹配所述预设触控特征的情况下,向用户展示确认信息,所述确认信息用于提示用户选择是否安装有所述可拆卸部件;The display screen is configured to display confirmation information to the user when the touch feature of the touch operation matches the preset touch feature, and the confirmation information is used to prompt the user to choose whether to install the Disassemble parts;

第二确定子模块,用于在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作由所述可拆卸部件触发。The second determination sub-module is configured to determine that the touch operation, when receiving a touch command with the detachable component installed, It is determined that the touch operation is triggered by the detachable component.

在一种可能的实现方式中,所述执行模块,具体用于对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽。In a possible implementation manner, the execution module is specifically configured to shield or cancel the touch operation of the preset touch area of the display screen.

在一种可能的实现方式中,所述执行模块,具体用于在所述目标触控操作满足预设操作条件时,对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽;所述预设操作条件包括以下至少一种条件:In a possible implementation manner, the execution module is specifically configured to shield or cancel the touch operation of the preset touch area of the display screen when the target touch operation satisfies a preset operation condition shielding; the preset operating conditions include at least one of the following conditions:

目标触控操作的触控位置为预设触控位置;目标触控操作的触控时长大于或等于预设触控时长;目标触控操作的触控次数等于预设触控次数;目标触控操作的触控面积等于预设触控面积;目标触控操作的触控点形状为预设形状。The touch position of the target touch operation is the preset touch position; the touch duration of the target touch operation is greater than or equal to the preset touch duration; the touch times of the target touch operation are equal to the preset touch times; the target touch The touch area of the operation is equal to the preset touch area; the shape of the touch point of the target touch operation is the preset shape.

在一种可能的实现方式中,所述电子设备还包括:In a possible implementation manner, the electronic device further includes:

调整模块,用于根据所述可拆卸部件触控所述显示屏的触控位置,对当前所述显示屏的显示界面进行调整,使所述可拆卸部件不遮挡所述显示界面的显示内容。The adjustment module is configured to adjust the current display interface of the display screen according to the touch position where the detachable component touches the display screen, so that the detachable component does not block the display content of the display interface.

根据本公开的另一方面,提供了一种可拆卸部件,所述可拆卸部件设置于如上所述的电子设备上,所述电子设备包括与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接。According to another aspect of the present disclosure, there is provided a detachable part, the detachable part is set on the above-mentioned electronic device, and the electronic device includes a display screen connected to the body casing, a fixing part, a touch-supporting A corresponding detachable part; wherein, the detachable part is connected with the body shell through a fixed part.

根据本公开的另一方面,提供了一种电子设备,包括:According to another aspect of the present disclosure, an electronic device is provided, including:

与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接;A display screen connected to the body shell, a fixed component, and a detachable component supporting touch response; wherein, the detachable component is connected to the body shell through a fixed component;

处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述方法。A processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.

根据本公开的另一方面,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其中,所述计算机程序指令被处理器执行时实现上述方法。According to another aspect of the present disclosure, there is provided a non-volatile computer-readable storage medium on which computer program instructions are stored, wherein the above-mentioned method is implemented when the computer program instructions are executed by a processor.

本公开的实施例提供的技术方案可以包括以下有益效果:本公开实施例提供的触控方案,可以应用于电子设备中,电子设备可以设置有可拆卸部件。电子设备在显示屏获取触控操作,然后可以根据触控操作的触控特征,确定触控操作由可拆卸附件触发,从而可以根据触控操作生成对应的目标指令,并执行目标指令。第一,由于电子设备可以设有可拆卸部件,用户可以利用可拆卸部件实现对电子设备控制。第二,在不增加额外的适配电路以及不改变电子设备电路连接方式的情况下,使用户通过可拆卸部件操控电子设备,从而使用户在操作上具有安全感。第三,可拆卸部件可以方便拆卸,从而可以实现即装即用,不占用电子设备的空间。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the touch control solutions provided by the embodiments of the present disclosure may be applied to electronic devices, and the electronic devices may be provided with detachable components. The electronic device obtains a touch operation on the display screen, and then can determine that the touch operation is triggered by a detachable accessory according to the touch characteristics of the touch operation, so that a corresponding target instruction can be generated according to the touch operation, and the target instruction can be executed. First, since the electronic device can be provided with detachable parts, the user can use the detachable parts to control the electronic device. Second, the user can manipulate the electronic device through detachable parts without adding an additional adaptation circuit and without changing the circuit connection method of the electronic device, so that the user has a sense of security in operation. Thirdly, the detachable parts can be easily disassembled, so that installation and use can be realized immediately without occupying the space of the electronic equipment.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1示出根据本公开一实施例的触控方法的流程图。FIG. 1 shows a flow chart of a touch method according to an embodiment of the disclosure.

图2示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。FIG. 2 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.

图3示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。FIG. 3 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.

图4示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。FIG. 4 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.

图5示出根据本公开一实施例的电子设备的框图。FIG. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.

图6示出根据本公开一实施例的电子设备的框图。FIG. 6 shows a block diagram of an electronic device according to an embodiment of the present disclosure.

图7示出根据本公开一实施例的一种电子设备的框图。Fig. 7 shows a block diagram of an electronic device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.

另外,为了更好的说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present disclosure may be practiced without some of the specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the gist of the present disclosure.

图1是根据一示例性实施例示出的一种触控方法的流程图,触控方法可以应用于电子设备中,该电子设备包括与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,可拆卸部件通过固定部件与本体外壳连接。如图1所示,该触控方法包括以下步骤。Fig. 1 is a flow chart of a touch control method according to an exemplary embodiment. The touch control method can be applied to an electronic device, and the electronic device includes a display screen connected to the body shell, a fixing component, and a touch response A detachable part; wherein, the detachable part is connected to the body shell through a fixed part. As shown in FIG. 1 , the touch method includes the following steps.

在步骤11中,在所述显示屏获取触控操作。In step 11, a touch operation is acquired on the display screen.

在本公开实施例中,电子设备可以包括本体外壳和显示屏,该显示屏可以是触控屏。电子设备还可以包括可拆卸部件。可拆卸部件可以通过固定部件与本体外壳连接。这里,固定部件可以是用于固定的部件,可以将可拆卸部件的一端固定连接在本体外壳上,例如,凹槽、卡扣等部件。可拆卸部件在被固定在本体外壳之后,可以在力的作用下与电子设备的显示屏接触。电子设备可以通过显示屏接收触控操作。这里的触控操作可以是用户触摸显示屏的触控操作,还可以是可拆卸部件的另一端在压力作用下触控电子设备的显示屏的触控操作。In an embodiment of the present disclosure, the electronic device may include a body casing and a display screen, and the display screen may be a touch screen. Electronic devices may also include detachable components. The detachable part can be connected with the body shell through the fixed part. Here, the fixing component may be a component for fixing, and one end of the detachable component may be fixedly connected to the body shell, for example, a groove, a buckle and other components. After the detachable part is fixed on the body shell, it can contact the display screen of the electronic device under the action of force. An electronic device can receive a touch operation through a display screen. The touch operation here may be a touch operation in which the user touches the display screen, or a touch operation in which the other end of the detachable component touches the display screen of the electronic device under pressure.

在步骤12中,根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发。In step 12, according to the touch feature of the touch operation, it is determined that the touch operation is triggered by the detachable component.

这里,电子设备在获取触控操作之后,可以获取触控操作的触控特征,然后根据触控操作的触控特征,判断获取的触控操作是否为可拆卸部件的触控操作,确定触控操作是由可拆卸部件触发的触控操作。在确定触控操作由可拆卸部件触发时,可以将获取的触控特征与可拆卸部件的触控特征进行对比,如果获取的触控特征与可拆卸部件的触控特征匹配,可以确定获取的触控操作为由可拆卸部件触发。进行对比的触控特征可以包括以下至少一种特征:触控位置;触控时长;触控次数;触控面积;触控点形状。Here, after acquiring the touch operation, the electronic device can acquire the touch feature of the touch operation, and then judge whether the acquired touch operation is a touch operation of a detachable part according to the touch feature of the touch operation, and determine whether the touch operation is a touch operation of a detachable part. Actions are touch actions triggered by detachable parts. When it is determined that the touch operation is triggered by the detachable component, the acquired touch feature can be compared with the touch feature of the detachable component, and if the acquired touch feature matches the touch feature of the detachable component, it can be determined that the acquired Touch operations are triggered by detachable parts. The touch features for comparison may include at least one of the following features: touch position; touch duration; touch times; touch area; touch point shape.

在步骤13中,根据所述触控操作生成对应的目标指令,执行所述目标指令。In step 13, a corresponding target instruction is generated according to the touch operation, and the target instruction is executed.

这里,电子设备在确定获取的触控操作是由可拆卸部件触发的触控操作的情况下,可以根据该触控操作对应的目标指令,并执行目标指令指示的操作。需要说明的是,触控操作的触控特征不同,触控操作对应的目标指令可以不同。例如,触控操作为一次点击操作,触控操作对应的目标指令可以是页面切换操作;触控操作为连续两次点击操作,触控操作对应的目标指令可以是打开或关闭操作。Here, when the electronic device determines that the acquired touch operation is a touch operation triggered by a detachable component, the electronic device may perform an operation indicated by the target instruction according to a target instruction corresponding to the touch operation. It should be noted that the touch operation features are different, and the target instructions corresponding to the touch operation may be different. For example, the touch operation is a click operation, and the target instruction corresponding to the touch operation may be a page switching operation; the touch operation is two consecutive click operations, and the target instruction corresponding to the touch operation may be an opening or closing operation.

通过上述公开实施例提供的触控方法,电子设备可以根据可拆卸部件的触控特征,执行与触控操作对应的目标指令,实现由可拆卸部件的触控操作对电子设备进行控制。可拆卸部件可以代替按钮为用户提供键程和力的回馈感,使用户通过可拆卸部件对电子设备进行操作时具有操作上的安全感,并且可以减少用户对电子设备的触碰造成的误操作。Through the touch control method provided by the above disclosed embodiments, the electronic device can execute a target instruction corresponding to the touch operation according to the touch feature of the detachable component, so that the electronic device can be controlled by the touch operation of the detachable component. The detachable part can replace the button to provide the user with a sense of key stroke and force feedback, so that the user has a sense of operational security when operating the electronic device through the detachable part, and can reduce misoperation caused by the user's touch on the electronic device.

本公开实施例提供的触控方案,可以在显示屏获取触控操作,然后根据触控操作的触控特征,可以判断是否为电子设备的可拆卸部件触控显示屏的触控操作,在确定触控操作是由可拆卸部件触发的触控操作之后,可以根据可拆卸部件的触控操作生成对应的目标指令,并执行目标指令,从而可以实现通过电子设备上设置的可拆卸部件对电子设备进行控制。The touch solution provided by the embodiments of the present disclosure can obtain the touch operation on the display screen, and then according to the touch characteristics of the touch operation, it can be judged whether it is a touch operation of the detachable part of the electronic device. After a touch operation is a touch operation triggered by a detachable component, a corresponding target command can be generated according to the touch operation of the detachable component, and the target command can be executed, so that the electronic device can be controlled by the detachable component set on the electronic device. Take control.

在相关技术中,电子设备的显示屏通常为全面屏,用户通过在显示屏上进行触控操作控制电子设备。但是,由于显示屏不具有物理按键的键程,用户无法确定触控操作是否有效,或者,用户会由于一些不经意的触碰导致误操作现象,可见,用户在显示屏的直接触控不具有安全性。而对于具有固定的物理按键的电子设备而言,电子设备可以在外壳设置连接触点,连接触点连接电子设备内部电路。这种物理按键的设置方式会增加电子设备内部电路设计的复杂性,并且会破坏外壳的整体性,影响美感,增加电子设备成本。同时,通过物理按键的连接触点的阻抗容易受到腐蚀而损坏,可靠性上存在一定的风险。而对于通过无线技术设置物理按键的方式而言,需要为电子设备和物理按键设置配对连接、电源管理等使用流程,会增减物理按键的软硬件设计要求和功耗开销。本公开实施例提供的电子设备设置有可拆卸部件,可拆卸附件的结构简单,成本低,与电子设备之间无需适配,即装即用,为使用显示屏直接进行触控的用户提供可靠的按键选择,增强用户的使用体验。In related technologies, the display screen of an electronic device is usually a full screen, and a user controls the electronic device by performing touch operations on the display screen. However, since the display screen does not have the key travel of physical keys, the user cannot determine whether the touch operation is effective, or the user may cause misoperation due to some inadvertent touches. It can be seen that the user's direct touch on the display screen is not safe. sex. For an electronic device with fixed physical keys, the electronic device may be provided with connection contacts on the housing, and the connection contacts are connected to the internal circuit of the electronic device. This arrangement of physical keys will increase the complexity of the internal circuit design of the electronic device, and will destroy the integrity of the casing, affect the aesthetic feeling, and increase the cost of the electronic device. At the same time, the impedance of the connection contacts through the physical buttons is easily corroded and damaged, and there is a certain risk in reliability. For the way of setting physical buttons through wireless technology, it is necessary to set up the use process such as pairing connection and power management for electronic devices and physical buttons, which will increase or decrease the software and hardware design requirements and power consumption of physical buttons. The electronic equipment provided by the embodiments of the present disclosure is provided with detachable parts. The detachable accessories are simple in structure and low in cost, and do not need to be adapted to the electronic equipment. The selection of buttons enhances the user experience.

本公开实施例中电子设备可以根据触控操作的触控特征,确定触控操作由可拆卸部件触发,下面对本公开实施例提供的确定触控操作由可拆卸部件触发进行示例性说明。In the embodiment of the present disclosure, the electronic device may determine that the touch operation is triggered by a detachable component according to the touch characteristics of the touch operation. The determination that the touch operation is triggered by the detachable component provided in the embodiment of the present disclosure is exemplified below.

在一种可能的实现方式中,电子设备可以根据触控位置确定触控操作是否为可拆卸部件触发的触控操作。图2示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。如图2所示,确定触发操作由可拆卸部件触发可以包括:In a possible implementation manner, the electronic device may determine whether the touch operation is a touch operation triggered by a detachable component according to the touch position. FIG. 2 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in Figure 2, determining that the triggering operation is triggered by a detachable component may include:

在步骤1211中,获取所述触控操作作用于所述显示屏的触控位置;In step 1211, acquire the touch position where the touch operation acts on the display screen;

在步骤1212中,当所述触控位置在预设触控位置时,确定所述触控操作由所述可拆卸部件触发。In step 1212, when the touch position is at a preset touch position, it is determined that the touch operation is triggered by the detachable component.

这里,触控操作的触控特征可以为触控位置。电子设备在显示屏获取触控操作之后,可以获取触控操作在显示屏的触控位置,然后可以将获取的触控位置与预设触控位置进行对比,如果获取的触控位置与预设触控位置匹配,可以确定获取的触控操作是由可拆卸部件触发的触控操作。Here, the touch feature of the touch operation may be a touch position. After the electronic device obtains the touch operation on the display screen, it can obtain the touch position of the touch operation on the display screen, and then compare the obtained touch position with the preset touch position. If the obtained touch position is different from the preset touch position The touch position is matched, and it can be determined that the acquired touch operation is a touch operation triggered by a detachable component.

在一种可能的实现方式中,为了避免误判,电子可以根据触控次数和触控位置确定触控操作是否为可拆卸部件触发的触控操作。图3示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。如图3所示,确定触发操作由可拆卸部件触发可以包括:In a possible implementation manner, in order to avoid misjudgment, the electronics may determine whether the touch operation is a touch operation triggered by a detachable component according to the number of touch times and the touch position. FIG. 3 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in Figure 3, determining that the triggering operation is triggered by a detachable component may include:

在步骤1221中,获取所述触控操作作用于所述显示屏的触控位置和触控次数;In step 1221, acquire the touch position and touch times of the touch operation on the display screen;

在步骤1222中,当所述触控位置在预设触控位置,并且,所述触控次数大于或等于预设触控次数时,确定所述触控操作由所述可拆卸部件触发。In step 1222, when the touch position is at the preset touch position and the touch times are greater than or equal to the preset touch times, it is determined that the touch operation is triggered by the detachable component.

这里,触控操作的触控特征可以为触控位置和触控次数。电子设备在显示屏获取触控操作之后,可以获取触控操作在显示屏的触控位置和触控次数,这里的触控次数可以是电子设备在预设的触控间隔时间内获取的触控次数。如果触控位置与预设触控位置匹配,并且,触控次数超过预设触控次数,则可以确定触控操作由可拆卸部件触发。例如,可以获取触控操作连续多次作用于显示屏的触控位置,如果获取的连续多次的触控位置均与预设触控位置匹配,则可以确定获取的触控操作是由可拆卸部件触发的触控操作。Here, the touch characteristics of the touch operation may be touch position and touch times. After the electronic device obtains the touch operation on the display screen, it can obtain the touch position and the number of times of the touch operation on the display screen, where the number of touches can be the touch times obtained by the electronic device within a preset touch interval frequency. If the touch position matches the preset touch position, and the touch times exceed the preset touch times, it can be determined that the touch operation is triggered by the detachable component. For example, it is possible to obtain the touch positions that the touch operation acts on the display screen multiple times in succession. If the acquired touch positions match the preset touch positions, it can be determined that the acquired touch operations are performed by the detachable Touch actions triggered by widgets.

需要说明的是,电子设备可以根据触控特征中的一种或多种触控特征确定触控操作是否由可拆卸附件触发。触控特征可以包括:触控位置;触控时长;触控次数;触控面积;触控点形状。例如,电子设备可以将触控位置、触控面积、触控点形状等多维度信息作为判断的依据,有助于减少误判,提升电子设备自动识别的准确率。以上方式可以根据实际情况进行选择或叠加使用。It should be noted that the electronic device may determine whether the touch operation is triggered by the detachable accessory according to one or more touch characteristics in the touch characteristics. The touch feature may include: touch position; touch duration; touch times; touch area; touch point shape. For example, electronic devices can use multi-dimensional information such as touch position, touch area, and touch point shape as the basis for judgment, which helps to reduce misjudgments and improve the accuracy of automatic identification of electronic devices. The above methods can be selected or superimposed according to the actual situation.

在一种可能的实现方式中,为了区分触发操作是由可拆卸部件触发还是由手指触发,可以通过用户确认的方式。图4示出根据本公开一实施例的确定触控操作由可拆卸部件触发的流程图。如图4所示,确定触发操作由可拆卸部件触发可以包括:In a possible implementation manner, in order to distinguish whether the trigger operation is triggered by a detachable component or a finger, a user confirmation may be used. FIG. 4 shows a flow chart of determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in Figure 4, determining that the triggering operation is triggered by a detachable component may include:

在步骤1231中,判断所述触控操作的触控特征是否匹配预设触控特征;In step 1231, determine whether the touch feature of the touch operation matches a preset touch feature;

在步骤1232中,在所述触控操作的触控特征匹配所述预设触控特征的情况下,向用户展示确认信息,所述确认信息用于提示用户选择是否安装有所述可拆卸部件;In step 1232, if the touch feature of the touch operation matches the preset touch feature, display confirmation information to the user, the confirmation information is used to prompt the user to select whether the detachable component is installed ;

在步骤1233中,在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作由所述可拆卸部件触发。In step 1233, in the case of receiving a touch instruction that the detachable component is installed, it is determined that the touch operation is triggered by the detachable component.

这里,电子设备在显示屏获取触控操作之后,可以获取触控操作在显示屏的触控特征,这里的触控特征可以包括以下一种或多种特征:触控位置;触控时长;触控次数;触控面积;触控点形状,例如获取触控操作的触控位置。如果触控特征与预设触控特征匹配,则可以通过显示屏向用户展示确认信息,提示用户对是否安装有可拆卸附件进行确认,如果接收到安装有可拆卸部件的触控指令的情况下,则可以确定触控操作是由可拆卸部件触发的触控操作。Here, after the electronic device obtains the touch operation on the display screen, it can obtain the touch characteristics of the touch operation on the display screen, where the touch characteristics may include one or more of the following characteristics: touch position; touch duration; touch Control times; touch area; touch point shape, such as obtaining the touch position of the touch operation. If the touch feature matches the preset touch feature, a confirmation message can be displayed to the user through the display screen, prompting the user to confirm whether a detachable accessory is installed, and if a touch command with a detachable part is received , it can be determined that the touch operation is a touch operation triggered by a detachable component.

在上述步骤13中,电子设备在确定由可拆卸部件触发的触控操作之后,可以根据触控操作生成对应的目标指令,并执行该目标指令。下面对执行目标指令的过程进行示例性说明。In the above step 13, after determining the touch operation triggered by the detachable component, the electronic device may generate a corresponding target instruction according to the touch operation, and execute the target instruction. The following is an exemplary description of the process of executing the target instruction.

在一种可能的实现方式中,电子设备在确定触控操作是由可拆卸部件触发的触控操作之后,可以对显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽。举例来说,在阅读的场景下,电子设备的使用功能比较简单,最常用功能的就是翻页,如果电子设备没有设置按键,用户在手持电子设备时手指可能会接触到显示屏,造成电子设备的翻页等误操作。在为电子设备设置可拆卸部件后,当用户按下可拆卸部件时,可以禁用显示屏翻页区域的触控操作,从而禁用翻页区域的翻页功能或调整功能,这样用户可以更加随意的持握电子设备。In a possible implementation manner, after the electronic device determines that the touch operation is a touch operation triggered by a detachable component, it may shield or unshield the touch operation of the preset touch area of the display screen. For example, in the reading scene, the functions of electronic devices are relatively simple, and the most commonly used function is to turn pages. If the electronic device does not have buttons, the user's fingers may touch the display screen when holding the electronic device, causing the electronic device to Page turning and other misoperations. After the detachable part is set for the electronic device, when the user presses the detachable part, the touch operation of the page turning area of the display screen can be disabled, thereby disabling the page turning function or adjustment function of the page turning area, so that the user can more freely Handle electronic devices.

再例如,在游戏的场景中,用户操作的灵活性受到特定持握姿势的影响,显示屏的某些位置会不方便触摸。相应地,可以将显示屏的某些位置的操作功能设置为可拆卸部件对应的目标指令,从而增加电子设备的触控方式。For another example, in the game scene, the flexibility of the user's operation is affected by a specific holding posture, and some positions of the display screen are inconvenient to touch. Correspondingly, the operation functions of certain positions of the display screen can be set as target instructions corresponding to the detachable components, thereby increasing the touch control mode of the electronic device.

在一种可能的实现方式中,电子设备在确定触控操作是由可拆卸部件触发的触控操作之后,可以根据所述可拆卸部件触控所述显示屏的触控位置,对当前所述显示屏的显示界面进行调整,使所述可拆卸部件不遮挡所述显示界面的显示内容。目前电子设备的显示屏向超窄边框和超高屏占比的方向发展,可拆卸部件如果设计在显示屏的正面会遮挡屏幕的显示区域,从而可以在确定触控操作为可拆卸部件的触控操作时,对显示界面进行调整。需要说明的是,对显示界面进行调整可以在首次确定电子设备安装有可拆卸部件之后进行,并且保持调整之后的显示界面。首次之后可拆卸部件的触控操作可以不再对显示界面进行调整。In a possible implementation manner, after the electronic device determines that the touch operation is triggered by a detachable component, it may, according to the touch position where the detachable component touches the display screen, The display interface of the display screen is adjusted so that the detachable component does not block the display content of the display interface. At present, the display screens of electronic devices are developing in the direction of ultra-narrow bezels and ultra-high screen-to-body ratios. If detachable parts are designed on the front of the display screen, the display area of the screen will be blocked, so that the touch operation can be determined as a detachable part. During the control operation, adjust the display interface. It should be noted that the adjustment of the display interface can be performed after first determining that the electronic device is equipped with detachable parts, and the adjusted display interface can be maintained. After the first touch operation of the detachable parts, the display interface can no longer be adjusted.

需要说明的是,尽管以阅读和游戏场景作为示例介绍的触控方法如上,但本领域技术人员能够理解,本公开应不限于此。事实上,用户完全可根据个人喜好和/或实际应用场景灵活设定应用场景和目标指令,只要使用本公开实施例提供的触控方案即可。It should be noted that although the touch methods described above are described by taking reading and game scenarios as examples, those skilled in the art can understand that the present disclosure should not be limited thereto. In fact, users can flexibly set application scenarios and target instructions according to personal preferences and/or actual application scenarios, as long as the touch control solution provided by the embodiments of the present disclosure is used.

这样,通过在电子设备上设置可拆卸部件,用户可以利用可拆卸部件实现对电子设备控制。同时,在不增加额外的适配电路以及不改变电子设备电路连接方式的情况下,使用户通过可拆卸部件操控电子设备,从而使用户在操作上具有安全感。此外,可拆卸部件可以方便拆卸,从而可以实现即装即用,不占用电子设备的空间。In this way, by setting the detachable part on the electronic device, the user can control the electronic device by using the detachable part. At the same time, the user can manipulate the electronic device through the detachable parts without adding an additional adaptation circuit and without changing the circuit connection mode of the electronic device, so that the user has a sense of security in operation. In addition, the detachable parts can be easily disassembled, so that it can be installed and used immediately without occupying the space of the electronic equipment.

基于与上述触控方法同样的发明构思,本公开实施例还提供了一种电子设备。图5示出根据本公开一实施例的电子设备的框图。该电子设备包括:与本体外壳51相连的显示屏52、固定部件53、支持触控响应的可拆卸部件54;其中,可拆卸部件54通过固定部件53与本体外壳51连接。Based on the same inventive concept as the above-mentioned touch control method, an embodiment of the present disclosure also provides an electronic device. FIG. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device includes: a display screen 52 connected to a body shell 51 , a fixing part 53 , and a detachable part 54 supporting touch response; wherein the detachable part 54 is connected to the body shell 51 through the fixing part 53 .

如图5所示,图5的正面图示出了电子设备在装配有可拆卸部件54的效果图,可拆卸部件54安装于电子设备,可拆卸部件54的一端在处于按压状态时可以与电子设备的显示屏52接触,从而产生触控操作。可拆卸部件54的另一端通过固定部件53连接在电子设备的本体外壳51上。这里,可拆卸部件54可以呈U型。图5的背面图示出了电子设备未装配可拆卸部件54的效果图。电子设备的本体外壳51具有固定部件53,固定部件可以是凹槽、卡扣等部件。可拆卸部件54沿箭头方向可以通过固定部件53连接在电子设备的本体外壳51上。As shown in Figure 5, the front view of Figure 5 shows the effect diagram of the electronic device equipped with a detachable part 54, the detachable part 54 is installed on the electronic device, and one end of the detachable part 54 can be connected with the electronic The display screen 52 of the device is touched, thereby generating a touch operation. The other end of the detachable part 54 is connected to the body casing 51 of the electronic device through the fixing part 53 . Here, the detachable part 54 may be U-shaped. The rear view of FIG. 5 shows the rendering of the electronic device without the detachable part 54 . The body casing 51 of the electronic device has a fixing part 53, and the fixing part may be a groove, a buckle or the like. The detachable part 54 can be connected to the body casing 51 of the electronic device through the fixing part 53 along the direction of the arrow.

图6是根据一示例性实施例示出的一种电子设备的框图。参照图6,该电子设备还包括获取模块61,确定模块62和执行模块63。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment. Referring to FIG. 6 , the electronic device further includes an acquisition module 61 , a determination module 62 and an execution module 63 .

该获取模块61被配置为在所述显示屏获取触控操作;The obtaining module 61 is configured to obtain a touch operation on the display screen;

该确定模块62被配置为根据所述触控操作的触控特征,确定所述触控操作由所述可拆卸部件触发;The determination module 62 is configured to determine that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;

该执行模块63被配置为根据所述触控操作生成对应的目标指令,执行所述目标指令。The execution module 63 is configured to generate a corresponding target instruction according to the touch operation, and execute the target instruction.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

在一种可能的实现方式中,所述确定模块62包括第一获取子模块和第一确定子模块。In a possible implementation manner, the determining module 62 includes a first obtaining submodule and a first determining submodule.

第一获取子模块被配置为获取所述可拆卸部件作用于所述显示屏的触控位置;The first obtaining submodule is configured to obtain the touch position of the detachable component acting on the display screen;

第一确定子模块被配置为当所述触控位置在预设触控位置时,确定所述触控操作由所述可拆卸部件触发。The first determining submodule is configured to determine that the touch operation is triggered by the detachable component when the touch position is at a preset touch position.

在一种可能的实现方式中,所述确定模块62包括第二获取子模块和第二确定子模块。In a possible implementation manner, the determining module 62 includes a second acquiring submodule and a second determining submodule.

第二获取子模块被配置为获取所述可拆卸部件作用于所述显示屏的触控位置和触控次数;The second obtaining submodule is configured to obtain the touch position and the number of touches that the detachable component acts on the display screen;

第二确定子模块被配置为当所述触控位置在预设触控位置,并且,所述触控次数大于或等于预设触控次数时,确定所述触控操作由所述可拆卸部件触发。The second determining submodule is configured to determine that the touch operation is performed by the detachable part when the touch position is at a preset touch position and the number of touch times is greater than or equal to the preset number of touch times. trigger.

在一种可能的实现方式中,所述确定模块62包括判断子模块和第二确定子模块。In a possible implementation manner, the determining module 62 includes a judging submodule and a second determining submodule.

判断子模块被配置为判断所述触控操作的触控特征是否匹配预设触控特征;The judging submodule is configured to judge whether the touch feature of the touch operation matches a preset touch feature;

所述显示屏被配置为在所述触控操作的触控特征匹配所述预设触控特征的情况下,向用户展示确认信息,所述确认信息用于提示用户选择是否安装有所述可拆卸部件;The display screen is configured to display confirmation information to the user when the touch feature of the touch operation matches the preset touch feature, and the confirmation information is used to prompt the user to choose whether to install the Disassemble parts;

第二确定子模块被配置为在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作在接收到安装有所述可拆卸部件的触控指令的情况下,确定所述触控操作由所述可拆卸部件触发。The second determination sub-module is configured to determine that the touch operation, when receiving a touch command with the detachable component installed, It is determined that the touch operation is triggered by the detachable component.

在一种可能的实现方式中,所述执行模块63被配置为对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽。In a possible implementation manner, the execution module 63 is configured to shield or cancel the touch operation of the preset touch area of the display screen.

在一种可能的实现方式中,所述执行模块63被配置为在所述目标触控操作满足预设操作条件时,对所述显示屏的预设触控区域的触控操作进行屏蔽或取消屏蔽;所述预设操作条件包括以下至少一种条件:In a possible implementation manner, the execution module 63 is configured to shield or cancel the touch operation of the preset touch area of the display screen when the target touch operation satisfies a preset operation condition shielding; the preset operating conditions include at least one of the following conditions:

目标触控操作的触控位置为预设触控位置;目标触控操作的触控时长大于或等于预设触控时长;目标触控操作的触控次数等于预设触控次数;目标触控操作的触控面积等于预设触控面积;目标触控操作的触控点形状为预设形状。The touch position of the target touch operation is the preset touch position; the touch duration of the target touch operation is greater than or equal to the preset touch duration; the touch times of the target touch operation are equal to the preset touch times; the target touch The touch area of the operation is equal to the preset touch area; the shape of the touch point of the target touch operation is the preset shape.

在一种可能的实现方式中,所述电子设备还包括调整模块。In a possible implementation manner, the electronic device further includes an adjustment module.

调整模块被配置为根据所述可拆卸部件触控所述显示屏的触控位置,对当前所述显示屏的显示界面进行调整,使所述可拆卸部件不遮挡所述显示界面的显示内容。The adjustment module is configured to adjust the current display interface of the display screen according to the touch position where the detachable component touches the display screen, so that the detachable component does not block the display content of the display interface.

本公开实施例还提供了一种可拆卸部件,所述可拆卸部件设置于如上所述的电子设备上,所述电子设备包括与本体外壳相连的显示屏、固定部件、支持触控响应的可拆卸部件;其中,所述可拆卸部件通过固定部件与所述本体外壳连接。An embodiment of the present disclosure also provides a detachable part, the detachable part is arranged on the above-mentioned electronic device, and the electronic device includes a display screen connected to the body casing, a fixing part, and a touch-sensitive A detachable part; wherein, the detachable part is connected to the body shell through a fixing part.

图7是根据一示例性实施例示出的一种电子设备800的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图7,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。7, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .

存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to the various components of the device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800 .

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) configured to receive external audio signals when the device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the device 800 orientation or acceleration/deceleration and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 800 and other devices. The device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 800 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the device 800 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

CN201910300187.XA2019-04-152019-04-15 A touch control method, electronic device, detachable part and storage mediumActiveCN110083395B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910300187.XACN110083395B (en)2019-04-152019-04-15 A touch control method, electronic device, detachable part and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910300187.XACN110083395B (en)2019-04-152019-04-15 A touch control method, electronic device, detachable part and storage medium

Publications (2)

Publication NumberPublication Date
CN110083395A CN110083395A (en)2019-08-02
CN110083395Btrue CN110083395B (en)2023-07-18

Family

ID=67415019

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910300187.XAActiveCN110083395B (en)2019-04-152019-04-15 A touch control method, electronic device, detachable part and storage medium

Country Status (1)

CountryLink
CN (1)CN110083395B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102035934A (en)*2009-09-302011-04-27李晓Dual-screen portable electronic equipment and management method
CN204808242U (en)*2015-06-122015-11-25联想(北京)有限公司Writing pen and electronic equipment
CN206298594U (en)*2016-11-122017-07-04上海娇云日化有限公司A kind of colonometer
CN108829319A (en)*2018-06-152018-11-16驭势科技(北京)有限公司A kind of exchange method of touch screen, device, electronic equipment and storage medium
CN109002339A (en)*2018-07-042018-12-14Oppo广东移动通信有限公司Touch operation method and device, storage medium and electronic equipment
CN109117061A (en)*2018-07-022019-01-01南昌黑鲨科技有限公司A kind of input operation processing method, processing unit and intelligent terminal
CN109241957A (en)*2018-11-192019-01-18Oppo广东移动通信有限公司Electronic device, fingerprint collecting method, device, storage medium and mobile terminal
CN109343773A (en)*2018-10-112019-02-15广州要玩娱乐网络技术股份有限公司Control method, device, storage medium and the terminal of Portable touch control equipment
CN109471564A (en)*2018-12-292019-03-15深圳汗思凯普科技有限公司Handheld computer equipment touch device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
MX2010010970A (en)*2008-04-072010-12-06Wal Mart Stores IncSystem, method, and apparatus of a customer interface device.
US8963885B2 (en)*2011-11-302015-02-24Google Technology Holdings LLCMobile device for interacting with an active stylus
TWI486056B (en)*2012-01-052015-05-21Altek CorpImage capturing device, dust removal system and vibrating for dust removal method thereof
CN204066059U (en)*2014-08-132014-12-31中兴通讯股份有限公司A kind of terminal with expansion button
KR102312888B1 (en)*2015-05-132021-10-15삼성전자주식회사Input apparatus, electronic device having the same and control method thereof
CN105183191B (en)*2015-08-312018-11-09联想(北京)有限公司A kind of stylus and touch-controlled electronic devices and control method
KR20170114420A (en)*2016-04-042017-10-16삼성전자주식회사Electronic device and method for receiving user input thereof
CN105975096A (en)*2016-06-162016-09-28成都知人善用信息技术有限公司Novel computer wireless input device
CN106909224B (en)*2017-02-282018-10-19维沃移动通信有限公司A kind of method and mobile terminal at display image preview interface
US10642418B2 (en)*2017-04-202020-05-05Apple Inc.Finger tracking in wet environment
CN206991208U (en)*2017-08-042018-02-09曾丽琴A kind of computer installation of detachable keyboard
CN107911511A (en)*2017-12-152018-04-13南昌黑鲨科技有限公司A kind of input equipment and intelligent terminal for intelligent terminal
CN207937913U (en)*2018-01-222018-10-02歌尔科技有限公司Portable computer and detachable touch device
CN109582087A (en)*2018-11-302019-04-05努比亚技术有限公司A kind of mobile terminal and its control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102035934A (en)*2009-09-302011-04-27李晓Dual-screen portable electronic equipment and management method
CN204808242U (en)*2015-06-122015-11-25联想(北京)有限公司Writing pen and electronic equipment
CN206298594U (en)*2016-11-122017-07-04上海娇云日化有限公司A kind of colonometer
CN108829319A (en)*2018-06-152018-11-16驭势科技(北京)有限公司A kind of exchange method of touch screen, device, electronic equipment and storage medium
CN109117061A (en)*2018-07-022019-01-01南昌黑鲨科技有限公司A kind of input operation processing method, processing unit and intelligent terminal
CN109002339A (en)*2018-07-042018-12-14Oppo广东移动通信有限公司Touch operation method and device, storage medium and electronic equipment
CN109343773A (en)*2018-10-112019-02-15广州要玩娱乐网络技术股份有限公司Control method, device, storage medium and the terminal of Portable touch control equipment
CN109241957A (en)*2018-11-192019-01-18Oppo广东移动通信有限公司Electronic device, fingerprint collecting method, device, storage medium and mobile terminal
CN109471564A (en)*2018-12-292019-03-15深圳汗思凯普科技有限公司Handheld computer equipment touch device

Also Published As

Publication numberPublication date
CN110083395A (en)2019-08-02

Similar Documents

PublicationPublication DateTitle
US9860844B2 (en)Method and apparatus of temperature control
CN106445238B (en)Edge touch-control suppressing method and device
US20170060320A1 (en)Method for controlling a mobile terminal using a side touch panel
CN106028143A (en)Video live broadcasting method and device
CN107357505A (en)The method, apparatus and computer-readable recording medium of screenshot capture
CN106339168A (en)Screen control method and device
CN106547663A (en)Button management method and device
CN106055145A (en)Operating mode determination method and apparatus of terminal
CN105956486A (en)Remote control method and apparatus
CN107071105A (en)The assembly control method of mobile terminal and mobile terminal
CN107885418A (en)Terminal, multi-screen display method and device
CN105739760A (en)Control method and device for anti-false touch mode
CN106201285A (en)Prevent power key by the method and device of false touch, electronic equipment
CN106445499A (en)Shortcut key prompting method and device
CN107465819A (en)Terminal false-touch prevention method and device
CN106484296A (en)Mobile terminal prevents processing method, device and the equipment of false touch
CN107133059A (en)Camera control method, device and mobile terminal
CN106610777A (en)Application starting method and device and mobile terminal
CN112363647A (en)Touch operation method and device and storage medium
CN107256088A (en)Operating method, device and the computer-readable recording medium of terminal
CN107656616A (en)Input interface displaying method, device, electronic equipment
CN110083395B (en) A touch control method, electronic device, detachable part and storage medium
CN106603825A (en)Method and device for controlling mobile terminal
CN106843691B (en)Operation control method and device of mobile terminal
CN108877742A (en)Luminance regulating method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp