WO2017096797A1 - 一种基于体感的操作组件控制方法和系统 - Google Patents
一种基于体感的操作组件控制方法和系统 Download PDFInfo
- Publication number
- WO2017096797A1 WO2017096797A1 PCT/CN2016/088450 CN2016088450W WO2017096797A1 WO 2017096797 A1 WO2017096797 A1 WO 2017096797A1 CN 2016088450 W CN2016088450 W CN 2016088450W WO 2017096797 A1 WO2017096797 A1 WO 2017096797A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- event
- gesture
- move
- information
- orientation
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Definitions
- Embodiments of the present invention relate to the field of intelligent control technologies, and in particular, to a method and system for controlling a component based on a sense of body.
- a complete Click event can be triggered by a gesture to achieve the control effect.
- the Click event consists of two events, Down event and Up event.
- the click event of the Click event consists of two gestures: push forward and pull back (pre-push is equivalent to mouse press, pull-back is equivalent to mouse lift).
- the Down event and the Up event combine to form the Click event.
- the present invention proposes a body sensing based operating component control method and system.
- a somatosensory-based operational component control method of the present invention includes:
- the detecting the gesture control information for the operating component comprises:
- the parsing the operation event triggered by the gesture control information comprises:
- the setting the Move event as an invalid event includes:
- the setting the Move event as an invalid event includes:
- the operational component does not respond to the Move event.
- the somatosensory operation component control method of the invention avoids the operator's use of the somatosensory technology to control the operation component, and the Click event cannot be accurately triggered due to the accidental drag behavior, thereby failing to operate the component.
- the phenomenon of accurate control Through the technical solution of the present invention, the system accurately combines the Down event and the Up event in the process of processing the gesture control information to form a complete Click event, and avoids responding to other events formed by the Move event, and accurately completing the Somatosensory control of the operating components, improved gesture control letter The success rate of the corresponding operation is triggered.
- a somatosensory-based operational component control system of the present invention includes:
- a detection parsing module for detecting gesture control information for the operation component
- a component control module configured to determine that the Down event and the Up event form a Click event to complete control of the operation component.
- the detecting the gesture control information for the operating component comprises:
- the parsing the operation event triggered by the gesture control information comprises:
- the setting the Move event as an invalid event includes:
- the setting the Move event as an invalid event includes:
- the operational component does not respond to the Move event.
- the somatosensory operation component control system of the invention avoids the operator's use of the somatosensory technology to control the operation component, and the Click event cannot be accurately triggered due to the accidental drag behavior, thereby failing to operate the component.
- the phenomenon of accurate control Through the technical solution of the present invention, the system accurately combines the Down event and the Up event in the process of processing the gesture control information to form a complete Click event, and avoids responding to other events formed by the Move event, and accurately completing the
- the sense of body control of the operating component increases the success rate of the gesture control information triggering the corresponding operation.
- Embodiment 1 is a schematic flow chart of a method according to Embodiment 1 of the present invention.
- FIG. 2 is a schematic flowchart of a method according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic structural diagram of a system according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic structural diagram of a system according to Embodiment 4 of the present invention.
- the present invention proposes a body sensing based operating component control method and system.
- a method for controlling a body-based operating component includes the following steps:
- Step S101 Detect gesture control information for the operation component.
- the detecting the gesture control information for the operation component includes: acquiring the position information and the orientation information of the gesture in the three-dimensional space in real time.
- the position information refers to a position projected onto the page when the hand slides
- the orientation information refers to a change in the orientation projected onto the page when the hand slides. For example, a person sliding to the left triggers the operation of turning to the next page, and sliding to the right triggers the operation of turning to the previous page.
- Step S102 Parsing an operation event triggered by the gesture control information, where the operation event includes a Down event, a Move event, and an Up event;
- the sliding of the hand to the left triggers the operation of turning to the next page, which actually triggers a complete Click event.
- the Click event consists of a Down event and an Up event: the operation of sliding the person from right to left to a certain position is equivalent to triggering Down.
- the event similar to the click operation of the left mouse button
- the action of pulling the hand to the left to a certain position is equivalent to triggering the Up event (similar to the operation of releasing the left button after the left mouse button click), and if it is in the human hand
- a certain degree of tilting up or down similar to dragging after a left mouse click
- the parsing the operation event triggered by the gesture control information comprises:
- the Down event is not necessarily triggered, because if the user slides to the left in any case, it is considered that the page turning operation is triggered in the Down state.
- the event is very easy to cause the wrong control of the page turning operation.
- the operator does not intend to perform the page turning operation, but only the slight sliding of the person inadvertently to the left. Therefore, it is required to set when the orientation information is forward push (such as sliding to the left) and the position information reaches a preset value in the corresponding orientation (such as sliding to a certain position or the sliding distance reaches a certain requirement), before determining Push gestures trigger a Down event.
- Step S103 When a Move event is generated between the Down event and the Up event, the Move event is set as an invalid event.
- the present invention is to solve the problem that the Click event triggering is inaccurate due to the unexpected occurrence of the Move event during the triggering process of the Click event described above.
- the method proposed by the embodiment of the present invention sets the Move event generated between the Down event and the Up event as an invalid event, that is, the occurrence of the Move event is not allowed to affect the triggering of the Click event.
- Step S104 Determine that the Down event and the Up event form a Click event to complete control for the operation component.
- the Click event can be triggered correspondingly only when a consecutive Down event and an Up event are received. Therefore, in the step S103 of the embodiment of the present invention, after the Move event is set as an invalid event, That is, the Click event can be accurately triggered according to the Down event and the Up event.
- the system sets the tilt. It is determined to be an invalid operation. After receiving the Up event, the Click event is triggered to complete the operation of turning to the next page.
- the setting of the Move event as an invalid event in the embodiment of the present invention includes the following two methods: the Move event is not sent to the operation component, so that the operation component does not respond to the Move event; Does not respond to the Move event, that is, the operation component receives the Move event, but considers that the Move event is invalid, making it impossible to affect the Down event and triggering the Click event together with Up.
- the somatosensory operation component control method of the invention avoids the operator's use of the somatosensory technology to control the operation component, and the Click event cannot be accurately triggered due to the accidental drag behavior, thereby failing to operate the component.
- the phenomenon of accurate control Through the technical solution of the present invention, the system accurately combines the Down event and the Up event in the process of processing the gesture control information to form a complete Click event, and avoids responding to other events formed by the Move event, and accurately completing the
- the sense of body control of the operating component increases the success rate of the gesture control information triggering the corresponding operation.
- the method of the first embodiment is further illustrated by taking the somatosensory control of the Android system (the intelligent operating system used by the operating component) as an example. It is assumed that the Move event is triggered during the control process.
- This embodiment includes the following steps:
- Step S201 The Android system detects the gesture control information of the outside world.
- the webpage of the three-dimensional holographic projection is swiped to the left by using a gesture as an example.
- the gesture change information during the page turning operation of the human hand is detected.
- Step S202 Parsing the above gesture change information, whether a Down event, a Move event, and an Up event are triggered.
- Step S203 If the Move event is generated, the Move event is set as an invalid event.
- the present invention proposes two methods for setting a Move event as an invalid event:
- the Android system sends the Move event to the operation component, but the operation component removes the Move event, that is, does not respond to it, so that even if the operation component receives the Move event, the Move event is masked until the Up event is received, so that For the operation component, only the Down event and the Up event are received, thereby avoiding the event response caused by the Down event, and the probability of triggering the Click event is greatly increased.
- the accuracy of the click is greatly improved.
- Step S204 The operation component responds to the received Down event and the Up event, and triggers a complete Click event to complete the control operation of the gesture control information.
- This embodiment is a detailed description of the method of the first embodiment in the specific application scenario of the Android system, and only the method of the present invention is illustrated, and does not constitute a limitation of the scope of the present invention.
- Those skilled in the art should understand that it is possible to achieve between the Down event and the Up event.
- the technical means for setting the generated Move event to be an invalid event ie, responding only to the Down event and the Up event without responding to the Move event between the two
- a body-based operating component control system of the present invention includes:
- a detection parsing module 31 configured to detect gesture control information for the operation component
- the component control module 32 is configured to determine that the Down event and the Up event form a Click event to complete control for the operational component.
- the detecting the gesture control information for the operating component comprises:
- the parsing the operation event triggered by the gesture control information comprises:
- the setting the Move event as an invalid event includes:
- the setting the Move event as an invalid event includes:
- the operational component does not respond to the Move event.
- the somatosensory operation component control system of the invention avoids the operator's use of the somatosensory technology to control the operation component, and the Click event cannot be accurately triggered due to the accidental drag behavior, thereby failing to operate the component.
- the phenomenon of accurate control With the technical solution of the present invention, the system accurately goes Down during the processing of the gesture control information.
- the event and the Up event are combined to form a complete Click event, and avoid responding to other events formed by the Move event, accurately completing the control of the operational component, and improving the success rate of the gesture control information triggering the corresponding operation.
- the present invention can be embodied in a variety of different forms, and the technical solutions of the present invention are illustrated by taking the figures of FIG. 1 to FIG. 3 as an example, which does not mean that the specific examples applied to the present invention can be limited to In a particular process or embodiment structure, one of ordinary skill in the art will appreciate that the specific embodiments provided above are only a few examples of various preferred uses, and any embodiment embodying the claims of the present invention should be in the present invention. Within the scope of the technical solution.
- the system 1100 can be a host server with computing power, a personal computer PC, or a portable computer or terminal that can be carried.
- the specific embodiments of the present invention do not limit the specific implementation of the computing node.
- the system 1100 includes a processor 1110, a communications interface 1120, a memory array 1130, and a bus 1140.
- the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the bus 1140.
- the communication interface 1120 is configured to communicate with a network element, where the network element includes, for example, a virtual machine management center, shared storage, and the like.
- the processor 1110 is configured to execute a program.
- the processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
- ASIC Application Specific Integrated Circuit
- the memory 1130 is used to store files.
- the memory 1130 may include a high speed RAM memory. It may also include a non-volatile memory, such as at least one disk storage. Memory 1130 can also be a memory array.
- the memory 1130 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
- the above program may be program code including computer operating instructions. This program can be used to:
- the detecting the gesture control information for the operation component includes:
- the parsing the operation event triggered by the gesture control information includes:
- the setting the Move event as an invalid event includes:
- the setting the Move event as an invalid event includes:
- the operational component does not respond to the Move event.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
一种基于体感的操作组件控制方法和系统,其中,该方法包括:检测针对操作组件的手势控制信息(S101),解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件(S102),当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件(S103);确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制(S104)。该方法使得系统在对手势控制信息的处理过程中,准确地将Down事件和Up事件进行组合,形成完整的Click事件,而避免对Move事件形成的其他事件进行响应,准确完成体感对操作组件的控制,提高了手势控制信息触发相应操作的成功率。
Description
本申请要求在2015年12月10日提交中国专利局、申请号为201510926117.7、发明名称为“一种基于体感的操作组件控制方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明实施例涉及智能控制技术领域,具体地,涉及一种基于体感的操作组件控制方法和系统。
在采用体感技术对操作组件进行控制的过程中,如对三维全息投影进行控制时,可以由一个手势触发完整的Click事件,以实现控制效果。Click事件由Down事件和Up事件两个事件组成,Click事件的点击行为由前推和后拉(前推相当于鼠标按下,后拉相当于鼠标抬起)两个手势组成,前推时触发向Android系统发送对应点的Down事件,后拉时触发向Android系统发送对应点的Up事件,Down事件和Up事件两个事件合起来构成了Click事件。
但在现有技术的控制过程中,存在以下技术问题:以Android系统为例,在桌面或者应用中用手势实现Click事件,发送相应位置的Click事件,准确率很低,即使动作标准也很难点中。例如在点击应用图标时,由于在Down事件与Up事件中间会有人的自然抖动,因此,此时通常会形成Move事件移动,相当于在Down事件后,再连续发送Move事件,传送移动的点坐标,这样在Down事件后的移动会产生进入新的事件响应,类似于鼠标按下后拖动的触发,而去除掉了Click事件的形成条件,导致Click事件无法产生,从而不能正确触发Click事件。
发明内容
为了解决现有技术中存在的采用体感技术对操作组件进行控制时经常无法准确触发的技术问题,本发明提出了一种基于体感的操作组件控制方法和系统。
本发明的一种基于体感的操作组件控制方法,包括:
检测针对操作组件的手势控制信息,
解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,
当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;
确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
优选的,所述检测针对操作组件的手势控制信息,包括:
实时获取手势在三维空间的位置信息、方位信息。
优选的,所述解析所述手势控制信息触发的操作事件,包括:
解析所述手势控制信息,得到手势对应的方位信息及位置信息,根据所述方位信息及位置信息,确定所述手势触发的操作事件;
其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
优选的,所述将所述Move事件设定为无效事件,包括:
不发送所述Move事件至所述操作组件;
优选的,所述将所述Move事件设定为无效事件,包括:
所述操作组件不响应所述Move事件。
本发明的一种基于体感的操作组件控制方法,避免了操作人员采用体感技术对操作组件进行控制的过程中,由于意外发生的拖动行为,导致Click事件不能被准确触发,从而无法对操作组件进行准确控制的现象。通过本发明的技术方案,使得系统在对手势控制信息的处理过程中,准确地将Down事件和Up事件进行组合,形成完整的Click事件,而避免对Move事件形成的其他事件进行响应,准确完成体感对操作组件的控制,提高了手势控制信
息触发相应操作的成功率。
本发明的一种基于体感的操作组件控制系统,包括:
检测解析模块,用于检测针对操作组件的手势控制信息,
解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,
当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;
组件控制模块,用于确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
优选的,所述检测针对操作组件的手势控制信息,包括:
实时获取手势在三维空间的位置信息、方位信息。
优选的,所述解析所述手势控制信息触发的操作事件,包括:
解析所述手势控制信息,得到手势对应的方位信息及位置信息,
根据所述方位信息及位置信息,确定所述手势触发的操作事件;
其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
优选的,所述将所述Move事件设定为无效事件,包括:
不发送所述Move事件至所述操作组件;
优选的,所述将所述Move事件设定为无效事件,包括:
所述操作组件不响应所述Move事件。
本发明的一种基于体感的操作组件控制系统,避免了操作人员采用体感技术对操作组件进行控制的过程中,由于意外发生的拖动行为,导致Click事件不能被准确触发,从而无法对操作组件进行准确控制的现象。通过本发明的技术方案,使得系统在对手势控制信息的处理过程中,准确地将Down事件和Up事件进行组合,形成完整的Click事件,而避免对Move事件形成的其他事件进行响应,准确完成体感对操作组件的控制,提高了手势控制信息触发相应操作的成功率。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从
说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:
图1为本发明实施例一的方法流程示意图;
图2为本发明实施例二的方法流程示意图;
图3为本发明实施例三的系统结构示意图;
图4为本发明实施例四的系统结构示意图。
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
下面结合附图,对本发明的具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。
为了解决现有技术中存在的采用体感技术对操作组件进行控制时经常无法准确触发的技术问题,本发明提出了一种基于体感的操作组件控制方法和系统。
实施例一
如图1所示,本发明的一种基于体感的操作组件控制方法,包括以下步骤:
步骤S101:检测针对操作组件的手势控制信息。
所述检测针对操作组件的手势控制信息,包括:实时获取手势在三维空间的位置信息、方位信息。
以采用手势对三维全息投影的网页进行滑动翻页为例,位置信息是指人手滑动时投射到页面上的位置,方位信息是指人手滑动时投射到页面上的方位变化。例如:人手向左滑动触发翻到下一页的操作,向右滑动则触发翻到上一页的操作。
步骤S102:解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件;
人手向左滑动触发翻到下一页的操作,实际上就是触发了一个完整的Click事件,Click事件由Down事件与Up事件组成:人手从右向左滑动到一定位置的操作相当于触发了Down事件(类似于鼠标左键的点击操作),人手向左滑动到一定位置后拿开的动作相当于触发了Up事件(类似于鼠标左键点击之后松开左键的操作),而如果在人手向左滑动的过程中,发生了如向上或向下一定程度的倾斜(类似于鼠标左键点击之后的拖动),即相当于触发了Move事件。
优选的,所述解析所述手势控制信息触发的操作事件,包括:
解析所述手势控制信息,得到手势对应的方位信息及位置信息,根据所述方位信息及位置信息,确定所述手势触发的操作事件;
其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
仍以上述使用手势进行页面翻页的操作为例,人手从右向左滑动时,并不必然触发Down事件,因为如果将人手在任何情况下的向左滑动均认为触发了翻页操作的Down事件,则极易造成翻页操作的错误控制,如:操作人员本未打算进行翻页操作,而仅仅是人手不经意间向左的轻微滑动等。因此,需要设定当所述方位信息为前推(如向左滑动)且位置信息在对应的方位上达到预设值(如滑动到一定位置或滑动的距离达到一定的要求)时,确定前推手势触发Down事件。
同理,对Move事件和Up事件的触发条件也作出上述相应的限制。
步骤S103:当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件。
由于Move事件的发生,无法准确地触发Click事件,使得无法准确使用手势进行翻页操作。本发明即是为了解决在上述Click事件的触发过程中,由于Move事件的意外产生导致的Click事件触发不准确的问题。本发明实施例提出的方法是将Down事件与Up事件之间产生的Move事件设定为无效事件,即不允许该Move事件的发生影响Click事件的触发。
步骤S104:确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
本领域技术人员应当了解,只有当接收到连续的Down事件和Up事件时,才能够相应的触发Click事件,因此,在本发明实施例的步骤S103中,将Move事件设定为无效事件之后,即可以根据Down事件和Up事件准确触发Click事件。
如:人手在从右向左的滑动过程中,向左滑动的距离或位置达到了预设值的要求(相当于触发Down事件),但操作人员不小心向上发生了倾斜(相当于触发Move事件),然后人手拿开(相当于触发Up事件)。由于系统最先接收到的是向左滑动的Down事件,即认为需要进行翻到下一页的操作,而人手向上的倾斜实际上可能是向下滑动页面的操作,因此,系统将该倾斜设定为无效操作,在接收到Up事件后,才触发Click事件,完成翻到下一页的操作。
本发明实施例中所述的将Move事件设定为无效事件包括以下两种方式:不发送所述Move事件至所述操作组件,使得操作组件也就不会对该Move事件进行响应;操作组件不响应所述Move事件,即操作组件接收到Move事件,但认为该Move事件是无效的,使其无法影响Down事件和Up一起触发Click事件。
本发明的一种基于体感的操作组件控制方法,避免了操作人员采用体感技术对操作组件进行控制的过程中,由于意外发生的拖动行为,导致Click事件不能被准确触发,从而无法对操作组件进行准确控制的现象。通过本发明的技术方案,使得系统在对手势控制信息的处理过程中,准确地将Down事件和Up事件进行组合,形成完整的Click事件,而避免对Move事件形成的其他事件进行响应,准确完成体感对操作组件的控制,提高了手势控制信息触发相应操作的成功率。
实施例二
如图2所示,本实施例以Android系统(操作组件采用的智能操作系统)的体感控制为例,对实施例一的方法进行更进一步的说明,假设在控制过程中,触发了Move事件,该实施例包括以下步骤:
步骤S201:Android系统检测外界的手势控制信息。
本实施例以采用手势对三维全息投影的网页进行向左滑动翻页为例,步骤S201即检测在人手在翻页操作过程中的手势变化信息。
步骤S202:解析上述的手势变化信息,是否触发了Down事件、Move事件及Up事件。
假设在本实施例中,人手在从右向左的滑动过程中,向左滑动的距离或位置达到了预设值的要求(相当于触发Down事件),但操作人员不小心向上发生了倾斜(相当于触发Move事件),然后人手拿开(相当于触发Up事件)。
步骤S203:如果产生了Move事件时,将所述Move事件设定为无效事件。为了触发完整的Click事件,以实现对页面进行翻页的效果,本发明提出了以下两种将Move事件设定为无效事件的方法:
1、将这种Down事件后的Move事件屏蔽掉,当Down事件后的Move事件发生后,Android系统不再向操作组件传送这个Move事件,而直到收到Up事件后再传递该Up事件,这样操作组件响应的只有Down事件和Up事件,从而Click的成功机率大幅增加。
2、Android系统向操作组件发送该Move事件,但操作组件将Move事件去除,即不对其进行响应,这样即使操作组件接收到了Move事件,也会屏蔽掉该Move事件,直到收到Up事件,这样对操作组件来说也只接收到了Down事件和Up事件,从而避免了Down事件带来的事件响应,触发Click事件的成功机率大幅增加。通过本发明中对Down事件后的Move事件进行优化处理,大大提高了点击的准确率。
步骤S204:操作组件对接收到的Down事件与Up事件进行响应,触发完整的Click事件,以完成手势控制信息对自身的控制操作。
本实施例为实施例一的方法在Android系统的具体应用场景下的详细说明,仅对本发明的方法进行举例说明,而不构成对本发明保护范围的限制。本领域技术人员应当理解,凡是能够实现将Down事件与Up事件之间
产生的Move事件设定为无效事件(即仅对Down事件和Up事件进行响应,而不对二者之间的Move事件进行响应)的技术手段,均应包含在本发明的保护范围之内,而不受本发明具体实施例的限制。
本实施例具有实例一的全部有益技术效果,在此不再赘述!
实施例三
如图3所示,本发明的一种基于体感的操作组件控制系统,包括:
检测解析模块31,用于检测针对操作组件的手势控制信息,
解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,
当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;
组件控制模块32,用于确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
优选的,所述检测针对操作组件的手势控制信息,包括:
实时获取手势在三维空间的位置信息、方位信息。
优选的,所述解析所述手势控制信息触发的操作事件,包括:
解析所述手势控制信息,得到手势对应的方位信息及位置信息,
根据所述方位信息及位置信息,确定所述手势触发的操作事件;
其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
优选的,所述将所述Move事件设定为无效事件,包括:
不发送所述Move事件至所述操作组件;
优选的,所述将所述Move事件设定为无效事件,包括:
所述操作组件不响应所述Move事件。
本发明的一种基于体感的操作组件控制系统,避免了操作人员采用体感技术对操作组件进行控制的过程中,由于意外发生的拖动行为,导致Click事件不能被准确触发,从而无法对操作组件进行准确控制的现象。通过本发明的技术方案,使得系统在对手势控制信息的处理过程中,准确地将Down
事件和Up事件进行组合,形成完整的Click事件,而避免对Move事件形成的其他事件进行响应,准确完成体感对操作组件的控制,提高了手势控制信息触发相应操作的成功率。
本发明能有多种不同形式的具体实施方式,上面以图1-图3为例结合附图对本发明的技术方案作举例说明,这并不意味着本发明所应用的具体实例只能局限在特定的流程或实施例结构中,本领域的普通技术人员应当了解,上文所提供的具体实施方案只是多种优选用法中的一些示例,任何体现本发明权利要求的实施方式均应在本发明技术方案所要求保护的范围之内。
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
实施例四
图4示出了本发明的另一个实施例的一种基于体感的操作组件控制系统的结构框图。所述系统1100可以是具备计算能力的主机服务器、个人计算机PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。
该系统1100包括处理器(processor)1110、通信接口(Communications Interface)1120、存储器(memory array)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互间的通信。
通信接口1120用于与网元通信,其中网元包括例如虚拟机管理中心、共享存储等。
处理器1110用于执行程序。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器1130用于存放文件。存储器1130可能包含高速RAM存储器,
也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1130也可以是存储器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:
检测针对操作组件的手势控制信息,
解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,
当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;
确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
在一种可能的实现方式中,所述检测针对操作组件的手势控制信息,包括:
实时获取手势在三维空间的位置信息、方位信息。
在一种可能的实现方式中,所述解析所述手势控制信息触发的操作事件,包括:
解析所述手势控制信息,得到手势对应的方位信息及位置信息,根据所述方位信息及位置信息,确定所述手势触发的操作事件;
其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
在一种可能的实现方式中,所述将所述Move事件设定为无效事件,包括:
不发送所述Move事件至所述操作组件;
在一种可能的实现方式中,所述将所述Move事件设定为无效事件,包括:
所述操作组件不响应所述Move事件。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
前述对本发明的具体示例性实施方案的描述是为了说明和例证的目的。这些描述并非想将本发明限定为所公开的精确形式,并且很显然,根据上述教导,可以进行很多改变和变化。对示例性实施例进行选择和描述的目的在于解释本发明的特定原理及其实际应用,从而使得本领域的技术人员能够实现并利用本发明的各种不同的示例性实施方案以及各种不同
的选择和改变。本发明的范围意在由权利要求书及其等同形式所限定。
Claims (10)
- 一种基于体感的操作组件控制方法,其特征在于,包括:检测针对操作组件的手势控制信息,解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
- 根据权利要求1所述的方法,其特征在于,所述检测针对操作组件的手势控制信息,包括:实时获取手势在三维空间的位置信息、方位信息。
- 根据权利要求1或2所述的方法,其特征在于,所述解析所述手势控制信息触发的操作事件,包括:解析所述手势控制信息,得到手势对应的方位信息及位置信息,根据所述方位信息及位置信息,确定所述手势触发的操作事件;其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
- 根据权利要求3所述的方法,其特征在于,所述将所述Move事件设定为无效事件,包括:不发送所述Move事件至所述操作组件;
- 根据权利要求3所述的方法,其特征在于,所述将所述Move事件设定为无效事件,包括:所述操作组件不响应所述Move事件。
- 一种基于体感的操作组件控制系统,其特征在于,包括:检测解析模块,用于检测针对操作组件的手势控制信息,解析所述手势控制信息触发的操作事件,其中,所述操作事件包括Down事件、Move事件及Up事件,当所述Down事件与Up事件之间产生了Move事件时,将所述Move事件设定为无效事件;组件控制模块,用于确定所述Down事件与Up事件形成Click事件以完成针对所述操作组件的控制。
- 根据权利要求6所述的系统,其特征在于,所述检测针对操作组件的手势控制信息,包括:实时获取手势在三维空间的位置信息、方位信息。
- 根据权利要求6或7所述的系统,其特征在于,所述解析所述手势控制信息触发的操作事件,包括:解析所述手势控制信息,得到手势对应的方位信息及位置信息,根据所述方位信息及位置信息,确定所述手势触发的操作事件;其中,当所述方位信息为前推且位置信息在对应的方位上达到预设值时,确定前推手势触发Down事件;当所述方位信息为拖动且位置信息在对应的方位上达到预设值时,确定拖动手势触发Move事件;当所述方位信息为后拉且位置信息在对应的方位上达到预设值时,确定后拉手势触发Up事件。
- 根据权利要求8所述的系统,其特征在于,所述将所述Move事件设定为无效事件,包括:不发送所述Move事件至所述操作组件。
- 根据权利要求8所述的系统,其特征在于,所述将所述Move事件设定为无效事件,包括:所述操作组件不响应所述Move事件。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/218,616 US20170168581A1 (en) | 2015-12-10 | 2016-07-25 | Method and Device for Controlling Operation Components Based on Somatosensory |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2015109261177 | 2015-12-10 | ||
| CN201510926117.7A CN105912098A (zh) | 2015-12-10 | 2015-12-10 | 一种基于体感的操作组件控制方法和系统 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/218,616 Continuation US20170168581A1 (en) | 2015-12-10 | 2016-07-25 | Method and Device for Controlling Operation Components Based on Somatosensory |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017096797A1 true WO2017096797A1 (zh) | 2017-06-15 |
Family
ID=56744042
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/088450 Ceased WO2017096797A1 (zh) | 2015-12-10 | 2016-07-04 | 一种基于体感的操作组件控制方法和系统 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20170168581A1 (zh) |
| CN (1) | CN105912098A (zh) |
| WO (1) | WO2017096797A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108088032B (zh) * | 2017-10-31 | 2020-04-21 | 珠海格力电器股份有限公司 | 空调的控制方法和装置 |
| CN107908384A (zh) * | 2017-11-18 | 2018-04-13 | 深圳市星野信息技术有限公司 | 一种实时显示全息人像的方法、装置、系统及存储介质 |
| CN109542235A (zh) * | 2018-12-04 | 2019-03-29 | 广东小天才科技有限公司 | 一种智能终端的屏幕操作方法、装置及智能终端 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011119154A1 (en) * | 2010-03-24 | 2011-09-29 | Hewlett-Packard Development Company, L.P. | Gesture mapping for display device |
| CN103347108A (zh) * | 2013-07-05 | 2013-10-09 | 中科创达软件股份有限公司 | 一种侧面安装可编程快捷触控板的手机及实现方法 |
| CN103686283A (zh) * | 2013-12-12 | 2014-03-26 | 成都优芯微电子技术有限公司 | 一种智能电视遥控器人机交互方法 |
| CN104076974A (zh) * | 2013-03-25 | 2014-10-01 | 柯尼卡美能达株式会社 | 手势判别装置、手势判别方法、以及计算机程序 |
| CN104571482A (zh) * | 2013-10-22 | 2015-04-29 | 中国传媒大学 | 一种基于体感识别的数字设备操控方法 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008095139A2 (en) * | 2007-01-31 | 2008-08-07 | Perceptive Pixel, Inc. | Methods of interfacing with multi-point input devices and multi-point input systems employing interfacing techniques |
| CN102566744A (zh) * | 2010-12-22 | 2012-07-11 | 康佳集团股份有限公司 | 一种鼠标控制方法、装置及终端 |
| US20150193111A1 (en) * | 2013-10-01 | 2015-07-09 | Google Inc. | Providing Intent-Based Feedback Information On A Gesture Interface |
| CN104331154B (zh) * | 2014-08-21 | 2017-11-17 | 周谆 | 实现非接触式鼠标控制的人机交互方法和系统 |
| CN104333793B (zh) * | 2014-10-17 | 2015-08-19 | 宝鸡文理学院 | 一种手势遥控系统 |
| US9961239B2 (en) * | 2015-06-07 | 2018-05-01 | Apple Inc. | Touch accommodation options |
-
2015
- 2015-12-10 CN CN201510926117.7A patent/CN105912098A/zh active Pending
-
2016
- 2016-07-04 WO PCT/CN2016/088450 patent/WO2017096797A1/zh not_active Ceased
- 2016-07-25 US US15/218,616 patent/US20170168581A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011119154A1 (en) * | 2010-03-24 | 2011-09-29 | Hewlett-Packard Development Company, L.P. | Gesture mapping for display device |
| CN104076974A (zh) * | 2013-03-25 | 2014-10-01 | 柯尼卡美能达株式会社 | 手势判别装置、手势判别方法、以及计算机程序 |
| CN103347108A (zh) * | 2013-07-05 | 2013-10-09 | 中科创达软件股份有限公司 | 一种侧面安装可编程快捷触控板的手机及实现方法 |
| CN104571482A (zh) * | 2013-10-22 | 2015-04-29 | 中国传媒大学 | 一种基于体感识别的数字设备操控方法 |
| CN103686283A (zh) * | 2013-12-12 | 2014-03-26 | 成都优芯微电子技术有限公司 | 一种智能电视遥控器人机交互方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20170168581A1 (en) | 2017-06-15 |
| CN105912098A (zh) | 2016-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11301126B2 (en) | Icon control method and terminal | |
| US11354009B2 (en) | Method and apparatus for using gestures across multiple devices | |
| WO2018233054A1 (zh) | 功能控件的响应方法、电子装置及计算机可读存储介质 | |
| CN105045374B (zh) | 自动视线校准 | |
| US9262012B2 (en) | Hover angle | |
| CN107329602A (zh) | 一种触摸屏轨迹识别方法及装置 | |
| TWI549017B (zh) | 確認處理方法、相關裝置及系統 | |
| US20150286283A1 (en) | Method, system, mobile terminal, and storage medium for processing sliding event | |
| WO2019085921A1 (zh) | 一种单手操作移动终端的方法、存储介质及移动终端 | |
| CN105718173B (zh) | 终端操控方法、终端操控装置和终端 | |
| WO2019192498A1 (zh) | 一种窗口分屏显示方法、装置及设备 | |
| CN106406572A (zh) | 光标的控制方法和装置 | |
| WO2017096797A1 (zh) | 一种基于体感的操作组件控制方法和系统 | |
| CN105474164A (zh) | 间接输入的歧义消除 | |
| CN104331232A (zh) | 快捷触发屏幕反馈的方法及装置 | |
| US10282395B2 (en) | Handling timer-based resizing events based on activity detection | |
| US9891730B2 (en) | Information processing apparatus, information processing method therefor, and non-transitory storage medium | |
| TWI617971B (zh) | 手勢翻頁方法及系統 | |
| WO2017045277A1 (zh) | 搜索方法、装置、设备及非易失性计算机存储介质 | |
| CN105892641A (zh) | 一种用于体感控制的click响应处理方法、装置和系统 | |
| CN104636073A (zh) | 一种触屏智能设备操作便携式设备的方法及装置 | |
| WO2019024507A1 (zh) | 一种触摸控制方法、装置及终端 | |
| CN105630204A (zh) | 鼠标模拟系统及方法 | |
| WO2017193456A1 (zh) | 文本操作执行方法及装置 | |
| CN110032323B (zh) | 电子设备及手势导航方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16872001 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16872001 Country of ref document: EP Kind code of ref document: A1 |