CN110658920A - Single-point touch control method, device, equipment and storage medium - Google Patents

Single-point touch control method, device, equipment and storage medium Download PDF

Info

Publication number
CN110658920A
CN110658920A CN201910926963.7A CN201910926963A CN110658920A CN 110658920 A CN110658920 A CN 110658920A CN 201910926963 A CN201910926963 A CN 201910926963A CN 110658920 A CN110658920 A CN 110658920A
Authority
CN
China
Prior art keywords
touch operation
point touch
operation sequence
point
voltage duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910926963.7A
Other languages
Chinese (zh)
Inventor
阮鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN201910926963.7A priority Critical patent/CN110658920A/en
Publication of CN110658920A publication Critical patent/CN110658920A/en
Pending legal-status Critical Current

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/016Input arrangements with force or tactile feedback as computer generated output to the user
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Abstract

The embodiment of the invention discloses a single-point touch control method, a single-point touch control device, single-point touch control equipment and a single-point touch control storage medium. The method comprises the following steps: detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence; matching the first touch operation sequence with at least two preset second touch operation sequences; and if the matching is successful, executing the function associated with the matched second touch operation sequence. According to the embodiment of the invention, the control of the electronic equipment and even the character input communication can be realized through the single-point touch operation, so that the use requirements of users with poor eyesight or inconvenient actions are met, the user operation can be further simplified, the time spent on the operation is saved, and the use experience of the users is improved.

Description

Single-point touch control method, device, equipment and storage medium
Technical Field
The present invention relates to signal processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling single touch.
Background
With the development of electronic technology, the variety of electronic devices is increasing, and the functions provided by the electronic devices are also increasing, and the electronic devices become an indispensable part of life of most users.
In practical application, a user can perform different controls on the electronic device according to needs, for example, when the user edits the short message, the user can call up a corresponding input method by clicking 'input content' in the display screen, and then input corresponding text content by using the called-up input method.
The above control of the electronic apparatus is well known to a user who is healthy by referring to a specification or a simple exercise. However, for users with poor eyesight or inconvenient actions, the control operation performed on the electronic device is not only cumbersome, but also takes a long time, which burdens the user group to use the electronic device and affects the use of the user.
Disclosure of Invention
Embodiments of the present invention provide a single-point touch control method, apparatus, device, and storage medium, so as to implement control over an electronic device through a single-point touch operation, which not only meets user usage requirements of users with poor eyesight or inconvenient actions, but also further simplifies user operations, saves time spent in operations, and improves user experience.
In a first aspect, an embodiment of the present invention provides a single-point touch control method, where the method includes:
detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence;
matching the first touch operation sequence with at least two preset second touch operation sequences;
and if the matching is successful, executing the function associated with the matched second touch operation sequence.
In a second aspect, an embodiment of the present invention further provides a single-point touch control apparatus, where the apparatus includes:
the detection module is used for detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence;
the matching module is used for matching the first touch operation sequence with at least two preset second touch operation sequences;
and the control module is used for executing the matched function associated with the second touch operation sequence if the matching is successful.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: the touch control system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the single-touch control method in the embodiment of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the single-touch control method described in the embodiment of the first aspect.
The technical scheme disclosed by the embodiment of the invention has the following beneficial effects:
and obtaining a first touch operation sequence by detecting single-point touch operation acting on a preset receiving port, matching the first touch operation sequence with at least two preset second touch operation sequences, and executing functions associated with the matched second touch operation sequences if matching is successful. Therefore, through single-point touch operation, control over the electronic equipment can be achieved, even character input communication can be achieved, the using requirements of users with poor eyesight or inconvenient actions can be met, user operation can be further simplified, the time spent in operation is saved, and the using experience of the users is improved.
Drawings
Fig. 1 is a schematic flowchart of a single touch control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a single touch control method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a single-touch control device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a single-touch control device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
The embodiment of the invention provides a single-point touch control method, aiming at the problems that in the related art, when a user with poor eyesight or inconvenient actions controls and operates electronic equipment, the operation is complicated, a long time is needed, burden is brought to the user group to use the electronic equipment, and the use of the user is influenced.
In the embodiment of the invention, the first touch operation sequence is obtained by detecting the single-point touch operation acting on the preset receiving port, and is compared with at least two preset second touch operation sequences according to the first touch operation sequence, and the function associated with the successfully-compared second touch operation sequence is executed. From this, through single-point touch operation, can realize the control to electronic equipment, not only satisfy the not good or inconvenient user's user demand of action of eyesight, can also further simplify user operation, save the time of operation cost, improved user and used experience.
The following describes a single-touch control method, apparatus, device, and storage medium according to embodiments of the present invention with reference to the accompanying drawings.
Example one
Fig. 1 is a flowchart of a single-touch control method according to an embodiment of the present invention, which is applicable to determining a corresponding function based on a touch operation sequence corresponding to a single-touch operation and executing the function in a scenario, where the method is executable by a single-touch control device to control a single-touch operation processing procedure, and the device may be implemented by software and/or hardware and may be integrated inside an electronic device. In this embodiment, the electronic device may be a smart phone, a notebook computer, a smart appliance, and the like, wherein the smart appliance may be, but is not limited to: intelligent audio amplifier, intelligent air conditioner, intelligent TV etc.. The method specifically comprises the following steps:
s101, single-point touch operation acting on a preset receiving port is detected, and a first touch operation sequence is obtained.
In the embodiment of the present invention, the preset receiving port includes at least one of the following items: predetermine button, touch-sensitive screen and fingerprint module. The preset keys refer to physical keys in the electronic equipment. Such as a power key, volume key, etc.
Optionally, before executing step S101, the single-point touch operation of the user at the preset receiving port may be obtained in the following manner.
First mode
And acquiring the single-point touch operation of the user through a preset key of the electronic equipment.
For example, if the preset key is a volume key of the electronic device, when it is determined that the triggering of the volume key does not belong to volume adjustment or conventional services such as photographing, it may be determined that the triggering is a single-point touch operation of the user at the preset receiving port.
When the volume key is triggered to adjust the volume, the volume key is usually triggered in a single short time, and in order to distinguish that the triggering of the volume key is not the conventional services such as volume adjustment or photographing, a time length and the number of times of triggering the volume key in the time length can be preset in the embodiment of the invention. When the number of times of triggering the volume key within the preset time length reaches a number threshold value, the triggering is determined to be single-point touch operation of a user at a preset receiving port;
or, in the embodiment of the present invention, a time threshold for triggering the volume key may also be set. And if the duration of triggering the volume key reaches a preset duration threshold value, determining the single-point touch operation of the user at a preset receiving port during triggering.
As a second mode
And acquiring the single-point touch operation of the user according to the touch unit of the touch screen of the electronic equipment.
In actual use, a user usually performs a sliding operation or a clicking operation on a touch screen of the electronic device to achieve control over the electronic device. Wherein the number of the above-mentioned sliding operations or clicking operations is constant. For example, when a certain application is opened, the user only needs to click once in the area where the application icon is located to start the application.
However, in the embodiment, the single-point touch operation of the user on the touch screen is performed multiple times. That is to say, in this embodiment, an area may be set on the touch screen of the electronic device, and the touch unit corresponding to the area is detected, so as to obtain the number of times of touch operations of the user within a predetermined time. And when the touch operation frequency is determined to be larger than the threshold value, determining to acquire the single-point touch operation of the user on the operation receiving port. The area set on the touch screen of the electronic device may be any blank area of the touch screen. The predetermined time refers to an effective time for receiving the touch action, and the threshold may be adaptively set according to the usage scenario, for example, 3 times.
As a third mode
Through the fingerprint sensor that the fingerprint module corresponds, acquire user's single-point touch operation.
After the fingerprint sensor acquires the fingerprint of the user, whether the fingerprint information belongs to the same person or not can be judged through judgment. And if the fingerprint information belongs to the same person and the quantity of the fingerprint information of the user acquired within the preset time is larger than the threshold value, determining to acquire the single-point touch operation of the user on the operation receiving port.
That is to say, in this embodiment, whether the single-point touch operation of the user at the operation receiving port is obtained can be determined by the amount of the fingerprint information collected by the fingerprint sensor.
It should be noted that, in the three manners, the implementation manner of obtaining the single-point touch operation of the user at the preset receiving port is only an exemplary illustration, and is not limited to the specific limitations of the embodiment.
Further, after the single-point touch operation of the user at the preset receiving port is obtained, the embodiment may detect the single-point touch operation applied to the operation receiving port to obtain the first touch operation sequence.
For example, the embodiment may obtain the first touch operation sequence according to the identification result by identifying the acquired single-point touch operation.
And S102, matching the first touch operation sequence with at least two preset second touch operation sequences.
The second touch operation sequence is a single-point touch operation sequence arranged according to a preset rule. In the embodiment of the invention, the preset rule sorting can be realized according to a Morse coding mode. That is, when the single-point touch operation sequence is arranged according to the moss code manner, the correspondingly obtained touch operation sequence is the moss code.
In an embodiment of the invention, the at least two preset second touch operation sequences may be pre-stored in a storage unit of the electronic device.
Optionally, the obtained first touch operation sequence may be compared with at least two preset second touch operation sequences, so as to determine which second touch operation sequence the first touch operation is matched with.
That is, in the present embodiment, the actual touch purpose of the user can be determined by matching the first touch operation sequence with at least two preset second touch operation sequences.
And S103, if the matching is successful, executing the function associated with the matched second touch operation sequence.
The preset function associated with the second touch operation sequence comprises at least one of the following: the method comprises the steps of inputting character strings, starting and closing the electronic equipment, setting temperature rise and fall, setting wind direction and setting volume.
Optionally, when it is determined that the first touch operation sequence matches any one of the second touch operation sequences, the single-touch control device may determine, according to the second touch operation sequence successfully matched, a function associated with the second touch operation sequence, and execute the associated function.
In this embodiment, mapping relationships between at least two second touch operation sequences and associated functions may also be pre-established, and the mapping relationships are stored in the storage unit, so that the stored mapping relationships are queried through the second touch operation sequences, and then the corresponding functions may be determined, and further executed, thereby increasing the processing speed.
For example, if the first touch operation sequence X1 is successfully matched with the third touch operation sequence Y3 in the plurality of preset second touch operation sequences. At this time, the single-touch control device may search the function Z associated with Y3 in the established mapping relationship between the second touch operation sequence and the function according to Y3. And after finding the function Z, executing the function Z. If the function Z is set to be the volume level, the volume level is increased or decreased according to the first touch operation sequence X1.
For another example, if the first touch operation sequence X2 input by the user is successfully aligned with the second touch operation sequence Y2 in the plurality of preset second touch operation sequences. At this time, the single-touch control device may search the function G associated with Y2 in the established mapping relationship between the second touch operation sequence and the function according to Y2. And executing the function G after the function G is searched. If the function G is an input of a character string, a corresponding character string is output according to the first touch sequence X2.
In an embodiment of the present invention, if the first touch operation sequence fails to match the at least two preset touch operation sequences, an alarm message is sent to the user through the alarm unit.
Wherein, the alarm unit can be, but is not limited to: a buzzer, an indicator light, a loudspeaker and the like.
The alert information may be, but is not limited to: the method comprises the following steps of continuously buzzing, flashing an indicator light, and playing reminding voice through a loudspeaker, for example, inputting operation is wrong, and inputting is required to be performed again.
It should be noted that, the above alarm information may be implemented individually or in combination, and is not limited in detail here.
That is to say, in the embodiment, when it is determined that the first touch operation sequence fails to be compared with the at least two preset touch operation sequences, the alarm information is sent to the user, so that the user can adjust the single-point touch operation applied to the preset receiving port, so as to improve the input accuracy of the single-point touch operation.
It can be understood that, in the embodiment of the present invention, the first touch operation sequence input by the user is compared with at least two preset touch operation sequences to determine the matched second touch operation sequence, and the function associated with the second touch operation sequence is executed, so that the electronic device is compatible with single-point touch based on the original function, and the operation function of the electronic device is realized through single-point touch, thereby satisfying the use requirements of different user groups and improving the user satisfaction.
In the single-point touch control method provided by the embodiment of the invention, a first touch operation sequence is obtained by detecting a single-point touch operation acting on a preset receiving port, and the first touch operation sequence and at least two preset second touch operations are combined. From this, through single-point touch operation, can realize the control to electronic equipment, not only satisfy the not good or inconvenient user's user demand of action of eyesight, can also further simplify user operation, save the time of operation cost, improved user and used experience.
On the basis of the above embodiment, S101 further includes: sending a control instruction to the vibration device to control the vibration device to vibrate
In this embodiment, the vibration device may be a motor.
Optionally, when the single-point touch operation acting on the preset receiving port is obtained, the single-point touch control device may detect that the voltage of the preset receiving port changes, and at this time, may send a control instruction to the vibration device according to the voltage change, so that the vibration device executes a corresponding operation according to the control instruction after receiving the control instruction.
The control command is specifically a command for controlling the vibration device to vibrate.
That is to say, when the voltage change of the preset receiving port is detected, it is indicated that the user may input the single-point touch operation, and at this time, in order to facilitate the user to determine whether the input single-point touch operation is valid, the vibration device may be started to vibrate, so that the user can determine that the input single-point touch operation is valid according to the touch, thereby further improving the user experience.
The single-point touch control method provided by the embodiment of the invention is used for sending a control instruction to the vibration device to control the vibration device to vibrate when detecting the single-point touch operation acting on the preset receiving port. Therefore, when the user inputs the single-point touch operation, the user can determine whether the input operation is effective or not through the touch through vibration, and the user experience is further improved.
Example two
As can be seen from the above analysis, the embodiment of the invention determines the second touch operation sequence matching the first touch operation sequence, and executes the function associated with the second touch operation sequence.
As an implementation form of the embodiment of the present invention, when the single-point touch operation acting on the preset receiving port is detected to obtain the first touch operation sequence, signal identification may be performed according to a high voltage duration of each single-point touch operation and a low voltage duration between each single-point touch operation to obtain the first touch operation sequence. The foregoing situation of the single touch control method according to the embodiment of the present invention will be described with reference to fig. 2.
Fig. 2 is a flowchart illustrating a single-touch control method according to a second embodiment of the present invention.
As shown in fig. 2, the single touch control method may include the steps of:
s201, detecting a single-point touch operation applied to a predetermined receiving port.
The specific implementation process and principle of step S201 are similar to step S101 in the above embodiment, and reference may be made to the above embodiment specifically, and redundant description thereof is not repeated here.
S202, performing signal identification according to the high-voltage duration of each single-point touch operation and the low-voltage duration between the single-point touch operations to obtain the first touch operation sequence.
In an actual application process, when the preset receiving port receives a single-point touch operation of a user, the voltage of the preset receiving port changes. For example, when a single-point touch operation of a user is received, the voltage of the preset receiving port is increased; otherwise, the voltage of the default receiving port is decreased.
That is, when a user performs a single-point touch operation on the preset receiving port, the voltage of the preset receiving port is increased, and the correspondingly obtained single-point touch operation signal is in a high-voltage state; on the contrary, when the user does not operate the receiving port to perform the single-point touch operation, the voltage of the preset receiving port is reduced, and the correspondingly obtained single-point touch operation signal is in a low-voltage state.
In a specific implementation, the time length of each single-point touch operation signal acting on the preset receiving port in the high-voltage state and the low-voltage time length between the single-point touch operations can be determined by the timer.
Further, when the high voltage duration of each single-point touch operation and the low voltage duration between the single-point touch operations are obtained, signal identification can be performed to obtain a first touch operation sequence.
In specific implementation, the input type of the single-point touch operation can be determined according to the high-voltage duration, and the pause type between adjacent single-point touch operations can be determined according to the low-voltage duration. And then, obtaining a first touch operation sequence according to the input type and the pause type of the single-point touch operation.
That is to say, the signal identification according to the high voltage duration of each single-point touch operation and the low voltage duration between the single-point touch operations in the embodiment includes:
determining the input type of the single-point touch operation according to the high voltage duration, and determining the pause type according to the low voltage duration;
and obtaining the first touch operation sequence based on the determined input type and the pause type.
Further, in this embodiment, determining the input type of the single-point touch operation according to the high voltage duration includes:
if the high voltage duration is less than or equal to a first threshold, determining that the input type is point input;
and if the high voltage duration is greater than the first threshold, determining that the input type is input division.
Wherein the first threshold may be adapted according to the experience of the skilled person. For example, 0.5 seconds(s), and is not limited thereto.
Optionally, the high voltage duration may be compared with a first threshold, and it is determined whether the input type of the single-point touch operation belongs to a point input or a stroke input.
For example, if the first threshold is 0.5s and the duration of the single-point touch operation in the high voltage state is 0.7s, it may be determined that the input type of the single-point touch operation belongs to the stroke input.
For another example, if the first threshold is 0.5s and the duration of the single-point touch operation in the high voltage state is 0.2s, it may be determined that the input type of the single-point touch operation belongs to the point input.
In an actual use process, when a user performs a single-point touch operation on a preset interface, an interval may exist between adjacent single-point touch signals, and the interval may be a pause when the user inputs the touch operation. Therefore, the embodiment can also determine the pause type when the user inputs the single-ended touch operation.
In specific implementation, the low-voltage duration between each single-point touch operation can be compared with a preset threshold value, and the pause type between adjacent single-point touch operations is determined.
Illustratively, determining the type of stall based on the low voltage duration includes:
if the low voltage duration is less than or equal to a second threshold, determining that the pause type is dot-dash pause;
if the low voltage duration is greater than a second threshold and less than or equal to a third threshold, determining that the pause type is character pause;
if the low-voltage duration is greater than a third threshold and less than or equal to a fourth threshold, determining that the pause type is an inter-word pause;
and if the low voltage duration is greater than a fourth threshold, determining that the pause type is inter-sentence pause.
The second threshold, the third threshold, and the fourth threshold may be adaptively set according to an actual application scenario, which is not limited in this embodiment.
It should be noted that the second threshold is smaller than the third threshold, and the third threshold is smaller than the fourth threshold.
Wherein the types of quiesces include at least one of: pauses between dots and strokes, pauses between words and words between characters, and pauses between sentences.
Optionally, in this embodiment, a timer may be used to determine a low voltage duration between each single-point touch operation, and then the low voltage duration is compared with the duration thresholds of different pause types to determine a pause type between adjacent single-point touch operations.
For example, assuming that a pause duration between dots and strokes is 0.5s (i.e., a second threshold), a pause duration between characters is 1.5s (i.e., a third threshold), and a pause between sentences is 5s (i.e., a fourth threshold), when it is determined that a low voltage duration between respective single-point touch operations is 1.5s, it is determined that a type of pause between adjacent single-point touch operations is a pause between characters.
It can be understood that, in the present embodiment, the signal identification is performed on each single-point touch operation to obtain the first touch operation sequence.
S203, matching the first touch operation sequence with at least two preset second touch operation sequences.
And S204, if the matching is successful, executing the function associated with the matched second touch operation sequence.
It should be noted that, in the present embodiment, the implementation principle and the process from step S203 to step S204 are similar to that of step S102 and step S103 in the foregoing embodiment, and reference may be specifically made to the foregoing embodiment, which is not described in detail herein.
In the single-point touch control method provided by the embodiment of the invention, signal identification is performed according to the high-voltage duration of each single-point touch operation and the low-voltage duration between the single-point touch operations to obtain a first touch operation sequence, then the first touch operation sequence is matched with at least two preset second touch operation sequences, and if the first touch operation sequence is successfully matched with any one of the second touch operation sequences, a function associated with the second touch operation sequence is executed. Therefore, the input type of the single-point touch operation and the pause type among the single-point touch operations are determined by analyzing the voltage change condition corresponding to the single-point touch operation, and the first touch operation sequence is obtained according to the input type of the single-point touch operation and the pause type among the single-point touch operations, so that the accuracy and the reliability of the obtained first touch operation sequence are ensured.
EXAMPLE III
In order to achieve the above object, a third embodiment of the present invention further provides a single-point touch control device.
Fig. 3 is a schematic structural diagram of a single-touch control device according to a third embodiment of the present invention.
As shown in fig. 3, the single-touch control apparatus according to the embodiment of the present invention includes: a detection module 311, a matching module 312, and a control module 313.
The detecting module 311 is configured to detect a single-point touch operation applied to a preset receiving port to obtain a first touch operation sequence;
a matching module 312, configured to match the first touch operation sequence with at least two preset second touch operation sequences;
the control module 313 is configured to execute the function associated with the matched second touch operation sequence if the matching is successful.
As an optional implementation manner of the embodiment of the present invention, the preset receiving port includes at least one of the following: predetermine button, touch-sensitive screen and fingerprint module.
As an optional implementation manner of the embodiment of the present invention, the second operation sequence is a single-point touch operation sequence arranged according to a preset rule.
As an optional implementation manner of the embodiment of the present invention, the control module 313 is further configured to:
and sending a vibration instruction to the vibration device to control the vibration device to vibrate.
It should be noted that the foregoing explanation of the embodiment of the single-touch control method is also applicable to the single-touch control apparatus of the embodiment, and the implementation principle is similar, and is not repeated here.
The single-point touch control device provided in the embodiment of the present invention obtains a first touch operation sequence by detecting a single-point touch operation applied to a preset receiving port, matches the first touch operation sequence with at least two preset second touch operation sequences, and executes a function associated with the matched second touch operation sequence if matching is successful. From this, through single-point touch operation, can realize the control to electronic equipment, not only satisfy the not good or inconvenient user's user demand of action of eyesight, can also further simplify user operation, save the time of operation cost, improved user and used experience.
Example four
Fig. 4 is a schematic structural diagram of a single-touch control device according to a fourth embodiment of the present invention.
As shown in fig. 4, the single-touch control apparatus according to the embodiment of the present invention includes: a detection module 311, a matching module 312, and a control module 313.
The detecting module 311 is configured to detect a single-point touch operation applied to a preset receiving port to obtain a first touch operation sequence;
a matching module 312, configured to match the first touch operation sequence with at least two preset second touch operation sequences;
the control module 313 is configured to execute the function associated with the matched second touch operation sequence if the matching is successful.
As an optional implementation manner of the embodiment of the present invention, the detecting module 311 includes: a detection subunit 3111 and an identification subunit 3112.
The detection subunit 3111 is configured to detect a single-point touch operation applied to the preset receiving port;
the identifying subunit 3112 is configured to perform signal identification according to the high voltage duration of each single-point touch operation and the low voltage duration between the single-point touch operations, so as to obtain the first touch operation sequence.
As an optional implementation manner of the embodiment of the present invention, the identifier unit 3112 is specifically configured to:
determining the input type of the single-point touch operation according to the high voltage duration, and determining the pause type according to the low voltage duration;
and obtaining the first touch operation sequence based on the determined input type and the pause type.
As an optional implementation manner of the embodiment of the present invention, the identifying subunit 3112 is further configured to:
if the high voltage duration is less than or equal to a first threshold, determining that the input type is point input;
and if the high voltage duration is greater than the first threshold, determining that the input type is input division.
As an optional implementation manner of the embodiment of the present invention, the identifying subunit 3112 is further configured to:
if the low voltage duration is less than or equal to a second threshold, determining that the pause type is dot-dash pause;
if the low voltage duration is greater than a second threshold and less than or equal to a third threshold, determining that the pause type is character pause;
if the low-voltage duration is greater than a third threshold and less than or equal to a fourth threshold, determining that the pause type is an inter-word pause;
and if the low voltage duration is greater than a fourth threshold, determining that the pause type is inter-sentence pause.
It should be noted that the foregoing explanation of the embodiment of the single-touch control method is also applicable to the single-touch control apparatus of the embodiment, and the implementation principle is similar, and is not repeated here.
The single-point touch control device provided in the embodiment of the present invention performs signal identification according to the high voltage duration of each single-point touch operation and the low voltage duration between the single-point touch operations to obtain a first touch operation sequence, matches the first touch operation sequence with at least two preset second touch operation sequences, and executes a function associated with the second touch operation sequence if the first touch operation sequence is successfully matched with any one of the second touch operation sequences. Therefore, the input type of the single-point touch operation and the pause type among the single-point touch operations are determined by analyzing the voltage change condition corresponding to the single-point touch operation, and the first touch operation sequence is obtained according to the input type of the single-point touch operation and the pause type among the single-point touch operations, so that the accuracy and the reliability of the obtained first touch operation sequence are ensured.
EXAMPLE five
In order to achieve the above object, an embodiment of the present invention further provides an electronic device.
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor 50, a memory 51, an input device 52, and an output device 53; the number of the processors 50 in the electronic device may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50, the memory 51, the input device 52 and the output device 53 in the electronic apparatus may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 51 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the single-touch control method in the embodiment of the present invention (e.g., the detection module 311, the matching module 312, and the control module 313 in the single-touch control apparatus). The processor 50 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 51, so as to implement the above-mentioned single-touch control method.
The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 52 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus. The output device 53 may include a display device such as a display screen.
It should be noted that the foregoing explanation of the embodiment of the single-touch control method is also applicable to the electronic device of the embodiment, and the implementation principle is similar, and is not described herein again.
The electronic device provided by the embodiment of the invention obtains the first touch operation sequence by detecting the single-point touch operation acting on the preset receiving port, matches the first touch operation sequence with at least two preset second touch operation sequences, and executes the function associated with the matched second touch operation sequence if the matching is successful. From this, through single-point touch operation, can realize the control to electronic equipment, not only satisfy the not good or inconvenient user's user demand of action of eyesight, can also further simplify user operation, save the time of operation cost, improved user and used experience.
EXAMPLE six
In order to achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the single-touch control method according to the first aspect, where the method includes:
detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence;
matching the first touch operation sequence with at least two preset second touch operation sequences;
and if the matching is successful, executing the function associated with the matched second touch operation sequence.
Of course, the computer-readable storage medium provided in the embodiments of the present invention has computer-executable instructions that are not limited to the method operations described above, and may also perform related operations in the single-touch control method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable an electronic device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A single-touch control method, comprising:
detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence;
matching the first touch operation sequence with at least two preset second touch operation sequences;
and if the matching is successful, executing the function associated with the matched second touch operation sequence.
2. The method of claim 1, wherein the predetermined receiving port comprises at least one of: predetermine button, touch-sensitive screen and fingerprint module.
3. The method of claim 1, wherein detecting the single touch operation applied to the predetermined receiving port to obtain a first touch operation sequence comprises:
detecting a single-point touch operation acting on the preset receiving port;
and performing signal identification according to the high-voltage duration of each single-point touch operation and the low-voltage duration between the single-point touch operations to obtain the first touch operation sequence.
4. The method of claim 3, wherein the signal identification according to the high voltage duration of each single-point touch operation and the low voltage duration between each single-point touch operation comprises:
determining the input type of the single-point touch operation according to the high voltage duration, and determining the pause type according to the low voltage duration;
and obtaining the first touch operation sequence based on the determined input type and the pause type.
5. The method of claim 4, wherein determining the input type of the single-point touch operation according to the high voltage duration comprises:
if the high voltage duration is less than or equal to a first threshold, determining that the input type is point input;
and if the high voltage duration is greater than the first threshold, determining that the input type is input division.
6. The method of claim 4, wherein determining a stall type based on the low voltage duration comprises:
if the low voltage duration is less than or equal to a second threshold, determining that the pause type is dot-dash pause;
if the low voltage duration is greater than a second threshold and less than or equal to a third threshold, determining that the pause type is character pause;
if the low-voltage duration is greater than a third threshold and less than or equal to a fourth threshold, determining that the pause type is an inter-word pause;
and if the low voltage duration is greater than a fourth threshold, determining that the pause type is inter-sentence pause.
7. The method of claim 1, wherein the second operation sequence is a single-point touch operation sequence arranged according to a preset rule.
8. The method of claim 1, wherein the detecting the single touch operation applied to the predetermined receiving port is followed by:
and sending a control instruction to the vibration device to control the vibration device to vibrate.
9. A single-touch control apparatus, comprising:
the detection module is used for detecting single-point touch operation acting on a preset receiving port to obtain a first touch operation sequence;
the matching module is used for matching the first touch operation sequence with at least two preset second touch operation sequences;
and the control module is used for executing the matched function associated with the second touch operation sequence if the matching is successful.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the single touch control method of any of claims 1-8 when executing the program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the single touch control method according to any one of claims 1 to 8.
CN201910926963.7A 2019-09-27 2019-09-27 Single-point touch control method, device, equipment and storage medium Pending CN110658920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926963.7A CN110658920A (en) 2019-09-27 2019-09-27 Single-point touch control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926963.7A CN110658920A (en) 2019-09-27 2019-09-27 Single-point touch control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110658920A true CN110658920A (en) 2020-01-07

Family

ID=69039576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926963.7A Pending CN110658920A (en) 2019-09-27 2019-09-27 Single-point touch control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110658920A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399632A (en) * 2013-07-16 2013-11-20 深圳市金立通信设备有限公司 Gesture control method and mobile terminal
CN108323196A (en) * 2018-01-29 2018-07-24 深圳前海达闼云端智能科技有限公司 terminal control method, device, storage medium and electronic equipment
CN109117047A (en) * 2017-06-22 2019-01-01 西安中兴新软件有限责任公司 terminal control method and device, mobile terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399632A (en) * 2013-07-16 2013-11-20 深圳市金立通信设备有限公司 Gesture control method and mobile terminal
CN109117047A (en) * 2017-06-22 2019-01-01 西安中兴新软件有限责任公司 terminal control method and device, mobile terminal and computer readable storage medium
CN108323196A (en) * 2018-01-29 2018-07-24 深圳前海达闼云端智能科技有限公司 terminal control method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108335695B (en) Voice control method, device, computer equipment and storage medium
CN106782554B (en) Voice awakening method and device based on artificial intelligence
CN103646646B (en) A kind of sound control method and electronic equipment
CN109493849A (en) Voice awakening method, device and electronic equipment
CN106098063B (en) Voice control method, terminal device and server
CN110544473B (en) Voice interaction method and device
CN108564948B (en) Voice recognition method and electronic equipment
CN103559880B (en) Voice entry system and method
US10284896B2 (en) Smart TV controlling method and smart TV thereof
TW202025138A (en) Voice interaction method, device and system
CN104933048A (en) Voice message processing method and device, and electronic device
CN110069769B (en) Application label generation method and device and storage device
CN110097884B (en) Voice interaction method and device
CN109165292A (en) Data processing method, device and mobile terminal
CN104679413A (en) Control method and control device for playing music
EP3419262B1 (en) Initialization method for a smart device
CN112116910A (en) Voice instruction recognition method and device, storage medium and electronic device
CN111954868A (en) Multi-voice assistant control method, device, system and computer readable storage medium
CN112084478A (en) Multi-user account switching method and device, electronic equipment and storage medium
CN113963695A (en) Awakening method, awakening device, equipment and storage medium of intelligent equipment
CN111724781A (en) Audio data storage method and device, terminal and storage medium
CN104424944A (en) Information processing method and electronic device
CN112634897B (en) Equipment awakening method and device, storage medium and electronic device
CN105808300B (en) A kind of starting-up method and device of terminal
CN110262278B (en) Control method and device of intelligent household electrical appliance and intelligent household electrical appliance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200107