CN107203322A - Touch sound equipment button and its control method - Google Patents

Touch sound equipment button and its control method Download PDF

Info

Publication number
CN107203322A
CN107203322A CN201710335208.2A CN201710335208A CN107203322A CN 107203322 A CN107203322 A CN 107203322A CN 201710335208 A CN201710335208 A CN 201710335208A CN 107203322 A CN107203322 A CN 107203322A
Authority
CN
China
Prior art keywords
touch
sound equipment
ito
event
pads
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.)
Granted
Application number
CN201710335208.2A
Other languages
Chinese (zh)
Other versions
CN107203322B (en
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201710335208.2A priority Critical patent/CN107203322B/en
Publication of CN107203322A publication Critical patent/CN107203322A/en
Application granted granted Critical
Publication of CN107203322B publication Critical patent/CN107203322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The present invention provides a kind of touch sound equipment button and its control method.Wherein, method includes the steps:According to the touch operation on the ITO touch pads of sound equipment, corresponding touch event is determined;According to the placing attitude of sound equipment, the corresponding relation of touch event type and control model is determined;Corresponding relation based on the touch event type and control model, determines that the control indicated by the touch event is intended to;Control according to indicated by the touch event is intended to, and controls the working condition of sound equipment.Technical scheme realizes the identification to complicated touch gestures under different sound equipment placement states, and automatically controls based on recognition result the working condition of sound equipment so that sound equipment button is further intelligent.

Description

Touch sound equipment button and its control method
Technical field
The present invention relates to intelligent sound button interactive controlling strategy field, more particularly to a kind of touch sound equipment button and its Control method.
Background technology
Traditional sound equipment button is made up of mechanical structure, and mechanical structure button cost is high, shell structure complexity and function It is relatively simple.Generally, for volume adjusting, suspend, the simple functions such as start and be required for fixed button to go execution, therewith, will The a large amount of of controller pin are brought to use.With the appearance of intelligent sound box and being continually changing for UI interactive modes, the button of audio amplifier Simplify and reform constantly.
At present, the sound equipment button with touch function is occurred in that.But, the touch function of these sound equipment buttons is single, no Can the complicated touch gestures of identification.
The content of the invention
The present invention provides a kind of touch sound equipment button and its control method, touch gestures and basis to recognize complexity Recognition result automatically controls the working condition of sound equipment so that sound equipment button is further intelligent.
The present invention provides a kind of touch sound equipment button, including:
ITO touch pads for detecting touch operation;
Inertial detector for detection of sound placing attitude;
The sound equipment pendulum detected for the touch operation and the inertial detector that are detected according to the ITO touch pads Put the micro-control unit of gesture stability sound equipment working condition;And, the connection ITO touch pads are soft with the micro-control unit Property circuit board connector.
Still optionally further, in addition to:It is electrically connected for detection of sound local environment humiture, and with the micro-control unit The Temperature Humidity Sensor connect.
Still optionally further, the ITO touch pads include:ITO conducting films, the electric capacity below the ITO conducting films Array and at least one touch detection passage for being connected to the capacitor array;At least one touch detection passage and institute State flexible circuit board connector connection.
Still optionally further, in addition to:Open up reeded key casing;The ITO touch pads are embedded in the groove It is interior, at least two mounting holes are additionally provided with the key casing, and at least two mounting hole site is in the groove both sides.
The present invention also provides a kind of control method of touch sound equipment button, including:
According to the touch operation on the ITO touch pads of sound equipment, corresponding touch event is determined;
According to the placing attitude of sound equipment, the corresponding relation of touch event type and control model is determined;
Corresponding relation based on the touch event type and control model, determines the control indicated by the touch event It is intended to;
Control according to indicated by the touch event is intended to, and controls the working condition of sound equipment.
Still optionally further, before the capture is for the touch operation of ITO touch pads, in addition to:Obtain residing for sound equipment The humiture information of environment;According to the humiture information, the touch parameter of the ITO touch pads is set.
Still optionally further, the touch parameter of the setting ITO touch pads, including following at least one:The ITO is set The sensitivity of touch pad;The anti-interference grade of the ITO touch pads is set;The over-sampling grade of the ITO touch pads is set;If Put the gain coefficient of the ITO touch pads.
Still optionally further, according to the touch operation on the ITO touch pads of sound equipment, corresponding touch event is determined, including: If the touch duration of the touch operation is in the range of the corresponding duration of click event, it is determined that the touch operation correspondence is clicked Event.
Still optionally further, if the touch duration of the touch operation exceeds the corresponding duration scope of the click event, Methods described also includes:Calculate in real time the touch operation on the ITO touch pads corresponding current touch point relative to rise The offset of initial point;If the offset is more than or equal to default deviation range, determine that the touch operation correspondence slides thing Part.
Still optionally further, the touch operation correspondence slip event is determined, in addition to:According to the touch operation in institute State corresponding terminating point on ITO touch pads and, relative to the direction of the starting point, determine the corresponding slip of the slip event Direction;And/or, the offset according to the terminating point relative to the starting point determines the corresponding slip of the slip event Distance.
Still optionally further, the touch operation correspondence slip event is determined, in addition to:The touch operation is obtained in institute State the flex point in corresponding sliding process on ITO touch pads;According to the touch operation on the ITO touch pads corresponding end Stop, the starting point and the flex point, determine the glide direction of the slip event;And/or, according to the starting point, Adjacent 2 points of offset between the terminating point and the flex point, determines the sliding distance of the slip event.
Still optionally further, if the offset is less than the deviation range, it is determined that the touch operation correspondence long-press Event.
Touch sound equipment button and its control method that the present invention is provided, the sound equipment detected according to inertial detector are put The touch event that posture and ITO touch pads are detected controls the working condition of sound equipment, realizes and puts shape in different sound equipments To the identification of complicated touch gestures under state, and automatically control based on recognition result the working condition of sound equipment so that sound equipment button enters One step is intelligent.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 a are the structural representations of touch sound equipment button provided in an embodiment of the present invention;
Fig. 1 c are the structural representations of another touch sound equipment button provided in an embodiment of the present invention;
Fig. 1 b are the structural representations of ITO touch pads 10 provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the control method of touch sound equipment button provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the control method of another touch sound equipment button provided in an embodiment of the present invention;
Fig. 4 is the method flow schematic diagram of determination touch event provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 a are the structural representations of touch sound equipment button provided in an embodiment of the present invention.With reference to Fig. 1 a, the touch-control Formula sound equipment button includes the ITO touch pads 10 for being used to detect touch operation;Inertial detector for detection of sound placing attitude (Inertial measurement unit, IMU) 11;For the touch operation detected according to ITO touch pads 10 and inertia The sound equipment placing attitude that detector 11 is detected controls the micro-control unit (Microcontroller of sound equipment working condition Unit, MCU) 12;And, the flexible circuit board connector 13 of connection ITO touch pads 10 and micro-control unit 12.
Fig. 1 b are the structural representations of ITO touch pads 10 provided in an embodiment of the present invention.As shown in Figure 1 b, ITO touch pads 10 include:ITO conducting films 101, the capacitor array 102 located at the lower section of ITO conducting films 101 and it is connected to capacitor array 102 At least one touch detection passage 103.Wherein, at least one touch detection passage 103 is connected with flexible circuit board connector 13. When having touch operation on ITO conducting films 101, capacitor array 102 can produce capacitance variations, and micro-control unit 12 detects electricity successively The lateral capacitance array and longitudinal capacitor array for holding array 102 are that can determine that generation capacitance variations point and its coordinate.
The quantity of touch detection passage 103 is related to the precision of touch detection, can be according to the type of sound equipment button product And the sizes of ITO touch pads 10 is set, the embodiment of the present invention is not limited.In one alternatively embodiment, work as ITO The length of touch pad 10 is 55mm, when width is 7.3mm, can set 3 touch detection passages, to have in guarantee ITO touch pads 10 Interfering between multi-touch sense channel is avoided while having higher accuracy of detection.
Wherein, the placing attitude of the detection of sound of inertial detector 11, can be that the positive of detection of sound places posture or fallen To placement posture.It should be appreciated that when the face shaping of sound equipment disclosure satisfy that the placing attitude of other forms, inertial detector 11 The placing attitude of detection is not limited in positive placement posture or swings to placement posture.For example, outward appearance is the sound of 12 face shapes Ring using any of which face and be when putting face, inertial detector 11 can by detect this put face and predefined positive placed side it Between angle determine placing attitude that sound equipment is current.
Micro-control unit 12 is electrically connected with inertial detector 11, and the audio amplifier detected with receiving inertial detector 11 puts appearance State data.After audio amplifier placing attitude data are received, micro-control unit 12 automatically adjusts pre- according to the placing attitude of sound equipment The touch event type and the corresponding relation of control model first configured.
In an optional embodiment, during initial configuration, define sound equipment forward direction when putting, glide direction from sound equipment the Slip event correspondence increase volume this control model of second side is pointed in one side, and glide direction points to the from second side This control model of the slip event correspondence reduction volume of one side.When micro-control unit 12 knows that sound equipment placing attitude is to swing to During placement, corresponding this control model of reduction volume of slip event that adjustment glide direction points to second side from first side, Corresponding this control model of increase volume of slip event that glide direction points to first side from second side.
Alternatively, flexible circuit board connector (Flexible Printed Circuit are used in the embodiment of the present invention Connector) 13 connection ITO touch pads 10 and micro-control unit 12.The small volume of flexible circuit board connector 13, weight Gently, and pliability is high, it is easy to the assembling in the confined space.
In the present embodiment, the agent structure of touch sound equipment button is by ITO touch pads 10, inertial detector 11 and micro-control Unit 12 processed is constituted.Micro-control unit 12 can receive the complicated touch operation that ITO touch pads 10 are detected, and this is touched Operation is parsed into different types of touch event.Different type based on touch event, micro-control unit 12 is further combined with used Property the control of sound equipment placing attitude analysis user that detects of detector 11 be intended to, and be intended to control according to the obtained control of analysis The working condition of sound equipment, and then the identification under different sound equipment placement states to complicated touch gestures is realized, and based on knowledge Other result automatically controls the working condition of sound equipment so that sound equipment button is further intelligent.
If Fig. 1 c are the structural representations of another touch sound equipment button provided in an embodiment of the present invention.As shown in Figure 1 b, Touch sound equipment button provided in an embodiment of the present invention also include be used for detection of sound local environment humiture, and with microcontroller list The Temperature Humidity Sensor 16 of the electrical connection of member 12.
Wherein, Temperature Humidity Sensor 16 is detected after the humiture of sound equipment local environment, and temperature-humidity signal is sent to micro- Control unit 12.The humiture information of current environment of the micro-control unit 12 according to indicated by the temperature-humidity signal received is set The touch parameter of ITO touch pads 10, to cause ITO touch pads 10 to be adaptively adjusted performance under different humiture environment, And then improve accuracy of detection and lift Consumer's Experience.
Alternatively, micro-control unit 12 sets the touch parameter of ITO touch pads 10 according to the humiture information of current environment, Including in the sensitivity to ITO touch pads, the anti-interference grade of ITO touch pads, over-sampling grade and gain coefficient at least A kind of parameter is configured.For example, when humiture information is more than a certain specific threshold, micro-control unit 12 can lift ITO and touch The anti-interference grade and over-sampling grade of template 10 simultaneously increase gain coefficient.
In the present embodiment, by setting up Temperature Humidity Sensor 16, and then micro-control unit 12 in touch sound equipment button The touch parameter of touch pad can be automatically configured according to the humiture of environment where sound equipment, further improve touch sound equipment by Key improves Consumer's Experience to the adaptability of environment.
Still optionally further, as shown in Fig. 1 a and Fig. 1 c, touch sound equipment button includes opening up reeded button Shell 14;The ITO touch pads 10 are embedded in groove.Specific inline mode can be that card sets or pasted, and the present invention is implemented Example is not limited.In Fig. 1 a and Fig. 1 c, at least two mounting holes 15, and at least two mounting holes are additionally provided with key casing 14 15 are located at groove both sides.At least two mounting hole 15 is used to the touch sound equipment button being installed on sound equipment.
Fig. 2 is the schematic flow sheet of the control method of touch sound equipment button provided in an embodiment of the present invention.With reference to figure 2, this method includes:
Step 201, according to the touch operation on the ITO touch pads of sound equipment, determine corresponding touch event.
Step 202, the placing attitude according to sound equipment, determine the corresponding relation of touch event type and control model.
Step 203, the corresponding relation based on the touch event type and control model, are determined indicated by touch event Control is intended to.
Step 204, the control according to indicated by touch event are intended to, and control the working condition of sound equipment.
For step 201, ITO touch pads are located on the touch-controlled key of sound equipment, and user can be by the ITO touch pads Touch operation is carried out to control sound equipment to dbjective state.
Touch operation refers to can result in the operation that capacitor array on ITO touch pads produces capacitance variations, for example for A certain coordinate points pressing operation on ITO touch pads, for multiple coordinate points while pressing operation or coordinate consecutive variations press Press operation etc..
Touch event, can refer to event being recognized by MCU, corresponding to certain touch operation.These and touch event Corresponding touch operation need to generally meet the recognition rule being pre-configured with, for example, touch duration and reach a certain threshold value, touch direction Meet a direction demand or touch operation path meets a certain path rule etc..The recognition rule met according to touch operation is not Together, the corresponding touch event of touch operation can divide into the event of different types, such as click event, long-press event or Slip event.Further, for slip event, glide direction, sliding distance and the slip road of slip event also be can recognize that The attributes such as footpath.
For step 202, the placing attitude of sound equipment, as described in previous embodiment, can be it is positive place posture or Swing to placement posture or other possible postures.
Control model, is different control modes of the MCU to the working condition of sound equipment, such as ON/OFF, broadcasting/pause, it is upper/ Lower song switching, skip forward/back, increase/reduction of volume etc..The corresponding relation of touch event type and control model is advance It is configured at MCU's.
, can be with when being pre-configured with the corresponding relation of touch event type and control model in an optional embodiment Sound equipment forward direction is put to refer to placing attitude, respectively the different corresponding control models of touch event type initialize and determined Justice.
For example, the corresponding relation of touch event type and control model is as follows:Click event correspondence pause/play mode; The direction of second side is pointed to as the slip event correspondence increase volume pattern of glide direction using the first side of ITO touch pads, The amplitude of volume increase and the sliding distance of slip event are linear;First side is pointed to the second side of ITO touch pads The direction on side for glide direction slip event correspondence reduce volume pattern, volume reduce amplitude and slip event slip away from From linear;Long-press event corresponding power ON/OFF pattern;The side of four side is pointed to the 3rd side of ITO touch pads Next song pattern is switched to the slip event correspondence for glide direction;3rd side is pointed to the four side of ITO touch pads The direction on side switches to song pattern etc. for the slip event correspondence of glide direction.Here to first side, second side, 3rd side and four side are not limited.For example, the top that first side can be ITO touch pads when normally placing, second Side is corresponding with top following;3rd side can be left side when ITO touch pads are normally placed, and four side is and a left side The corresponding the right in side.
It should be appreciated that above-mentioned definition mode is only used for illustration, the embodiment of the present invention is not construed as limiting.At this In inventive embodiments, the corresponding relation of touch event type and control model can also be set by User Defined, not repeated herein.
Generally, when the touch event type and the corresponding relation of control model for keeping being pre-configured with are constant, if sound equipment is put Posture difference is put, the gesture that user carries out touch control operation to touch sound equipment button needs accommodation therewith.For example, sound equipment When forward direction is placed, if user wants to increase the volume of sound equipment, can be up to lower in ITO touch pads and upper slide.Sound equipment swings to placement When, if user can from top to bottom slide to the volume of increase sound equipment on ITO touch pads.
A kind of possible in the case of, in order to more attractive in appearance, the appearance design of sound equipment is full symmetric up and down, in user For, it is impossible to point for distinguishing positive and swinging to, user can produce puzzlement when using gesture.At the same time, that is, allow users to The forward direction of sound equipment is differentiated with swinging to, when using gesture, also needs to think deeply this using any gesture according to the placing attitude of sound equipment, Add the memory complexity of gesture.
To solve in drawbacks described above, the present embodiment, it is determined that after the corresponding touch event of touch control operation, MCU is further obtained Take the placing attitude of sound equipment, and the touch event type and pair of control model being pre-configured with according to the renewal of the placing attitude of sound equipment It should be related to.
Alternatively, obtaining the placing attitude of sound equipment can be realized by inertial detector.IMU can monitor sound equipment pendulum in real time The change of posture is put, and the varying signal of the placing attitude detected is uploaded to MCU.MCU parses the variable signal, determines sound The placing attitude at current time is rung, and determines the corresponding relation of touch event type and control model.
Alternatively, if the current placing attitude of sound equipment is put for forward direction, the touch event being pre-configured with can directly be continued to use The corresponding relation of type and control model;If the current placing attitude of sound equipment is put, it is necessary to update touch event type to swing to With the corresponding relation of control model.For example, accepting above-mentioned example, the corresponding relation of touch event type and control model is updated Afterwards, the direction of first side is pointed to as the slip event correspondence increase volume thing of glide direction using the second side of ITO touch pads Part, the direction of second side is pointed to as the slip event correspondence reduction volume thing of glide direction using the first side of ITO touch pads Part.So as to which, user can be directly corresponding with control model according to pre-defined gesture without considering the placing attitude of sound equipment Relation, the working condition of key control sound equipment is pressed by touch sound equipment.
For step 203, the corresponding touch event of touch operation is determined in step 201 and is determined in step 202. After the corresponding relation of touch event type and control model, the corresponding relation of touch event type and control model can be inquired about, is entered And the corresponding control model of touch event determined by step 201 is determined, touch event is determined based on identified control model The control of indicated user is intended to.The control of user is intended to that sound equipment power supply, broadcasting/pause song, switching can be on/off The currently playing song of up/down song, skip forward/back, increase/reduction broadcast sound volume etc..
It should be appreciated that the corresponding control model of a certain touch event type, touch thing corresponding with the touch event type The control of user indicated by part is intended that correspondingly, and then MCU can be according to pair of touch event type and control model It should be related to that the control for determining the user indicated by touch event is intended to.For example, click this touch event type correspond to play/ Suspend this control model, then the control of the user indicated by click event is intended to broadcasting/pause current title.For another example Long-press this touch event type corresponds to ON/OFF sound equipment power supply this control model, then the user indicated by long-press event Control is intended to ON/OFF sound equipment power supply.
For step 204, after the control intention for obtaining user, the working condition of sound equipment is controlled.For example, the control meaning of user Figure is that currently playing song is switched into next song, then MCU can control the switching of sound equipment march purpose.
In the embodiment of the present invention, the working condition of sound equipment is controlled according to sound equipment placing attitude and touch event, is realized Identification under different sound equipment placement states to complicated touch gestures, and automatically control based on recognition result the work shape of sound equipment State so that sound equipment button is further intelligent.
Fig. 3 is the schematic flow sheet of the control method of another touch sound equipment button provided in an embodiment of the present invention.With reference to Fig. 3, this method includes:
Step 301, the humiture information for obtaining sound equipment local environment.
Step 302, according to humiture information, the touch parameter of ITO touch pads is set.
Step 303, according to the touch operation on the ITO touch pads of sound equipment, determine corresponding touch event.
Step 304, the placing attitude according to sound equipment, determine the corresponding relation of touch event type and control model.
Step 305, the corresponding relation based on the touch event type and control model, are determined indicated by touch event Control is intended to.
Step 306, the control according to indicated by touch event are intended to, and control the working condition of sound equipment.
For step 301, obtaining the humiture information of sound equipment local environment can be realized by Temperature Humidity Sensor.Humiture is passed Sensor is detected after Temperature Quantity and humidity amount, converts thereof into the electric signal that can be handled by MCU, and the electric signal is entered by MCU Row parses to obtain the humiture information of sound equipment local environment.
ITO touch pads are directly exposed in air, and temperature, the humidity of air can all influence the capacitance size of touch pad.Example Such as the water droplet or gravel of ITO touchpad surfaces, it is possible to directly contribute mistaken touch.In the present embodiment, temperature and humidity sensing is passed through Device is obtained after the humiture of ITO touch pad local environments, can perform step 301 to overcome drawbacks described above.
For step 301, the sensitivity of the touch parameter of ITO touch pads, including ITO touch pads, anti-interference grade, mistake are adopted Sample grade and gain coefficient etc..According to humiture information, above-mentioned at least one touch parameter of ITO touch pads can be set, enters And ensure high-performance of the touch sound equipment button under different temperature and humidity conditions.
For example, when the humidity increase in environment, sensitivity, anti-interference grade, over-sampling of ITO touch pads etc. can be lifted Level or gain coefficient, to ensure in the case of having a small amount of water on ITO touch pads, normally detect touch operation.
Based on the touch parameter of the ITO touch pads set by step 301-302, step 303- steps 306 are performed, sound is controlled Loud working condition.Embodiment on step 303- steps 306 refers to the record of Fig. 2 correspondence embodiments, herein Repeat no more.
In the present embodiment, by the humiture information of detection of sound local environment, and then according to the temperature of sound equipment place environment Humidity automatically configures the touch parameter of touch pad, further improves adaptability of the touch sound equipment button to environment, lifting Consumer's Experience.
Fig. 4 is the method flow schematic diagram of determination touch event provided in an embodiment of the present invention, and with reference to Fig. 4, the present invention is real Apply in example, ITO touch pads determine that the flow of touch event is as follows:
Step 401, the touch operation in response to ITO touch pads, record the touch duration of touch operation.
Step 402, judge touch duration whether in the range of the corresponding duration of click event;If it is, performing step 403;If it has not, performing step 404.
Step 403, determine touch operation correspondence click event.
Step 404, in real time calculating touch operation corresponding current touch point on ITO touch pads are inclined relative to starting point Shifting amount.
Step 405, judge to calculate whether obtained offset is more than or equal to default deviation range;If it is, performing Step 406;If it has not, performing step 407.
Step 406, determine touch operation correspondence slip event.
Step 407, determine touch operation correspondence long-press event.
For step 401, MCU monitors the capacitance variations on ITO touch pads in real time, if detecting a certain coordinate points has electric capacity During change, there is touch operation in the coordinate points for determining this generation capacitance variations.Before capacitance variations stopping, electric capacity is persistently recorded The duration of change as touch operation touch duration.
For step 402, the corresponding duration scope of click event is pre-defined, and this step need to contrast previous step inspection Whether the touch duration of the touch operation measured is in the range of the pre-defined corresponding duration of click event.
For step 403, if touching duration in the range of the corresponding duration of click event, the touch operation pair can determine that Answer click event.Determine after click event, MCU can be closed according to the touch event type being pre-configured with is corresponding with control model In system, inquire about the corresponding control of the click event and be intended to and the working condition of sound equipment is controlled.
For example, in MCU, the broadcasting/pause for the currently playing song of click event correspondence being pre-configured with, then MCU can root It is intended to according to the control of user, the current title in pause broadcasting, or plays the current title in pause.
For step 404, touch operation corresponding starting point on ITO touch pads, for for this touch operation first Detect the point of capacitance variations.Touch operation corresponding current touch point, i.e. current time on ITO touch pads, ITO touch pads The upper coordinate points for producing capacitance variations.
If touching duration exceeds the corresponding duration scope of click event, sustainable record touches duration, and according to generation The changes in coordinates situation of the point of capacitance variations calculates offset of the current touch point relative to starting point.
For step 405, deviation range is pre-defined.In this step, current touch point is got relative to starting , it is necessary to judge whether current offset reaches pre-defined deviation range after the offset of point.
For step 406, if current offset has reached pre-defined deviation range, the touch operation can determine that One slip event of correspondence.MCU is persistently monitored to the changes in coordinates that capacitance variations point is produced on ITO touch pads, and is counted in real time Calculate offset of the current touch point relative to starting point., will if offset has the change of reduction during continuing to increase The point for producing reduction change is designated as flex point.Similarly, if offset has increased change during lasting reduction, it will produce The point of increase change is designated as flex point.When MCU no longer detects the point for there are capacitance variations on ITO touch pads, then last is marked The point for producing capacitance variations is terminating point of the touch operation on ITO touch pads.
Alternatively, it is determined that during touch operation correspondence slip event, MCU can be according to the slide detected Starting point and ending point, determine the corresponding glide direction of slip event and/or sliding distance.
In an application scenarios, touch operation does not have direction change on ITO touch pads, i.e., when not detecting flex point, MCU can corresponding terminating point, relative to the direction of starting point, determines pair of slip event on ITO touch pads according to touch operation The glide direction answered.In addition, the offset that MCU can also be according to the terminating point detected relative to starting point, it is determined that sliding The corresponding sliding distance of event.For example, starting point is located at the position close to the first side of touch sound equipment button, terminating point position Position in the second side close to touch sound equipment button, then can determine that the corresponding glide direction of the slip event is:From The direction of second side is pointed in one side, determines that the corresponding sliding distance of the slip event is:Between terminating point and starting point Coordinate offset amount.
In another application scenarios, touch operation has direction change on ITO touch pads, it means that touch operation exists There is flex point in corresponding sliding process on ITO touch pads.Based on this, starting points of the MCU according to the slide detected, end Stop and flex point, determine the corresponding glide direction of slip event and/or sliding distance.
For example, MCU cocoas obtain flex point of the touch operation on ITO touch pads in corresponding sliding process.Turned in acquisition Point after, according to touch operation on ITO touch pads corresponding terminating point, starting point and flex point, determine the cunning of slip event Dynamic direction.In addition, MCU can also be according to adjacent 2 points between starting point, terminating point and flex point of offset, it is determined that sliding The sliding distance of event.
Optionally, in a slip event, flex point can have multiple, accordingly, and glide direction can also have multiple.It is theoretical On, if a slip event has N number of flex point, N is positive integer, then slip event can include N+1 glide direction.
Following part will illustrate how to terminate according to touch operation is corresponding on ITO touch pads with reference to specific example Point, starting point and flex point, determine the glide direction of slip event.For example, in a slip event, its sliding path is, from Starting point slides the first offset to flex point, and the second offset is slided to terminating point from flex point.Then, the slip event includes starting Point points to the first glide direction of flex point, and flex point points to the second glide direction of terminating point.For another example in a slip event In, its sliding path is, the first offset to the first flex point is slided from starting point, and the second offset is slided to the from the first flex point Two flex points, the 3rd offset is slided to terminating point from Second Inflexion Point.Then, the slip event points to the first flex point comprising starting point First glide direction, the first flex point point to the second glide direction of Second Inflexion Point and the 3rd of Second Inflexion Point sensing terminating point is slided Dynamic direction.
Optionally, when detecting flex point, the sliding distance of slip event is:Slide and start into terminal procedure, starting The superposition of adjacent 2 offsets between point, at least one flex point and terminating point;Wherein, if cunning indicated by two consecutive points Dynamic direction is consistent with the positive direction of definition, then the offset between the two consecutive points when being superimposed on the occasion of.If two adjacent Indicated glide direction is put with the positive direction of definition on the contrary, then the offset between the two consecutive points is negative when being superimposed Value.
Determine after slip event, MCU can be according to the touch event type and the corresponding relation of control model being pre-configured with In, the corresponding control of inquiry slip event is intended to and the working condition of sound equipment is controlled.
It is assumed that in the touch event type and the corresponding relation of control model that are pre-configured with MCU:With ITO touch pads First side point to second side direction for glide direction slip event correspondence increase volume pattern, volume increase width Degree and the sliding distance of slip event are linear;The direction of first side is pointed to as cunning using the second side of ITO touch pads The slip event correspondence in dynamic direction reduces volume pattern, and the amplitude and the sliding distance of slip event that volume reduces are linear to close System;The direction for pointing to four side using the 3rd side of ITO touch pads switches to next as the slip event correspondence of glide direction Song pattern;Switched using the direction that the four side of ITO touch pads points to the 3rd side as the slip event correspondence of glide direction Supreme song pattern.
In an optional embodiment, it is determined that touch operation correspondence slip event after, can be preferentially according to current touch Point primarily determines that the corresponding general direction of slip event relative to the direction of starting point, i.e. glide direction is pointed to first side The direction of second side is parallel, or glide direction is parallel with the direction that four side is pointed in the 3rd side, to judge the control of user System be intended to control sound equipment broadcast sound volume increase/reduction, or up/down song switching.
If the corresponding general direction of slip event is parallel with the direction that four side is pointed in the 3rd side, user can determine that Control be intended to the switching of up/down song.MCU can determine whether that four side side is pointed in specific direction for the 3rd side To, or four side point to the 3rd side directions and according to the control of user be intended to, by currently playing song switch to it is upper one song Mesh or next song.
If the corresponding general direction of slip event is parallel with the direction that second side is pointed in first side, user can determine that Control be intended to control sound equipment broadcast sound volume increase/reduction.Now, MCU need in real time according to current touch point relative to rise The direction of initial point and offset are controlled to the broadcast sound volume of sound equipment.
If for example, the corresponding direction of slip event is the direction that second side is pointed in first side, can determine that user's Control is intended to increase volume.MCU can be according to indicated by current touch point relative to the offset of starting point volume increase width Degree, increases the broadcast sound volume of sound equipment, and controls the broadcast sound volume of sound equipment with the offset produced by the movement of current touch point Change and adaptations, to produce the effect that volume realizes gradual change with the change of sliding distance.
Similarly, if the corresponding direction of slip event is the direction that first side is pointed in second side, it can determine that user's Control is intended to reduce volume.MCU can be according to indicated by current touch point relative to the offset of starting point volume down it is small size Degree, reduces the broadcast sound volume of sound equipment, and controls the broadcast sound volume of sound equipment with the offset produced by the movement of current touch point Change and adaptations, to produce the effect that volume realizes gradual change with the change of sliding distance.
Optionally, the effect that volume realizes gradual change with the change of sliding distance is produced, can refer to along first side During being slided to the direction of second side, with current touch point lasting increasing relative to the increase of the offset of starting point Big volume;When detecting flex point, the direction for pointing to first side along second side is slided, as current touch point is relative to turning Point offset increase and be gradually reduced volume.Can constantly it be slided in the direction that first side is pointed to along second side During, as current touch point persistently reduces volume relative to the increase of the offset of starting point;When detecting flex point, Along first side point to second side direction slide, with current touch point relative to the offset of flex point increase and gradually Increase volume.In above process, if detecting flex point again, according to the flex point direction adaptability relative with previous flex point Sound equipment size is adjusted, repeated no more.
It should be appreciated that after the process of gradual change, being opened in above-mentioned volume with the change of sliding distance with regard to volume from slip The moment begin to for sliding finish time corresponding overall variation, its overall loudness difference sliding distance corresponding with slip event Indicated volume increases/and reduction amplitude matches, repeats no more.
It is long when touching to exceed the corresponding duration scope of click event for step 407, and between starting point and terminating point Offset be less than default deviation range when, determine the touch operation for long-press operation.Determine after long-press event, MCU can According in the touch event type and the corresponding relation of control model being pre-configured with, the corresponding control of inquiry long-press event is intended to simultaneously Working condition to sound equipment is controlled.
For example, in MCU, the electric power on/off pattern for the long-press event correspondence sound equipment being pre-configured with, then MCU can according to The control at family is intended to, the sound equipment power supply in sound equipment power supply or closing unlatching in open and close.
In the present embodiment, MCU is by monitoring the time of the capacitance variations on ITO touch pads and producing the point of capacitance variations Changes in coordinates, realize the identification to complicated gesture.And then, the complicated gesture recognized can be parsed into different types of Touch event, to realize the multi-mode control to sound equipment.Thus, it is only necessary to an ITO touch pad, you can substitute many of tradition complexity Individual mechanical key, greatly reduces the occupancy to MCU ports and improves the interactive experience of user.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. a kind of touch sound equipment button, it is characterised in that including:
ITO touch pads for detecting touch operation;
Inertial detector for detection of sound placing attitude;
The sound equipment detected for the touch operation and the inertial detector that are detected according to the ITO touch pads puts appearance State controls the micro-control unit of sound equipment working condition;And,
Connect the flexible circuit board connector of the ITO touch pads and the micro-control unit.
2. touch sound equipment button according to claim 1, it is characterised in that also include:
For detection of sound local environment humiture, and the Temperature Humidity Sensor electrically connected with the micro-control unit.
3. touch sound equipment button according to claim 1, it is characterised in that the ITO touch pads include:ITO is conductive Film, the capacitor array below the ITO conducting films and be connected to the capacitor array at least one touch detection lead to Road;At least one touch detection passage is connected with the flexible circuit board connector.
4. the touch sound equipment button according to claim any one of 1-3, it is characterised in that also include:Open up fluted Key casing;The ITO touch pads are embedded in the groove;At least two mounting holes are additionally provided with the key casing, And at least two mounting hole site is in the groove both sides.
5. a kind of control method of touch sound equipment button, it is characterised in that including:
According to the touch operation on the ITO touch pads of sound equipment, corresponding touch event is determined;
According to the placing attitude of sound equipment, the corresponding relation of touch event type and control model is determined;
Corresponding relation based on the touch event type and control model, determines the control meaning indicated by the touch event Figure;
Control according to indicated by the touch event is intended to, and controls the working condition of sound equipment.
6. method according to claim 5, it is characterised in that before the capture is for the touch operation of ITO touch pads, Also include:
Obtain the humiture information of sound equipment local environment;
According to the humiture information, the touch parameter of the ITO touch pads is set.
7. method according to claim 6, it is characterised in that the touch parameter of the setting ITO touch pads, including it is following It is at least one:
The sensitivity of the ITO touch pads is set;
The anti-interference grade of the ITO touch pads is set;
The over-sampling grade of the ITO touch pads is set;
The gain coefficient of the ITO touch pads is set.
8. method according to claim 5, it is characterised in that according to the touch operation on the ITO touch pads of sound equipment, it is determined that Corresponding touch event, including:
If the touch duration of the touch operation is in the range of the corresponding duration of click event, it is determined that the touch operation correspondence Click event.
9. method according to claim 8, it is characterised in that if the touch duration of the touch operation is clicked beyond described The corresponding duration scope of event, methods described also includes:
The touch operation skew of corresponding current touch point relative to starting point on the ITO touch pads is calculated in real time Amount;
If the offset is more than or equal to default deviation range, the touch operation correspondence slip event is determined.
10. method according to claim 9, it is characterised in that determine the touch operation correspondence slip event, also wrap Include:
According to the touch operation on the ITO touch pads corresponding terminating point relative to the starting point direction, it is determined that The corresponding glide direction of the slip event;And/or,
Offset according to the terminating point relative to the starting point, determines the corresponding sliding distance of the slip event.
11. method according to claim 9, it is characterised in that determine the touch operation correspondence slip event, also wrap Include:
Obtain flex point of the touch operation on the ITO touch pads in corresponding sliding process;
According to the touch operation on the ITO touch pads corresponding terminating point, the starting point and the flex point, it is determined that The glide direction of the slip event;And/or,
According to adjacent 2 points between the starting point, the terminating point and the flex point of offset, the slip thing is determined The sliding distance of part.
12. method according to claim 10, it is characterised in that if the offset is less than the deviation range, really The fixed touch operation correspondence long-press event.
CN201710335208.2A 2017-05-12 2017-05-12 Touch control type sound equipment key and control method thereof Active CN107203322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710335208.2A CN107203322B (en) 2017-05-12 2017-05-12 Touch control type sound equipment key and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710335208.2A CN107203322B (en) 2017-05-12 2017-05-12 Touch control type sound equipment key and control method thereof

Publications (2)

Publication Number Publication Date
CN107203322A true CN107203322A (en) 2017-09-26
CN107203322B CN107203322B (en) 2021-05-18

Family

ID=59905912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710335208.2A Active CN107203322B (en) 2017-05-12 2017-05-12 Touch control type sound equipment key and control method thereof

Country Status (1)

Country Link
CN (1) CN107203322B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111893A (en) * 2017-12-29 2018-06-01 深圳Tcl新技术有限公司 Glide direction evaluation method, remote controler and the computer storage media of touch remote controller
CN108200494A (en) * 2017-12-29 2018-06-22 上海传英信息技术有限公司 Earphone method of toch control and earphone
WO2020107200A1 (en) * 2018-11-27 2020-06-04 深圳市柔宇科技有限公司 Sound box
CN112817513A (en) * 2021-01-20 2021-05-18 歌尔科技有限公司 Audio playing device touch control method, audio playing device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201805414U (en) * 2010-09-10 2011-04-20 江苏惠通集团有限责任公司 ITO (Indium Tin Oxide) film approach inductive key
CN102375581A (en) * 2010-08-11 2012-03-14 深圳富泰宏精密工业有限公司 Touch type electronic device and method for improving touch accuracy of touch type electronic device
CN102768572A (en) * 2011-05-04 2012-11-07 宏碁股份有限公司 Hand-hold device and key function setting method of hand-hold device
CN103576578A (en) * 2013-11-05 2014-02-12 小米科技有限责任公司 Method, device and equipment for adopting earphone wire to control terminal
CN204362249U (en) * 2014-12-26 2015-05-27 歌尔声学股份有限公司 A kind of wireless sound system
CN105187875A (en) * 2014-06-16 2015-12-23 新益先创科技股份有限公司 Control device and operation mode switching method of control device
CN105373299A (en) * 2014-08-25 2016-03-02 深圳富泰宏精密工业有限公司 Electronic apparatus and display interface adjustment method therefor
US20160154624A1 (en) * 2014-12-01 2016-06-02 Lg Electronics Inc. Mobile terminal and controlling method thereof
US20160373501A1 (en) * 2015-06-22 2016-12-22 Loose Cannon Systems, Inc. Portable group communication device having audio playback and/or phone call capability

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375581A (en) * 2010-08-11 2012-03-14 深圳富泰宏精密工业有限公司 Touch type electronic device and method for improving touch accuracy of touch type electronic device
CN201805414U (en) * 2010-09-10 2011-04-20 江苏惠通集团有限责任公司 ITO (Indium Tin Oxide) film approach inductive key
CN102768572A (en) * 2011-05-04 2012-11-07 宏碁股份有限公司 Hand-hold device and key function setting method of hand-hold device
CN103576578A (en) * 2013-11-05 2014-02-12 小米科技有限责任公司 Method, device and equipment for adopting earphone wire to control terminal
CN105187875A (en) * 2014-06-16 2015-12-23 新益先创科技股份有限公司 Control device and operation mode switching method of control device
CN105373299A (en) * 2014-08-25 2016-03-02 深圳富泰宏精密工业有限公司 Electronic apparatus and display interface adjustment method therefor
US20160154624A1 (en) * 2014-12-01 2016-06-02 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN204362249U (en) * 2014-12-26 2015-05-27 歌尔声学股份有限公司 A kind of wireless sound system
US20160373501A1 (en) * 2015-06-22 2016-12-22 Loose Cannon Systems, Inc. Portable group communication device having audio playback and/or phone call capability

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOAH_CHOI: "VolumeSlider,滑动屏幕轻松调整音量|App+1", 《HTTPS://SSPAI.COM/POST/37861》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111893A (en) * 2017-12-29 2018-06-01 深圳Tcl新技术有限公司 Glide direction evaluation method, remote controler and the computer storage media of touch remote controller
CN108200494A (en) * 2017-12-29 2018-06-22 上海传英信息技术有限公司 Earphone method of toch control and earphone
CN108111893B (en) * 2017-12-29 2021-06-15 深圳Tcl新技术有限公司 Sliding direction estimation method of touch remote controller, remote controller and computer storage medium
WO2020107200A1 (en) * 2018-11-27 2020-06-04 深圳市柔宇科技有限公司 Sound box
CN112817513A (en) * 2021-01-20 2021-05-18 歌尔科技有限公司 Audio playing device touch control method, audio playing device and storage medium

Also Published As

Publication number Publication date
CN107203322B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN107203322A (en) Touch sound equipment button and its control method
CN103914238B (en) Method and device for achieving integration of controls in interface
CN104317466B (en) Touch-screen control method and touch panel device
CN1705232B (en) Electric contact sensor and man-machine interface device using the same
CN106873869A (en) A kind of control method and device of music
CN104581480A (en) Touch control headset system and touch control command recognition method
CN105607784B (en) A kind of method of adjusting sensitivity of touch screen, regulating device and terminal
CN102547511B (en) Headset control method and headset
CN104274971B (en) Gamecontrol system and method
CN105426181A (en) Display method for interface of mobile terminal and mobile terminal
CN107145221A (en) A kind of information processing method and electronic equipment
CN104731308B (en) A kind of accessory device and a kind of electronic equipment
CN107005609A (en) The method and mobile terminal of mobile terminal are operated based on blowing action
CN108646908A (en) A kind of terminal screen control method, device, terminal and storage medium
CN108540672A (en) Air blowing triggering method and terminal device
EP2717135A1 (en) Method for simulating key input using capacitive stylus, capacitive stylus and terminal
CN206003076U (en) Gesture induction device, mobile terminal and control system
CN213338696U (en) Interactive installation based on electric capacity touch-sensitive
CN202008727U (en) Wireless touchpad remote controller
CN105578230A (en) Video play method and apparatus, and mobile terminal
CN108681432A (en) Processing method, device, storage medium and the electronic device of touch information
CN108882083B (en) Signal processing method and Related product
CN109661644A (en) A kind of pressure touch method and terminal
CN107272895A (en) A kind of control method and device of music
CN101976147B (en) Touch recognition method, touch key structure and touch device

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
GR01 Patent grant
GR01 Patent grant