WO2016041469A1 - Touch control method, touch control device, touch control terminal and computer readable storage medium - Google Patents

Touch control method, touch control device, touch control terminal and computer readable storage medium Download PDF

Info

Publication number
WO2016041469A1
WO2016041469A1 PCT/CN2015/089468 CN2015089468W WO2016041469A1 WO 2016041469 A1 WO2016041469 A1 WO 2016041469A1 CN 2015089468 W CN2015089468 W CN 2015089468W WO 2016041469 A1 WO2016041469 A1 WO 2016041469A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
terminal
control command
area
touch gesture
Prior art date
Application number
PCT/CN2015/089468
Other languages
French (fr)
Chinese (zh)
Inventor
张晓文
Original Assignee
努比亚技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2016041469A1 publication Critical patent/WO2016041469A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to a touch screen technology, and more particularly to a touch method, a touch device, a touch terminal, and a computer readable storage medium.
  • the screen frame of the mobile terminal is generally narrowed, and at the same time, the screen size of the mobile terminal is also developing toward a large trend. In this case, the user is using the mobile terminal. In the process, there may be the following inconveniences:
  • the palm of the hand may easily touch the screen of the side frame, thereby causing a false touch phenomenon; if the top and bottom borders of the upper and lower sides of the terminal screen are compared Narrow, when the user answers the phone, the head part is easy to accidentally touch the screen, which leads to the occurrence of false touch; if the lower frame is too narrow, the user may easily make the center of gravity of the terminal not in the process of holding the terminal to operate the button at the bottom of the screen. Stable, resulting in the danger of the terminal slipping from the hand.
  • the physical buttons of the terminal are arranged on the left and right sides of the terminal, or the borders on the upper and lower sides.
  • the physical buttons since the physical buttons need to be made to protrude from the body, at the same time, the physical buttons also need to set a certain keystrokes. Therefore, these physical buttons also affect the visual effect and experience of the narrow border of the terminal.
  • the existing touch gesture operation has a large limitation, and the function of the physical button is not well replaced in the interface of some applications, and the rules for using the screen of the terminal are complicated and have limited limitations.
  • the existing touch gestures are usually defined on the full screen. Therefore, when there are many functions, more touch gestures need to be divided for this purpose, thereby enhancing the user's use difficulty and reducing the user experience.
  • An object of the present invention is to provide a touch method, a touch device, a touch terminal, and a computer readable storage medium, which can make the functions corresponding to the touch gesture more clear and enhance the user experience.
  • the embodiment of the present invention provides a touch control method, which includes: sensing a touch gesture corresponding to a physical button of a terminal in a touch area of a terminal frame;
  • the method before the touch area corresponding to the physical button of the terminal is touched by the touch area of the terminal frame, the method further includes:
  • the method before the touch area corresponding to the physical button of the terminal is touched by the touch area of the terminal frame, the method further includes:
  • the method before the touch area of the terminal frame senses the touch gesture corresponding to the physical button of the terminal, the method further includes:
  • a control status area is set within the screen display range of the terminal.
  • the method further includes:
  • the embodiment of the present invention provides a touch method, which includes: dividing a touch area along a frame of a terminal;
  • the function interface and the touch gesture are associated, and the terminal control command corresponding to the function interface is responded according to the touch gesture.
  • the method before the setting the corresponding touch gesture in the touch area, the method further includes:
  • the method before the setting the corresponding touch gesture in the touch area, the method further includes:
  • the method before the setting the corresponding touch gesture in the touch area, the method further includes:
  • a control status area is set within the screen display range of the terminal.
  • the method further includes:
  • a third aspect of the present invention provides a touch device, including at least a touch gesture sensing module, and a processing module;
  • the touch gesture sensing module is configured to sense a touch gesture corresponding to the physical button of the terminal in the touch area of the terminal frame;
  • the processing module is configured to respond to the terminal control command corresponding to the physical button according to the touch gesture.
  • the method further includes a function interface acquiring module, and a terminal control command extracting module, where
  • the function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
  • the terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
  • the method further includes a trigger data recording module, configured to record trigger data of the physical button within a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
  • the touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
  • the method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
  • the processing module is further configured to associate the touch area with the selected touch gesture.
  • control status area setting module is further configured to set a control status area in a screen display range of the terminal; and the touch gesture determination module is configured to determine the touch area. Whether the touch gesture is sensed within the touch gesture;
  • the function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
  • the method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
  • a fourth aspect of the present invention provides a touch device, including at least a touch area division module, a touch gesture setting module, and a processing module;
  • the touch area dividing module is configured to divide the touch area along the border of the terminal
  • the touch gesture setting module is configured to set a corresponding touch gesture in the touch area
  • the processing module is configured to associate the function interface with the touch gesture, and respond to the terminal control command corresponding to the function interface according to the touch gesture.
  • the method further includes a function interface acquiring module, and a terminal control command extracting module, where
  • the function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
  • the terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
  • the method further includes a trigger data recording module, configured to record trigger data of the physical button within a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
  • the touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
  • the method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
  • the processing module is further configured to associate the touch area with the selected touch gesture.
  • control status area setting module is further configured to set a control status area in a screen display range of the terminal; and the touch gesture determination module is configured to determine the touch area. Whether the touch gesture is sensed within the touch gesture;
  • the function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
  • the method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
  • an embodiment of the present invention provides a touch terminal, including the touch device described above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to execute a touch method, where the method includes :
  • the touch gesture corresponding to the physical button of the terminal is sensed in the touch area of the terminal frame;
  • the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and the touch gesture are associated, and according to the touch
  • the control gesture responds to the terminal control command corresponding to the function interface.
  • the function of replacing the physical button with the touch gesture is implemented systematically to complete the corresponding function, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame.
  • the embodiment of the present invention determines the corresponding function interface and the corresponding control command from the two dimensions of the touch area and the touch gesture, thereby enhancing the user experience.
  • FIG. 1 is a flow chart of a first embodiment of a touch method provided by the present invention
  • FIG. 2 is a flow chart of a second embodiment of the touch method provided by the present invention.
  • FIG. 3 is a flow chart of a third embodiment of the touch method provided by the present invention.
  • FIG. 4 is a flow chart of a fourth embodiment of the touch method provided by the present invention.
  • FIG. 5 is a flowchart of a fifth embodiment of a touch method according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to the present invention.
  • FIG. 1 is a flow chart of a first embodiment of a touch method according to the present invention. As shown in FIG. 1, the method includes:
  • step S1 the touch gesture corresponding to the physical button of the terminal is sensed in the touch area of the terminal frame.
  • the border portion of the terminal is provided with one or more physical buttons, such as a power-off button, a lock screen button, a volume increase/decrease button, and a camera button.
  • a power-off button such as a power-off button, a lock screen button, a volume increase/decrease button, and a camera button.
  • the shutdown key N1 and the lock screen key N2 of the mobile phone are all set on the upper border
  • the volume increase/decrease key N3 is set on the right border
  • the photographing key N4 is set on the left border.
  • the function interface of the mobile phone shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the camera button N4 is obtained. It is easily understood by those skilled in the art that the function interface refers to a call interface left by the mobile phone operating system to the function button.
  • the function button causes the operating system to execute the control command of the function by calling the function interface of the operating system. Therefore, before this step, it is necessary to obtain the shutdown interface of the shutdown key N1, the lock screen interface of the lock screen key N2, the volume increase/decrease interface of the volume increase/decrease key N3, and the shutter interface of the photographing key N4.
  • buttons of the mobile phone are simultaneously pressed to implement a corresponding function, for example, a screen capture function is triggered when the lock button N2 and the camera button N4 are simultaneously pressed. Therefore, at the same time, the lock screen interface N2 lock screen interface and the camera button N4 shutter interface are obtained, and the screen capture interface can be synthesized according to the control commands of the two interfaces.
  • buttons of the mobile phone are pressed in a certain order to implement a corresponding function, for example, a screen capture function is triggered when the lock screen button N2 and the camera button N4 are respectively pressed in one second, respectively. . Therefore, the lock screen key N2 lock screen interface is first acquired, and then the shutter interface of the photographing key N4 is detected in a time of one second, and if so, the screen capture interface is synthesized according to the control commands of the two interfaces.
  • the touch area is divided along the border of the terminal, and corresponding touch gestures are set in the touch area.
  • the mobile phone has four function interfaces: a key switch N1, a lock screen key N2, a volume increase/decrease key N3, and a camera key N4. Therefore, the touch area can be divided along the border of the mobile phone, and the following manners can be used:
  • the frame A, the frame B, the frame C, and the frame D can be respectively set.
  • one or more borders are selected in the border A, the border B, the border C, and the border D, and the selected border is divided into one or more segments, according to the shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the photograph.
  • the four function interfaces of the key N4 can be respectively set in the specified segments of the frame A, the frame B, the frame C, and the frame D.
  • the touch area is divided, for example, the touch area is divided in the above manner, and then the corresponding touch gesture is set in the touch area.
  • the touch area is divided in the above manner, and then the corresponding touch gesture is set in the touch area.
  • the second mode at least two of the same touch gestures are set on the border A, the border B, the border C, and the frame D. Since the same touch gesture is in different touch regions, different touches may also be used.
  • the touch gesture of the area identifies the corresponding function interface.
  • Step S2 responding to the terminal control command corresponding to the physical button according to the touch gesture.
  • the shutdown button N1 the lock screen button N2, the volume increase and decrease button N3, and the camera
  • the four function interfaces of the key N4 are associated with the corresponding touch gestures, and then respond to the corresponding mobile phone control commands according to the touch area of the touch gesture and the type of the touch gesture.
  • the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and the touch gesture are associated, and according to the touch
  • the control gesture responds to the terminal control command corresponding to the function interface.
  • the function of replacing the physical button with the touch gesture is completed, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame.
  • the embodiment of the present invention further implements determining, by using two dimensions of the touch area and the touch gesture, a corresponding function interface and issuing a corresponding control command.
  • FIG. 2 is a flow chart of a second embodiment of the touch control method according to the present invention.
  • Also includes:
  • Step S01 Acquire a function interface corresponding to a physical button of the terminal. This step is as described in the above example and will not be described here.
  • Step S02 extracting a terminal control command corresponding to the function interface.
  • a specific function interface is used to send a specific terminal control command.
  • different function interfaces may also send corresponding terminal control commands according to a combined situation.
  • different functional interfaces may also be combined according to the combination.
  • the corresponding terminal control commands are transmitted by factors such as the combined situation at the same time and the sequential combination of situations. Therefore, in this embodiment, before the touch area corresponding to the physical button of the terminal of the terminal frame is touched, the terminal control command corresponding to the function interface is extracted, and the category of the terminal control command is divided, and the category can be controlled according to the control.
  • Object division, or division according to the combination order of function interfaces, etc. it can be understood that by dividing the category of the terminal control command and setting the touch area corresponding to the terminal control command of the same category, the touch operation is more in line with the user. Use habits to enhance the user experience.
  • the terminal control command corresponding to the function interface is extracted, so that different function interfaces can send corresponding terminal control commands according to the corresponding button or combined button.
  • the touch operation is more in line with the user's usage habits, and the user experience is enhanced.
  • FIG. 3 is a flow chart of a third embodiment of the touch method provided by the present invention, as shown in FIG.
  • the touch area is divided along the frame of the terminal, and the touch gesture is defined in the touch area, including:
  • step S21 the trigger data of the physical button is recorded in the preset time period.
  • the trigger data includes a trigger scene and a trigger frequency.
  • the trigger data of the physical button is counted, the trigger scene of the single physical button and the trigger frequency are acquired, and the scene, the order and the frequency with which the plurality of physical buttons are used together are acquired.
  • the trigger scenario mentioned in this embodiment refers to a scenario of a current operating system, for example, a display interface of an current operating system, an interactive operation interface, and the like.
  • Step S22 dividing the touch area by analyzing the trigger data and the frame structure of the terminal.
  • the trigger data of the four physical buttons of the shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the camera button N4 are analyzed.
  • the trigger scene and the trigger frequency of each physical button are acquired and analyzed.
  • the trigger scene and the trigger frequency of the physical button when combined are acquired and analyzed.
  • the data of the above analysis is sorted, for example, by the frequency of use of physical buttons or by the order of relevance of the physical buttons.
  • the dividing manner may be according to the frequency of use, the larger the touch area of the divided border, or the touch area of the divided border is closer to the range of the most easily pressed by the user's finger,
  • the border of the terminal referred to in the present invention may be a touch panel area near the edge of the screen in the screen, or an area of the terminal frame structure near the edge of the screen. It can be understood that when adopting the latter scheme, A corresponding touch sensor is provided in the area.
  • a touch gesture database is established.
  • the touch gesture database stores the touch gesture, and the stored touch gesture is divided according to the gesture type.
  • Step S24 In the touch gesture database, select a touch gesture corresponding to the physical range according to the physical range of the touch area.
  • analyzing the physical range of the divided touch area if the physical range is small, selecting a touch gesture of long pressing or double clicking, if the physical range is large, you may choose to drag or drop or Sliding touch gestures.
  • Step S25 the touch area and the selected touch gesture are associated.
  • the association relationship between the touch area and the selected touch gesture is established, that is, the same touch gesture corresponds to different terminal control commands in different touch areas.
  • the trigger data of the physical button is recorded in a preset time period, and the touch area is divided by analyzing the trigger data and the frame structure of the terminal, so that the division of the touch area is more in line with the user's usage habits. Then, by setting a touch gesture database and selecting a touch gesture corresponding to the physical range according to the physical range of the touch area, the setting of the touch gesture is more clear, and according to the touch gesture associated with the touch area, It enables more terminal control commands to be implemented with fewer touch gestures.
  • FIG. 4 is a flowchart of a fourth embodiment of the touch control method according to the present invention. As shown in FIG. 4, based on the above embodiment, the associated function interface and the touch gesture are corresponding to the touch interface response and the function interface. After the terminal control command, it also includes:
  • step S26 a control status area is set in the screen display range of the terminal.
  • the control status area in this step can be set in the touch screen, such as a free area of the status bar, and the control status area can also be set to a translucent state.
  • the execution state of the terminal control command is displayed by the control status area, and the execution status includes information such as transmission of the terminal control command, whether it is executed, or the like.
  • FIG. 5 is a flowchart of a fifth embodiment of the touch control method according to the present invention. As shown in FIG. 5, based on the above embodiment, the function interface and the touch gesture are associated, and the terminal corresponding to the function interface is responded according to the touch gesture. Control commands also include:
  • step S31 it is determined whether a touch gesture is sensed in the touch area.
  • the touch gestures are respectively detected in the respective touch areas. If two touch gestures in a certain order are detected within a preset short time (for example, within one second), whether the two touch gesture combinations are matched by the query matching The corresponding function interface. If so, the composition acts as a functional interface, otherwise it acts as two functional interfaces.
  • Step S32 Acquire a function interface associated with the touch gesture when the touch gesture is sensed.
  • the touch area that senses the touch gesture is analyzed, and then the function interface associated with the touch gesture is acquired in the touch area.
  • Step S33 acquiring a terminal control command corresponding thereto according to the function interface.
  • the function interface may correspond to the terminal control command separately, or may be combined with the plurality of function interfaces, or corresponding to the terminal control commands in order.
  • Step S34 displaying a control command character corresponding to the terminal control command in the control status area.
  • the command symbol for shutdown is displayed.
  • the command character here can also be a visual command icon.
  • step S35 it is judged whether the terminal control command is executed.
  • the display control command character is maintained during execution of the terminal control command.
  • step S36 if the terminal control command is executed, the control status area is released or hidden. It will be appreciated that the control status zone can also be translucent.
  • the control operation of the user is more clear and the identifiability is higher, and at the same time, determining whether the terminal control command is executed is completed. If the terminal control command is executed, the control status area is released or hidden, which saves the use space of the screen and improves the screen usage rate.
  • FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to the present invention. As shown in FIG. 6 , the device includes at least a touch gesture sensing module 150 and a processing module 401.
  • the touch gesture sensing module 150 is configured to sense a touch gesture corresponding to the physical button of the terminal in the touch area of the terminal frame;
  • the processing module 401 is configured to respond to the terminal control command corresponding to the physical button according to the touch gesture.
  • the device may include at least: a touch area dividing module 20, a touch gesture setting module 30, and a processing module 402;
  • the touch area dividing module 20 is configured to divide the touch area along the border of the terminal;
  • the touch gesture setting module 30 is configured to set a corresponding touch gesture in the touch area
  • the processing module 402 is configured to associate the function interface with the touch gesture, and respond to the terminal control command corresponding to the function interface according to the touch gesture.
  • the device further includes a function interface acquiring module 10 and a terminal control command extracting module 50, wherein
  • the function interface obtaining module 10 is configured to acquire a function interface corresponding to a physical button of the terminal;
  • the terminal control command extraction module 50 is configured to extract a terminal control command corresponding to the function interface.
  • the device further includes a trigger data recording module 60 configured to record trigger data of the physical button within a preset time period, wherein the trigger data includes a trigger scene and a trigger frequency;
  • the touch area dividing module 20 is further configured to divide the touch area by analyzing the trigger data and the frame structure of the terminal;
  • the device further includes a gesture database establishing module 70, configured to establish a touch gesture database;
  • the device further includes a touch gesture selection module 80 configured to select a touch gesture corresponding to the physical range according to the physical range of the touch area in the gesture database;
  • the processing module 40 is further configured to associate the touch area with the selected touch gesture.
  • the device further includes a control status area setting module 90, configured to set a control status area within the screen display range of the terminal;
  • the device further includes a touch gesture determination module 100 configured to determine whether a touch gesture is sensed in the touch area;
  • the function interface acquiring module 10 is further configured to acquire a function interface associated with the touch gesture when the touch gesture is sensed;
  • the device further includes a terminal control command obtaining module 110, configured to acquire a terminal control command corresponding thereto according to the function interface;
  • the control command module 120 is configured to display a control command character corresponding to the terminal control command in the control status area;
  • the control command character determining module 130 is configured to determine whether the terminal control command is executed
  • the control status area processing module 140 is configured to release or hide the control status area if the terminal control command is executed.
  • the touch device can be used in a mobile phone or other communication terminal having a touch function, such as a touch smart phone, etc., and can be a software unit running in the communication terminal, or can be used as a Independent pendants are integrated into these communication terminals or run in the application systems of these mobile terminals.
  • the embodiment of the present invention further provides a touch terminal, and the touch terminal includes at least the touch device provided by the embodiment of the present invention.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the touch method in the embodiment of the present invention.
  • the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and touch are associated.
  • the gesture is controlled, and the terminal control command corresponding to the function interface is responded according to the touch gesture.
  • the system implements the function of replacing the physical button with the touch gesture to complete the corresponding function.
  • the function corresponding to the touch gesture is more clear by dividing the different touch regions on the terminal frame.
  • the present invention can also be implemented from the touch region.
  • the two dimensions of the touch gesture determine the corresponding function interface and issue corresponding control commands to enhance the user experience.
  • the touch method, the touch device, the touch terminal, and the computer readable storage medium provided by the embodiments of the present invention.
  • the method includes: sensing a touch gesture corresponding to a physical button of the terminal in a touch area of the terminal frame; and responding to the terminal control command corresponding to the physical button according to the touch gesture.
  • the embodiment of the present invention implements the function of replacing the physical button with the touch gesture to complete the corresponding function, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame.
  • the embodiment of the invention further realizes that the corresponding function interface is obtained from two dimensions of the touch area and the touch gesture, and corresponding control commands are issued, thereby enhancing the user experience.

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)

Abstract

A touch control method, a touch control device, a touch control terminal and a computer readable storage medium. The method comprises: sensing a touch control gesture corresponding to a physical key of a terminal in a touch control region of a terminal edge frame; and responding to a terminal control command corresponding to the physical key according to the touch control gesture.

Description

触控方法、触控装置、触控终端及计算机可读存储介质Touch method, touch device, touch terminal and computer readable storage medium 技术领域Technical field
本发明实施例涉及屏幕触控技术,尤其涉及一种触控方法、触控装置、触控终端及计算机可读存储介质。The present invention relates to a touch screen technology, and more particularly to a touch method, a touch device, a touch terminal, and a computer readable storage medium.
背景技术Background technique
在现有技术中,为了美观的需求,通常会将移动终端的屏幕边框做得比较窄,同时,移动终端的屏幕尺寸也在向大的趋势发展,在这种情况下,用户在使用移动终端的过程中,可能会有以下不便之处:In the prior art, for the aesthetic needs, the screen frame of the mobile terminal is generally narrowed, and at the same time, the screen size of the mobile terminal is also developing toward a large trend. In this case, the user is using the mobile terminal. In the process, there may be the following inconveniences:
一方面,如果终端屏幕的左右边框比较窄,当用户手握终端进行相应的操作时,手掌容易误触侧边框的屏幕,从而导致误触现象的发生;如果终端屏幕上下两边的顶底部边框比较窄,当用户在接听电话时,头部部位容易误触屏幕,从而导致误触现象的发生;如果下边框过窄,用户在握持终端操作点击屏幕下端按键的过程中,容易使得终端的重心不稳,从而造成终端从手中滑落的危险。On the one hand, if the left and right borders of the terminal screen are relatively narrow, when the user holds the terminal to perform corresponding operations, the palm of the hand may easily touch the screen of the side frame, thereby causing a false touch phenomenon; if the top and bottom borders of the upper and lower sides of the terminal screen are compared Narrow, when the user answers the phone, the head part is easy to accidentally touch the screen, which leads to the occurrence of false touch; if the lower frame is too narrow, the user may easily make the center of gravity of the terminal not in the process of holding the terminal to operate the button at the bottom of the screen. Stable, resulting in the danger of the terminal slipping from the hand.
另一方面,通常,终端的物理按键设置在终端的左右两侧的边框,或者上下两侧的边框。在这两种情况下,由于物理按键需要做得突出于机身,同时,物理按键还需要设置一定的按键键程,因此,这些物理按键也会影响到终端窄边框的视觉效果以及体验效果。On the other hand, usually, the physical buttons of the terminal are arranged on the left and right sides of the terminal, or the borders on the upper and lower sides. In both cases, since the physical buttons need to be made to protrude from the body, at the same time, the physical buttons also need to set a certain keystrokes. Therefore, these physical buttons also affect the visual effect and experience of the narrow border of the terminal.
目前,现有的触控手势操作局限性较大,在有些应用程序的界面内并不能很好替代物理按键的功能,使用对终端屏幕的规则较为复杂,局限性较大。同时,现有的触控手势通常定义在全屏幕,因此,当功能较多时,需要为此划分较多的触控手势,从而增强了用户的使用难度,降低了用户体验。At present, the existing touch gesture operation has a large limitation, and the function of the physical button is not well replaced in the interface of some applications, and the rules for using the screen of the terminal are complicated and have limited limitations. At the same time, the existing touch gestures are usually defined on the full screen. Therefore, when there are many functions, more touch gestures need to be divided for this purpose, thereby enhancing the user's use difficulty and reducing the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明的目的在于提供一种触控方法、触控装置、触控终端及计算机可读存储介质,能够使得触控手势所对应的功能更加明确,并增强用户体验。 An object of the present invention is to provide a touch method, a touch device, a touch terminal, and a computer readable storage medium, which can make the functions corresponding to the touch gesture more clear and enhance the user experience.
第一方面,本发明实施例提供一种触控方法,该方法包括:在终端边框的触控区感测终端的物理按键所对应的触控手势;In a first aspect, the embodiment of the present invention provides a touch control method, which includes: sensing a touch gesture corresponding to a physical button of a terminal in a touch area of a terminal frame;
根据感测到的触控手势响应与物理按键对应的终端控制命令。Responding to the terminal control command corresponding to the physical button according to the sensed touch gesture.
在本发明的一种实施例中,所述在终端边框的触控区感测终端的物理按键所对应的触控手势之前,还包括:In an embodiment of the present invention, before the touch area corresponding to the physical button of the terminal is touched by the touch area of the terminal frame, the method further includes:
获取所述终端的物理按键所对应的功能接口;Obtaining a function interface corresponding to the physical button of the terminal;
提取与获得的功能接口对应的所述终端控制命令。Extracting the terminal control command corresponding to the obtained function interface.
在本发明的一种实施例中,所述在终端边框的触控区感测终端的物理按键所对应的触控手势之前,还包括:In an embodiment of the present invention, before the touch area corresponding to the physical button of the terminal is touched by the touch area of the terminal frame, the method further includes:
在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;Recording trigger data of the physical button in a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
通过分析记录的触发数据以及所述终端的边框结构划分所述触控区域;Dividing the touch area by analyzing the recorded trigger data and the frame structure of the terminal;
建立触控手势数据库;Establish a touch gesture database;
在建立的触控手势数据库内,根据所述触控区的物理范围选取与所述物理范围相应的触控手势;Selecting, according to the physical range of the touch area, a touch gesture corresponding to the physical range in the established touch gesture database;
关联所述触控区与所述选取的触控手势。Associating the touch area with the selected touch gesture.
在本发明的一种实施例中,所述在终端边框的触控区感测所述终端的物理按键所对应的触控手势之前,还包括:In an embodiment of the present invention, before the touch area of the terminal frame senses the touch gesture corresponding to the physical button of the terminal, the method further includes:
在所述终端的屏显范围内设置控制状态区。A control status area is set within the screen display range of the terminal.
在本发明的一种实施例中,所述根据所述触控手势响应与物理按键对应的终端控制命令之后,还包括:In an embodiment of the present invention, after the responding gesture responds to the terminal control command corresponding to the physical button, the method further includes:
判断所述触控区内是否感测到所述触控手势;Determining whether the touch gesture is sensed in the touch area;
当感测到触控手势时,获取与所述触控手势相关联的所述功能接口;Obtaining the function interface associated with the touch gesture when a touch gesture is sensed;
根据所述功能接口获取与之对应的所述终端控制命令;Obtaining, according to the function interface, the terminal control command corresponding thereto;
在所述控制状态区显示与所述终端控制命令相对应的控制命令符;Displaying, in the control status area, a control command character corresponding to the terminal control command;
判断出所述终端控制命令执行完毕,解除或者隐藏所述控制状态区。 It is determined that the execution of the terminal control command is completed, and the control status area is released or hidden.
第二方面,本发明实施例提供一种触控方法,该方法包括:沿终端的边框划分触控区域;In a second aspect, the embodiment of the present invention provides a touch method, which includes: dividing a touch area along a frame of a terminal;
在触控区域内设置相应的触控手势;Setting a corresponding touch gesture in the touch area;
关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。The function interface and the touch gesture are associated, and the terminal control command corresponding to the function interface is responded according to the touch gesture.
在本发明的一种实施例中,所述在触控区域内设置相应的触控手势之前,还包括:In an embodiment of the present invention, before the setting the corresponding touch gesture in the touch area, the method further includes:
获取所述终端的物理按键所对应的功能接口;Obtaining a function interface corresponding to the physical button of the terminal;
提取与获得的功能接口对应的所述终端控制命令。Extracting the terminal control command corresponding to the obtained function interface.
在本发明的一种实施例中,所述在触控区域内设置相应的触控手势之前,还包括:In an embodiment of the present invention, before the setting the corresponding touch gesture in the touch area, the method further includes:
在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;Recording trigger data of the physical button in a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
通过分析记录的触发数据以及所述终端的边框结构划分所述触控区域;Dividing the touch area by analyzing the recorded trigger data and the frame structure of the terminal;
建立触控手势数据库;Establish a touch gesture database;
在建立的触控手势数据库内,根据所述触控区的物理范围选取与所述物理范围相应的触控手势;Selecting, according to the physical range of the touch area, a touch gesture corresponding to the physical range in the established touch gesture database;
关联所述触控区与所述选取的触控手势。Associating the touch area with the selected touch gesture.
在本发明的一种实施例中,所述在触控区域内设置相应的触控手势之前,还包括:In an embodiment of the present invention, before the setting the corresponding touch gesture in the touch area, the method further includes:
在所述终端的屏显范围内设置控制状态区。A control status area is set within the screen display range of the terminal.
在本发明的一种实施例中,所述根据所述触控手势响应与物理按键对应的终端控制命令之后,还包括:In an embodiment of the present invention, after the responding gesture responds to the terminal control command corresponding to the physical button, the method further includes:
判断所述触控区内是否感测到所述触控手势;Determining whether the touch gesture is sensed in the touch area;
当感测到触控手势时,获取与所述触控手势相关联的所述功能接口;Obtaining the function interface associated with the touch gesture when a touch gesture is sensed;
根据所述功能接口获取与之对应的所述终端控制命令; Obtaining, according to the function interface, the terminal control command corresponding thereto;
在所述控制状态区显示与所述终端控制命令相对应的控制命令符;Displaying, in the control status area, a control command character corresponding to the terminal control command;
判断出所述终端控制命令执行完毕,解除或者隐藏所述控制状态区。It is determined that the execution of the terminal control command is completed, and the control status area is released or hidden.
第三方面,本发明实施例提供一种触控装置,至少包括:触控手势感测模块,以及处理模块;其中,A third aspect of the present invention provides a touch device, including at least a touch gesture sensing module, and a processing module;
触控手势感测模块,设置为在终端边框的触控区感测所述终端的物理按键所对应的触控手势;The touch gesture sensing module is configured to sense a touch gesture corresponding to the physical button of the terminal in the touch area of the terminal frame;
处理模块,设置为根据所述触控手势响应与所述物理按键对应的终端控制命令。The processing module is configured to respond to the terminal control command corresponding to the physical button according to the touch gesture.
在本发明的一种实施例中,还包括功能接口获取模块,和终端控制命令提取模块,其中,In an embodiment of the present invention, the method further includes a function interface acquiring module, and a terminal control command extracting module, where
功能接口获取模块,设置为获取终端的物理按键所对应的功能接口;The function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
终端控制命令提取模块,设置为提取与所述功能接口对应的所述终端控制命令。The terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
在本发明的一种实施例中,还包括触发数据记录模块,设置为在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;In an embodiment of the present invention, the method further includes a trigger data recording module, configured to record trigger data of the physical button within a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
所述触控区域划分模块,还设置为通过分析所述触发数据以及所述终端的边框结构划分所述触控区域;The touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
还包括:手势数据库建立模块,设置为建立触控手势数据库;以及,触控手势选取模块,设置为在所述手势数据库内,根据所述触控区域的物理范围选取与所述物理范围相应的触控手势;The method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
所述处理模块,还设置为关联所述触控区域与所述选取的触控手势。The processing module is further configured to associate the touch area with the selected touch gesture.
在本发明的一种实施例中,还包括控制状态区设置模块,设置为在所述终端的屏显范围内设置控制状态区;以及,触控手势判断模块,设置为判断所述触控区域内是否感测到所述触控手势;In an embodiment of the present invention, the control status area setting module is further configured to set a control status area in a screen display range of the terminal; and the touch gesture determination module is configured to determine the touch area. Whether the touch gesture is sensed within the touch gesture;
所述功能接口获取模块,还设置为当感测到所述触控手势时,获取与所述触控手势相关联的所述功能接口; The function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
还包括:终端控制命令获取模块,设置为根据所述功能接口获取与之对应的所述终端控制命令;控制命令符模块,设置为在所述控制状态区显示与所述终端控制命令相对应的控制命令符;控制命令符判断模块,设置为判断所述终端控制命令是否执行完毕;以及,控制状态区处理模块,设置为若所述终端控制命令执行完毕,则解除或者隐藏所述控制状态区。The method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
第四方面、本发明实施例提供一种触控装置,至少包括:触控区域划分模块、触控手势设置模块,以及处理模块;其中,A fourth aspect of the present invention provides a touch device, including at least a touch area division module, a touch gesture setting module, and a processing module;
触控区域划分模块,设置为沿终端的边框划分触控区域;The touch area dividing module is configured to divide the touch area along the border of the terminal;
触控手势设置模块,设置为在触控区域内设置相应的触控手势;The touch gesture setting module is configured to set a corresponding touch gesture in the touch area;
处理模块,设置为关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。The processing module is configured to associate the function interface with the touch gesture, and respond to the terminal control command corresponding to the function interface according to the touch gesture.
在本发明的一种实施例中,还包括功能接口获取模块,和终端控制命令提取模块,其中,In an embodiment of the present invention, the method further includes a function interface acquiring module, and a terminal control command extracting module, where
功能接口获取模块,设置为获取终端的物理按键所对应的功能接口;The function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
终端控制命令提取模块,设置为提取与所述功能接口对应的所述终端控制命令。The terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
在本发明的一种实施例中,还包括触发数据记录模块,设置为在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;In an embodiment of the present invention, the method further includes a trigger data recording module, configured to record trigger data of the physical button within a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
所述触控区域划分模块,还设置为通过分析所述触发数据以及所述终端的边框结构划分所述触控区域;The touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
还包括:手势数据库建立模块,设置为建立触控手势数据库;以及,触控手势选取模块,设置为在所述手势数据库内,根据所述触控区域的物理范围选取与所述物理范围相应的触控手势;The method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
所述处理模块,还设置为关联所述触控区域与所述选取的触控手势。The processing module is further configured to associate the touch area with the selected touch gesture.
在本发明的一种实施例中,还包括控制状态区设置模块,设置为在所述终端的屏显范围内设置控制状态区;以及,触控手势判断模块,设置为判断所述触控区域内是否感测到所述触控手势; In an embodiment of the present invention, the control status area setting module is further configured to set a control status area in a screen display range of the terminal; and the touch gesture determination module is configured to determine the touch area. Whether the touch gesture is sensed within the touch gesture;
所述功能接口获取模块,还设置为当感测到所述触控手势时,获取与所述触控手势相关联的所述功能接口;The function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
还包括:终端控制命令获取模块,设置为根据所述功能接口获取与之对应的所述终端控制命令;控制命令符模块,设置为在所述控制状态区显示与所述终端控制命令相对应的控制命令符;控制命令符判断模块,设置为判断所述终端控制命令是否执行完毕;以及,控制状态区处理模块,设置为若所述终端控制命令执行完毕,则解除或者隐藏所述控制状态区。The method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
第五方面,本发明实施例提供一种触控终端,包括权利要求上述的触控装置。In a fifth aspect, an embodiment of the present invention provides a touch terminal, including the touch device described above.
第六方面,本发明实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行下面的一种触控方法,所述方法包括:In a sixth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to execute a touch method, where the method includes :
在终端边框的触控区感测终端的物理按键所对应的触控手势;The touch gesture corresponding to the physical button of the terminal is sensed in the touch area of the terminal frame;
根据感测到的触控手势响应与物理按键对应的终端控制命令。Responding to the terminal control command corresponding to the physical button according to the sensed touch gesture.
本发明实施例通过获取终端的物理按键所对应的功能接口,沿终端的边框划分触控区域,并在触控区域内设置相应的触控手势,然后关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。系统地实现了以触控手势替代物理按键完成相应的功能,通过在终端边框划分不同的触控区域,使得触控手势所对应的功能更加明确。同时,本发明实施例从触控区域和触控手势两个维度判断获取相应的功能接口以及发出相应的控制命令,增强了用户体验。In the embodiment of the present invention, the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and the touch gesture are associated, and according to the touch The control gesture responds to the terminal control command corresponding to the function interface. The function of replacing the physical button with the touch gesture is implemented systematically to complete the corresponding function, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame. In the meantime, the embodiment of the present invention determines the corresponding function interface and the corresponding control command from the two dimensions of the touch area and the touch gesture, thereby enhancing the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是本发明提出的触控方法的第一实施例的流程图; 1 is a flow chart of a first embodiment of a touch method provided by the present invention;
图2是本发明提出的触控方法的第二实施例的流程图;2 is a flow chart of a second embodiment of the touch method provided by the present invention;
图3是本发明提出的触控方法的第三实施例的流程图;3 is a flow chart of a third embodiment of the touch method provided by the present invention;
图4是本发明提出的触控方法的第四实施例的流程图;4 is a flow chart of a fourth embodiment of the touch method provided by the present invention;
图5是本发明提出的触控方法的第五实施例的流程图;FIG. 5 is a flowchart of a fifth embodiment of a touch method according to the present invention; FIG.
图6是本发明提出的触控装置的实施例的组成结构示意图。FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The invention will be described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in order to make the present invention. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1是本发明提出的触控方法的第一实施例的流程图,如图1所示,该方法包括:1 is a flow chart of a first embodiment of a touch method according to the present invention. As shown in FIG. 1, the method includes:
步骤S1,在终端边框的触控区感测终端的物理按键所对应的触控手势。In step S1, the touch gesture corresponding to the physical button of the terminal is sensed in the touch area of the terminal frame.
通常而言,终端的边框部位设置有一个或者多个物理按键,比如关机键、锁屏键、音量增减键以及拍照键等。以手机为例,并假设该手机的关机键N1、锁屏键N2均设置在上边框,音量增减键N3设置在右边框,拍照键N4设置在左边框。首先,获取该手机关机键N1、锁屏键N2、音量增减键N3以及拍照键N4的功能接口,本领域技术人员容易理解,该功能接口是指手机操作系统留给功能按键的一个调用接口,功能按键通过调用操作系统的功能接口而使操作系统去执行该功能的控制命令。因此,本步骤之前需要获取关机键N1的关机接口、锁屏键N2的锁屏接口、音量增减键N3的音量增减接口以及拍照键N4的快门接口。Generally speaking, the border portion of the terminal is provided with one or more physical buttons, such as a power-off button, a lock screen button, a volume increase/decrease button, and a camera button. Taking the mobile phone as an example, it is assumed that the shutdown key N1 and the lock screen key N2 of the mobile phone are all set on the upper border, the volume increase/decrease key N3 is set on the right border, and the photographing key N4 is set on the left border. First, the function interface of the mobile phone shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the camera button N4 is obtained. It is easily understood by those skilled in the art that the function interface refers to a call interface left by the mobile phone operating system to the function button. The function button causes the operating system to execute the control command of the function by calling the function interface of the operating system. Therefore, before this step, it is necessary to obtain the shutdown interface of the shutdown key N1, the lock screen interface of the lock screen key N2, the volume increase/decrease interface of the volume increase/decrease key N3, and the shutter interface of the photographing key N4.
进一步地,该手机的两个或两个以上的物理按键同时按下以实现相应的功能,例如采用锁屏键N2与拍照键N4同时按下时触发的是截屏功能。因此, 同时获取锁屏键N2锁屏接口与拍照键N4的快门接口,根据两者接口的控制命令合成截屏接口即可。Further, two or more physical buttons of the mobile phone are simultaneously pressed to implement a corresponding function, for example, a screen capture function is triggered when the lock button N2 and the camera button N4 are simultaneously pressed. Therefore, At the same time, the lock screen interface N2 lock screen interface and the camera button N4 shutter interface are obtained, and the screen capture interface can be synthesized according to the control commands of the two interfaces.
进一步地,该手机的两个或两个以上的物理按键按一定次序按下以实现相应的功能,例如采用锁屏键N2与拍照键N4分别在如一秒内先后按下时触发的是截屏功能。因此,则首先获取锁屏键N2锁屏接口,然后在如一秒的时间内检测是否获取到拍照键N4的快门接口,若是,则根据两者接口的控制命令合成截屏接口。Further, two or more physical buttons of the mobile phone are pressed in a certain order to implement a corresponding function, for example, a screen capture function is triggered when the lock screen button N2 and the camera button N4 are respectively pressed in one second, respectively. . Therefore, the lock screen key N2 lock screen interface is first acquired, and then the shutter interface of the photographing key N4 is detected in a time of one second, and if so, the screen capture interface is synthesized according to the control commands of the two interfaces.
进一步地,沿终端的边框划分触控区域,并在触控区域内设置相应的触控手势。Further, the touch area is divided along the border of the terminal, and corresponding touch gestures are set in the touch area.
如上例所述,首先,假设该手机的上下左右四个边框分别为边框A、边框B边框C以及边框D。由上例可知,该手机有关机键N1、锁屏键N2、音量增减键N3以及拍照键N4四个功能接口,因此,沿该手机的边框划分触控区域,可以有如下几种方式:As described in the above example, first, assume that the top, bottom, left, and right borders of the mobile phone are the frame A, the frame B border C, and the frame D, respectively. As can be seen from the above example, the mobile phone has four function interfaces: a key switch N1, a lock screen key N2, a volume increase/decrease key N3, and a camera key N4. Therefore, the touch area can be divided along the border of the mobile phone, and the following manners can be used:
方式一,根据关机键N1、锁屏键N2、音量增减键N3以及拍照键N4四个功能接口,可以分别设置在边框A、边框B、边框C以及边框D。In the first manner, according to the four function interfaces of the shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the camera button N4, the frame A, the frame B, the frame C, and the frame D can be respectively set.
方式二,在边框A、边框B、边框C以及边框D中选择一个或多个边框,划分已选择的边框为一段或多段,根据关机键N1、锁屏键N2、音量增减键N3以及拍照键N4四个功能接口,可以分别设置在边框A、边框B、边框C以及边框D的指定段内。In the second mode, one or more borders are selected in the border A, the border B, the border C, and the border D, and the selected border is divided into one or more segments, according to the shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the photograph. The four function interfaces of the key N4 can be respectively set in the specified segments of the frame A, the frame B, the frame C, and the frame D.
当完成触控区域的划分,例如按上述方式一划分的触控区域,再在触控区域内设置相应的触控手势。可以有如下几种设置方式:After the touch area is divided, for example, the touch area is divided in the above manner, and then the corresponding touch gesture is set in the touch area. There are several ways to set it up:
方式一,分别在边框A、边框B、边框C以及边框D设置不同的触控手势,其中,触控手势包括点击、长按、快速滑动或滑动、拖动、轻拂、按住并轻拂、靠拢以及展开等。In the first manner, different touch gestures are set on the border A, the border B, the border C, and the border D, wherein the touch gesture includes clicking, long pressing, fast sliding or sliding, dragging, flicking, pressing, and flicking. , close and expand.
方式二,分别在边框A、边框B、边框C以及边框D设置至少有两个是相同的触控手势,由于相同的触控手势处于不同的触控区域,因此,也可以根据不同的触控区域的触控手势识别出相应的功能接口。In the second mode, at least two of the same touch gestures are set on the border A, the border B, the border C, and the frame D. Since the same touch gesture is in different touch regions, different touches may also be used. The touch gesture of the area identifies the corresponding function interface.
步骤S2,根据触控手势响应与物理按键对应的终端控制命令。Step S2, responding to the terminal control command corresponding to the physical button according to the touch gesture.
如上例所述,首先,将关机键N1、锁屏键N2、音量增减键N3以及拍照 键N4四个功能接口与相应的触控手势关联,然后,根据触控手势的触控区域以及触控手势的类型响应相应的手机控制命令。As described in the above example, first, the shutdown button N1, the lock screen button N2, the volume increase and decrease button N3, and the camera The four function interfaces of the key N4 are associated with the corresponding touch gestures, and then respond to the corresponding mobile phone control commands according to the touch area of the touch gesture and the type of the touch gesture.
本发明实施例通过获取终端的物理按键所对应的功能接口,沿终端的边框划分触控区域,并在触控区域内设置相应的触控手势,然后关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。实现了以触控手势替代物理按键完成相应的功能,而且通过在终端边框划分不同的触控区域,使得触控手势所对应的功能更加明确。同时,本发明实施例还实现了从触控区域和触控手势两个维度判断获取相应的功能接口以及发出相应的控制命令。In the embodiment of the present invention, the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and the touch gesture are associated, and according to the touch The control gesture responds to the terminal control command corresponding to the function interface. The function of replacing the physical button with the touch gesture is completed, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame. In the meantime, the embodiment of the present invention further implements determining, by using two dimensions of the touch area and the touch gesture, a corresponding function interface and issuing a corresponding control command.
图2是本发明提出的触控方法的第二实施例的流程图,如图2所示,基于上述实施例,在终端边框的触控区感测终端的物理按键所对应的触控手势之前,还包括:2 is a flow chart of a second embodiment of the touch control method according to the present invention. As shown in FIG. 2, before the touch gesture corresponding to the physical button of the terminal is touched by the touch area of the terminal frame, ,Also includes:
步骤S01,获取终端的物理按键所对应的功能接口。该步骤如上例所述,在此不再赘述。Step S01: Acquire a function interface corresponding to a physical button of the terminal. This step is as described in the above example and will not be described here.
步骤S02,提取与功能接口对应的终端控制命令。Step S02, extracting a terminal control command corresponding to the function interface.
如上例所述,特定的功能接口用来发送特定的终端控制命令,同时,不同的功能接口还可以根据组合的情形来发送相应的终端控制命令,进一步地,不同的功能接口还可以根据组合的时间,例如同一时刻的组合情形和按次序的先后组合情形等因素发送相应的终端控制命令。因此,本实施例是在终端边框的触控区感测终端的物理按键所对应的触控手势之前,提取与功能接口对应的终端控制命令,并划分终端控制命令的类别,该类别可以按照控制对象划分、或者按照功能接口的组合次序划分等等,可以理解,通过划分终端控制命令的类别,并将同一类别的终端控制命令所对应的触控区域邻近设置,使得触控操作更符合用户的使用习惯,增强用户体验。As described in the above example, a specific function interface is used to send a specific terminal control command. At the same time, different function interfaces may also send corresponding terminal control commands according to a combined situation. Further, different functional interfaces may also be combined according to the combination. The corresponding terminal control commands are transmitted by factors such as the combined situation at the same time and the sequential combination of situations. Therefore, in this embodiment, before the touch area corresponding to the physical button of the terminal of the terminal frame is touched, the terminal control command corresponding to the function interface is extracted, and the category of the terminal control command is divided, and the category can be controlled according to the control. Object division, or division according to the combination order of function interfaces, etc., it can be understood that by dividing the category of the terminal control command and setting the touch area corresponding to the terminal control command of the same category, the touch operation is more in line with the user. Use habits to enhance the user experience.
本实施例通过提取与功能接口对应的终端控制命令,使得不同的功能接口可以根据相应的按键或者组合的按键等情形,发送相应的终端控制命令。同时通过划分终端控制命令的类别,使得触控操作更符合用户的使用习惯,增强了用户体验。In this embodiment, the terminal control command corresponding to the function interface is extracted, so that different function interfaces can send corresponding terminal control commands according to the corresponding button or combined button. At the same time, by dividing the categories of terminal control commands, the touch operation is more in line with the user's usage habits, and the user experience is enhanced.
图3是本发明提出的触控方法的第三实施例的流程图,如图3所示,基 于上述实施例,沿所述终端的边框划分触控区域,并在触控区域内定义触控手势包括:3 is a flow chart of a third embodiment of the touch method provided by the present invention, as shown in FIG. In the above embodiment, the touch area is divided along the frame of the terminal, and the touch gesture is defined in the touch area, including:
步骤S21,在预设时间段内记录物理按键的触发数据。其中,触发数据包括触发场景以及触发频率。In step S21, the trigger data of the physical button is recorded in the preset time period. The trigger data includes a trigger scene and a trigger frequency.
由于不同的物理按键所被使用的场景和频率是不同的,同时,多个物理按键被使用的次序和频率也是不同的。因此,本步骤是在一段时间内,统计物理按键的触发数据,获取单个物理按键的触发场景以及触发频率,以及获取多个物理按键被连同使用的场景、次序和频率。可以理解,本实施例所提及的触发场景是指当前操作系统的场景,例如,当前操作系统的显示界面以及交互操作界面等等。Since the scenes and frequencies used by different physical buttons are different, the order and frequency at which multiple physical buttons are used are also different. Therefore, in this step, the trigger data of the physical button is counted, the trigger scene of the single physical button and the trigger frequency are acquired, and the scene, the order and the frequency with which the plurality of physical buttons are used together are acquired. It can be understood that the trigger scenario mentioned in this embodiment refers to a scenario of a current operating system, for example, a display interface of an current operating system, an interactive operation interface, and the like.
步骤S22,通过分析触发数据以及终端的边框结构划分触控区域。Step S22, dividing the touch area by analyzing the trigger data and the frame structure of the terminal.
如实施例一所述,分析关机键N1、锁屏键N2、音量增减键N3以及拍照键N4四个物理按键的触发数据,一方面,获取并分析各物理按键的触发场景以及触发频率,另一方面,获取并分析该物理按键在组合使用时的触发场景以及触发频率。整理上述分析的数据,例如,按物理按键的使用频率排序或者按物理按键的使用先后次序的相关性的高低排序。As described in the first embodiment, the trigger data of the four physical buttons of the shutdown button N1, the lock screen button N2, the volume increase/decrease button N3, and the camera button N4 are analyzed. On the one hand, the trigger scene and the trigger frequency of each physical button are acquired and analyzed. On the other hand, the trigger scene and the trigger frequency of the physical button when combined are acquired and analyzed. The data of the above analysis is sorted, for example, by the frequency of use of physical buttons or by the order of relevance of the physical buttons.
然后,分析该手机的边框结构,根据用户选择或者根据使用场景和使用频率划分该手机的边框。划分的方式可以按照使用的频率越高,划分的边框的触控区域越大,或者使得划分的边框的触控区域更接近用户手指最容易按到的区域范围、Then, analyze the frame structure of the mobile phone, and divide the border of the mobile phone according to the user selection or according to the usage scene and the frequency of use. The dividing manner may be according to the frequency of use, the larger the touch area of the divided border, or the touch area of the divided border is closer to the range of the most easily pressed by the user's finger,
可以理解,本发明所指的终端的边框可以是屏幕内靠近屏幕边缘的触控面板区域,或者是屏幕外靠近屏幕边缘的终端框架结构的区域,可以理解,当采用后者方案时,需要在该区域内设置相应的触感感应器。It can be understood that the border of the terminal referred to in the present invention may be a touch panel area near the edge of the screen in the screen, or an area of the terminal frame structure near the edge of the screen. It can be understood that when adopting the latter scheme, A corresponding touch sensor is provided in the area.
步骤S23,建立触控手势数据库。通过该触控手势数据库存储触控手势,并将存储的触控手势按手势类型进行划分。In step S23, a touch gesture database is established. The touch gesture database stores the touch gesture, and the stored touch gesture is divided according to the gesture type.
步骤S24,在触控手势数据库内,根据触控区域的物理范围选取与物理范围相应的触控手势。Step S24: In the touch gesture database, select a touch gesture corresponding to the physical range according to the physical range of the touch area.
比如,分析上述经划分后的触控区域的物理范围,若该物理范围较小,则选择长按或者双击的触控手势,若该物理范围较大,则可以选择拖拽或者 滑动的触控手势。For example, analyzing the physical range of the divided touch area, if the physical range is small, selecting a touch gesture of long pressing or double clicking, if the physical range is large, you may choose to drag or drop or Sliding touch gestures.
步骤S25,关联触控区域与选取的触控手势。通过本步骤,建立触控区域与选取的触控手势的关联关系,即使得同一触控手势在不同的触控区域对应的是不同的终端控制命令。Step S25, the touch area and the selected touch gesture are associated. Through this step, the association relationship between the touch area and the selected touch gesture is established, that is, the same touch gesture corresponds to different terminal control commands in different touch areas.
本实施例通过在预设时间段内记录物理按键的触发数据,并通过分析触发数据以及终端的边框结构划分触控区域,使得触控区域的划分更符合了用户的使用习惯。然后通过建立触控手势数据库,并根据触控区域的物理范围选取与物理范围相应的触控手势,使得触控手势的设置更为明确,同时,根据与触控区域相关联的触控手势可以使得采用较少的触控手势实现较多的终端控制命令。In this embodiment, the trigger data of the physical button is recorded in a preset time period, and the touch area is divided by analyzing the trigger data and the frame structure of the terminal, so that the division of the touch area is more in line with the user's usage habits. Then, by setting a touch gesture database and selecting a touch gesture corresponding to the physical range according to the physical range of the touch area, the setting of the touch gesture is more clear, and according to the touch gesture associated with the touch area, It enables more terminal control commands to be implemented with fewer touch gestures.
图4是本发明提出的触控方法的第四实施例的流程图,如图4所示,基于上述实施例,关联功能接口与所述触控手势,并根据触控手势响应与功能接口对应的终端控制命令之后还包括:4 is a flowchart of a fourth embodiment of the touch control method according to the present invention. As shown in FIG. 4, based on the above embodiment, the associated function interface and the touch gesture are corresponding to the touch interface response and the function interface. After the terminal control command, it also includes:
步骤S26,在终端的屏显范围内设置控制状态区。In step S26, a control status area is set in the screen display range of the terminal.
本步骤中的控制状态区可以设置在触控屏幕内,例如状态栏的空闲区域,同时,该控制状态区还可以设置为半透明状态。通过该控制状态区显示终端控制命令的执行状态,该执行状态包括终端控制命令的发送、是否被执行等信息。The control status area in this step can be set in the touch screen, such as a free area of the status bar, and the control status area can also be set to a translucent state. The execution state of the terminal control command is displayed by the control status area, and the execution status includes information such as transmission of the terminal control command, whether it is executed, or the like.
图5是本发明提出的触控方法的第五实施例的流程图,如图5所示,基于上述实施例,关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令还包括:FIG. 5 is a flowchart of a fifth embodiment of the touch control method according to the present invention. As shown in FIG. 5, based on the above embodiment, the function interface and the touch gesture are associated, and the terminal corresponding to the function interface is responded according to the touch gesture. Control commands also include:
步骤S31,判断触控区域内是否感测到触控手势。In step S31, it is determined whether a touch gesture is sensed in the touch area.
首先,在各个触控区分别检测触控手势,若在预设的较短时间(例如一秒内)检测到一定次序的两个触控手势,则查询匹配是否有该两个触控手势组合所对应的功能接口。若有,则合成作为一个功能接口,否则分别作为两个功能接口。Firstly, the touch gestures are respectively detected in the respective touch areas. If two touch gestures in a certain order are detected within a preset short time (for example, within one second), whether the two touch gesture combinations are matched by the query matching The corresponding function interface. If so, the composition acts as a functional interface, otherwise it acts as two functional interfaces.
步骤S32,当感测到触控手势时,获取与触控手势相关联的功能接口。Step S32: Acquire a function interface associated with the touch gesture when the touch gesture is sensed.
首先,分析感测到触控手势的触控区域,然后,在该触控区域内获取与该触控手势相关联的功能接口。 First, the touch area that senses the touch gesture is analyzed, and then the function interface associated with the touch gesture is acquired in the touch area.
步骤S33,根据功能接口获取与之对应的终端控制命令。Step S33, acquiring a terminal control command corresponding thereto according to the function interface.
如前文所述,功能接口可以单独对应终端控制命令,也可以连同多个功能接口一起,同时或者按次序对应终端控制命令。As described above, the function interface may correspond to the terminal control command separately, or may be combined with the plurality of function interfaces, or corresponding to the terminal control commands in order.
步骤S34,在控制状态区显示与终端控制命令相对应的控制命令符。Step S34, displaying a control command character corresponding to the terminal control command in the control status area.
例如,当分别为关机键N1、锁屏键N2、音量增减键N3以及拍照键N4四个物理按键设置了相应的触控区域与触控手势时,当侦测到关机的触控手势时,在该控制状态区显示关机的命令符,可以理解,此处的命令符还可以是可视化的命令图标。For example, when the corresponding touch area and the touch gesture are set for the four physical buttons of the shutdown button N1, the lock screen button N2, the volume up/down button N3, and the camera button N4, when the closed touch gesture is detected, In the control status area, the command symbol for shutdown is displayed. It can be understood that the command character here can also be a visual command icon.
步骤S35,判断终端控制命令是否执行完毕。在终端控制命令的执行期间,保持显示控制命令符。In step S35, it is judged whether the terminal control command is executed. The display control command character is maintained during execution of the terminal control command.
步骤S36,若终端控制命令执行完毕,则解除或者隐藏控制状态区。可以理解,还可以半透明化该控制状态区。In step S36, if the terminal control command is executed, the control status area is released or hidden. It will be appreciated that the control status zone can also be translucent.
本实施例通过设置控制状态区,并在控制状态区显示与终端控制命令相对应的控制命令符,使得用户的控制操作更加明确、可识别度较高,同时,通过判断终端控制命令是否执行完毕,若终端控制命令执行完毕,则解除或者隐藏控制状态区,节省了屏幕的使用空间,提高了屏幕使用率。In this embodiment, by setting a control status area and displaying a control command symbol corresponding to the terminal control command in the control status area, the control operation of the user is more clear and the identifiability is higher, and at the same time, determining whether the terminal control command is executed is completed. If the terminal control command is executed, the control status area is released or hidden, which saves the use space of the screen and improves the screen usage rate.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来控制相关的硬件完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。A person of ordinary skill in the art can understand that all or part of the steps in implementing the above embodiments may be controlled by a program to control related hardware, and the program may be stored in a computer readable storage medium, the storage. Media, such as ROM/RAM, disk, CD, etc.
图6是本发明提出的触控装置的实施例的组成结构示意图,如图6所示,该装置至少包括:触控手势感测模块150、以及处理模块401;其中,FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to the present invention. As shown in FIG. 6 , the device includes at least a touch gesture sensing module 150 and a processing module 401.
触控手势感测模块150,设置为在终端边框的触控区感测所述终端的物理按键所对应的触控手势;The touch gesture sensing module 150 is configured to sense a touch gesture corresponding to the physical button of the terminal in the touch area of the terminal frame;
处理模块401,设置为根据所述触控手势响应与所述物理按键对应的终端控制命令。The processing module 401 is configured to respond to the terminal control command corresponding to the physical button according to the touch gesture.
或者,该装置也可以是至少包括:触控区域划分模块20、触控手势设置模块30,以及处理模块402;其中,Alternatively, the device may include at least: a touch area dividing module 20, a touch gesture setting module 30, and a processing module 402;
触控区域划分模块20,设置为沿终端的边框划分触控区域;The touch area dividing module 20 is configured to divide the touch area along the border of the terminal;
触控手势设置模块30,设置为在触控区域内设置相应的触控手势; The touch gesture setting module 30 is configured to set a corresponding touch gesture in the touch area;
处理模块402,设置为关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。The processing module 402 is configured to associate the function interface with the touch gesture, and respond to the terminal control command corresponding to the function interface according to the touch gesture.
进一步地,本装置还包括功能接口获取模块10以及终端控制命令提取模块50,其中,Further, the device further includes a function interface acquiring module 10 and a terminal control command extracting module 50, wherein
功能接口获取模块10,设置为获取终端的物理按键所对应的功能接口;The function interface obtaining module 10 is configured to acquire a function interface corresponding to a physical button of the terminal;
终端控制命令提取模块50,设置为提取与功能接口对应的终端控制命令。The terminal control command extraction module 50 is configured to extract a terminal control command corresponding to the function interface.
进一步地,本装置还包括触发数据记录模块60,设置为在预设时间段内记录物理按键的触发数据,其中,触发数据包括触发场景以及触发频率;Further, the device further includes a trigger data recording module 60 configured to record trigger data of the physical button within a preset time period, wherein the trigger data includes a trigger scene and a trigger frequency;
触控区域划分模块20,还设置为通过分析触发数据以及终端的边框结构划分触控区域;The touch area dividing module 20 is further configured to divide the touch area by analyzing the trigger data and the frame structure of the terminal;
本装置还包括手势数据库建立模块70,设置为建立触控手势数据库;The device further includes a gesture database establishing module 70, configured to establish a touch gesture database;
本装置还包括触控手势选取模块80,设置为在手势数据库内,根据触控区域的物理范围选取与物理范围相应的触控手势;The device further includes a touch gesture selection module 80 configured to select a touch gesture corresponding to the physical range according to the physical range of the touch area in the gesture database;
处理模块40,还设置为关联触控区域与选取的触控手势。The processing module 40 is further configured to associate the touch area with the selected touch gesture.
进一步地,本装置还包括控制状态区设置模块90,设置为在终端的屏显范围内设置控制状态区;Further, the device further includes a control status area setting module 90, configured to set a control status area within the screen display range of the terminal;
本装置还包括触控手势判断模块100,设置为判断触控区域内是否感测到触控手势;The device further includes a touch gesture determination module 100 configured to determine whether a touch gesture is sensed in the touch area;
功能接口获取模块10,还设置为当感测到触控手势时,获取与触控手势相关联的功能接口;The function interface acquiring module 10 is further configured to acquire a function interface associated with the touch gesture when the touch gesture is sensed;
本装置还包括终端控制命令获取模块110,设置为根据功能接口获取与之对应的终端控制命令;The device further includes a terminal control command obtaining module 110, configured to acquire a terminal control command corresponding thereto according to the function interface;
控制命令符模块120,设置为在控制状态区显示与终端控制命令相对应的控制命令符;The control command module 120 is configured to display a control command character corresponding to the terminal control command in the control status area;
控制命令符判断模块130,设置为判断终端控制命令是否执行完毕;The control command character determining module 130 is configured to determine whether the terminal control command is executed;
控制状态区处理模块140,设置为若终端控制命令执行完毕,则解除或者隐藏控制状态区。The control status area processing module 140 is configured to release or hide the control status area if the terminal control command is executed.
该触控装置可以用于移动电话,或者具有触控功能的其他通信终端,例如触控智能手机等中,可以是运行于这些通信终端内的软件单元,也可以作 为独立的挂件集成到这些通信终端中或者运行于这些移动终端的应用系统中。The touch device can be used in a mobile phone or other communication terminal having a touch function, such as a touch smart phone, etc., and can be a software unit running in the communication terminal, or can be used as a Independent pendants are integrated into these communication terminals or run in the application systems of these mobile terminals.
需要说明的是,上述方法实施例中的技术特征在本装置均对应适用,这里不再重述。It should be noted that the technical features in the foregoing method embodiments are applicable to the device, and are not repeated herein.
本发明实施例还提出了一种触控终端,该触控终端至少包括上述本发明实施例提供的触控装置。The embodiment of the present invention further provides a touch terminal, and the touch terminal includes at least the touch device provided by the embodiment of the present invention.
相应地,本发明实施例再提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行本发明实施例中的触控方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the touch method in the embodiment of the present invention.
实施本发明实施例提供的技术方案,通过获取终端的物理按键所对应的功能接口,沿终端的边框划分触控区域,并在触控区域内设置相应的触控手势,然后关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。系统的实现了以触控手势替代物理按键完成相应的功能,通过在终端边框划分不同的触控区域,使得触控手势所对应的功能更加明确,同时,实施本发明,还可以从触控区域和触控手势两个维度判断获取相应的功能接口以及发出相应的控制命令,增强了用户体验。By implementing the technical solution provided by the embodiment of the present invention, the function interface corresponding to the physical button of the terminal is obtained, the touch area is divided along the border of the terminal, and the corresponding touch gesture is set in the touch area, and then the function interface and touch are associated. The gesture is controlled, and the terminal control command corresponding to the function interface is responded according to the touch gesture. The system implements the function of replacing the physical button with the touch gesture to complete the corresponding function. The function corresponding to the touch gesture is more clear by dividing the different touch regions on the terminal frame. At the same time, the present invention can also be implemented from the touch region. The two dimensions of the touch gesture determine the corresponding function interface and issue corresponding control commands to enhance the user experience.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are included in the spirit and scope of the present invention, should be included in the present invention. Within the scope of protection.
工业实用性Industrial applicability
本发明实施例提出的触控方法、触控装置、触控终端及计算机可读存储介质。其中,该方法包括:在终端边框的触控区感测终端的物理按键所对应的触控手势;根据触控手势响应与物理按键对应的终端控制命令。通过本发明实施例,实现了以触控手势替代物理按键完成相应的功能,通过在终端边框划分不同的触控区域,使得触控手势所对应的功能更加明确。同时,本发明实施例还实现了从触控区域和触控手势两个维度判断获取相应的功能接口以及发出相应的控制命令,增强了用户体验。 The touch method, the touch device, the touch terminal, and the computer readable storage medium provided by the embodiments of the present invention. The method includes: sensing a touch gesture corresponding to a physical button of the terminal in a touch area of the terminal frame; and responding to the terminal control command corresponding to the physical button according to the touch gesture. The embodiment of the present invention implements the function of replacing the physical button with the touch gesture to complete the corresponding function, and the function corresponding to the touch gesture is more clear by dividing different touch regions in the terminal frame. At the same time, the embodiment of the invention further realizes that the corresponding function interface is obtained from two dimensions of the touch area and the touch gesture, and corresponding control commands are issued, thereby enhancing the user experience.

Claims (20)

  1. 一种触控方法,其中,包括:在终端边框的触控区感测终端的物理按键所对应的触控手势;A touch method, comprising: sensing a touch gesture corresponding to a physical button of a terminal in a touch area of a terminal frame;
    根据感测到的触控手势响应与物理按键对应的终端控制命令。Responding to the terminal control command corresponding to the physical button according to the sensed touch gesture.
  2. 根据权利要求1所述的触控方法,其中,所述在终端边框的触控区感测终端的物理按键所对应的触控手势之前,还包括:The touch control method according to claim 1, wherein before the touch area corresponding to the physical button of the terminal of the touch panel of the terminal frame, the touch control area further includes:
    获取所述终端的物理按键所对应的功能接口;Obtaining a function interface corresponding to the physical button of the terminal;
    提取与获得的功能接口对应的所述终端控制命令。Extracting the terminal control command corresponding to the obtained function interface.
  3. 根据权利要求2所述的触控方法,其中,所述在终端边框的触控区感测终端的物理按键所对应的触控手势之前,还包括:The touch control method according to claim 2, wherein before the touch area corresponding to the physical button of the terminal of the touch panel of the terminal frame, the touch control area further includes:
    在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;Recording trigger data of the physical button in a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
    通过分析记录的触发数据以及所述终端的边框结构划分所述触控区域;Dividing the touch area by analyzing the recorded trigger data and the frame structure of the terminal;
    建立触控手势数据库;Establish a touch gesture database;
    在建立的触控手势数据库内,根据所述触控区的物理范围选取与所述物理范围相应的触控手势;Selecting, according to the physical range of the touch area, a touch gesture corresponding to the physical range in the established touch gesture database;
    关联所述触控区与所述选取的触控手势。Associating the touch area with the selected touch gesture.
  4. 根据权利要求3所述的触控方法,其中,所述在终端边框的触控区感测所述终端的物理按键所对应的触控手势之前,还包括:The touch control method according to claim 3, wherein before the touch area of the terminal frame senses the touch gesture corresponding to the physical button of the terminal, the method further includes:
    在所述终端的屏显范围内设置控制状态区。A control status area is set within the screen display range of the terminal.
  5. 根据权利要求4所述的触控方法,其中,所述根据所述触控手势响应与物理按键对应的终端控制命令之后,还包括:The touch control method according to claim 4, wherein the responding to the terminal control command corresponding to the physical button according to the touch gesture further comprises:
    判断所述触控区内是否感测到所述触控手势;Determining whether the touch gesture is sensed in the touch area;
    当感测到触控手势时,获取与所述触控手势相关联的所述功能接口;Obtaining the function interface associated with the touch gesture when a touch gesture is sensed;
    根据所述功能接口获取与之对应的所述终端控制命令;Obtaining, according to the function interface, the terminal control command corresponding thereto;
    在所述控制状态区显示与所述终端控制命令相对应的控制命令符; Displaying, in the control status area, a control command character corresponding to the terminal control command;
    判断出所述终端控制命令执行完毕,解除或者隐藏所述控制状态区。It is determined that the execution of the terminal control command is completed, and the control status area is released or hidden.
  6. 一种触控方法,其中,包括:沿终端的边框划分触控区域;A touch method includes: dividing a touch area along a border of the terminal;
    在触控区域内设置相应的触控手势;Setting a corresponding touch gesture in the touch area;
    关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。The function interface and the touch gesture are associated, and the terminal control command corresponding to the function interface is responded according to the touch gesture.
  7. 根据权利要求6所述的触控方法,其中,所述在触控区域内设置相应的触控手势之前,还包括:The touch control method of claim 6, wherein before the setting the corresponding touch gesture in the touch area, the method further includes:
    获取所述终端的物理按键所对应的功能接口;Obtaining a function interface corresponding to the physical button of the terminal;
    提取与获得的功能接口对应的所述终端控制命令。Extracting the terminal control command corresponding to the obtained function interface.
  8. 根据权利要求7所述的触控方法,其中,所述在触控区域内设置相应的触控手势之前,还包括:The touch control method according to claim 7, wherein before the setting the corresponding touch gesture in the touch area, the method further includes:
    在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;Recording trigger data of the physical button in a preset time period, where the trigger data includes a trigger scene and a trigger frequency;
    通过分析记录的触发数据以及所述终端的边框结构划分所述触控区域;Dividing the touch area by analyzing the recorded trigger data and the frame structure of the terminal;
    建立触控手势数据库;Establish a touch gesture database;
    在建立的触控手势数据库内,根据所述触控区的物理范围选取与所述物理范围相应的触控手势;Selecting, according to the physical range of the touch area, a touch gesture corresponding to the physical range in the established touch gesture database;
    关联所述触控区与所述选取的触控手势。Associating the touch area with the selected touch gesture.
  9. 根据权利要求8所述的触控方法,其中,所述在触控区域内设置相应的触控手势之前,还包括:The touch control method according to claim 8, wherein before the setting the corresponding touch gesture in the touch area, the method further includes:
    在所述终端的屏显范围内设置控制状态区。A control status area is set within the screen display range of the terminal.
  10. 根据权利要求9所述的触控方法,其中,所述根据所述触控手势响应与物理按键对应的终端控制命令之后,还包括:The touch control method according to claim 9, wherein the responding to the terminal control command corresponding to the physical button according to the touch gesture further comprises:
    判断所述触控区内是否感测到所述触控手势;Determining whether the touch gesture is sensed in the touch area;
    当感测到触控手势时,获取与所述触控手势相关联的所述功能接口;Obtaining the function interface associated with the touch gesture when a touch gesture is sensed;
    根据所述功能接口获取与之对应的所述终端控制命令; Obtaining, according to the function interface, the terminal control command corresponding thereto;
    在所述控制状态区显示与所述终端控制命令相对应的控制命令符;Displaying, in the control status area, a control command character corresponding to the terminal control command;
    判断出所述终端控制命令执行完毕,解除或者隐藏所述控制状态区。It is determined that the execution of the terminal control command is completed, and the control status area is released or hidden.
  11. 一种触控装置,其中,至少包括:触控手势感测模块,以及处理模块;其中,A touch device includes at least a touch gesture sensing module and a processing module, wherein
    触控手势感测模块,设置为在终端边框的触控区感测所述终端的物理按键所对应的触控手势;The touch gesture sensing module is configured to sense a touch gesture corresponding to the physical button of the terminal in the touch area of the terminal frame;
    处理模块,设置为根据所述触控手势响应与所述物理按键对应的终端控制命令。The processing module is configured to respond to the terminal control command corresponding to the physical button according to the touch gesture.
  12. 根据权利要求11所述的触控装置,其中,还包括功能接口获取模块,和终端控制命令提取模块,其中,The touch device of claim 11, further comprising a function interface acquisition module, and a terminal control command extraction module, wherein
    功能接口获取模块,设置为获取终端的物理按键所对应的功能接口;The function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
    终端控制命令提取模块,设置为提取与所述功能接口对应的所述终端控制命令。The terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
  13. 根据权利要求12所述的触控装置,其中,还包括触发数据记录模块,设置为在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;The touch device of claim 12, further comprising a trigger data recording module configured to record trigger data of the physical button within a preset time period, wherein the trigger data comprises a trigger scene and a trigger frequency;
    所述触控区域划分模块,还设置为通过分析所述触发数据以及所述终端的边框结构划分所述触控区域;The touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
    还包括:手势数据库建立模块,设置为建立触控手势数据库;以及,触控手势选取模块,设置为在所述手势数据库内,根据所述触控区域的物理范围选取与所述物理范围相应的触控手势;The method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
    所述处理模块,还设置为关联所述触控区域与所述选取的触控手势。The processing module is further configured to associate the touch area with the selected touch gesture.
  14. 根据权利要求13所述的触控装置,其中,还包括控制状态区设置模块,设置为在所述终端的屏显范围内设置控制状态区;以及,触控手势判断模块,设置为判断所述触控区域内是否感测到所述触控手势;The touch device of claim 13, further comprising a control status area setting module configured to set a control status area within a screen display range of the terminal; and a touch gesture determination module configured to determine the Whether the touch gesture is sensed in the touch area;
    所述功能接口获取模块,还设置为当感测到所述触控手势时,获取与所述触控手势相关联的所述功能接口; The function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
    还包括:终端控制命令获取模块,设置为根据所述功能接口获取与之对应的所述终端控制命令;控制命令符模块,设置为在所述控制状态区显示与所述终端控制命令相对应的控制命令符;控制命令符判断模块,设置为判断所述终端控制命令是否执行完毕;以及,控制状态区处理模块,设置为若所述终端控制命令执行完毕,则解除或者隐藏所述控制状态区。The method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
  15. 一种触控装置,其中,至少包括:触控区域划分模块、触控手势设置模块,以及处理模块;其中,A touch device includes: a touch area division module, a touch gesture setting module, and a processing module; wherein
    触控区域划分模块,设置为沿终端的边框划分触控区域;The touch area dividing module is configured to divide the touch area along the border of the terminal;
    触控手势设置模块,设置为在触控区域内设置相应的触控手势;The touch gesture setting module is configured to set a corresponding touch gesture in the touch area;
    处理模块,设置为关联功能接口与触控手势,并根据触控手势响应与功能接口对应的终端控制命令。The processing module is configured to associate the function interface with the touch gesture, and respond to the terminal control command corresponding to the function interface according to the touch gesture.
  16. 根据权利要求15所述的触控装置,其中,还包括功能接口获取模块,和终端控制命令提取模块,其中,The touch device of claim 15, further comprising a function interface acquisition module, and a terminal control command extraction module, wherein
    功能接口获取模块,设置为获取终端的物理按键所对应的功能接口;The function interface acquiring module is configured to acquire a function interface corresponding to the physical button of the terminal;
    终端控制命令提取模块,设置为提取与所述功能接口对应的所述终端控制命令。The terminal control command extraction module is configured to extract the terminal control command corresponding to the function interface.
  17. 根据权利要求16所述的触控装置,其中,还包括触发数据记录模块,设置为在预设时间段内记录所述物理按键的触发数据,其中,所述触发数据包括触发场景以及触发频率;The touch device of claim 16, further comprising a trigger data recording module configured to record trigger data of the physical button within a preset time period, wherein the trigger data comprises a trigger scene and a trigger frequency;
    所述触控区域划分模块,还设置为通过分析所述触发数据以及所述终端的边框结构划分所述触控区域;The touch area dividing module is further configured to divide the touch area by analyzing the trigger data and a frame structure of the terminal;
    还包括:手势数据库建立模块,设置为建立触控手势数据库;以及,触控手势选取模块,设置为在所述手势数据库内,根据所述触控区域的物理范围选取与所述物理范围相应的触控手势;The method further includes: a gesture database establishing module, configured to establish a touch gesture database; and a touch gesture selection module, configured to select, in the gesture database, a physical range corresponding to the touch area according to the physical range Touch gesture
    所述处理模块,还设置为关联所述触控区域与所述选取的触控手势。The processing module is further configured to associate the touch area with the selected touch gesture.
  18. 根据权利要求17所述的触控装置,其中,还包括控制状态区设置模块,设置为在所述终端的屏显范围内设置控制状态区;以及,触控手势判断模块,设置为判断所述触控区域内是否感测到所述触控手势; The touch device of claim 17, further comprising a control status area setting module configured to set a control status area within a screen display range of the terminal; and a touch gesture determination module configured to determine the Whether the touch gesture is sensed in the touch area;
    所述功能接口获取模块,还设置为当感测到所述触控手势时,获取与所述触控手势相关联的所述功能接口;The function interface acquiring module is further configured to acquire the function interface associated with the touch gesture when the touch gesture is sensed;
    还包括:终端控制命令获取模块,设置为根据所述功能接口获取与之对应的所述终端控制命令;控制命令符模块,设置为在所述控制状态区显示与所述终端控制命令相对应的控制命令符;控制命令符判断模块,设置为判断所述终端控制命令是否执行完毕;以及,控制状态区处理模块,设置为若所述终端控制命令执行完毕,则解除或者隐藏所述控制状态区。The method further includes: a terminal control command acquiring module, configured to acquire the terminal control command corresponding thereto according to the function interface; and a control command character module configured to display, in the control state area, a command corresponding to the terminal control command a control command character; a control command character determining module configured to determine whether the terminal control command is executed; and a control status area processing module configured to release or hide the control status area if the terminal control command is executed .
  19. 一种触控终端,其中,包括权利要求6至9所述的触控装置。A touch terminal includes the touch device of claim 6 to 9.
  20. 一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行下面的一种触控方法,所述方法包括:A computer readable storage medium storing computer executable instructions for performing the following touch method, the method comprising:
    在终端边框的触控区感测终端的物理按键所对应的触控手势;The touch gesture corresponding to the physical button of the terminal is sensed in the touch area of the terminal frame;
    根据感测到的触控手势响应与物理按键对应的终端控制命令。 Responding to the terminal control command corresponding to the physical button according to the sensed touch gesture.
PCT/CN2015/089468 2014-09-19 2015-09-11 Touch control method, touch control device, touch control terminal and computer readable storage medium WO2016041469A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410483873.2A CN104238946B (en) 2014-09-19 2014-09-19 A kind of touch control method, device and terminal
CN201410483873.2 2014-09-19

Publications (1)

Publication Number Publication Date
WO2016041469A1 true WO2016041469A1 (en) 2016-03-24

Family

ID=52227117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089468 WO2016041469A1 (en) 2014-09-19 2015-09-11 Touch control method, touch control device, touch control terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN104238946B (en)
WO (1) WO2016041469A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238946B (en) * 2014-09-19 2018-09-21 努比亚技术有限公司 A kind of touch control method, device and terminal
CN106155783A (en) * 2015-04-15 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The method of the system switching of multisystem and device thereof
CN104898482A (en) * 2015-05-04 2015-09-09 广东美的制冷设备有限公司 Control interface displaying method and device
CN106547422A (en) * 2015-09-22 2017-03-29 小米科技有限责任公司 Realize returning method, device and the mobile terminal of operation
CN105897961A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Smart phone operation method and device and smart phone
CN106940599A (en) * 2017-02-07 2017-07-11 宇龙计算机通信科技(深圳)有限公司 A kind of terminal operation control method, device and terminal
CN106843592A (en) * 2017-02-17 2017-06-13 北京小米移动软件有限公司 Touch control method and device and mobile terminal
CN108089828A (en) * 2017-11-30 2018-05-29 努比亚技术有限公司 A kind of terminal operation method, mobile terminal and computer-readable storage program
CN108187342A (en) * 2017-12-19 2018-06-22 广州小鸡快跑网络科技有限公司 A kind of game command processing method touches game paddle and games system
CN108227985B (en) * 2017-12-28 2022-04-05 业成科技(成都)有限公司 Action device with non-entity key frame
CN109491569A (en) * 2018-09-27 2019-03-19 Oppo(重庆)智能科技有限公司 Method of controlling operation thereof and Related product
CN111049952A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Intelligent terminal and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102122229A (en) * 2010-02-19 2011-07-13 微软公司 Use of bezel as an input mechanism
CN102566861A (en) * 2010-12-17 2012-07-11 安徽康佳同创电器有限公司 Electronic terminal, and touch unlocking method and touch unlocking setting method for electronic terminal
CN103034443A (en) * 2012-12-11 2013-04-10 东莞宇龙通信科技有限公司 Terminal control method and terminal
CN103197889A (en) * 2013-04-03 2013-07-10 锤子科技(北京)有限公司 Brightness adjusting method and device and electronic device
CN104238946A (en) * 2014-09-19 2014-12-24 深圳市中兴移动通信有限公司 Touch control method, device and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763214A (en) * 2009-12-30 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal display page zoom method, system and mobile terminal
CN102799340A (en) * 2011-05-26 2012-11-28 上海三旗通信科技股份有限公司 Operation gesture for switching multi-applications to current window and activating multi-applications
CN102436347A (en) * 2011-11-10 2012-05-02 盛乐信息技术(上海)有限公司 Switching method of application program and touch screen device
CN102779004B (en) * 2012-06-26 2015-05-13 宇龙计算机通信科技(深圳)有限公司 Method and device for operating touch screen terminal screen
CN103853481B (en) * 2012-12-06 2021-03-12 腾讯科技(深圳)有限公司 Method and system for simulating touch screen mobile terminal key
CN103620542B (en) * 2013-01-22 2017-02-08 华为终端有限公司 A physical key simulating method and apparatus based on a touch screen
CN103197885B (en) * 2013-03-04 2018-05-15 东莞宇龙通信科技有限公司 The control method and its mobile terminal of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102122229A (en) * 2010-02-19 2011-07-13 微软公司 Use of bezel as an input mechanism
CN102566861A (en) * 2010-12-17 2012-07-11 安徽康佳同创电器有限公司 Electronic terminal, and touch unlocking method and touch unlocking setting method for electronic terminal
CN103034443A (en) * 2012-12-11 2013-04-10 东莞宇龙通信科技有限公司 Terminal control method and terminal
CN103197889A (en) * 2013-04-03 2013-07-10 锤子科技(北京)有限公司 Brightness adjusting method and device and electronic device
CN104238946A (en) * 2014-09-19 2014-12-24 深圳市中兴移动通信有限公司 Touch control method, device and terminal

Also Published As

Publication number Publication date
CN104238946B (en) 2018-09-21
CN104238946A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
WO2016041469A1 (en) Touch control method, touch control device, touch control terminal and computer readable storage medium
US9971911B2 (en) Method and device for providing a private page
KR101836340B1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
CN105975166B (en) Application control method and device
CN106648434B (en) Method and device for controlling application interface through dragging gesture
CN104866749B (en) Operate response method and device
KR102137508B1 (en) Message Reading Method and Device
CN105814522B (en) Device and method for displaying user interface of virtual input device based on motion recognition
WO2017032005A1 (en) Operation menu display method and terminal
WO2016045579A1 (en) Application interaction control method and apparatus, and terminal
US20110126094A1 (en) Method of modifying commands on a touch screen user interface
KR102270953B1 (en) Method for display screen in electronic device and the device thereof
EP3109772A1 (en) Text input method and device
KR102101442B1 (en) Fingerprint identification methods, devices, programs and storage media
US20150346961A1 (en) Method, apparatus and computer program product for providing a recommendation for an application
CN103995838B (en) A kind of processing method of data record, device and electronic equipment
KR20160014481A (en) Device Operated on Idle Mode and Method thereof
CN106980445A (en) Manipulate the awaking method and device, electronic equipment of menu
TWI451321B (en) Portable device and method for operating portable device
KR20140089224A (en) Device and method for executing operation based on touch-input
KR20160004590A (en) Method for display window in electronic device and the device thereof
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN107015735A (en) The control method and touch control device on a kind of browser operation column
CN105446521B (en) Touch control operation setting method and device
KR20150095523A (en) Electronic apparatus and method for extracting color in electronic apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 300817)

122 Ep: pct application non-entry in european phase

Ref document number: 15841443

Country of ref document: EP

Kind code of ref document: A1