Movatterモバイル変換


[0]ホーム

URL:


WO2024250304A1 - Control method and apparatus for touch-control panel, and electronic device and storage medium - Google Patents

Control method and apparatus for touch-control panel, and electronic device and storage medium
Download PDF

Info

Publication number
WO2024250304A1
WO2024250304A1PCT/CN2023/099550CN2023099550WWO2024250304A1WO 2024250304 A1WO2024250304 A1WO 2024250304A1CN 2023099550 WCN2023099550 WCN 2023099550WWO 2024250304 A1WO2024250304 A1WO 2024250304A1
Authority
WO
WIPO (PCT)
Prior art keywords
waveform signal
touch panel
touch
vibration
driving waveform
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.)
Pending
Application number
PCT/CN2023/099550
Other languages
French (fr)
Chinese (zh)
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.)
Guangzhou Shiyuan Artificial Intelligence Innovation Research Institute Co Ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Artificial Intelligence Innovation Research Institute Co Ltd
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Artificial Intelligence Innovation Research Institute Co Ltd, Guangzhou Shiyuan Electronics Thecnology Co LtdfiledCriticalGuangzhou Shiyuan Artificial Intelligence Innovation Research Institute Co Ltd
Priority to PCT/CN2023/099550priorityCriticalpatent/WO2024250304A1/en
Publication of WO2024250304A1publicationCriticalpatent/WO2024250304A1/en
Pendinglegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Definitions

Landscapes

Abstract

Provided in the present application are a control method and apparatus for a touch-control panel, and an electronic device and a storage medium. The method comprises: determining a touch detection result of a touch-control panel, wherein the touch detection result represents whether the touch-control panel is being touched; if it is determined, according to the touch detection result, that the touch-control panel is being touched, calling a preset drive waveform signal from a memory of a terminal device, wherein the drive waveform signal comprises a first waveform signal and a second waveform signal, the first waveform signal being used for controlling the touch-control panel to vibrate in a first direction, the frequency of a vibration waveform which is output during vibration being greater than or equal to a specified frequency, so as to provide auditory feedback, and the second waveform signal being used for controlling the touch-control panel to vibrate in a second direction, so as to provide tactile feedback, the first direction being the thickness direction of the touch-control panel, and the second direction being perpendicular to the first direction; and according to the drive waveform signal, controlling the touch-control panel to vibrate. The method of the present application improves the interaction experience of a user.

Description

Translated fromChinese
触控面板控制方法、装置、电子设备及存储介质Touch panel control method, device, electronic device and storage medium技术领域Technical Field

本申请涉及终端设备技术,尤其涉及一种触控面板控制方法、装置、电子设备及存储介质。The present application relates to terminal device technology, and in particular to a touch panel control method, device, electronic device and storage medium.

背景技术Background Art

随着线性马达、压电陶瓷致动器等技术的进步,振动触觉反馈技术在消费类电子产品中越来越多地出现,给其用户带来更丰富交互方式的同时,也降低了使用过程中发生误触等操作的可能性,极大地提升了人机交互过程中的用户体验。With the advancement of technologies such as linear motors and piezoelectric ceramic actuators, vibration tactile feedback technology is appearing more and more frequently in consumer electronic products. While providing users with richer interaction methods, it also reduces the possibility of accidental touches and other operations during use, greatly improving the user experience during human-computer interaction.

在该技术领域,通常的做法是将一颗或多颗致动器(通常是线性马达或压电陶瓷等可以产生振动的换能装置)紧固在所需要产生触觉反馈的设备上(通常是如屏幕、触控板或虚拟按键等),再通过施加振荡电信号,实现可控的振动波形,以给用户提供触觉反馈。In this technical field, the usual practice is to fasten one or more actuators (usually linear motors or piezoelectric ceramics and other transducers that can generate vibrations) to the device that needs to generate tactile feedback (usually a screen, touchpad or virtual buttons, etc.), and then apply an oscillating electrical signal to achieve a controllable vibration waveform to provide tactile feedback to the user.

然而,上述方式只能提供触觉反馈,带给用户的交互方式单一,难免会让用户感到厌倦,从而降低用户的使用体验。However, the above method can only provide tactile feedback, and the interaction method provided to the user is single, which will inevitably make the user feel bored, thereby reducing the user's usage experience.

发明内容Summary of the invention

本申请提供一种触控面板控制方法、装置、电子设备及存储介质,用以解决目前终端设备的触控面板交互方式单一的问题。The present application provides a touch panel control method, device, electronic device and storage medium, which are used to solve the problem of single touch panel interaction mode of current terminal devices.

第一方面,本申请提供一种触控面板控制方法,所述方法应用于终端设备,所述终端设备上设置有所述触控面板,所述方法包括:In a first aspect, the present application provides a touch panel control method, the method being applied to a terminal device, the terminal device being provided with the touch panel, the method comprising:

确定所述触控面板的触碰检测结果,其中,所述触碰检测结果表征所述触控面板是否被触碰;Determining a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched;

若根据所述触碰检测结果确定所述触控面板被触碰,则从所述终端设备的内存中调取预设的驱动波形信号;其中,所述驱动波形信号包括第一波形信号和第二波形信号,所述第一波形信号用于控制所述触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;所述第二波形信号用于控制所述触控面板在第二方向上进行振动,以提供触觉反馈;其中,所述第一方向为所述触控面板的厚度方向,所述第二方向与所述第一方向相互垂直;If it is determined according to the touch detection result that the touch panel is touched, a preset driving waveform signal is retrieved from the memory of the terminal device; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction;

根据所述驱动波形信号控制所述触控面板振动。The touch panel is controlled to vibrate according to the driving waveform signal.

第二方面,本申请提供一种触控面板控制装置,所述装置应用于终端设备,所述终端设备上设置有所述触控面板,所述装置包括:In a second aspect, the present application provides a touch panel control device, the device is applied to a terminal device, the terminal device is provided with the touch panel, and the device comprises:

触碰检测模块,用于确定所述触控面板的触碰检测结果,其中,所述触碰检测结果表征所述触控面板是否被触碰;A touch detection module, used to determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched;

驱动波形信号获取模块,用于若根据所述触碰检测结果确定所述触控面板被触碰,则从所述终端设备的内存中调取预设的驱动波形信号;其中,所述驱动波形信号包括第一波形信号和第二波形信号,所述第一波形信号用于控制所述触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;所述第二波形信号用于控制所述触控面板在第二方向上进行振动,以提供触觉反馈;其中,所述第一方向为所述触控面板的厚度方向,所述第二方向与所述第一方向相互垂直;a driving waveform signal acquisition module, configured to retrieve a preset driving waveform signal from the memory of the terminal device if it is determined according to the touch detection result that the touch panel is touched; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction;

振动模块,用于根据所述驱动波形信号控制所述触控面板振动。A vibration module is used to control the vibration of the touch panel according to the driving waveform signal.

第三方面,本申请提供一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,以实现第一方面所述的方法。In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described in the first aspect.

第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现第一方面所述的触控面板控制方法。In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the touch panel control method described in the first aspect.

第五方面,本申请提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第一方面所述的方法。In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.

本申请提供的触控面板控制方法,通过确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰;若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号;其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直;最后根据驱动波形信号控制触控面板振动。由于触控面板在厚度方向上振动时会发生类似活塞辐射的运动,向外部空间辐射声波,且在振动频率大于或等于指定频率的情况下,即高频情况下尤为明显,从而可以被用户听到,所以通过驱动波形信号中的第一波形信号控制触控面板振动可以带给用户明显的听觉反馈,而第二波形信号可以在触控面板第二方向上振动,能够为用户带来可观的振动量,为用户提供较好的触觉反馈。从而在用户触碰触控面板时为用户提供听觉和触觉的双重反馈,丰富了交互方式,可有效提升用户体验。The touch panel control method provided by the present application determines the touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched; if it is determined that the touch panel is touched according to the touch detection result, a preset driving waveform signal is retrieved from the memory of the terminal device; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction; finally, the vibration of the touch panel is controlled according to the driving waveform signal. When the touch panel vibrates in the thickness direction, it will produce a piston-like radiation movement, radiating sound waves to the external space, and when the vibration frequency is greater than or equal to the specified frequency, that is, in the high frequency case, it is particularly obvious, so it can be heard by the user. Therefore, the first waveform signal in the driving waveform signal controls the vibration of the touch panel to give the user obvious auditory feedback, and the second waveform signal can vibrate in the second direction of the touch panel, which can bring a considerable amount of vibration to the user and provide the user with better tactile feedback. In this way, when the user touches the touch panel, the user is provided with dual feedback of hearing and touch, which enriches the interaction mode and can effectively Improve user experience.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是根据一示例性实施例示出的一种触控面板控制方法的应用场景示意图;FIG1 is a schematic diagram of an application scenario of a touch panel control method according to an exemplary embodiment;

图2是根据一示例性实施例示出的一种触控面板控制方法的方法流程图;FIG2 is a method flow chart of a touch panel control method according to an exemplary embodiment;

图3是根据另一示例性实施例示出的一种触控面板控制方法的方法流程图;FIG3 is a flow chart of a touch panel control method according to another exemplary embodiment;

图4是根据图3实施例示出的触控面板分别在X轴、Y轴以及Z轴方向上的振动波形图;FIG4 is a vibration waveform diagram of the touch panel in the X-axis, Y-axis and Z-axis directions respectively according to the embodiment of FIG3 ;

图5是根据图3实施例示出的一种触控面板控制方法中步骤260至步骤280的流程图;FIG5 is a flow chart of steps 260 to 280 in a touch panel control method according to the embodiment of FIG3 ;

图6是根据又一示例性实施例示出的一种触控面板控制方法的方法流程图;FIG6 is a method flow chart of a touch panel control method according to yet another exemplary embodiment;

图7是根据一示例性实施例示出的一种触控面板控制装置的框图;FIG7 is a block diagram of a touch panel control device according to an exemplary embodiment;

图8是根据一示例性实施例示出的一种电子设备的结构示意图。Fig. 8 is a schematic structural diagram of an electronic device according to an exemplary embodiment.

具体实施方式DETAILED DESCRIPTION

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

目前许多终端设备上都配置了能够在用户触碰触控面板时带给用户触觉反馈的制动器,具体地,通常将一颗或多颗致动器(通常是线性马达或压电陶瓷等可以产生振动的换能装置)紧固在所需要产生触觉反馈的设备上(如屏幕、触控板、虚拟按键等),再通过施加短时或长时的振荡电信号,实现可控的振动波形。Currently, many terminal devices are equipped with brakes that can provide users with tactile feedback when they touch the touch panel. Specifically, one or more actuators (usually linear motors or piezoelectric ceramics and other transducers that can generate vibrations) are usually fastened to the device that needs to generate tactile feedback (such as screens, touchpads, virtual buttons, etc.), and then a controllable vibration waveform is achieved by applying short or long oscillating electrical signals.

在上述过程中,致动器工作时所产生的物理振动通常有一个主要的振动方向,作为一种示例,触控面板的主要振动方向为平行于其长边的方向或者平行于其短边方向。作为另一种示例,触控面板的主要振动方向为垂直触控板表面方向,即触控面板的厚度方向。In the above process, the physical vibration generated by the actuator when it is working usually has a main vibration direction. As an example, the main vibration direction of the touch panel is parallel to its long side or parallel to its short side. As another example, the main vibration direction of the touch panel is perpendicular to the surface of the touch panel, that is, the thickness direction of the touch panel.

然而,上述两种示例中的振动方式只能提供为用户提供触觉反馈,导致用户通过触控面板与终端设备交互时,能够体验到交互方式较为单一。However, the vibration modes in the above two examples can only provide tactile feedback to the user, resulting in a relatively simple interaction mode when the user interacts with the terminal device through the touch panel.

针对上述问题,如果能在提供触觉反馈的基础上,为用户提供其它方面的反馈(如听觉反馈),则可以使得交互方式更加丰富,从而有效提升用户体验。目前能够提供听觉反馈的方式通常是在触控面板上添加音频模块来激发声波,然而,这种方式不仅会提高触控面板的制造成本,而且还会增加触控面板在终端设备中的占用空间,不便于推广。In view of the above problems, if other feedback (such as auditory feedback) can be provided to users on the basis of providing tactile feedback, the interaction mode can be enriched, thereby effectively improving the user experience. Currently, the way to provide auditory feedback is usually to add an audio module to the touch panel to stimulate sound waves. However, this method not only increases the manufacturing cost of the touch panel, but also increases the space occupied by the touch panel in the terminal device, which is not easy to promote.

本申请提供的触控面板控制方法,旨在解决现有技术的如上技术问题。The touch panel control method provided in the present application is intended to solve the above technical problems in the prior art.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The following is a specific example of the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

示例性地,本申请具体的应用场景可以为如图1所示的终端设备,该终端设备10可以包括触控面板11、控制器(图1中未示出)以及驱动组件(图1中未示出),该控制器可以与驱动组件连接,用于控制驱动组件来驱动该触控面板进行振动。具体地,该驱动组件可以包括一个或多个致动器,一个或多个致动器可以与触控面板11连接,以实现触控面板11能在不同方向上振动,例如在触控面板的长度方向(如图中的X轴方向)振动、在触控面板的宽度方向(如图中的Y轴方向)振动以及在触控面板的厚方向(如图中的Z轴方向)振动。Exemplarily, the specific application scenario of the present application can be a terminal device as shown in Figure 1, and the terminal device 10 may include a touch panel 11, a controller (not shown in Figure 1) and a drive component (not shown in Figure 1), and the controller may be connected to the drive component to control the drive component to drive the touch panel to vibrate. Specifically, the drive component may include one or more actuators, and one or more actuators may be connected to the touch panel 11 to enable the touch panel 11 to vibrate in different directions, such as vibrating in the length direction of the touch panel (such as the X-axis direction in the figure), vibrating in the width direction of the touch panel (such as the Y-axis direction in the figure), and vibrating in the thickness direction of the touch panel (such as the Z-axis direction in the figure).

可选地,该终端设备10可以包括但不限于:笔记本电脑、车载终端、平板电脑、智能手机、智能可穿戴设备等带有触控面板的设备。可选地,该触控面板11包括但不限于:触控屏幕、触控板、虚拟按键等。可选地,为了保证触控面板11的具有较好的振动效果,该触控面板11可以是尺寸在指定范围内的控制面板。Optionally, the terminal device 10 may include but is not limited to: a laptop computer, a vehicle-mounted terminal, a tablet computer, a smart phone, a smart wearable device and other devices with a touch panel. Optionally, the touch panel 11 includes but is not limited to: a touch screen, a touch pad, a virtual button, etc. Optionally, in order to ensure that the touch panel 11 has a good vibration effect, the touch panel 11 may be a control panel with a size within a specified range.

可选的,触控面板11也能够作为一个整体的系统,与终端设备进行有线插拔或者无线连接使用。Optionally, the touch panel 11 can also be used as an integral system and connected to a terminal device by wired plug-in or wirelessly.

图2是根据一示例性实施例示出的一种触控面板控制方法,该触控面板控制方法可以应用于图1中的终端设备10,具体可以应用于终端设备10中的处理器,如图1所示,该触控面板控制方法可以包括:FIG2 is a touch panel control method according to an exemplary embodiment. The touch panel control method can be applied to the terminal device 10 in FIG1 , and can be specifically applied to a processor in the terminal device 10. As shown in FIG1 , the touch panel control method may include:

110、确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰。110. Determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched.

在一些实施方式中,触控面板中设置有用于检测其是否被触碰的触碰检测组件。例如,该触碰检测组件可以实时地检测触控面板是否被触碰,若检测到被触碰则生成触碰信号,并将该触碰信号上传至控制器,控制器根据触碰信号确定触碰检测结果。可选地,该触碰检测组件可以是压力感应组件,压力感应组件可以包括一个或多个压力传感器,上述触碰信号可以是触碰压力,示例性地,若控制器接收到触碰压力大于0或者大于一定阈值,则可以确定触碰检测结果为触控面板被触碰;否则,可以确定触碰检测结果为触控面板没有被触碰。In some embodiments, a touch detection component is provided in the touch panel for detecting whether it is touched. For example, the touch detection component can detect in real time whether the touch panel is touched. If it is detected that it is touched, a touch signal is generated, and the touch signal is uploaded to the controller, and the controller determines the touch detection result according to the touch signal. Optionally, the touch detection component can be a pressure sensing component, and the pressure sensing component can include one or more pressure sensors. The above touch signal can be a touch pressure. Exemplarily, if the controller receives a touch pressure greater than 0 or greater than a certain threshold, it can be determined that the touch detection result is that the touch panel is touched; otherwise, it can be determined that the touch detection result is that the touch panel is not touched.

120、若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号;其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直。120. If it is determined according to the touch detection result that the touch panel is touched, a preset driving waveform signal is retrieved from the memory of the terminal device; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction.

在一些实施方式中,终端设备的内存中预先存储了驱动波形信号,当控制器根据触碰检测结果确定触控面板被触碰时,控制器可以从终端设备的内存中调取该驱动波形信号,并通过驱动波形信号,控制驱动组件来使触控面板产生相应的振动。In some embodiments, a driving waveform signal is pre-stored in the memory of the terminal device. When the controller determines that the touch panel is touched based on the touch detection result, the controller can retrieve the driving waveform signal from the memory of the terminal device and control the driving component through the driving waveform signal to make the touch panel generate corresponding vibration.

130、根据驱动波形信号控制触控面板振动。130. Control the vibration of the touch panel according to the driving waveform signal.

示例性地,控制器可以将预设的驱动波形信号输入至驱动组件,驱动组件可以根据驱动波形信号中的第一波形信号,驱动触控面板在第一方向(如图1中的Z轴方向)上振动,且振动时输出的振动波形的频率大于或等于指定频率。与此同时,驱动组件可以根据驱动波形信号中的第二波形信号,驱动触控面板在第二方向(如图1中的X轴方向或Y轴方向)上振动,从而为用户提供触觉反馈,由于触觉反馈不用将振动能量以声波方式辐射出去,所以根据第二波形信号驱动触控面板在第二方向上振动时,第二方向上输出的振动波形的频率可以小于指定频率。Exemplarily, the controller may input a preset driving waveform signal to the driving component, and the driving component may drive the touch panel to vibrate in a first direction (such as the Z-axis direction in FIG. 1 ) according to a first waveform signal in the driving waveform signal, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency. At the same time, the driving component may drive the touch panel to vibrate in a second direction (such as the X-axis direction or the Y-axis direction in FIG. 1 ) according to a second waveform signal in the driving waveform signal, thereby providing tactile feedback to the user. Since the tactile feedback does not need to radiate the vibration energy in the form of sound waves, when the touch panel is driven to vibrate in the second direction according to the second waveform signal, the frequency of the vibration waveform output in the second direction may be less than the specified frequency.

可选地,指定频率可以是1000Hz。可以理解的是,由于如果用户要明显地感受到因触控面板的振动而带来的听觉反馈,则需要触控面板在Z轴上振动时,保证输出的振动能带动触控板附近的空气产生1000Hz以上的声波辐射出去,让用户在触碰触控面板时能够听到类似“提示音”的声音,因此,将指定频率设定为1000Hz,可以保证用户体验到较好的听觉反馈。Optionally, the specified frequency may be 1000 Hz. It is understandable that if the user wants to clearly feel the auditory feedback caused by the vibration of the touch panel, the touch panel needs to vibrate on the Z axis to ensure that the output vibration can drive the air near the touch panel to generate sound waves above 1000 Hz and radiate out, so that the user can hear a sound similar to a "prompt tone" when touching the touch panel. Therefore, setting the specified frequency to 1000 Hz can ensure that the user experiences better auditory feedback.

可选地,第一波形信号具体可以用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率维持在2000Hz左右。Optionally, the first waveform signal may be specifically used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during the vibration is maintained at about 2000 Hz.

可以理解的是,触控面板的形状可以如图1中所示的矩形,除此之外,还可以是圆形、椭圆形、梯形、异形等,在此不做限定。示例性地,若触控面板为圆形,则对应该触控面板的第二方向,可以是其圆心指向该触控面板的边缘的多个方向中任意一个方向。It is understood that the shape of the touch panel can be a rectangle as shown in FIG1 , and can also be a circle, an ellipse, a trapezoid, a special shape, etc., which are not limited here. For example, if the touch panel is a circle, the second direction corresponding to the touch panel can be any one of the multiple directions in which the center of the circle points to the edge of the touch panel.

可见,在本实施例中,通过确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰;若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号;其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直;最后根据驱动波形信号控制触控面板振动。由于触控面板在厚度方向上振动时会发生类似活塞辐射的运动,向外部空间辐射声波,且在振动频率大于或等于指定频率的情况下,即高频情况下尤为明显,从而可以被用户听到,所以通过驱动波形信号中的第一波形信号控制触控面板振动可以带给用户明显的听觉反馈,而第二波形信号可以在触控面板第二方向上振动,能够为用户带来可观的振动量,为用户提供较好的触觉反馈。从而在用户触碰触控面板时为用户提供听觉和触觉的双重反馈,丰富了交互方式,可有效提升用户体验。另外,仅通过第一波形信号来控制触控面板振动来提供听觉反馈,从而不用引入额外的音频模块来激发声波,避免了增加触控面板的成本,便于推广。It can be seen that in this embodiment, by determining the touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched; if it is determined that the touch panel is touched according to the touch detection result, a preset driving waveform signal is retrieved from the memory of the terminal device; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction; finally, the vibration of the touch panel is controlled according to the driving waveform signal. Since the touch panel will produce a piston-like radiation movement when vibrating in the thickness direction, radiating sound waves to the external space, and when the vibration frequency is greater than or equal to the specified frequency, that is, it is particularly obvious in high frequency conditions, so that it can be heard by the user, so controlling the vibration of the touch panel by the first waveform signal in the driving waveform signal can bring obvious hearing to the user. The first waveform signal can provide feedback, while the second waveform signal can vibrate in the second direction of the touch panel, which can bring a considerable amount of vibration to the user and provide the user with good tactile feedback. Thus, when the user touches the touch panel, the user is provided with dual feedback of hearing and touch, which enriches the interaction mode and can effectively improve the user experience. In addition, only the first waveform signal is used to control the vibration of the touch panel to provide auditory feedback, so that there is no need to introduce an additional audio module to excite sound waves, which avoids increasing the cost of the touch panel and facilitates promotion.

图3是根据另一示例性实施例示出的一种触控面板控制方法,该触控面板控制方法可以应用于图1中的终端设备10,具体可以应用于终端设备10中的处理器,如图3所示,该触控面板控制方法可以包括:FIG3 is a touch panel control method according to another exemplary embodiment. The touch panel control method can be applied to the terminal device 10 in FIG1 , and can be specifically applied to a processor in the terminal device 10. As shown in FIG3 , the touch panel control method may include:

210、确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰。210. Determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched.

在一些实施方式中,步骤210的具体实施方式可以包括:In some implementations, specific implementations of step 210 may include:

211a、检测触控面板受到触碰时的触碰时长。211a. Detecting a touch duration when the touch panel is touched.

示例性地,当触碰检测组件检测到触碰时,可以记录该次触碰的持续时长,即触碰时长,并将记录的触碰时长实时上传给控制器。Exemplarily, when the touch detection component detects a touch, the duration of the touch, ie, the touch duration, may be recorded, and the recorded touch duration may be uploaded to the controller in real time.

212a、若触碰时长超过时长阈值,则确定触控面板的触碰检测结果为触控面板被触碰。212a: If the touch duration exceeds the duration threshold, determine that the touch detection result of the touch panel is that the touch panel is touched.

沿用上述示例,控制器可以将触碰时长与时长阈值进行比对,若触碰时长超过时长阈值,则可以确定触控面板的触碰检测结果为触控面板被触碰。例如,例如记录的触碰时长为t,时长阈值为t0,当触碰时长t增加到大于或等于t0时,控制器确定触控面板被触碰。Continuing with the above example, the controller can compare the touch duration with the duration threshold, and if the touch duration exceeds the duration threshold, the touch detection result of the touch panel can be determined as the touch panel being touched. For example, if the recorded touch duration is t, and the duration threshold is t0 , when the touch duration t increases to be greater than or equal to t0 , the controller determines that the touch panel is touched.

考虑到用户可能误触到触控面板,导致控制面板出现短暂的触碰信号,而并非是要使用触控面板的情况,在本实施方式中,通过检测触控面板受到触碰时的触碰时长,若触碰时长超过时长阈值,则确定触控面板的触碰检测结果为触控面板被触碰。从而能够提升触控面板对有效触碰的检测准确性。Considering that the user may accidentally touch the touch panel, resulting in a short touch signal on the control panel, but the touch panel is not intended to be used, in this embodiment, by detecting the touch duration when the touch panel is touched, if the touch duration exceeds the duration threshold, the touch detection result of the touch panel is determined to be that the touch panel is touched. This can improve the accuracy of the touch panel in detecting effective touches.

可选地,用户可以在终端设备上自定义设置时长阈值。可选地,该时长阈值还可以是根据触控面板的尺寸自动设定,由于触控面板的尺寸越小用户出现误触的可能性就越低,所以触控面板的尺寸越小,设定的时长阈值也就越小,从而保证了小尺寸的触控面板的触碰检测精度。Optionally, the user can customize the time threshold on the terminal device. Optionally, the time threshold can also be automatically set according to the size of the touch panel. Since the smaller the size of the touch panel, the lower the possibility of accidental touch by the user, the smaller the size of the touch panel, the smaller the set time threshold, thereby ensuring the touch detection accuracy of the small-sized touch panel.

在另一些实施方式中,步骤210的具体实施方式可以包括:In some other implementations, specific implementations of step 210 may include:

211b、检测触控面板受到触碰时的触碰压力。211b. Detecting the touch pressure when the touch panel is touched.

示例性地,例如当触碰检测组件检测到触碰时,可以记录该次触碰的触碰压力,并将该触碰压力实时上传给控制器。For example, when the touch detection component detects a touch, the touch pressure of the touch can be recorded and uploaded to the controller in real time.

212b、若触碰压力超过压力阈值,则确定触控面板的触碰检测结果为触控面板被触碰。212b: If the touch pressure exceeds the pressure threshold, determine that the touch detection result of the touch panel is that the touch panel is touched.

沿用上述示例,控制器可以将触碰压力与压力阈值进行比对,若比对结果为触碰压力超过压力阈值,则可以确定触控面板的触碰检测结果为触控面板被触碰。例如,例如记录的触碰压力为F,压力阈值为F0,若F大于或等于F0,控制器则确定触控面板被触碰。若F小于F0,控制器则确定触控面板没有被触碰。Continuing with the above example, the controller can compare the touch pressure with the pressure threshold. If the comparison result is the touch pressure If the pressure exceeds the pressure threshold, the touch detection result of the touch panel can be determined as the touch panel is touched. For example, if the recorded touch pressure is F and the pressure threshold is F0 , if F is greater than or equal to F0 , the controller determines that the touch panel is touched. If F is less than F0 , the controller determines that the touch panel is not touched.

考虑到用户可能误触到触控面板,导致控制面板收到很小的触碰压力,而并非是要使用触控面板的情况,在本实施方式中,通过检测触控面板受到触碰时的触碰压力,若触碰压力超过压力阈值,则确定触控面板的触碰检测结果为触控面板被触碰。从而能够提升触控面板对有效触碰的检测准确性。Considering that the user may accidentally touch the touch panel, resulting in a small touch pressure on the control panel, but the touch panel is not intended to be used, in this embodiment, by detecting the touch pressure when the touch panel is touched, if the touch pressure exceeds the pressure threshold, the touch detection result of the touch panel is determined to be that the touch panel is touched. This can improve the accuracy of the touch panel in detecting effective touches.

在又一些实施方式中,步骤210的具体实施方式可以包括:In some further implementations, specific implementations of step 210 may include:

211c、检测触控面板受到触碰时的触碰压力和触碰时长。211c. Detecting the touch pressure and touch duration when the touch panel is touched.

212c、若触碰压力超过压力阈值,且触碰时长超过时长阈值,则确定触控面板的触碰检测结果为触控面板被触碰。212c: If the touch pressure exceeds the pressure threshold and the touch duration exceeds the duration threshold, determine that the touch detection result of the touch panel is that the touch panel is touched.

沿用上述示例,例如,当控制器检测到触碰压力F≥压力阈值为F0,且触碰时长t≥时长阈值为t0时,可以将确定触控面板的触碰检测结果为触控面板被触碰。Continuing with the above example, for example, when the controller detects that the touch pressure F≥the pressure threshold F0 and the touch duration t≥the duration threshold t0 , the touch detection result of the touch panel can be determined as the touch panel being touched.

在本实施方式中,通过在触控压力和触控时长都满足相应的条件的情况下,才确定触控面板被触碰,从而进一步地提升了触控面板对有效触碰的检测准确性。In this embodiment, it is determined that the touch panel is touched only when the touch pressure and the touch duration both meet corresponding conditions, thereby further improving the accuracy of the touch panel in detecting effective touches.

220、若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号。其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直。220. If it is determined according to the touch detection result that the touch panel is touched, a preset driving waveform signal is retrieved from the memory of the terminal device. The driving waveform signal includes a first waveform signal and a second waveform signal. The first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction.

在一些实施方式中,在步骤220之前,该方法还可以包括:In some implementations, before step 220, the method may further include:

通过对数扫频的方式测量触控面板在第一方向上的第一机械振动特性以及在第二方向上的第二机械振动特征;第一机械振动特征表征触控面板在第一方向上输入的波形信号和其对应输出的振动波形之间的关系,第二机械振动特征表征触控面板在第二方向上输入的波形信号和其对应输出的振动波形之间的关系。The first mechanical vibration characteristic of the touch panel in the first direction and the second mechanical vibration characteristic in the second direction are measured by logarithmic frequency sweeping; the first mechanical vibration characteristic characterizes the relationship between the waveform signal input into the touch panel in the first direction and the corresponding output vibration waveform, and the second mechanical vibration characteristic characterizes the relationship between the waveform signal input into the touch panel in the second direction and the corresponding output vibration waveform.

其中,通过对数扫频的方式可以测量出触控面板的输入电信号和输出机械振动之间的关系,并将该关系作为机械振动特征。具体地,输入电信号可以为波形信号,输出机械振动可以为振动波形。例如,输入的波形信号定义为x,输出的振动波形定义为y,机械振动特征定义为f(),那么具有f(x)=y。作为一种示例,通过对数扫频得到的第一机械振动特征可以为f1(),得到的第二机械振动特征可以为f2()。Among them, the relationship between the input electrical signal and the output mechanical vibration of the touch panel can be measured by logarithmic frequency sweeping, and the relationship is used as the mechanical vibration feature. Specifically, the input electrical signal can be a waveform signal, and the output mechanical vibration can be a vibration waveform. For example, the input waveform signal is defined as x, the output vibration waveform is defined as y, and the mechanical vibration feature is defined as f(), then f(x)=y. As an example, the first mechanical vibration feature obtained by logarithmic frequency sweeping can bef1 (), and the second mechanical vibration feature obtained can bef2 ().

通过预设的第一振动波形和第一机械振动特性,确定第一波形信号,其中,第一振动波形的频率大于或等于指定频率。The first waveform signal is determined by a preset first vibration waveform and a first mechanical vibration characteristic, wherein the first vibration The frequency of the waveform is greater than or equal to the specified frequency.

沿用上述示例,第一振动波形可以是用户预先设计的,设计的要求为第一振动波形的频率大于或等于指定频率,第一振动波形具体可以为y1,然后,基于第一振动波形y1和第一机械振动特征,可以得到第一波形信号x1,其中,第一波形信号x1和第一振动波形y1满足f1(x1)=y1。Continuing with the above example, the first vibration waveform may be pre-designed by the user, and the design requirement is that the frequency of the first vibration waveform is greater than or equal to the specified frequency. The first vibration waveform may specifically be y1. Then, based on the first vibration waveform y1 and the first mechanical vibration feature, a first waveform signal x1 may be obtained, wherein the first waveform signal x1 and the first vibration waveform y1 satisfyf1 (x1)=y1.

通过预设的第二振动波形和第二机械振动特性,确定第二波形信号;其中,第二振动波形为预设的物理按键被使用时产生的振动波形。The second waveform signal is determined by a preset second vibration waveform and a second mechanical vibration characteristic; wherein the second vibration waveform is a vibration waveform generated when a preset physical key is used.

沿用上述示例,第二振动波形可以是用户预先设计的,设计的要求为第二振动波形为预设的物理按键被使用时产生的振动波形,第二振动波形具体可以为y2,然后,基于第一振动波形y2和第二机械振动特征,可以得到第二波形信号x2,其中,第二波形信号x2和第一振动波形y2满足f2(x2)=y2。Continuing with the above example, the second vibration waveform may be pre-designed by the user. The design requirement is that the second vibration waveform is a vibration waveform generated when a preset physical key is used. The second vibration waveform may specifically be y2. Then, based on the first vibration waveform y2 and the second mechanical vibration feature, a second waveform signal x2 may be obtained, wherein the second waveform signal x2 and the first vibration waveform y2 satisfy f2 (x2)=y2.

将第一波形信号进行预设的时域加窗处理后,叠加在第二波形信号上,得到驱动波形信号,并将驱动波形信号存储到终端设备的内存中。从而可以使用户基于测量到的第一机械振动特征和第二机械振动特性,设计出自己需要的驱动波形信号。After the first waveform signal is subjected to a preset time domain windowing process, it is superimposed on the second waveform signal to obtain a driving waveform signal, and the driving waveform signal is stored in the memory of the terminal device. Thus, the user can design the driving waveform signal he needs based on the measured first mechanical vibration characteristics and second mechanical vibration characteristics.

在另一些实施方式中,在步骤220之前,该方法还可以包括:In some other embodiments, before step 220, the method may further include:

测量触控面板在第一方向上输出的第一振动波形和触控面板在第一方向上输出的第二振动波形。A first vibration waveform outputted by the touch panel in the first direction and a second vibration waveform outputted by the touch panel in the first direction are measured.

若确定第一振动波形的频率大于或等于指定频率,则将第一振动波形对应的输入波形信号确定为第一波形信号。If it is determined that the frequency of the first vibration waveform is greater than or equal to the specified frequency, the input waveform signal corresponding to the first vibration waveform is determined as the first waveform signal.

若确定第二振动波形为预设的物理按键被使用时产生的振动波形,则将第二振动波形对应的输入波形信号确定为第二波形信号。If it is determined that the second vibration waveform is a vibration waveform generated when a preset physical key is used, the input waveform signal corresponding to the second vibration waveform is determined as the second waveform signal.

将第一波形信号进行预设的时域加窗处理后,叠加在第二波形信号上,得到驱动波形信号,并将驱动波形信号存储到终端设备的内存中。The first waveform signal is subjected to a preset time domain windowing process and then superimposed on the second waveform signal to obtain a driving waveform signal, and the driving waveform signal is stored in the memory of the terminal device.

其中,在扫频试验中,正弦波的频率按对数规律变化,被称为对数扫频。Among them, in the swept frequency test, the frequency of the sine wave changes according to a logarithmic law, which is called logarithmic frequency sweep.

示例性地,例如,将一个随机的驱动波形信号输入到驱动组件来控制触控面板输出振动波形,其中,该随机的驱动波形信号中包括与第一方向对应的第一初始波动信号,以及与第二方向对应的第二初始波动信号。然后通过特定的设备测量触控面板输出振动波形,其中,振动波形中包括第一方向对应的第一振动波形和第二方向对应的第二振动波形。第一振动波形根据第一初始波动信号得到,第二振动波形根据第二初始波动信号得到。Exemplarily, for example, a random driving waveform signal is input into the driving component to control the touch panel to output a vibration waveform, wherein the random driving waveform signal includes a first initial fluctuation signal corresponding to the first direction and a second initial fluctuation signal corresponding to the second direction. Then, the touch panel outputs a vibration waveform measured by a specific device, wherein the vibration waveform includes a first vibration waveform corresponding to the first direction and a second vibration waveform corresponding to the second direction. The first vibration waveform is obtained according to the first initial fluctuation signal, and the second vibration waveform is obtained according to the second initial fluctuation signal.

然后,在对第一波形信号进行设定时,可以判断第一振动波形的频率是否大于或等于指定频率,若大于或等于,则可以将当前输入的驱动波形信号中的第一初始波形信号,确定为第一波形信号。若第一振动波形的频率小于指定频率,则可以对上述驱动波形信号中的第一初始波形信号进行调整,得到调整后的驱动波形信号,并基于调整后的驱动波形信号重新执行驱动触控面板振动,并测量得到第一振动波形的操作,直到第一振动波形的频率大于指定频率。可选地,对上述驱动波形信号中的第一初始波形信号的调整可以是增大第一初始波形信号的频率。也就是说,对第一波形信号的设定可以是遵循高频振动信号的设计原则,具体地,保证其第一振动波形的主要频率能量应当在1000Hz以上,从而保证输出的振动能带动触控板附近的空气产生1000Hz以上的声波辐射出去。Then, when setting the first waveform signal, it can be determined whether the frequency of the first vibration waveform is greater than or equal to the specified frequency. If it is greater than or equal to, the first initial waveform signal in the currently input drive waveform signal can be determined. is determined as the first waveform signal. If the frequency of the first vibration waveform is less than the specified frequency, the first initial waveform signal in the above-mentioned drive waveform signal can be adjusted to obtain the adjusted drive waveform signal, and the operation of driving the touch panel to vibrate is re-executed based on the adjusted drive waveform signal, and the operation of measuring the first vibration waveform is obtained until the frequency of the first vibration waveform is greater than the specified frequency. Optionally, the adjustment of the first initial waveform signal in the above-mentioned drive waveform signal can be to increase the frequency of the first initial waveform signal. In other words, the setting of the first waveform signal can be to follow the design principle of high-frequency vibration signals, specifically, to ensure that the main frequency energy of the first vibration waveform should be above 1000Hz, so as to ensure that the output vibration can drive the air near the touch panel to generate sound waves above 1000Hz to radiate out.

另外,在对第二波形信号进行设定时,可以判断第二振动波形是否为预设的物理按键被使用时产生的振动波形,若是,则将当前输入的驱动波形信号中的第二初始波形信号,确定为第二波形信号。否则,可以对上述驱动波形信号中的第二初始波形信号进行调整,得到调整后的驱动波形信号,并基于调整后的驱动波形信号重新执行驱动触控面板振动,并测量得到第二振动波形的操作,直到第二振动波形为预设的物理按键被使用时产生的振动波形。也就是说,第一波形信号的设定是遵循低频触觉驱动波形的设计原则,使得触控面板输出的振动波形尽可能满足真实物理按键在使用过程中产生的振动波形,从而给用户模拟出一种触碰物理按键的感觉。可选地,上述预设的物理按键可以是手机上的用于返回到手机主页的Home键。In addition, when setting the second waveform signal, it can be determined whether the second vibration waveform is a vibration waveform generated when the preset physical key is used. If so, the second initial waveform signal in the currently input drive waveform signal is determined as the second waveform signal. Otherwise, the second initial waveform signal in the above drive waveform signal can be adjusted to obtain an adjusted drive waveform signal, and the operation of driving the touch panel to vibrate is re-executed based on the adjusted drive waveform signal, and the operation of measuring the second vibration waveform is obtained until the second vibration waveform is a vibration waveform generated when the preset physical key is used. In other words, the setting of the first waveform signal follows the design principle of the low-frequency tactile drive waveform, so that the vibration waveform output by the touch panel satisfies the vibration waveform generated by the real physical key during use as much as possible, thereby simulating a feeling of touching a physical key for the user. Optionally, the above preset physical key can be the Home key on the mobile phone for returning to the mobile phone homepage.

最后,可以上述得到的第一波形信号在时域上加窗,并叠加在第二波形信号上,从而得到驱动波形信号,并将驱动波形信号存储到终端设备的内存中。从而可以使用户可以根据第一振动波形和第二振动波形,调整出自己需要的驱动波形信号。Finally, the first waveform signal obtained above can be windowed in the time domain and superimposed on the second waveform signal to obtain a driving waveform signal, and the driving waveform signal is stored in the memory of the terminal device. Thus, the user can adjust the driving waveform signal he needs according to the first vibration waveform and the second vibration waveform.

230、检测触控面板的当前工作模式。230. Detect the current working mode of the touch panel.

示例性地,触控面板的工作模式可以包括第一工作模式和第二工作模式,其中,触控面板在第一工作模式下能够在被触碰的情况下为用户提供听觉反馈和触觉反馈,即第一工作模式是可以为用户提供听觉反馈和触觉反馈的有声模式。触控面板在第二工作模式下能够在被触碰的情况下为用户提供触觉反馈,即第二工作模式是只为用户提供触觉反馈的静音模式。控制器可以实时监测触控面板当前是通过那种工作模式在工作。Exemplarily, the operating mode of the touch panel may include a first operating mode and a second operating mode, wherein the touch panel can provide auditory feedback and tactile feedback to the user when being touched in the first operating mode, that is, the first operating mode is an audible mode that can provide auditory feedback and tactile feedback to the user. The touch panel can provide tactile feedback to the user when being touched in the second operating mode, that is, the second operating mode is a silent mode that only provides tactile feedback to the user. The controller can monitor in real time which operating mode the touch panel is currently operating in.

240、在当前工作模式为第一工作模式的情况下,根据预设的驱动波形信号控制触控面板振动。240. When the current working mode is the first working mode, control the touch panel to vibrate according to a preset driving waveform signal.

沿用上述示例,当控制器监测到触控面板的当前工作模式为第一工作模式,则可以根据预设的驱动波形信号控制触控面板振动,即同时通过第一波形信号和第二波形信号来驱动触控面板振动,以为用户提供听觉反馈和触觉反馈。Continuing with the above example, when the controller detects that the current operating mode of the touch panel is the first operating mode, the vibration of the touch panel can be controlled according to the preset driving waveform signal, that is, the touch panel is driven to vibrate by the first waveform signal and the second waveform signal at the same time to provide auditory feedback and tactile feedback to the user.

250、在当前工作模式为第二工作模式的情况下,根据预设的第二驱动波形信号中的第二波形信号控制触控面板振动。250. When the current working mode is the second working mode, according to the preset second driving waveform signal The second waveform signal controls the touch panel to vibrate.

沿用上述示例,当控制器监测到触控面板的当前工作模式为第二工作模式,则可以只根据预设的驱动波形信号中的第二波形信号控制触控面板振动,以为用户提供触觉反馈。Continuing with the above example, when the controller detects that the current working mode of the touch panel is the second working mode, the touch panel can be controlled to vibrate only according to the second waveform signal in the preset driving waveform signal to provide tactile feedback to the user.

作为一种示例,如图4所示,图4示出了触控面板分别在X轴、Y轴以及Z轴方向上的振动波形图,其中,虚线代表有声音的工作模式(即第一工作模式)下振动波形,实线代表无声音的工作模式(即第二工作模式)下振动波形。其中,波形图的横坐标t代表时间,纵坐标代表振幅。其中,图4中的ax为触控面板分别在X轴方向上的振动波形。图4中的ay为触控面板分别在Y轴方向上的振动波形。图4中的az为触控面板分别在Z轴方向上的振动波形。As an example, as shown in Figure 4, Figure 4 shows the vibration waveform diagram of the touch panel in the X-axis, Y-axis and Z-axis directions, wherein the dotted line represents the vibration waveform in the working mode with sound (i.e., the first working mode), and the solid line represents the vibration waveform in the working mode without sound (i.e., the second working mode). Wherein, the horizontal coordinate t of the waveform diagram represents time, and the vertical coordinate represents amplitude. Wherein, ax in Figure 4 is the vibration waveform of the touch panel in the X-axis direction. ay in Figure 4 is the vibration waveform of the touch panel in the Y-axis direction. az in Figure 4 is the vibration waveform of the touch panel in the Z-axis direction.

其中,X轴的振动波形为致动器的主要工作轴,其产生的振动波形符合真实物理按键的波形,根据图4可知,X轴的振动波形和Y轴的振动波形的频率都不高,且在第一工作模式下和第二工作模式下相差不大。当触控面板在第一工作模式下,Z轴输出的振动波形频率较高,人耳可听到较大的类似“提示音”的声音反馈;当触控面板在第二工作模式下,Z轴的输出振动波形频率很低,其产生的声音几乎无法被人耳察觉。Among them, the vibration waveform of the X-axis is the main working axis of the actuator, and the vibration waveform it generates conforms to the waveform of a real physical key. According to Figure 4, the frequencies of the vibration waveforms of the X-axis and the Y-axis are not high, and are not much different in the first working mode and the second working mode. When the touch panel is in the first working mode, the vibration waveform frequency output by the Z-axis is relatively high, and the human ear can hear a loud sound feedback similar to a "prompt tone"; when the touch panel is in the second working mode, the output vibration waveform frequency of the Z-axis is very low, and the sound it generates is almost imperceptible to the human ear.

在一些实施方式中,该触控面板控制方法还可以包括:In some implementations, the touch panel control method may further include:

响应于用户对触控面板的工作模式切换操作,将控制面板的当前工作模式从第一工作模式切换到第二工作模式,或将控制面板的当前工作模式从第二工作模式切换到第一工作模式。In response to the user's operation of switching the working mode of the touch panel, the current working mode of the control panel is switched from the first working mode to the second working mode, or the current working mode of the control panel is switched from the second working mode to the first working mode.

示例性地,控制器可以接收用户通过在终端设备上输入的工作模式切换操作,并响应于用户对触控面板的工作模式切换操作将控制面板的当前工作模式进行切换。作为一种方式,终端设备可以安装有用于切换触控面板的工作模式的应用程序,当用户在终端设备上启动该应用程序后,可以通过该应用程序选择自己所需的工作模式,例如工作模式切换操作可以是用户点击通过应用程序在终端设备上显示的“切换选项”。作为另一种方式,如果控制器接收到了用户在触控面板上做出的指定操作,则可以将控制面板的当前工作模式进行切换。可选地,指定操作可以为双击操作、长按操作等。Exemplarily, the controller may receive a working mode switching operation input by a user on a terminal device, and switch the current working mode of the control panel in response to the user's working mode switching operation on the touch panel. As one way, the terminal device may be installed with an application for switching the working mode of the touch panel. When the user starts the application on the terminal device, the user can select the working mode he or she wants through the application. For example, the working mode switching operation may be a "switch option" displayed on the terminal device by the user clicking on the application. As another way, if the controller receives a specified operation made by the user on the touch panel, the current working mode of the control panel may be switched. Optionally, the specified operation may be a double-click operation, a long press operation, etc.

在本实施方式中,通过设置触控面板的两种工作模式供用户选择,让用户可以根据自己的需求,选择触控面板以有声模式还是静音模式来工作,丰富了交互方式,提升了用户体验。In this embodiment, two working modes of the touch panel are provided for the user to choose, so that the user can choose whether the touch panel works in an audible mode or a silent mode according to his or her needs, thereby enriching the interaction mode and improving the user experience.

在一些实施例中,在步骤250之后,如图5所示,该方法还可以包括:In some embodiments, after step 250, as shown in FIG5 , the method may further include:

260、检测触控面板受到触碰时的触碰时长。260. Detecting a touch duration when the touch panel is touched.

示例性地,触碰检测组件可以实时监测触控面板受到触碰时的触碰时长t。Exemplarily, the touch detection component can monitor in real time the touch duration t when the touch panel is touched.

270、根据触碰时长调节驱动波形信号中的第一波形信号,得到调节后的驱动波形信号。270. Adjust the first waveform signal in the driving waveform signal according to the touch duration to obtain an adjusted driving waveform signal.

沿用上述示例,触碰检测组件可以将触碰时长t上传到控制器,控制器则可以根据触碰时长t调节第一波形信号的循环周期、频率、振幅等。Continuing with the above example, the touch detection component can upload the touch duration t to the controller, and the controller can adjust the cycle period, frequency, amplitude, etc. of the first waveform signal according to the touch duration t.

可以理解的是,通过调节第一波形信号的循环周期,能够使触控面板在振动时发出的声音的间隔时间发生改变。通过调节第一波形信号的频率,能够使触控面板在振动时发出的声音的音调发生改变。通过调节第一波形信号的频率,能够使触控面板在振动时发出的声音的大小发生改变。It is understandable that by adjusting the cycle period of the first waveform signal, the interval time of the sound emitted by the touch panel when vibrating can be changed. By adjusting the frequency of the first waveform signal, the pitch of the sound emitted by the touch panel when vibrating can be changed. By adjusting the frequency of the first waveform signal, the volume of the sound emitted by the touch panel when vibrating can be changed.

在一些实施方式中,步骤270的具体实施方式可以包括:In some implementations, specific implementations of step 270 may include:

271、根据触碰时长确定第一波形信号的目标循环周期;其中,目标循环周期与触碰时长之间正相关。271. Determine a target cycle period of the first waveform signal according to the touch duration; wherein the target cycle period is positively correlated with the touch duration.

沿用上述示例,例如目标循环周期为T,触控面板可以根据目标循环周期T,在每隔一次目标循环周期T输出一次对应第一波形信号的振动,预先设定了触碰时长和目标循环周期之间为正相关,当触碰时长t增大时,目标循环周期为T也增大,也就是说,当用户触碰触控面板的时间越长,触控面板发出的声音的间隔时间也就会越长,从而为用户提供更丰富的交互体验,并且可以节省触控面板的功耗。Continuing with the above example, for example, the target cycle period is T, the touch panel can output a vibration corresponding to the first waveform signal once every target cycle period T according to the target cycle period T. The touch duration and the target cycle period are pre-set to be positively correlated. When the touch duration t increases, the target cycle period T also increases. That is to say, the longer the user touches the touch panel, the longer the interval between the sounds emitted by the touch panel will be, thereby providing the user with a richer interactive experience and saving the power consumption of the touch panel.

272、将驱动波形信号中的第一波形信号的当前循环周期调节为目标循环周期,得到调节后的驱动波形信号。272. Adjust the current cycle period of the first waveform signal in the driving waveform signal to the target cycle period to obtain an adjusted driving waveform signal.

沿用上述示例,例如当前循环周期为T0,控制器可以将将驱动波形信号中的第一波形信号的当前循环周期为T0替换为目标循环周期为T,从而得到调节后的驱动波形信号。Continuing with the above example, for example, if the current cycle period is T0 , the controller may replace the current cycle period T0 of the first waveform signal in the driving waveform signal with the target cycle period T, thereby obtaining an adjusted driving waveform signal.

280、根据调节后的驱动波形信号控制触控面板振动。280. Control the vibration of the touch panel according to the adjusted driving waveform signal.

可选地,控制器还可以根据触控时长调节第一波形信号的频率,例如触控时长越长,频率越小,即用户按压越久,触控面板发出的声音的音调越低。可选地,控制器还可以根据触控时长调节第一波形信号的振幅,例如触控时长越长,振幅越小,即用户按压越久,触控面板发出的声音的响度越小。Optionally, the controller may further adjust the frequency of the first waveform signal according to the touch duration, for example, the longer the touch duration, the smaller the frequency, that is, the longer the user presses, the lower the pitch of the sound emitted by the touch panel. Optionally, the controller may further adjust the amplitude of the first waveform signal according to the touch duration, for example, the longer the touch duration, the smaller the amplitude, that is, the longer the user presses, the lower the loudness of the sound emitted by the touch panel.

可选地,控制器还可以根据触碰时长,同时调节第一波形信号的循环周期、频率、振幅中的至少两种,从而带给用户更丰富的交互体验。Optionally, the controller may also simultaneously adjust at least two of the cycle period, frequency, and amplitude of the first waveform signal according to the touch duration, thereby providing the user with a richer interactive experience.

图6是根据又一示例性实施例示出的一种触控面板控制方法,该触控面板控制方法可以应用于图1中的终端设备10,具体可以应用于终端设备10中的处理器,如图6所示,该触控面板控制方法可以包括:FIG6 is a touch panel control method according to another exemplary embodiment. The touch panel control method can be applied to the terminal device 10 in FIG1 , and can be specifically applied to a processor in the terminal device 10. As shown in FIG6 , the touch panel control method may include:

310、确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰。310 . Determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched.

320、若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号。其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直。320. If it is determined according to the touch detection result that the touch panel is touched, a preset driving waveform signal is retrieved from the memory of the terminal device. The driving waveform signal includes a first waveform signal and a second waveform signal. The first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction.

330、根据驱动波形信号控制触控面板振动。330. Control the vibration of the touch panel according to the driving waveform signal.

其中,步骤310至步骤320的具体实施方式可以参考步骤110至步骤130,故不在此赘述。The specific implementation of step 310 to step 320 may refer to step 110 to step 130, so it will not be repeated here.

340、检测触控面板受到的触碰压力。340. Detect touch pressure applied to the touch panel.

示例性地,触碰检测组件可以实时监测触控面板受到触碰时的触碰压力F。Exemplarily, the touch detection component can monitor in real time the touch pressure F when the touch panel is touched.

350、根据触碰压力调节驱动波形信号中的第一波形信号,得到调节后的驱动波形信号。350. Adjust the first waveform signal in the driving waveform signal according to the touch pressure to obtain an adjusted driving waveform signal.

沿用上述示例,触碰检测组件可以将触碰压力F上传到控制器,控制器则可以根据触碰压力F调节第一波形信号的频率、振幅等。Continuing with the above example, the touch detection component can upload the touch pressure F to the controller, and the controller can adjust the frequency, amplitude, etc. of the first waveform signal according to the touch pressure F.

在一些实施方式中,步骤350的具体实施方式可以包括:In some implementations, specific implementations of step 350 may include:

根据触碰压力确定第一波形信号的目标振幅,其中,目标振幅与触碰压力之间正相关。然后,将驱动波形信号中的第一波形信号的当前振幅调节为目标振幅,得到调节后的驱动波形信号。The target amplitude of the first waveform signal is determined according to the touch pressure, wherein the target amplitude is positively correlated with the touch pressure. Then, the current amplitude of the first waveform signal in the driving waveform signal is adjusted to the target amplitude to obtain the adjusted driving waveform signal.

沿用上述示例,终端设备的内存中预先存储了多个压力值和多个振幅的第一映射关系,且该第一映射关系中压力值和振幅之间正相关,控制器在得到触碰压力后,可以从该映射关系中查找到与该触碰压力对应的振幅,并将与该触碰压力对应的振幅确定为目标振幅,然后将将驱动波形信号中的第一波形信号的当前振幅调节为目标振幅,得到调节后的驱动波形信号。Continuing with the above example, a first mapping relationship between multiple pressure values and multiple amplitudes is pre-stored in the memory of the terminal device, and the pressure value and the amplitude in the first mapping relationship are positively correlated. After obtaining the touch pressure, the controller can find the amplitude corresponding to the touch pressure from the mapping relationship, and determine the amplitude corresponding to the touch pressure as the target amplitude, and then adjust the current amplitude of the first waveform signal in the driving waveform signal to the target amplitude to obtain the adjusted driving waveform signal.

其中,在用户触碰触控面板的过程中,如果触碰压力发生改变,第一波形信号的当前振幅也会相应的改变。例如,触碰压力越大,第一波形信号的当前振幅越大,即用户的按压力度越大,触控面板通过振动发出的声音的响度越大。从而带给用户更丰富的交互体验。In the process of the user touching the touch panel, if the touch pressure changes, the current amplitude of the first waveform signal will also change accordingly. For example, the greater the touch pressure, the greater the current amplitude of the first waveform signal, that is, the greater the user's pressing force, the louder the sound emitted by the touch panel through vibration. This brings users a richer interactive experience.

在另一些实施方式中,步骤350的具体实施方式可以包括:In some other implementations, specific implementations of step 350 may include:

根据触碰压力确定第一波形信号的目标频率,其中,目标频率与触碰压力之间正相关,目标频率大于或等于指定频率。然后,将驱动波形信号中的第一波形信号的当前频率调节为目标频率,得到调节后的驱动波形信号。The target frequency of the first waveform signal is determined according to the touch pressure, wherein the target frequency is positively correlated with the touch pressure and the target frequency is greater than or equal to the specified frequency. Then, the current frequency of the first waveform signal in the driving waveform signal is adjusted to the target frequency to obtain the adjusted driving waveform signal.

终端设备的内存中预先存储了多个压力值和多个频率的第二映射关系,且该第二映射关系中压力值和频率之间正相关,控制器在得到触碰压力后,可以从该映射关系中查找到与该触碰压力对应的频率,并将与该触碰压力对应的频率确定为目标频率,然后将将驱动波形信号中的第一波形信号的当前频率调节为目标频率,得到调节后的驱动波形信号。The memory of the terminal device pre-stores a second mapping relationship between multiple pressure values and multiple frequencies, and the second mapping There is a positive correlation between the pressure value and the frequency in the relationship. After obtaining the touch pressure, the controller can find the frequency corresponding to the touch pressure from the mapping relationship, and determine the frequency corresponding to the touch pressure as the target frequency, and then adjust the current frequency of the first waveform signal in the driving waveform signal to the target frequency to obtain the adjusted driving waveform signal.

其中,在用户触碰触控面板的过程中,如果触碰压力发生改变,第一波形信号的当前频率也会相应的改变。例如,触碰压力越大,第一波形信号的当前频率越大,即用户的按压力度越大,触控面板通过振动发出的声音的音调越高。从而带给用户更丰富的交互体验。In the process of the user touching the touch panel, if the touch pressure changes, the current frequency of the first waveform signal will also change accordingly. For example, the greater the touch pressure, the greater the current frequency of the first waveform signal, that is, the greater the pressure of the user, the higher the pitch of the sound emitted by the touch panel through vibration. This brings users a richer interactive experience.

360、根据调节后的驱动波形信号控制触控面板振动。360. Control the vibration of the touch panel according to the adjusted driving waveform signal.

图7是根据一示例性实施例示出的一种触控面板控制装置,如图7所示,该装置400可以应用于图1中的终端设备10,具体可以应用于终端设备10中的处理器,该装置400可以包括:触碰检测模块410、驱动波形信号获取模块420以及振动模块430,其中:FIG. 7 is a touch panel control device according to an exemplary embodiment. As shown in FIG. 7 , the device 400 can be applied to the terminal device 10 in FIG. 1 , and can be specifically applied to the processor in the terminal device 10. The device 400 may include: a touch detection module 410, a drive waveform signal acquisition module 420, and a vibration module 430, wherein:

触碰检测模块410,用于确定触控面板的触碰检测结果,其中,触碰检测结果表征触控面板是否被触碰。The touch detection module 410 is used to determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched.

驱动波形信号获取模块420,用于若根据触碰检测结果确定触控面板被触碰,则从终端设备的内存中调取预设的驱动波形信号;其中,驱动波形信号包括第一波形信号和第二波形信号,第一波形信号用于控制触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;第二波形信号用于控制触控面板在第二方向上进行振动,以提供触觉反馈;其中,第一方向为触控面板的厚度方向,第二方向与第一方向相互垂直。The driving waveform signal acquisition module 420 is used to retrieve a preset driving waveform signal from the memory of the terminal device if it is determined based on the touch detection result that the touch panel is touched; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction.

振动模块430,用于根据驱动波形信号控制触控面板振动。The vibration module 430 is used to control the vibration of the touch panel according to the driving waveform signal.

在一些实施方式中,触控面板可以包括第一工作模式和第二工作模式;其中,触控面板在第一工作模式下能够在被触碰的情况下为用户提供听觉反馈和触觉反馈;触控面板在第二工作模式下能够在被触碰的情况下为用户提供触觉反馈。In some embodiments, the touch panel may include a first operating mode and a second operating mode; wherein, in the first operating mode, the touch panel can provide auditory feedback and tactile feedback to the user when touched; and in the second operating mode, the touch panel can provide tactile feedback to the user when touched.

在一些实施方式中,振动模块430,包括:In some embodiments, the vibration module 430 includes:

工作模式检测子模块,用于检测触控面板的当前工作模式。The working mode detection submodule is used to detect the current working mode of the touch panel.

第一振动子模块,用于在当前工作模式为第一工作模式的情况下,根据预设的驱动波形信号控制触控面板振动。The first vibration submodule is used to control the vibration of the touch panel according to a preset driving waveform signal when the current working mode is the first working mode.

在一些实施方式中,振动模块430,还包括:In some embodiments, the vibration module 430 further includes:

第二振动子模块,用于在当前工作模式为第二工作模式的情况下,根据预设的第二驱动波形信号中的第二波形信号控制触控面板振动。The second vibration submodule is used to control the vibration of the touch panel according to the second waveform signal in the preset second driving waveform signal when the current working mode is the second working mode.

在一些实施方式中,该装置400还包括:In some embodiments, the apparatus 400 further includes:

切换模块,用于响应于用户对触控面板的工作模式切换操作,将控制面板的当前工作模式从第一工作模式切换到第二工作模式,或将控制面板的当前工作模式从第二工作模式切换到第一工作模式。The switching module is used to respond to the user's operation of switching the working mode of the touch panel and switch the current working mode of the control panel. The mode is switched from the first working mode to the second working mode, or the current working mode of the control panel is switched from the second working mode to the first working mode.

在一些实施方式中,该装置400还包括:In some embodiments, the apparatus 400 further includes:

对数扫频模块,用于通过对数扫频的方式测量触控面板在第一方向上的第一机械振动特性以及在第二方向上的第二机械振动特征;第一机械振动特征表征触控面板在第一方向上输入的波形信号和其对应输出的振动波形之间的关系,第二机械振动特征表征触控面板在第二方向上输入的波形信号和其对应输出的振动波形之间的关系。The logarithmic frequency sweeping module is used to measure the first mechanical vibration characteristic of the touch panel in the first direction and the second mechanical vibration characteristic in the second direction by means of logarithmic frequency sweeping; the first mechanical vibration characteristic characterizes the relationship between the waveform signal input into the touch panel in the first direction and the corresponding output vibration waveform, and the second mechanical vibration characteristic characterizes the relationship between the waveform signal input into the touch panel in the second direction and the corresponding output vibration waveform.

第一波形信号确定模块,用于通过预设的第一振动波形和第一机械振动特性,确定第一波形信号,其中,第一振动波形的频率大于或等于指定频率。The first waveform signal determination module is used to determine the first waveform signal according to a preset first vibration waveform and a first mechanical vibration characteristic, wherein the frequency of the first vibration waveform is greater than or equal to a specified frequency.

第二波形信号确定模块,用于通过预设的第二振动波形和第二机械振动特性,确定第二波形信号;其中,第二振动波形为预设的物理按键被使用时产生的振动波形。The second waveform signal determination module is used to determine the second waveform signal according to a preset second vibration waveform and a second mechanical vibration characteristic; wherein the second vibration waveform is a vibration waveform generated when a preset physical key is used.

驱动波形信号确定模块,用于将第一波形信号进行预设的时域加窗处理后,叠加在第二波形信号上,得到驱动波形信号,并将驱动波形信号存储到终端设备的内存中。The driving waveform signal determination module is used to perform a preset time domain windowing process on the first waveform signal, superimpose it on the second waveform signal, obtain the driving waveform signal, and store the driving waveform signal in the memory of the terminal device.

在一些实施方式中,振动模块430还用于检测触控面板受到的触碰压力;根据触碰压力调节驱动波形信号中的第一波形信号,得到调节后的驱动波形信号;根据调节后的驱动波形信号控制触控面板振动。In some embodiments, the vibration module 430 is also used to detect the touch pressure applied to the touch panel; adjust the first waveform signal in the driving waveform signal according to the touch pressure to obtain an adjusted driving waveform signal; and control the vibration of the touch panel according to the adjusted driving waveform signal.

在一些实施方式中,振动模块430具体还用于根据触碰压力确定第一波形信号的目标振幅,其中,目标振幅与触碰压力之间正相关;将驱动波形信号中的第一波形信号的当前振幅调节为目标振幅,得到调节后的驱动波形信号。In some embodiments, the vibration module 430 is also specifically used to determine the target amplitude of the first waveform signal according to the touch pressure, wherein the target amplitude is positively correlated with the touch pressure; and adjust the current amplitude of the first waveform signal in the driving waveform signal to the target amplitude to obtain the adjusted driving waveform signal.

在一些实施方式中,振动模块430具体还用于根据触碰压力确定第一波形信号的目标频率,其中,目标频率与触碰压力之间正相关,目标频率大于或等于指定频率;将驱动波形信号中的第一波形信号的当前频率调节为目标频率,得到调节后的驱动波形信号。In some embodiments, the vibration module 430 is also specifically used to determine the target frequency of the first waveform signal based on the touch pressure, wherein the target frequency is positively correlated with the touch pressure, and the target frequency is greater than or equal to the specified frequency; the current frequency of the first waveform signal in the driving waveform signal is adjusted to the target frequency to obtain an adjusted driving waveform signal.

在一些实施方式中,振动模块430还用于检测触控面板受到触碰时的触碰时长;根据触碰时长调节驱动波形信号中的第一波形信号,得到调节后的驱动波形信号;根据调节后的驱动波形信号控制触控面板振动。In some embodiments, the vibration module 430 is also used to detect the touch duration when the touch panel is touched; adjust the first waveform signal in the driving waveform signal according to the touch duration to obtain an adjusted driving waveform signal; and control the vibration of the touch panel according to the adjusted driving waveform signal.

在一些实施方式中,振动模块430具体还用于根据触碰时长确定第一波形信号的目标循环周期;其中,目标循环周期与触碰时长之间正相关;将驱动波形信号中的第一波形信号的当前循环周期调节为目标循环周期,得到调节后的驱动波形信号。In some embodiments, the vibration module 430 is also specifically used to determine the target cycle period of the first waveform signal based on the touch duration; wherein the target cycle period is positively correlated with the touch duration; and the current cycle period of the first waveform signal in the driving waveform signal is adjusted to the target cycle period to obtain an adjusted driving waveform signal.

在一些实施方式中,触碰检测模块410,具体用于检测触控面板受到触碰时的触碰时长;若触碰时长超过时长阈值,则确定触控面板的触碰检测结果为触控面板被触碰。In some implementations, the touch detection module 410 is specifically used to detect the touch duration when the touch panel is touched; if the touch duration exceeds a duration threshold, the touch detection result of the touch panel is determined to be that the touch panel is touched.

在一些实施方式中,触碰检测模块410,具体用于检测触控面板受到触碰时的触碰压力;若触碰压力超过压力阈值,则确定触控面板的触碰检测结果为触控面板被触碰。In some embodiments, the touch detection module 410 is specifically configured to detect the touch pressure when the touch panel is touched. if the touch pressure exceeds the pressure threshold, the touch detection result of the touch panel is determined to be that the touch panel is touched.

图8是根据一示例性实施例示出的一种电子设备的结构示意图,该电子设备可以是笔记本电脑、平板电脑、智能手机、车载终端等带有触控面板的设备。其中,该电子设备可以相当于上述实施例中的终端设备。Fig. 8 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment, and the electronic device may be a device with a touch panel such as a notebook computer, a tablet computer, a smart phone, a vehicle-mounted terminal, etc. The electronic device may be equivalent to the terminal device in the above embodiment.

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

处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone 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-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the 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 on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

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

多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen that provides an output interface between the electronic 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 the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a 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), and when the electronic device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone 810 can be used to output and/or input audio signals. The microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

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

传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open/closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The 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 assembly 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 electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal 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 can 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, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

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

在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当该存储介质中的指令由终端设备的处理器执行时,使得终端设备能够执行上述电子设备的触控面板控制方法。In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided. When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device can execute the touch panel control method of the electronic device. Law.

在示例性实施例中,还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时上述实施例中的触控面板控制方法。In an exemplary embodiment, a computer program product is further provided, including a computer program, and when the computer program is executed by a processor, the touch panel control method in the above embodiment is implemented.

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

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

Claims (17)

Translated fromChinese
一种触控面板控制方法,其特征在于,所述方法应用于终端设备,所述终端设备上设置有所述触控面板,所述方法包括:A touch panel control method, characterized in that the method is applied to a terminal device, the terminal device is provided with the touch panel, and the method comprises:确定所述触控面板的触碰检测结果,其中,所述触碰检测结果表征所述触控面板是否被触碰;Determining a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched;若根据所述触碰检测结果确定所述触控面板被触碰,则从所述终端设备的内存中调取预设的驱动波形信号;其中,所述驱动波形信号包括第一波形信号和第二波形信号,所述第一波形信号用于控制所述触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;所述第二波形信号用于控制所述触控面板在第二方向上进行振动,以提供触觉反馈;其中,所述第一方向为所述触控面板的厚度方向,所述第二方向与所述第一方向相互垂直;If it is determined according to the touch detection result that the touch panel is touched, a preset driving waveform signal is retrieved from the memory of the terminal device; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction;根据所述驱动波形信号控制所述触控面板振动。The touch panel is controlled to vibrate according to the driving waveform signal.根据权利要求1所述的方法,其特征在于,所述触控面板包括第一工作模式和第二工作模式;其中,所述触控面板在所述第一工作模式下能够在被触碰的情况下为用户提供听觉反馈和触觉反馈;所述触控面板在所述第二工作模式下能够在被触碰的情况下为用户提供触觉反馈。The method according to claim 1 is characterized in that the touch panel includes a first operating mode and a second operating mode; wherein the touch panel can provide auditory feedback and tactile feedback to the user when being touched in the first operating mode; and the touch panel can provide tactile feedback to the user when being touched in the second operating mode.根据权利要求2所述的方法,其特征在于,所述根据所述驱动波形信号控制所述触控面板振动,包括:The method according to claim 2, characterized in that controlling the vibration of the touch panel according to the driving waveform signal comprises:检测所述触控面板的当前工作模式;Detecting a current operating mode of the touch panel;在当前工作模式为所述第一工作模式的情况下,根据预设的驱动波形信号控制所述触控面板振动。When the current working mode is the first working mode, the touch panel is controlled to vibrate according to a preset driving waveform signal.根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, characterized in that the method further comprises:在当前工作模式为所述第二工作模式的情况下,根据预设的第二驱动波形信号中的第二波形信号控制所述触控面板振动。When the current working mode is the second working mode, the touch panel is controlled to vibrate according to a second waveform signal in a preset second driving waveform signal.根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:响应于用户对所述触控面板的工作模式切换操作,将所述控制面板的当前工作模式从所述第一工作模式切换到所述第二工作模式,或将所述控制面板的当前工作模式从所述第二工作模式切换到所述第一工作模式。In response to the user's operation of switching the working mode of the touch panel, the current working mode of the control panel is switched from the first working mode to the second working mode, or the current working mode of the control panel is switched from the second working mode to the first working mode.根据权利要求1至5中任一项所述的方法,其特征在于,在所述若根据所述触碰检测结果确定所述触控面板被触碰,则从所述终端设备的内存中调取预设的驱动波形信号之前,所述方法还包括:The method according to any one of claims 1 to 5, characterized in that if the touch panel is determined to be touched according to the touch detection result, a preset driving waveform signal is retrieved from the memory of the terminal device. Previously, the method also included:通过对数扫频的方式测量所述触控面板在所述第一方向上的第一机械振动特性以及在所述第二方向上的第二机械振动特征;所述第一机械振动特征表征所述触控面板在所述第一方向上输入的波形信号和其对应输出的振动波形之间的关系,所述第二机械振动特征表征所述触控面板在所述第二方向上输入的波形信号和其对应输出的振动波形之间的关系;The first mechanical vibration characteristic of the touch panel in the first direction and the second mechanical vibration characteristic in the second direction are measured by logarithmic frequency sweeping; the first mechanical vibration characteristic represents the relationship between the waveform signal input to the touch panel in the first direction and the corresponding output vibration waveform, and the second mechanical vibration characteristic represents the relationship between the waveform signal input to the touch panel in the second direction and the corresponding output vibration waveform;通过预设的第一振动波形和所述第一机械振动特性,确定所述第一波形信号,其中,所述第一振动波形的频率大于或等于指定频率;Determining the first waveform signal by using a preset first vibration waveform and the first mechanical vibration characteristic, wherein the frequency of the first vibration waveform is greater than or equal to a specified frequency;通过预设的第二振动波形和所述第二机械振动特性,确定所述第二波形信号;其中,所述第二振动波形为预设的物理按键被使用时产生的振动波形;Determining the second waveform signal by using a preset second vibration waveform and the second mechanical vibration characteristic; wherein the second vibration waveform is a vibration waveform generated when a preset physical key is used;将所述第一波形信号进行预设的时域加窗处理后,叠加在所述第二波形信号上,得到所述驱动波形信号,并将所述驱动波形信号存储到所述终端设备的内存中。The first waveform signal is subjected to a preset time domain windowing process and then superimposed on the second waveform signal to obtain the driving waveform signal, and the driving waveform signal is stored in the memory of the terminal device.根据权利要求1至6中任一项所述的方法,其特征在于,在所述根据预设的驱动波形信号控制所述触控面板振动之后,所述方法还包括:The method according to any one of claims 1 to 6, characterized in that after controlling the touch panel to vibrate according to a preset driving waveform signal, the method further comprises:检测所述触控面板受到的触碰压力;detecting a touch pressure applied to the touch panel;根据所述触碰压力调节所述驱动波形信号中的第一波形信号,得到调节后的驱动波形信号;adjusting a first waveform signal in the driving waveform signal according to the touch pressure to obtain an adjusted driving waveform signal;根据所述调节后的驱动波形信号控制所述触控面板振动。The touch panel is controlled to vibrate according to the adjusted driving waveform signal.根据权利要求7所述的方法,其特征在于,所述根据所述触碰压力调节所述驱动波形信号中的第一波形信号,得到调节后的驱动波形信号,包括:The method according to claim 7, characterized in that the step of adjusting the first waveform signal in the driving waveform signal according to the touch pressure to obtain the adjusted driving waveform signal comprises:根据所述触碰压力确定所述第一波形信号的目标振幅,其中,所述目标振幅与所述触碰压力之间正相关;determining a target amplitude of the first waveform signal according to the touch pressure, wherein the target amplitude is positively correlated with the touch pressure;将所述驱动波形信号中的第一波形信号的当前振幅调节为所述目标振幅,得到所述调节后的驱动波形信号。The current amplitude of the first waveform signal in the driving waveform signal is adjusted to the target amplitude to obtain the adjusted driving waveform signal.根据权利要求7或8所述的方法,其特征在于,所述根据所述触碰压力调节所述驱动波形信号中的第一波形信号,得到调节后的驱动波形信号,包括:The method according to claim 7 or 8, characterized in that the step of adjusting the first waveform signal in the driving waveform signal according to the touch pressure to obtain the adjusted driving waveform signal comprises:根据所述触碰压力确定所述第一波形信号的目标频率,其中,所述目标频率与所述触碰压力之间正相关,所述目标频率大于或等于所述指定频率;determining a target frequency of the first waveform signal according to the touch pressure, wherein the target frequency is positively correlated with the touch pressure, and the target frequency is greater than or equal to the specified frequency;将所述驱动波形信号中的第一波形信号的当前频率调节为所述目标频率,得到所述调节后的驱动波形信号。The current frequency of the first waveform signal in the driving waveform signal is adjusted to the target frequency to obtain the adjusted driving waveform signal.根据权利要求1至9中任一项所述的方法,其特征在于,在所述若根据所述触碰检测结果确定所述触控面板被触碰,则根据预设的驱动波形信号控制所述触控面板振动之后,所述方法还包括:The method according to any one of claims 1 to 9, characterized in that, in the case where according to the touch If the detection result determines that the touch panel is touched, after controlling the touch panel to vibrate according to a preset driving waveform signal, the method further includes:检测所述触控面板受到触碰时的触碰时长;Detecting a touch duration when the touch panel is touched;根据所述触碰时长调节所述驱动波形信号中的第一波形信号,得到调节后的驱动波形信号;adjusting a first waveform signal in the driving waveform signal according to the touch duration to obtain an adjusted driving waveform signal;根据所述调节后的驱动波形信号控制所述触控面板振动。The touch panel is controlled to vibrate according to the adjusted driving waveform signal.根据权利要求10所述的方法,其特征在于,所述根据所述触碰时长调节所述驱动波形信号中的第一波形信号,得到调节后的驱动波形信号,包括:The method according to claim 10, characterized in that the step of adjusting the first waveform signal in the driving waveform signal according to the touch duration to obtain the adjusted driving waveform signal comprises:根据所述触碰时长确定所述第一波形信号的目标循环周期;其中,所述目标循环周期与所述触碰时长之间正相关;Determining a target cycle period of the first waveform signal according to the touch duration; wherein the target cycle period is positively correlated with the touch duration;将所述驱动波形信号中的第一波形信号的当前循环周期调节为所述目标循环周期,得到所述调节后的驱动波形信号。The current cycle period of the first waveform signal in the driving waveform signal is adjusted to the target cycle period to obtain the adjusted driving waveform signal.根据权利要求1至11中任一项所述的方法,其特征在于,所述确定所述触控面板的触碰检测结果,包括:The method according to any one of claims 1 to 11, characterized in that determining the touch detection result of the touch panel comprises:检测所述触控面板受到触碰时的触碰时长;Detecting a touch duration when the touch panel is touched;若所述触碰时长超过时长阈值,则确定所述触控面板的触碰检测结果为所述触控面板被触碰。If the touch duration exceeds the duration threshold, it is determined that the touch detection result of the touch panel is that the touch panel is touched.根据权利要求1至11中任一项所述的方法,其特征在于,所述确定所述触控面板的触碰检测结果,包括:The method according to any one of claims 1 to 11, characterized in that determining the touch detection result of the touch panel comprises:检测所述触控面板受到触碰时的触碰压力;detecting a touch pressure when the touch panel is touched;若所述触碰压力超过压力阈值,则确定所述触控面板的触碰检测结果为所述触控面板被触碰。If the touch pressure exceeds the pressure threshold, the touch detection result of the touch panel is determined as the touch panel being touched.一种触控面板控制装置,其特征在于,所述装置应用于终端设备,所述终端设备上设置有所述触控面板,所述装置包括:A touch panel control device, characterized in that the device is applied to a terminal device, the terminal device is provided with the touch panel, and the device comprises:触碰检测模块,用于确定所述触控面板的触碰检测结果,其中,所述触碰检测结果表征所述触控面板是否被触碰;A touch detection module, used to determine a touch detection result of the touch panel, wherein the touch detection result indicates whether the touch panel is touched;驱动波形信号获取模块,用于若根据所述触碰检测结果确定所述触控面板被触碰,则从所述终端设备的内存中调取预设的驱动波形信号;其中,所述驱动波形信号包括第一波形信号和第二波形信号,所述第一波形信号用于控制所述触控面板在第一方向上进行振动,且振动时输出的振动波形的频率大于或等于指定频率,以提供听觉反馈;所述第二波形信号用于控制所述触控面板在第二方向上进行振动,以提供触觉反馈;其中,所述第一方向为所述触控面板的厚度方向,所述第二方向与所述第一方向相互垂直;A driving waveform signal acquisition module, used for retrieving a preset driving waveform signal from the memory of the terminal device if it is determined that the touch panel is touched according to the touch detection result; wherein the driving waveform signal includes a first waveform signal and a second waveform signal, the first waveform signal is used to control the touch panel to vibrate in a first direction, and the frequency of the vibration waveform output during vibration is greater than or equal to a specified frequency to provide auditory feedback; the second waveform signal is used to control the touch panel to vibrate in a second direction to provide tactile feedback; wherein the first direction is the thickness direction of the touch panel, and the second direction is perpendicular to the first direction;振动模块,用于根据所述驱动波形信号控制所述触控面板振动。A vibration module is used to control the vibration of the touch panel according to the driving waveform signal.一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;An electronic device comprises: a processor, and a memory communicatively connected to the processor;所述存储器存储计算机执行指令;The memory stores computer-executable instructions;所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1至13中任一项所述的方法。The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至13任一项所述的触控面板控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the touch panel control method according to any one of claims 1 to 13.一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现权利要求1至13中任一项所述的方法。A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
PCT/CN2023/0995502023-06-092023-06-09Control method and apparatus for touch-control panel, and electronic device and storage mediumPendingWO2024250304A1 (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
PCT/CN2023/099550WO2024250304A1 (en)2023-06-092023-06-09Control method and apparatus for touch-control panel, and electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
PCT/CN2023/099550WO2024250304A1 (en)2023-06-092023-06-09Control method and apparatus for touch-control panel, and electronic device and storage medium

Publications (1)

Publication NumberPublication Date
WO2024250304A1true WO2024250304A1 (en)2024-12-12

Family

ID=93794894

Family Applications (1)

Application NumberTitlePriority DateFiling Date
PCT/CN2023/099550PendingWO2024250304A1 (en)2023-06-092023-06-09Control method and apparatus for touch-control panel, and electronic device and storage medium

Country Status (1)

CountryLink
WO (1)WO2024250304A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104219609A (en)*2014-09-152014-12-17精拓丽音科技(北京)有限公司Piezoelectric sound production structure and mobile terminal
US20150373441A1 (en)*2013-01-072015-12-24Nokia Technologies OyA Speaker Apparatus
CN105302373A (en)*2015-11-092016-02-03深圳市汇顶科技股份有限公司Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN108563341A (en)*2018-04-132018-09-21吉林大学A kind of three-dimensional touch electronic pen and method with vibrotactile feedback
CN109906422A (en)*2016-12-152019-06-18株式会社东海理化电机制作所 Tactile and auditory presentation devices
CN111727610A (en)*2018-03-052020-09-29谷歌有限责任公司Distributed mode loudspeaker actuator including patterned electrodes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150373441A1 (en)*2013-01-072015-12-24Nokia Technologies OyA Speaker Apparatus
CN104219609A (en)*2014-09-152014-12-17精拓丽音科技(北京)有限公司Piezoelectric sound production structure and mobile terminal
CN105302373A (en)*2015-11-092016-02-03深圳市汇顶科技股份有限公司Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN109906422A (en)*2016-12-152019-06-18株式会社东海理化电机制作所 Tactile and auditory presentation devices
CN111727610A (en)*2018-03-052020-09-29谷歌有限责任公司Distributed mode loudspeaker actuator including patterned electrodes
CN108563341A (en)*2018-04-132018-09-21吉林大学A kind of three-dimensional touch electronic pen and method with vibrotactile feedback

Similar Documents

PublicationPublication DateTitle
US11907426B2 (en)Electronic device with actuators for producing haptic and audio output along a device housing
CN109194796B (en)Screen sounding method and device, electronic device and storage medium
CN108683761B (en)Sound production control method and device, electronic device and computer readable medium
CN107277268B (en) A kind of audio playback method and mobile terminal
CN109032558A (en)Sound production control method and device, electronic device and computer readable medium
CN108646971A (en)Screen sounding control method and device and electronic device
JP2015170213A (en) Portable device, control method and program
CN106791109A (en)A kind of sound prompting method and mobile terminal
CN108668009A (en) Input operation control method, device, terminal, earphone and readable storage medium
CN108712571A (en)Method and device for sounding display screen, electronic device and storage medium
CN113835518B (en) Vibration control method and device, vibration device, terminal, storage medium
CN109085985B (en)Sound production control method, sound production control device, electronic device, and storage medium
CN110312032A (en)audio playing method and related product
JP2013236130A (en)Electronic apparatus, control method, and control program
CN106792307A (en)Wireless headset and earphone adjusting method
CN107483670A (en) Voice radiation method, device, voice radiation structure and terminal
CN106101409A (en)A kind of mobile terminal and control method
CN109144249B (en)Screen sounding method and device, electronic device and storage medium
CN108712706B (en)Sound production method, sound production device, electronic device and storage medium
CN106878868A (en) A loudspeaker control device, method and mobile terminal
CN108900688A (en)Sounding control method, device, electronic device and computer-readable medium
CN109901703A (en) A terminal, a vibration method for the terminal, and a storage medium
CN109144459B (en) Voice control method, device, electronic device, and storage medium
CN111488106B (en) Method and device for processing TDDI touch screen sound
WO2024250304A1 (en)Control method and apparatus for touch-control panel, and electronic device and storage medium

Legal Events

DateCodeTitleDescription
121Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number:23940186

Country of ref document:EP

Kind code of ref document:A1


[8]ページ先頭

©2009-2025 Movatter.jp