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-outcomponent 20, and a detectingcomponent 30. The slide-outassembly 20 is adapted to slide between a first position a received in thebody 10 and a second position B exposed from thebody 10. Thesensing assembly 30 is used for sensing the position of the slide-out assembly 20, thesensing assembly 30 comprises a magneticfield generating element 32, ahall element 34 and aprocessor 36, the magneticfield generating element 32 and thehall element 34 are respectively fixed on thebody 10 and the slide-out assembly 20, and theprocessor 36 is used for receiving the sensing signal value output by thehall element 34 and determining the current relative position of the slide-out assembly 20 relative to thebody 10 according to the sensing signal value.
It should be noted that "the magneticfield generating element 32 and thehall element 34 are fixed on thebody 10 and the slide-outassembly 20" includes two cases, that is, the magneticfield generating element 32 is fixed on thebody 10, thehall element 34 is fixed on the slide-outassembly 20, the magneticfield generating element 32 is fixed on the slide-outassembly 20, and thehall element 34 is fixed on thebody 10. Further, the magneticfield generating element 32 and thehall element 34 may be disposed to be opposed in the vertical direction or may be disposed to be opposed in the horizontal direction. That is, the specific positions of the magneticfield generating element 32 and thehall element 34 are not limited as long as the magneticfield generating element 32 and thehall element 34 can generate relative movement.
In some embodiments, thebody 10 is formed with aslide slot 16, and the slide-outassembly 20 is received in theslide slot 16 in the first position a. In this manner, the slide outassembly 20 may be caused to slide between the first position a and the second position B via theslide channel 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-outassembly 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-outcomponent 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-outassembly 20 includes acarrier 22, and thefront camera 42 is disposed on thecarrier 22. In this manner, thefront camera 42 can slide with the slide-outassembly 20. Of course, the user may turn on thefront camera 42 and turn off thefront camera 42 as the trigger signals, that is, when the user turns on thefront camera 42, the slide-outassembly 20 is triggered to slide out, and when the user turns off thefront camera 42, the slide-outassembly 20 is triggered to slide back. Therefore, the user can use the slide-outcomponent 20 conveniently only by opening or closing the front camera according to the existing habit without performing other operations on the front camera.
In addition to thefront camera 42, otherfunctional devices 40 may be carried on thecarrier 22, such as light sensors, proximity sensors, and anearpiece 44, for example, as shown in fig. 1, for thefunctional devices 40. Thesefunctional devices 40 may be exposed from thebody 10 to be normally operated as the slide-outassembly 20 slides out according to the user's input, or may be received in thebody 10 as the slide-outassembly 20 slides back according to the user's input. 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.
Specifically, when the light sensor is carried on thecarrier 22, the light sensor may be disposed on the top of thecarrier 22, that is, when the sliding-outassembly 20 is completely accommodated in the slidingslot 16, the light sensor may still be exposed from the top of thecarrier 22, so as to sense light in real time.
Referring to fig. 6, when the proximity sensor and thereceiver 44 are carried on thecarrier 22, the user can take the call and hang up the call as the trigger signal, that is, when the user takes the call, the slide-outassembly 20 is triggered to slide out, and when the user hangs up the call, the slide-outassembly 20 is triggered to slide back. Therefore, the user only needs to answer or hang up the phone according to the existing habit without performing other operations on the sliding-outcomponent 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 of carriers. 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-outassembly 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. 7, in some embodiments, the slide-outassembly 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 comprises adrive motor 52 connected to theprocessor 36 and an output shaft (not shown) connected to the bottom of therotary screw 26.
It is understood thatprocessor 36 may control the sliding of slide outassembly 20 by controllingdrive motor 52. When the user commands the slide-outassembly 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-outassembly 20 slides from the first position a to the second position B. When the user commands the slide-outassembly 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-outassembly 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 present invention determines the current relative position of the slide outassembly 20 using thehall element 34 and the magneticfield generating element 32, and can detect the state of the slide outassembly 20 in real time when thefunctional device 40 such as a front camera is carried on the slide outassembly 20, thereby determining the position of thefunctional device 40.
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 slide-out assembly, 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 slide-outassembly 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. 8, the present invention provides a position detecting method of a slide-out assembly. The position detection method of the slide-out assembly of the embodiment of the present invention may be used to detect the position of the slide-outassembly 20 of theelectronic device 100 of the embodiment of the present invention.
Theelectronic device 100 comprises abody 10 and adetection assembly 30, wherein the sliding-outassembly 20 is used for sliding between a first position A accommodated in thebody 10 and a second position B exposed out of thebody 10, thedetection assembly 30 comprises a magneticfield generating element 32 and aHall element 34, the magneticfield generating element 32 and theHall element 34 are respectively fixed on thebody 10 and the sliding-outassembly 20, and the position detection method comprises the following steps:
s12: receiving the detection signal value output by thehall element 34; and
s14: the current relative position of the slide outassembly 20 with respect to thebody 10 is determined based on the value of the detection signal.
Referring to fig. 4, the present invention provides a detectingassembly 30. Thesensing assembly 30 includes aprocessor 36, and theprocessor 36 is configured to receive the sensing signal value outputted from thehall element 34 and determine the current relative position of the slide outassembly 20 with respect to thebody 10 according to the sensing signal value.
The slide-out assembly position detection method and thedetection assembly 30 of the embodiment of the invention determine the current relative position of the slide-outassembly 20 by using thehall element 34 and the magneticfield generating element 32, and can detect the state of the slide-outassembly 20 in real time when thefunctional device 40 such as a front camera is carried on the slide-outassembly 20, thereby determining the position of thefunctional device 40.
The position detection method of the slide-out assembly and the working principle of thedetection assembly 30 according to the embodiment of the present invention are mainly based on the characteristics of thehall element 34, that is, thehall element 34 can sense the magnetic field generated by the magneticfield generating element 32 and output a corresponding signal according to the sensed magnetic induction intensity. Since the magnetic induction intensity is correlated with the position of the relative magneticfield generating element 32, the relative position of thehall element 34 and the magneticfield generating element 32 can be determined by the signal output from thehall element 34. In addition, since the magneticfield generating element 32 and thehall element 34 are fixed to thebody 10 and the slide outassembly 20, respectively, the magneticfield generating element 32 and thehall element 34 can generate a relative movement with the movement of the slide outassembly 20, and thus, the position of the slide outassembly 20 with respect to thebody 10 can be indirectly determined by determining the relative positions of thehall element 34 and the magneticfield generating element 32. In this manner, the state of the slide-outassembly 20 can be simply and conveniently detected 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 location detection method comprises:
sliding outslide assembly 20 to a plurality of nominal relative positions; and
the detection signal value output by thehall element 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 outslide assembly 20 to a plurality of nominal relative positions; and acquiring a detection signal value output by thehall element 34 corresponding to each calibrated relative position as a preset signal value corresponding to the calibrated relative position.
By recording the nominal relative position and the value of the detection signal output by thehall element 34 at that nominal relative position, the correspondence between the position at which the slide-outassembly 20 is located and the detection signal output by thehall element 34 can be obtained. In this way, in the subsequent position detection process, as long as the detection signal value output by thehall element 34 is obtained, the current relative position of the slide-outassembly 20 relative to thebody 10 can be reversely deduced through the corresponding relationship determined in this step.
Referring to fig. 9, in some embodiments, a position detection method includes:
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, the calibration relative position of the slide-outassembly 20 and the detection signal value outputted by thehall element 34 as a preset signal value are more accurately corresponded while facilitating storage and query. It will be understood that during the actual detection process, the slide-outassembly 20 does not necessarily slide exactly to the nominal relative position, but may slide between two nominal relative positions, in which case it is not accurate to directly use the preset signal value corresponding to the nominal relative position. Of course, the current relative position of slide outassembly 20 may be calculated using an average of the two nominal relative positions or by combining the two nominal relative positions by 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.
Note that a, marked on the horizontal axis in fig. 9, represents the relative position of the slide-outassembly 20 of fig. 2 when it is fully received in theslide channel 16, i.e., the first position a; b represents the relative position ofslide assembly 20 of fig. 1 when it is fully slid out ofchute 16, i.e., second position B; c represents the relative position ofslide assembly 20 half way out ofchute 16 in fig. 3, third position C.
Referring to fig. 10, in some embodiments, a position detection method includes:
s16: receiving a first user input; and
s18: sliding of the slide outassembly 20 to a predetermined position is controlled according to a first user input.
In some embodiments, theprocessor 36 is configured to receive a first user input; and controlling the slide-outassembly 20 to slide to a predetermined position according to the first user input.
In this manner, sliding of the slide outassembly 20 is achieved. As previously described,processor 36 may control the sliding of slide outassembly 20 by controllingdrive motor 52 based on user input. When the processor receives the first user input, theprocessor 36 controls the drivingmotor 52 to rotate forward or backward, so that the output shaft drives therotating screw rod 26 to rotate in the threadedhole 24, and the sliding-outassembly 20 slides to a predetermined position.
Of course, the trigger signal may also be set so thatprocessor 36 controls the movement of slide outassembly 20 under certain circumstances. For example, when the proximity sensor andearpiece 44 are carried on thecarrier 22, the user may be triggered by answering and hanging up the phone. That is, when the user answers the phone, the slide-outassembly 20 is triggered to automatically slide out, and when the user hangs up the phone, the slide-outassembly 20 is triggered to automatically slide back. In summary, the sliding of the slide-outassembly 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 location detection method comprises:
s20: determining whether the slide-outassembly 20 is slid to a predetermined position; and
s22: when the slide outassembly 20 is not slid to a predetermined position, an alarm signal is output.
In some embodiments,processor 36 is configured to determine whether slide outassembly 20 has slid to a predetermined position; and outputs an alarm signal when the slide outassembly 20 is not slid to a predetermined position.
In this manner, the user may be prompted for intervention to avoid the slide-outassembly 20 orbody 10 from interfering with function or becoming damaged by not sliding to a predetermined position.
It will be appreciated that due to the complexity of the real world situation, there is a possibility that the slide-outassembly 20 will not slide to a predetermined position, 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 outassembly 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 outassembly 20 or thebody 10. The alarm mechanism is set so that when an abnormality occurs, theprocessor 36 performs a corresponding operation in time, such as turning off the drivingmotor 52, to prevent damage to the slide-outassembly 20 or thebody 10.
In certain embodiments, step S20 includes:
receiving a plurality of detection signal values output by thehall element 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-out member 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 thehall element 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 determining that the slide-out member 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-out member 20 is slid to the predetermined position is achieved.
It is understood that, when the plurality of detection signal values coincide for a preset time, the state of the slide outassembly 20 is stationary, and the stationary state may be caused by a case where the slide outassembly 20 has slid to a predetermined position to normally stop sliding, and a case where the slide outassembly 20 has not slid to the predetermined position to abnormally stop sliding. By comparing the plurality of identical detection signal values with the predetermined signal values corresponding to the predetermined positions, it is possible to determine whether the slide-out member 20 has slid to the predetermined position, thereby determining whether an abnormal situation has occurred.
Of course, the current relative position of the slide-out member 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-out member 20 slides to the predetermined position and determine whether an abnormal condition occurs.
In some embodiments, after the step of outputting the alarm signal, the position detection method includes:
receiving a second user input; and
controlling the slide outassembly 20 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 controlling the slide-outassembly 20 to slide from the current relative position to the predetermined position according to the second user input.
In this manner, it is possible to continue sliding the slide outmember 20 from the current relative position where the abnormality occurs to the predetermined position after the user intervention to remove the obstacle without sliding the slide outmember 20 to the predetermined position.
In some embodiments, after the step of outputting the alarm signal, the position detection method includes:
accepting a third user input; and
the slide outassembly 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 controlling the slide outassembly 20 to slide from the current relative position to the first position a in accordance with a third user input.
In this way, in the case where the slide-out member 20 is not slid to the predetermined position, the user intervenes to remove the obstacle, and then slides the slide-out member 20 from the current relative position where the abnormality occurs to the first position a, thereby achieving 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.