CN108924287A - Fall arrest control method, device and the electronic device of slide assemblies - Google Patents
Fall arrest control method, device and the electronic device of slide assemblies Download PDFInfo
- Publication number
- CN108924287A CN108924287A CN201810590259.4A CN201810590259A CN108924287A CN 108924287 A CN108924287 A CN 108924287A CN 201810590259 A CN201810590259 A CN 201810590259A CN 108924287 A CN108924287 A CN 108924287A
- Authority
- CN
- China
- Prior art keywords
- slide assemblies
- electronic device
- ontology
- state
- contained
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
- H04M1/0268—Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Abstract
The present invention discloses fall arrest control method, device and the electronic device of a kind of slide assemblies, wherein method includes:Monitoring electronic device athletic posture detects the state of slide assemblies when detecting that electronic device is in free falling body state;If knowing that slide assemblies are in from what ontology exposed skids off state, low level state is set by target universal input/output interface;Interrupt processing function is triggered according to the low level state of target universal input/output interface, preset maximum speed is arranged to driving assembly, driving slide assemblies retract the first position for being contained in ontology, and No starting driving assembly is to the variable speed operation of slide assemblies.Influence of the associated component to screen accounting is reduced by slide assemblies as a result, and when detecting electronic device freely falling body, triggers slide assemblies immediately and retract, timely and effectively protect slide assemblies.
Description
Technical field
The present invention relates to electronic technology field more particularly to fall arrest control method, device and the electricity of a kind of slide assemblies
Sub-device.
Background technique
It is universal with portable electronic devices such as smart phones, the aesthetics of electronic device and functional optimization also at
For main trend, for example, the raising of the screen accounting of electronic device is exactly one of fashion trend.
In the related technology, the equipment such as Front camera are installed to provide preposition camera shooting for user in the front panel of electronic device
Service, thus, the occupancy of the installation space on the front panel of Front camera and the contradiction of the raising of screen accounting are urgently to be resolved.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first aspect present invention embodiment proposes a kind of fall arrest control method of slide assemblies, the Slide Group
Part is used for electronic device, and the electronic device includes ontology and driving assembly, and the driving component is for controlling the Slide Group
Part is slided in the first position for being contained in the ontology and between the second position that the ontology exposes, the fall arrest control
Method includes the following steps:The electronic device athletic posture is monitored, when detecting that the electronic device is in freely falling body shape
When state, the state of the slide assemblies is detected;If knowing that the slide assemblies are in from what the ontology exposed skids off state,
Low level state is set by target universal input/output interface;According to the low level shape of the target universal input/output interface
State triggers interrupt processing function, and preset maximum speed is arranged to the driving component, the slide assemblies is driven to retract receiving
In the first position of the ontology, and No starting the driving component is to the variable speed operation of the slide assemblies.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of fall arrest control device of slide assemblies,
The slide assemblies are used for electronic device, and the electronic device includes ontology and driving assembly, and the driving component is for controlling
The slide assemblies are slided in the first position for being contained in the ontology and between the second position that the ontology exposes, described
Fall arrest control device includes:Detection module, for monitoring the electronic device athletic posture, when detecting the electronic device
When in free falling body state, the state of the slide assemblies is detected;Setup module, for knowing that the slide assemblies are in
When skidding off state, low level state is set by target universal input/output interface from ontology exposing;Processing module is used
In triggering interrupt processing function according to the low level state of the target universal input/output interface, the driving component is arranged
Preset maximum speed drives the slide assemblies to retract the first position for being contained in the ontology, and drives described in No starting
Variable speed operation of the dynamic component to the slide assemblies.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of electronic device, the electronic device includes
Ontology, slide assemblies and driving assembly, the driving component are used to control the slide assemblies and are being contained in the of the ontology
One position and from the ontology expose the second position between slide, the electronic device further includes:Memory and the sliding
The processor and store the computer program that can be run on a memory and on a processor, the processor that component is electrically connected
When executing described program, the fall arrest control method of slide assemblies as in the foregoing embodiment is realized.
In order to achieve the above object, the 4th aspect embodiment of the present invention proposes a kind of computer readable storage medium, thereon
It is stored with computer program, when which is executed by processor, realizes the anti-of the slide assemblies as described in preceding method embodiment
It falls control method.
Technical solution provided by the invention includes at least following beneficial effect:
Electronic device athletic posture is monitored, when detecting that electronic device is in free falling body state, detects slide assemblies
State set target universal input/output interface to if knowing that slide assemblies are in from what ontology exposed skids off state
Low level state triggers interrupt processing function according to the low level state of target universal input/output interface, sets to driving assembly
Preset maximum speed is set, driving slide assemblies retract the first position for being contained in ontology, and No starting driving assembly is to cunning
The variable speed operation of dynamic component.Influence of the associated component to screen accounting is reduced by slide assemblies as a result, and works as and detects electronics
When device freely falling body, slide assemblies are triggered immediately and are retracted, effective protection slide assemblies.
The additional aspect of the present invention and advantage 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 will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
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 chart of the fall arrest control method of slide assemblies according to an embodiment of the invention;
Fig. 9 is the structural schematic diagram for protecting shell to skid off in electronic device according to an embodiment of the invention;
Figure 10 is the structural schematic diagram of the fall arrest control device of slide assemblies according to an embodiment of the invention;
Figure 11 is the structural schematic diagram of the fall arrest control device of slide assemblies in accordance with another embodiment of the present invention;
Figure 12 is the structural schematic diagram of the fall arrest control device of the slide assemblies of another embodiment according to the present invention.
Main element symbol description:
Electronic device 100, ontology 10, shell 12, display component 14, cover board 142, sliding slot 16, groove 162, slide assemblies
20, load-bearing part 22, threaded hole 24, rotary screw rod 26, detection components 30, field generating element 32, Hall element 34, Front camera
42, earpiece 44, driving assembly 50, driving motor 52, processor 60 and memory 70, first position A, second position B, third position
Set 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.
Below with reference to the accompanying drawings fall arrest control method, the device of the slide assemblies of the slide assemblies of the embodiment of the present invention are described
And electronic device.
For the fall arrest control method of the slide assemblies of the more clear description embodiment of the present invention, first below to this
The electronic device of invention carries out the description in structure.
Specifically, in order to reduce hardware device that Front camera etc. is mounted in electronic device front panel to screen accounting
Influence Front camera etc. is controlled when needed by the sliding of slide assemblies the invention proposes a kind of slide assemblies
It skids off, is contained in electronics when unwanted, as a result, in the function services without components such as Front cameras
When, so that it is not take up electronic device front panel.
Specifically, as Figure 1-Figure 4, the electronic device 100 of the embodiment of the present invention includes ontology 10, slide assemblies 20
With driving assembly 50.Slide assemblies 20 are used in the first position A for being contained in ontology 10 and the second position B exposed from ontology 10
Between slide.Driving assembly 50 is used to drive slide assemblies 20 in the first position for being contained in ontology and expose from ontology second
It is slided between position.
Certainly, in order to enable driving assembly 50 knows that driving slide assemblies 20 slide into corresponding position, in the electronic device
It also necessarily include the detection components 30 of detection 20 current location of slide assemblies, in an embodiment of the present invention, detection components 30 are used
In the position of detection slide assemblies 20, detection components 30 include field generating element 32, Hall element 34 and processor 60, magnetic field
Generating element 32 and Hall element 34 are separately fixed on ontology 10 and slide assemblies 20, and processor 60 is for receiving Hall element
The detected signal value of 34 outputs, and for determining slide assemblies 20 relative to the current opposite of ontology 10 according to detected signal value
Position.
It is worth noting that, " field generating element 32 and Hall element 34 are separately fixed at ontology 10 and Slide 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 is fixed on slide assemblies
On 20, second is that field generating element 32 is fixed on slide assemblies 20, 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, and slide assemblies 20 are contained in sliding slot in first position A
In 16.In this way, slide assemblies 20 can be made to slide between first position A and second position B 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, to realize sliding back to and skidding off for slide assemblies 20.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
The signal that signal and control slide assemblies 20 for controlling the content that display module is shown slide.
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.
In order to more clearly illustrate the embodiment of the present invention slide assemblies 20 function, referring to Fig. 5, when in certain implementations
In mode, electronic device 100 includes Front camera 42, and slide assemblies 20 include load-bearing part 22, and the setting of Front camera 42 is carrying
On part 22.In this way, Front camera 42 can be slided with slide assemblies 20.Of course, it is possible to which user is opened 42 He of Front camera
It closes Front camera 42 and is used as trigger signal, in other words, when user opens Front camera 42, triggering slide assemblies 20 are sliding
Out, when user closes Front camera 42, triggering slide assemblies 20 are slid back to.Such user only need to according to existing habit opening or
Front camera is closed, without carrying out other operation for slide assemblies 20, can be convenient the use of user.
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 slide assemblies 20, it can also be according to the input of user with Slide 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 slide assemblies 20 are contained in completely in sliding slot 16, 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 slide assemblies 20 are skidded off, when user is hung up
When phone, triggering slide assemblies 20 are slid back to.Such user only need to answer or hang up the telephone according to existing habit, without being directed to
Slide assemblies 20 carry 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 60 can by control the distance controlling that skid off of slide assemblies 20 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 60 can be by controlling some load-bearing part
22 sliding is to select the function element 40 for needing to expose.
Referring to Fig. 7, in some embodiments, slide assemblies 20 include 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 assembly 50 that groove 162 is arranged in.Driving assembly 50 includes connecting with processor 60
Driving motor 52 and the output shaft (not shown) being connect with the bottom of rotary screw rod 26.
It is appreciated that processor 60 can control the sliding of slide assemblies 20 by control driving motor 52.Work as user
When order slide assemblies 20 are slided from first position A to second position B, processor 60 controls driving motor 52 and rotates forward, to make
Output shaft drives rotary screw rod 26 to rotate in threaded hole 24 so that slide assemblies 20 are from first position A to second
Set B sliding.When user command slide assemblies 20 are slided from second position B to first position A, processor 60 controls driving motor
52 reversions, so that output shaft drives rotary screw rod 26 to rotate in threaded hole 24, so that slide assemblies 20 from second
Position B is slided to first position A.It is worth noting that, " from first position A to second position B " herein and " from the second position
B refers to the direction of sliding to first position A ", the beginning and end without referring to sliding.
The electronic device 100 of embodiment of the present invention determines slide assemblies using Hall element 34 and field generating element 32
20 current relative position can detect cunning when the function elements such as Front camera 40 are carried on slide assemblies 20 in real time
The state of dynamic component 20, so that it is determined that the position of function element 40.
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 slide assemblies, so that function element 40 is not needing
It is housed in when work in ontology 10, exposes with slide assemblies 20 from ontology 10 when needing work.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.
However, in practical applications, there are application scenes to skid off electronic device when electronic device falls
The slide assemblies of ontology are easier to be hit and cause to damage, thus, how when electronic device falls, it will slide in time
Dynamic component, which slides into electronics, also becomes the technical problem to be solved in the present invention.
The fall arrest control method of slide assemblies is specifically described below:
Fig. 8 is the flow chart of the fall arrest control method of slide assemblies according to an embodiment of the invention, such as Fig. 8 institute
Show, this approach includes the following steps:
Step 101, electronic device athletic posture is monitored, when detecting that electronic device is in free falling body state, detection
The state of slide assemblies.
It should be understood that can detecte to obtain by monitoring its athletic posture, for example, working as when electronic device falls
It monitors then to judge that it is in free falling body state, wherein can pass by acceleration in state of weightlessness in its long period
The variation of the acceleration of sensor detection electronic installation, alternatively, the movement angle of gyroscope detection electronic installation can also be passed through
Variation etc., to determine whether electronic device is in free falling body state.
In one embodiment of the invention, the detected signal value exported according to predeterminated frequency acquisition gravity sensor,
In, predeterminated frequency is related with the processing capacity of processor, and the ability of processor is stronger, and predeterminated frequency can be higher, according to default
Algorithm calculates three adjacent detected signal values, if calculated result meets preset condition, judges that electronic device is in
Free falling body state, for example, three adjacent detected signal values are carried out with the calculating of average value, if average value is less than centainly
Value, then show to judge that electronic device is in free falling body state.
Specifically, when electronic device is in free falling body state, the state of slide assemblies is detected, in order to detect
Slide assemblies carry out the protection for skidding off component in when skidding off state.
Wherein it is possible to which the current detection signal value detected by detecting Hall element, is in slide assemblies and skids off shape
The size relation of the reference signal value of state, determines whether slide assemblies are in the state of skidding off, when slide assemblies by first position to
It, can be by detecting current detection signal value if the detected signal value of detection is gradually increased when the second position is slided, if
Greater than the reference signal value that slide assemblies are in first position, state is skidded off to determine if to be in.
In another embodiment of the present invention, the first position of ontology is contained in when knowing that slide assemblies are in, then prohibit
Only driving assembly operates the driving of slide assemblies, so that slide assemblies are contained in electronic device when electronic device falls
Ontology is not knocked.
Step 102, if knowing that slide assemblies are in from what ontology exposed skids off state, the output of target universal input is connect
Mouth is set as low level state.
It is emphasized that slide assemblies be in from ontology exposes skid off state can be Fig. 1 in skid off component 20 from
Relative position when sliding slot 16 fully slides out, i.e. second position B, or skid off component 20 in Fig. 3 and skidded off from sliding slot 16
Relative position between first position and the second position, i.e. the third place C.
Wherein, do not had to according to related chip in application scenarios, the specific port position of target universal input/output interface
Difference, the universal input/output interface are used for the driving process of direct controlling and driving component, connect when by the output of target universal input
When mouth is set as low level state, the drive control that driving assembly currently sets up sliding can be cancelled immediately.
Step 103, interrupt processing function is triggered according to the low level state of target universal input/output interface, to driving group
Preset maximum speed is arranged in part, and driving slide assemblies retract the first position for being contained in ontology, and No starting driving assembly
To the variable speed operation of slide assemblies.
Specifically, it after the low level state of control target universal input/output interface, is exported according to target universal input
The low level state of interface triggers interrupt processing function, and preset maximum speed, driving slide assemblies contracting is arranged to driving assembly
Recycling is dissolved in the first position of ontology, and No starting driving assembly is to the variable speed operation of slide assemblies, control slide assemblies with
Higher speed is quickly contained in electronics, effective protection slide assemblies.
The fall arrest control method of the slide assemblies of the embodiment of the present invention as a result, is detecting that slide assemblies are in from institute
When skidding off state of ontology exposing is stated, interrupts driving assembly immediately to the driving process of slide assemblies, and directly triggering is interrupted
Processing function control slide assemblies are directly contained in electronics with larger speed, avoid the signal that will fall and upload everywhere
Layer is managed, is handled by process layer after generating control instruction, caused by triggering slide assemblies retraction again according to the control instruction received
Time is longer, and slide assemblies retract the response time when effective reduction freely falling body.
Certainly, it due to the complexity of reality, skids off component and is possible to Caton etc. occur that predetermined position can not be slided into
Situation.Thus, in order to protect slide assemblies in time, it is also necessary to the Slide Group in the case where taking measures to breaking down
Part is protected.
In the present embodiment, when detecting the sliding fault-signal of slide assemblies, for example, being detected by position sensor
To at the third place as shown in Figure 3, slide assemblies can not be moved, and for another example, Hall element detects first position and
Between two positions, the detected signal value that multi collect arrives is constant, or variation is slowly, then occurs to slide fault-signal.
At this point, start to avoid malfunction elimination not in time for protecting the guard assembly of slide assemblies in electronic device,
In, which can protect shell for rubber sleeve, the spring arrangement etc. for surrounding slide assemblies, and starting guard assembly can delay
Impact force is rushed, slide assemblies are protected.
In one embodiment of the invention, when protecting component is the protection shell for being contained in electronics, such as
Shown in Fig. 9, starting protection shell skids off the protective position exposed from ontology, wherein protective position is higher than the second position, sliding
Component is contained in the space of protective shell body formation, to protect slide assemblies not to be impacted.
To sum up, the fall arrest control method of the slide assemblies of the embodiment of the present invention monitors electronic device athletic posture, works as inspection
When measuring electronic device and being in free falling body state, the state of slide assemblies is detected, is revealed if knowing that slide assemblies are in from ontology
Out skid off state, then set low level state for target universal input/output interface, according to target universal input output connect
The low level state of mouth triggers interrupt processing function, preset maximum speed is arranged to driving assembly, driving slide assemblies retract
It is contained in the first position of ontology, and No starting driving assembly is to the variable speed operation of slide assemblies.Pass through slide assemblies as a result,
Influence of the associated component to screen accounting is reduced, and when detecting electronic device freely falling body, triggers slide assemblies contracting immediately
It returns, effective protection slide assemblies.
In order to realize above-described embodiment, the present invention also proposes a kind of fall arrest control device of slide assemblies, slide assemblies
For electronic device, electronic device includes ontology and driving assembly, and driving assembly is being contained in ontology for controlling slide assemblies
First position and from ontology expose the second position between slide, as shown in Figure 10, fall arrest control device includes:Detect mould
Block 21, setup module 22 and processing module 23.
Wherein, detection module 21, for monitoring electronic device athletic posture, when detecting that electronic device is in freely falling body
When state, the state of slide assemblies is detected.
Setup module 22, for know slide assemblies be in from ontology expose when skidding off state, target is general defeated
Enter output interface and is set as low level state.
Processing module 23, for triggering interrupt processing function according to the low level state of target universal input/output interface,
Preset maximum speed is arranged to driving assembly, driving slide assemblies retract the first position for being contained in ontology, and No starting
Variable speed operation of the driving assembly to slide assemblies.
In one embodiment of the invention, as shown in figure 11, detection module 21 includes output unit 211, computing unit
212 and judging unit 213, wherein output unit 211, for believing according to the detection of predeterminated frequency acquisition gravity sensor output
Number value.
Computing unit 212, for being calculated according to preset algorithm three adjacent detected signal values.
Judging unit 213, for when calculated result meets preset condition, judging that electronic device is in freely falling body shape
State.
In one embodiment of the invention, as shown in figure 12, on the basis of as shown in Figure 10, which further includes connecing
Receive module 24 and starting module 25, wherein
Receiving module 24, for receiving Slide Group before driving slide assemblies retraction is contained in the first position of ontology
The sliding fault-signal of part.
Starting module 25, for starting in electronic device for protecting the guard assembly of slide assemblies.
It should be noted that driving assembly described in the aforementioned fall arrest control method embodiment for concentrating on slide assemblies
And slide assemblies, it is also applied for the fall arrest control device of the slide assemblies of the embodiment of the present invention, no longer it is implemented carefully herein
Section and technical effect repeat.
In order to realize above-described embodiment, the invention also provides a kind of electronic devices, wherein-Fig. 4 referring to Fig.1, electronics dress
It sets including ontology 10, detection components 30 and driving assembly 50, driving assembly 50 is being contained in ontology for controlling slide assemblies
First position and from ontology expose the second position between slide, electronic device further includes:Memory 70 and slide assemblies are electrical
The processor 60 of connection and it is stored in the computer program that can be run on memory 70 and on a processor, processor 60 executes journey
When sequence, the fall arrest control method of the slide assemblies as described in previous embodiment is realized.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of computer readable storage medium, stores thereon
There is computer program, the fall arrest control of the slide assemblies as described in preceding method embodiment is realized when which is executed by processor
Method processed.
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 (10)
1. a kind of fall arrest control method of slide assemblies, which is characterized in that the slide assemblies are used for electronic device, the electricity
Sub-device includes ontology and driving assembly, and the driving component is used to control the slide assemblies and is being contained in the of the ontology
One position and from the ontology expose the second position between slide, the fall arrest control method includes the following steps:
The electronic device athletic posture is monitored, when detecting that the electronic device is in free falling body state, described in detection
The state of slide assemblies;
If knowing that the slide assemblies are in from what the ontology exposed skids off state, target universal input/output interface is set
It is set to low level state;
Interrupt processing function is triggered according to the low level state of the target universal input/output interface, the driving component is set
Preset maximum speed is set, drives the slide assemblies to retract the first position for being contained in the ontology, and described in No starting
Variable speed operation of the driving assembly to the slide assemblies.
2. the method as described in claim 1, which is characterized in that the monitoring electronic device athletic posture, including:
According to the detected signal value of predeterminated frequency acquisition gravity sensor output;
Three adjacent detected signal values are calculated according to preset algorithm, if calculated result meets preset condition, are judged
The electronic device is in free falling body state.
3. the method as described in claim 1, which is characterized in that be contained in described in the driving slide assemblies retraction
Before the first position of body, further include:
Receive the sliding fault-signal of the slide assemblies;
Start in the electronic device for protecting the guard assembly of the slide assemblies.
4. method as claimed in claim 3, which is characterized in that protection shell is contained in the ontology, described in the starting
It is used to protect the guard assembly of the slide assemblies in electronic device, including:
Start the protection shell and skid off the protective position exposed from the ontology, wherein the protective position is higher than described
The second position, the slide assemblies are contained in the space that the protective shell body is formed.
5. the method as described in claim 1, which is characterized in that after the state of the detection slide assemblies, also wrap
It includes:
If knowing, the slide assemblies are in the first position for being contained in the ontology, forbid the driving component to the cunning
The driving operation of dynamic component.
6. a kind of fall arrest control device of slide assemblies, which is characterized in that the slide assemblies are used for electronic device, the electricity
Sub-device includes ontology and driving assembly, and the driving component is used to control the slide assemblies and is being contained in the of the ontology
One position and from the ontology expose the second position between slide, the fall arrest control device includes:
Detection module, for monitoring the electronic device athletic posture, when detecting that the electronic device is in freely falling body shape
When state, the state of the slide assemblies is detected;
Setup module, for know the slide assemblies be in from the ontology expose when skidding off state, target is general
Input/output interface is set as low level state;
Processing module is right for triggering interrupt processing function according to the low level state of the target universal input/output interface
Preset maximum speed is arranged in the driving component, and the slide assemblies is driven to retract the first position for being contained in the ontology,
And No starting the driving component is to the variable speed operation of the slide assemblies.
7. device as claimed in claim 6, which is characterized in that the detection module, including:
Output unit, for the detected signal value according to predeterminated frequency acquisition gravity sensor output;
Computing unit, for being calculated according to preset algorithm three adjacent detected signal values;
Judging unit, for when calculated result meets preset condition, judging that the electronic device is in free falling body state.
8. device as claimed in claim 6, which is characterized in that further include:
Receiving module, for receiving before the driving slide assemblies retraction is contained in the first position of the ontology
The sliding fault-signal of the slide assemblies;
Starting module, for starting in the electronic device for protecting the guard assembly of the slide assemblies.
9. a kind of electronic device, which is characterized in that the electronic device includes ontology, slide assemblies and driving assembly, the drive
Dynamic component is used to control the slide assemblies in the first position for being contained in the ontology and the second exposed from the ontology
It is slided between setting, the electronic device further includes:Memory, with the slide assemblies be electrically connected processor and be stored in
On reservoir and the computer program that can run on a processor, when the processor executes described program, such as claim is realized
The fall arrest control method of any slide assemblies in 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The fall arrest control method such as slide assemblies as claimed in any one of claims 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810590259.4A CN108924287B (en) | 2018-06-08 | 2018-06-08 | Anti-falling control method and device for sliding assembly and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810590259.4A CN108924287B (en) | 2018-06-08 | 2018-06-08 | Anti-falling control method and device for sliding assembly and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108924287A true CN108924287A (en) | 2018-11-30 |
CN108924287B CN108924287B (en) | 2020-12-15 |
Family
ID=64418742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810590259.4A Active CN108924287B (en) | 2018-06-08 | 2018-06-08 | Anti-falling control method and device for sliding assembly and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924287B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618693A (en) * | 2019-08-19 | 2019-12-27 | 武汉华星光电半导体显示技术有限公司 | Display device |
CN111953822A (en) * | 2019-05-15 | 2020-11-17 | 华硕电脑股份有限公司 | Electronic device |
WO2023245347A1 (en) * | 2022-06-20 | 2023-12-28 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Imaging device and imaging device control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206135997U (en) * | 2016-09-09 | 2017-04-26 | 广东欧珀移动通信有限公司 | Terminal protection device and mobile terminal |
CN106778358A (en) * | 2016-11-28 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of guard method, device and electronic equipment |
US9715257B2 (en) * | 2014-04-18 | 2017-07-25 | Apple Inc. | Active screen protection for electronic device |
CN107872582A (en) * | 2017-11-20 | 2018-04-03 | 上海理工大学 | A kind of mobile phone shatter-resistant self-protecting device and method |
CN108093099A (en) * | 2017-11-07 | 2018-05-29 | 广东欧珀移动通信有限公司 | Mobile terminal falling protection method and system and mobile terminal |
-
2018
- 2018-06-08 CN CN201810590259.4A patent/CN108924287B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9715257B2 (en) * | 2014-04-18 | 2017-07-25 | Apple Inc. | Active screen protection for electronic device |
CN206135997U (en) * | 2016-09-09 | 2017-04-26 | 广东欧珀移动通信有限公司 | Terminal protection device and mobile terminal |
CN106778358A (en) * | 2016-11-28 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of guard method, device and electronic equipment |
CN108093099A (en) * | 2017-11-07 | 2018-05-29 | 广东欧珀移动通信有限公司 | Mobile terminal falling protection method and system and mobile terminal |
CN107872582A (en) * | 2017-11-20 | 2018-04-03 | 上海理工大学 | A kind of mobile phone shatter-resistant self-protecting device and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111953822A (en) * | 2019-05-15 | 2020-11-17 | 华硕电脑股份有限公司 | Electronic device |
CN110618693A (en) * | 2019-08-19 | 2019-12-27 | 武汉华星光电半导体显示技术有限公司 | Display device |
WO2023245347A1 (en) * | 2022-06-20 | 2023-12-28 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Imaging device and imaging device control method |
Also Published As
Publication number | Publication date |
---|---|
CN108924287B (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924287A (en) | Fall arrest control method, device and the electronic device of slide assemblies | |
US7180425B2 (en) | Drop detection device or abnormality detection device and portable apparatus equipped with said device | |
CN109561244A (en) | Mobile terminal and photographic device | |
EP3627730B1 (en) | Radio frequency interference processing method and electronic device | |
CN107990978A (en) | Environment light detection method, device, storage medium and electronic equipment | |
CN106933425B (en) | Method and device for preventing mistaken touch | |
CN105681553B (en) | Handheld terminal and misoperation preventing method thereof | |
CN113031840B (en) | False triggering prevention method and device for wrist-worn device, electronic device and storage medium | |
CN108833623B (en) | Sliding control method and device of sliding assembly and electronic device | |
KR102166832B1 (en) | Apparatus and Method for controlling portable device with flip cover | |
CN107917755A (en) | Environment light detection method, device, storage medium and electronic equipment | |
EP3503516B1 (en) | Capturing method and ralated products | |
CN103631494A (en) | Information processing method and electronic equipment | |
CN104484049A (en) | Information processing method and electronic equipment | |
JP6095736B2 (en) | Electronic device system, electronic device cover, and electronic device | |
CN107300417A (en) | Detection method, device, storage medium and the terminal of ambient light | |
JP7254929B2 (en) | Slide compensation method and apparatus for slide component | |
CN108965580A (en) | Fall arrest control method, device and the electronic device of slide assemblies | |
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 | |
CN108833697A (en) | Control method, control assembly and the electronic equipment of slide assemblies | |
CN108390961A (en) | Touch-responsive method, apparatus, readable storage medium storing program for executing and mobile terminal | |
CN108174086A (en) | Image pickup method and Related product | |
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 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |