[go: up one dir, main page]

CN115603726A - Touch recognition method, touch device and operation method thereof - Google Patents

Touch recognition method, touch device and operation method thereof Download PDF

Info

Publication number
CN115603726A
CN115603726A CN202110720076.1A CN202110720076A CN115603726A CN 115603726 A CN115603726 A CN 115603726A CN 202110720076 A CN202110720076 A CN 202110720076A CN 115603726 A CN115603726 A CN 115603726A
Authority
CN
China
Prior art keywords
touch
key
button
touch screen
driving
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
CN202110720076.1A
Other languages
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.)
BOE Technology Group Co Ltd
Beijing BOE Technology Development Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Technology Development 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 BOE Technology Group Co Ltd, Beijing BOE Technology Development Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202110720076.1A priority Critical patent/CN115603726A/en
Publication of CN115603726A publication Critical patent/CN115603726A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a touch identification method of touch equipment, the touch equipment and an operation method thereof, wherein the touch equipment comprises at least one touch key area, and the method comprises the following steps: responding to vibration information in at least one touch key area, and sending a program trigger instruction; the vibration information in any touch key area is obtained by adopting the following steps: responding to the touch signal, determining a touch key area, and generating a driving signal; and determining the vibration information according to the driving signal, wherein the vibration information at least comprises vibration times. The touch recognition method disclosed by the invention is based on tactile feedback, and can be conveniently operated under the condition of lacking visual assistance.

Description

触摸识别方法、触摸设备及其操作方法Touch recognition method, touch device and operation method thereof

技术领域technical field

本公开涉及一种触摸技术领域,特别涉及一种触摸识别方法、触摸设备及其操作方法。The present disclosure relates to the technical field of touch, and in particular to a touch recognition method, a touch device and an operation method thereof.

背景技术Background technique

目前,对于可触摸设备的操作而言,多是基于视觉反馈,利用滑动或点击进行操作。然而,对于特殊人群(例如视力障碍人员)或者在特殊情况(例如锁屏状态或不方便查看时)下,基于视觉反馈的操作是不期望的。At present, the operations of touchable devices are mostly based on visual feedback, and are operated by sliding or clicking. However, for special groups of people (such as visually impaired persons) or under special circumstances (such as a locked screen state or when it is inconvenient to view), operations based on visual feedback are undesirable.

发明内容Contents of the invention

本公开提供了一种触摸识别方法,其能够在不特别依赖视觉反馈的情况中为用户提供便捷准确的操作体验。The present disclosure provides a touch recognition method, which can provide a user with a convenient and accurate operation experience without particularly relying on visual feedback.

根据本公开的一个方面,提供一种触摸设备的触摸识别方法,所述触摸设备包括设有至少一个触控按键区域,所述方法包括:响应于至少一个触控按键区域内的振动信息,发送程序触发指令;对于任一所述触控按键区域内的所述振动信息采用如下步骤获取:响应于触控信号,确定所述触控按键区域,并生成驱动信号;根据所述驱动信号,确定所述振动信息,所述振动信息至少包括振动次数。According to one aspect of the present disclosure, a touch recognition method for a touch device is provided, the touch device includes at least one touch key area, the method includes: in response to vibration information in the at least one touch key area, sending The program triggers an instruction; for the vibration information in any of the touch button areas, the following steps are used to obtain: in response to the touch signal, determine the touch button area, and generate a driving signal; according to the driving signal, determine The vibration information, the vibration information at least includes vibration times.

可选地,所述响应于触控信号,确定所述触控按键区域,并生成驱动信号进一步包括步骤S11至S13:S11:判断触摸屏上的触摸操作是否表示对所述至少一个触控按键区域中的至少一个操作按键中的任一个操作按键的有效操作;S12:响应于确定所述触摸操作表示对所述至少一个触控按键区域中的所述至少一个操作按键中的任一个操作按键的有效操作,执行S13,否则跳转到S11;S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号,计数器加1。Optionally, the determining the touch key area in response to the touch signal, and generating the driving signal further include steps S11 to S13: S11: judging whether the touch operation on the touch screen indicates that the at least one touch key area An effective operation of any one of the at least one operation key in the at least one operation key; S12: In response to determining that the touch operation represents an operation of any one of the at least one operation key in the at least one touch key area Effective operation, execute S13, otherwise jump to S11; S13: Based on the key drive information of the operation key in the key drive information of the at least one operation key stored in the memory, control the drive circuit to send a corresponding drive signal, The counter is incremented by 1.

可选地,所述根据所述驱动信号,确定所述振动信息进一步包括步骤S14至S15:S14:预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在;S15:响应于所述触摸屏上的所述触摸操作依然存在,跳转到S13;响应于所述触摸屏上的所述触摸操作不再存在,处理器将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;以及S16:处理器根据存储器中的当前记录输出振动信息,其中,所述当前记录中的计数器对应于所述振动信息中的振动次数。Optionally, the determining the vibration information according to the driving signal further includes steps S14 to S15: S14: After a predetermined period of time, determine whether the touch operation on the touch screen still exists; S15: Respond to the The touch operation on the touch screen still exists, jump to S13; in response to the touch operation on the touch screen no longer exists, the processor combines the current count of the counter with the previous storage record in the memory as the current record Store in the memory; and S16: The processor outputs vibration information according to the current record in the memory, wherein the counter in the current record corresponds to the number of vibrations in the vibration information.

可选地,所述触控按键区域还包括确定按键和取消按键,以及在步骤S15和步骤S16之间,所述触摸识别方法还包括:S17:判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;S18:响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则处理器根据当前振动信息对触摸设备发送程序触发指令;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;S19:响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11。Optionally, the touch button area also includes a confirmation button and a cancel button, and between step S15 and step S16, the touch recognition method further includes: S17: judging whether the touch operation on the touch screen represents the confirmation button effective operation; S18: in response to the touch operation on the touch screen indicating an effective operation of the determined button, the processor sends a program trigger instruction to the touch device according to the current vibration information; otherwise, judge whether the touch operation on the touch screen indicates the cancellation of the Effective operation of the button; S19: in response to the touch operation on the touch screen indicating the effective operation of the cancel button, then clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump Go to S11.

可选地,判断触摸屏上触摸操作是否表示对所述操作按键/所述确定按键/所述取消按键的有效操作包括:检测所述触摸操作的触摸位置是否落入该按键的有效区域内和/或检测所述触摸操作的压力值是否大于预设压力阈值。Optionally, judging whether the touch operation on the touch screen represents an effective operation on the operation button/the OK button/the cancel button includes: detecting whether the touch position of the touch operation falls within the effective area of the button and/or Or detect whether the pressure value of the touch operation is greater than a preset pressure threshold.

可选地,所述至少一个操作按键包括多个操作按键;以及对于多个操作按键中的至少两个按键,其驱动信号中的驱动波形是不同的。Optionally, the at least one operation key includes a plurality of operation keys; and for at least two of the plurality of operation keys, the driving waveforms in the driving signals are different.

可选地,所述触摸设备还包括设置在所述触摸屏以外区域的至少一个振动器,所述驱动信号配置为驱动至少一个振动器振动。Optionally, the touch device further includes at least one vibrator disposed outside the touch screen, and the driving signal is configured to drive the at least one vibrator to vibrate.

可选地,在步骤S11之前,所述触摸识别方法还包括:利用所述至少一个振动器产生振动,通过多次训练,获取所述至少按键所处区域振动时所述至少一个振动器的驱动信号所对应的按键驱动信息并存储至存储器。Optionally, before step S11, the touch recognition method further includes: using the at least one vibrator to generate vibration, and through multiple trainings, acquiring the driving of the at least one vibrator when the area where the at least key is located vibrates The key driving information corresponding to the signal is stored in the memory.

根据本公开的另一个方面,提供一种触摸设备,包括设有至少一个触控按键区域的触摸屏、驱动电路、处理器、至少一个振动器,其中,所述处理器响应于触控信号确定所述触控按键区域,并启动所述驱动电路生成并发出驱动信号;所述至少一个振动器根据驱动信号持续发生振动,所述处理器检测所述驱动信号并确定所述振动信息,所述处理器响应于至少一个触控按键区域内的振动信息,发送程序触发指令,其中,所述振动信息至少包括振动次数。According to another aspect of the present disclosure, a touch device is provided, including a touch screen provided with at least one touch key area, a drive circuit, a processor, and at least one vibrator, wherein the processor determines the the touch button area, and start the drive circuit to generate and send a drive signal; the at least one vibrator continues to vibrate according to the drive signal, the processor detects the drive signal and determines the vibration information, the processing The device sends a program trigger instruction in response to vibration information in at least one area of the touch key, wherein the vibration information includes at least the number of vibrations.

可选地,所述触摸设备还包括存储器、计数器,其中,所述触摸屏的所述触控按键区域设有至少一个操作按键、确定按键和取消按键,其配置为感测触摸屏上的触摸操作;所述存储器存储有所述至少一个操作按键的按键驱动信息;所述至少一个振动器设置在所述触摸屏外部;所述驱动电路配置为向所述至少一个振动器发出对应的驱动信号;所述计数器配置为在所述驱动电路发出至少一个驱动信号时加1;以及所述处理器配置为:S11:检测触摸屏上触摸操作是否为任一个操作按键的有效操作;S12:响应于确定所述触摸操作表示对所述至少一个操作按键中的任一个操作按键的有效操作;以及S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号使得所述至少一个振动器产生振动,以在该操作按键处产生至少一次振动,并且相应使得计数器至少加1。Optionally, the touch device further includes a memory and a counter, wherein the touch key area of the touch screen is provided with at least one operation key, a confirmation key and a cancel key, which are configured to sense touch operations on the touch screen; The memory stores key drive information of the at least one operation key; the at least one vibrator is arranged outside the touch screen; the drive circuit is configured to send a corresponding drive signal to the at least one vibrator; the The counter is configured to add 1 when the drive circuit sends at least one drive signal; and the processor is configured to: S11: detect whether the touch operation on the touch screen is an effective operation of any operation button; S12: respond to determining that the touch The operation represents an effective operation on any one of the at least one operation key; and S13: Based on the key drive information of the operation key in the key drive information of the at least one operation key stored in the memory, control The driving circuit sends a corresponding driving signal to make the at least one vibrator vibrate, so as to generate at least one vibration at the operation button, and correspondingly make the counter increase by at least 1.

可选地,所述至少一个振动器包括压电陶瓷振动器。Optionally, the at least one vibrator includes a piezoelectric ceramic vibrator.

可选地,所述驱动电路包括多路驱动子电路,所述至少一个振动器包括设置所述触摸设备的不同位置上的多路振动器;所述按键驱动信息包括所述多路振动器的各个驱动信号;以及所述多个驱动子电路配置为根据各个驱动信号发出相应的驱动波形,以驱动所述多路振动器产生振动,使所述触摸屏上的被触摸的操作按键的位置产生局部振动。Optionally, the driving circuit includes a multi-way driving sub-circuit, and the at least one vibrator includes multi-way vibrators set at different positions of the touch device; the key drive information includes the multi-way vibrator Each driving signal; and the plurality of driving sub-circuits are configured to send corresponding driving waveforms according to each driving signal to drive the multi-channel vibrator to vibrate, so that the position of the touched operation button on the touch screen generates a local vibration.

可选地,所述处理器包括驱动屏及坐标处理模块、数据处理模块和多路驱动处理模块,其中,所述驱动屏及坐标处理模块配置为对所述触摸屏要显示的界面进行驱动,并接收所述触摸操作并将其传递给所述数据处理模块;所述数据处理模块配置为基于判断所述触摸操作为所述至少一个按键中的任意一个按键的有效操作,调用所述存储器中所存储的该按键的按键驱动信息,并将其传递给所述多路驱动处理模块;所述多路驱动处理模块配置为根据按键驱动信息,将对应所述多路振动器的驱动波形分成多路并分配给相应的所述多路驱动子电路。Optionally, the processor includes a driving screen and coordinate processing module, a data processing module, and a multi-channel driving processing module, wherein the driving screen and coordinate processing module are configured to drive the interface to be displayed on the touch screen, and receiving the touch operation and transmitting it to the data processing module; the data processing module is configured to call the touch operation in the memory based on judging that the touch operation is a valid operation of any one of the at least one key Store the key drive information of the key, and transmit it to the multi-channel drive processing module; the multi-channel drive processing module is configured to divide the drive waveform corresponding to the multi-channel vibrator into multiple channels according to the key drive information and assigned to the corresponding multi-channel drive sub-circuits.

可选地,所述数据处理模块进一步配置为:在针对该操作按键的预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在;以及响应于所述触摸屏上的所述触摸操作依然存在,跳转到S13;响应于所述触摸屏上的所述触摸操作不再存在,将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则根据当前振动信息对触摸设备进行控制;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11;以及根据存储器中的当前记录输出振动信息。Optionally, the data processing module is further configured to: determine whether the touch operation on the touch screen still exists after a predetermined period of time for the operation button; and respond to the touch operation on the touch screen still exists, jump to S13; in response to the touch operation on the touch screen no longer exists, combine the current count of the counter with the previous storage record in the memory as the current record and store it in the memory; judge the touch operation on the touch screen Whether it indicates an effective operation of the determined key; in response to the effective operation of the determined key on the touch screen, the touch device is controlled according to the current vibration information; otherwise, it is determined whether the touch operation on the touch screen indicates that the Cancel the effective operation of the button; in response to the touch operation on the touch screen to represent the effective operation of the cancel button, then clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump Go to S11; and output the vibration information according to the current record in the memory.

根据本公开的又一个方面,提供一种对前述的触摸设备进行操作的操作方法,包括:用户根据预设的操作信息对触摸屏上的至少一个操作按键进行有效操作,所述预设的操作信息包括多个要进行的对触摸屏的操作、至少一个操作按键和每个操作按键位置的预设振动次数之间的对应关系;以及用户在该操作按键处感受到预设的操作信息中该按键的预设次数的振动后,停止对该操作按键的按压。According to still another aspect of the present disclosure, there is provided an operation method for operating the aforementioned touch device, including: the user effectively operates at least one operation button on the touch screen according to preset operation information, and the preset operation information Including a plurality of operations to be performed on the touch screen, at least one operation button and the corresponding relationship between the preset vibration times of each operation button position; and the user feels the button in the preset operation information at the operation button. After the preset number of vibrations, the pressing of the operation button is stopped.

可选地,所述对触摸屏的操作包括对所述触摸屏进行解锁。Optionally, the operation on the touch screen includes unlocking the touch screen.

可选地,所述至少一个操作按键包括多个操作按键,以及所述预设的操作信息还包括要进行的对触摸屏的操作、针对该操作的多个操作按键的操作顺序,以及操作每个按键时该按键处的振动次数,所述操作方法进一步包括:根据所述预设的操作信息包括的每个操作按键的操作顺序和操作每个按键时该按键处的振动次数,用户对操作按键进行操作。Optionally, the at least one operation button includes a plurality of operation buttons, and the preset operation information further includes the operation to be performed on the touch screen, the operation sequence of the plurality of operation buttons for the operation, and the operation sequence of each operation button. The number of vibrations at the button when the button is pressed, the operation method further includes: according to the operation sequence of each operation button included in the preset operation information and the number of vibrations at the button when each button is operated, the user's response to the operation button to operate.

附图说明Description of drawings

图1是根据本公开实施例中的触摸设备的触摸识别方法的流程图;FIG. 1 is a flow chart of a touch recognition method for a touch device according to an embodiment of the present disclosure;

图2是根据本公开实施例中的触摸设备的触摸识别方法的具体流程图;FIG. 2 is a specific flowchart of a touch recognition method for a touch device according to an embodiment of the present disclosure;

图3是根据本公开实施例中的触摸设备的触控按键区域的示意图;FIG. 3 is a schematic diagram of a touch key area of a touch device according to an embodiment of the present disclosure;

图4是根据本公开实施例中的触摸设备的触摸识别方法的进一步示意图;Fig. 4 is a further schematic diagram of a touch recognition method of a touch device according to an embodiment of the present disclosure;

图5是根据本公开实施例的对于单个操作按键进行操作的流程图;以及FIG. 5 is a flow chart of operating a single operation key according to an embodiment of the present disclosure; and

图6是根据本公开实施例中的触摸设备的结构示意图。Fig. 6 is a schematic structural diagram of a touch device according to an embodiment of the present disclosure.

附图标记说明:Explanation of reference signs:

触摸设备1 触摸屏11 处理器12touch device 1 touch screen 11 processor 12

驱动电路13 多路驱动子电路131 振动器14Drive circuit 13 Multi-channel drive sub-circuit 131 Vibrator 14

多路振动器141 驱动屏及坐标处理模块121 数据处理模块122Multi-channel vibrator 141 Drive screen and coordinate processing module 121 Data processing module 122

驱动数据库模块123 多路驱动处理模块124 储存器15Driver database module 123 Multi-channel driver processing module 124 Storage 15

计数器16Counter 16

具体实施方式detailed description

为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图来对本公开提供的触摸识别方法、触摸设备及其操作方法进行详细描述。In order for those skilled in the art to better understand the technical solution of the present disclosure, the touch recognition method, the touch device and the operating method thereof provided by the present disclosure will be described in detail below with reference to the accompanying drawings.

图1为根据本公开实施例中的触摸设备的触摸识别方法的流程图。本公开的触摸设备的触摸识别方法可以应用于具有触摸屏的触摸设备,例如手机、平板电脑等。触摸设备可以包括设有至少一个操作按键的触摸屏、存储有所述至少一个操作按键的按键驱动信息的存储器、处理器、驱动电路和计数器。本公开的触摸设备的触摸识别方法包括:步骤S3:响应于至少一个触控按键区域内的振动信息,发送程序触发指令;对于任一所述触控按键区域内的所述振动信息采用如下步骤获取:步骤S1:响应于触控信号,确定所述触控按键区域,并生成驱动信号;步骤S2:根据所述驱动信号,确定所述振动信息,所述振动信息至少包括振动次数。FIG. 1 is a flow chart of a touch recognition method for a touch device according to an embodiment of the present disclosure. The touch recognition method for a touch device of the present disclosure can be applied to a touch device with a touch screen, such as a mobile phone, a tablet computer, and the like. The touch device may include a touch screen provided with at least one operation key, a memory storing key driving information of the at least one operation key, a processor, a driving circuit and a counter. The touch recognition method of the touch device of the present disclosure includes: step S3: in response to the vibration information in at least one touch button area, sending a program trigger instruction; for the vibration information in any of the touch button areas, the following steps are adopted Acquisition: Step S1: Determine the area of the touch button in response to the touch signal, and generate a driving signal; Step S2: Determine the vibration information according to the driving signal, and the vibration information includes at least the number of vibrations.

本公开的触摸识别方法是响应于至少一个触控按键区域内的振动信息,发送程序触发指令,这里的振动信息至少包括振动次数。具体而言,当用户触摸触控按键区域时,响应于触控信号,确定被用户触摸的触控按键区域,并由驱动电路生成驱动信号,该驱动信号驱动振动器发生振动。当用户不再触摸触控按键区域时,响应于触控信号的消失,驱动信号也会有中断。根据在用户触摸触控按键区域这段时间内所对应的驱动信号(例如包括多个驱动波形),可以确定振动器所发出的振动信息,从而获得振动器的振动次数。响应于至少一个触控按键区域内的振动信息,处理器发送程序触发指令。由此,当用户在操作按键的振动次数到达预设次数的情况下松开操作按键时,则系统发送程序触发指令,从而进行操作按键对应振动次数所指定的操作。由此,用户能够在不特别依赖视觉辅助的情况中便捷地进行操作。例如如下应用场景:根据振动次数代替右键功能,振动一次表示单击操作,振动两次表示右键点击操作,振动三次表示重命名,振动三次以上表示启动图标拖拽等。同时用户还可以在息屏的情况根据振动次数进行相应的操作,例如,用户可以根据个人需求进行息屏操作设置,将长按某个位置A(可以和解锁位置重合也可以是单独区域)不同振动次数分别设置为对应于播报时间、拨打紧急联系人电话、打开照相机等操作;在设置完成后,在不打开屏幕的情况,用户能够根据按住特定位置A并在振动预设次数后释放按压即可让手机等设备完成打开相机等操作。In the touch recognition method of the present disclosure, a program trigger instruction is sent in response to vibration information in at least one touch button area, where the vibration information includes at least the number of vibrations. Specifically, when the user touches the touch key area, the touch key area touched by the user is determined in response to the touch signal, and the driving circuit generates a driving signal, and the driving signal drives the vibrator to vibrate. When the user no longer touches the area of the touch key, in response to disappearance of the touch signal, the driving signal will also be interrupted. According to the corresponding driving signal (for example, including a plurality of driving waveforms) during the period when the user touches the touch key area, the vibration information sent by the vibrator can be determined, so as to obtain the vibration times of the vibrator. In response to the vibration information in at least one touch button area, the processor sends a program triggering instruction. Thus, when the user releases the operation button when the number of vibrations of the operation button reaches the preset number of times, the system sends a program trigger instruction to perform the operation specified by the corresponding number of vibrations of the operation button. As a result, the user can operate conveniently without particularly relying on visual aids. For example, the following application scenarios: replace the right-click function according to the number of vibrations, one vibration indicates a click operation, two vibrations indicate a right-click operation, three vibrations indicate renaming, and more than three vibrations indicate icon dragging, etc. At the same time, the user can also perform corresponding operations according to the number of vibrations in the case of the off-screen. For example, the user can set the off-screen operation according to personal needs, and will press and hold a certain position A (which can overlap with the unlock position or be a separate area) differently. The number of vibrations is set to correspond to the broadcast time, call the emergency contact, turn on the camera and other operations; after the setting is completed, without turning on the screen, the user can press and hold the specific position A and release the press after the preset number of vibrations You can let the mobile phone and other devices complete operations such as opening the camera.

可选地,响应于触控信号,确定所述触控按键区域,并生成驱动信号的步骤S1进一步包括步骤S11至S13:Optionally, the step S1 of determining the area of the touch key and generating the driving signal in response to the touch signal further includes steps S11 to S13:

S11:判断触摸屏上的触摸操作是否表示对所述至少一个触控按键区域中的至少一个操作按键中的任一个操作按键的有效操作;S11: Determine whether the touch operation on the touch screen represents an effective operation on any one of the at least one operation key in the at least one touch key area;

S12:响应于确定所述触摸操作表示对所述至少一个触控按键区域中的所述至少一个操作按键中的任一个操作按键的有效操作,执行S13,否则跳转到S11;S12: In response to determining that the touch operation represents an effective operation on any one of the at least one operation key in the at least one touch key area, execute S13, otherwise, jump to S11;

S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号,计数器加1。S13: Based on the key driving information of the at least one operating key stored in the memory, control the driving circuit to send a corresponding driving signal, and add 1 to the counter.

如图2所示,其示出了根据本公开实施例中的触摸设备的触摸识别方法的具体流程图。其中S11至S13为响应于触控信号,确定触控按键区域,并生成驱动信号使振动器进行一次振动的操作流程。As shown in FIG. 2 , it shows a specific flowchart of a touch recognition method for a touch device according to an embodiment of the present disclosure. Wherein S11 to S13 are the operation process of determining the area of the touch button in response to the touch signal, and generating a driving signal to make the vibrator vibrate once.

进一步,根据所述驱动信号,确定所述振动信息的步骤S2进一步包括步骤S14至S15:Further, according to the driving signal, the step S2 of determining the vibration information further includes steps S14 to S15:

S14:预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在。如果触摸操作依然存在,则进入循环执行S13,即持续通过驱动电路发出驱动信号,使振动器发出持续的振动,每一次振动计时器都会加1;如果触摸操作不再存在,这说明用户不再触摸相应触控按键区域,则顺序执行后续的步骤S15;S14: After a predetermined period of time, determine whether the touch operation on the touch screen still exists. If the touch operation still exists, then enter the loop execution S13, that is, continue to send a driving signal through the drive circuit to make the vibrator emit continuous vibration, and the vibration timer will increase by 1 each time; if the touch operation no longer exists, it means that the user is no longer Touch the corresponding touch button area, then execute the subsequent step S15 sequentially;

S15:处理器将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;以及S15: the processor combines the current count of the counter with the previously stored record in the memory as the current record and stores it in the memory; and

S16:处理器根据存储器中的当前记录输出振动信息,其中,所述当前记录中的计数器对应于所述振动信息中的振动次数。S16: The processor outputs vibration information according to the current record in the memory, where the counter in the current record corresponds to the number of vibrations in the vibration information.

由此,处理器能够从储存器中获得振动器中的振动次数,并基于该振动次数发送程序触发指令。Thus, the processor can obtain the number of vibrations in the vibrator from the storage, and send a program trigger instruction based on the number of vibrations.

如图3所示,其示出了本公开实施例中的触摸设备的触控按键区域。所述触控按键区域还包括确定按键和取消按键。进一步,在步骤S15和步骤S16之间,触摸识别方法还可以包括:As shown in FIG. 3 , it shows the touch button area of the touch device in the embodiment of the present disclosure. The touch button area also includes a confirm button and a cancel button. Further, between step S15 and step S16, the touch recognition method may also include:

S17:判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;S17: judging whether the touch operation on the touch screen represents an effective operation to the determined button;

S18:响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则处理器根据当前振动信息对触摸设备发送程序触发指令;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;S18: In response to the touch operation on the touch screen indicating an effective operation on the determination button, the processor sends a program trigger instruction to the touch device according to the current vibration information; otherwise, determine whether the touch operation on the touch screen indicates an effective operation on the cancel button ;

S19:响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11。S19: In response to the touch operation on the touch screen indicating an effective operation on the cancel button, clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump to S11.

由此,用户能够通过确定按键和取消按键对当前振动次数所对应的操作进行确认或取消。Thus, the user can confirm or cancel the operation corresponding to the current number of vibrations through the confirm button and the cancel button.

可选地,判断触摸屏上触摸操作是否表示对所述操作按键/所述确定按键/所述取消按键的有效操作包括:检测所述触摸操作的触摸位置是否落入该按键的有效区域内和/或检测所述触摸操作的压力值是否大于预设压力阈值。具体而言,用户触摸设备的触摸屏的操作按键的方式可以为轻接触式或者施加力阈值式。例如,轻接触式是指只要检测到用户接触到触摸屏的操作按键的操作区域即启动振动,用户一旦离开屏幕则振动停止,并记录振动次数。施加力阈值式是指只有当用户接触屏幕并施加压力超过设定阈值Fth时才启动振动,用户施加力小于阈值Fth时即停止振动,并记录振动次数。对于不同的操作按键可以采用不同的操作按键方式,由此丰富了用户的操作选择和个性化需求。Optionally, judging whether the touch operation on the touch screen represents an effective operation on the operation button/the OK button/the cancel button includes: detecting whether the touch position of the touch operation falls within the effective area of the button and/or Or detect whether the pressure value of the touch operation is greater than a preset pressure threshold. Specifically, the manner in which the user touches the operation keys of the touch screen of the device may be a light touch type or a force threshold type. For example, the light touch type means that as long as it is detected that the user touches the operation area of the operation button of the touch screen, the vibration is started, and once the user leaves the screen, the vibration stops, and the number of vibrations is recorded. The applied force threshold formula means that the vibration is only started when the user touches the screen and the applied pressure exceeds the set threshold F th , and the vibration is stopped when the user applies a force less than the threshold F th , and the number of vibrations is recorded. Different operation button modes can be adopted for different operation buttons, thereby enriching the user's operation options and individual requirements.

判断触摸操作是否是对按键的有效操作,不同的按键(操作按键/确定按键/取消按键)可以采用相同或者不同的判断方式,例如,可以在判断操作按键时均采用检测所述触摸操作的触摸位置是否落入该按键的有效区域内,而在判断确定按键/取消按键时,均采用检测所述触摸操作的压力值是否大于预设压力阈值。这种判断方式能够既确保识别方法的操作流畅性,也保证了准确度。当然地,根据用户的个性化需求,这些判断方式可以自定义。To determine whether the touch operation is an effective operation on the button, different buttons (operation button/OK button/cancel button) can use the same or different judgment methods. For example, the touch operation that detects the touch operation can be used to judge the operation button. Whether the position falls within the effective area of the button, and when judging the button/cancel button, it is used to detect whether the pressure value of the touch operation is greater than the preset pressure threshold. This judgment method can not only ensure the operation fluency of the recognition method, but also ensure the accuracy. Of course, these judgment methods can be customized according to the individual needs of users.

可选地,至少一个操作按键包括多个操作按键;以及对于多个操作按键中的至少两个按键,其驱动信号中的驱动波形是不同的。驱动波形的不同即可以包括波长不同也可以包括峰值的不同,由此,在触摸不同按键时可以产生不同的振动反馈,例如A1按键在被按压时每0.5秒振动一次,且振动强度为高,而A2按键在被按压时每1秒振动一次,且振动强度为低,这有助于用户在操作时体验良好的触觉反馈。Optionally, at least one operation key includes a plurality of operation keys; and for at least two of the plurality of operation keys, the driving waveforms in the driving signals are different. The difference in driving waveforms can include different wavelengths and different peak values. Therefore, different vibration feedbacks can be generated when different keys are touched. For example, when the A1 key is pressed, it vibrates once every 0.5 seconds, and the vibration intensity is high. The A2 button vibrates every 1 second when it is pressed, and the vibration intensity is the lowest, which helps users experience good tactile feedback during operation.

可选地,触摸设备还包括设置在所述触摸屏以外区域的至少一个振动器,所述驱动信号配置为驱动至少一个振动器振动。从而,在步骤S11之前,所述触摸识别方法还包括:利用所述至少一个振动器产生振动,通过多次训练,获取所述至少按键所处区域振动时所述至少一个振动器的驱动信号所对应的按键驱动信息并存储至存储器。Optionally, the touch device further includes at least one vibrator disposed outside the touch screen, and the driving signal is configured to drive the at least one vibrator to vibrate. Therefore, before step S11, the touch recognition method further includes: using the at least one vibrator to generate vibration, and through multiple trainings, obtain the result of the driving signal of the at least one vibrator when the area where the at least key is located vibrates. The corresponding button driving information is stored in the memory.

通过时域反演算法预先获得所述操作按键的驱动信息并存入储存器中以供所述处理器调用。具体而言,时域反演算法是需要提前对设备进行采集及校准操作以得出各个区域振动的驱动信息并将其存入到数据库,在后续需求时,直接调用数据库数据驱动即可。以按键A1局部振动,振动器个数为N为例;首先在按键A1处用外部振动器产生振动,在各个振动器中心点处采集振动信息A1_N,对A1_N进行时域反演操作,并将处理后的波形存入数据库,依次采集并处理得到各个按键区域的驱动波形并存入数据库。在按键A1处使用外部振动器振动时,可同时在该处施加不同的力,得出校准数据库,实际操作时可以根据用户施加的力调用校准数据库进行驱动。由此,可以确保操作方法的准确度,避免出现触觉反馈缺失等不良。The driving information of the operating keys is obtained in advance through a time domain inversion algorithm and stored in a memory for calling by the processor. Specifically, the time-domain inversion algorithm needs to collect and calibrate the equipment in advance to obtain the driving information of vibration in each area and store it in the database. When subsequent needs are required, the database data driver can be directly called. Take the local vibration of button A1, and the number of vibrators is N as an example; first, an external vibrator is used to generate vibration at button A1, and the vibration information A1_N is collected at the center point of each vibrator, and the time domain inversion operation is performed on A1_N, and the The processed waveforms are stored in the database, and the driving waveforms of each key area are obtained by sequentially collecting and processing them and stored in the database. When the external vibrator is used to vibrate the button A1, different forces can be applied there at the same time to obtain a calibration database. In actual operation, the calibration database can be called to drive according to the force applied by the user. Thus, the accuracy of the operation method can be ensured, and defects such as lack of tactile feedback can be avoided.

由此,可以通过预先训练获得按键所处区域振动时所述至少一个振动器的驱动信号所对应的按键驱动信息,便于后续处理器的调用。Thus, the key driving information corresponding to the driving signal of the at least one vibrator when the area where the key is located vibrates can be obtained through pre-training, which is convenient for subsequent calling of the processor.

根据本公开的另一方面,其提供了一种触摸设备1,包括设有至少一个触控按键区域的触摸屏11、驱动电路13、处理器12、至少一个振动器14,其中,所述处理器12响应于触控信号确定所述触控按键区域,并启动所述驱动电路13生成并发出驱动信号;所述至少一个振动器14根据驱动信号持续发生振动,所述处理器12检测所述驱动信号并确定所述振动信息,所述处理器12响应于至少一个触控按键区域内的振动信息,发送程序触发指令,其中,所述振动信息至少包括振动次数。According to another aspect of the present disclosure, it provides a touch device 1, including a touch screen 11 provided with at least one touch button area, a drive circuit 13, a processor 12, and at least one vibrator 14, wherein the processor 12 determine the touch button area in response to the touch signal, and start the drive circuit 13 to generate and send a drive signal; the at least one vibrator 14 continues to vibrate according to the drive signal, and the processor 12 detects the drive signal and determine the vibration information, the processor 12 sends a program trigger instruction in response to the vibration information in at least one touch key area, wherein the vibration information includes at least the number of vibrations.

如图4所示,其示出了根据本公开示例性实施例中对于单个操作按键进行操作的流程图。触摸设备1实时检测触摸信息,当有数据输入时系统进行判断是否启动操作按键,如果压力值不到阈值Fth或者不在操作按键的区域中,则不进行操作并返回检测到的触摸数据,如果压力值到达阈值Fth并且触摸区域为操作按键的区域时,将触摸信息(例如包括触摸方位、触摸压力值、按键序列等)传递给处理器例如FPGA,处理器得到该信息后,在预先存好的数据库里调出相应操作按键的驱动信息并根据驱动信息驱动后续驱动电路,驱动电路启动后发出相应的驱动波形驱动振动器使得屏幕进行振动。As shown in FIG. 4 , it shows a flow chart of operating a single operation button according to an exemplary embodiment of the present disclosure. The touch device 1 detects the touch information in real time. When there is data input, the system judges whether to start the operation key. If the pressure value is less than the threshold F th or is not in the area of the operation key, no operation is performed and the detected touch data is returned. If When the pressure value reaches the threshold value F th and the touch area is the area for operating keys, the touch information (such as including touch orientation, touch pressure value, key sequence, etc.) Call out the driving information of the corresponding operation button in the good database and drive the subsequent driving circuit according to the driving information. After the driving circuit is started, it sends out the corresponding driving waveform to drive the vibrator to make the screen vibrate.

进一步,触摸设备还可以包括存储器15、计数器16,其中,所述触摸屏的所述触控按键区域设有至少一个操作按键、确定按键和取消按键,其配置为感测触摸屏上的触摸操作;所述存储器存储有所述至少一个操作按键的按键驱动信息;所述至少一个振动器设置在所述触摸屏外部;所述驱动电路配置为向所述至少一个振动器发出对应的驱动信号;所述计数器配置为在所述驱动电路发出至少一个驱动信号时加1;以及所述处理器12配置执行以下步骤为:Further, the touch device may further include a memory 15 and a counter 16, wherein the touch key area of the touch screen is provided with at least one operation key, a confirmation key and a cancel key, which are configured to sense a touch operation on the touch screen; The memory stores the key drive information of the at least one operation key; the at least one vibrator is arranged outside the touch screen; the drive circuit is configured to send a corresponding drive signal to the at least one vibrator; the counter It is configured to add 1 when the driving circuit sends out at least one driving signal; and the processor 12 is configured to perform the following steps:

S11:检测触摸屏上触摸操作是否为任一个操作按键的有效操作;S11: Detect whether the touch operation on the touch screen is an effective operation of any operation button;

S12:响应于确定所述触摸操作表示对所述至少一个操作按键中的任一个操作按键的有效操作;以及S12: Responding to determining that the touch operation represents an effective operation on any one of the at least one operation key; and

S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号使得所述至少一个振动器产生振动,以在该操作按键处产生至少一次振动,并且相应使得计数器至少加1。S13: Based on the key drive information of the operation key in the key drive information of the at least one operation key stored in the memory, control the drive circuit to send a corresponding drive signal to make the at least one vibrator vibrate, so as to At least one vibration is generated at the operation button, and the counter is increased by at least 1 accordingly.

可选地,至少一个振动器包括压电陶瓷振动器。Optionally, at least one vibrator includes a piezoelectric ceramic vibrator.

进一步,驱动电路13可以包括多路驱动子电路131,所述至少一个振动器包括设置所述触摸设备的不同位置上的多路振动器141;所述按键驱动信息包括所述多路振动器141的各个驱动信号;以及所述多个驱动子电路131配置为根据各个驱动信号发出相应的驱动波形,以驱动所述多路振动器141产生振动,使所述触摸屏上的被触摸的操作按键的位置产生局部振动。Further, the driving circuit 13 may include a multi-channel driving sub-circuit 131, and the at least one vibrator includes a multi-channel vibrator 141 set at a different position of the touch device; the key driving information includes the multi-channel vibrator 141 each driving signal; and the multiple driving sub-circuits 131 are configured to send corresponding driving waveforms according to each driving signal to drive the multi-way vibrator 141 to vibrate, so that the touched operation keys on the touch screen The position produces local vibrations.

通过多路驱动的方式,可以使得可触摸设备的触摸屏上的某一局部产生振动。相比于常规的整屏振动,本发明的操作方法可以使触摸屏上的某一局部产生振动,提升用户的操作体验,并有助于用户进行基于触觉反馈的细节操作。Vibration can be generated on a certain part of the touch screen of the touchable device by way of multi-channel driving. Compared with the conventional whole screen vibration, the operation method of the present invention can cause a certain part of the touch screen to vibrate, which improves the user's operation experience and helps the user to perform detailed operations based on tactile feedback.

可选地,所述处理器12包括驱动屏及坐标处理模块121、数据处理模块122和多路驱动处理模块124,其中,所述驱动屏及坐标处理模块121配置为对所述触摸屏要显示的界面进行驱动,并接收所述触摸操作并将其传递给所述数据处理模块122;所述数据处理模块122配置为基于判断所述触摸操作为所述至少一个按键中的任意一个按键的有效操作,调用所述存储器中所存储的该按键的按键驱动信息,并将其传递给所述多路驱动处理模块124;所述多路驱动处理模块124配置为根据按键驱动信息,将对应所述多路振动器141的驱动波形分成多路并分配给相应的所述多路驱动子电路131。Optionally, the processor 12 includes a driving screen and coordinate processing module 121, a data processing module 122 and a multi-channel driving processing module 124, wherein the driving screen and coordinate processing module 121 is configured to display the touch screen The interface is driven, and receives the touch operation and transmits it to the data processing module 122; the data processing module 122 is configured to determine that the touch operation is an effective operation of any one of the at least one button , call the key drive information of the key stored in the memory, and pass it to the multi-channel drive processing module 124; the multi-channel drive processing module 124 is configured to The driving waveform of the vibrator 141 is divided into multiple channels and distributed to the corresponding multiple drive sub-circuits 131 .

在一具体实施例中,以处理器采用FPGA为例,硬件实现框架如图4所示。触摸屏11主要用于显示和获取触摸坐标,和触摸屏11相连的驱动电路13主要作用有两个:驱动触摸屏和获取触摸坐标数据以及压力数据并将其传递给FPGA。FPGA内部程序分为四个模块:驱动屏及坐标处理模块121、数据处理模块122、驱动数据库模块123和多路驱动处理模块124。其中驱动屏及坐标处理模块121主要功能有两个,一是对屏幕要显示的界面进行驱动,二是接收坐标信息和压力信息并将其传递给数据处理模块122;数据处理模块122功能有两部分组成,一是根据坐标信息以及压力信息判断是否进行驱动操作并判断需要驱动哪个按键区域,将需要驱动的按键编号传递给驱动数据库模块123,二是接收驱动数据库模123传递过来的驱动信息并将其传递给后续的多路驱动处理模块124;驱动数据库模块123主要功能是接收到数据处理模块122传递过来的按键标号信息后进行查找,找出相应按键区域的驱动波形数据将其传回数据处理模块122;多路驱动处理模块124根据数据处理模块122传递过来的波形信息进行处理,分成多路后分别发送给相应的多路驱动电路131;多路驱动电路131接收到FPGA发出的驱动波形数据后发出相应的波形驱动多路振动器141工作,从而在所需的按键区域形成局部振动。In a specific embodiment, taking FPGA as an example for the processor, the hardware implementation framework is shown in FIG. 4 . The touch screen 11 is mainly used for displaying and acquiring touch coordinates, and the driving circuit 13 connected to the touch screen 11 has two main functions: driving the touch screen and acquiring touch coordinate data and pressure data and transmitting them to the FPGA. The FPGA internal program is divided into four modules: a driving screen and coordinate processing module 121 , a data processing module 122 , a driving database module 123 and a multi-channel driving processing module 124 . Wherein the driving screen and the coordinate processing module 121 have two main functions, one is to drive the interface to be displayed on the screen, and the other is to receive coordinate information and pressure information and pass it to the data processing module 122; the data processing module 122 has two functions. The first is to judge whether to carry out the driving operation and determine which button area needs to be driven according to the coordinate information and the pressure information, and pass the number of the button to be driven to the driving database module 123; the second is to receive the driving information transmitted by the driving database module 123 Pass it to the follow-up multi-channel drive processing module 124; the main function of the drive database module 123 is to search after receiving the key label information passed by the data processing module 122, find out the driving waveform data of the corresponding key area and send it back to the data The processing module 122; the multi-channel drive processing module 124 processes the waveform information transmitted by the data processing module 122, divides it into multiple channels and sends it to the corresponding multi-channel drive circuit 131 respectively; the multi-channel drive circuit 131 receives the drive waveform sent by the FPGA After the data, a corresponding waveform is sent to drive the multi-channel vibrator 141 to work, thereby forming local vibration in the desired key area.

可选地,所述数据处理模块122进一步配置为:Optionally, the data processing module 122 is further configured to:

在针对该操作按键的预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在;以及After a predetermined period of time for the operation key, determine whether the touch operation on the touch screen still exists; and

响应于所述触摸屏上的所述触摸操作依然存在,跳转到S13;响应于所述触摸屏上的所述触摸操作不再存在,将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;In response to the touch operation on the touch screen still exists, jump to S13; in response to the touch operation on the touch screen no longer exists, combine the current count of the counter with the previous storage record in the memory as the current record stored in memory;

判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;judging whether the touch operation on the touch screen represents an effective operation on the determined key;

响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则根据当前振动信息对触摸设备进行控制;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;In response to the touch operation on the touch screen indicating an effective operation of the determination button, the touch device is controlled according to the current vibration information; otherwise, it is determined whether the touch operation on the touch screen indicates an effective operation of the cancel button;

响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11;以及In response to a touch operation on the touch screen representing an effective operation of the cancel button, clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump to S11; and

根据存储器中的当前记录输出振动信息。Outputs vibration information based on the current record in memory.

本公开的另一方面提供一种对前述触摸设备进行操作的操作方法,包括:用户根据预设的操作信息对触摸屏上的至少一个操作按键进行有效操作,所述预设的操作信息包括多个要进行的对触摸屏的操作、至少一个操作按键和每个操作按键位置的预设振动次数之间的对应关系;以及用户在该操作按键处感受到预设的操作信息中该按键的预设次数的振动后,停止对该操作按键的按压。Another aspect of the present disclosure provides an operation method for operating the aforementioned touch device, including: the user effectively operates at least one operation button on the touch screen according to preset operation information, and the preset operation information includes a plurality of The corresponding relationship between the operation to be performed on the touch screen, at least one operation key and the preset vibration times of each operation key position; and the user feels the preset number of times of the key in the preset operation information at the operation key After the vibration, stop pressing the operation button.

可选地,所述对触摸屏的操作包括对所述触摸屏进行解锁。Optionally, the operation on the touch screen includes unlocking the touch screen.

可选地,所述至少一个操作按键包括多个操作按键,以及所述预设的操作信息还包括要进行的对触摸屏的操作、针对该操作的多个操作按键的操作顺序,以及操作每个按键时该按键处的振动次数,Optionally, the at least one operation button includes a plurality of operation buttons, and the preset operation information further includes the operation to be performed on the touch screen, the operation sequence of the plurality of operation buttons for the operation, and the operation sequence of each operation button. The number of vibrations at the key when the key is pressed,

所述操作方法进一步包括:The method of operation further includes:

根据所述预设的操作信息包括的每个操作按键的操作顺序和操作每个按键时该按键处的振动次数,用户对操作按键进行操作。The user operates the operation keys according to the operation sequence of each operation key included in the preset operation information and the number of vibrations at the key when each key is operated.

下面以解锁操作为例,进一步说明本公开的对前述触摸设备进行操作的操作方法。The following uses an unlocking operation as an example to further illustrate the operating method of the present disclosure for operating the aforementioned touch device.

图3示出了本公开示例性实施例中触摸识别方法的操作界面。以屏幕上存在4个按键A1,A2,A3和A4为例,如图2所示,首先用户需根据个人需求设定振动间隔T,操作按键组中的每个操作按键的区域可以分别设定,也可以采用默认值T0。用户需要提前设定密码,设定密码过程如下:用户按压按键A1处,A1开始振动,振动次数N时,用户停止按压A1,此处密码记为A1:N,用户操作其它三个区域或者设定其中几个,并点击确定后完成密码设置,系统存储用户密码。各个按钮设定顺序可以用户根据个人需求来,可以A1-A2-A3-A4,也可以其它顺序,可以4个按键全部设置,也可以只设置其中几个,还可以一个按键设定多次,比如A1-A1-A3-A2。解锁时用户按照设定顺序和个数来操作即可。用户解锁操作时按照设定顺序依次按压操作按键,当操作按键的振动次数等于预先设定的次数时松开按键即被认定为完成解锁。在此情况中,操作方式可以是接触屏幕相应区域即算启动操作,也可以是施加力大于预设阈值Fth才算启动操作。FIG. 3 shows an operation interface of the touch recognition method in an exemplary embodiment of the present disclosure. Take the four buttons A1, A2, A3 and A4 on the screen as an example, as shown in Figure 2, first the user needs to set the vibration interval T according to individual needs, and the area of each operation button in the operation button group can be set separately , and the default value T0 can also be adopted. The user needs to set the password in advance. The process of setting the password is as follows: the user presses the button A1, and A1 starts to vibrate. When the number of vibrations is N, the user stops pressing A1. Set several of them, and click OK to complete the password setting, and the system will store the user password. The setting order of each button can be set by the user according to individual needs, it can be A1-A2-A3-A4, or other orders, all 4 buttons can be set, or only a few of them can be set, and one button can be set multiple times. Such as A1-A1-A3-A2. When unlocking, the user can operate according to the set sequence and number. When the user unlocks, press the operation buttons sequentially according to the set order, and when the number of vibrations of the operation buttons is equal to the preset number of times, the release of the buttons is considered to be unlocking. In this case, the operation mode may be to start the operation by touching the corresponding area of the screen, or to start the operation only by applying a force greater than the preset threshold F th .

可以理解的是,以上实施方式仅仅是为了说明本公开的原理而采用的示例性实施方式,然而本公开并不局限于此。对于本领域内的普通技术人员而言,在不脱离本公开的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本公开的保护范围。It can be understood that, the above implementations are only exemplary implementations adopted to illustrate the principle of the present disclosure, but the present disclosure is not limited thereto. For those skilled in the art, without departing from the spirit and essence of the present disclosure, various modifications and improvements can be made, and these modifications and improvements are also regarded as the protection scope of the present disclosure.

Claims (17)

1.一种触摸设备的触摸识别方法,所述触摸设备包括至少一个触控按键区域,1. A touch recognition method for a touch device, the touch device comprising at least one touch button area, 所述方法包括:The methods include: 响应于至少一个触控按键区域内的振动信息,发送程序触发指令;sending a program trigger instruction in response to vibration information in at least one touch button area; 对于任一所述触控按键区域内的所述振动信息采用如下步骤获取:For the vibration information in any of the touch button areas, the following steps are used to obtain: 响应于触控信号,确定所述触控按键区域,并生成驱动信号;Responding to a touch signal, determine the touch key area, and generate a drive signal; 根据所述驱动信号,确定所述振动信息,所述振动信息至少包括振动次数。The vibration information is determined according to the driving signal, and the vibration information includes at least a vibration frequency. 2.根据权利要求1所述的触摸识别方法,其中,所述响应于触控信号,确定所述触控按键区域,并生成驱动信号进一步包括步骤S11至S13:2. The touch recognition method according to claim 1, wherein said responding to a touch signal, determining said touch key area, and generating a driving signal further comprises steps S11 to S13: S11:判断触摸屏上的触摸操作是否表示对所述至少一个触控按键区域中的至少一个操作按键中的任一个操作按键的有效操作;S11: Determine whether the touch operation on the touch screen represents an effective operation on any one of the at least one operation key in the at least one touch key area; S12:响应于确定所述触摸操作表示对所述至少一个触控按键区域中的所述至少一个操作按键中的任一个操作按键的有效操作,执行S13,否则跳转到S11;S12: In response to determining that the touch operation represents an effective operation on any one of the at least one operation key in the at least one touch key area, execute S13, otherwise, jump to S11; S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号,计数器加1。S13: Based on the key driving information of the at least one operating key stored in the memory, control the driving circuit to send a corresponding driving signal, and add 1 to the counter. 3.根据权利要求2所述的触摸识别方法,其中,所述根据所述驱动信号,确定所述振动信息进一步包括步骤S14至S15:3. The touch recognition method according to claim 2, wherein said determining the vibration information according to the driving signal further comprises steps S14 to S15: S14:预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在;以及S14: After a predetermined period of time, determine whether the touch operation on the touch screen still exists; and S15:响应于所述触摸屏上的所述触摸操作依然存在,跳转到S13;响应于所述触摸屏上的所述触摸操作不再存在,处理器将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;以及S15: In response to the touch operation on the touch screen still exists, jump to S13; in response to the touch operation on the touch screen no longer exists, the processor compares the current count of the counter with the previous storage record in the memory are combined and stored in memory as the current record; and S16:处理器根据存储器中的当前记录输出振动信息,其中,所述当前记录中的计数器对应于所述振动信息中的振动次数。S16: The processor outputs vibration information according to the current record in the memory, where the counter in the current record corresponds to the number of vibrations in the vibration information. 4.根据权利要求3所述的触摸识别方法,其中,4. The touch recognition method according to claim 3, wherein, 所述触控按键区域还包括确定按键和取消按键,以及The touch button area also includes a confirm button and a cancel button, and 在步骤S15和步骤S16之间,所述触摸识别方法还包括:Between step S15 and step S16, the touch recognition method further includes: S17:判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;S17: judging whether the touch operation on the touch screen represents an effective operation to the determined button; S18:响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则处理器根据当前振动信息对触摸设备发送程序触发指令;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;S18: In response to the touch operation on the touch screen indicating an effective operation on the determination button, the processor sends a program trigger instruction to the touch device according to the current vibration information; otherwise, determine whether the touch operation on the touch screen indicates an effective operation on the cancel button ; S19:响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11。S19: In response to the touch operation on the touch screen indicating an effective operation on the cancel button, clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump to S11. 5.根据权利要求4所述的触摸识别方法,其中,判断触摸屏上触摸操作是否表示对所述操作按键/所述确定按键/所述取消按键的有效操作包括:5. The touch recognition method according to claim 4, wherein judging whether the touch operation on the touch screen represents an effective operation on the operation key/the determination key/the cancel key comprises: 检测所述触摸操作的触摸位置是否落入该按键的有效区域内和/或检测所述触摸操作的压力值是否大于预设压力阈值。Detecting whether the touch position of the touch operation falls within the effective area of the key and/or detecting whether the pressure value of the touch operation is greater than a preset pressure threshold. 6.根据权利要求2所述的触摸识别方法,其中,所述至少一个操作按键包括多个操作按键;以及6. The touch recognition method according to claim 2, wherein the at least one operation key comprises a plurality of operation keys; and 对于多个操作按键中的至少两个按键,其驱动信号中的驱动波形是不同的。For at least two keys among the plurality of operation keys, the driving waveforms in the driving signals are different. 7.根据权利要求1至6中任一项所述的触摸识别方法,其中,所述触摸设备还包括设置在所述触摸屏以外区域的至少一个振动器,7. The touch recognition method according to any one of claims 1 to 6, wherein the touch device further comprises at least one vibrator arranged in an area outside the touch screen, 所述驱动信号配置为驱动至少一个振动器振动。The drive signal is configured to drive at least one vibrator to vibrate. 8.根据权利要求7所述的触摸识别方法,其中,在步骤S11之前,所述触摸识别方法还包括:8. The touch recognition method according to claim 7, wherein, before step S11, the touch recognition method further comprises: 利用所述至少一个振动器产生振动,通过多次训练,获取所述至少按键所处区域振动时所述至少一个振动器的驱动信号所对应的按键驱动信息并存储至存储器。The at least one vibrator is used to generate vibrations, and the key drive information corresponding to the drive signal of the at least one vibrator when the area where the at least key is located is vibrated is acquired and stored in a memory through multiple training sessions. 9.一种触摸设备,包括设有至少一个触控按键区域的触摸屏、驱动电路、处理器、至少一个振动器,其中,9. A touch device, comprising a touch screen provided with at least one touch button area, a drive circuit, a processor, and at least one vibrator, wherein, 所述处理器响应于触控信号确定所述触控按键区域,并启动所述驱动电路生成并发出驱动信号;The processor determines the touch key area in response to the touch signal, and starts the drive circuit to generate and send a drive signal; 所述至少一个振动器根据驱动信号持续发生振动,The at least one vibrator continues to vibrate according to the driving signal, 所述处理器检测所述驱动信号并确定所述振动信息,所述处理器响应于至少一个触控按键区域内的振动信息,发送程序触发指令,其中,所述振动信息至少包括振动次数。The processor detects the driving signal and determines the vibration information, and the processor sends a program trigger instruction in response to the vibration information in at least one touch key area, wherein the vibration information includes at least the number of vibrations. 10.根据权利要求9所述的触摸设备,还包括存储器、计数器,其中,10. The touch device according to claim 9, further comprising a memory, a counter, wherein, 所述触摸屏的所述触控按键区域设有至少一个操作按键、确定按键和取消按键,其配置为感测触摸屏上的触摸操作;The touch button area of the touch screen is provided with at least one operation button, a confirmation button and a cancel button, which are configured to sense touch operations on the touch screen; 所述存储器存储有所述至少一个操作按键的按键驱动信息;The memory stores key drive information of the at least one operation key; 所述至少一个振动器设置在所述触摸屏外部;The at least one vibrator is disposed outside the touch screen; 所述驱动电路配置为向所述至少一个振动器发出对应的驱动信号;The drive circuit is configured to issue a corresponding drive signal to the at least one vibrator; 所述计数器配置为在所述驱动电路发出至少一个驱动信号时加1;以及The counter is configured to increment by 1 when at least one driving signal is issued by the driving circuit; and 所述处理器配置为:The processor is configured as: S11:检测触摸屏上触摸操作是否为任一个操作按键的有效操作;S11: Detect whether the touch operation on the touch screen is an effective operation of any operation button; S12:响应于确定所述触摸操作表示对所述至少一个操作按键中的任一个操作按键的有效操作;以及S12: Responding to determining that the touch operation represents an effective operation on any one of the at least one operation key; and S13:基于所述存储器中所存储的所述至少一个操作按键的按键驱动信息中该操作按键的按键驱动信息,控制驱动电路发出对应的驱动信号使得所述至少一个振动器产生振动,以在该操作按键处产生至少一次振动,并且相应使得计数器至少加1。S13: Based on the key drive information of the operation key in the key drive information of the at least one operation key stored in the memory, control the drive circuit to send a corresponding drive signal to make the at least one vibrator vibrate, so as to At least one vibration is generated at the operation button, and the counter is increased by at least 1 accordingly. 11.根据权利要求10所述的触摸设备,其中,所述至少一个振动器包括压电陶瓷振动器。11. The touch device of claim 10, wherein the at least one vibrator comprises a piezoelectric ceramic vibrator. 12.根据权利要求9所述的触摸设备,其中,所述驱动电路包括多路驱动子电路,所述至少一个振动器包括设置所述触摸设备的不同位置上的多路振动器;12. The touch device according to claim 9, wherein the driving circuit comprises a multi-channel driving sub-circuit, and the at least one vibrator comprises a multi-channel vibrator arranged at different positions of the touch device; 所述按键驱动信息包括所述多路振动器的各个驱动信号;以及The key driving information includes each driving signal of the multi-channel vibrator; and 所述多个驱动子电路配置为根据各个驱动信号发出相应的驱动波形,以驱动所述多路振动器产生振动,使所述触摸屏上的被触摸的操作按键的位置产生局部振动。The multiple driving sub-circuits are configured to send out corresponding driving waveforms according to the respective driving signals, so as to drive the multi-channel vibrator to vibrate, so as to make the position of the touched operation button on the touch screen vibrate locally. 13.根据权利要求12所述的触摸设备,其中,所述处理器包括驱动屏及坐标处理模块、数据处理模块和多路驱动处理模块,其中,13. The touch device according to claim 12, wherein the processor comprises a drive screen and a coordinate processing module, a data processing module and a multi-channel drive processing module, wherein, 所述驱动屏及坐标处理模块配置为对所述触摸屏要显示的界面进行驱动,并接收所述触摸操作并将其传递给所述数据处理模块;The driving screen and coordinate processing module are configured to drive the interface to be displayed on the touch screen, receive the touch operation and transmit it to the data processing module; 所述数据处理模块配置为基于判断所述触摸操作为所述至少一个按键中的任意一个按键的有效操作,调用所述存储器中所存储的该按键的按键驱动信息,并将其传递给所述多路驱动处理模块;The data processing module is configured to call the key drive information of the key stored in the memory based on judging that the touch operation is an effective operation of any key in the at least one key, and transfer it to the Multi-channel drive processing module; 所述多路驱动处理模块配置为根据按键驱动信息,将对应所述多路振动器的驱动波形分成多路并分配给相应的所述多路驱动子电路。The multi-channel driving processing module is configured to divide the driving waveform corresponding to the multi-channel vibrator into multiple channels and distribute them to the corresponding multi-channel driving sub-circuits according to the key driving information. 14.根据权利要求13所述的触摸设备,其中,所述数据处理模块进一步配置为:14. The touch device according to claim 13, wherein the data processing module is further configured to: 在针对该操作按键的预定时间段后,判断所述触摸屏上的所述触摸操作是否依然存在;以及After a predetermined period of time for the operation key, determine whether the touch operation on the touch screen still exists; and 响应于所述触摸屏上的所述触摸操作依然存在,跳转到S13;响应于所述触摸屏上的所述触摸操作不再存在,将计数器的当前计数与存储器中的先前存储记录组合起来作为当前记录存储到存储器中;In response to the touch operation on the touch screen still exists, jump to S13; in response to the touch operation on the touch screen no longer exists, combine the current count of the counter with the previous storage record in the memory as the current record stored in memory; 判断触摸屏上触摸操作是否表示对所述确定按键的有效操作;judging whether the touch operation on the touch screen represents an effective operation on the determined key; 响应于触摸屏上触摸操作表示对所述确定按键的有效操作,则根据当前振动信息对触摸设备进行控制;否则,判断触摸屏上触摸操作是否表示对所述取消按键的有效操作;In response to the touch operation on the touch screen indicating an effective operation of the determination button, the touch device is controlled according to the current vibration information; otherwise, it is determined whether the touch operation on the touch screen indicates an effective operation of the cancel button; 响应于触摸屏上触摸操作表示对所述取消按键的有效操作,则清空存储器中的当前记录并且跳转到S11,否则,将存储器中的当前记录作为先前存储记录并且跳转到S11;以及In response to a touch operation on the touch screen representing an effective operation of the cancel button, clear the current record in the memory and jump to S11, otherwise, use the current record in the memory as the previous storage record and jump to S11; and 根据存储器中的当前记录输出振动信息。Outputs vibration information based on the current record in memory. 15.一种对权利要求9所述的触摸设备进行操作的操作方法,包括:15. An operating method for operating the touch device according to claim 9, comprising: 用户根据预设的操作信息对触摸屏上的至少一个操作按键进行有效操作,所述预设的操作信息包括多个要进行的对触摸屏的操作、至少一个操作按键和每个操作按键位置的预设振动次数之间的对应关系;以及The user effectively operates at least one operation button on the touch screen according to preset operation information, and the preset operation information includes a plurality of operations to be performed on the touch screen, at least one operation button and a preset position of each operation button Correspondence between vibration times; and 用户在该操作按键处感受到预设的操作信息中该按键的预设次数的振动后,停止对该操作按键的按压。The user stops pressing the operation button after feeling the preset number of vibrations of the button in the preset operation information at the operation button. 16.根据权利要求15所述的操作方法,其中,所述对触摸屏的操作包括对所述触摸屏进行解锁。16. The operation method according to claim 15, wherein the operation on the touch screen comprises unlocking the touch screen. 17.根据权利要求16所述的操作方法,其中,所述至少一个操作按键包括多个操作按键,以及所述预设的操作信息还包括要进行的对触摸屏的操作、针对该操作的多个操作按键的操作顺序,以及操作每个按键时该按键处的振动次数,17. The operation method according to claim 16, wherein the at least one operation button includes a plurality of operation buttons, and the preset operation information further includes an operation to be performed on the touch screen, a plurality of The operation sequence of the operation buttons, and the number of vibrations at the button when each button is operated, 所述操作方法进一步包括:The method of operation further includes: 根据所述预设的操作信息包括的每个操作按键的操作顺序和操作每个按键时该按键处的振动次数,用户对操作按键进行操作。The user operates the operation keys according to the operation sequence of each operation key included in the preset operation information and the number of vibrations at the key when each key is operated.
CN202110720076.1A 2021-06-28 2021-06-28 Touch recognition method, touch device and operation method thereof Pending CN115603726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110720076.1A CN115603726A (en) 2021-06-28 2021-06-28 Touch recognition method, touch device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110720076.1A CN115603726A (en) 2021-06-28 2021-06-28 Touch recognition method, touch device and operation method thereof

Publications (1)

Publication Number Publication Date
CN115603726A true CN115603726A (en) 2023-01-13

Family

ID=84840838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110720076.1A Pending CN115603726A (en) 2021-06-28 2021-06-28 Touch recognition method, touch device and operation method thereof

Country Status (1)

Country Link
CN (1) CN115603726A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025038664A1 (en) * 2023-08-15 2025-02-20 Visa International Service Association Touchscreen input with haptics

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011054025A (en) * 2009-09-03 2011-03-17 Denso Corp Tactile feedback device and program
CN105580021A (en) * 2013-09-26 2016-05-11 富士通株式会社 Electronic device, and proofreading method in electronic device
CN106462293A (en) * 2016-08-08 2017-02-22 北京小米移动软件有限公司 Terminal, touch response method and device
CN108762577A (en) * 2011-10-18 2018-11-06 卡内基梅隆大学 Method and apparatus for the touch event on touch sensitive surface of classifying
CN109065395A (en) * 2018-08-10 2018-12-21 瑞声科技(新加坡)有限公司 Electronic equipment, button assembly and key control method
CN110147176A (en) * 2019-05-13 2019-08-20 Oppo广东移动通信有限公司 Control method and device of touch screen, storage medium and electronic equipment
CN112148148A (en) * 2020-09-27 2020-12-29 北京小米移动软件有限公司 Touch operation identification method and device, mobile terminal and storage medium
WO2021081710A1 (en) * 2019-10-28 2021-05-06 深圳市欢太科技有限公司 Vibration driving method and apparatus, and electronic device and computer readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011054025A (en) * 2009-09-03 2011-03-17 Denso Corp Tactile feedback device and program
CN108762577A (en) * 2011-10-18 2018-11-06 卡内基梅隆大学 Method and apparatus for the touch event on touch sensitive surface of classifying
CN105580021A (en) * 2013-09-26 2016-05-11 富士通株式会社 Electronic device, and proofreading method in electronic device
CN106462293A (en) * 2016-08-08 2017-02-22 北京小米移动软件有限公司 Terminal, touch response method and device
CN109065395A (en) * 2018-08-10 2018-12-21 瑞声科技(新加坡)有限公司 Electronic equipment, button assembly and key control method
CN110147176A (en) * 2019-05-13 2019-08-20 Oppo广东移动通信有限公司 Control method and device of touch screen, storage medium and electronic equipment
WO2021081710A1 (en) * 2019-10-28 2021-05-06 深圳市欢太科技有限公司 Vibration driving method and apparatus, and electronic device and computer readable medium
CN112148148A (en) * 2020-09-27 2020-12-29 北京小米移动软件有限公司 Touch operation identification method and device, mobile terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025038664A1 (en) * 2023-08-15 2025-02-20 Visa International Service Association Touchscreen input with haptics

Similar Documents

Publication Publication Date Title
US7339581B2 (en) Input control apparatus and method for responding to input
US10402550B2 (en) Authenticating apparatus for executing user authentication
WO2022222125A1 (en) Unlocking control method and apparatus, electronic device, and computer readable storage medium
EP3179358A1 (en) Method and apparatus for inputting contents based on virtual keyboard, and touch device
JP4951705B2 (en) Equipment with high-precision input function
EP3631782B1 (en) Method and system for entry of a personal identification number (pin)
WO2011024465A1 (en) Input device
KR20170037486A (en) Haptic CAPTCHA
EP2075671A1 (en) User interface of portable device and operating method thereof
CN105144028B (en) Haptic Effect Handshake Unlock
JP2011048848A (en) Input device and method for controlling the same
US10656716B2 (en) Control device, input system, and control method
CN115603726A (en) Touch recognition method, touch device and operation method thereof
JP5723832B2 (en) Input device
JP2006058973A (en) Tactile information creation device and tactile information creation method
JP2011186693A (en) Information input apparatus
US12236015B2 (en) Tactile feedback method, tactile feedback apparatus and touch display apparatus
JP2013156682A (en) User interface device for notifying event activation with inaudible oscillation, event activation notifying method, and program
TW201239692A (en) Tactile presentation device and control method thereof
JP2004046548A (en) Input device and input method
CN107015741A (en) User equipment and its operating method with finger print identifying function
TW202139112A (en) Information processing apparatus, method and program
CN103577971B (en) For setting the apparatus and method of timing in portable electronic terminal
JP5891324B2 (en) Input device
JP2008015584A (en) Operation device and image forming apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination