[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110311996A - Skid off the control method, detection components and electronic device of component - Google Patents

Skid off the control method, detection components and electronic device of component Download PDF

Info

Publication number
CN110311996A
CN110311996A CN201810229770.1A CN201810229770A CN110311996A CN 110311996 A CN110311996 A CN 110311996A CN 201810229770 A CN201810229770 A CN 201810229770A CN 110311996 A CN110311996 A CN 110311996A
Authority
CN
China
Prior art keywords
component
relative position
skidding
skidded
skid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810229770.1A
Other languages
Chinese (zh)
Other versions
CN110311996B (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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810229770.1A priority Critical patent/CN110311996B/en
Publication of CN110311996A publication Critical patent/CN110311996A/en
Application granted granted Critical
Publication of CN110311996B publication Critical patent/CN110311996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses a kind of control method for skidding off component, component is skidded off for electronic device, electronic device includes ontology, skids off component for sliding in the first position for being contained in ontology and between the second position that ontology exposes, control method includes: that detection skids off whether component is pushed;With when skidding off component and being pushed, control skids off component and slides to predetermined position.The control method for skidding off component of embodiment of the present invention can be detected and be identified by the case where promotion to component is skidded off, and be skidded off component slippage by being controlled when pushing skidding off component.In this way, the slide mode that control skids off component is simple, user experience can be improved.The invention also discloses a kind of detection components and electronic devices.

Description

Skid off the control method, detection components and electronic device of component
Technical field
The present invention relates to electronic technology field more particularly to a kind of control methods for skidding off component, detection components and electronics Device.
Background technique
In order to improve user experience, the screen accounting of mobile phone is increasing, or even it has been proposed that the design shielded comprehensively, such as How this, be arranged and become urgent problem to be solved using the Front camera of original setting on the front panel.
Summary of the invention
The present invention provides a kind of control method for skidding off component, detection components and electronic device.
The invention discloses a kind of control methods for skidding off component.The component that skids off is for electronic device, the electronics Device includes ontology, and the component that skids off is in the first position for being contained in the ontology and expose from the ontology second It is slided between position, the control method includes:
Skid off whether component is pushed described in detection;With
It is described skid off component and pushed when, skid off component described in control and slided to predetermined position.
The invention discloses a kind of detection components.The detection components are described to skid off for detecting the state for skidding off component Component is used for electronic device, and the electronic device includes ontology, and the component that skids off is for being contained in the first of the ontology Position and from the ontology expose the second position between slide, the detection components include processor, and the processor is used for:
Skid off whether component is pushed described in detection;With
It is described skid off component and pushed when, skid off component described in control and slided to predetermined position.
The invention discloses a kind of electronic devices.The electronic device includes:
Ontology;
Skid off component, the component that skids off is for exposing in the first position for being contained in the ontology and from the ontology It is slided between the second position;With
Detection components, the detection components are for detecting the state for skidding off component, and the detection components include processor, institute Processor is stated for whether detecting the component that skids off by pushing and in the component that skids off by being controlled the cunning when pushing Component is slided to predetermined position out.
The control method for skidding off component of embodiment of the present invention can be examined to component is skidded off by the case where promotion It surveys and identification, and is skidded off component slippage by being controlled when pushing skidding off component.In this way, control skids off the slide side of component Formula is simple, and user experience can be improved.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, in which:
Fig. 1 is status diagram of the electronic device of embodiment of the present invention at the second position;
Fig. 2 is status diagram of the electronic device of embodiment of the present invention at first position;
Fig. 3 is status diagram of the electronic device of embodiment of the present invention in the third place;
Fig. 4 is the structural schematic diagram of the detection components of embodiment of the present invention;
Fig. 5 is the usage scenario figure of the electronic device of embodiment of the present invention;
Fig. 6 is another usage scenario figure of the electronic device of embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the electronic device of embodiment of the present invention;
Fig. 8 is the flow diagram of the control method of embodiment of the present invention;
Fig. 9 is the circuit diagram of the detection components of embodiment of the present invention;
Figure 10 is the relation curve schematic diagram of the calibration relative position and preset signals value of embodiment of the present invention;
Figure 11 is another flow diagram of the control method of embodiment of the present invention.
Main element symbol description:
Electronic device 100, shell 12, display component 14, cover board 142, sliding slot 16, groove 162, skids off component at ontology 10 20, load-bearing part 22, threaded hole 24, rotary screw rod 26, detection components 30, field generating element 32, Hall element 34, processor 36, comparator 37, function element 40, Front camera 42, earpiece 44, driving device 50, motor 52, first position A, the second position B, the third place C.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of The description present invention and simplified description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy Fixed orientation construction and operation, therefore be not considered as limiting the invention.In addition, term " first ", " second " are only used for Purpose is described, relative importance is not understood to indicate or imply or implicitly indicates the quantity of indicated technical characteristic. " first " is defined as a result, the feature of " second " can explicitly or implicitly include one or more feature.? In description of the invention, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected or can mutually communicate;It can be directly connected, it can also be by between intermediary It connects connected, can be the connection inside two elements or the interaction relationship of two elements.For the ordinary skill of this field For personnel, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower" It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it Between other characterisation contact.Moreover, fisrt feature includes the first spy above the second feature " above ", " above " and " above " Sign is right above second feature and oblique upper, or is merely representative of first feature horizontal height higher than second feature.Fisrt feature exists Second feature " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of First feature horizontal height is less than second feature.
Following disclosure provides many different embodiments or example is used to realize different structure of the invention.In order to Simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.Certainly, they are merely examples, and And it is not intended to limit the present invention.In addition, the present invention can in different examples repeat reference numerals and/or reference letter, This repetition is for purposes of simplicity and clarity, itself not indicate between discussed various embodiments and/or setting Relationship.In addition, the present invention provides various specific techniques and material example, but those of ordinary skill in the art can be with Recognize the application of other techniques and/or the use of other materials.
The electronic device 100 of embodiment of the present invention includes ontology 10, skids off component 20 and detection referring to FIG. 1 to FIG. 4, Component 30.Component 20 is skidded off for sliding in the first position A for being contained in ontology 10 and between the second position B that ontology 10 exposes It is dynamic.Detection components 30 include field generating element 32, Hall element 34 for detecting the state for skidding off component 20, detection components 30 With processor 36, field generating element 32 and Hall element 34 are separately fixed at ontology 10 and skid off on component 20, processor 36 For receive Hall element 34 output detected signal value, and for according to detected signal value determine skid off component 20 relative to The current relative position of ontology 10.
It is worth noting that, " field generating element 32 and Hall element 34 are separately fixed at ontology 10 and skid off group herein On part 20 " it include two kinds of situations, first is that field generating element 32 is fixed on ontology 10, Hall element 34, which is fixed on, skids off component It on 20, is skidded off on component 20 second is that field generating element 32 is fixed on, Hall element 34 is fixed on ontology 10.In addition, magnetic field Generating element 32 and Hall element 34 can be staggered relatively in the vertical direction, can also be staggered relatively in the horizontal direction.? I other words as long as field generating element 32 and Hall element 34 can produce relative motion, not to field generating element 32 and suddenly You are limited the specific location of element 34.
In some embodiments, ontology 10 is formed with sliding slot 16, skids off component 20 and is contained in sliding slot in first position A In 16.It is slided between first position A and second position B in this way, can to skid off component 20 by sliding slot 16.
Specifically, ontology 10 includes shell 12 and display component 14, and shell 12 and display component 14 combine composition Enclosed construction.Sliding slot 16 is provided with shell 12, skids off sliding back to and skidding off for component 20 to realize.It is appreciated that sliding slot 16 Any one side of shell 12 can be provided with.Preferably, sliding slot 16 is provided with the top margin of shell 12.Use can so be met The use habit at family.
Display component 14 includes touch panel (not shown) and cover board 142.Touch panel includes display module (not shown) With the touch control layer (not shown) being arranged in display module.Display module be, for example, liquid crystal display die set (LCD Module, LCM), certainly, display module may be display module flexible.Touch control layer is used to receive the touch-control input of user, to generate Signal and control for controlling the content that display module is shown skid off the signal of the sliding of component 20.
The material of cover board 142 can be made of translucent materials such as glass, ceramics or sapphires.Since cover board 142 is due to making For the input part of electronic device 100, cover board 142 is often subject to the contact such as collide or scratch.For example, user is by electronic device 100 when being put into pocket, and cover board 142 may be scratched by the key in user's pocket and be damaged.Therefore, the material of cover board 142 can be with Using the biggish material of hardness, such as above sapphire material.Or hardened layer is formed to improve lid on the surface of cover board 142 The anti-scratch ability of plate 142.
Touch panel and cover board 142 are for example adhesively fixed by optical cement (Optically Clear Adhesive, OCA) Together, optical cement is not only adhesively fixed touch panel and cover board 142, the light that can also be issued through touch panel.
Referring to Fig. 5, in some embodiments, electronic device 100 includes Front camera 42, skidding off component 20 includes holding Holder 22, Front camera 42 are arranged on load-bearing part 22.In this way, Front camera 42 can be slided with component 20 is skidded off.Certainly, User can be opened to Front camera 42 and close Front camera 42 and be used as trigger signal, in other words, when user's opening is preposition When camera 42, triggering skids off component 20 and skids off, and when user closes Front camera 42, triggering skids off component 20 and slides back to.So use Family only need to open or close Front camera according to existing habit, can without carrying out other operation for skidding off component 20 To be convenient for the user to use.
Other function elements 40 can also be carried in addition to Front camera 42, on load-bearing part 22, function element 40 is such as For light sensor, proximity sensor and earpiece 44 etc., as shown in Figure 1.These function elements 40 can be according to the input of user Expose to work normally from ontology 10 with skidding off for component 20 is skidded off, it can also be according to the input of user with skidding off group Part 20 slides back to and is housed in ontology 10.In this way, through-hole can be arranged on display component 14 as little as possible, be conducive to meet The design requirement that electronic device 100 shields comprehensively.
Specifically, when carrying light sensor on load-bearing part 22, light sensor can be arranged in load-bearing part 22 Top, in other words, when skidding off component 20 and being contained in sliding slot 16 completely, light sensor still can be from load-bearing part 22 Top expose, to incude light in real time.
Referring to Fig. 6, when carrying proximity sensor and earpiece 44 on load-bearing part 22, user can be received calls and It hangs up the telephone as trigger signal, in other words, when user receives calls, triggering skids off component 20 and skids off, when user is hung up When phone, triggering skids off component 20 and slides back to.Such user only need to answer or hang up the telephone according to existing habit, without being directed to It skids off component 20 and carries out other operation, can be convenient the use of user.
It is appreciated that multiple function elements 40 can be carried on the same load-bearing part 22, multiple hold can also be carried on In holder.When multiple function elements 40 are carried on the same load-bearing part 22, multiple function elements 40 can be located with longitudinal arrangement Reason device 36 can by control skid off the distance controlling that component 20 skids off be arranged in 22 lower part of load-bearing part function element 40 whether Expose.When multiple function elements 40 are carried on on multiple load-bearing parts 22, processor 36 can be by controlling some load-bearing part 22 sliding is to select the function element 40 for needing to expose.In this way, may provide the user with a variety of forms skidded off, so that with Family can be selected according to different scene and demand.
Referring to Fig. 7, in some embodiments, skidding off component 20 includes the threaded hole 24 that 22 middle part of load-bearing part is arranged in With the rotary screw rod 26 cooperated with threaded hole 24.Sliding slot 16 includes being oppositely arranged with threaded hole 24 and being located at the recessed of 16 bottom of sliding slot Slot 162.Electronic device 100 includes the driving device 50 that groove 162 is arranged in.Driving device 50 includes connecting with processor 36 Motor 52 and the output shaft (not shown) being connect with the bottom of rotary screw rod 26.
It is appreciated that processor 36 can control the sliding for skidding off component 20 by control motor 52.Work as user command Component 20 is skidded off from first position A to when second position B sliding, processor 36 controls motor 52 and rotates forward, so that output shaft It drives rotary screw rod 26 to rotate in threaded hole 24, is slided so that skidding off component 20 from first position A to second position B. When user command, which skids off component 20, to be slided from second position B to first position A, processor 36 controls motor 52 and inverts, thus So that output shaft drives rotary screw rod 26 to rotate in threaded hole 24, so that skidding off component 20 from second position B to first Position A sliding.It is worth noting that, " from first position A to second position B " herein and " from second position B to first position A " refers to the direction of sliding, the beginning and end without referring to sliding.
The electronic device 100 of embodiment of the present invention skids off component using Hall element 34 and the determination of field generating element 32 20 current relative position can detect cunning when the function elements such as Front camera 40 are carried on and skid off on component 20 in real time The state of component 20 out, so that it is determined that the position of function element 40.In addition, the electronic device 100 of embodiment of the present invention can be with Detection skids off component 20 whether by pushing and being skidded off component slippage by control when pushing skidding off component 20, so that realization removes User inputs another triggering mode for triggering and skidding off except component slippage.
It is appreciated that the function elements 40 such as Front camera 42 need to expose from ontology 10, otherwise can not work normally.This hair The electronic device 100 of bright embodiment is by the bearing function device 40 on skidding off component, so that function element 40 is not needing Be housed in when work in ontology 10, when needing work with skid off component 20 from ontology 10 expose.In this way, without in display group The through-hole to expose the function elements 40 such as Front camera 42 is opened up on part 14, to increase screen accounting, and then improves user's Experience.
Referring to Fig. 8, the present invention provides a kind of control methods for skidding off component.Embodiment of the present invention skids off component Control method can be used for detecting embodiment of the present invention electronic device 100 the state for skidding off component 20.
Electronic device 100 includes ontology 10, skids off component 20 in the first position A for being contained in ontology 10 and from ontology 10 expose second position B between slide, control method comprising steps of
S12: detection skids off whether component 20 is pushed;With
S14: when skidding off component 20 and being pushed, control skids off component 20 and slides to predetermined position.
Referring to Fig. 4, the present invention provides a kind of detection components 30.Detection components 30 include processor 36, processor 36 Skid off whether component 20 is pushed for detecting;With when skidding off component 20 and being pushed, control skids off component 20 to predetermined Position sliding.
The control method for skidding off component and detection components 30 of embodiment of the present invention can detecte whether skid off component 20 By push and skid off component 20 by controlled when pushing skid off component 20 slide, in this way, control skid off component sliding behaviour It is simple to make mode, user experience can be improved.
It is appreciated that when user can only by the touch panel of panel assembly 14 to skidding off component 20 and controlling when, It can be very inconvenient under certain scenes.Such as when the hand of user is dampness, carry out inputting usually on panel assembly 14 Mistake can occur, user needs to dry in hand, could improve the accuracy of input.And embodiment of the present invention skids off component Control method and detection components 30 provide control and skid off the sliding type of component 20, i.e., are realized by pushing to skidding off component 20 Control, it is convenient for users to use, and the Experience Degree of user can be increased.
In the present invention, skids off component 20 and referred to by promotion and skid off component 20 in glide direction by a direction External force inside ontology 10, external force to skid off component 20 to one lesser displacement of generation inside ontology 10.Such as Fig. 4 institute Show, when skidding off component 20 by external force F promotion, skidding off component 20 and moving the displacement formed to the inside of ontology 1 is 0.2mm.
In some embodiments, electronic device 100 includes the motor 52 connecting with detection components 30, and motor 52 is for driving Dynamic to skid off the sliding of component 20, step S12 includes:
Motor 52 is obtained based on the sensing voltage for skidding off component 20 and generating when being pushed;
Judge whether sensing voltage is greater than setting voltage;With
When sensing voltage is greater than setting voltage, judgement skids off component 20 and is pushed.
In some embodiments, processor 36 is used for: being obtained motor 52 and is based on skidding off component 20 and producing when being pushed Raw sensing voltage;Judge whether sensing voltage is greater than setting voltage;With when sensing voltage is greater than setting voltage, judgement is skidded off Component 20 is pushed.
In this way, realizing to whether skidding off component 20 by the detection and judgement pushed.It note that " promotion " herein refers to The movement occurred under the effect of external force, and non-tactile or touch-control.
It is appreciated that driving and skidding off the rotation that the load-bearing part 22 of component 20 connects when skidding off component 20 and being pushed Screw rod 26 rotates in threaded hole 24, so that the output shaft for the motor 52 connecting with rotary screw rod 26 moves, so that motor 52 coil (not shown) cutting magnetic induction line simultaneously generates induced current and forms sensing voltage.Specifically, referring to Fig. 9, sensing Voltage input sets voltage from the negative input end of comparator 37 and is input to comparator 37, work as sense to the positive input terminal of comparator 37 When surveying voltage greater than setting voltage, comparator 37 exports high level.Since the output end of comparator 37 is connected to processor 36, because And processor 36 is able to according to the level to judge whether sensing voltage is greater than setting voltage.
In some embodiments, step S14 includes:
Determine the current relative position for skidding off component 20;
Judge whether current relative position is first position A or second position B;
When current relative position is first position A, control skids off component 20 and slides to second position B;With
When current relative position is second position B, control skids off component and slides to first position A.
In some embodiments, processor 36 is used for: determining the current relative position for skidding off component 20;Judge current phase It whether is first position A or second position B to position;When current relative position is first position A, control skid off component 20 to Second position B sliding;With when current relative position is second position B, control skids off component and slides to first position A.
In this way, realizing that, when skidding off component 20 and being pushed, control skids off component 20 and slides to predetermined position.
It is appreciated that skidding off component 20 when current relative position is first position A and being contained in ontology 10 completely, use at this time Family pushes to skid off component 20 and be desirable to skid off component 20 and skid off, thus control at this time skids off component 20 and slides to second position B.When It when preceding relative position is second position B, skids off component 20 and is fully slid out from ontology 10, it is uncommon that user, which pushes and skids off component 20, at this time Prestige skids off component 20 and slides back to, thus control at this time skids off component 20 and slides to first position A.In addition, working as current relative position both It, can be with output error message, because current relative position is neither first when not being that first position A is also not second position B It sets A and is also not the component 20 that skids off of second position B and be likely to be at the states such as sliding or be stuck, be not to push triggering at this time Normal condition, can not also infer user be intended to.
As previously mentioned, processor 36 can control the sliding for skidding off component 20 by control motor 52.When current opposite When position is first position A, processor 36 controls motor 52 and rotates forward, so that output shaft drives rotary screw rod 26 in threaded hole Rotation in 24 is slided so that skidding off component 20 to second position B.When current relative position is second position B, processor 36 control motors 52 invert, so that output shaft drives rotary screw rod 26 to rotate in threaded hole 24, so that skidding off group Part 20 is slided to first position A.
Certainly, other than pushing triggering to skid off the movement of component 20, the input of panel assembly 14 can be passed through according to user Triggering skids off the movement of component 20, can skid off the movement of component 20 to the pressing triggering of entity key according to user, can also set Trigger signal makes the control of processor 36 skid off component 20 and move under specific circumstances.For example, being connect when being carried on load-bearing part 22 When nearly sensor and earpiece 44, user can be received calls and be hung up the telephone as trigger signal.In other words, when user connects When answering a call, triggering skids off component 20 and skids off automatically, and when user hangs up the telephone, triggering skids off component 20 and slides back to automatically.It is total and Yan Zhi, the sliding for skidding off component 20 can also be occurred automatically under specific circumstances based on the operation of user.Certainly, user It can be set and which specifically slides or close automatically automatic sliding at.
In some embodiments, electronic device 100 includes detection components 30, and detection components 30 include field generating element 32 and Hall element 34, field generating element 32 and Hall element 34 are separately fixed at ontology 10 and skid off on component 20, determine The step of skidding off the current relative position of component 20 include:
Receive the detected signal value that Hall element 34 exports;With
Current relative position of the component 20 relative to ontology 10 is skidded off according to detected signal value determination.
In some embodiments, processor 36 is used for: receiving the detected signal value that Hall element 34 exports;With according to inspection It surveys signal value determination and skids off current relative position of the component 20 relative to ontology 10.
The current relative position for skidding off component 20 is determined using Hall element 34 and field generating element 32, in Front camera Equal function elements 40 are carried on when skidding off on component 20, the state for skidding off component 20 can be detected in real time, so that it is determined that function The position of device 40.
Determine that the principle for the current relative position for skidding off component 20 is main using Hall element 34 and field generating element 32 It is the characteristic based on Hall element 34, i.e. the magnetic field that can be generated with induced magnetic field generating element 32 of Hall element 34, and according to sense The magnetic induction intensity that should be arrived exports corresponding signal.Since magnetic induction intensity is related to the position of relative magnetic field generating element 32, So can determine the relative position of Hall element 34 Yu field generating element 32 by the signal that Hall element 34 exports.Separately Outside, since field generating element 32 and Hall element 34 are separately fixed at ontology 10 and skid off on component 20, field generating element 32 and Hall element 34 can with skid off component 20 movement generate relative motion, therefore, it is possible to by determine Hall element 34 are determined indirectly the position for skidding off component 20 relative to ontology 10 with the relative position of field generating element 32.In this way, can be with Simply and easily real-time detection skids off the state of component 20.
In some embodiments, the current opposite position for skidding off component 20 relative to ontology 10 is determined according to detected signal value The step of setting include:
Inquiry database is read, inquiry database includes multiple preset signals values and multiple calibration relative positions, each pre- If signal value is corresponding with a calibration relative position;With
Use detected signal value inquiry inquiry database to obtain current relative position.
In some embodiments, for processor 36 for reading inquiry database, inquiry database includes multiple default letters Number value and multiple calibration relative positions, each preset signals value is corresponding with a calibration relative position;With use detected signal value Inquiry inquiry database is to obtain current relative position.
Since each preset signals value is corresponding with a calibration relative position, in other words, each preset signals value is corresponding One and only one corresponding calibration relative position.In this way, can according to detected signal value inquiry database in read with The relevant data of detected signal value determine current relative position according to detected signal value to realize.
In some embodiments, control method includes:
Component 20 will be skidded off and slide into multiple calibration relative positions;With
The detected signal value for obtaining the corresponding each calibration relative position output of Hall element 34 demarcates opposite position as corresponding The preset signals value set.
In some embodiments, processor 36 is used for: will be skidded off component 20 and is slided into multiple calibration relative positions;With obtain Take default letter of the detected signal value of the corresponding each calibration relative position output of Hall element 34 as corresponding calibration relative position Number value.
It, can by the detected signal value for recording calibration relative position and Hall element 34 exports at the calibration relative position To obtain skidding off the corresponding relationship for the detection signal that the location of component 20 is exported with Hall element 34.In this way, subsequent During position detection, as long as obtaining the detected signal value that Hall element 34 exports, pair that can be determined by the step It should be related to that carrying out reverse push export skids off current relative position of the component 20 relative to ontology 10.
Referring to Fig. 10, in some embodiments, control method includes:
Multiple preset signals values and multiple calibration relative positions are associated to inquiry table or are fitted to relation curve.
In some embodiments, multiple preset signals values and multiple calibration relative positions for being associated to by processor 36 Inquiry table is fitted to relation curve.
In this way, while facilitating preservation and inquiry, so that skidding off calibration relative position and the Hall element 34 of component 20 The corresponding relationship of the detected signal value as preset signals value of output is more accurate.It is appreciated that in actual detection process In, skid off component 20 not necessarily just slide into calibration relative position on, it is also possible to slide into two calibration relative positions it Between, at this point, directlying adopt and the corresponding preset signals value in calibration relative position and inaccurate.Of course, it is possible to using the two marks Determine the average value of relative position or calculates the current phase for skidding off component 20 according to the two comprehensive calibration relative positions of weight To position.But, it is contemplated that preset signals value is not necessarily linear change, it is further preferred that by multiple preset signals values and Multiple calibration relative positions are fitted to relation curve.In this way, can guarantee as much as possible according to multiple preset signals values and multiple Demarcate the accuracy for the current relative position that relative position determines.
It note that the A marked on horizontal axis in Figure 10 indicates to skid off phase when component 20 is contained in sliding slot 16 completely in Fig. 2 To position, i.e. first position A;B indicates to skid off relative position when component 20 fully slides out from sliding slot 16, i.e. second in Fig. 1 Set B;C indicates to skid off relative position when component 20 skids off half from sliding slot 16, i.e. the third place C in Fig. 3.
Figure 11 is please referred to, in some embodiments, control method includes:
S16: judgement skids off whether component 20 slides into predetermined position;With
S18: when skidding off component 20 and not sliding into predetermined position, alarm signal is exported.
In some embodiments, processor 36 skids off whether component 20 slides into predetermined position for judging;It is skidded off with working as When component 20 does not slide into predetermined position, alarm signal is exported.
In this way, user can be prompted to intervene, avoid skidding off component 20 or ontology 10 due to not sliding into predetermined position and shadow Ring function or damage.
It is appreciated that due to the complexity of reality, skid off component 20 be possible to occur Caton etc. can not slide into it is predetermined The case where position.And if abnormal conditions not being judged and being alarmed, it cannot exclude and cause abnormal obstacle.In addition, working as When skidding off 20 Caton of component and not removing barriers for a long time, motor 52 understands continuous running, so as to cause component 20 or sheet is skidded off The damage of body 10.The setting of alarm mechanism can be when occurring abnormal, and processor 36 carries out corresponding operation in time, for example closes Motor 52 avoids the damage for skidding off component 20 or ontology 10.
In some embodiments, step S16 includes:
Multiple detected signal values that Hall element 34 exports are received within a preset time;
Prearranged signals value corresponding with predetermined position is determined according to predetermined position;
Judge whether prearranged signals value is consistent with multiple detected signal values;With
When prearranged signals value and multiple detected signal values are inconsistent, judgement skids off component 20 and does not slide into predetermined position.
In some embodiments, processor 36 is used for: receiving multiple inspections that Hall element 34 exports within a preset time Survey signal value;Prearranged signals value corresponding with predetermined position is determined according to predetermined position;Judge prearranged signals value and multiple detections Whether signal value is consistent;With when prearranged signals value and multiple detected signal values are inconsistent, judgement skids off component 20 and does not slide into Predetermined position.
In this way, realizing the judgement to skidding off component 20 and whether sliding into predetermined position.
It is appreciated that when multiple detected signal values are consistent within a preset time, skid off component 20 state be it is static, it is static State may be caused by two kinds of situations, and a kind of situation is to skid off component 20 to have slided into predetermined position to normally stop sliding It is dynamic, another situation is that skidding off component 20 does not slide into predetermined position to the sliding that abends.By to multiple consistent Detected signal value prearranged signals value corresponding with predetermined position compares, it can be determined that skids off whether component 20 has slided into pre-determined bit It sets, determines whether that abnormal conditions have occurred.
It is of course also possible to the current relative position for skidding off component 20 is first determined according to multiple consistent detected signal values, then Than current relative position and predetermined position, so that judgement skids off whether component 20 has slided into predetermined position and determined whether to occur Abnormal conditions.
In some embodiments, control method includes:
Receive the first user input;With
Component 20 is skidded off according to first user's input control, and predetermined position is slided by current relative position.
In some embodiments, processor 36 is for receiving the first user input;With according to first user's input control It skids off component 20 and predetermined position is slided by current relative position.
In this way, after user's intervention removes barriers, can will be slided in the case where skidding off component 20 and not sliding into predetermined position Component 20 continues to slide into predetermined position from there is abnormal current relative position out.
In some embodiments, control method includes:
Receive second user input;With
Component 20 is skidded off according to second user input control, and first position A is slided by current relative position.
In some embodiments, processor 36 is for receiving second user input;With according to second user input control It skids off component 20 and first position A is slided by current relative position.
In this way, after user's intervention removes barriers, can will be slided in the case where skidding off component 20 and not sliding into predetermined position Component 20 slides into first position A from there is abnormal current relative position out, realizes resetting.
In actual operation, the icon of both the above mode can be shown on panel assembly 14, user can pass through Panel assembly 14 selects two ways.In other words, after there is exception, user can choose to be worked as from appearance is abnormal Preceding relative position continues to slide into predeterminated position, or slides into first position A.
In the description of this specification, reference term " embodiment ", " certain embodiments ", " schematically implementation The description of mode ", " example ", " specific example " or " some examples " etc. means embodiment or example is combined to describe specific Feature, structure, material or feature are contained at least one embodiment or example of the invention.In the present specification, right The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.Moreover, the specific features of description, knot Structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
While embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that: These embodiments can be carried out with a variety of variations, modification, replacement in the case where not departing from the principle of the present invention and objective and become Type, the scope of the present invention are defined by the claims and their equivalents.

Claims (26)

1. a kind of control method for skidding off component, which is characterized in that the component that skids off is for electronic device, the electronic device Including ontology, it is described skid off component for the first position for being contained in the ontology and from the ontology expose the second position Between slide, the control method includes:
Skid off whether component is pushed described in detection;With
It is described skid off component and pushed when, skid off component described in control and slided to predetermined position.
2. skidding off the control method of component as described in claim 1, which is characterized in that the electronic device includes and the cunning The motor of component connection out, the motor for drive it is described skid off component slippage, skidded off described in the detection component whether by Include: to the step of pushing
The motor is obtained based on the sensing voltage for skidding off component and generating when being pushed;
Judge whether the sensing voltage is greater than setting voltage;With
When the sensing voltage is greater than the setting voltage, component is skidded off described in judgement and is pushed.
3. skidding off the control method of component as described in claim 1, which is characterized in that described to be pushed away in the component that skids off When dynamic, the step of component is slided to predetermined position is skidded off described in control includes:
The current relative position of component is skidded off described in determination;
Judge whether the current relative position is the first position or the second position;
When the current relative position is the first position, component is skidded off described in control and is slided to the second position;With
When the current relative position is the second position, component is skidded off described in control and is slided to the first position.
4. skidding off the control method of component as claimed in claim 3, which is characterized in that the electronic device includes detection group Part, the detection components include field generating element and Hall element, and the field generating element and the Hall element are distinguished It is fixed on the ontology and described the step of skidding off on component, the current relative position of component is skidded off described in the determination includes:
Receive the detected signal value of the Hall element output;With
The current relative position of the component relative to the ontology is skidded off according to detected signal value determination.
5. skidding off the control method of component as claimed in claim 4, which is characterized in that described true according to the detected signal value Described the step of skidding off current relative position of the component relative to the ontology, includes: calmly
Inquiry database is read, the inquiry database includes multiple preset signals values and multiple calibration relative positions, Mei Gesuo It is corresponding with a calibration relative position to state preset signals value;With
The detected signal value is used to inquire the inquiry database to obtain the current relative position.
6. skidding off the control method of component as claimed in claim 5, which is characterized in that the control method includes:
By the component slippage that skids off to the multiple calibration relative position;With
It obtains the Hall element and corresponds to the detected signal value of each calibration relative position output as the corresponding calibration The preset signals value of relative position.
7. skidding off the control method of component as claimed in claim 6, which is characterized in that the control method includes:
The multiple preset signals value and the multiple calibration relative position are associated to inquiry table or are fitted to relation curve.
8. skidding off the control method of component as described in claim 1, which is characterized in that the control method includes:
Skid off whether component slides into the predetermined position described in judgement;With
When it is described skid off component and do not slide into the predetermined position when, export alarm signal.
9. skidding off the control method of component as claimed in claim 8, which is characterized in that whether skid off component described in the judgement The step of sliding into the predetermined position include:
Multiple detected signal values of the Hall element output are received within a preset time;
Prearranged signals value corresponding with the predetermined position is determined according to the predetermined position;
Judge whether the prearranged signals value and the multiple detected signal value are consistent;With
When the prearranged signals value and the multiple detected signal value are inconsistent, skid off described in judgement component do not slide into it is described Predetermined position.
10. skidding off the control method of component as claimed in claim 8, which is characterized in that the control method includes:
Receive the first user input;With
Component is skidded off according to the first user input control, and the predetermined position is slided by the current relative position.
11. skidding off the control method of component as claimed in claim 8, which is characterized in that the control method includes:
Receive second user input;With
Component is skidded off according to the second user input control, and the first position is slided by the current relative position.
12. a kind of detection components, which is characterized in that the detection components are described to skid off group for detecting the state for skidding off component Part is used for electronic device, and the electronic device includes ontology, and the component that skids off is for being contained in first of the ontology It sets and is slided between the second position that the ontology exposes, the detection components include processor, and the processor is used for:
Skid off whether component is pushed described in detection;With
It is described skid off component and pushed when, skid off component described in control and slided to predetermined position.
13. detection components as claimed in claim 12, which is characterized in that the electronic device includes connecting with the component that skids off The motor connect, the motor for drive it is described skid off component slippage, the processor is used for:
The motor is obtained based on the sensing voltage for skidding off component and generating when being pushed;
Judge whether the sensing voltage is greater than setting voltage;With
When the sensing voltage is greater than the setting voltage, component is skidded off described in judgement and is pushed.
14. detection components as claimed in claim 12, which is characterized in that the processor is used for:
The current relative position of component is skidded off described in determination;
Judge whether the current relative position is the first position or the second position;
When the current relative position is the first position, component is skidded off described in control and is slided to the second position;With
When the current relative position is the second position, component is skidded off described in control and is slided to the first position.
15. detection components as claimed in claim 14, which is characterized in that the detection components include field generating element and suddenly Your element, the field generating element and the Hall element be separately fixed at the ontology and it is described skid off on component, it is described Processor is used for:
Receive the detected signal value of the Hall element output;With
The current relative position of the component relative to the ontology is skidded off according to detected signal value determination.
16. detection components as claimed in claim 15, which is characterized in that the processor is used for:
Inquiry database is read, the inquiry database includes multiple preset signals values and multiple calibration relative positions, Mei Gesuo It is corresponding with a calibration relative position to state preset signals value;With
The detected signal value is used to inquire the inquiry database to obtain the current relative position.
17. detection components as claimed in claim 16, which is characterized in that the processor is used for:
By the component slippage that skids off to the multiple calibration relative position;With
It obtains the Hall element and corresponds to the detected signal value of each calibration relative position output as the corresponding calibration The preset signals value of relative position.
18. detection components as claimed in claim 17, which is characterized in that the processor is used for:
The multiple preset signals value and the multiple calibration relative position are associated to inquiry table or are fitted to relation curve.
19. detection components as claimed in claim 12, which is characterized in that the processor is used for:
Skid off whether component slides into the predetermined position described in judgement;With
When it is described skid off component and do not slide into the predetermined position when, export alarm signal.
20. detection components as claimed in claim 19, which is characterized in that the processor is used for:
Multiple detected signal values of the Hall element output are received within a preset time;
Prearranged signals value corresponding with the predetermined position is determined according to the predetermined position;
Judge whether the prearranged signals value and the multiple detected signal value are consistent;With
When the prearranged signals value and the multiple detected signal value are inconsistent, skid off described in judgement component do not slide into it is described Predetermined position.
21. detection components as claimed in claim 19, which is characterized in that the processor is used for:
Receive the first user input;With
Component is skidded off according to the first user input control, and the predetermined position is slided by the current relative position.
22. detection components as claimed in claim 19, which is characterized in that the processor is used for:
Receive second user input;With
Component is skidded off according to the second user input control, and the first position is slided by the current relative position.
23. a kind of electronic device characterized by comprising
Ontology;
Component is skidded off, the component that skids off is in the first position for being contained in the ontology and expose from the ontology second It is slided between position;With
Detection components, the detection components are for detecting the state for skidding off component, and the detection components include processor, the place Whether reason device is for detecting the component that skids off by pushing and skid off component described and skidded off group by described in being controlled when pushing Part is slided to predetermined position.
24. electronic device as claimed in claim 23, which is characterized in that the electronic device includes connecting with the component that skids off The motor connect, the motor for drive it is described skid off component slippage, the processor is used for:
The motor is obtained based on the sensing voltage for skidding off component and generating when being pushed;
Judge whether the sensing voltage is greater than setting voltage;With
When the sensing voltage is greater than the setting voltage, component is skidded off described in judgement and is pushed.
25. electronic device as claimed in claim 23, which is characterized in that the processor is used for:
The current relative position of component is skidded off described in determination;
Judge whether the current relative position is the first position or the second position;
When the current relative position is the first position, component is skidded off described in control and is slided to the second position;With
When the current relative position is the second position, component is skidded off described in control and is slided to the first position.
26. electronic device as claimed in claim 23, which is characterized in that the detection components include field generating element and suddenly Your element, the field generating element and the Hall element be separately fixed at the ontology and it is described skid off on component, it is described Processor is used for:
Receive the detected signal value of the Hall element output;With
The current relative position of the component relative to the ontology is skidded off according to detected signal value determination.
CN201810229770.1A 2018-03-20 2018-03-20 Control method of sliding-out assembly, detection assembly and electronic device Active CN110311996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810229770.1A CN110311996B (en) 2018-03-20 2018-03-20 Control method of sliding-out assembly, detection assembly and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810229770.1A CN110311996B (en) 2018-03-20 2018-03-20 Control method of sliding-out assembly, detection assembly and electronic device

Publications (2)

Publication Number Publication Date
CN110311996A true CN110311996A (en) 2019-10-08
CN110311996B CN110311996B (en) 2021-04-13

Family

ID=68073459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810229770.1A Active CN110311996B (en) 2018-03-20 2018-03-20 Control method of sliding-out assembly, detection assembly and electronic device

Country Status (1)

Country Link
CN (1) CN110311996B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131568A (en) * 2019-12-23 2020-05-08 华为技术有限公司 Electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387811A (en) * 2007-09-12 2009-03-18 富士能株式会社 Mobile device
CN102918822A (en) * 2010-05-28 2013-02-06 诺基亚公司 Handling user inputs
CN102957763A (en) * 2011-08-18 2013-03-06 希姆通信息技术(上海)有限公司 Mobile phone
CN103713849A (en) * 2013-12-26 2014-04-09 华为终端有限公司 Method and device for image shooting and terminal device
CN104023105A (en) * 2014-06-13 2014-09-03 广东欧珀移动通信有限公司 Detection device and detection method of angled rotation of camera of mobile terminal
CN105515454A (en) * 2016-02-17 2016-04-20 国网山东省电力公司滨州供电公司 Four-phase permanent magnet brushless direct current motor servo control system
CN105554200A (en) * 2016-02-16 2016-05-04 广东欧珀移动通信有限公司 Mobile terminal
CN205510137U (en) * 2016-02-26 2016-08-24 维沃移动通信有限公司 Electronic device
CN106094990A (en) * 2016-06-12 2016-11-09 张帆 The screen maximized electronic equipment of accounting and using method thereof
CN106856516A (en) * 2015-12-09 2017-06-16 小米科技有限责任公司 Electronic equipment
WO2017166178A1 (en) * 2016-03-31 2017-10-05 深圳市汇顶科技股份有限公司 Touch response module, keyboard, touch apparatus, and touch device having feedback function

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387811A (en) * 2007-09-12 2009-03-18 富士能株式会社 Mobile device
CN102918822A (en) * 2010-05-28 2013-02-06 诺基亚公司 Handling user inputs
CN102957763A (en) * 2011-08-18 2013-03-06 希姆通信息技术(上海)有限公司 Mobile phone
CN103713849A (en) * 2013-12-26 2014-04-09 华为终端有限公司 Method and device for image shooting and terminal device
CN104023105A (en) * 2014-06-13 2014-09-03 广东欧珀移动通信有限公司 Detection device and detection method of angled rotation of camera of mobile terminal
CN106856516A (en) * 2015-12-09 2017-06-16 小米科技有限责任公司 Electronic equipment
CN105554200A (en) * 2016-02-16 2016-05-04 广东欧珀移动通信有限公司 Mobile terminal
CN105515454A (en) * 2016-02-17 2016-04-20 国网山东省电力公司滨州供电公司 Four-phase permanent magnet brushless direct current motor servo control system
CN205510137U (en) * 2016-02-26 2016-08-24 维沃移动通信有限公司 Electronic device
WO2017166178A1 (en) * 2016-03-31 2017-10-05 深圳市汇顶科技股份有限公司 Touch response module, keyboard, touch apparatus, and touch device having feedback function
CN106094990A (en) * 2016-06-12 2016-11-09 张帆 The screen maximized electronic equipment of accounting and using method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131568A (en) * 2019-12-23 2020-05-08 华为技术有限公司 Electronic device
CN111131568B (en) * 2019-12-23 2021-07-16 华为技术有限公司 Electronic device

Also Published As

Publication number Publication date
CN110311996B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN110312001A (en) Skid off method for detecting position, detection components and the electronic device of structure
Kratz et al. HoverFlow: expanding the design space of around-device interaction
CN108833623A (en) Control method by sliding, device and the electronic device of slide assemblies
US11789470B2 (en) Method and apparatus for calibrating sliding of sliding component
DE60024913D1 (en) An electronic device with a sliding element
CN108924283A (en) Control method by sliding, device and the electronic device of slide assemblies
CN110307775A (en) Skid off method for detecting position, detection components and the electronic device of component
JP2017134849A (en) Information processing device
CN105683881A (en) Information processing device, input method, and program
CN103329065A (en) Dynamic DC-offset determination for proximity sensing
CN105526992A (en) Water level measuring method as well as device and container
CN107111446A (en) The method and system of control device
CN110311996A (en) Skid off the control method, detection components and electronic device of component
CN108833699A (en) The control method and device of electronic device and its slide assemblies
CN108900663A (en) Control method by sliding, device and the electronic device of slide assemblies
CN108833622A (en) Control method, control assembly and the electronic equipment of sliding equipment
CN102968218A (en) Optical image type touch device and touch image processing method
CN110311997A (en) Skid off method for detecting position, detection components and the electronic device of component
CN109005254A (en) Information indicating method, control assembly and electronic equipment based on sliding equipment
CN108924286A (en) The control method and device of electronic device and its slide assemblies
CN108924284A (en) The control method and device of electronic device and its slide assemblies
CN108924287A (en) Fall arrest control method, device and the electronic device of slide assemblies
CN109460178B (en) Sliding display method and device of sliding assembly
CN110312000A (en) Skid off the control method, detection components and electronic device of structure
US20110133882A1 (en) Apparatus for detecting coordinates of an event within interest region, display device, security device and electronic blackboard including the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change 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.

GR01 Patent grant
GR01 Patent grant