CN109905579B - Position detection method and terminal equipment - Google Patents

Position detection method and terminal equipment Download PDF

Info

Publication number
CN109905579B
CN109905579B CN201910155566.4A CN201910155566A CN109905579B CN 109905579 B CN109905579 B CN 109905579B CN 201910155566 A CN201910155566 A CN 201910155566A CN 109905579 B CN109905579 B CN 109905579B
Authority
CN
China
Prior art keywords
inductance
telescopic
inductance coil
module
detection
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.)
Active
Application number
CN201910155566.4A
Other languages
Chinese (zh)
Other versions
CN109905579A (en
Inventor
侯海军
闵德顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910155566.4A priority Critical patent/CN109905579B/en
Publication of CN109905579A publication Critical patent/CN109905579A/en
Application granted granted Critical
Publication of CN109905579B publication Critical patent/CN109905579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a position detection method and terminal equipment, wherein the terminal equipment comprises a shell and a telescopic module capable of extending out of or retracting into the shell, and the terminal equipment further comprises: the detection terminal group is arranged on the telescopic module; the inductance coil assembly is arranged in the telescopic channel of the detection terminal group; and the detection module is electrically connected with the inductance coil assembly and is used for detecting the inductance change condition of the inductance coil assembly and determining the telescopic distance of the telescopic module according to the inductance change condition. According to the terminal equipment provided by the invention, the telescopic distance of the telescopic module can be detected in real time by detecting the inductance change condition of the inductance coil assembly, so that the telescopic distance of the telescopic module can be accurately obtained, and the problem of poor accuracy in calculation of the telescopic distance of the telescopic module in the prior art is effectively solved.

Description

Position detection method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a position detection method and a terminal device.
Background
Along with the development of technology, terminal equipment's such as smart mobile phone screen accounts for more and more highly, and more functional device to the form installation of flexible module sets up on terminal equipment, when needs, stretches out outside terminal equipment's the casing, when not needing, retracts to terminal equipment's casing in.
For example, in the design of a retractable camera, a driving mechanism is generally used to drive the camera to switch between an extended state in which the camera extends out of the housing and a retracted state in which the camera is retracted in the housing. Wherein, in the motion process of camera, the flexible stroke of camera is realized through actuating mechanism, for example calculate the flexible distance of camera through step motor's the number of turns of rotation, nevertheless there is the multistage transmission relation between step motor's pivot and the camera to make the flexible distance that obtains according to step motor's the number of turns of rotation calculation inaccurate inadequately.
Therefore, the problem of poor accuracy exists in the calculation of the telescopic distance of the conventional telescopic module.
Disclosure of Invention
The embodiment of the invention provides a position detection method and terminal equipment, and aims to solve the problem of poor accuracy in calculation of the telescopic distance of an existing telescopic module.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal device, including a housing and a telescopic module capable of extending out of or retracting into the housing, where the terminal device further includes:
the detection terminal group is arranged on the telescopic module;
the inductance coil assembly is arranged in the telescopic channel of the detection terminal group;
and the detection module is electrically connected with the inductance coil assembly and is used for detecting the inductance change condition of the inductance coil assembly and determining the telescopic distance of the telescopic module according to the inductance change condition.
In a second aspect, an embodiment of the present invention further provides a position detection method, which is applied to the terminal device, where the method includes:
obtaining the inductance change condition of the inductance coil assembly;
and determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition.
In a third aspect, an embodiment of the present invention further provides a terminal device, including:
the acquisition module is used for acquiring the inductance change condition of the inductance coil assembly;
and the determining module is used for determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition.
In a fourth aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the location detection method.
In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the position detection method.
In the embodiment of the invention, the inductance coil assembly is arranged in the telescopic channel of the detection terminal group, the telescopic channel is a stroke motion space occupied by the detection terminal group in the process of moving along with the telescopic module, and the inductance coil assembly can be arranged right opposite to the detection terminal group, so that the detection terminal group and the inductance coil assembly have an overlapping area in the process of performing telescopic motion along with the telescopic module. And because the relative position of the detection terminal group and the inductance coil assembly is different, the inductance value of the inductance coil assembly is also different, so that the inductance change condition of the inductance coil assembly can be detected through the detection module, and the relative position of the detection terminal group and the inductance coil assembly is determined according to the inductance change condition, so that the telescopic distance of the telescopic module is determined. Through the inductance change condition that detects inductance coil assembly, can carry out real-time detection to the flexible distance of flexible module to the flexible distance that obtains flexible module that can be accurate, the effectual problem that has solved the calculation of the flexible distance of flexible module among the prior art and has had the accuracy poor.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is one of schematic structural diagrams of a detection mechanism of a terminal device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the variation trend of inductance and the expansion distance corresponding to FIG. 1;
fig. 3 is a second schematic structural diagram of a detection mechanism of a terminal device according to an embodiment of the present invention;
FIG. 4 is a graph showing the inductance and the expansion/contraction distance corresponding to FIG. 3;
fig. 5 is a third schematic structural diagram of a detection mechanism of a terminal device according to an embodiment of the present invention;
FIG. 6 is a graph showing the inductance and the expansion/contraction distance according to FIG. 5;
fig. 7 is a fourth schematic structural diagram of a detection mechanism of a terminal device according to an embodiment of the present invention;
FIG. 8 is a graph showing the inductance and the expansion/contraction distance according to FIG. 7;
fig. 9 is a fifth schematic structural diagram of a detection mechanism of a terminal device according to an embodiment of the present invention;
FIG. 10 is a flow chart of a method for location detection according to another embodiment of the present invention;
fig. 11 is a block diagram of a terminal device according to an embodiment of the present invention;
fig. 12 is a block diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 to 9, an embodiment of the present invention provides a terminal device, including a housing (not shown) and a telescopic module 10 capable of extending out of or retracting into the housing, where the telescopic module 10 includes a support 11 and a functional device 12 disposed on the support 11, and the functional device 12 may be a camera, an infrared sensor, or the like; and the terminal device may further include a driving mechanism (not shown) for driving the telescopic module 10 to extend out of or retract into the housing, the driving mechanism is in driving connection with the telescopic module 10, and the telescopic module 10 is driven to make a stroke motion so as to switch between an extending state of extending out of the housing and a retracting state of shrinking the housing.
Wherein, terminal equipment still includes:
a detection terminal group 20 disposed on the expansion module 10;
an inductance coil assembly 30 disposed in the telescopic channel of the detection terminal group 20;
and a detection module (not shown) electrically connected to the inductance coil assembly 30 for detecting an inductance change of the inductance coil assembly 30 and determining a telescopic distance of the telescopic module 10 according to the inductance change.
In the present embodiment, since the detecting terminal set 20 is disposed on the telescopic module 1, the detecting terminal set 20 can move along with the telescopic module 10, that is, the telescopic strokes of the detecting terminal set 20 and the telescopic module 10 are the same. Thus, the telescopic distance of the telescopic module 10 can be determined by detecting the telescopic distance of the detection terminal group 20.
By arranging the inductance coil assembly 30 in the telescopic channel of the detection terminal set 20, the telescopic channel is a movement space occupied by the detection terminal set 20 in the movement process along with the telescopic module 10, and the inductance coil assembly 30 can be arranged opposite to the detection terminal set 20. Thus, during the telescopic movement of the detecting terminal set 20 with the telescopic module 10, there is an overlapping area between the detecting terminal set 20 and the inductance coil assembly 30. And since the relative positions of the detection terminal set 20 and the inductance coil assembly 30 are different, the inductance values of the inductance coil assembly 30 are also different; therefore, the inductance variation of the inductance coil assembly 30 can be detected by the detection module, and the relative position between the detection terminal set 20 and the inductance coil assembly 30 can be determined according to the inductance variation, so as to determine the telescopic distance of the telescopic module 10 (the detection terminal set 20). Through the inductance change condition that detects inductance coil assembly 30, can carry out real-time detection to the flexible distance of flexible module 10 to the flexible distance that obtains flexible module 10 that can be accurate, the effectual problem that has solved the calculation of the flexible distance of flexible module 10 among the prior art and has had the accuracy poor.
The inductor assembly 30 includes a substrate (not shown) and an inductor assembly disposed on the substrate, and the inductor assembly may be disposed on the substrate by etching or by pasting and winding. The substrate may be a circuit board, or a plate structure for fixing, and is preferably a circuit board.
In the process of stretching and retracting the detection terminal set 20, a projection track of the detection terminal set 20 on the substrate forms a projection area, the projection area is an overlapping coverage area existing between the detection terminal set 20 and the substrate in the process of stretching and retracting, and the inductance coil sets are at least distributed in the projection area. In this way, in the process of the telescopic movement of the detection terminal group 20, the inductance of the inductance coil group will change continuously, so that the relative position between the detection terminal group 20 and the inductance coil group can be determined according to the inductance that changes continuously, and the telescopic distance between the detection terminal group 20 and the telescopic module 10 can be further determined.
The inductance detection principle according to the embodiment of the invention comprises the following steps: when a target object (such as metal) approaches the inductance coil, the resonance frequency of the inductance coil is changed, the change of the frequency is detected through a detection chip (namely a detection module), the change condition of the inductance coil can be calculated according to the change condition of the frequency, and the position relation or the relative position of the target object and the inductance coil is further determined according to the inductance change condition of the inductance coil.
The following describes in detail embodiments of the present invention:
as shown in fig. 1, the inductance coil assembly may be directly disposed on the substrate (circuit board), and the coil density of the inductance coil assembly may gradually become sparse along the extension and retraction direction of the detection terminal assembly 20 (i.e., the direction from the contraction state of the extension and retraction module to the extension state of the extension and retraction module), and the detection terminal assembly 20 disposed on the support 12 is suspended above the inductance coil assembly. Thus, when the detecting terminal set 20 (i.e. the telescopic module 10) is located at different stroke positions, the number of coils covered by the detecting terminal set 20 is different, and the inductance detected by the detecting module is also different, so that the relative positions of the detecting terminal set 20 and the inductance coil set can be determined according to the detected inductance change condition, and the telescopic distance between the detecting terminal set 20 and the telescopic module 10 can be determined. The coil density of the inductance coil set may also gradually become dense along the expansion and contraction direction of the detection terminal set 20 (i.e., the direction from the contraction state of the expansion module to the extension state of the expansion module), and the distribution manner of the coil density of the inductance coil set in this embodiment is not particularly limited, as long as the number of coils covered by the detection terminal set 20 is different when the detection terminal set 20 is at different stroke positions.
It can be assumed that the detection terminal set 20 is located in the densest area of the inductor coil set when the detection terminal set 20 is at the zero point of the contracted state, so that the inductance of the inductor coil set changes as the detection terminal set 20 moves in the contraction direction as shown in fig. 2.
However, since a single inductance coil is easily interfered, in order to improve the detection accuracy and the detection anti-interference capability of the inductance change condition, a detection mode combining two inductance coils or a plurality of inductance coils can be used. The example that the inductor group includes the first inductor 31 and the second inductor is given as an example.
As shown in fig. 3, the density direction of the coil density of the first inductor coil 31 is opposite to the density direction of the coil density of the second inductor coil 32, and the first inductor coil 31 and the second inductor coil 32 are arranged in parallel along the expansion and contraction direction of the detection terminal group 20. Fig. 4 is a schematic diagram showing changes in inductance corresponding to the inductor group in the present embodiment.
As shown in fig. 5, the density direction of the coil density of the first inductor coil 31 is opposite to the density direction of the coil density of the second inductor coil 32, and the first inductor coil 31 and the second inductor coil 32 are arranged in series along the expansion and contraction direction of the detection terminal group 20; the detection terminal set 20 includes a first terminal 21 disposed opposite to the first inductor 31 and a second terminal 22 disposed opposite to the second inductor 32. Fig. 6 is a schematic diagram showing changes in inductance corresponding to the inductor group in the present embodiment.
As shown in fig. 7, the inductance coil set may be an inductance coil with a uniform coil density distribution, the detection terminal set 20 may be a metal sheet, and when the stroke position of the detection terminal set 20 changes, the overlapping area between the detection terminal set 20 and the inductance coil set also changes, so that the inductance of the inductance coil set detected by the detection module also changes, and the telescopic distance between the detection terminal set 20 and the telescopic module 10 is determined according to the inductance change. Fig. 8 is a schematic diagram showing changes in inductance corresponding to the inductor group in the present embodiment. In addition, in order to improve the detection accuracy and the detection anti-interference capability of the inductance change condition, two or more coils can be arranged to be combined for detection.
As shown in fig. 9, the inductor set may include at least two inductors, and the at least two inductors are spaced apart along the telescoping direction of the detecting terminal set 20, so that the telescoping distance of the telescoping module 10 can be detected step by step. As shown in fig. 9, in the present embodiment, the inductor group includes 6 inductors, which are L1, L2, L3, L4, L5, and L6 in sequence, the detection terminal group 20 is set to be one metal sheet (detection terminal), and when the detection terminal group 20 covers a certain inductor and detects that the inductance of the inductor is greater than a preset threshold value, the induction result corresponding to the inductor is set to be 1, otherwise, the induction result is set to be 0. And when the induction result of two induction coils is 1, the interference is determined to exist, and the stroke position (telescopic distance) of the telescopic module can be judged in an auxiliary manner by matching with the induction coil state of the last position. The corresponding relationship between the sensing result and the stroke position (telescopic distance) is shown in table 1:
l1 value L2 value L3 value L4 value L5 value L6 value Position of
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
In order to enhance the anti-interference capability, the detecting terminal set 20 may include two or more metal sheets (detecting terminals), and when the detecting terminal set 20 includes two detecting terminals, the corresponding relationship between the sensing result and the stroke position (telescopic distance) is shown in table 2:
l1 value L2 value L3 value L4 value L5 value L6 value Position of
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
The number of the detection terminals can be increased to further increase the reliability of detection, and the positions of the detection terminals can also be arranged non-adjacently.
Like this, through the inductance change condition that detects inductance coil assembly 30, can carry out real-time detection to the flexible distance of flexible module 10 to the flexible distance that obtains flexible module 10 that can be accurate, there is the poor problem of accuracy in the effectual calculation of the flexible distance of having solved flexible module among the prior art.
Referring to fig. 10, fig. 10 is a flowchart of a position detection method according to another embodiment of the present invention, and the method is applied to the terminal device, where the terminal device includes a detection terminal set, an inductance coil assembly and a detection module, and the position relationship and the function of the detection terminal set are described in detail in the foregoing embodiment, and are not repeated herein. As shown in fig. 10, the method includes:
and 1001, acquiring the inductance change condition of the inductance coil assembly.
In this step, the inductance change condition of the inductance coil assembly can be obtained through a detection module of the terminal device.
Step 1002, determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition.
In this step, based on the inductance detection principle, since the relative positions of the detection terminal group and the inductance coil assembly are different, the inductance values of the inductance coil assembly are also different, so that the inductance change condition of the inductance coil assembly can be detected through the detection module, and the relative positions of the detection terminal group and the inductance coil assembly are determined according to the inductance change condition, so as to determine the telescopic distance of the telescopic module. Like this through the inductance change condition that detects inductance coil assembly, can carry out real-time detection to the flexible distance of flexible module to the flexible distance that obtains flexible module that can be accurate, the effectual problem that has solved the calculation of the flexible distance of flexible module among the prior art and has had the accuracy poor.
Optionally, the inductance coil assembly includes an inductance coil set, and the inductance variation includes an inductance value of the inductance coil set; the flexible distance of the flexible module of terminal equipment is confirmed according to the inductance change situation includes: and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset first corresponding relation, wherein the first corresponding relation comprises the corresponding relation between the inductance value of the inductance coil group and the telescopic distance of the telescopic module.
In the present embodiment, the first correspondence relationship between the inductance value of the inductance coil group and the expansion/contraction distance of the expansion/contraction module (or the detection terminal group) may be stored in advance based on the inductance detection principle. Then, the telescopic distance of the telescopic module corresponding to the inductance change condition can be searched from the preset first corresponding relation, so that the telescopic distance of the telescopic module of the terminal equipment is determined.
The first corresponding relationship may refer to schematic diagrams of inductance variation shown in fig. 2, 4, 6 and 8.
The first correspondence relationship is not limited to the above-described embodiment, and may be in other embodiments, such as a graph embodiment.
Optionally, the inductance coil assembly includes at least two inductance coils distributed at intervals along a stretching direction of a detection terminal group of the terminal device, and the inductance change condition includes an induction result of the at least two inductance coils; the flexible distance of the flexible module of terminal equipment is confirmed according to the inductance change situation includes: and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset second corresponding relationship, wherein the second corresponding relationship comprises the corresponding relationship between the induction results of at least two induction coils and the telescopic distance of the telescopic module.
In this embodiment, a second corresponding relationship between the induction results of the at least two induction coils and the telescopic distance of the telescopic module (or the detection terminal group) may be stored in advance based on the inductance detection principle. Then, the telescopic distance of the telescopic module corresponding to the inductance change condition can be searched from the preset second corresponding relation, so that the telescopic distance of the telescopic module of the terminal equipment is determined.
In this embodiment, for each inductor, if the inductance value of the inductor is greater than or equal to a preset value, the induction result of the inductor is a first value; if the inductance value of the inductance coil is smaller than the preset value, the induction result of the inductance coil is a second value; wherein the first value and the second value are used for determining a telescoping distance of the telescoping module.
Specifically, the distribution of the sensing results can be referred to tables 1 and 2. In tables 1 and 2, the first value is set to 1, and the second value is set to 0. The first value and the second value may be set in other manners or other numerical values as long as the telescopic distance of the telescopic module can be obtained.
According to the position detection method, the inductance change condition of the inductance coil assembly is obtained; and determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition. Like this through the inductance change condition that detects inductance coil assembly, can carry out real-time detection to the flexible distance of flexible module to the flexible distance that obtains flexible module that can be accurate, the effectual problem that has solved the calculation of the flexible distance of flexible module among the prior art and has had the accuracy poor.
Referring to fig. 11, fig. 11 is a structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 11, the terminal device 1100 includes an obtaining module 1101 and a determining module 1102, where:
an obtaining module 1101, configured to obtain an inductance change condition of the inductance coil assembly;
a determining module 1102, configured to determine a telescopic distance of a telescopic module of the terminal device according to the inductance change condition.
Optionally, the inductance coil assembly includes an inductance coil set, and the inductance variation includes an inductance value of the inductance coil set;
the determining module 1102 is specifically configured to search a telescopic distance of the telescopic module corresponding to the inductance change condition from a preset first corresponding relationship, where the first corresponding relationship includes a corresponding relationship between the inductance value of the inductance coil set and the telescopic distance of the telescopic module.
Optionally, the inductance coil assembly includes at least two inductance coils distributed at intervals along a stretching direction of a detection terminal group of the terminal device, and the inductance change condition includes an induction result of the at least two inductance coils;
the determining module 1102 is specifically configured to search a telescopic distance of the telescopic module corresponding to the inductance change condition from a preset second corresponding relationship, where the second corresponding relationship includes a corresponding relationship between the induction results of at least two induction coils and the telescopic distance of the telescopic module.
Optionally, for each of said induction coils,
if the inductance value of the inductance coil is larger than or equal to a preset value, the induction result of the inductance coil is a first value;
if the inductance value of the inductance coil is smaller than the preset value, the induction result of the inductance coil is a second value;
wherein the first value and the second value are used for determining a telescoping distance of the telescoping module.
The terminal device 1100 is capable of implementing each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 10, and is not described here again to avoid repetition.
Fig. 12 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, and as shown in fig. 12, the terminal device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 12 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1210 is configured to obtain an inductance change condition of the inductance coil assembly; and determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition.
Optionally, the inductance coil assembly includes an inductance coil set, and the inductance variation includes an inductance value of the inductance coil set; the processor 1210 is further configured to: and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset first corresponding relation, wherein the first corresponding relation comprises the corresponding relation between the inductance value of the inductance coil group and the telescopic distance of the telescopic module.
Optionally, the inductance coil assembly includes at least two inductance coils distributed at intervals along a stretching direction of a detection terminal group of the terminal device, and the inductance change condition includes an induction result of the at least two inductance coils; the processor 1210 is further configured to: and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset second corresponding relationship, wherein the second corresponding relationship comprises the corresponding relationship between the induction results of at least two induction coils and the telescopic distance of the telescopic module.
Optionally, for each inductance coil, if the inductance value of the inductance coil is greater than or equal to a preset value, the induction result of the inductance coil is a first value; if the inductance value of the inductance coil is smaller than the preset value, the induction result of the inductance coil is a second value; wherein the first value and the second value are used for determining a telescoping distance of the telescoping module.
The terminal device 1200 can implement each process implemented by the terminal device in the foregoing embodiments, and details are not described here to avoid repetition.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 1202, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the terminal apparatus 1200 (for example, a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The terminal device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or backlight when the terminal device 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the terminal device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the terminal apparatus 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 1200 or may be used to transmit data between the terminal apparatus 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby performing overall monitoring of the terminal device. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The terminal device 1200 may further include a power source 1211 (e.g., a battery) for supplying power to various components, and preferably, the power source 1211 may be logically connected to the processor 1210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 1210, a memory 1209, and a computer program stored in the memory 1209 and capable of running on the processor 1210, where the computer program, when executed by the processor 1210, implements each process of the above-mentioned embodiment of the position detection method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the position detection method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. The utility model provides a terminal equipment, its characterized in that includes the casing and can stretch out or retract the flexible module of casing, terminal equipment still includes:
the detection terminal group is arranged on the telescopic module;
the inductance coil assembly is arranged in the telescopic channel of the detection terminal group;
the detection module is electrically connected with the inductance coil assembly and is used for detecting the inductance change condition of the inductance coil assembly and determining the telescopic distance of the telescopic module according to the inductance change condition;
the inductance coil assembly comprises a substrate and an inductance coil group arranged on the substrate;
in the process of telescopic motion of the detection terminal group, a projection track of the detection terminal group on the substrate forms a projection area, and the inductance coil group is at least partially distributed in the projection area;
when the detection terminal group is located at different stroke positions, the number of coils covered by the detection terminal group is different.
2. The terminal device of claim 1, wherein the set of inductors comprises at least one inductor.
3. The terminal device of claim 2, wherein the set of inductors comprises a first inductor and a second inductor, and wherein the density of the first inductor is in an opposite direction to the density of the second inductor,
the first inductance coil and the second inductance coil are arranged in parallel along the telescopic direction of the detection terminal group; alternatively, the first and second electrodes may be,
the first inductance coil and the second inductance coil are arranged in series along the telescopic direction of the detection terminal group.
4. The terminal device according to claim 3, wherein in a case where the first inductance coil and the second inductance coil are arranged in series in the expansion and contraction direction of the detection terminal group, the detection terminal group includes a first terminal arranged opposite to the first inductance coil and a second terminal arranged opposite to the second inductance coil.
5. The terminal device of claim 1, wherein the set of inductors comprises at least two third inductors, and the at least two third inductors are spaced apart along a stretching direction of the set of test terminals.
6. A position detection method applied to a terminal device according to any one of claims 1 to 5, the method comprising:
obtaining the inductance change condition of the inductance coil assembly;
and determining the telescopic distance of the telescopic module of the terminal equipment according to the inductance change condition.
7. The method of claim 6, wherein the inductive loop assembly comprises an inductive loop assembly, and wherein the change in inductance comprises an inductance of the inductive loop assembly;
the flexible distance of the flexible module of terminal equipment is confirmed according to the inductance change situation includes:
and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset first corresponding relation, wherein the first corresponding relation comprises the corresponding relation between the inductance value of the inductance coil group and the telescopic distance of the telescopic module.
8. The method according to claim 6, wherein the inductance coil assembly comprises at least two inductance coils which are distributed at intervals along the expansion and contraction direction of the detection terminal group of the terminal device, and the inductance change condition comprises the induction results of the at least two inductance coils;
the flexible distance of the flexible module of terminal equipment is confirmed according to the inductance change situation includes:
and searching the telescopic distance of the telescopic module corresponding to the inductance change condition from a preset second corresponding relationship, wherein the second corresponding relationship comprises the corresponding relationship between the induction results of at least two induction coils and the telescopic distance of the telescopic module.
9. The method of claim 8, wherein, for each of said induction coils,
if the inductance value of the inductance coil is larger than or equal to a preset value, the induction result of the inductance coil is a first value;
if the inductance value of the inductance coil is smaller than the preset value, the induction result of the inductance coil is a second value;
wherein the first value and the second value are used for determining a telescoping distance of the telescoping module.
10. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the position detection method according to any one of claims 6 to 9.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the position detection method according to any one of claims 6 to 9.
CN201910155566.4A 2019-03-01 2019-03-01 Position detection method and terminal equipment Active CN109905579B (en)

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 CN109905579A (en) 2019-06-18
CN109905579B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110260122A (en) * 2019-06-20 2019-09-20 歌尔股份有限公司 Lifting device for camera and mobile terminal
CN113114813A (en) * 2021-04-12 2021-07-13 维沃移动通信有限公司 Electronic device, control method, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN109905579A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN109067418B (en) Antenna control method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN111835488B (en) Method for determining mapping of antenna port and terminal
CN109583271B (en) Method, device and terminal for fitting lane line
CN109274437B (en) Camera anti-interference method and device and computer readable storage medium
CN108572767B (en) Method for determining external object position and mobile terminal
CN110035149B (en) Multi-antenna optimization method and mobile terminal
CN110289883B (en) Radio frequency circuit, terminal equipment and circuit control method
CN111142723B (en) Icon moving method and electronic equipment
CN109889217B (en) Interference processing method and terminal equipment
CN109739394B (en) SAR value processing method and mobile terminal
CN108008859B (en) Screen control method and mobile terminal
CN109916284A (en) A kind of method for detecting position and terminal device
CN109737938B (en) Terminal device
CN109639887B (en) Control method and terminal equipment
CN111083260A (en) Electronic device, control method and control device thereof, and computer-readable storage medium
CN109905579B (en) Position detection method and terminal equipment
CN110995909B (en) Sound compensation method and device
CN109769051B (en) Stroke detection device and method and terminal
CN110602282A (en) Antenna control method and electronic equipment
CN114338872A (en) Folding mechanism and mobile terminal
CN108062370B (en) Application program searching method and mobile terminal
CN111541038B (en) NFC antenna circuit structure, electronic equipment and method for enhancing magnetic field intensity
CN110753139B (en) Input method and mobile 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