CN109992161A - Pressure detection method and detection device based on touch screen - Google Patents

Pressure detection method and detection device based on touch screen Download PDF

Info

Publication number
CN109992161A
CN109992161A CN201910255709.9A CN201910255709A CN109992161A CN 109992161 A CN109992161 A CN 109992161A CN 201910255709 A CN201910255709 A CN 201910255709A CN 109992161 A CN109992161 A CN 109992161A
Authority
CN
China
Prior art keywords
touch screen
user
pressure
preset
capacitance sensor
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
CN201910255709.9A
Other languages
Chinese (zh)
Other versions
CN109992161B (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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors 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 Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN201910255709.9A priority Critical patent/CN109992161B/en
Publication of CN109992161A publication Critical patent/CN109992161A/en
Application granted granted Critical
Publication of CN109992161B publication Critical patent/CN109992161B/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/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/0412Digitisers structurally integrated in a display
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Abstract

The embodiment of the invention relates to the technical field of touch screens, and discloses a pressure detection method and a pressure detection device based on a touch screen, wherein the touch screen comprises a plurality of capacitive sensors, and the method comprises the following steps: when the fact that the user fingers press the touch screen is detected, the target number of the triggered capacitive sensors in the plurality of capacitive sensors is monitored, whether the target number is kept unchanged within preset time is detected, if the target number is kept unchanged, the contact area of the user fingers and the touch screen is determined according to the target number, and then the pressure value of the user fingers pressing the touch screen is obtained according to the contact area. By implementing the embodiment of the invention, the accuracy of pressure detection can be improved.

Description

A kind of pressure detection method and detection device based on touch screen
Technical field
The present invention relates to touch screen technology fields, and in particular to a kind of pressure detection method and detection dress based on touch screen It sets.
Background technique
With the high speed development of science and technology, more and more touch-control products are appeared in our daily life, such as intelligent hand Machine, digital camera, vehicular touch screen etc., these touch-control products can use being differently formed not for the pressure that pressing touch screen generates Same visual effect allows user to generate the feeling interacted with touch-control product.It illustrates, passenger passes through finger in ride-on vehicles Vehicular touch screen is pressed to select corresponding function, vehicular touch screen can form different visions in the pressing position of passenger's finger The ripple of effect.
Currently, usually pressure sensor is arranged in side to the most common pressure detection method based on touch screen under a touch screen The variation of pressure is detected, the variation further according to pressure forms different visual effects.As shown in Figure 1, under vehicular touch screen Setting pressure sensor in side's is detected when pressing with finger vehicular touch screen by the pressure sensor below vehicular touch screen The deformation small to vehicular touch screen, to detect the pressure of finger.However, it has been found in practice that due to pressure sensor It is easy to be influenced by Vehicular vibration on vehicle, so that the accuracy of pressure detecting substantially reduces.
Summary of the invention
The embodiment of the invention discloses a kind of pressure detection method and detection device based on touch screen, can be improved pressure The accuracy of detection.
First aspect of the embodiment of the present invention discloses a kind of pressure detection method based on touch screen, and the touch screen includes more A capacitance sensor, the method also includes:
When detecting that user's finger presses the touch screen, the capacitor being triggered in the multiple capacitance sensor is monitored The destination number of sensor;
Detect whether the destination number remains unchanged within a preset time;
If remaining unchanged, the contact area of the user's finger Yu the touch screen is determined according to the destination number;
According to the contact area, the pressure value that the user's finger presses the touch screen is obtained.
As an alternative embodiment, detecting the target described in first aspect of the embodiment of the present invention After quantity remains unchanged within a preset time and described the user's finger and the touching are determined according to the destination number Before the contact area for touching screen, the method also includes:
Target area is divided according to distribution situation of the capacitance sensor being triggered on the touch screen;Wherein, The closeness for the capacitance sensor being triggered described in the target area is greater than default closeness;The area of the target area Greater than the first preset area and less than the second preset area;
Whether the quantity for judging the target area is more than preset quantity;
If being no more than, the contact surface that the user's finger Yu the touch screen are determined according to the destination number is executed Long-pending step.
As an alternative embodiment, judging the target described in first aspect of the embodiment of the present invention The quantity in region is no more than after preset quantity and described determines the user's finger and the touching according to the destination number Before the contact area for touching screen, the method also includes:
First target capacitance sensor being triggered in the capacitance sensor being triggered described in acquisition;
By the target capacitance sensor relative to vertical line where the touch screen on the basis of, acquisition is distributed in described perpendicular First quantity of the capacitance sensor being triggered on the left of straight line and be distributed on the right side of the vertical line described be triggered Capacitance sensor the second quantity;
Judge whether the difference between first quantity and second quantity is less than preset difference value;
If being less than, by the target capacitance sensor relative to horizontal line where the touch screen on the basis of, obtain distribution The third quantity for the capacitance sensor being triggered described on the upside of the horizontal line and the institute being distributed on the downside of the horizontal line State the 4th quantity of the capacitance sensor being triggered;
Judge whether the difference between the third quantity and the 4th quantity is less than the preset difference value;
If being less than, the contact area that the user's finger Yu the touch screen are determined according to the destination number is executed The step of.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described according to the contact surface Product, after obtaining the pressure value that the user's finger presses the touch screen, the method also includes:
Detect whether the corresponding type of display content that the user's finger presses on the position of the touch screen is default Type;
If the corresponding type of the display content is the preset kind, judge whether the pressure value is greater than preset pressure Value;
If more than the preset pressure value, the display content is amplified into processing, wherein amplification factor and the pressure Force value direct proportionality;
If be less than or equal to the preset pressure value, the display content is subjected to diminution processing, wherein minification and The inversely proportional relationship of pressure value.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described according to the contact surface Product, after obtaining the pressure value that the user's finger presses the touch screen, the method also includes:
When receiving the setting instruction of user's input, it is corresponding that several feedback effects are exported in the touch screen Preview graph;
Receive the targets preview figure of user's selection;
The corresponding feedback effects of the targets preview figure are set as and the matched object feedback effect of the pressure value;
By the pressure value and the object feedback effect associated storage to local cache, so that the subsequent pressing touch When screen generates the pressure value, the object feedback effect is shown on the touch screen.
Second aspect of the embodiment of the present invention discloses a kind of pressure-detecting device based on touch screen, and the touch screen includes more A capacitance sensor, the pressure-detecting device include:
Monitoring unit, for monitoring the multiple capacitance sensor when detecting that user's finger presses the touch screen In the destination number of capacitance sensor that is triggered;
First detection unit, for detecting whether the destination number remains unchanged within a preset time;
Determination unit, for detecting that the destination number remains unchanged within a preset time when the first detection unit When, the contact area of the user's finger Yu the touch screen is determined according to the destination number;
First acquisition unit, for obtaining the pressure that the user's finger presses the touch screen according to the contact area Force value.
As an alternative embodiment, the pressure-detecting device also wraps in second aspect of the embodiment of the present invention It includes:
Division unit, for detecting that the destination number remains unchanged within a preset time in the first detection unit Later and the determination unit according to the destination number determine the user's finger and the touch screen contact area it Before, target area is divided according to distribution situation of the capacitance sensor being triggered on the touch screen;Wherein, the mesh The closeness for the capacitance sensor being triggered described in mark region is greater than default closeness;The area of the target area is greater than the One preset area and less than the second preset area;
First judging unit, for judging whether the quantity of the target area is more than preset quantity;
The determination unit, specifically for detecting the destination number within a preset time when the first detection unit Remain unchanged and first judging unit judge the target area quantity be no more than the preset quantity when, root The contact area of the user's finger Yu the touch screen is determined according to the destination number.
As an alternative embodiment, the pressure-detecting device also wraps in second aspect of the embodiment of the present invention It includes:
Second acquisition unit, for judging that it is default that the quantity of the target area is no more than in first judging unit After quantity and the determination unit determines the contact surface of the user's finger Yu the touch screen according to the destination number Before product, first target capacitance sensor being triggered in the capacitance sensor that is triggered described in acquisition;
Second acquisition unit is also used to using the target capacitance sensor relative to vertical line where the touch screen as base Standard, obtain the first quantity of the capacitance sensor being triggered being distributed on the left of the vertical line and be distributed in it is described vertical Second quantity of the capacitance sensor being triggered on the right side of line;
Second judgment unit, for judging it is default whether the difference between first quantity and second quantity is less than Difference;
The second acquisition unit is also used to judge first quantity and described second when the second judgment unit When difference between quantity is less than preset difference value, it is relative to horizontal line where the touch screen with the target capacitance sensor Benchmark obtains the third quantity for the capacitance sensor being triggered being distributed on the upside of the horizontal line and is distributed in the water 4th quantity of the capacitance sensor being triggered on the downside of horizontal line;
The second judgment unit is also used to judge whether the difference between the third quantity and the 4th quantity is small In the preset difference value;
The determination unit, specifically for detecting the destination number within a preset time when the first detection unit It remains unchanged and first judging unit judges that the quantity of the target area is no more than the preset quantity, and When the second judgment unit judges that the difference between the third quantity and the 4th quantity is less than the preset difference value, The contact area of the user's finger Yu the touch screen is determined according to the destination number.
As an alternative embodiment, the pressure-detecting device also wraps in second aspect of the embodiment of the present invention It includes:
Second detection unit, for, according to the contact area, obtaining the user's finger in the first acquisition unit After the pressure value for pressing the touch screen, detects the user's finger and press display content pair on the position of the touch screen Whether the type answered is preset kind;
Third judging unit, for detecting that the user's finger presses the touch screen when the second detection unit When the corresponding type of display content on position is preset kind, judge whether the pressure value is greater than preset pressure value;
Amplifying unit, for when the third judging unit judge the pressure value be greater than preset pressure value when, by institute It states display content and amplifies processing, wherein amplification factor and the pressure value direct proportionality;
Reducing unit, for judging that the pressure value is less than or equal to the preset pressure when the third judging unit When value, the display content is subjected to diminution processing, wherein minification and the inversely proportional relationship of the pressure value.
As an alternative embodiment, the pressure-detecting device also wraps in second aspect of the embodiment of the present invention It includes:
Output unit, for, according to the contact area, obtaining the user's finger pressing in the first acquisition unit After the pressure value of the touch screen, when receiving the setting instruction of user's input, exported in the touch screen several The corresponding preview graph of a feedback effects;
Receiving unit, for receiving the targets preview figure of user's selection;
Setup unit, for being set as the corresponding feedback effects of the targets preview figure and the matched mesh of the pressure value Mark feedback effects;
Storage unit is used for the pressure value and the object feedback effect associated storage to local cache, so that after When the continuous pressing touch screen generates the pressure value, the object feedback effect is shown on the touch screen.
The third aspect of the embodiment of the present invention discloses a kind of vehicle-mounted central control system, including second aspect of the embodiment of the present invention discloses A kind of pressure-detecting device based on touch screen.
Fourth aspect of the embodiment of the present invention discloses a kind of vehicle, including a kind of vehicle disclosed in second aspect of the embodiment of the present invention Carry central control system.
The 5th aspect of the embodiment of the present invention discloses a kind of pressure-detecting device based on touch screen, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the A kind of pressure detection method based on touch screen disclosed in one side.
The 6th aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein The computer program makes computer execute a kind of pressure inspection based on touch screen disclosed in first aspect of the embodiment of the present invention Survey method.
The 7th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine, so that the computer executes some or all of any one method of first aspect step.
Eighth aspect of the embodiment of the present invention discloses a kind of using distribution platform, and the application distribution platform is for issuing calculating Machine program product, wherein when the computer program product is run on computers, so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that
In the embodiment of the present invention, touch screen includes multiple capacitance sensors, when detecting that user's finger presses touch screen, The quantity for the capacitance sensor that real-time monitoring is triggered, when the quantity for the capacitance sensor being triggered is kept not within a preset time When change, using the quantity for the capacitance sensor being currently triggered as destination number, according to the destination number, determine user's finger with The contact area of touch screen calculates the pressure value of user's finger pressing touch screen further according to the contact area.As it can be seen that implementing this Inventive embodiments, according to the action principle of power, the pressure that user's finger presses touch screen is bigger, and the deformation of user's finger is bigger, User's finger and the contact area of touch screen are bigger, so that the quantity for triggering capacitance sensor is also more.It therefore, can be according to touching The quantity that multiple capacitance sensors that screen is equipped with are triggered is touched to determine the contact area of user's finger and touch screen, by pressure etc. In the ratio between object pressure and forced area it is found that the pressure constant that touch screen is born has been tested in advance, further according to user The contact area of finger and touch screen can calculate the pressure value of user's finger pressing touch screen, pass without additional setting pressure Sensor, can be avoided is influenced by Vehicular vibration, improves the accuracy of pressure detecting.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of exemplary diagram of pressure sensor detection pressure disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of pressure detection method based on touch screen disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another pressure detection method based on touch screen disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of pressure-detecting device based on touch screen disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another pressure-detecting device based on touch screen disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another pressure-detecting device based on touch screen disclosed by the embodiments of the present invention;
Fig. 7 is a kind of exemplary diagram of pressure detection operation disclosed by the embodiments of the present invention;
Fig. 8 is the exemplary diagram of another pressure detection operation disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second ", " third " in description and claims of this specification and " 4th " etc. is not use to describe a particular order for distinguishing different objects.The term " includes " of the embodiment of the present invention " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or list The process, method, system, product or equipment of member those of are not necessarily limited to be clearly listed step or unit, but may include not having There are other step or units being clearly listed or intrinsic for these process, methods, product or equipment.
In the present invention, term " on ", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside", " in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on the figure or Positional relationship.These terms are not intended to limit indicated dress primarily to better describe the present invention and embodiment Set, element or component must have particular orientation, or constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it His meaning, such as term " on " also are likely used for indicating certain relations of dependence or connection relationship in some cases.For ability For the those of ordinary skill of domain, the concrete meaning of these terms in the present invention can be understood as the case may be.In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected " shall be understood in a broad sense.For example, it may be being fixedly connected, detachably connect It connects or monolithic construction;It can be mechanical connection, or electrical connection;It can be directly connected, or indirect by intermediary It is connected, or is two connections internal between device, element or component.For those of ordinary skill in the art Speech, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
The embodiment of the invention discloses a kind of pressure detection method and detection device based on touch screen, can be improved pressure The accuracy of detection.It is described in detail below in conjunction with attached drawing.
Embodiment one
Referring to Fig. 2, the process that Fig. 2 is a kind of pressure detection method based on touch screen disclosed by the embodiments of the present invention is shown It is intended to.As shown in Fig. 2, this method may comprise steps of.
201, when detecting that user's finger presses touch screen, pressure-detecting device monitors to be touched in multiple capacitance sensors The destination number of electricity appearance sensor.
In the embodiment of the present invention, touch screen includes multiple capacitance sensors, should when user's finger presses on the touchscreen The capacitance sensor of position can be triggered, and show that the position is pressed on touch screen.
In the embodiment of the present invention, above-mentioned touch screen can be applied to smart phone, digital camera and intelligent automobile, this hair Bright embodiment is not construed as limiting.In order to facilitate understanding, the embodiment of the present invention is described by taking intelligent automobile as an example, implements in the present invention In example, touch-screen applications are on intelligent automobile, i.e. vehicular touch screen, when passenger makes to press with finger on the touchscreen, pressure The destination number for the capacitance sensor being triggered in multiple capacitance sensors that touch screen includes can be monitored in real time in detection device.
202, whether pressure-detecting device detection destination number remains unchanged within a preset time;If so, executing step 203;If not, continuing to execute step 202.
In the embodiment of the present invention, it is to be understood that when user's finger just presses touch screen, since user's finger is just opened Begin to generate miniature deformation, touch the area very little of touch screen at the beginning, just triggers first capacitance sensor at this time, please together It is a kind of exemplary diagram of pressure detection operation disclosed by the embodiments of the present invention refering to Fig. 7, Fig. 7, as shown in fig. 7, small rectangular zebra Lattice are capacitance sensor, when user's finger has just pressed touch screen, trigger capacitance sensor 0.It is touched when user's finger continues pressing When screen, since the pressure of user's finger pressing touch screen slowly increases, user's finger starts slowly to generate deformation, touches touch The area of screen slowly becomes larger, and the capacitance sensor of triggering slowly increases, and is that the embodiment of the present invention discloses also referring to Fig. 8, Fig. 8 Another pressure detection operation exemplary diagram, as shown in figure 8, small rectangular zebra lattice be capacitance sensor, user's finger continue Touch screen is pressed, the area for touching touch screen slowly becomes larger, multiple capacitors such as triggering 1~capacitance sensor of capacitance sensor 8 Sensor.When the pressure of user's finger pressing touch screen remains unchanged, user's finger stopping continues to generate deformation, touches touching The area for touching screen remains unchanged, and the capacitance sensor of triggering also remains unchanged, when pressure-detecting device detects the capacitor of triggering When the destination number of sensor remains unchanged within a preset time, step 203 is executed.
In the embodiment of the present invention, preset time can be set for tester by many experiments, and the present invention is implemented Example is not construed as limiting.
203, pressure-detecting device determines the contact area of user's finger and touch screen according to destination number.
In the embodiment of the present invention, it is to be understood that the area represented due to single capacitance sensor is it is found that when pressure is examined When survey device detects that the destination number of the capacitance sensor of triggering remains unchanged within a preset time, show that user's finger presses The pressure of touch screen no longer changes, and pressure-detecting device can be determined according to the destination number of the capacitance sensor of triggering and be used at this time The number of targets of the capacitance sensor of the contact area of family finger and touch screen, i.e., the single capacitance sensor area represented and triggering The product of amount.
204, pressure-detecting device obtains the pressure value of user's finger pressing touch screen according to contact area.
In the embodiment of the present invention, it is believed that the pressure that touch screen is born is constant, which can measure in advance It arrives, therefore, user's finger pressing touching can be calculated according to the contact area of user's finger and touch screen in pressure-detecting device The pressure value of screen is touched, shown in formula (1) specific as follows:
P=F/S (1)
Wherein, the pressure that p is born by touch screen, F are the pressure value that user's finger presses touch screen, and S is user's finger With the contact area of touch screen.
As an alternative embodiment, obtaining user's finger according to contact area in step 204 pressure-detecting device After the pressure value for pressing touch screen, following steps can also be performed:
Instruction of making friends is sent to service platform, so that the service platform obtains another use that another pressure-detecting device reports Family finger presses the pressure value that another touch screen generates, and obtains the identity information of another user, and by another pressure value Pressure-detecting device is returned to the identity information of another user;Wherein, another pressure-detecting device is the vehicle-mounted of another vehicle The pressure-detecting device that central control system includes, the identity information of another user include gender, age and/or occupation;
Judge whether the difference between pressure value and another pressure value is less than preset threshold;
If being less than preset threshold, the identity information of user is obtained;
Friend-making index is generated according to the identity information of user and the identity information of another user;
When friend-making index is greater than preset friend-making index threshold, sends friend-making recommendation information and filled to another pressure detecting It sets, so that another pressure-detecting device exports friend-making recommendation information to another user;Wherein, friend-making recommendation information includes at least The social account information of the user.
Implement the optional embodiment, is less than in advance when two users press the difference between the pressure value that touch screen generates If generating friend-making index according to the identity information of user and the identity information of another user when threshold value, that is, assess two users at A possibility that for good friend, and when friend-making index is sufficiently large, push friend-making recommendation information gives another pressure-detecting device, so that separately One pressure-detecting device exports friend-making recommendation information to another user, is conducive to make friends by the realization that interacts with touch screen, Promote user experience.
As an alternative embodiment, obtaining user's finger according to contact area in step 204 pressure-detecting device After the pressure value for pressing touch screen, following steps can also be performed:
When receiving the seat adjustment instruction of user's input, obtains seat and adjust relation table;The seat adjusts relation table The corresponding relationship being used to indicate between the pressure and seat adjustment amplitude that user's pressing touch screen generates;
According to pressure value, is obtained from seat adjustment relation table and adjust amplitude with the matched target seat of pressure value;
Amplitude, which is adjusted, according to the target seat adjusts seat.
In the embodiment of the present invention, seat adjustment relation table can set according to many experiments for tester and be stored in this The corresponding relationship being used to indicate between the pressure and seat adjustment amplitude that user's pressing touch screen generates in ground caching, wherein Pressure value is bigger, and seat adjustment amplitude is bigger, and the embodiment of the present invention is not construed as limiting.
Implement the optional embodiment, when user feel front seat posture be not suitable for when, can be according to pressure value Seat is adjusted, greatly improves interactivity, the user experience is improved.
In the embodiment of the present invention, as an alternative embodiment, voice module has can be set in pressure-detecting device, This can be used for identifying the phonetic order of input, and such as " please adjust seat " adjusts password, which refers to as seat adjustment It enables, when detecting the adjustment password, pressure-detecting device obtains seat and adjusts relation table.Implement the optional embodiment, Seat adjustment instruction can be inputted by voice, seat adjustment is then carried out according to pressure value, greatly improves interactivity.
As it can be seen that implementing method described in Fig. 2, according to the action principle of power, the pressure of user's finger pressing touch screen is got over Greatly, the deformation of user's finger is bigger, and the contact area of user's finger and touch screen is bigger, to trigger the quantity of capacitance sensor Also more, pressure-detecting device determined according to the quantity that multiple capacitance sensors that touch screen is equipped with are triggered user's finger with The contact area of touch screen calculates the pressure value of user's finger pressing touch screen further according to contact area, without additional setting pressure Force snesor can reduce cost, also, overcome conventional pressure sensor to the easy shadow by Vehicular vibration of the detection of pressure It rings, improves the accuracy of pressure detecting.
Embodiment two
Referring to Fig. 3, Fig. 3 is the process of another pressure detection method based on touch screen disclosed by the embodiments of the present invention Schematic diagram.As shown in figure 3, this method may comprise steps of.
301, when detecting that user's finger presses touch screen, pressure-detecting device monitors to be touched in multiple capacitance sensors The destination number of electricity appearance sensor.
In the embodiment of the present invention, touch screen includes multiple capacitance sensors, should when user's finger presses on the touchscreen The capacitance sensor of position can be triggered, and show that the position is pressed on touch screen.
302, whether pressure-detecting device detection destination number remains unchanged within a preset time;If so, executing step 303;If not, continuing to execute step 302.
303, pressure-detecting device divides target area according to the distribution situation of the capacitance sensor being triggered on the touchscreen Domain, wherein the closeness for the capacitance sensor being triggered in target area is greater than default closeness, also, the face of target area Product is greater than the first preset area and less than the second preset area.
In the embodiment of the present invention, for example, when user is accidentally pressed on the touchscreen with multiple fingers, press at this time Force checking device marks off multiple target areas.For example, when user is pressed on the touchscreen with three fingers, pressure-detecting device root According to the distribution situation of the capacitance sensor being triggered on the touchscreen, three target areas can be marked off.
304, pressure-detecting device judges whether the quantity of target area is more than preset quantity;If not, executing step 305;If so, terminating this process.
In the embodiment of the present invention, it is to be understood that when the quantity of target area is more than preset quantity, it is believed that be User accidentally touches touch screen.For example preset quantity is a period of time, and when user is pressed on the touchscreen with three fingers, pressure-detecting device According to the distribution situation of the capacitance sensor being triggered on the touchscreen, three target areas can be marked off, at this time target area The quantity in domain is more than preset quantity, shows user's accidentally touching touch screen, terminates this process.
In the embodiment of the present invention, implementation steps 303- step 304, on the touchscreen according to the capacitance sensor being triggered Distribution situation divides target area, and judges whether the quantity of target area is more than preset quantity, if being more than, terminates this process, The efficiency of pressure detecting can be improved under the premise of avoiding user's accidentally touching touch screen.
305, pressure-detecting device obtains first target capacitance sensor being triggered in the capacitance sensor being triggered.
In the embodiment of the present invention, it is to be understood that when user's finger just presses touch screen, since user's finger is just opened Begin to generate miniature deformation, touch the area very little of touch screen at the beginning, just triggers first capacitance sensor at this time, therefore, First target capacitance sensor being triggered in the available capacitance sensor being triggered of pressure-detecting device.
306, pressure-detecting device by target capacitance sensor relative to vertical line where touch screen on the basis of, obtain distribution First quantity of the capacitance sensor being triggered on the left of vertical line and the capacitor being triggered being distributed on the right side of vertical line pass Second quantity of sensor.
In the embodiment of the present invention, it is to be understood that when being slided to the left after user makes to press with finger touch screen, with mesh On the basis of capacitance sensor is marked relative to vertical line where touch screen, the capacitance sensor being triggered that is distributed on the left of vertical line The first quantity be greater than the second quantity for being distributed in the capacitance sensor being triggered on the right side of vertical line;When user makes to press...with one's finger After pressure touch screen when sliding to the right, by target capacitance sensor relative to vertical line where touch screen on the basis of, it is vertical to be distributed in First quantity of the capacitance sensor being triggered on the left of line is less than the capacitance sensor being triggered being distributed on the right side of vertical line The second quantity;When after user making to press with finger touch screen without sliding, with target capacitance sensor relative to touch On the basis of vertical line where screen, the first quantity for being distributed in the capacitance sensor being triggered on the left of vertical line, which is approximately equal to, to be distributed in Second quantity of the capacitance sensor being triggered on the right side of vertical line.
307, pressure-detecting device judges whether the difference between the first quantity and the second quantity is less than preset difference value;If It is to execute step 308;If not, terminating this process.
In the embodiment of the present invention, preset difference value can be set for tester according to abundant experimental results, the present invention Embodiment is not construed as limiting.In embodiments of the present invention, when the difference between the first quantity and the second quantity is less than preset difference value When, it is believed that by target capacitance sensor relative to vertical line where touch screen on the basis of, the quilt that is distributed on the left of vertical line First quantity of the capacitance sensor of triggering is approximately equal to the second number of the capacitance sensor being triggered being distributed on the right side of vertical line Amount, i.e. user make to press with finger after touch screen without sliding.
As an alternative embodiment, judging the difference between the first quantity and the second quantity in pressure-detecting device Value is greater than or equal to after preset difference value, and following steps can also be performed:
If the first quantity is greater than the second quantity, the present displayed content controlled on touch screen is slided to the left, so that lower one page Content show on the touchscreen;
If the first quantity is less than the second quantity, the present displayed content controlled on touch screen is slided to the right, so that page up Content show on the touchscreen.
In the embodiment of the present invention, for example, can be with when user wants to allow the content of lower one page when touch screen is shown Make to slide to the left after pressing with finger touch screen, so that the of the capacitance sensor being triggered being distributed on the left of above-mentioned vertical line One quantity is greater than the second quantity of the capacitance sensor being triggered being distributed on the right side of above-mentioned vertical line, at this point, pressure detecting fills The present displayed content set on control touch screen is slided to the left, so that the content of lower one page is shown on the touchscreen.Citing comes again It says, when user wants to allow the content of page up when touch screen is shown, is slided to the right after finger pressing touch screen can be used, So that the first quantity of the capacitance sensor being triggered being distributed on the left of above-mentioned vertical line, which is less than, is distributed in the above-mentioned vertical line right side Second quantity of the capacitance sensor of side being triggered, at this point, the present displayed content on pressure-detecting device control touch screen It slides to the right, so that the content of page up is shown on the touchscreen.
Implement the optional embodiment, if user slides to the left after making to press with finger touch screen, can make next The content of page is shown on the touchscreen, if user slides to the right after making to press with finger touch screen, can make the interior of page up Hold display on the touchscreen, greatly improves interactivity.
308, pressure-detecting device by target capacitance sensor relative to horizontal line where touch screen on the basis of, obtain distribution The third quantity for the capacitance sensor of side being triggered and the capacitor being triggered being distributed on the downside of horizontal line pass on a horizontal 4th quantity of sensor.
In the embodiment of the present invention, it is to be understood that after user makes to press with finger touch screen when upward sliding, with mesh On the basis of capacitance sensor is marked relative to horizontal line where touch screen, the capacitance sensor being triggered that is distributed on the upside of horizontal line Third quantity be greater than the 4th quantity for being distributed in the capacitance sensor being triggered on the downside of horizontal line;When user makes to press...with one's finger When pressing slide downward after touch screen, by target capacitance sensor relative to horizontal line where touch screen on the basis of, be distributed in level The third quantity of the capacitance sensor being triggered on the upside of line is less than the capacitance sensor being triggered being distributed on the downside of horizontal line The 4th quantity;When after user making to press with finger touch screen without sliding, with target capacitance sensor relative to touch On the basis of horizontal line where screen, the third quantity for being distributed in the capacitance sensor being triggered on the upside of horizontal line, which is approximately equal to, to be distributed in 4th quantity of the capacitance sensor being triggered on the downside of horizontal line.
309, pressure-detecting device judges whether the difference between third quantity and the 4th quantity is less than preset difference value;If It is to execute step 310;If not, terminating this process.
In the embodiment of the present invention, when the difference between third quantity and the 4th quantity is less than preset difference value, it can recognize For by target capacitance sensor relative to horizontal line where touch screen on the basis of, the capacitor being triggered that is distributed on the upside of horizontal line The third quantity of sensor is approximately equal to the 4th number of the capacitance sensor being triggered being distributed on the downside of horizontal line, i.e. user uses Without sliding after finger pressing touch screen.
As an alternative embodiment, judging the difference between third quantity and the 4th quantity in pressure-detecting device Value is greater than or equal to after preset difference value, and following steps can also be performed:
Judge whether touch screen is in read state;
If being in read state, and third quantity is greater than the 4th quantity, the present displayed content controlled on touch screen is upward Sliding, so that user continues to read;
If being in read state, and third quantity, less than the 4th quantity, the present displayed content controlled on touch screen is downward Sliding, the reading content before being looked back so as to user;
If being not at read state, terminate this process;
Wherein, the difference and sliding distance direct proportionality between third quantity and the 4th quantity.
In the embodiment of the present invention, for example, user is used touch screen and reads, when user runs through touch screen When present displayed content, upward sliding after finger pressing touch screen can be used, so that being distributed in the quilt on the upside of above-mentioned horizontal line The third quantity of the capacitance sensor of triggering is greater than the 4th of the capacitance sensor being triggered being distributed on the downside of above-mentioned horizontal line Quantity, at this point, the present displayed content upward sliding on pressure-detecting device control touch screen, so that user continues to read It reads.Again for example, user is used touch screen and reads, when user want look back before reading content when, can make Slide downward after touch screen is pressed with finger, so that the third for the capacitance sensor being triggered being distributed on the upside of above-mentioned horizontal line Quantity is less than the 4th quantity of the capacitance sensor being triggered being distributed on the downside of above-mentioned horizontal line, at this point, pressure-detecting device The present displayed content slide downward on touch screen is controlled, the reading content before looking back so as to user.
Implement the optional embodiment, if user's upward sliding after making to press with finger touch screen, can make to touch Present displayed content upward sliding on screen, so that user continues to read, if user is after making to press with finger touch screen Slide downward can make the present displayed content slide downward on touch screen, the reading content before looking back so as to user.
In the embodiment of the present invention, implementation steps 305- step 309 first obtains first quilt in the capacitance sensor being triggered Then the target capacitance sensor of triggering is judging with being touched by the left and right side of the vertical line of target capacitance sensor Electricity holds the quantity of sensor, if the difference between the quantity for the capacitance sensor of left and right side being triggered is greater than or waits In preset difference value, terminate this process;And judge with being touched by horizontal the upper side and lower side of target capacitance sensor Electricity holds the quantity of sensor, if the difference between the quantity of the capacitance sensor being triggered of the upper side and lower side is greater than or waits In preset difference value, terminate this process.It can carry out sliding caused pressure value after avoiding user from making to press with finger touch screen Detection becomes larger, and reduces pressure detecting error.
310, pressure-detecting device determines the contact area of user's finger and touch screen according to destination number.
311, pressure-detecting device obtains the pressure value of user's finger pressing touch screen according to contact area.
In the embodiment of the present invention, as an alternative embodiment, in step 311 pressure-detecting device according to contact surface Following steps can also be performed after obtaining the pressure value that user's finger presses touch screen in product:
When receiving the setting instruction of user's input, the corresponding preview graph of several feedback effects is exported in touch screen;
Receive the targets preview figure of user's selection;
The corresponding feedback effects of targets preview figure are set as and the matched object feedback effect of pressure value;
By pressure value and object feedback effect associated storage to local cache, so that subsequent pressing touch screen generates the pressure When value, object feedback effect is shown on the touchscreen.
Implement the optional embodiment, pressure value can be mapped with the feedback effects of touch screen, so that subsequent When user presses touch screen, the pressure value that can be generated according to pressing touch screen shows corresponding feedback effects, improves user Experience.
312, the corresponding type of display content on the position of pressure-detecting device detection user's finger pressing touch screen is No is preset kind;If so, executing step 313;If not, terminating this process.
In the embodiment of the present invention, preset kind can be picture type, literal type etc., and the embodiment of the present invention does not limit It is fixed.
313, pressure-detecting device judges whether pressure value is greater than preset pressure value;If so, executing step 314;If It is no, execute step 315.
In the embodiment of the present invention, preset pressure value can be set for tester by many experiments, and the present invention is real Example is applied to be not construed as limiting.
314, pressure-detecting device will show that content amplifies processing, wherein amplification factor is in direct ratio with pressure value Relationship.
315, pressure-detecting device will show that content carries out diminution processing, wherein minification is inversely proportional with pressure value Relationship.
In the embodiment of the present invention, when in the display on the position that pressure-detecting device detects user's finger pressing touch screen Hold corresponding type be preset kind when, if pressure value be greater than preset pressure value, pressure-detecting device by show content put Big processing, amplification factor and pressure value direct proportionality, i.e. pressure value is bigger, and amplification factor is bigger;If pressure value be less than or Equal to preset pressure value, pressure-detecting device will show that content carries out diminution processing, minification and the inversely proportional pass of pressure value System, i.e., pressure value is smaller, and minification is bigger.
For example, user makes to press with finger the picture for touching screen display, and pressure-detecting device detects use at this time It is preset kind that family finger, which presses the corresponding type of display content on the position of touch screen, then judges that user makes to press...with one's finger Whether the pressure value that pressure touch screen generates is greater than preset pressure value, and if more than preset pressure value, pressure-detecting device is to the picture It amplifies;If being less than or equal to preset pressure value, pressure-detecting device reduces the picture.
In the embodiment of the present invention, implementation steps 311- step 314, the display on the position of user's finger pressing touch screen When the corresponding type of content is preset kind, processing can be zoomed in or out to display content according to the size of pressure value, Interactivity is greatly improved, the user experience is improved.
As it can be seen that compared with implementing method described in Fig. 2, method described in implementing Fig. 3 can avoid user from accidentally touching Under the premise of touch screen, the efficiency of pressure detecting is improved.Furthermore it is possible to be carried out after avoiding user from making to press with finger touch screen The detection of pressure value caused by sliding becomes larger, and reduces pressure detecting error.In addition, when on the position of user's finger pressing touch screen When showing that the corresponding type of content is preset kind, place can be zoomed in or out to display content according to the size of pressure value Reason, greatly improves interactivity, the user experience is improved.
Embodiment three
Referring to Fig. 4, the structure that Fig. 4 is a kind of pressure-detecting device based on touch screen disclosed by the embodiments of the present invention is shown It is intended to.As shown in figure 4, the pressure-detecting device may include:
Monitoring unit 401, for monitoring and being touched in multiple capacitance sensors when detecting that user's finger presses touch screen The destination number of electricity appearance sensor.
In the embodiment of the present invention, touch screen includes multiple capacitance sensors, should when user's finger presses on the touchscreen The capacitance sensor of position can be triggered, and show that the position is pressed on touch screen.
First detection unit 402, for detecting whether destination number remains unchanged within a preset time.
Determination unit 403, for detecting that destination number remains unchanged within a preset time when first detection unit 402 When, the contact area of user's finger and touch screen is determined according to destination number.
First acquisition unit 404, for obtaining the pressure value of user's finger pressing touch screen according to contact area.
As an alternative embodiment, obtaining user's finger pressing according to contact area in first acquisition unit 404 After the pressure value of touch screen, following steps can also be performed:
Instruction of making friends is sent to service platform, so that the service platform obtains another use that another pressure-detecting device reports Family finger presses the pressure value that another touch screen generates, and obtains the identity information of another user, and by another pressure value Pressure-detecting device is returned to the identity information of another user;Wherein, another pressure-detecting device is the vehicle-mounted of another vehicle The pressure-detecting device that central control system includes, the identity information of another user include gender, age and/or occupation;
Judge whether the difference between pressure value and another pressure value is less than preset threshold;
If being less than preset threshold, the identity information of user is obtained;
Friend-making index is generated according to the identity information of user and the identity information of another user;
When friend-making index is greater than preset friend-making index threshold, sends friend-making recommendation information and filled to another pressure detecting It sets, so that another pressure-detecting device exports friend-making recommendation information to another user;Wherein, friend-making recommendation information includes at least The social account information of the user.
Implement the optional embodiment, is less than in advance when two users press the difference between the pressure value that touch screen generates If generating friend-making index according to the identity information of user and the identity information of another user when threshold value, that is, assess two users at A possibility that for good friend, and when friend-making index is sufficiently large, push friend-making recommendation information gives another pressure-detecting device, so that separately One pressure-detecting device exports friend-making recommendation information to another user, is conducive to make friends by the realization that interacts with touch screen, Promote user experience.
As an alternative embodiment, obtaining user's finger pressing according to contact area in first acquisition unit 404 After the pressure value of touch screen, following steps can also be performed:
When receiving the seat adjustment instruction of user's input, obtains seat and adjust relation table;The seat adjusts relation table The corresponding relationship being used to indicate between the pressure and seat adjustment amplitude that user's pressing touch screen generates;
According to pressure value, is obtained from seat adjustment relation table and adjust amplitude with the matched target seat of pressure value;
Amplitude, which is adjusted, according to the target seat adjusts seat.
In the embodiment of the present invention, seat adjustment relation table can set according to many experiments for tester and be stored in this The corresponding relationship being used to indicate between the pressure and seat adjustment amplitude that user's pressing touch screen generates in ground caching, wherein Pressure value is bigger, and seat adjustment amplitude is bigger, and the embodiment of the present invention is not construed as limiting.
Implement the optional embodiment, when user feel front seat posture be not suitable for when, can be according to pressure value Seat is adjusted, greatly improves interactivity, the user experience is improved.
In the embodiment of the present invention, as an alternative embodiment, voice mould has can be set in first acquisition unit 404 Block, this can be used for identifying the phonetic order of input, and such as " please adjust seat " adjusts password, which adjusts as seat Instruction, when detecting the adjustment password, first acquisition unit 404 obtains seat and adjusts relation table.Implement the optional implementation Mode can input seat adjustment instruction by voice, then carry out seat adjustment according to pressure value, greatly improve mutually Dynamic property.
As it can be seen that implementing the pressure-detecting device based on touch screen described in Fig. 4, according to the action principle of power, user hand Referring to that the pressure of pressing touch screen is bigger, the deformation of user's finger is bigger, and the contact area of user's finger and touch screen is bigger, thus The quantity for triggering capacitance sensor is also more, and pressure-detecting device is triggered according to multiple capacitance sensors that touch screen is equipped with Quantity determines the contact area of user's finger and touch screen, calculates the pressure of user's finger pressing touch screen further according to contact area Force value can reduce cost, also, overcome inspection of the conventional pressure sensor to pressure without additional setting pressure sensor It surveys and is easy to be influenced by Vehicular vibration, improve the accuracy of pressure detecting.
Example IV
Referring to Fig. 5, Fig. 5 is the structure of another pressure-detecting device based on touch screen disclosed by the embodiments of the present invention Schematic diagram.Wherein, pressure-detecting device shown in fig. 5 is that pressure-detecting device as shown in Figure 4 advanced optimizes.With Pressure-detecting device shown in Fig. 4 compares, and pressure-detecting device shown in fig. 5 can also include:
Division unit 405, for detecting that destination number remains unchanged it within a preset time in first detection unit 402 Afterwards and before determination unit 403 determines user's finger and the contact area of touch screen according to destination number, according to what is be triggered The distribution situation of capacitance sensor on the touchscreen divides target area;Wherein, the capacitance sensor being triggered in target area Closeness be greater than default closeness, also, the area of target area is greater than the first preset area and less than the second preset area.
First judging unit 406, for judging whether the quantity of target area is more than preset quantity.
Determination unit 403, specifically for detecting that destination number is kept not within a preset time when first detection unit 402 When change and the first judging unit 406 judge that the quantity of target area is no more than preset quantity, is determined and used according to destination number The contact area of family finger and touch screen.
Second acquisition unit 407, for judging that the quantity of target area is no more than present count in the first judging unit 406 After amount and before determination unit 403 determines user's finger and the contact area of touch screen according to destination number, acquisition is touched Electricity holds first target capacitance sensor being triggered in sensor.
Second acquisition unit 407 obtains on the basis of being also used to by target capacitance sensor relative to vertical line where touch screen It takes the first quantity of the capacitance sensor being triggered that is distributed on the left of vertical line and is distributed in being triggered on the right side of vertical line Second quantity of capacitance sensor.
Whether second judgment unit 408, the difference for judging between the first quantity and the second quantity are less than preset difference value.
In the embodiment of the present invention, preset difference value can be set for tester according to abundant experimental results, the present invention Embodiment is not construed as limiting.In embodiments of the present invention, when the difference between the first quantity and the second quantity is less than preset difference value When, it is believed that by target capacitance sensor relative to vertical line where touch screen on the basis of, the quilt that is distributed on the left of vertical line First quantity of the capacitance sensor of triggering is approximately equal to the second number of the capacitance sensor being triggered being distributed on the right side of vertical line Amount, i.e. user make to press with finger after touch screen without sliding.
As an alternative embodiment, pressure-detecting device can also include control unit, in second judgment unit 408 judge that the difference between the first quantity and the second quantity is greater than or equal to after preset difference value, and control unit can also be held Row following steps:
If the first quantity is greater than the second quantity, the present displayed content controlled on touch screen is slided to the left, so that lower one page Content show on the touchscreen;
If the first quantity is less than the second quantity, the present displayed content controlled on touch screen is slided to the right, so that page up Content show on the touchscreen.
In the embodiment of the present invention, for example, can be with when user wants to allow the content of lower one page when touch screen is shown Make to slide to the left after pressing with finger touch screen, so that the of the capacitance sensor being triggered being distributed on the left of above-mentioned vertical line One quantity is greater than the second quantity of the capacitance sensor being triggered being distributed on the right side of above-mentioned vertical line, at this point, control unit control Present displayed content on touch screen processed is slided to the left, so that the content of lower one page is shown on the touchscreen.Again for example, when User wants to allow the content of page up when touch screen is shown, slides to the right after finger pressing touch screen can be used, so that The first quantity for being distributed in the capacitance sensor being triggered on the left of above-mentioned vertical line, which is less than, to be distributed on the right side of above-mentioned vertical line Second quantity of the capacitance sensor being triggered, at this point, the present displayed content on control unit control touch screen is slided to the right, So that the content of page up is shown on the touchscreen.
Implement the optional embodiment, if user slides to the left after making to press with finger touch screen, can make next The content of page is shown on the touchscreen, if user slides to the right after making to press with finger touch screen, can make the interior of page up Hold display on the touchscreen, greatly improves interactivity.
Second acquisition unit 407 is also used to judge between the first quantity and the second quantity when second judgment unit 408 When difference is less than preset difference value, by target capacitance sensor relative to horizontal line where touch screen on the basis of, acquisition is distributed in water The third quantity of the capacitance sensor being triggered on the upside of horizontal line and the capacitance sensor being triggered being distributed on the downside of horizontal line The 4th quantity.
It is default poor to be also used to judge whether the difference between third quantity and the 4th quantity is less than for second judgment unit 408 Value.
In the embodiment of the present invention, when the difference between third quantity and the 4th quantity is less than preset difference value, it can recognize For by target capacitance sensor relative to horizontal line where touch screen on the basis of, the capacitor being triggered that is distributed on the upside of horizontal line The third quantity of sensor is approximately equal to the 4th number of the capacitance sensor being triggered being distributed on the downside of horizontal line, i.e. user uses Without sliding after finger pressing touch screen.
As an alternative embodiment, judging between third quantity and the 4th quantity in second judgment unit 408 Difference be greater than or equal to preset difference value after, following steps can also be performed in control unit:
Judge whether touch screen is in read state;
If being in read state, and third quantity is greater than the 4th quantity, the present displayed content controlled on touch screen is upward Sliding, so that user continues to read;
If being in read state, and third quantity, less than the 4th quantity, the present displayed content controlled on touch screen is downward Sliding, the reading content before being looked back so as to user;
If being not at read state, terminate this process;
Wherein, the difference and sliding distance direct proportionality between third quantity and the 4th quantity.
In the embodiment of the present invention, for example, user is used touch screen and reads, when user runs through touch screen When present displayed content, upward sliding after finger pressing touch screen can be used, so that being distributed in the quilt on the upside of above-mentioned horizontal line The third quantity of the capacitance sensor of triggering is greater than the 4th of the capacitance sensor being triggered being distributed on the downside of above-mentioned horizontal line Quantity, at this point, the present displayed content upward sliding on control unit control touch screen, so that user continues to read.Again For example, user is used touch screen and reads, when user want look back before reading content when, finger can be used Slide downward after pressing touch screen, so that the third quantity for the capacitance sensor being triggered being distributed on the upside of above-mentioned horizontal line is small In the 4th quantity of the capacitance sensor being triggered being distributed on the downside of above-mentioned horizontal line, at this point, control unit controls touch screen On present displayed content slide downward, so as to user look back before reading content.
Implement the optional embodiment, if user's upward sliding after making to press with finger touch screen, can make to touch Present displayed content upward sliding on screen, so that user continues to read, if user is after making to press with finger touch screen Slide downward can make the present displayed content slide downward on touch screen, the reading content before looking back so as to user.
Determination unit 403, specifically for detecting that destination number is kept not within a preset time when first detection unit 402 Become and the first judging unit 406 judges that the quantity of target area is no more than preset quantity and second judgment unit 408 When judging that the difference between third quantity and the 4th quantity is less than preset difference value, user's finger and touching are determined according to destination number Touch the contact area of screen.
Second detection unit 409, for, according to contact area, obtaining user's finger pressing touching in first acquisition unit 404 After the pressure value for touching screen, whether the corresponding type of display content on the position of detection user's finger pressing touch screen is default Type.
Third judging unit 410, for detecting the position of user's finger pressing touch screen when second detection unit 409 The corresponding type of display content be preset kind when, judge whether pressure value is greater than preset pressure value.
Amplifying unit 411, for will show when third judging unit 410 judges that pressure value is greater than preset pressure value Content amplifies processing, wherein amplification factor and pressure value direct proportionality.
Reducing unit 412, for when third judging unit 410 judge pressure value be less than or equal to preset pressure value when, Display content is subjected to diminution processing, wherein minification and the inversely proportional relationship of pressure value.
In the embodiment of the present invention, when aobvious on the position that second detection unit 409 detects user's finger pressing touch screen When showing that the corresponding type of content is preset kind, if third judging unit 410 judges that pressure value is greater than preset pressure value, amplification Unit 411 will show that content amplifies processing, amplification factor and pressure value direct proportionality, i.e. pressure value is bigger, amplification Multiple is bigger;If third judging unit 410 judges that pressure value is less than or equal to preset pressure value, reducing unit 412 will be shown Content carries out diminution processing, minification and the inversely proportional relationship of pressure value, i.e. pressure value is smaller, and minification is bigger.
In the embodiment of the present invention, as an alternative embodiment, in first acquisition unit 404 according to contact area, After the pressure value for obtaining user's finger pressing touch screen, following steps can also be performed:
When receiving the setting instruction of user's input, the corresponding preview graph of several feedback effects is exported in touch screen;
Receive the targets preview figure of user's selection;
The corresponding feedback effects of targets preview figure are set as and the matched object feedback effect of pressure value;
By pressure value and object feedback effect associated storage to local cache, so that subsequent pressing touch screen generates the pressure When value, object feedback effect is shown on the touchscreen.
Implement the optional embodiment, pressure value can be mapped with the feedback effects of touch screen, so that subsequent When user presses touch screen, the pressure value that can be generated according to pressing touch screen shows corresponding feedback effects, improves user Experience.
As it can be seen that with implement Fig. 4 described in based on the pressure-detecting device of touch screen compared with, implement Fig. 5 described in base In the pressure-detecting device of touch screen, the efficiency of pressure detecting can be improved under the premise of avoiding user's accidentally touching touch screen.This Outside, pressure value detection caused by capable of being slided after avoiding user from making to press with finger touch screen becomes larger, and reduces pressure inspection Survey error.In addition, when the corresponding type of display content on the position of user's finger pressing touch screen is preset kind, it can be with Processing is zoomed in or out to display content according to the size of pressure value, interactivity is greatly improved, improves user's body It tests.
Embodiment five
Referring to Fig. 6, Fig. 6 is the structure of another pressure-detecting device based on touch screen disclosed by the embodiments of the present invention Schematic diagram.As shown in fig. 6, the pressure-detecting device may include:
It is stored with the memory 601 of executable program code;
The processor 602 coupled with memory 601;
Wherein, processor 602 calls the executable program code stored in memory 601, and it is any one to execute Fig. 2~Fig. 3 Pressure detection method of the kind based on touch screen.
The embodiment of the present invention discloses a kind of vehicle-mounted central control system, including disclosed by the embodiments of the present invention a kind of based on touch screen Pressure-detecting device.
The embodiment of the present invention discloses a kind of vehicle, including a kind of vehicle-mounted central control system disclosed by the embodiments of the present invention.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes computer execute any one pressure detection method based on touch screen of Fig. 2~Fig. 3.
The embodiment of the present invention discloses a kind of computer program product, which includes storing computer journey The non-transient computer readable storage medium of sequence, and the computer program be operable to computer is made to execute Fig. 2~Fig. 3 it is any A kind of pressure detection method based on touch screen.
The embodiment of the present invention is also disclosed a kind of using distribution platform, wherein using distribution platform for issuing computer journey Sequence product, wherein when computer program product is run on computers, so that computer executes such as the above each method embodiment In some or all of method step.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these special characteristics, structure Or characteristic can combine in any suitable manner in one or more embodiments.Those skilled in the art should also know that Embodiment described in this description belongs to alternative embodiment, and not necessarily the present invention must for related actions and modules Must.
In various embodiments of the present invention, it should be appreciated that magnitude of the sequence numbers of the above procedures are not meant to execute suitable Successively, the execution sequence of each process should be determined by its function and internal logic the certainty of sequence, without coping with the embodiment of the present invention Implementation process constitutes any restriction.Above-mentioned unit as illustrated by the separation member may or may not be physically separate , component shown as a unit may or may not be object unit, can be in one place, or can also divide On cloth to multiple network units.Some or all of units can be selected to realize this embodiment scheme according to the actual needs Purpose.
In addition, each functional unit in various embodiments of the present invention can integrate in one processing unit, it is also possible to Each unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit Both it can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in a retrievable memory of computer.Based on this understanding, technical solution of the present invention substantially or Person says all or part of of the part that contributes to existing technology or the technical solution, can be in the form of software products It embodies, which is stored in a memory, including several requests are with so that a computer is set Standby (can be personal computer, server or network equipment etc., specifically can be the processor in computer equipment) executes Some or all of each embodiment above method of the invention step.
In embodiment provided by the present invention, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can be with according to A Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information Determine B.In various embodiments of the present invention, it should be appreciated that the meaning of " A and/or B " refer to A and B respectively individualism or In the case where A and B are existed simultaneously is included in.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
A kind of pressure detection method and detection device based on touch screen disclosed by the embodiments of the present invention is carried out above It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as limiting the invention.

Claims (14)

1. a kind of pressure detection method based on touch screen, which is characterized in that the touch screen includes multiple capacitance sensors, institute State method further include:
When detecting that user's finger presses the touch screen, the capacitance sensing being triggered in the multiple capacitance sensor is monitored The destination number of device;
Detect whether the destination number remains unchanged within a preset time;
If remaining unchanged, the contact area of the user's finger Yu the touch screen is determined according to the destination number;
According to the contact area, the pressure value that the user's finger presses the touch screen is obtained.
2. the method according to claim 1, wherein detecting the destination number within a preset time described After remaining unchanged and it is described according to the destination number determine the user's finger and the touch screen contact area it Before, the method also includes:
Target area is divided according to distribution situation of the capacitance sensor being triggered on the touch screen;Wherein, described The closeness for the capacitance sensor being triggered described in target area is greater than default closeness;The area of the target area is greater than First preset area and less than the second preset area;
Whether the quantity for judging the target area is more than preset quantity;
If being no more than, the contact area that the user's finger and the touch screen are determined according to the destination number is executed Step.
3. according to the method described in claim 2, it is characterized in that, being no more than in the quantity for judging the target area After preset quantity and it is described according to the destination number determine the user's finger and the touch screen contact area it Before, the method also includes:
First target capacitance sensor being triggered in the capacitance sensor being triggered described in acquisition;
By the target capacitance sensor relative to vertical line where the touch screen on the basis of, acquisition is distributed in the vertical line First quantity of the capacitance sensor being triggered in left side and the electricity being triggered being distributed on the right side of the vertical line Hold the second quantity of sensor;
Judge whether the difference between first quantity and second quantity is less than preset difference value;
If being less than, by the target capacitance sensor relative to horizontal line where the touch screen on the basis of, acquisition is distributed in institute The quilt stating the third quantity of the capacitance sensor being triggered on the upside of horizontal line and being distributed on the downside of the horizontal line 4th quantity of the capacitance sensor of triggering;
Judge whether the difference between the third quantity and the 4th quantity is less than the preset difference value;
If being less than, the step of the contact area that the user's finger and the touch screen are determined according to the destination number is executed Suddenly.
4. according to the method described in claim 3, it is characterized in that, obtaining the user according to the contact area described After finger presses the pressure value of the touch screen, the method also includes:
Detect whether the corresponding type of display content that the user's finger presses on the position of the touch screen is preset kind;
If the corresponding type of the display content is the preset kind, judge whether the pressure value is greater than preset pressure value;
If more than the preset pressure value, the display content is amplified into processing, wherein amplification factor and the pressure value Direct proportionality;
If be less than or equal to the preset pressure value, the display content is subjected to diminution processing, wherein minification with it is described The inversely proportional relationship of pressure value.
5. method according to any one of claims 1 to 4, which is characterized in that described according to the contact area, obtain After the user's finger presses the pressure value of the touch screen, the method also includes:
When receiving the setting instruction of user's input, the corresponding preview of several feedback effects is exported in the touch screen Figure;
Receive the targets preview figure of user's selection;
The corresponding feedback effects of the targets preview figure are set as and the matched object feedback effect of the pressure value;
By the pressure value and the object feedback effect associated storage to local cache, so that the subsequent pressing touch screen produces When the raw pressure value, the object feedback effect is shown on the touch screen.
6. a kind of pressure-detecting device based on touch screen, which is characterized in that the touch screen includes multiple capacitance sensors, institute Stating pressure-detecting device includes:
Monitoring unit, for monitoring quilt in the multiple capacitance sensor when detecting that user's finger presses the touch screen The destination number of the capacitance sensor of triggering;
First detection unit, for detecting whether the destination number remains unchanged within a preset time;
Determination unit, for when the first detection unit detects that the destination number remains unchanged within a preset time, The contact area of the user's finger Yu the touch screen is determined according to the destination number;
First acquisition unit, for obtaining the pressure value that the user's finger presses the touch screen according to the contact area.
7. pressure-detecting device according to claim 6, which is characterized in that the pressure-detecting device further include:
Division unit, for detecting that the destination number remains unchanged it within a preset time in the first detection unit Afterwards and the determination unit according to the destination number determine the user's finger and the touch screen contact area it Before, target area is divided according to distribution situation of the capacitance sensor being triggered on the touch screen;Wherein, the mesh The closeness for the capacitance sensor being triggered described in mark region is greater than default closeness;The area of the target area is greater than the One preset area and less than the second preset area;
First judging unit, for judging whether the quantity of the target area is more than preset quantity;
The determination unit, specifically for detecting that the destination number is kept within a preset time when the first detection unit When constant and described first judging unit judges that the quantity of the target area is no more than the preset quantity, according to institute State the contact area that destination number determines the user's finger Yu the touch screen.
8. pressure-detecting device according to claim 7, which is characterized in that the pressure-detecting device further include:
Second acquisition unit, for judging that the quantity of the target area is no more than preset quantity in first judging unit Later and the determination unit according to the destination number determine the user's finger and the touch screen contact area it Before, first target capacitance sensor being triggered in the capacitance sensor that is triggered described in acquisition;
Second acquisition unit, on the basis of being also used to by the target capacitance sensor relative to vertical line where the touch screen, It obtains the first quantity of the capacitance sensor being triggered being distributed on the left of the vertical line and is distributed in the vertical line Second quantity of the capacitance sensor being triggered on right side;
Second judgment unit, for judging it is default poor whether the difference between first quantity and second quantity is less than Value;
The second acquisition unit is also used to judge first quantity and second quantity when the second judgment unit Between difference when being less than preset difference value, using the target capacitance sensor relative to horizontal line where the touch screen as base Standard obtains the third quantity for the capacitance sensor being triggered being distributed on the upside of the horizontal line and is distributed in the level 4th quantity of the capacitance sensor being triggered on the downside of line;
The second judgment unit, is also used to judge whether the difference between the third quantity and the 4th quantity is less than institute State preset difference value;
The determination unit, specifically for detecting that the destination number is kept within a preset time when the first detection unit Constant and described first judging unit judges that the quantity of the target area is no more than the preset quantity and described When second judgment unit judges that the difference between the third quantity and the 4th quantity is less than the preset difference value, according to The destination number determines the contact area of the user's finger Yu the touch screen.
9. pressure-detecting device according to claim 8, which is characterized in that the pressure-detecting device further include:
Second detection unit, for, according to the contact area, obtaining the user's finger pressing in the first acquisition unit After the pressure value of the touch screen, it is corresponding to detect the display content that the user's finger presses on the position of the touch screen Whether type is preset kind;
Third judging unit, for detecting that the user's finger presses the position of the touch screen when the second detection unit On the corresponding type of display content be preset kind when, judge whether the pressure value is greater than preset pressure value;
Amplifying unit, for that described will show when the third judging unit judges that the pressure value is greater than preset pressure value Show that content amplifies processing, wherein amplification factor and the pressure value direct proportionality;
Reducing unit, for judging that the pressure value is less than or equal to the preset pressure value when the third judging unit When, the display content is subjected to diminution processing, wherein minification and the inversely proportional relationship of the pressure value.
10. according to the described in any item pressure-detecting devices of claim 6 to 9, which is characterized in that the pressure-detecting device is also Include:
Output unit, for, according to the contact area, being obtained described in the user's finger pressing in the first acquisition unit After the pressure value of touch screen, when receiving the setting instruction of user's input, it is anti-that several are exported in the touch screen Present the corresponding preview graph of effect;
Receiving unit, for receiving the targets preview figure of user's selection;
Setup unit, for the corresponding feedback effects of the targets preview figure to be set as anti-with the matched target of the pressure value Present effect;
Storage unit is used for the pressure value and the object feedback effect associated storage to local cache, so that subsequent press When the touch screen being pressed to generate the pressure value, the object feedback effect is shown on the touch screen.
11. a kind of vehicle-mounted central control system, which is characterized in that the vehicle-mounted central control system includes any one of claim 6~10 institute The pressure-detecting device based on touch screen stated.
12. a kind of vehicle, which is characterized in that including the vehicle-mounted central control system described in claim 11.
13. a kind of pressure-detecting device based on touch screen characterized by comprising
It is stored with the memory of executable program code;
The central processing unit coupled with the memory;
The central processing unit calls the executable program code stored in the memory, requires 1- for perform claim A kind of 5 described in any item pressure detection methods based on touch screen.
14. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage computer journey Sequence, wherein the computer program makes computer perform claim require a kind of described in any item pressures based on touch screen of 1-5 Power detection method.
CN201910255709.9A 2019-03-28 2019-03-28 Pressure detection method and detection device based on touch screen Active CN109992161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910255709.9A CN109992161B (en) 2019-03-28 2019-03-28 Pressure detection method and detection device based on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910255709.9A CN109992161B (en) 2019-03-28 2019-03-28 Pressure detection method and detection device based on touch screen

Publications (2)

Publication Number Publication Date
CN109992161A true CN109992161A (en) 2019-07-09
CN109992161B CN109992161B (en) 2022-05-13

Family

ID=67130877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910255709.9A Active CN109992161B (en) 2019-03-28 2019-03-28 Pressure detection method and detection device based on touch screen

Country Status (1)

Country Link
CN (1) CN109992161B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124193A (en) * 2019-12-30 2020-05-08 深圳市汇顶科技股份有限公司 Signal processing method and device of sensor
CN115790819A (en) * 2022-08-24 2023-03-14 宁波普瑞均胜汽车电子有限公司 Vehicle-mounted touch equipment knocking detection method and device, touch equipment and storage medium
TWI828559B (en) * 2023-03-17 2024-01-01 達運精密工業股份有限公司 Touch control system and touch control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445311A (en) * 2016-11-08 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Icon display method, icon display device and terminal
WO2017143823A1 (en) * 2016-02-25 2017-08-31 上海斐讯数据通信技术有限公司 Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN108647505A (en) * 2018-04-19 2018-10-12 Oppo广东移动通信有限公司 Unlocked by fingerprint method and Related product
CN109117063A (en) * 2017-06-22 2019-01-01 广州市动景计算机科技有限公司 A kind of method for down loading and device, a kind of terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143823A1 (en) * 2016-02-25 2017-08-31 上海斐讯数据通信技术有限公司 Method and device for achieving electromagnetic interference resistance of capacitive touchscreen
CN106445311A (en) * 2016-11-08 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Icon display method, icon display device and terminal
CN109117063A (en) * 2017-06-22 2019-01-01 广州市动景计算机科技有限公司 A kind of method for down loading and device, a kind of terminal and storage medium
CN108647505A (en) * 2018-04-19 2018-10-12 Oppo广东移动通信有限公司 Unlocked by fingerprint method and Related product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124193A (en) * 2019-12-30 2020-05-08 深圳市汇顶科技股份有限公司 Signal processing method and device of sensor
CN115790819A (en) * 2022-08-24 2023-03-14 宁波普瑞均胜汽车电子有限公司 Vehicle-mounted touch equipment knocking detection method and device, touch equipment and storage medium
TWI828559B (en) * 2023-03-17 2024-01-01 達運精密工業股份有限公司 Touch control system and touch control method

Also Published As

Publication number Publication date
CN109992161B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
KR102018060B1 (en) Touch pressure detecting device and method
CN105183228B (en) A kind of terminal device and interface switching method
CN103744595B (en) Self-adaption display method and device
CN102662573B (en) By pressing the method and terminal that obtain options
CN109992161A (en) Pressure detection method and detection device based on touch screen
CN105144072B (en) Pressure sensitivity is simulated on multi-point touch control apparatus
CN105677082B (en) Fingerprint pressure testing method and its application process and corresponding intrument based on terminal device
CN106951174B (en) A kind of method of adjustment and mobile terminal of dummy keyboard
US10248231B2 (en) Electronic device with fingerprint detection
CN103869960A (en) Touch feedback system and touch feedback providing method thereof
CN106325663B (en) Mobile terminal and its screenshotss method
CN106126035A (en) A kind of method that application program shows and mobile terminal
CN103902222A (en) Touch screen slide adjusting method, touch screen slide adjusting device and touch device
CN110221758A (en) Scroll bar control method, device, computer equipment and storage medium
CN106331509A (en) Photographing method and mobile terminal
CN105930076A (en) Mobile communication terminal and method thereof for hiding selected object
CN105224198A (en) A kind of page control method, page control device and terminal
CN106775331A (en) One kind combination touch control operation device, terminal and method
CN107911533A (en) A kind of lower mobile terminal function key implementation method of screen comprehensively
KR20190067433A (en) Method for providing text-reading based reward advertisement service and user terminal for executing the same
CN105183320B (en) A kind of terminal device and its push-botton operation method
CN106529231A (en) User touch operation identification method and terminal
CN110737882A (en) Electronic equipment and method for starting fingerprint under screen
WO2024041452A1 (en) Fingerprint recognition method and apparatus, electronic device and readable storage medium
CN106775393B (en) The touch operation control method and device of terminal

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