CN109905579A - Method for detecting position and terminal device - Google Patents
Method for detecting position and terminal device Download PDFInfo
- Publication number
- CN109905579A CN109905579A CN201910155566.4A CN201910155566A CN109905579A CN 109905579 A CN109905579 A CN 109905579A CN 201910155566 A CN201910155566 A CN 201910155566A CN 109905579 A CN109905579 A CN 109905579A
- Authority
- CN
- China
- Prior art keywords
- inductance
- inductance coil
- terminal device
- mould group
- distance
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The present invention provides a kind of method for detecting position and terminal device, terminal device include shell and can stretch out or retract the flexible mould group of the shell, the terminal device further include: the test side subgroup in the flexible mould group is arranged in;The inductance coil component being set in the Telescopic path of the test side subgroup;The detection module being electrically connected with the inductance coil component for detecting the inductance situation of change of the inductance coil component, and determines the distance of stretch out and draw back of the flexible mould group according to the inductance situation of change.Terminal device provided by the invention, by the inductance situation of change for detecting inductance coil component, the distance of stretch out and draw back of flexible mould group can be measured in real time, so as to accurately obtaining the distance of stretch out and draw back of flexible mould group, calculatings of the effective solution distance of stretch out and draw back for mould group of stretching in the prior art has that accuracy is poor.
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 distance of stretch out and draw back is not accurate enough.
As it can be seen that there is accuracy difference in the calculating of the distance of stretch out and draw back of existing flexible mould group.
Summary of the invention
The embodiment of the present invention provides a kind of method for detecting position and terminal device, to solve the flexible of existing flexible mould group
There is accuracy difference in the calculating of distance.
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:
Test side subgroup in the flexible mould group is set;
The inductance coil component being set in the Telescopic path of the test side subgroup;
The detection module being electrically connected with the inductance coil component, the inductance for detecting the inductance coil component become
Change situation, and determines the distance of stretch out and draw back of the flexible mould group according to the inductance situation of change.
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 inductance situation of change of the inductance coil component;
The distance of stretch out and draw back of the flexible mould group of the terminal device is determined according to the inductance situation of change.
The third aspect, the embodiment of the invention also provides a kind of terminal devices, comprising:
Module is obtained, for obtaining the inductance situation of change of inductance coil component;
Determining module, the telescopic distance of the flexible mould group for determining the terminal device according to the inductance situation of change
From.
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, it by the way that inductance coil component is arranged in the Telescopic path of test side subgroup, stretches logical
Road is test side subgroup occupied stroke motion space in flexible mould group motion process, and inductance coil component can be just
To test side subgroup be arranged, in this way test side subgroup with flexible mould group carry out stretching motion during, test side subgroup with
There are overlapping regions for inductance coil component.And when due to test side subgroup and the relative position difference of inductance coil component, inductance
The inductance value of coil block also can be different, therefore the inductance variation feelings of inductance coil component can be detected by detection module
Condition, and determine according to inductance situation of change the relative position of test side subgroup Yu inductance coil component, thus to determine flexible mould
The distance of stretch out and draw back of group.By detecting the inductance situation of change of inductance coil component, the distance of stretch out and draw back of flexible mould group can be carried out
Real-time detection, so as to accurately obtaining the distance of stretch out and draw back of flexible mould group, effective solution mould group of stretching in the prior art
Distance of stretch out and draw back calculating there is a problem of accuracy difference.
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 testing agency of terminal device that one embodiment of the invention provides;
Fig. 2 is the variation tendency schematic diagram of inductance corresponding with Fig. 1 and distance of stretch out and draw back;
Fig. 3 is the second structural representation of the testing agency for the terminal device that one embodiment of the invention provides;
Fig. 4 is the variation tendency schematic diagram of inductance corresponding with Fig. 3 and distance of stretch out and draw back;
Fig. 5 is the third structural representation of the testing agency for the terminal device that one embodiment of the invention provides;
Fig. 6 is the variation tendency schematic diagram of inductance corresponding with Fig. 5 and distance of stretch out and draw back;
Fig. 7 is the four of the structural schematic diagram of the testing agency for the terminal device that one embodiment of the invention provides;
Fig. 8 is the variation tendency schematic diagram of inductance corresponding with Fig. 7 and distance of stretch out and draw back;
Fig. 9 is the five of the structural schematic diagram of the testing agency for the terminal device that one embodiment of the invention provides;
Figure 10 another embodiment of the present invention provides method for detecting position flow chart;
The structure chart for the terminal device that Figure 11 one embodiment of the invention provides;
Figure 12 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 shown in Figures 1 to 9, the embodiment of the present invention provides a kind of terminal device, including shell (not shown) and can stretch
Out or retract the flexible mould group 10 of shell, wherein flexible mould group 10 includes bracket 11 and the effector that is set on bracket 11
Part 12, function element 12 can be camera, can also be infrared sensor etc.;And terminal device can also include for driving
The driving mechanism (not shown) of shell is stretched out or retracted to dynamic flexible mould group 10, and driving mechanism and flexible mould group 10 are drivingly connected,
By driving flexible mould group 10 to do stroke motion to realize that flexible mould group 10 can be in the stretching state or shrink for stretching out shell
It is switched between the retracted mode of shell.
Wherein, terminal device further include:
The test side subgroup 20 being set in flexible mould group 10;
The inductance coil component 30 being set in the Telescopic path of test side subgroup 20;
The detection module (not shown) being electrically connected with inductance coil component 30, for detecting the electricity of inductance coil component 30
Feel situation of change, and determines the distance of stretch out and draw back of flexible mould group 10 according to inductance situation of change.
In present embodiment, since test side subgroup 20 is set in flexible mould group 1, test side subgroup 20 can be with
Flexible mould group 10 moves together, i.e. the flexible stroke of test side subgroup 20 and flexible mould group 10 is identical.Pass through detection inspection in this way
The distance of stretch out and draw back for surveying terminal group 20 is the distance of stretch out and draw back that can determine flexible mould group 10.
By the way that inductance coil component 30 is arranged in the Telescopic path of test side subgroup 20, Telescopic path is test side subgroup
20 in flexible 10 motion process of mould group occupied space, and inductance coil component 30 can be with respect to test side subgroup
20 settings.In this way during test side subgroup 20 carries out stretching motion with flexible mould group 10, test side subgroup 20 and inductance
There are overlapping regions for coil block 30.And when due to test side subgroup 20 and the relative position difference of inductance coil component 30, electricity
The inductance value for feeling coil block 30 also can be different;Therefore the inductance that inductance coil component 30 can be detected by detection module becomes
Change situation, and determine the relative position of test side subgroup 20 Yu inductance coil component 30 according to inductance situation of change, to come true
Surely the distance of stretch out and draw back of flexible mould group 10 (test side subgroup 20).It, can by detecting the inductance situation of change of inductance coil component 30
It is measured in real time with the distance of stretch out and draw back to flexible mould group 10, so as to accurately obtain the distance of stretch out and draw back of flexible mould group 10,
In the prior art stretch calculatings of distance of stretch out and draw back of mould group 10 of effective solution has that accuracy is poor.
Wherein, inductance coil component 30 includes substrate (not shown) and the inductance coil group being set on substrate, inductor wire
Circle group can lead to overetched mode and be disposed on the substrate, and can also be disposed on the substrate by way of pasting winding.Wherein,
Substrate can be circuit board, can also play the plate construction of fixed function, it is generally preferable to be circuit board.
Wherein, during the stretching motion of test side subgroup 20, projected footprint of the test side subgroup 20 on substrate
It will form a view field, which is test side subgroup 20 during stretching motion, existing between substrate
It is overlapping covered, and inductance coil group is at least distributed in the view field.Flexible fortune is carried out in test side subgroup 20 in this way
In dynamic process, the inductance of inductance coil group can persistently change, so as to be determined according to continually changing inductance
The relative position of test side subgroup 20 and inductance coil group, and then determine the telescopic distance of test side subgroup 20 and flexible mould group 10
From.
Inductance detection principle based on the embodiment of the present invention includes: to work as to have target object (such as metal) close to inductor wire
When circle, the resonance frequency of inductance coil can be caused to change, the change of the frequency is detected by detection chip (i.e. detection module)
Change, can be calculated according to the situation of change of frequency under the situation of change of the inductance of inductance coil, and then according to inductor wire
The inductance situation of change of circle determines positional relationship or the relative position of target object and inductance coil.
The specific embodiment of the embodiment of the present invention is described in detail below:
As shown in Figure 1, inductance coil group can be directly laid out on substrate (circuit board), and the coil of inductance coil group is close
Degree (can be directed toward the stretching state of flexible mould group along the telescopic direction of test side subgroup 20 by the contraction state for mould group of stretching
Direction) gradually it is thinned out, the test side subgroup 20 being set on bracket 12 is suspended in the top of inductance coil group.In this way, when inspection
When surveying terminal group 20 (i.e. flexible mould group 10) in different travel positions, the number of coils that test side subgroup 20 covers can be
Difference, then inductance detected by detection module also can be different, thus can be true according to the inductance situation of change detected
Regular inspection surveys the relative position of terminal group 20 and inductance coil group, so that it is determined that the telescopic distance of test side subgroup 20 and flexible mould group 10
From.Wherein, the loop density of inductance coil group can also along test side subgroup 20 telescopic direction (i.e. by stretch mould group contraction
State is directed toward the direction of the stretching state of flexible mould group) gradually retrogradation it is close, it is close to the coil of inductance coil group in present embodiment
The distribution mode of degree is not specifically limited, as long as making test side subgroup 20 in different travel positions, 20 institute of test side subgroup
The number of coils of covering has differences.
Wherein it is possible to which test side subgroup 20 is in inductance coil when assuming that test side subgroup 20 is in the zero point of contraction state
The most close quarters of group, when being moved in this way with test side subgroup 20 along telescopic direction, the inductance situation of change of inductance coil group
As shown in Figure 2.
However, since single inductance coil is easy to be disturbed, to improve the detection accuracy of inductance situation of change and detecting anti-
Interference performance, the detection mode that can be combined with two inductance coils or multiple inductance coils.It include the with inductance coil group
For one inductance coil 31 and the second inductance coil, it is illustrated.
As shown in figure 3, the density direction of the loop density of the first inductance coil 31 and the coil of the second inductance coil 32 are close
The density of degree is contrary, and the first inductance coil 31 and the second inductance coil 32 are parallel along the telescopic direction of test side subgroup 20
Setting.In present embodiment, the schematic diagram of the situation of change of the corresponding inductance of inductance coil group is as shown in Figure 4.
As shown in figure 5, the density direction of the loop density of the first inductance coil 31 and the coil of the second inductance coil 32 are close
The density of degree is contrary, and the first inductance coil 31 and the second inductance coil 32 are serial along the telescopic direction of test side subgroup 20
Setting;Wherein, test side subgroup 20 includes the second inductor wire of first terminal 21 and face that the first inductance coil of face 31 is arranged
The Second terminal 22 of 32 setting of circle.In present embodiment, the schematic diagram of the situation of change of the corresponding inductance of inductance coil group is such as
Shown in Fig. 6.
As shown in fig. 7, inductance coil group, which can be a loop density, is uniformly distributed inductance coil, test side subgroup 20 can
To be a sheet metal, and when the travel position of test side subgroup 20 changes, test side subgroup 20 and inductance coil group
Overlapping region can also change, the situation so that inductance for the inductance coil group for detecting detection module also changes,
And then the distance of stretch out and draw back of test side subgroup 20 and flexible mould group 10 is determined according to inductance situation of change.In present embodiment, inductance
The schematic diagram of the situation of change of the corresponding inductance of coil group is as shown in Figure 8.Moreover, to improve the detection of inductance situation of change essence
Degree and detection anti-interference ability, the mode that the combination of two or more coils also can be set are detected.
As shown in figure 9, inductance coil group may include at least two inductance coils, and at least two inductance coils are along detection
The telescopic direction of terminal group 20 is spaced apart, and can carry out step-by-step movement detection to the distance of stretch out and draw back of flexible mould group 10 in this way.Such as Fig. 9
Shown, in present embodiment, inductance coil group includes 6 inductance coils, is followed successively by L1, L2, L3, L4, L5, L6, and set inspection
Survey terminal group 20 is a sheet metal (detection terminal), and is arranged when test side subgroup 20 covers a certain inductance coil, and is examined
When measuring the inductance of the inductance coil and being greater than preset threshold value, then the corresponding induction result of the inductance coil is set as 1, instead
Be set as 0.Moreover, when being 1 there are two the induction result of inductance coil, it is determined that there is interference, it at this moment can be by matching
The inductance coil state for closing a position carrys out the travel position (distance of stretch out and draw back) of the flexible mould group of auxiliary judgment.Wherein, induced junction
Fruit and the corresponding relationship of travel position (distance of stretch out and draw back) are as shown in table 1:
L1 value | L2 value | L3 value | L4 value | L5 value | L6 value | Position |
1 | 0 | 0 | 0 | 0 | 0 | 1 |
0 | 1 | 0 | 0 | 0 | 0 | 2 |
0 | 0 | 1 | 0 | 0 | 0 | 3 |
0 | 0 | 0 | 1 | 0 | 0 | 4 |
0 | 0 | 0 | 0 | 1 | 0 | 5 |
0 | 0 | 0 | 0 | 0 | 1 | 6 |
Table 1
To enhance anti-interference ability, test side subgroup 20 may include two or more sheet metals (detection terminal), when
When test side subgroup 20 includes two detection terminals, the corresponding relationship such as table 2 of result and travel position (distance of stretch out and draw back) is incuded
It is shown:
L1 value | L2 value | L3 value | L4 value | L5 value | L6 value | Position |
1 | 1 | 0 | 0 | 0 | 0 | 1 |
0 | 1 | 1 | 0 | 0 | 0 | 2 |
0 | 0 | 1 | 1 | 0 | 0 | 3 |
0 | 0 | 0 | 1 | 1 | 0 | 4 |
0 | 0 | 0 | 0 | 1 | 1 | 5 |
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.
In this way, by the inductance situation of change of detection inductance coil component 30, it can be to the distance of stretch out and draw back of flexible mould group 10
It is measured in real time, so as to accurately obtaining the distance of stretch out and draw back of flexible mould group 10, effective solution is stretched in the prior art
There is accuracy difference in the calculating of the distance of stretch out and draw back of contracting mould group.
Referring to Figure 10, Figure 10 be another embodiment of the present invention provides method for detecting position flow chart, be applied to it is above-mentioned
Terminal device, the terminal device include test side subgroup, inductance coil component and detection module, positional relationship and function
It has been described in detail in the above-described embodiment, details are not described herein.As shown in Figure 10, which comprises
Step 1001, the inductance situation of change for obtaining inductance coil component.
In the step, the inductance situation of change of inductance coil component can be obtained by the detection module of terminal device.
Step 1002, determined according to the inductance situation of change terminal device flexible mould group distance of stretch out and draw back.
In the step, it is based on inductance detection principle, since test side subgroup is different from the relative position of inductance coil component
When, the inductance value of inductance coil component also can be different, therefore the inductance of inductance coil component can be detected by detection module
Situation of change, and determine according to inductance situation of change the relative position of test side subgroup Yu inductance coil component, thus to determine
The distance of stretch out and draw back of flexible mould group.In this way by the inductance situation of change of detection inductance coil component, flexible mould group can be stretched
Contracting distance is measured in real time, so as to accurately obtaining the distance of stretch out and draw back of flexible mould group, the effective solution prior art
In stretch calculatings of distance of stretch out and draw back of mould group there is a problem of that accuracy is poor.
Optionally, the inductance coil component includes inductance coil group, and the inductance situation of change includes the inductor wire
The inductance of circle group;The distance of stretch out and draw back of the flexible mould group that the terminal device is determined according to the inductance situation of change, packet
It includes: from preset first corresponding relationship, searching the distance of stretch out and draw back of the flexible mould group corresponding with the inductance situation of change,
Wherein, first corresponding relationship includes that the inductance of the inductance coil group is corresponding with the distance of stretch out and draw back of the flexible mould group
Relationship.
In present embodiment, it can be based on inductance detection principle, the inductance and flexible mould of inductance coil group is stored in advance
First corresponding relationship of the distance of stretch out and draw back of group (or test side subgroup).It is then possible to be looked into from preset first corresponding relationship
The distance of stretch out and draw back of flexible mould group corresponding with inductance situation of change is looked for, so that it is determined that the telescopic distance of the flexible mould group of terminal device
From.
Wherein, the first corresponding relationship can be with reference to the signal of the situation of change of Fig. 2, Fig. 4, Fig. 6 and inductance shown in Fig. 8
Figure.
It should be noted that the first corresponding relationship, is not limited to aforesaid way, it can also be other modes, such as chart
Mode etc..
Optionally, the inductance coil component includes the telescopic direction interval point of the test side subgroup along the terminal device
At least two inductance coils of cloth, the inductance situation of change include the induction result of at least two inductance coils;It is described
The distance of stretch out and draw back of the flexible mould group of the terminal device is determined according to the inductance situation of change, comprising: from preset second pair
In should being related to, the distance of stretch out and draw back of the flexible mould group corresponding with the inductance situation of change is searched, wherein described second is corresponding
The corresponding relationship of the distance of stretch out and draw back of induction result and the flexible mould group in relationship including at least two inductance coils.
In present embodiment, it can be based on inductance detection principle, the induction result of at least two inductance coils is stored in advance
With the second corresponding relationship of the distance of stretch out and draw back of flexible mould group (or test side subgroup).It is then possible to corresponding from preset second
In relationship, the distance of stretch out and draw back of flexible mould group corresponding with inductance situation of change is searched, so that it is determined that the flexible mould group of terminal device
Distance of stretch out and draw back.
Wherein, in present embodiment, to each inductance coil, if the inductance value of the inductance coil is greater than or equal to
Preset value, then the induction result of the inductance coil is the first value;If the inductance value of the inductance coil is less than the preset value,
Then the induction result of the inductance coil is second value;Wherein, first value and the second value are described flexible for determining
The distance of stretch out and draw back of mould group.
Specifically, the distribution situation of induction 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, as long as the distance of stretch out and draw back of flexible mould group can be obtained.
The method for detecting position of the embodiment of the present invention, by the inductance situation of change for obtaining the inductance coil component;Root
The distance of stretch out and draw back of the flexible mould group of the terminal device is determined according to the inductance situation of change.Pass through detection inductance coil group in this way
The inductance situation of change of part can be measured in real time the distance of stretch out and draw back of flexible mould group, so as to accurately be stretched
The distance of stretch out and draw back of mould group, effective solution stretch in the prior art mould group distance of stretch out and draw back calculating asking there are accuracy difference
Topic.
It is the structure chart for the terminal device that one embodiment of the invention provides referring to Figure 11, Figure 11, as shown in figure 11, terminal is set
Standby 1100 include obtaining module 1101 and determining module 1102, in which:
Module 1101 is obtained, for obtaining the inductance situation of change of inductance coil component;
Determining module 1102, for determined according to the inductance situation of change terminal device flexible mould group it is flexible
Distance.
Optionally, the inductance coil component includes inductance coil group, and the inductance situation of change includes the inductor wire
The inductance of circle group;
The determining module 1102 is specifically used for from preset first corresponding relationship, searches and changes feelings with the inductance
The distance of stretch out and draw back of the corresponding flexible mould group of condition, wherein first corresponding relationship includes the inductance of the inductance coil group
The corresponding relationship of amount and the distance of stretch out and draw back of the flexible mould group.
Optionally, the inductance coil component includes the telescopic direction interval point of the test side subgroup along the terminal device
At least two inductance coils of cloth, the inductance situation of change include the induction result of at least two inductance coils;
The determining module 1102 is specifically used for from preset second corresponding relationship, searches and changes feelings with the inductance
The distance of stretch out and draw back of the corresponding flexible mould group of condition, wherein include at least two inductor wires in second corresponding relationship
The corresponding relationship of the distance of stretch out and draw back of the induction result of circle and the flexible mould group.
Optionally, to each inductance coil,
If the inductance value of the inductance coil is greater than or equal to preset value, the induction result of the inductance coil is first
Value;
If the inductance value of the inductance coil is less than the preset value, the induction result of the inductance coil is second
Value;
Wherein, first value and the second value are used to determine the distance of stretch out and draw back of the flexible mould group.
Terminal device 1100 can be realized each process that terminal device is realized in the embodiment of the method for Fig. 1 to Figure 10, be
It avoids repeating, which is not described herein again.
A kind of hardware structural diagram of Figure 12 terminal device of each embodiment to realize the present invention, as shown in figure 12,
The terminal device 1200 includes but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input are single
Member 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processing
The components such as device 1210 and power supply 1211.It will be understood by those skilled in the art that terminal device structure shown in Figure 12 is not
The restriction to terminal device is constituted, terminal device may include components more more or fewer than diagram, or combine certain components,
Or different component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, notebook
Computer, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1210, for obtaining the inductance situation of change of the inductance coil component;Become according to the inductance
Change the distance of stretch out and draw back that situation determines the flexible mould group of the terminal device.
Optionally, the inductance coil component includes inductance coil group, and the inductance situation of change includes the inductor wire
The inductance of circle group;The processor 1210 is also used to: from preset first corresponding relationship, being searched and is changed feelings with the inductance
The distance of stretch out and draw back of the corresponding flexible mould group of condition, wherein first corresponding relationship includes the inductance of the inductance coil group
The corresponding relationship of amount and the distance of stretch out and draw back of the flexible mould group.
Optionally, the inductance coil component includes the telescopic direction interval point of the test side subgroup along the terminal device
At least two inductance coils of cloth, the inductance situation of change include the induction result of at least two inductance coils;It is described
Processor 1210 is also used to: from preset second corresponding relationship, being searched corresponding with the inductance situation of change described flexible
The distance of stretch out and draw back of mould group, wherein induction result and institute in second corresponding relationship including at least two inductance coils
State the corresponding relationship of the distance of stretch out and draw back of flexible mould group.
Optionally, to each inductance coil, if the inductance value of the inductance coil is greater than or equal to preset value, institute
The induction result for stating inductance coil is the first value;If the inductance value of the inductance coil is less than the preset value, the inductance
The induction result of coil is second value;Wherein, first value and the second value are used to determine the flexible of the flexible mould group
Distance.
Terminal device 1200 can be realized each process that terminal device is realized in previous embodiment, to avoid repeating, this
In repeat no more.
It should be understood that the embodiment of the present invention in, radio frequency unit 1201 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 1210 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 1201 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1201 can also by wireless communication system and network and other
Equipment communication.
Terminal device provides wireless broadband internet by network module 1202 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 1203 can be received by radio frequency unit 1201 or network module 1202 or in memory
The audio data stored in 1209 is converted into audio signal and exports to be sound.Moreover, audio output unit 1203 can be with
Audio output relevant to the specific function that terminal device 1200 executes is provided (for example, call signal receives sound, message sink
Sound etc.).Audio output unit 1203 includes loudspeaker, buzzer and receiver etc..
Input unit 1204 is for receiving audio or video signal.Input unit 1204 may include graphics processor
(Graphics Processing Unit, GPU) 12041 and microphone 12042, graphics processor 12041 are captured in video
In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into
Row processing.Treated, and picture frame may be displayed on display unit 1206.Through treated the picture frame of graphics processor 12041
It can store in memory 1209 (or other storage mediums) or carried out via radio frequency unit 1201 or network module 1202
It sends.Microphone 12042 can receive sound, and can be audio data by such acoustic processing.Audio that treated
Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1201 in the case where telephone calling model
Formula output.
Terminal device 1200 further includes at least one sensor 1205, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 12061, proximity sensor can when terminal device 1200 is moved in one's ear,
Close display panel 12061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device appearance when static
State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion)
Deng;Sensor 1205 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas
Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1206 is for showing information input by user or being supplied to the information of user.Display unit 1206 can
Including display panel 12061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 12061.
User input unit 1207 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 1207 include touch panel 12071 with
And other input equipments 12072.Touch panel 12071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 12071 or in touch panel
Operation near 12071).Touch panel 12071 may include both touch detecting apparatus and touch controller.Wherein, it touches
The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller;
Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1210,
It receives the order that processor 1210 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 12071.In addition to touch panel 12071, user input unit 1207 can also include
Other input equipments 12072.Specifically, other input equipments 12072 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 12071 can be covered on display panel 12061, when touch panel 12071 detects
After touch operation on or near it, processor 1210 is sent to determine the type of touch event, is followed by subsequent processing device 1210
Corresponding visual output is provided on display panel 12061 according to the type of touch event.Although in Figure 12, touch panel
12071 and display panel 12061 are the functions that outputs and inputs of realizing terminal device as two independent components, but
In some embodiments, touch panel 12071 can be integrated with display panel 12061 and realize outputting and inputting for terminal device
Function, specifically herein without limitation.
Interface unit 1208 is the interface that external device (ED) is connect with terminal device 1200.For example, external device (ED) may include
Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card
Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module
Port etc..Interface unit 1208 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously
And by one or more elements that the input received is transferred in terminal device 1200 or it can be used in terminal device
Data are transmitted between 1200 and external device (ED).
Memory 1209 can be used for storing software program and various data.Memory 1209 can mainly include storage program
Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as
Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory 1209 may include high-speed random access memory, it can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1210 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 1209, and calls and is stored in storage
Data in device 1209 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 1210 may include one or more processing units;Preferably, processor 1210 can integrate application processor and modulation /demodulation
Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1210.
Terminal device 1200 can also include the power supply 1211 (such as battery) powered to all parts, it is preferred that power supply
1211 can be logically contiguous by power-supply management system and processor 1210, to realize that management is filled by power-supply management system
The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1200 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 1210, memory 1209, storage
On memory 1209 and the computer program that can run on the processor 1210, the computer program is by processor 1210
Each process of above-mentioned method for detecting position embodiment is realized when execution, and can reach identical technical effect, to avoid repeating,
Which is not described herein again.
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 (13)
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:
Test side subgroup in the flexible mould group is set;
The inductance coil component being set in the Telescopic path of the test side subgroup;
The detection module being electrically connected with the inductance coil component, the inductance for detecting the inductance coil component change feelings
Condition, and determine according to the inductance situation of change distance of stretch out and draw back of the flexible mould group.
2. terminal device according to claim 1, which is characterized in that the inductance coil component includes substrate and is set to
Inductance coil group on the substrate;
During the test side subgroup stretching motion, the projected footprint of the test side subgroup on the substrate is formed
View field, the inductance coil group are at least partly distributed in the view field.
3. terminal device according to claim 2, which is characterized in that the inductance coil group includes at least one inductor wire
Circle.
4. terminal device according to claim 3, which is characterized in that the inductance coil group include the first inductance coil and
Second inductance coil, and the coil of the density direction of the loop density of first inductance coil and second inductance coil is close
The density of degree is contrary, wherein
First inductance coil and second inductance coil are arranged parallel along the telescopic direction of the test side subgroup;Or
Person,
First inductance coil and second inductance coil are serially arranged along the telescopic direction of the test side subgroup.
5. terminal device according to claim 4, which is characterized in that in first inductance coil and second inductance
In the case that coil is serially arranged along the telescopic direction of the test side subgroup, the test side subgroup includes relatively described first
The Second terminal of the first terminal of inductance coil setting and the relatively described second inductance coil setting.
6. terminal device according to claim 2, which is characterized in that the inductance coil group includes at least two thirds electricity
Feel coil, and at least two thirds inductance coil is spaced apart along the telescopic direction of the test side subgroup.
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 inductance situation of change of the inductance coil component;
The distance of stretch out and draw back of the flexible mould group of the terminal device is determined according to the inductance situation of change.
8. described the method according to the description of claim 7 is characterized in that the inductance coil component includes inductance coil group
Inductance situation of change includes the inductance of the inductance coil group;
The distance of stretch out and draw back of the flexible mould group that the terminal device is determined according to the inductance situation of change, comprising:
From preset first corresponding relationship, the telescopic distance of the flexible mould group corresponding with the inductance situation of change is searched
From, wherein first corresponding relationship includes the inductance of the inductance coil group and the distance of stretch out and draw back of the flexible mould group
Corresponding relationship.
9. the method according to the description of claim 7 is characterized in that the inductance coil component includes along the terminal device
At least two inductance coils that the telescopic direction of test side subgroup is spaced apart, the inductance situation of change include at least two institutes
State the induction result of inductance coil;
The distance of stretch out and draw back of the flexible mould group that the terminal device is determined according to the inductance situation of change, comprising:
From preset second corresponding relationship, the telescopic distance of the flexible mould group corresponding with the inductance situation of change is searched
From, wherein induction result and the flexible mould group in second corresponding relationship including at least two inductance coils
The corresponding relationship of distance of stretch out and draw back.
10. according to the method described in claim 9, it is characterized in that, to each inductance coil,
If the inductance value of the inductance coil is greater than or equal to preset value, the induction result of the inductance coil is the first value;
If the inductance value of the inductance coil is less than the preset value, the induction result of the inductance coil is second value;
Wherein, first value and the second value are used to determine the distance of stretch out and draw back of the flexible mould group.
11. a kind of terminal device characterized by comprising
Module is obtained, for obtaining the inductance situation of change of inductance coil component;
Determining module, the distance of stretch out and draw back of the flexible mould group for determining the terminal device according to the inductance situation of change.
12. 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.
13. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the position detection side as described in any one of claim 7 to 10 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155566.4A CN109905579B (en) | 2019-03-01 | 2019-03-01 | Position detection method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155566.4A CN109905579B (en) | 2019-03-01 | 2019-03-01 | Position detection method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109905579A true CN109905579A (en) | 2019-06-18 |
CN109905579B CN109905579B (en) | 2021-09-03 |
Family
ID=66946030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910155566.4A Active CN109905579B (en) | 2019-03-01 | 2019-03-01 | Position detection method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905579B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020253209A1 (en) * | 2019-06-20 | 2020-12-24 | 歌尔股份有限公司 | Camera lifting gear and mobile terminal |
CN113114813A (en) * | 2021-04-12 | 2021-07-13 | 维沃移动通信有限公司 | Electronic device, control method, and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197627A (en) * | 2014-04-02 | 2015-11-09 | 厦▲門▼新▲鴻▼洲精密科技有限公司Xinhongzhou Precision Technology Co,.Ltd | camera module |
CN108173993A (en) * | 2017-12-25 | 2018-06-15 | 维沃移动通信有限公司 | A kind of camera module, control method and mobile terminal |
CN108834354A (en) * | 2018-07-10 | 2018-11-16 | 北京小米移动软件有限公司 | The control method and terminal of functional unit, functional unit |
CN109040538A (en) * | 2018-06-28 | 2018-12-18 | 维沃移动通信有限公司 | A kind of mobile terminal and camera control method |
-
2019
- 2019-03-01 CN CN201910155566.4A patent/CN109905579B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197627A (en) * | 2014-04-02 | 2015-11-09 | 厦▲門▼新▲鴻▼洲精密科技有限公司Xinhongzhou Precision Technology Co,.Ltd | camera module |
CN108173993A (en) * | 2017-12-25 | 2018-06-15 | 维沃移动通信有限公司 | A kind of camera module, control method and mobile terminal |
CN109040538A (en) * | 2018-06-28 | 2018-12-18 | 维沃移动通信有限公司 | A kind of mobile terminal and camera control method |
CN108834354A (en) * | 2018-07-10 | 2018-11-16 | 北京小米移动软件有限公司 | The control method and terminal of functional unit, functional unit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020253209A1 (en) * | 2019-06-20 | 2020-12-24 | 歌尔股份有限公司 | Camera lifting gear and mobile terminal |
CN113114813A (en) * | 2021-04-12 | 2021-07-13 | 维沃移动通信有限公司 | Electronic device, control method, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109905579B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN109343759A (en) | A kind of control method and terminal of the display of breath screen | |
CN109067418A (en) | A kind of method of controlling antenna and mobile terminal | |
CN108196740B (en) | A kind of icon display method, device and mobile terminal | |
CN109916284A (en) | A kind of method for detecting position and terminal device | |
CN108319421A (en) | A kind of display triggering method and mobile terminal | |
CN108628521A (en) | A kind of screen operating method and mobile terminal | |
CN110139018A (en) | Camera controls the control method for movement and terminal of mould group, camera | |
CN107895143A (en) | A kind of finger print information processing method, mobile terminal and computer-readable recording medium | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN108984066A (en) | A kind of application icon display methods and mobile terminal | |
CN110196619A (en) | A kind of hinge, electronic equipment and folding angles determine method | |
CN109815819A (en) | A kind of cheat detection method, device, terminal device and storage medium | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN110531915A (en) | Screen operating method and terminal device | |
CN108469925A (en) | A kind of touch control detecting method, mobile terminal | |
CN109885153A (en) | A kind of screen control method and mobile terminal | |
CN107944361A (en) | A kind of finger scan method and apparatus for mobile terminal | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN109737938A (en) | Terminal | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN107330867A (en) | Image combining method, device, computer-readable recording medium and computer equipment | |
CN109905579A (en) | Method for detecting position and terminal device | |
CN109769051A (en) | A kind of device for detecting distance of travel, method and 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 |