Movatterモバイル変換


[0]ホーム

URL:


CN110312000B - Control method, detection component and electronic device for sliding-out structure - Google Patents

Control method, detection component and electronic device for sliding-out structure
Download PDF

Info

Publication number
CN110312000B
CN110312000BCN201810231207.8ACN201810231207ACN110312000BCN 110312000 BCN110312000 BCN 110312000BCN 201810231207 ACN201810231207 ACN 201810231207ACN 110312000 BCN110312000 BCN 110312000B
Authority
CN
China
Prior art keywords
slide
out structure
sliding
detection
signal value
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.)
Expired - Fee Related
Application number
CN201810231207.8A
Other languages
Chinese (zh)
Other versions
CN110312000A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810231207.8ApriorityCriticalpatent/CN110312000B/en
Publication of CN110312000ApublicationCriticalpatent/CN110312000A/en
Application grantedgrantedCritical
Publication of CN110312000BpublicationCriticalpatent/CN110312000B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开一种滑出结构的控制方法。滑出结构用于电子装置,电子装置包括本体和检测组件,滑出结构用于在收容于本体的第一位置和自本体露出的第二位置之间滑动,检测组件包括分别设置于滑出结构不同表面的至少两个检测元件,控制方法包括步骤:在滑出结构位于第二位置时,接收至少两个检测元件基于用户的触碰输入而输出的检测指令;根据检测指令控制滑出结构由第二位置滑动至第一位置。本发明实施方式的滑出结构的控制方法,通过用户触碰至少两个检测元件来控制滑出结构的滑动,这样可以防止滑出结构被误碰而滑动,提高了控制滑出结构滑动的稳定性。本发明还公开了一种检测组件和电子装置。

Figure 201810231207

The invention discloses a control method of a sliding-out structure. The slide-out structure is used for an electronic device. The electronic device includes a body and a detection component. The slide-out structure is used to slide between a first position accommodated in the body and a second position exposed from the body. At least two detection elements on different surfaces, the control method includes the steps of: when the sliding-out structure is located at the second position, receiving detection instructions output by the at least two detection elements based on the user's touch input; controlling the sliding-out structure by the detection instructions according to the detection instructions Slide the second position to the first position. In the control method of the slide-out structure according to the embodiment of the present invention, the sliding of the slide-out structure is controlled by touching at least two detection elements, which can prevent the slide-out structure from being accidentally touched and slide, and improves the stability of controlling the sliding of the slide-out structure. sex. The invention also discloses a detection assembly and an electronic device.

Figure 201810231207

Description

Control method of sliding-out structure, detection assembly and electronic device
Technical Field
The invention relates to the technical field of electronics, in particular to a control method of a slide-out structure, a detection assembly and an electronic device.
Background
The mobile phone is a common electronic product in daily life, and as the requirement of a consumer on the experience of the mobile phone is higher and higher, the mobile phone screen ratio is taken as the visual experience presented to the consumer, so that a large-screen or even a full-screen mobile phone is favored by more and more consumers, and the proportion of the front camera arranged on the front panel of the traditional mobile phone has certain influence on the screen ratio of the mobile phone, therefore, how to reasonably set and use the front camera on the front panel becomes the technical challenge of improving the mobile phone screen ratio.
Disclosure of Invention
The invention provides a control method of a slide-out structure, a detection assembly and an electronic device.
The invention discloses a control method of a slide-out structure, the slide-out structure is used for an electronic device, the electronic device comprises a body and a detection assembly, the slide-out structure is used for sliding between a first position accommodated in the body and a second position exposed out of the body, the detection assembly comprises at least two detection elements respectively arranged on different surfaces of the slide-out structure, and the control method comprises the following steps:
when the sliding-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on touch input of a user; and
and controlling the sliding-out structure to slide from the second position to the first position according to the detection instruction.
The invention discloses a detection assembly, which is used for detecting the state of a slide-out structure, the slide-out structure is used for an electronic device, the electronic device comprises a body, the slide-out structure is used for sliding between a first position accommodated in the body and a second position exposed from the body, the detection assembly comprises at least one distance sensor and a processor, wherein in the first position, the at least one distance sensor is positioned in the body, in the second position, the at least one distance sensor is exposed out of the body, and the processor is used for:
when the sliding-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on touch input of a user; and
and controlling the sliding-out structure to slide from the second position to the first position according to the detection instruction.
The invention discloses an electronic device, comprising:
a body;
the sliding-out structure is used for sliding between a first position where the sliding-out structure is accommodated in the body and a second position where the sliding-out structure is exposed out of the body; and
a detection assembly for detecting a position of the slide-out structure, the detection assembly including at least one distance sensor and a processor, wherein in the first position, the at least one distance sensor is located within the body, and in the second position, the at least one distance sensor is exposed from the body, the processor being configured to:
when the sliding-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on touch input of a user; and
and controlling the sliding-out structure to slide from the second position to the first position according to the detection instruction.
In addition, the sliding of the sliding-out structure is controlled by touching at least two detection elements by a user, so that the sliding-out structure can be prevented from sliding due to mistaken touch, and the stability of controlling the sliding of the sliding-out structure is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic view of an electronic device in a second position according to an embodiment of the present invention.
Fig. 2 is a schematic view of the electronic device in the first position according to the embodiment of the present invention.
Fig. 3 is a schematic view of the electronic device in the third position according to the embodiment of the present invention.
FIG. 4 is a usage scenario diagram of a detection assembly of an embodiment of the present invention.
FIG. 5 is a diagram of a usage scenario of a detection assembly in accordance with another embodiment of the present invention.
Fig. 6 is a usage scenario diagram of an electronic device according to an embodiment of the invention.
FIG. 7 is a diagram of another usage scenario of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Fig. 9 is a flowchart illustrating a control method according to an embodiment of the present invention.
FIG. 10 is a schematic diagram illustrating the logical relationship between the calibrated relative position and the predetermined signal value according to an embodiment of the present invention.
Fig. 11 is another flowchart illustrating a control method according to an embodiment of the present invention.
Description of the main element symbols: theelectronic device 100, thebody 10, thehousing 12, thedisplay component 14, thecover 142, thesliding slot 16, thegroove 162, thesliding structure 20, thecarrier 22, the threadedhole 24, therotary screw 26, thedetection component 30, thefirst distance sensor 32, thesecond distance sensor 34, theprocessor 36, thefirst detection element 37, thesecond detection element 38, thefunctional device 40, thefront camera 42, theearpiece 44, thedriving device 50, thedriving motor 52, the first position a, the second position B, and the third position C.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
Referring to fig. 1 to 4, anelectronic device 100 according to an embodiment of the invention includes abody 10, a sliding-outstructure 20, and a detectingelement 30. The sliding-outstructure 20 is adapted to slide between a first position a accommodated in thebody 10 and a second position B exposed from thebody 10. Thedetecting assembly 30 is used for detecting the position of the sliding-outstructure 20, thedetecting assembly 30 includes at least onedistance sensor 32 and aprocessor 36, for convenience of understanding, the following description will use afirst distance sensor 32 and asecond distance sensor 34 as at least one distance sensor, thefirst distance sensor 32 and thesecond distance sensor 34 are arranged at intervals along the sliding direction of the sliding-outstructure 20 on the side of the sliding-outstructure 20 facing thebody 10, in the first position a, thefirst distance sensor 32 and thesecond distance sensor 34 are located in thebody 10, in the second position B, at least thefirst distance sensor 32 is exposed out of thebody 10, and theprocessor 36 is used for receiving the detection signal values output by thefirst distance sensor 32 and thesecond distance sensor 34 and determining the current relative position of the sliding-outstructure 20 relative to thebody 10 according to the detection signal values.
It should be noted that the sliding direction of the sliding-outstructure 20 is inward or outward of thebody 10, and here, "thefirst distance sensor 32 and thesecond distance sensor 34 are disposed at an interval on the side of the sliding-outstructure 20 facing thebody 10 along the sliding direction of the sliding-outstructure 20" may be understood as that thefirst distance sensor 32 and thesecond distance sensor 34 may move inward or outward of thebody 10 along with the sliding-outstructure 20, and output the detection signal value according to the distance change of thefirst distance sensor 32 and thesecond distance sensor 34 relative to the body, of course, thefirst distance sensor 32 and thesecond distance sensor 34 are not limited to the above mentioned positions, but may be disposed on the sliding-outstructure 20 or the proper position of thebody 10 on the premise that the normal and stable output and acceptance of the detection signal value are satisfied.
In some embodiments, thebody 10 is formed with aslide slot 16, and the slide-outstructure 20 is received in theslide slot 16 in the first position a. In this manner, the slide-outstructure 20 can be made to slide between the first position a and the second position B by theslide groove 16.
Specifically, thebody 10 includes ahousing 12 and adisplay assembly 14, and thehousing 12 and thedisplay assembly 14 are combined to constitute an enclosed structure. Theslide slot 16 opens in thehousing 12 to allow the slide-back and slide-out of the slide-outstructure 20. It will be appreciated that thechute 16 may be open on either side of thehousing 12. Preferably, thechute 16 opens at the top edge of thehousing 12. Thus, the use habit of the user can be met.
Thedisplay assembly 14 includes a touch panel (not shown) and acover 142. The touch panel includes a display module (not shown) and a touch layer (not shown) disposed on the display module. The display Module is, for example, a liquid crystal display Module (LCD Module, LCM), and of course, the display Module may also be a flexible display Module. The touch layer is used for receiving touch input of a user to generate a signal for controlling the content displayed by the display module and a signal for controlling the sliding of the sliding-outstructure 20.
The material of thecover plate 142 may be made of a light-transmitting material such as glass, ceramic, or sapphire. Since thecover 142 is an input part of theelectronic device 100, thecover 142 is often touched by a collision or a scratch. For example, when the user places theelectronic device 100 in a pocket, thecover plate 142 may be scratched by a key in the pocket of the user and damaged. Therefore, the material of thecover plate 142 may be a material with a relatively high hardness, such as the above sapphire material. Or a hardened layer may be formed on the surface of thecover plate 142 to improve the scratch resistance of thecover plate 142.
The touch panel and thecover plate 142 are adhered and fixed together by, for example, optical Adhesive (OCA), and the optical Adhesive not only adheres and fixes the touch panel and thecover plate 142, but also can transmit light emitted by the touch panel.
Referring to fig. 5, in some embodiments, theelectronic device 100 includes afront camera 42, the slide-outstructure 20 includes acarrier 22, and thefront camera 42 is disposed on thecarrier 22. In this manner, thefront camera 42 can slide with the slide-outstructure 20. Of course, the user may turn on thefront camera 42 and turn off thefront camera 42 as the trigger signal, that is, when the user turns on thefront camera 42, the slide-outstructure 20 is triggered to slide out, and when the user turns off thefront camera 42, the slide-outstructure 20 is triggered to slide back. Thus, the user can use the slide-outstructure 20 conveniently by simply turning on or off thefront camera 42 according to the existing habit without performing additional operations with respect to the slide-out structure.
In addition to thefront camera 42, otherfunctional devices 40, such as a light distance sensor, a proximity sensor, and ahandset 44, may be carried on thecarrier 22. Thesefunctional devices 40 may be exposed from thebody 10 to be normally operated as the slide-outstructure 20 slides out according to the input of the user, or may be received in thebody 10 as the slide-outstructure 20 slides back according to the input of the user. Therefore, through holes can be formed in thedisplay assembly 14 as few as possible, which is beneficial to meeting the design requirement of the whole screen of theelectronic device 100.
Referring to fig. 6-7, specifically, when the light distance sensor is carried on thecarrier 22, the light distance sensor may be disposed on the top of thecarrier 22, that is, when the sliding-outstructure 20 is completely accommodated in the slidingslot 16, the light distance sensor may still be exposed from the top of thecarrier 22, so as to sense light in real time. When the proximity sensor andearpiece 44 are carried on thecarrier 22, the user can be triggered to answer and hang up the phone, i.e., the slide outmechanism 20 is triggered to slide out when the user answers the phone and the slide outmechanism 20 is triggered to slide back when the user hangs up the phone. Therefore, the user only needs to answer or hang up the phone according to the existing habit without performing other operations on the sliding-outstructure 20, and the use of the user can be facilitated.
It will be appreciated that a plurality offunctional devices 40 may be carried on thesame carrier 22, or may be carried on a plurality ofcarriers 22. When a plurality offunctional devices 40 are carried on thesame carrier 22, the plurality offunctional devices 40 may be arranged longitudinally, and theprocessor 36 may control whether thefunctional devices 40 disposed on the lower portion of thecarrier 22 are exposed by controlling the distance that the slide-outstructure 20 slides out. When multiplefunctional devices 40 are carried on the same plurality ofcarriers 22, theprocessor 36 may select thefunctional device 40 to be exposed by controlling the sliding movement of one of thecarriers 22. Therefore, a plurality of sliding-out forms can be provided for the user, so that the user can select according to different scenes and requirements.
Referring to fig. 8, in some embodiments, the slide-outstructure 20 includes a threadedhole 24 disposed in the middle of thecarrier 22 and arotating screw 26 engaged with the threadedhole 24. Thechute 16 includes arecess 162 located opposite the threadedaperture 24 and at the bottom of thechute 16. Theelectronic device 100 includes adriver 50 disposed in therecess 162. The drive means 50 includes adrive motor 52 connected to theprocessor 36 and an output shaft (not shown) connected to the bottom of therotary screw 26.
It will be appreciated that theprocessor 36 may control the sliding movement of the slide outstructure 20 by controlling thedrive motor 52. When the user commands the slide-outstructure 20 to slide from the first position a to the second position B, theprocessor 36 controls the drivingmotor 52 to rotate forward, so that the output shaft drives therotating screw 26 to rotate in the threadedhole 24, and the slide-outstructure 20 slides from the first position a to the second position B. When the user commands the slide-outstructure 20 to slide from the second position B to the first position a, theprocessor 36 controls the drivingmotor 52 to rotate in reverse, so that the output shaft drives therotating screw 26 to rotate in the threadedhole 24, and the slide-outstructure 20 slides from the second position B to the first position a. It is to be noted that "from the first position a to the second position B" and "from the second position B to the first position a" herein refer to the direction of the sliding, and do not refer to the start point and the end point of the sliding.
Theelectronic device 100 of the embodiment of the invention determines the current relative position of the slide-outstructure 20 by using thefirst distance sensor 32 and thesecond distance sensor 34, and can detect the state of the slide-outstructure 20 in real time when thefunctional device 40 such as a front camera is carried on the slide-outstructure 20, thereby determining the position of thefunctional device 40. In addition, theelectronic device 100 according to the embodiment of the invention can receive the detection instruction output by the at least two detection elements based on the touch input of the user when the sliding-outstructure 20 is located at the second position B, and control the sliding-outstructure 20 to slide from the second position B to the first position a according to the detection instruction, so that the sliding-outstructure 20 can be prevented from being mistakenly touched to slide, and the stability of controlling the sliding of the sliding-outstructure 20 is improved. For convenience of description, the number of the detecting elements is two, and the two detecting elements are the first detectingelement 37 and the second detectingelement 38, respectively, which will be described in further detail below. Of course, it is understood that in other embodiments, the number of detection elements may be other numbers such as 3, 4, etc., and thus, the following examples should not be taken as limiting herein.
The first detectingelement 37 and the second detectingelement 38 may be touch sensors or sensing elements with touch detection. The surface of the touch sensor is a layer of touch screen, a uniform electric field is added to four vertexes RT, RB, LT and LB of the touch screen, so that a uniform voltage is distributed on the lower layer (indium oxide) ITO GLASS, the upper layer is a signal receiving device, and when a pen or a finger presses any point on the surface, the controller detects that the resistance changes at the finger pressing position, so that the coordinate is changed, and touch input is generated.
Referring to fig. 4, the first detectingelement 37 and the second detectingelement 38 can be disposed on the opposite sides, top and side (as shown in fig. 5) of the sliding-outstructure 20. When the sliding-outstructure 20 is located at the second position B, the touch information of the first detectingelement 37 and the second detectingelement 38 needs to be received at the same time, and in order to prevent the sliding-outstructure 20 from being operated erroneously due to the first detectingelement 37 and the second detectingelement 38 being touched erroneously, theprocessor 36 needs to receive the detection instruction of the first detectingelement 37 and the second detectingelement 38 after determining that the detection signal of the sliding-outstructure 20 is located at the second position B, and when the first detectingelement 37 and the second detectingelement 38 are located at the first position a or other positions, theelectronic device 100 keeps the first detectingelement 37 and the second detectingelement 38 in the closed state, so that the erroneous operation can be prevented, the power consumption of theelectronic device 100 can be saved, and the service life of theelectronic device 100 can be prolonged.
It is understood that thefunctional device 40 such as thefront camera 42 needs to be exposed from themain body 10, otherwise it cannot operate normally. Theelectronic device 100 according to the embodiment of the present invention carries thefunctional device 40 on the sliding-outstructure 20, so that thefunctional device 40 is accommodated in themain body 10 when the operation is not required, and is exposed from themain body 10 along with the sliding-outstructure 20 when the operation is required. In this way, it is not necessary to provide a through hole for exposing thefunctional device 40 such as thefront camera 42 on thedisplay module 14, so that the screen occupation ratio is increased, and the user experience is improved.
Referring to fig. 9, the present invention provides a method for controlling the sliding-outstructure 20. The method for controlling the slide-outstructure 20 according to the embodiment of the present invention may be used to detect the state of the slide-outstructure 20 of theelectronic device 100 according to the embodiment of the present invention.
Theelectronic device 100 comprises abody 10, a sliding-outstructure 20 for sliding between a first position A accommodated in thebody 10 and a second position B exposed from thebody 10, and the control method comprises the following steps:
s12: when the slide-outstructure 20 is located at the second position B, receiving a detection instruction output by at least two detection elements based on a user touch input; and
s14: and controlling the sliding-outstructure 20 to slide from the second position B to the first position A according to the detection instruction.
Referring to fig. 4, the present invention provides a detectingassembly 30, wherein the detectingassembly 30 includes aprocessor 36, and theprocessor 36 is configured to: when the slide-outstructure 20 is located at the second position B, receiving a detection instruction output by thefirst detection element 37 and thesecond detection element 38 based on a touch input of a user; and controlling the sliding-outstructure 20 to slide from the second position B to the first position A according to the detection instruction.
According to the control method of the slide-outstructure 20 of the embodiment of the invention, theprocessor 36 processes the detection instructions output by thefirst detection element 37 and thesecond detection element 38 touched by the user and controls the slide of the slide-outstructure 20, so that the slide of the slide-outstructure 20 due to mistaken touch can be prevented, and the stability of controlling the slide of the slide-outstructure 20 and the operability of theelectronic device 100 are improved.
In an embodiment of the present invention, theelectronic device 100 includes a drivingmotor 52 connected to the sliding-outstructure 20, the drivingmotor 52 is used for driving the sliding-outstructure 20 to slide, and the step of controlling the sliding-outstructure 20 to slide from the second position B to the first position a according to the detection instruction includes:
s12: and controlling the drivingmotor 52 to drive the sliding-outstructure 20 to slide from the second position B to the first position A according to the detection instruction.
The drivingmotor 52 is controlled to drive the sliding of the sliding-outstructure 20 through the confirmation of the detection instruction, so that the sliding process of the sliding-outstructure 20 is more stable without manual sliding, the unsmooth sliding caused by too small or too large manual sliding force can be avoided, even the damage to the sliding-outstructure 20 is avoided, and the safety and the experience are improved.
Referring to fig. 11, in some embodiments, the control method includes the steps of:
s16: determining the current relative position of the slide outstructure 20;
s18: judging whether the current position is a first position A or a second position B; and
s20: and when the current relative position is the second position B, controlling the at least two detection elements to be opened to receive touch input of a user.
First, it is determined that the current relative position of the sliding-outstructure 20 is the second position B, so as to avoid the sliding-outstructure 20 and even theelectronic device 100 from being damaged due to the abnormal operation of the drivingmotor 52 when the sliding-outstructure 20 is at the first position a or between the first position a and the second position B, and improve the safety of the sliding-outstructure 20 and theelectronic device 100. It can be understood that when the current relative position of the sliding-outstructure 20 is not the second position B, the first detectingelement 37 and the second detectingelement 38 are in the closed state, so that the power of theelectronic device 100 can be saved to prolong the service time.
In an embodiment of the present invention, the detectingassembly 30 includes afirst distance sensor 32 and asecond distance sensor 34 disposed on the sliding-outstructure 20, wherein in the first position a, thefirst distance sensor 32 and thesecond distance sensor 34 are located in the body, and in the second position B, thefirst distance sensor 32 and thesecond distance sensor 34 are exposed from thebody 10, and the step of determining the current relative position of the sliding-outstructure 20 includes:
receiving the detection signal values output by the first andsecond distance sensors 32 and 34: and
the current relative position of the slide-outstructure 20 with respect to thebody 10 is determined based on the detection signal value.
The control method and thedetection assembly 30 of the slide-outstructure 20 of the embodiment of the invention determine the current relative position of the slide-outstructure 20 by using thefirst distance sensor 32 and thesecond distance sensor 34, and can detect the state of the slide-outstructure 20 in real time when thefunctional device 40 such as a front camera is carried on the slide-outstructure 20, thereby determining the position of thefunctional device 40.
The control method of the slide-outstructure 20 and the operation principle of thedetection assembly 30 according to the embodiment of the present invention are mainly based on the characteristics that thefirst distance sensor 32 and thesecond distance sensor 34 have the distance measuring function. The distance sensor comprises an infrared transmitting tube and an infrared receiving tube, and when the time for receiving the infrared rays transmitted by the transmitting tube by the receiving tube is short, the distance is close; when the receiving tube receives the infrared rays emitted by the emitting tube for a longer time, the distance is longer. In an embodiment of the present invention, the measured distance is a relative distance between the first andsecond distance sensors 32 and 34 and thebody 10.
When the sliding-outstructure 20 is accommodated in thebody 10, the infrared rays emitted by thefirst distance sensor 32 and thesecond distance sensor 34 collide with the inner wall of thechute 16, are reflected and are received by the receiver, the distance is short, the required time is short, the time spent is set as a limit value, and the sliding-outstructure 20 is at the first position a; when the sliding-outstructure 20 is exposed out of thebody 10, there are two situations, namely, thefirst distance sensor 32 is exposed out of thebody 10, thesecond distance sensor 34 is still located at the part of the sliding-outstructure 20 exposed out of thebody 10, and thefirst distance sensor 32 and thesecond distance sensor 34 are both located at the part of the sliding-outstructure 20 exposed out of thebody 10. In the two cases, the time taken by the receiving tube to receive the infrared rays emitted by the emitting tube is longer, even the reflected infrared rays cannot be received, so the duration exceeds a limit value, the time taken in the second case is longer than that in the first case, the sliding-outstructure 20 is located at the second position B, and more, for the first case, the sliding-outstructure 20 has a third position C, and the third position C is located between the first position A and the second position B.
The distances of the first andsecond distance sensors 32 and 34 with respect to thebody 10 are determined according to the sum of the sensed distance measuring times of the first andsecond distance sensors 32 and 34. Since the length of time is related to the position relative to the first andsecond distance sensors 32 and 34 and the length of time is related to the length of the distance, the longer the slide-outstructure 20 slides out, the longer the receiving time, and the slide-outstructure 20 can be determined to be located at the first position a, the second position B or the third position C by comparing the lengths of time. The relative positions of the first andsecond distance sensors 32 and 34 can be determined from the signals output by the first andsecond distance sensors 32 and 34.
In addition, since the first andsecond distance sensors 32 and 34 are fixed to thebody 10 and the slide-outstructure 20, respectively, the first andsecond distance sensors 32 and 34 can generate relative movement with the movement of the slide-outstructure 20, and thus, the position of the slide-outstructure 20 with respect to thebody 10 can be indirectly determined by determining the relative position of thesecond distance sensor 34 and thefirst distance sensor 32. In this manner, the state of the slide-outstructure 20 can be detected simply and conveniently in real time.
In certain embodiments, step S14 includes:
reading an inquiry database, wherein the inquiry database comprises a plurality of preset signal values and a plurality of calibration relative positions, and each preset signal value corresponds to one calibration relative position; and
the query database is queried using the detected signal values to obtain the current relative position.
In some embodiments, theprocessor 36 is configured to read a query database, the query database including a plurality of predetermined signal values and a plurality of calibrated relative positions, each predetermined signal value corresponding to one calibrated relative position; and querying a query database using the detected signal values to obtain the current relative position.
Since each preset signal value corresponds to a nominal relative position, that is, each preset signal value corresponds to one and only one corresponding nominal relative position. In this way, data related to the detection signal values can be read in the query database according to the detection signal values, thereby realizing the determination of the current relative position according to the detection signal values.
In some embodiments, a control method comprises:
sliding the slide outstructure 20 to a plurality of nominal relative positions; and
the detection signal value output by thefirst distance sensor 32 and thesecond distance sensor 34 corresponding to each calibrated relative position is obtained as the preset signal value corresponding to the calibrated relative position.
In certain embodiments,processor 36 is configured to:
sliding the slide outstructure 20 to a plurality of nominal relative positions; and
the detection signal value output by thefirst distance sensor 32 and thesecond distance sensor 34 corresponding to each calibrated relative position is obtained as the preset signal value corresponding to the calibrated relative position.
By recording the nominal relative position and the values of the detection signals output by the first andsecond distance sensors 32, 34 at the nominal relative position, the correspondence between the position at which the slide-outstructure 20 is located and the detection signals output by the first andsecond distance sensors 32, 34 can be obtained. In this way, in the subsequent position detection process, as long as the detection signal values output by thefirst distance sensor 32 and thesecond distance sensor 34 are obtained, the current relative position of the slide-outstructure 20 relative to thebody 10 can be reversely deduced through the corresponding relationship determined in this step.
In some embodiments, a control method comprises:
and associating the plurality of preset signal values and the plurality of calibrated relative positions into a lookup table or fitting into a relation curve.
In some embodiments, theprocessor 36 is configured to correlate the plurality of preset signal values and the plurality of nominal relative positions to a look-up table or fit a relationship curve.
In this way, while facilitating storage and interrogation, the correspondence between the nominal relative position of the slide-outstructure 20 and the detection signal values output by the first andsecond distance sensors 32, 34 as preset signal values is made more accurate. It can be understood that, in the actual detection process, the sliding-outstructure 20 may not just slide to the calibrated relative position, but may also slide to a third position C between the two calibrated relative positions, and at this time, it is not accurate to directly adopt the preset signal value corresponding to the calibrated relative position. Of course, the current relative position of the slide-outstructure 20 can be calculated using an average of the two nominal relative positions or by combining the two nominal relative positions according to a weight. However, considering that the preset signal values do not necessarily vary linearly, it is more preferable to fit a plurality of preset signal values and a plurality of nominal relative positions to a relationship curve. In this way, the accuracy of the current relative position determined from the plurality of preset signal values and the plurality of calibrated relative positions can be ensured as much as possible.
In the embodiment of the present invention, please refer to fig. 10, the detection signal value is a logic value. When the receiving tube receives the infrared rays emitted by the emitting tube and sets the shortest time length as a limit value, the logical values output by thefirst distance sensor 32 and thesecond distance sensor 34 are 1, and when the time length is greater than the limit value, the logical value output is 0, and the detection signal value output by thefirst distance sensor 32 is used as the first. When thefirst distance sensor 32 and thesecond distance sensor 34 both receive the reflected infrared rays, the output logic value is 1, and the sliding-outstructure 20 is that the first position a is located in thebody 10; when the logic value is 01, the slide-outstructure 20 is the third position C; when the output logic value is 00, the slide-outstructure 20 exposes thebody 10.
Similarly, the detection commands sent by thefirst detection element 37 and thesecond detection element 38 are logic values, and when the slide-outstructure 20 is located at the first position a, since thefirst detection element 37 and thesecond detection element 38 are in the off state, the output command is 00; when the sliding-outstructure 20 is located at the third position C and the user normally touches, the instructions output by the first detectingelement 37 and the second detectingelement 38 are 01; when the slide-outstructure 20 is located at the second position B, the instruction output by the first detectingelement 37 and the second detectingelement 38 is 11, which is the case that the first detectingelement 37 and the second detectingelement 38 receive the normal touch effect, and when the slide-outstructure 20 is located at the second position B, and the user does not touch or only touches the first detectingelement 37 or the second detectingelement 38, that is, the output instruction is 00, 01 or 10, the slide-outstructure 20 maintains the current relative position. It can be understood that the output of the detection signals of thefirst detection element 37 and thesecond detection element 38, and the output of the detection signals of thefirst distance sensor 32 and thesecond distance sensor 34 are consistent, so that the sliding of the slide-outstructure 20 can be ensured to be normally performed.
In some embodiments, a control method comprises:
receiving a first user input; and
the slide-outstructure 20 is controlled to slide to a predetermined position according to the first user input.
In some embodiments, theprocessor 36 is configured to receive a first user input; and
the slide-outstructure 20 is controlled to slide to a predetermined position according to the first user input.
In this way, sliding of the slide-outstructure 20 is achieved. As previously described, theprocessor 36 may control the sliding of the slide outstructure 20 by controlling thedrive motor 52 in accordance with user input. When theprocessor 36 receives the first user input, theprocessor 36 controls the drivingmotor 52 to rotate forward or backward, so that the output shaft drives therotating screw 26 to rotate in the threadedhole 24, and the sliding-outstructure 20 slides to a predetermined position.
Of course, the trigger signal may also be set so that theprocessor 36 controls the movement of the slide outstructure 20 in certain situations. For example, when the proximity sensor andearpiece 44 are carried on thecarrier 22, the user may be triggered to answer and hang up the phone. That is, when the user answers the phone, the slide-out mechanism 20 is triggered to automatically slide out, and when the user hangs up the phone, the slide-out mechanism 20 is triggered to automatically slide back. In summary, the sliding of the slide-outstructure 20 may be based on user operation, or may occur automatically in certain situations. Of course, the user may set the auto-slide or close the auto-slide in which cases are specific.
In some embodiments, a control method comprises:
determining whether the slide-outstructure 20 is slid to the first position a; and
when the slide-outstructure 20 is not slid to the first position a, an alarm signal is output.
In some embodiments,processor 36 is configured to determine whether slide outstructure 20 has been slid to first position A; and
when the slide-outstructure 20 is not slid to the first position a, an alarm signal is output.
In this way, the user may be prompted for intervention to avoid the slide-outstructure 20 orbody 10 from interfering with function or becoming damaged by not sliding to the first position a.
It will be appreciated that due to the complexity of the real world situation, there is a possibility that the slide-outstructure 20 will not slide to the first position a, such as a jam. If the abnormal condition is not judged and alarmed, the obstacle causing the abnormality cannot be eliminated. In addition, when the slide outstructure 20 is stuck and an obstacle is not removed for a long time, the drivingmotor 52 is continuously operated, thereby causing damage to the slide outstructure 20 or thebody 10. The alarm mechanism is set so that when an abnormality occurs, theprocessor 36 can perform corresponding operations in time, such as turning off the drivingmotor 52, to avoid damage to the slide-outstructure 20 or thebody 10.
In certain embodiments, step S16 includes:
receiving a plurality of detection signal values output by thefirst distance sensor 32 and thesecond distance sensor 34 within a preset time;
determining a predetermined signal value corresponding to the predetermined position according to the predetermined position;
judging whether the predetermined signal value is consistent with a plurality of detection signal values; and
when the predetermined signal value does not coincide with the plurality of detection signal values, it is judged that the slide-outstructure 20 has not slid to the predetermined position.
In certain embodiments,processor 36 is configured to: receiving a plurality of detection signal values output by thefirst distance sensor 32 and thesecond distance sensor 34 within a preset time; determining a predetermined signal value corresponding to the predetermined position according to the predetermined position; judging whether the predetermined signal value is consistent with a plurality of detection signal values; and judging that the slide-outstructure 20 is not slid to the predetermined position when the predetermined signal value is not in agreement with the plurality of detection signal values.
In this manner, the judgment as to whether the slide-outstructure 20 is slid to the predetermined position is achieved.
It is understood that, when a plurality of detection signal values coincide within a preset time, the state of the slide-outstructure 20 is stationary, and the stationary state may be caused by a case where the slide-outstructure 20 has slid to a predetermined position to normally stop sliding, and a case where the slide-outstructure 20 has not slid to a predetermined position to abnormally stop sliding. By comparing the plurality of consistent detection signal values with the predetermined signal values corresponding to the predetermined positions, it can be determined whether the slide-outstructure 20 has slid to the predetermined position, thereby determining whether an abnormal situation has occurred.
Of course, the current relative position of the slide-outstructure 20 may be determined according to a plurality of consistent detection signal values, and then compared with the current relative position and the predetermined position, so as to determine whether the slide-outstructure 20 slides to the predetermined position and determine whether an abnormal condition occurs.
In some embodiments, a control method comprises:
receiving a second user input; and
the slide-outstructure 20 is controlled to slide from the current relative position to the predetermined position according to the second user input.
In some embodiments, theprocessor 36 is configured to receive a second user input; and
the slide-outstructure 20 is controlled to slide from the current relative position to the predetermined position according to the second user input.
In this way, in the case where the slide-outstructure 20 is not slid to the predetermined position, the user can intervene to remove the obstacle and then slide the slide-outstructure 20 from the current relative position where the abnormality occurs to the predetermined position.
In some embodiments, a control method comprises:
accepting a third user input; and
the slide-outstructure 20 is controlled to slide from the current relative position to the first position a in accordance with a third user input.
In some embodiments, theprocessor 36 is configured to receive a third user input; and
the slide-outstructure 20 is controlled to slide from the current relative position to the first position a in accordance with a third user input.
In this way, when the slide-outstructure 20 is not slid to the predetermined position, the user intervenes to remove the obstacle, and then slides the slide-outstructure 20 from the current relative position where the abnormality occurs to the first position a, thereby realizing the reset.
In actual operation, icons in the above two modes can be displayed on thepanel assembly 14, and the user can select the two modes through thepanel assembly 14. That is, after the occurrence of the anomaly, the user may choose to continue sliding from the current relative position where the anomaly occurred to the preset position, or to the first position a.
In the description herein, references to the terms "one embodiment," "certain embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (20)

Translated fromChinese
1.一种滑出结构的控制方法,其特征在于,所述滑出结构用于电子装置,所述电子装置包括本体和检测组件,所述滑出结构用于在收容于所述本体的第一位置和自所述本体露出的第二位置之间滑动,所述检测组件包括至少两个检测元件以及设置在所述滑出结构的至少一个距离传感器,其中,所述至少两个检测元件分别设置于所述滑出结构的不同表面,在所述第一位置时,至少一个所述距离传感器位于所述本体内,在所述第二位置时,至少一个所述距离传感器露出于所述本体,所述控制方法包括步骤:1. A control method of a sliding-out structure, characterized in that, the sliding-out structure is used for an electronic device, and the electronic device includes a main body and a detection assembly, and the sliding-out structure is used in a first place accommodated in the main body. Sliding between a position and a second position exposed from the body, the detection assembly includes at least two detection elements and at least one distance sensor disposed on the sliding structure, wherein the at least two detection elements are respectively are arranged on different surfaces of the sliding-out structure, in the first position, at least one of the distance sensors is located in the body, and in the second position, at least one of the distance sensors is exposed from the body , the control method includes the steps:接收所述至少一个距离传感器输出的检测信号值;receiving a detection signal value output by the at least one distance sensor;根据所述检测信号值确定所述滑出结构相对于所述本体的当前相对位置;Determine the current relative position of the slide-out structure with respect to the body according to the detection signal value;判断当前相对位置为第一位置或第二位置;Determine whether the current relative position is the first position or the second position;当前相对位置不是第二位置时,控制所有检测元件关闭;When the current relative position is not the second position, control all detection elements to close;当前相对位置是第二位置时,控制至少两个检测元件开启以接收用户的触碰输入;When the current relative position is the second position, controlling the at least two detection elements to be turned on to receive the user's touch input;在所述滑出结构位于所述第二位置时,接收所述至少两个检测元件基于用户的触碰输入而输出的检测指令;和When the slide-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on a user's touch input; and根据所述检测指令控制所述滑出结构由所述第二位置滑动至所述第一位置。The sliding-out structure is controlled to slide from the second position to the first position according to the detection instruction.2.如权利要求1所述的滑出结构的控制方法,其特征在于,所述电子装置包括与所述滑出结构连接的驱动马达,所述驱动马达用于驱动所述滑出结构滑动,所述根据所述检测指令控制所述滑出结构由所述第二位置滑动至所述第一位置的步骤包括:2 . The control method of the sliding-out structure according to claim 1 , wherein the electronic device comprises a driving motor connected with the sliding-out structure, and the driving motor is used for driving the sliding-out structure to slide, 2 . The step of controlling the slide-out structure to slide from the second position to the first position according to the detection instruction includes:根据所述检测指令控制所述驱动马达驱动所述滑出结构由所述第二位置滑动至所述第一位置。The driving motor is controlled to drive the sliding structure to slide from the second position to the first position according to the detection instruction.3.如权利要求1所述的滑出结构的控制方法,其特征在于,所述根据所述检测信号值确定所述滑出结构相对于所述本体的所述当前相对位置的步骤包括:3. The control method of the sliding-out structure according to claim 1, wherein the step of determining the current relative position of the sliding-out structure with respect to the body according to the detection signal value comprises:读取数据库,查询所述数据库包括多个预设信号值与多个标定相对位置,每个所述预设信号值与一个所述标定相对位置对应;和reading a database, and querying the database to include a plurality of preset signal values and a plurality of calibrated relative positions, each of the preset signal values corresponding to one of the calibrated relative positions; and采用所述检测信号值查询所述数据库以得到所述当前相对位置。The database is queried using the detection signal value to obtain the current relative position.4.如权利要求3所述的滑出结构的控制方法,其特征在于,所述控制方法包括:4. The control method of the slide-out structure according to claim 3, wherein the control method comprises:将所述滑出结构滑动到所述多个标定相对位置;和sliding the slide-out structure to the plurality of calibrated relative positions; and获取所述至少一个距离传感器对应每个所述标定相对位置输出的检测信号值作为对应所述标定相对位置的所述预设信号值。A detection signal value output by the at least one distance sensor corresponding to each of the calibrated relative positions is acquired as the preset signal value corresponding to the calibrated relative position.5.如权利要求4所述的滑出结构的控制方法,其特征在于,所述控制方法包括:5. The control method of the slide-out structure according to claim 4, wherein the control method comprises:将所述多个标定相对位置和对应所述标定相对位置的预设信号值的映射关系关联成查询表或拟合成关系曲线。The mapping relationship between the plurality of calibration relative positions and the preset signal values corresponding to the calibration relative positions is associated into a look-up table or a relationship curve is fitted.6.如权利要求1所述的滑出结构的控制方法,其特征在于,所述控制方法包括:6. The control method of the slide-out structure according to claim 1, wherein the control method comprises:判断所述滑出结构是否滑到所述第一位置;和determining whether the slide-out structure slides to the first position; and当所述滑出结构没有滑到所述第一位置时,输出报警信号。When the slide-out structure does not slide to the first position, an alarm signal is output.7.如权利要求6所述的滑出结构的控制方法,其特征在于,所述判断所述滑出结构是否滑到所述第一位置的步骤包括:7. The control method of the slide-out structure according to claim 6, wherein the step of judging whether the slide-out structure slides to the first position comprises:在预设时间内接收所述至少一个距离传感器输出的多个检测信号值;receiving a plurality of detection signal values output by the at least one distance sensor within a preset time;根据所述第一位置确定与所述第一位置对应的预定信号值;determining a predetermined signal value corresponding to the first position according to the first position;判断所述预定信号值与所述多个检测信号值是否一致;和determining whether the predetermined signal value is consistent with the plurality of detection signal values; and当所述预定信号值与所述多个检测信号值不一致时,判断所述滑出结构没有滑到预设位置。When the predetermined signal value is inconsistent with the plurality of detection signal values, it is determined that the slide-out structure does not slide to a preset position.8.如权利要求6所述的滑出结构的控制方法,其特征在于,所述控制所述滑出结构由所述第二位置滑动至所述第一位置的步骤包括:8 . The control method of the slide-out structure according to claim 6 , wherein the step of controlling the slide-out structure to slide from the second position to the first position comprises: 8 .接收第一用户输入;和receiving a first user input; and根据所述第一用户输入控制所述滑出结构由所述第二位置滑动到所述第一位置。The slide-out structure is controlled to slide from the second position to the first position according to the first user input.9.如权利要求4所述的滑出结构的控制方法,其特征在于,所述控制所述滑出结构由所述第二位置滑动至所述第一位置的步骤包括:9 . The control method of the slide-out structure according to claim 4 , wherein the step of controlling the slide-out structure to slide from the second position to the first position comprises: 10 .接受第二用户输入;和accept second user input; and根据所述第二用户输入控制所述滑出结构由所述第二位置滑动到所述第一位置。The slide-out structure is controlled to slide from the second position to the first position according to the second user input.10.一种检测组件,其特征在于,所述检测组件用于检测滑出结构的状态,所述滑出结构用于电子装置,所述电子装置包括本体,所述滑出结构用于在收容于所述本体的第一位置和自所述本体露出的第二位置之间滑动,所述检测组件包括至少两个检测元件、设置在所述滑出结构的至少一个距离传感器和处理器,其中,所述至少两个检测元件分别设置于所述滑出结构的不同表面,在所述第一位置时,至少一个所述距离传感器位于所述本体内,在所述第二位置时,至少一个所述距离传感器露出于所述本体,所述处理器用于:10. A detection assembly, characterized in that, the detection assembly is used to detect the state of a sliding-out structure, the sliding-out structure is used for an electronic device, the electronic device includes a body, and the sliding-out structure is used for storing sliding between a first position of the body and a second position exposed from the body, the detection assembly includes at least two detection elements, at least one distance sensor and a processor disposed on the slide-out structure, wherein , the at least two detection elements are respectively arranged on different surfaces of the sliding-out structure, in the first position, at least one of the distance sensors is located in the body, in the second position, at least one The distance sensor is exposed on the body, and the processor is used for:接收所述至少一个距离传感器输出的检测信号值;receiving a detection signal value output by the at least one distance sensor;根据所述检测信号值确定所述滑出结构相对于所述本体的当前相对位置;Determine the current relative position of the slide-out structure with respect to the body according to the detection signal value;判断当前相对位置为第一位置或第二位置;Determine whether the current relative position is the first position or the second position;当前相对位置不是第二位置时,控制所有检测元件关闭;When the current relative position is not the second position, control all detection elements to close;当前相对位置是第二位置时,控制至少两个检测元件开启以接收用户的触碰输入;When the current relative position is the second position, controlling the at least two detection elements to be turned on to receive the user's touch input;在所述滑出结构位于所述第二位置时,接收所述至少两个检测元件基于用户的触碰输入而输出的检测指令;和When the slide-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on a user's touch input; and根据所述检测指令控制所述滑出结构由所述第二位置滑动至所述第一位置。The sliding-out structure is controlled to slide from the second position to the first position according to the detection instruction.11.如权利要求10所述的检测组件,其特征在于,所述电子装置包括与所述滑出结构连接的驱动马达,所述驱动马达用于驱动所述滑出结构滑动,所述处理器用于:11 . The detection assembly according to claim 10 , wherein the electronic device comprises a driving motor connected with the sliding-out structure, the driving motor is used for driving the sliding-out structure to slide, and the processor uses 11 . At:根据所述检测指令控制所述驱动马达驱动所述滑出结构由所述第二位置滑动至所述第一位置。The driving motor is controlled to drive the sliding structure to slide from the second position to the first position according to the detection instruction.12.如权利要求10所述的检测组件,其特征在于,所述处理器用于:12. The detection assembly of claim 10, wherein the processor is configured to:读取查询数据库,所述查询数据库包括多个预设信号值和多个标定相对位置,每个所述预设信号值与一个所述标定相对位置对应;和reading a query database, the query database comprising a plurality of preset signal values and a plurality of calibrated relative positions, each of the preset signal values corresponding to one of the calibrated relative positions; and采用所述检测信号值查询所述查询数据库以得到所述当前相对位置。The query database is queried using the detection signal value to obtain the current relative position.13.如权利要求12所述的检测组件,其特征在于,所述处理器用于:13. The detection assembly of claim 12, wherein the processor is configured to:将所述滑出结构滑动到所述多个标定相对位置;和sliding the slide-out structure to the plurality of calibrated relative positions; and获取所述至少一个距离传感器对应每个所述标定相对位置输出的检测信号值作为对应所述标定相对位置的所述预设信号值。A detection signal value output by the at least one distance sensor corresponding to each of the calibrated relative positions is acquired as the preset signal value corresponding to the calibrated relative position.14.如权利要求13所述的检测组件,其特征在于,所述处理器用于:14. The detection assembly of claim 13, wherein the processor is configured to:将所述多个预设信号值和所述多个标定相对位置关联成查询表或者拟合成关系曲线。The plurality of preset signal values and the plurality of calibrated relative positions are associated into a look-up table or fitted into a relationship curve.15.如权利要求10所述的检测组件,其特征在于,所述处理器用于:15. The detection assembly of claim 10, wherein the processor is configured to:判断所述滑出结构是否滑到所述第一位置;和determining whether the slide-out structure slides to the first position; and当所述滑出结构没有滑到所述第一位置时,输出报警信号。When the slide-out structure does not slide to the first position, an alarm signal is output.16.如权利要求15所述的检测组件,其特征在于,所述处理器用于:16. The detection assembly of claim 15, wherein the processor is configured to:在预设时间内接收所述至少一个距离传感器输出的多个检测信号值;receiving a plurality of detection signal values output by the at least one distance sensor within a preset time;根据所述第一位置确定与所述第一位置对应的预定信号值;determining a predetermined signal value corresponding to the first position according to the first position;判断所述预定信号值与所述多个检测信号值是否一致;和determining whether the predetermined signal value is consistent with the plurality of detection signal values; and当所述预定信号值与所述多个检测信号值不一致时,判断所述滑出结构没有滑到预设位置。When the predetermined signal value is inconsistent with the plurality of detection signal values, it is determined that the slide-out structure does not slide to a preset position.17.如权利要求15所述的检测组件,其特征在于,所述处理器用于:17. The detection assembly of claim 15, wherein the processor is configured to:接收第一用户输入;和receiving a first user input; and根据所述第一用户输入控制所述滑出结构由所述第二位置滑动到所述第一位置。The slide-out structure is controlled to slide from the second position to the first position according to the first user input.18.如权利要求15所述的检测组件,其特征在于,所述处理器用于:18. The detection assembly of claim 15, wherein the processor is configured to:接受第二用户输入;和accept second user input; and根据所述第二用户输入控制所述滑出结构由所述第二位置滑动到所述第一位置。The slide-out structure is controlled to slide from the second position to the first position according to the second user input.19.一种电子装置,其特征在于,包括:19. An electronic device, characterized in that, comprising:本体;ontology;滑出结构,所述滑出结构用于在收容于所述本体的第一位置和自所述本体露出的第二位置之间滑动;和a slide-out structure for sliding between a first position housed in the body and a second position exposed from the body; and检测组件,所述检测组件用于检测所述滑出结构的状态,所述检测组件包括至少两个检测元件、设置在所述滑出结构的至少一个距离传感器和处理器,其中,所述至少两个检测元件分别设置于所述滑出结构的不同表面,在所述第一位置时,至少一个所述距离传感器位于所述本体内,在所述第二位置时,至少一个所述距离传感器露出于所述本体,所述处理器用于:A detection assembly for detecting the state of the sliding-out structure, the detection assembly includes at least two detection elements, at least one distance sensor disposed on the sliding-out structure, and a processor, wherein the at least Two detection elements are respectively arranged on different surfaces of the sliding-out structure, in the first position, at least one of the distance sensors is located in the body, and in the second position, at least one of the distance sensors Exposed on the body, the processor is used for:接收所述至少一个距离传感器输出的检测信号值;receiving a detection signal value output by the at least one distance sensor;根据所述检测信号值确定所述滑出结构相对于所述本体的当前相对位置;Determine the current relative position of the slide-out structure with respect to the body according to the detection signal value;判断当前相对位置为第一位置或第二位置;Determine whether the current relative position is the first position or the second position;当前相对位置不是第二位置时,控制所有检测元件关闭;When the current relative position is not the second position, control all detection elements to close;当前相对位置是第二位置时,控制至少两个检测元件开启以接收用户的触碰输入;When the current relative position is the second position, controlling the at least two detection elements to be turned on to receive the user's touch input;在所述滑出结构位于所述第二位置时,接收所述至少两个检测元件基于用户的触碰输入而输出的检测指令;和When the slide-out structure is located at the second position, receiving a detection instruction output by the at least two detection elements based on a user's touch input; and根据所述检测指令控制所述滑出结构由所述第二位置滑动至所述第一位置。The sliding-out structure is controlled to slide from the second position to the first position according to the detection instruction.20.如权利要求19所述的电子装置,其特征在于,所述电子装置包括与所述滑出结构连接的驱动马达,所述驱动马达用于驱动所述滑出结构滑动,所述处理器用于:20 . The electronic device according to claim 19 , wherein the electronic device comprises a driving motor connected with the sliding-out structure, the driving motor is used for driving the sliding-out structure to slide, and the processor uses 20 . At:根据所述检测指令控制所述驱动马达驱动所述滑出结构由所述第二位置滑动至所述第一位置。The driving motor is controlled to drive the sliding structure to slide from the second position to the first position according to the detection instruction.
CN201810231207.8A2018-03-202018-03-20 Control method, detection component and electronic device for sliding-out structureExpired - Fee RelatedCN110312000B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810231207.8ACN110312000B (en)2018-03-202018-03-20 Control method, detection component and electronic device for sliding-out structure

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810231207.8ACN110312000B (en)2018-03-202018-03-20 Control method, detection component and electronic device for sliding-out structure

Publications (2)

Publication NumberPublication Date
CN110312000A CN110312000A (en)2019-10-08
CN110312000Btrue CN110312000B (en)2021-06-29

Family

ID=68073570

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810231207.8AExpired - Fee RelatedCN110312000B (en)2018-03-202018-03-20 Control method, detection component and electronic device for sliding-out structure

Country Status (1)

CountryLink
CN (1)CN110312000B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102385469A (en)*2010-08-302012-03-21联想(北京)有限公司Terminal and control method thereof
DE202014010150U1 (en)*2014-11-072015-02-20Ayhan Karaca Frameless display for smartphones
CN105324741A (en)*2013-05-302016-02-10内奥诺德公司Optical proximity sensors
CN106066758A (en)*2015-04-212016-11-02三星电子株式会社Electronic equipment and control method thereof for display screen
CN106095292A (en)*2016-06-032016-11-09上海与德通讯技术有限公司Terminal unit and operational approach thereof
CN106094990A (en)*2016-06-122016-11-09张帆The screen maximized electronic equipment of accounting and using method thereof
CN106575203A (en)*2014-08-122017-04-19微软技术许可有限责任公司Hover-based interaction with rendered content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102385469A (en)*2010-08-302012-03-21联想(北京)有限公司Terminal and control method thereof
CN105324741A (en)*2013-05-302016-02-10内奥诺德公司Optical proximity sensors
CN106575203A (en)*2014-08-122017-04-19微软技术许可有限责任公司Hover-based interaction with rendered content
DE202014010150U1 (en)*2014-11-072015-02-20Ayhan Karaca Frameless display for smartphones
CN106066758A (en)*2015-04-212016-11-02三星电子株式会社Electronic equipment and control method thereof for display screen
CN106095292A (en)*2016-06-032016-11-09上海与德通讯技术有限公司Terminal unit and operational approach thereof
CN106094990A (en)*2016-06-122016-11-09张帆The screen maximized electronic equipment of accounting and using method thereof

Also Published As

Publication numberPublication date
CN110312000A (en)2019-10-08

Similar Documents

PublicationPublication DateTitle
CN110312001B (en) Position detection method, detection component and electronic device of sliding-out structure
CN103620534B (en) Portable electronic device with interchangeable user interface and method thereof
EP3385815B1 (en)Mobile terminal having dual touch screen and method for displaying user interface thereof
CN103425334B (en)Method of controlling display of electronic device and electronic device using the same
US20170205937A1 (en)Force Touch Display Device and Force Touch Control Method
CN101395564A (en) Input device using touch panel
KR20060122965A (en) Method and apparatus for power management of mobile terminal
CN110249101B (en) Portable equipment for vehicles
KR20120086811A (en)Terminal having touch-screen and method for changing touch mode thereof
CN108833623A (en)Sliding control method and device of sliding assembly and electronic device
CN110737362A (en)Mobile terminal and key triggering method
TWI564756B (en)Stylus
US20120068958A1 (en)Portable electronic device and control method thereof
CN110307775A (en)Position detection method of slide-out assembly, detection assembly and electronic device
JP5971608B1 (en) Electronic device and coordinate detection method
CN110312000B (en) Control method, detection component and electronic device for sliding-out structure
CN108924284B (en)Electronic device and control method and device of sliding assembly of electronic device
CN109005254B (en) Information indicating method, control assembly and electronic device based on sliding mechanism
CN110311996B (en) Control method of slide-out component, detection component and electronic device
CN110311997B (en)Position detection method of slide-out assembly, detection assembly and electronic device
US9442579B2 (en)Touch device warning method and touch device warning system
HK40011394B (en)Position detection method of a slide-out structure, detection assembly and electronic device
HK40011394A (en)Position detection method of a slide-out structure, detection assembly and electronic device
US20060220897A1 (en)Notebook with power indication
CN108897373B (en) Electronic device and control method and device for sliding assembly thereof

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02Change of applicant information
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210629

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp