CN109916284A - A kind of method for detecting position and terminal device - Google Patents
A kind of method for detecting position and terminal device Download PDFInfo
- Publication number
- CN109916284A CN109916284A CN201910155567.9A CN201910155567A CN109916284A CN 109916284 A CN109916284 A CN 109916284A CN 201910155567 A CN201910155567 A CN 201910155567A CN 109916284 A CN109916284 A CN 109916284A
- Authority
- CN
- China
- Prior art keywords
- mould group
- capacitor
- terminal device
- flexible mould
- detection terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The present invention provides a kind of method for detecting position and terminal device, the terminal device include shell and can stretch out or retract the flexible mould group of the shell, the terminal device further include: the detection terminal being set in the flexible mould group;It is fixedly installed on the intracorporal capacitive induction component of the shell.Terminal device provided by the invention, by the way that capacitive induction component is fixedly installed in shell, in this way during detection terminal carries out stretching motion with flexible mould group, the positional relationship of detection terminal and capacitive induction component can change, so that the capacitance between capacitive induction component and detection terminal can also change;Therefore the relative position of detection terminal Yu capacitive induction component can be determined according to the capacitor between capacitive induction component and detection terminal, to come the position that determines flexible mould group, the problem of the location information accuracy difference for mould group of stretching in effective solution terminal device.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for detecting position and terminal device.
Background technique
With the development of technology, the screen accounting of the terminal devices such as smart phone is higher and higher, more and more function elements,
Installation settings when needed, is stretched out outside the shell of terminal device, is being not required on terminal device in the form of flexible mould group
When wanting, it is retracted in the shell of terminal device.
For example, the design of flexible camera drives camera in the stretching stretched out outside shell generally by driving mechanism
State and being contracted between the intracorporal contraction state of shell switches.Wherein, in the motion process of camera, the flexible row of camera
Journey is to be realized by driving mechanism, for example the distance of stretch out and draw back of camera is calculated by the turnning circle of stepper motor, so
And there are Multi-stage transmission relationships between the shaft and camera of stepper motor, so that according to the turnning circle meter of stepper motor
Obtained location information is not accurate enough.
As it can be seen that there is the location information accuracy difference of flexible mould group in existing terminal device.
Summary of the invention
The embodiment of the present invention provides a kind of method for detecting position and terminal device, to solve to stretch in existing terminal device
The problem of the location information accuracy difference of mould group.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of terminal device, including shell and it can stretch out or retract institute
State the flexible mould group of shell, the terminal device further include:
The detection terminal being set in the flexible mould group;
It is fixedly installed on the intracorporal capacitive induction component of the shell.
Second aspect, the embodiment of the present invention also provide a kind of method for detecting position, are applied to above-mentioned terminal device, the side
Method includes:
Obtain the electricity between one or more capacitive sensing pieces in the detection terminal and the capacitive induction component
Hold;
The position of the flexible mould group is determined according to the capacitor.
The third aspect, the embodiment of the invention also provides a kind of terminal devices, comprising:
Module is obtained, for obtaining between one or more capacitive sensing pieces in detection terminal and capacitive induction component
Capacitor;
Determining module, for determining the position of flexible mould group according to the capacitor.
Fourth aspect, the embodiment of the present invention also provide a kind of terminal device, including processor, memory and are stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of existing above-mentioned method for detecting position.
5th aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage
Computer program is stored on medium, the computer program realizes the step of above-mentioned method for detecting position when being executed by processor
Suddenly.
In embodiments of the present invention, by shell be fixedly installed capacitive induction component, in this way detection terminal with
During flexible mould group carries out stretching motion, the positional relationship of detection terminal and capacitive induction component can change, from
And the capacitance between capacitive induction component and detection terminal can also change;It therefore can be according to capacitive induction component
Capacitor between detection terminal determines the relative position of detection terminal Yu capacitive induction component, thus to determine flexible mould group
Position.According to the capacitor between capacitive induction component and detection terminal, the position of flexible mould group can be accurately obtained, is had
The location information accuracy of the mould group that solves the problems, such as to stretch in terminal device of effect is poor.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is one of the structural schematic diagram of terminal device that one embodiment of the invention provides;
Fig. 2 is the second structural representation for the terminal device that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides one of the flow chart of method for detecting position;
Fig. 4 be another embodiment of the present invention provides method for detecting position flow chart two;
Fig. 5 is one of the structure chart of terminal device that one embodiment of the invention provides;
Fig. 6 is the two of the structure chart for the terminal device that one embodiment of the invention provides;
Fig. 7 is the three of the structure chart for the terminal device that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides terminal device structure chart.
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 described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As depicted in figs. 1 and 2, the embodiment of the present invention provides a kind of terminal device, including shell (not shown) and can stretch
Out or retract shell flexible mould group 10.Optionally, which can also include for driving flexible mould group 10 to stretch out
Or the driving mechanism (not shown) of shell is retracted, driving mechanism and flexible mould group 10 are drivingly connected, by driving flexible mould group
10 do stroke motion with realize flexible mould group 10 can stretch out shell stretching state or shrink shell retracted mode it
Between switch over.
Wherein, the terminal device further include:
The detection terminal 20 being set in flexible mould group 10;
It is fixedly installed on the intracorporal capacitive induction component 30 of shell.
In present embodiment, since detection terminal 20 is set in flexible mould group 10, detection terminal 20 can be with stretching
Contracting mould group 10 moves together, i.e. detection terminal 20 and the flexible stroke of flexible mould group 10 is identical.In detection terminal 20 with flexible
During mould group 10 carries out stretching motion, detection terminal 20 and the positional relationship of capacitive induction component 30 can change,
To which the capacitance between capacitive induction component and detection terminal can also change;It therefore can be according to capacitive induction group
Capacitor between part and detection terminal determines the relative position of detection terminal Yu capacitive induction component, thus to determine flexible mould
The position of group.According to the capacitor between capacitive induction component and detection terminal, the position of flexible mould group can be accurately obtained,
The problem of the location information accuracy difference for mould group of stretching in effective solution terminal device.
Wherein, optionally, terminal device can also include detection components (not shown), one end of the detection components with it is described
The electrical connection of capacitive induction component, the other end are electrically connected with the detection terminal.Certainly, optionally, detection terminal can be with this
The ground terminal of terminal device is connected, and the other end of detection components is also connected with the ground terminal of the terminal device, is at this time also detection components
A kind of situation for being electrically connected with detection terminal of the other end.The detection components can be used for detecting capacitive induction component 30 and detection
Capacitor between terminal to make the capacitor that obtains that terminal device can be convenient, and determines flexible mould group 10 according to the capacitor
Position.
Wherein, optionally, mould group 10 of stretching may include bracket 12 and the function element 11 that is arranged on bracket 12, function
Device 11 can be camera, can also be infrared sensor etc.;And detection terminal 20 can be set in flexible mould group 10
Bracket 12 on, allow detection terminal 20 follow bracket 12 move, so as to according to detection terminal 20 and capacitive induction
The relative position of component, to determine the position of flexible mould group 10.
Wherein, optionally, capacitive induction component 30 may include substrate (not shown) and the capacitor that is set on substrate
Sensing chip.Capacitive sensing piece can be fixed on substrate by welding.Wherein, substrate can be circuit board, can also be with
It has been the plate construction of fixed function, it is generally preferable to be circuit board.
Wherein, when flexible mould group 10 is stretched out or retracts shell, projected footprint of the detection terminal 20 on substrate is formed
View field, capacitive sensing piece are at least partly distributed in the view field.During the stretching motion of detection terminal 20,
Projected footprint of the detection terminal 20 on substrate will form a view field, which is detection terminal 20 in stretching motion
In the process, existing overlapping covered between substrate, and capacitive sensing piece is at least partly distributed in the view field.
In this way during detection terminal 20 carries out stretching motion, the capacitance between capacitive sensing piece and detection terminal can become
Change, so as to determine the relative position of detection terminal 20 Yu capacitive sensing piece according to the capacitor, and then determines flexible mould group 10
Position.
Optionally, capacitance detecting principle based on the embodiment of the present invention can be proximity capacitance induction principle, specifically
: a parasitic capacitance can be generated in the environment on the capacitance sensor for being set to circuit board, the capacitance sensor and periphery,
And the electric field around the capacitance sensor can pass through the solder mask of circuit board and interact with the external world, when there is mobile object (such as hand
Refer to) close to when, which can change the electric field line on capacitance sensor periphery, and form one with the capacitance sensor
A target capacitance, therefore capacitance detected by the capacitance sensor is the capacitance of parasitic capacitance and the capacitor of target capacitance
The sum of value.
Wherein, the capacitance of target capacitance is associated with contact area S, relative distance D, permittivity ε, contact area S
Area, relative distance D for the overlapping region of mobile object and capacitance sensor are the opposite of mobile object and capacitance sensor
The dielectric constant of distance, medium of the permittivity ε between mobile object and capacitance sensor.In the present embodiment, relatively
Distance D and permittivity ε are fixed value, only by changing contact area S, to change target capacitance value;It can be by changing
Become the overlapping region (contact area) of detection terminal and capacitive sensing piece, changes the electricity between detection terminal and capacitive sensing piece
Hold, and determine the position of detection terminal 20 according to the capacitor, the position for being based ultimately upon detection terminal 20 determines flexible mould group 10
Position.
The specific embodiment of the embodiment of the present invention is described in detail below:
As shown in Figure 1, capacitive induction component 30 may include at least two capacitive sensing pieces, and at least two capacitor senses
It answers piece to be spaced apart along the telescopic direction for mould group 10 of stretching, capacitive induction component 30 and inspection can be determined more accurately in this way
Survey the capacitor between terminal 20.As shown in Figure 1, capacitive induction component 30 may include M capacitive sensing in present embodiment
Piece, and detection terminal 20 can be sheet metal.And it can be set when detection terminal 20 covers a certain capacitive sensing piece, and determine
When capacitance between the capacitive sensing piece and detection terminal is more than or equal to preset value, then the sense of the capacitive sensing piece is set
Answering sub- result is 1, otherwise is set as 0.
Wherein, when detection terminal 20 includes a detection terminal, inductor result and travel position (distance of stretch out and draw back)
Corresponding relationship is as shown in table 1:
M1 value | M2 value | M3 value | M4 value | … | Mn value | Position |
1 | 0 | 0 | 0 | … | 0 | 1 |
0 | 1 | 0 | 0 | … | 0 | 2 |
0 | 0 | 1 | 0 | … | 0 | 3 |
0 | 0 | 0 | 1 | … | 0 | 4 |
0 | 0 | 0 | 0 | … | 0 | … |
0 | 0 | 0 | 0 | … | 1 | N |
Table 1
Optionally, be enhancing anti-interference ability, can be set at least two detection terminals in flexible mould group, and it is described extremely
Few two detection terminals are arranged at intervals at the side towards the capacitive induction component of the flexible mould group.For example, detection
Terminal 20 can be two or more sheet metals (detection terminal), pair of inductor result and travel position (distance of stretch out and draw back)
It should be related to as shown in table 2:
M1 value | M2 value | M3 value | M4 value | … | Mn value | Position |
1 | 1 | 0 | 0 | … | 0 | 1 |
0 | 1 | 1 | 0 | … | 0 | 2 |
0 | 0 | 1 | 1 | … | 0 | 3 |
0 | 0 | 0 | 1 | … | 0 | … |
0 | 0 | 0 | 0 | … | 1 | N-1 |
Table 2
Wherein, the quantity of detection terminal can also be increased, to further increase the reliability of detection, and the position of detection terminal
Setting non-conterminous can also be arranged.
For example, as shown in Fig. 2, capacitive induction component 30 may include first capacitor sensing chip 31 and the second capacitive sensing
Piece 32, and first capacitor sensing chip 31 and the second capacitive sensing piece 32 can be spaced apart along the telescopic direction of flexible mould group 10,
To pass through the capacitance determined between first capacitor sensing chip 31 and the second capacitive sensing piece 32 and detection terminal respectively, to determine
The distance of stretch out and draw back of flexible mould group 10.Present embodiment, detection terminal 20 can be the baffle being fixedly connected with flexible mould group 10 or
Person's sheet metal, in which:
Capacitance C1 between first capacitor sensing chip 31 and detection terminal can be indicated are as follows:
C1=CEnv1+ ε * A1/d=CEnv1+ ε * △ L1*W1/d
Capacitance C2 between second capacitive sensing piece 32 and detection terminal can be indicated are as follows:
C2=CEnv2+ ε * A2/d=CEnv2+ ε * △ L2*W2/d
Wherein, CEnv1 and CEnv2 respectively do not fix by the background capacitance value with stretching structure when Chong Die, this value, and can
To be calibrated out when leaving the factory.ε is dielectric constant;D is the sheet metal of stretching structure at a distance from sensing chip, is fixed value;A1 and
A2 is the overlapping area of first capacitor sensing chip 31 and the second capacitive sensing piece 32 and detection terminal 20 respectively.△ L1 and △ L2 is
The length of the induction panel region Chong Die with sheet metal.W1 and W2 is the width of two sensing chips, is fixed value.
It can be seen that the variation of induced electricity capacitance C only changes phase with the length △ L of the sensing chip of sheet metal overlapping region
It closes.
For ease of description, it is assumed that L1=L2, and when the limiting condition of stretching structure stretching, sheet metal can just cover entirely
Sensing chip M2.
When stretching structure is in initial position, △ L1=L1, △ L2=0, then C1=CEnv1+ ε * L1*W1/d;C2=
CEnv2;
When stretching structure is to external extension, C1=CEnv1+ ε * △ L1*W1/d;C2=CEnv2+ ε * △ L2*W2/d;Then stretch
The stroke Lout=L1- △ L1 of contracting;
When stretching structure reaches maximum projecting position, △ L2=L2;C1=CEnv1+ ε * △ L1*W1/d;C2=CEnv2
+ε*L2*W2/d;
When stretching structure is to when inside contracting, C1=CEnv1+ ε * △ L1*W1/d;C2=CEnv2+ ε * △ L2*W2/d;Then stretch
Stroke Lin=L2- △ L2;
Through the above scheme, the distance of stretch out and draw back of flexible mould group 10 can accurately be calculated.Moreover, in present embodiment
In, it can also only retain first capacitor sensing chip 31, but anti-interference ability and detection reliability are not so good as first capacitor sensing chip
31 and second capacitive sensing piece cooperation detection scheme.
Moreover, it is also possible to by being arranged additional sense channel, for example, can also by two groups of capacitive induction components 30,
To further provide for the precision and anti-interference ability of detection.
In this way, through the above technical solutions, according to the capacitor between capacitive induction component 30 and detection terminal, so as to
Accurately to obtain the position of flexible mould group 10, the location information accuracy for mould group of stretching in effective solution terminal device is poor
The problem of.
Referring to Fig. 3, Fig. 3 be another embodiment of the present invention provides method for detecting position flow chart, be applied to above-mentioned end
End equipment, the terminal device include detection terminal and capacitive induction component, and positional relationship and function are in above-mentioned implementation
It has been described in detail in mode, details are not described herein.As shown in Figure 3, which comprises
Step 301 obtains the detection terminal and one or more capacitive sensing pieces in the capacitive induction component
Between capacitor.
In the step, optionally, detection terminal and capacitive induction group can be obtained by the detection components of terminal device
The capacitor between one or more capacitive sensing pieces in part, can also be obtained by other modes, the embodiment of the present invention to this not
Make specific limit.
Wherein, if only one capacitive sensing piece on capacitive induction component, what is obtained is exactly detection terminal and the electricity
Hold the capacitor between sensing chip;If capacitive induction component be equipped with multiple capacitive sensing pieces, available detection terminal and its
In capacitor between a capacitive sensing piece, the also capacitor between available detection terminal and plurality of capacitive sensing piece.
The present invention is not especially limit this.
Step 302, the position that the flexible mould group is determined according to the capacitor.
In the step, it is based on capacitance detecting principle, since detection terminal is different from the relative position of capacitive induction component
When, the capacitor between detection terminal and capacitive sensing piece also can be different, therefore can be according to detection terminal and one or more electricity
Hold the capacitor between sensing chip to determine the position of flexible mould group, mould group of stretching in effective solution prior art terminal equipment
Location information accuracy difference problem.
Optionally, step 302 may include: and search corresponding with the capacitor flexible from preset first corresponding relationship
The position of mould group, wherein the first corresponding relationship includes the corresponding relationship of the position of capacitor and flexible mould group.At this point, due in advance
The position of capacitor and flexible mould group is established into corresponding relationship, thus getting detection terminal and one or more capacitive sensings
After capacitor between piece, the position of flexible mould group can be quickly determined by searching for second corresponding relationship.
In present embodiment, it can be based on capacitance detecting principle, capacitor and flexible mould group (or test side is stored in advance
Son) position the first corresponding relationship.Then, one or more capacitors in detection terminal and capacitive induction component are being obtained
After capacitor between sensing chip, the position of flexible mould group corresponding with the capacitor can be searched from preset first corresponding relationship
It sets, so that it is determined that the position of the flexible mould group of terminal device.
Wherein it is possible to be stretched according to capacitance size or situation of change between detection terminal and capacitive sensing piece to determine
The position of contracting mould group.Such as when stretching mould group at the A of position, the capacitance between detection terminal and capacitive sensing piece is C1, is stretched
When contracting mould group is at the B of position, the capacitance between detection terminal and capacitive sensing piece is C2, then can establish C1's and position A
The corresponding relationship of corresponding relationship and C2 and position B.In this way when detect the capacitor between detection terminal and capacitive sensing piece by
When C1 changes to C2, then it can determine that flexible mould group becomes position B from position A.
The method for detecting position of the embodiment of the present invention, can be according between detection terminal and one or more capacitive sensing pieces
Capacitor determine the position of flexible mould group, the location information for mould group of stretching in effective solution prior art terminal equipment is quasi-
The problem of true property difference.
Fig. 4 be another embodiment of the present invention provides method for detecting position flow chart.As shown in figure 4, the method packet
It includes:
Step 401 obtains the detection terminal and one or more capacitive sensing pieces in the capacitive induction component
Between capacitor.
In the step, optionally, detection terminal and capacitive induction group can be obtained by the detection components of terminal device
The capacitor between one or more capacitive sensing pieces in part, can also be obtained by other modes, the embodiment of the present invention to this not
Make specific limit.
Wherein, if only one capacitive sensing piece on capacitive induction component, what is obtained is exactly detection terminal and the electricity
Hold the capacitor between sensing chip;If capacitive induction component be equipped with multiple capacitive sensing pieces, available detection terminal and its
In capacitor between a capacitive sensing piece, the also capacitor between available detection terminal and plurality of capacitive sensing piece.
The present invention is not especially limit this.
Step 402, according to the capacitor, determine induction as a result, the induction result includes the one or more capacitors
The inductor result of sensing chip.
Optionally, which can be one in the detection terminal and capacitive induction component obtained in step 401
Capacitor between a or multiple capacitive sensing pieces;It is also possible to the new variable obtained after handling the capacitor, such as to
The capacitor adds a parameter or multiplies a parameter etc.;It can also be through a certain corresponding relationship, obtain corresponding with the capacitor
With another variable etc., the present invention is not especially limit this.
Optionally, in a kind of more preferred scheme, according to the capacitor, determine induction as a result, can specifically include:
If the capacitance between capacitive sensing piece and detection terminal is greater than or equal to preset value, it is determined that the inductor of the capacitive sensing piece
It as a result is the first value;If the capacitance between capacitive sensing piece and detection terminal is less than the preset value, it is determined that the capacitive sensing
The inductor result of piece is second value.
For example, the distribution situation of inductor result can refer to Tables 1 and 2.Wherein, in Tables 1 and 2, the first value is set
It is set to 1, second value is set as 0.It should be noted that the setting of the first value and second value can be with other modes or other numbers
Value, the present invention is not especially limit this.
At this point, can simplify induction result by indicating inductor result with the first value and second value;It can mention simultaneously
The fault-tolerance of the high method for detecting position.
Step 403, from preset second corresponding relationship, search and incude the result corresponding flexible mould group with described
Position.
Wherein, second corresponding relationship includes the corresponding relationship for incuding the position of result and the flexible mould group.
In the step, it can be based on capacitance detecting principle, inductor result and flexible mould group (or test side is stored in advance
Son) position the second corresponding relationship.It is then possible to search and from preset second corresponding relationship by being determined in step 402
The corresponding flexible mould group of induction result position.
The method for detecting position of the embodiment of the present invention, can be according between detection terminal and one or more capacitive sensing pieces
Capacitor come determine induction as a result, the position of the corresponding flexible mould group of the induction result is checked in from the second corresponding relationship again.By
The position for incuding result and flexible mould group is established into corresponding relationship in advance, thus getting detection terminal and one or more
After capacitor between a capacitive sensing piece, induction can be determined as a result, again by searching for the second corresponding pass according to the capacitor
System quickly determines the position of flexible mould group.
It is the structure chart for the terminal device that one embodiment of the invention provides referring to Fig. 5, Fig. 5, as shown in figure 5, terminal device
500 include obtaining module 501 and determining module 502, in which:
Module 501 is obtained, for obtaining one or more capacitive sensing pieces in detection terminal and capacitive induction component
Between capacitor;
Determining module 502, for determining the position of flexible mould group according to the capacitor.
Terminal device provided in an embodiment of the present invention can obtain detection terminal and one or more electricity according to module is obtained
Hold the capacitor between sensing chip, then determines the position of flexible mould group by determining module, thus effective solution prior art end
The problem of the location information accuracy difference for mould group of stretching in end equipment.
Optionally, as shown in fig. 6, the determining module 502 may include the first lookup submodule 5021.Described first looks into
Submodule 5021 is looked for, for searching the position of the flexible mould group corresponding with the capacitor from preset first corresponding relationship
It sets;
Wherein, first corresponding relationship includes the corresponding relationship of the position of capacitor and the flexible mould group.
At this point, since the position of capacitor and flexible mould group is established corresponding relationship in advance, thus getting test side
After capacitor between son and one or more capacitive sensing pieces, the second corresponding pass can be searched by the first lookup submodule
System quickly determines the position of flexible mould group.
Optionally, as shown in fig. 7, the determining module 502, may include that the first determining submodule 5022 and second is searched
Submodule 5023.
Described first determines submodule 5022, for determining induction as a result, the induction result includes according to the capacitor
The inductor result of one or more capacitive sensing pieces.
Described second searches submodule 5023, for searching and the induction result from preset second corresponding relationship
The position of the corresponding flexible mould group.
It wherein, include the corresponding relationship of induction result with the position of the flexible mould group in second corresponding relationship.
At this point, since the position for incuding result and flexible mould group is established corresponding relationship in advance, thus getting inspection
After surveying the capacitor between terminal and one or more capacitive sensing pieces, it can determine that submodule determines by first according to the capacitor
Induction is as a result, search second corresponding relationship by the second lookup submodule again, to quickly determine the position of flexible mould group.
Optionally, it described first determines submodule 5022, can be specifically used for: if the capacitive sensing piece and the detection
Capacitance between terminal is greater than or equal to preset value, it is determined that the inductor result of the capacitive sensing piece is the first value;If
Capacitance between the capacitive sensing piece and the detection terminal is less than the preset value, it is determined that the capacitive sensing piece
Inductor result is second value.
At this point, can simplify induction result by indicating inductor result with the first value and second value;It can mention simultaneously
The fault-tolerance of the position of the flexible mould group of height.
Terminal device 500 can be realized each process that terminal device is realized in above method embodiment, to avoid repeating,
Which is not described herein again.
The hardware structural diagram of Fig. 8 a kind of terminal device of each embodiment to realize the present invention, as shown in figure 8, should
Terminal device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804,
Sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, Yi Ji electricity
The components such as source 811.It will be understood by those skilled in the art that terminal device structure shown in Fig. 8 is not constituted to terminal device
Restriction, terminal device may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop, palm PC,
Car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810, for obtaining one or more of the detection terminal and the capacitive induction component
Capacitor between capacitive sensing piece;And the position of the flexible mould group of the terminal device is determined according to the capacitor.
Terminal device provided in an embodiment of the present invention, can be according to acquisition detection terminal and one or more capacitive sensing pieces
Between capacitor, determining the position of flexible mould group, thus mould group of stretching in effective solution prior art terminal equipment
The problem of location information accuracy difference.
Terminal device 800 can be realized each process that terminal device is realized in previous embodiment, to avoid repeating, here
It repeats no more.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end
The relevant audio output of specific function that end equipment 800 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor
(Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited
Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike
Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal device 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when terminal device 800 is moved in one's ear
Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap
Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and
Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071
Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area
It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments
8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it
On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching
The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display
Panel 8061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with terminal device 800.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 800 or can be used in 800 He of terminal device
Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage
Data in device 809 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Terminal device 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811
Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 800 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 810, and memory 809 is stored in
On memory 809 and the computer program that can run on the processor 810, the computer program are executed by processor 810
Each process of the above-mentioned method for detecting position embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned method for detecting position embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (15)
1. a kind of terminal device, which is characterized in that including shell and can stretch out or retract the flexible mould group of the shell, institute
State terminal device further include:
The detection terminal being set in the flexible mould group;
It is fixedly installed on the intracorporal capacitive induction component of the shell.
2. terminal device according to claim 1, which is characterized in that it further include detection components, the one of the detection components
End is electrically connected with the capacitive induction component, and the other end is electrically connected with the detection terminal.
3. terminal device according to claim 1 or 2, which is characterized in that the capacitive induction component include substrate and
The capacitive sensing piece being set on the substrate;
Wherein, when the flexible mould group stretches out or retracts the shell, the projection of the detection terminal on the substrate
Track forms view field, and the capacitive sensing piece is at least partly distributed in the view field.
4. terminal device according to claim 3, which is characterized in that the capacitive induction component includes at least two institutes
Capacitive sensing piece is stated, at least two capacitive sensing pieces are spaced apart along the telescopic direction of the flexible mould group.
5. terminal device according to claim 1 or 2, which is characterized in that be provided at least two in the flexible mould group
The detection terminal, and at least two detection terminals be arranged at intervals at the flexible mould group towards the capacitive induction
The side of component.
6. terminal device according to claim 1 or 2, which is characterized in that the flexible mould group includes that bracket and setting exist
Function element on the bracket, the detection terminal setting is on the bracket.
7. a kind of method for detecting position, which is characterized in that it is applied to such as terminal device described in any one of claims 1 to 6,
The described method includes:
Obtain the capacitor between one or more capacitive sensing pieces in the detection terminal and the capacitive induction component;
The position of the flexible mould group is determined according to the capacitor.
8. the method according to the description of claim 7 is characterized in that the position for determining the flexible mould group according to the capacitor
It sets, comprising:
From preset first corresponding relationship, the position of the flexible mould group corresponding with the capacitor is searched;
Wherein, first corresponding relationship includes the corresponding relationship of the position of capacitor and the flexible mould group.
9. the method according to the description of claim 7 is characterized in that the position for determining the flexible mould group according to the capacitor
It sets, comprising:
According to the capacitor, induction is determined as a result, the induction result includes the induction of one or more capacitive sensing pieces
Sub- result;
From preset second corresponding relationship, the position of the flexible mould group corresponding with the induction result is searched;
Wherein, second corresponding relationship includes the corresponding relationship for incuding the position of result and the flexible mould group.
10. according to the method described in claim 9, it is characterized in that, described according to the capacitor, determining induction result, comprising:
If the capacitance between the capacitive sensing piece and the detection terminal is greater than or equal to preset value, it is determined that the capacitor
The inductor result of sensing chip is the first value;
If the capacitance between the capacitive sensing piece and the detection terminal is less than the preset value, it is determined that the capacitor sense
The inductor result for answering piece is second value.
11. a kind of terminal device characterized by comprising
Module is obtained, for obtaining the electricity between one or more capacitive sensing pieces in detection terminal and capacitive induction component
Hold;
Determining module, for determining the position of flexible mould group according to the capacitor.
12. terminal device according to claim 11, which is characterized in that the determining module includes the first lookup submodule
Block, described first searches submodule, corresponding with the capacitor described flexible for searching from preset first corresponding relationship
The position of mould group;
Wherein, first corresponding relationship includes the corresponding relationship of the position of capacitor and the flexible mould group.
13. terminal device according to claim 11, which is characterized in that the determining module includes the first determining submodule
Submodule is searched with second;
Described first determines submodule, for according to the capacitor, determining induction as a result, the induction result includes one or more
The inductor result of a capacitive sensing piece;
Described second searches submodule, for searching institute corresponding with the induction result from preset second corresponding relationship
State the position of flexible mould group;
Wherein, second corresponding relationship includes the corresponding relationship for incuding the position of result and the flexible mould group.
14. terminal device according to claim 13, which is characterized in that described first determines submodule, is specifically used for:
If the capacitance between the capacitive sensing piece and the detection terminal is greater than or equal to preset value, it is determined that the capacitor
The inductor result of sensing chip is the first value;
If the capacitance between the capacitive sensing piece and the detection terminal is less than the preset value, it is determined that the capacitor sense
The inductor result for answering piece is second value.
15. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
State the computer program run on processor, when the computer program is executed by the processor realize as claim 7 to
The step of method for detecting position described in any one of 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155567.9A CN109916284A (en) | 2019-03-01 | 2019-03-01 | A kind of method for detecting position and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155567.9A CN109916284A (en) | 2019-03-01 | 2019-03-01 | A kind of method for detecting position and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109916284A true CN109916284A (en) | 2019-06-21 |
Family
ID=66962920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910155567.9A Pending CN109916284A (en) | 2019-03-01 | 2019-03-01 | A kind of method for detecting position and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109916284A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825168A (en) * | 2019-10-31 | 2020-02-21 | 维沃移动通信有限公司 | Electronic equipment and control element control method |
CN113116162A (en) * | 2019-12-31 | 2021-07-16 | 浙江苏泊尔家电制造有限公司 | Cooking appliance and control method thereof |
CN114543644A (en) * | 2022-02-18 | 2022-05-27 | 广州市欧智智能科技有限公司 | Head position detection method, device, terminal and medium |
CN117674537A (en) * | 2024-01-30 | 2024-03-08 | 基合半导体(宁波)有限公司 | Focusing motor, closed-loop control method of focusing motor and image pickup apparatus |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN87102624A (en) * | 1986-04-04 | 1987-10-14 | 株式会社三丰制作所 | Capacitance type transducer for measuring positions |
CN87102580A (en) * | 1986-04-04 | 1987-12-02 | 株式会社三丰制作所 | Capacitance type transducers for measuring positions |
CN1033478A (en) * | 1987-12-09 | 1989-06-21 | 林文 | Capacitive position transducer |
DE9421121U1 (en) * | 1994-11-10 | 1995-04-27 | Siedle Horst Kg | Device for determining a respective local position of a body by capacitive scanning |
JPH095111A (en) * | 1995-06-12 | 1997-01-10 | Hewlett Packard Co <Hp> | Position detector, positioning device and media-movement type memory device |
JP2000350073A (en) * | 1999-06-03 | 2000-12-15 | Olympus Optical Co Ltd | Extension unit for electronic camera and electronic camera system |
CN1497237A (en) * | 2002-01-11 | 2004-05-19 | ���չ�˾ | Position sensor based on capacity |
CN1929773A (en) * | 2004-03-08 | 2007-03-14 | 奥林巴斯株式会社 | Capsule medical device position/posture detecting system |
US20080000304A1 (en) * | 2006-03-03 | 2008-01-03 | North Carolina State University | Sensor device for real-time monitoring of relative movement using capacitive fabric sensors |
CN101123626A (en) * | 2006-08-08 | 2008-02-13 | 富士通株式会社 | Portable terminal device and position detection method used therein |
CN102735150A (en) * | 2011-04-13 | 2012-10-17 | 埃尔拉德国际公司 | Capacitive travel sensor |
WO2014089892A1 (en) * | 2012-12-12 | 2014-06-19 | Wang Zubin | Differential capacitance displacement conversion and subdivision method and capacitive linear displacement measuring system |
CN107888728A (en) * | 2017-11-30 | 2018-04-06 | 维沃移动通信有限公司 | A kind of mobile terminal and the image pickup method based on the mobile terminal |
CN108173993A (en) * | 2017-12-25 | 2018-06-15 | 维沃移动通信有限公司 | A kind of camera module, control method and mobile terminal |
CN108390964A (en) * | 2018-01-31 | 2018-08-10 | 维沃移动通信有限公司 | A kind of camera head protecting method and mobile terminal |
-
2019
- 2019-03-01 CN CN201910155567.9A patent/CN109916284A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN87102624A (en) * | 1986-04-04 | 1987-10-14 | 株式会社三丰制作所 | Capacitance type transducer for measuring positions |
CN87102580A (en) * | 1986-04-04 | 1987-12-02 | 株式会社三丰制作所 | Capacitance type transducers for measuring positions |
CN1033478A (en) * | 1987-12-09 | 1989-06-21 | 林文 | Capacitive position transducer |
DE9421121U1 (en) * | 1994-11-10 | 1995-04-27 | Siedle Horst Kg | Device for determining a respective local position of a body by capacitive scanning |
JPH095111A (en) * | 1995-06-12 | 1997-01-10 | Hewlett Packard Co <Hp> | Position detector, positioning device and media-movement type memory device |
JP2000350073A (en) * | 1999-06-03 | 2000-12-15 | Olympus Optical Co Ltd | Extension unit for electronic camera and electronic camera system |
CN1497237A (en) * | 2002-01-11 | 2004-05-19 | ���չ�˾ | Position sensor based on capacity |
CN1929773A (en) * | 2004-03-08 | 2007-03-14 | 奥林巴斯株式会社 | Capsule medical device position/posture detecting system |
US20080000304A1 (en) * | 2006-03-03 | 2008-01-03 | North Carolina State University | Sensor device for real-time monitoring of relative movement using capacitive fabric sensors |
CN101123626A (en) * | 2006-08-08 | 2008-02-13 | 富士通株式会社 | Portable terminal device and position detection method used therein |
CN102735150A (en) * | 2011-04-13 | 2012-10-17 | 埃尔拉德国际公司 | Capacitive travel sensor |
WO2014089892A1 (en) * | 2012-12-12 | 2014-06-19 | Wang Zubin | Differential capacitance displacement conversion and subdivision method and capacitive linear displacement measuring system |
CN107888728A (en) * | 2017-11-30 | 2018-04-06 | 维沃移动通信有限公司 | A kind of mobile terminal and the image pickup method based on the mobile terminal |
CN108173993A (en) * | 2017-12-25 | 2018-06-15 | 维沃移动通信有限公司 | A kind of camera module, control method and mobile terminal |
CN108390964A (en) * | 2018-01-31 | 2018-08-10 | 维沃移动通信有限公司 | A kind of camera head protecting method and mobile terminal |
Non-Patent Citations (1)
Title |
---|
戚玉强 等: "《传感器与检测技术》", 31 August 2018, 北京航空航天大学出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825168A (en) * | 2019-10-31 | 2020-02-21 | 维沃移动通信有限公司 | Electronic equipment and control element control method |
CN113116162A (en) * | 2019-12-31 | 2021-07-16 | 浙江苏泊尔家电制造有限公司 | Cooking appliance and control method thereof |
CN113116162B (en) * | 2019-12-31 | 2023-10-03 | 浙江苏泊尔家电制造有限公司 | Cooking appliance and control method of cooking appliance |
CN114543644A (en) * | 2022-02-18 | 2022-05-27 | 广州市欧智智能科技有限公司 | Head position detection method, device, terminal and medium |
CN117674537A (en) * | 2024-01-30 | 2024-03-08 | 基合半导体(宁波)有限公司 | Focusing motor, closed-loop control method of focusing motor and image pickup apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109916284A (en) | A kind of method for detecting position and terminal device | |
CN108845853A (en) | A kind of application program launching method and mobile terminal | |
CN108111730A (en) | A kind of camera module, control method and mobile terminal | |
CN109189305A (en) | A kind of hinge, electronic equipment and control method of electronic device | |
CN109067418A (en) | A kind of method of controlling antenna and mobile terminal | |
CN108173993A (en) | A kind of camera module, control method and mobile terminal | |
CN108008859B (en) | Screen control method and mobile terminal | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN109862504A (en) | A kind of display methods and terminal device | |
CN110196619A (en) | A kind of hinge, electronic equipment and folding angles determine method | |
CN110139018A (en) | Camera controls the control method for movement and terminal of mould group, camera | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN109710150A (en) | Key control method and terminal | |
CN108469925A (en) | A kind of touch control detecting method, mobile terminal | |
CN108541015A (en) | A kind of signal strength reminding method and mobile terminal | |
CN110531915A (en) | Screen operating method and terminal device | |
CN109639861A (en) | A kind of cut-in method of matching network, system and mobile terminal | |
CN108984066A (en) | A kind of application icon display methods and mobile terminal | |
CN108111750A (en) | A kind of zooming adjustment method and mobile terminal | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN109905579B (en) | Position detection method and terminal equipment | |
CN110166601A (en) | A kind of terminal and the screen control method applied to terminal | |
CN109769051A (en) | A kind of device for detecting distance of travel, method and terminal | |
CN109443261A (en) | The acquisition methods and mobile terminal of Folding screen mobile terminal folding angles | |
CN108881558A (en) | Mobile terminal and its FM anti-jamming circuit |
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 |