CN108965580B - Anti-falling control method and device for sliding assembly and electronic device - Google Patents

Anti-falling control method and device for sliding assembly and electronic device Download PDF

Info

Publication number
CN108965580B
CN108965580B CN201810590261.1A CN201810590261A CN108965580B CN 108965580 B CN108965580 B CN 108965580B CN 201810590261 A CN201810590261 A CN 201810590261A CN 108965580 B CN108965580 B CN 108965580B
Authority
CN
China
Prior art keywords
sliding
assembly
sliding assembly
electronic device
driving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810590261.1A
Other languages
Chinese (zh)
Other versions
CN108965580A (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 CN201810590261.1A priority Critical patent/CN108965580B/en
Publication of CN108965580A publication Critical patent/CN108965580A/en
Application granted granted Critical
Publication of CN108965580B publication Critical patent/CN108965580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The invention discloses a falling prevention control method and device for a sliding assembly and an electronic device, wherein the method comprises the following steps: monitoring the motion posture of the electronic device, and detecting the state of the sliding assembly when the electronic device is detected to be in a free-fall state; if the sliding assembly is in a sliding-out state exposed from the body, sending a free falling body event mark to an application end of the operating system; and sending a maximum speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to the first position accommodated in the body, and forbidding starting the variable speed operation of the driving assembly on the sliding assembly. Therefore, the influence of the related components on the screen occupation ratio is reduced through the sliding component, and when the electronic device is detected to freely fall, the sliding component is immediately triggered to retract, so that the sliding component is timely and effectively protected.

Description

Anti-falling control method and device for sliding assembly and electronic device
Technical Field
The invention relates to the technical field of electronics, in particular to a falling prevention control method and device for a sliding assembly and an electronic device.
Background
With the popularization of portable electronic devices such as smartphones, the optimization of the aesthetics and functionality of the electronic devices is also becoming a great trend, for example, the increase of the screen occupation ratio of the electronic devices is a popular trend.
In the related art, a front camera or other devices are mounted in a front panel of an electronic device to provide a user with a front camera shooting service, and therefore, a contradiction between occupation of a mounting space of the front camera on the front panel and improvement of a screen occupation ratio is urgently needed to be solved.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, the present invention proposes a fall prevention control method for a slide assembly, the slide assembly being used in an electronic device, the electronic device including a body and a driving assembly for controlling the slide assembly to slide between a first position housed in the body and a second position exposed from the body, the fall prevention control method including the steps of: monitoring the motion posture of the electronic device, and detecting the state of the sliding assembly when the electronic device is detected to be in a free-fall state; if the sliding assembly is in a sliding-out state exposed from the body, sending a free fall event mark to an application end of an operating system; and sending a highest speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to the first position accommodated in the body, and forbidding starting of the driving assembly to carry out variable speed operation on the sliding assembly.
In order to achieve the above object, a fall protection control device for a sliding assembly is provided in an embodiment of a second aspect of the present invention, the sliding assembly is used for an electronic device, the electronic device includes a body and a driving assembly, the driving assembly is used for controlling the sliding assembly to slide between a first position accommodated in the body and a second position exposed from the body, the fall protection control device includes: the detection module is used for monitoring the motion posture of the electronic device and detecting the state of the sliding assembly when the electronic device is detected to be in a free-falling body state; the sending module is used for sending a free fall event mark to an application end of an operating system when the sliding assembly is in a sliding-out state exposed out of the body; and the processing module is used for sending a highest speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to the first position accommodated in the body, and forbidding starting of the driving assembly to perform speed change operation on the sliding assembly.
In order to achieve the above object, a third aspect of the present invention provides an electronic device, including a main body, a sliding component, and a driving component, where the driving component is configured to control the sliding component to slide between a first position housed in the main body and a second position exposed from the main body, and the electronic device further includes: the anti-falling control method for the sliding assembly comprises a memory, a processor electrically connected with the sliding assembly and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the anti-falling control method for the sliding assembly is realized.
To achieve the above object, a fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a fall protection control method for a sliding assembly according to the foregoing method embodiment.
The technical scheme provided by the invention at least comprises the following beneficial effects:
monitoring the motion posture of the electronic device, detecting the state of the sliding assembly when detecting that the electronic device is in a free falling body state, sending a free falling body event mark to an application end of an operating system if the sliding assembly is in a sliding-out state exposed out of the body, sending a maximum speed setting instruction to the driving assembly according to the free falling body event mark, driving the sliding assembly to retract to a first position contained in the body, and forbidding to start the driving assembly to perform variable speed operation on the sliding assembly. Therefore, the influence of the related components on the screen occupation ratio is reduced through the sliding component, and when the electronic device is detected to freely fall, the sliding component is immediately triggered to retract, so that the sliding component is effectively protected.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic view of an electronic device in a second position according to an embodiment of the present invention;
FIG. 2 is a schematic view of an electronic device in a first position according to an embodiment of the present invention;
FIG. 3 is a schematic view of an electronic device in a third position according to an embodiment of the present invention;
FIG. 4 is a schematic structural view of a detection assembly according to an embodiment of the present invention;
FIG. 5 is a usage scenario diagram of an electronic device according to an embodiment of the invention;
FIG. 6 is a diagram of another usage scenario of an electronic device according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 8 is a flow chart of a method of fall arrest control of a sliding assembly according to one embodiment of the present invention;
FIG. 9 is a schematic diagram of an electronic device with a protective housing slid out according to one embodiment of the invention;
FIG. 10 is a schematic structural view of a fall arrest control device of the sliding assembly in accordance with one embodiment of the present invention;
FIG. 11 is a schematic structural view of a fall arrest control device for a slider assembly according to another embodiment of the present invention;
figure 12 is a schematic diagram of the construction of a fall arrest control device for a slider assembly according to a further embodiment of the present invention.
Description of the main element symbols:
the electronic device 100, the body 10, the housing 12, the display component 14, the cover 142, the sliding slot 16, the groove 162, the sliding component 20, the bearing 22, the threaded hole 24, the rotary screw 26, the detection component 30, the magnetic field generating component 32, the hall element 34, the front camera 42, the earpiece 44, the driving component 50, the driving motor 52, the processor 60, the memory 70, the first position a, the second position B, and the third position C.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
A fall prevention control method, device, and electronic device of a slide assembly according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
In order to more clearly describe the fall protection control method of the sliding assembly according to the embodiment of the present invention, the electronic device of the present invention will be first described in the following.
Specifically, in order to reduce the influence of hardware equipment such as a front camera and the like installed on a front panel of an electronic device on the screen occupation ratio, the invention provides a sliding assembly, the sliding assembly controls the front camera and the like to slide out when needed and is accommodated in an electronic device body when not needed, and therefore, the front panel of the electronic device is not occupied when the functional service of the front camera and the like is not carried out.
Specifically, as shown in fig. 1 to 7, the electronic device 100 according to the embodiment of the present invention includes a body 10, a sliding assembly 20, and a driving assembly 50. The sliding member 20 is configured to slide between a first position a accommodated in the body 10 and a second position B exposed from the body 10. The driving assembly 50 is used for driving the sliding assembly 20 to slide between a first position where the sliding assembly is accommodated in the body and a second position where the sliding assembly is exposed out of the body.
Of course, in order to make the driving assembly 50 know that the driving sliding assembly 20 slides to the corresponding position, the electronic device necessarily further includes a detecting assembly 30 for detecting the current position of the sliding assembly 20, in the embodiment of the present invention, the detecting assembly 30 is used for detecting the position of the sliding assembly 20, the detecting assembly 30 includes a magnetic field generating element 32, a hall element 34 and a processor 60, the magnetic field generating element 32 and the hall element 34 are respectively fixed on the body 10 and the sliding assembly 20, and the processor 60 is used for receiving the detection signal value output by the hall element 34 and determining the current relative position of the sliding assembly 20 with respect to the body 10 according to the detection signal value.
It should be noted that "the magnetic field generating element 32 and the hall element 34 are fixed on the body 10 and the sliding assembly 20 respectively" herein includes two cases, that is, the magnetic field generating element 32 is fixed on the body 10, the hall element 34 is fixed on the sliding assembly 20, that is, the magnetic field generating element 32 is fixed on the sliding assembly 20, and that the hall element 34 is fixed on the body 10. Further, the magnetic field generating element 32 and the hall element 34 may be disposed to be opposed in the vertical direction or may be disposed to be opposed in the horizontal direction. That is, the specific positions of the magnetic field generating element 32 and the hall element 34 are not limited as long as the magnetic field generating element 32 and the hall element 34 can generate relative movement.
In some embodiments, the body 10 is formed with a slide slot 16, and the sliding assembly 20 is received in the slide slot 16 in the first position a. In this manner, the sliding assembly 20 may be caused to slide between the first position a and the second position B via the sliding channel 16.
Specifically, the body 10 includes a housing 12 and a display assembly 14, and the housing 12 and the display assembly 14 are combined to constitute an enclosed structure. The slide slot 16 opens into the housing 12 to allow the slide assembly 20 to slide back and out. It will be appreciated that the chute 16 may be open on either side of the housing 12. Preferably, the chute 16 opens at the top edge of the housing 12. Thus, the use habit of the user can be met.
The display assembly 14 includes a touch panel (not shown) and a cover 142. The touch panel includes a display module (not shown) and a touch layer (not shown) disposed on the display module. The display Module is, for example, a liquid crystal display Module (LCD Module, LCM), and of course, the display Module may also be a flexible display Module. The touch layer is used for receiving touch input of a user to generate a signal for controlling content displayed by the display module and a signal for controlling the sliding of the sliding component 20.
The material of the cover plate 142 may be made of a light-transmitting material such as glass, ceramic, or sapphire. Since the cover 142 is an input part of the electronic device 100, the cover 142 is often touched by a collision or a scratch. For example, when the user places the electronic device 100 in a pocket, the cover plate 142 may be scratched by a key in the pocket of the user and damaged. Therefore, the material of the cover plate 142 may be a material with a relatively high hardness, such as the above sapphire material. Or a hardened layer may be formed on the surface of the cover plate 142 to improve the scratch resistance of the cover plate 142.
The touch panel and the cover plate 142 are adhered and fixed together by, for example, optical Adhesive (OCA), and the optical Adhesive not only adheres and fixes the touch panel and the cover plate 142, but also can transmit light emitted by the touch panel.
To more clearly illustrate the function of the sliding assembly 20 according to the embodiment of the present invention, referring to fig. 5, in some embodiments, the electronic device 100 includes the front camera 42, the sliding assembly 20 includes the carrier 22, and the front camera 42 is disposed on the carrier 22. In this manner, the front camera 42 can slide with the slide assembly 20. Of course, the user may turn on the front camera 42 and turn off the front camera 42 as the trigger signal, that is, when the user turns on the front camera 42, the trigger sliding assembly 20 slides out, and when the user turns off the front camera 42, the trigger sliding assembly 20 slides back. Therefore, the user can use the front camera conveniently only by opening or closing the front camera according to the existing habit without performing other operations on the sliding assembly 20.
In addition to the front camera 42, other functional devices 40 may be carried on the carrier 22, such as light sensors, proximity sensors, and an earpiece 44, for example, as shown in fig. 1, for the functional devices 40. These functional devices 40 may be exposed from the body 10 to operate normally as the sliding assembly 20 slides out according to the user's input, or may be received in the body 10 as the sliding assembly 20 slides back according to the user's input. Therefore, through holes can be formed in the display assembly 14 as few as possible, which is beneficial to meeting the design requirement of the whole screen of the electronic device 100.
Specifically, when the light sensor is carried on the carrier 22, the light sensor may be disposed on the top of the carrier 22, that is, when the sliding assembly 20 is completely accommodated in the sliding slot 16, the light sensor may still be exposed from the top of the carrier 22, so as to sense light in real time.
Referring to fig. 6, when the proximity sensor and the receiver 44 are carried on the carrier 22, the user can take the call and hang up the call as the trigger signal, that is, when the user takes the call, the sliding assembly 20 is triggered to slide out, and when the user hangs up the call, the sliding assembly 20 is triggered to slide back. Therefore, the user only needs to answer or hang up the phone according to the existing habit without performing other operations on the sliding assembly 20, and the use of the user can be facilitated.
It will be appreciated that a plurality of functional devices 40 may be carried on the same carrier 22, or may be carried on a plurality of carriers. When a plurality of functional devices 40 are carried on the same carrier 22, the plurality of functional devices 40 may be arranged longitudinally, and the processor 60 may control whether the functional devices 40 disposed at the lower portion of the carrier 22 are exposed by controlling the distance by which the sliding assembly 20 slides out. When a plurality of functional devices 40 are carried on the same plurality of carriers 22, the processor 60 may select the functional device 40 to be exposed by controlling the sliding of one of the carriers 22.
Referring to fig. 7, in some embodiments, the sliding assembly 20 includes a threaded bore 24 disposed in a central portion of the carrier 22 and a rotating lead screw 26 engaged with the threaded bore 24. The chute 16 includes a recess 162 located opposite the threaded aperture 24 and at the bottom of the chute 16. Electronic device 100 includes a drive assembly 50 disposed in recess 162. The drive assembly 50 includes a drive motor 52 coupled to a processor 60 and an output shaft (not shown) coupled to the bottom of the rotary screw 26.
It is understood that the processor 60 may control the sliding of the slide assembly 20 by controlling the drive motor 52. When the user commands the sliding assembly 20 to slide from the first position a to the second position B, the processor 60 controls the driving motor 52 to rotate forward, so that the output shaft drives the rotating screw 26 to rotate in the threaded hole 24, and the sliding assembly 20 slides from the first position a to the second position B. When the user commands the sliding assembly 20 to slide from the second position B to the first position a, the processor 60 controls the driving motor 52 to rotate in reverse, so that the output shaft drives the rotating screw 26 to rotate in the threaded hole 24, and the sliding assembly 20 slides from the second position B to the first position a. It is to be noted that "from the first position a to the second position B" and "from the second position B to the first position a" herein refer to the direction of the sliding, and do not refer to the start point and the end point of the sliding.
The electronic device 100 of the embodiment of the present invention determines the current relative position of the slide assembly 20 using the hall element 34 and the magnetic field generating element 32, and can detect the state of the slide assembly 20 in real time when the functional device 40 such as a front camera is carried on the slide assembly 20, thereby determining the position of the functional device 40.
It is understood that the functional device 40 such as the front camera 42 needs to be exposed from the main body 10, otherwise it cannot operate normally. The electronic device 100 according to the embodiment of the present invention has the functional device 40 carried on the sliding assembly, so that the functional device 40 is accommodated in the main body 10 when the operation is not required, and is exposed from the main body 10 along with the sliding assembly 20 when the operation is required. In this way, it is not necessary to provide a through hole for exposing the functional device 40 such as the front camera 42 on the display module 14, so that the screen occupation ratio is increased, and the user experience is improved.
However, in practical applications, there are some application scenarios, and when the electronic device falls, the sliding component sliding out of the electronic device body is more easily damaged by impact, so that how to slide the sliding component into the electronic device body in time when the electronic device falls also becomes a technical problem to be solved by the present invention.
The following describes in detail a fall arrest control method for a sliding assembly:
FIG. 8 is a flow chart of a method of fall arrest control of a slider assembly according to one embodiment of the present invention, as shown in FIG. 8, comprising the steps of:
step 101, monitoring the motion posture of the electronic device, and detecting the state of the sliding assembly when the electronic device is detected to be in a free-fall state.
It should be understood that when the electronic device falls, it can be detected by monitoring the motion posture thereof, for example, when it is detected that the electronic device is in a weightless state for a long time, it is determined that the electronic device is in a free-fall state, wherein a change of the acceleration of the electronic device can be detected by an acceleration sensor, or a change of the motion angle of the electronic device can be detected by a gyroscope, so as to determine whether the electronic device is in a free-fall state.
In an embodiment of the present invention, the detection signal values output by the gravity sensor are collected according to a preset frequency, where the preset frequency is related to a processing capability of a processor, and the stronger the capability of the processor is, the higher the preset frequency can be, the adjacent three detection signal values are calculated according to a preset algorithm, and if a calculation result meets a preset condition, it is determined that the electronic device is in a free-fall state, for example, an average value of the adjacent three detection signal values is calculated, and if the average value is less than a certain value, it is determined that the electronic device is in the free-fall state.
Specifically, when the electronic device is in a free fall state, the state of the sliding assembly is detected, so that when the sliding assembly is detected to be in a sliding-out state, the sliding assembly is protected.
When the sliding assembly slides from the first position to the second position, if the detected detection signal value is gradually increased, whether the sliding assembly is in the slide-out state can be determined by detecting the current detection signal value and whether the current detection signal value is larger than the reference signal value of the sliding assembly in the first position.
In another embodiment of the invention, when the sliding assembly is known to be in the first position accommodated in the body, the driving operation of the driving assembly on the sliding assembly is prohibited, so that the sliding assembly accommodated in the resistance device body is not impacted when the electronic device falls.
And 102, if the sliding assembly is in a sliding-out state exposed from the body, sending a free fall event mark to an application end of the operating system.
It is emphasized that the slide assembly in the out position exposed from the body may be the relative position when slide assembly 20 is fully slid out from slide channel 16 in fig. 1, i.e., second position B, or may be the relative position when slide assembly 20 is slid out from slide channel 16 in fig. 3 between the first position and the second position, i.e., third position C.
The free-fall event mark may be a preset code for identifying a free-fall event, a preset text message for identifying a free-fall event, or the like, according to the non-use of the application scenario, and is not limited herein.
And 103, sending a highest speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to the first position accommodated in the body, and forbidding starting the speed change operation of the driving assembly on the sliding assembly.
Wherein the highest speed is the highest speed that the drive assembly can provide when the driving force can support.
Specifically, a maximum speed setting instruction is sent to the driving assembly according to the free fall event mark, the sliding assembly is driven to retract to the first position contained in the body, the driving assembly is forbidden to start the variable speed operation of the driving assembly on the sliding assembly, the sliding assembly is controlled to be contained in the electronic device body at a high speed, and the sliding assembly is effectively protected.
Therefore, according to the anti-falling control method of the sliding assembly in the embodiment of the invention, when the sliding assembly is detected to be in the sliding-out state exposed out of the body, the free falling event mark is immediately reported to the operating system, and the operating system controls the driving assembly to control the sliding assembly to be directly accommodated in the electronic device body at a higher speed at the highest speed, so that the longer time caused by the fact that the sliding assembly is accommodated in the electronic device in a variable speed manner is avoided, and the retraction response time of the sliding assembly in the free falling process is effectively shortened.
Of course, due to the complexity of the real-world situation, there is a possibility that the slide-out member may not slide to a predetermined position, such as jamming. Therefore, in order to protect the slide module in time, measures are also required to protect the slide module in the event of a failure.
In this embodiment, when the sliding fault signal of the sliding assembly is detected, for example, the sliding assembly cannot move when the position sensor detects that the sliding assembly is at the third position as shown in fig. 3, and for example, when the hall element detects that the value of the detection signal acquired for multiple times is not changed or changes slowly between the first position and the second position, the sliding fault signal occurs.
At this moment, in order to avoid troubleshooting untimely, start the protective assembly who is used for protecting sliding assembly among the electron device, wherein, this protective assembly can be for enclosing protective housing such as rubber sleeve, spring assembly of sliding assembly, starts protective assembly and can cushion the impact, protects sliding assembly.
In an embodiment of the invention, when the protection component is a protection housing accommodated in the electronic device body, as shown in fig. 9, the protection housing is started to slide out to a protection position exposed from the body, wherein the protection position is higher than the second position, and the sliding component is accommodated in a space formed by the protection housing to protect the sliding component from being impacted.
To sum up, the anti-falling control method for the sliding assembly according to the embodiment of the present invention monitors the movement posture of the electronic device, detects the state of the sliding assembly when the electronic device is detected to be in the free-fall state, sends a free-fall event flag to the application end of the operating system if the sliding assembly is detected to be in the slip-out state exposed from the body, sends a maximum speed setting instruction to the driving assembly according to the free-fall event flag, drives the sliding assembly to retract to the first position accommodated in the body, and prohibits the driving assembly from starting the variable speed operation of the sliding assembly. Therefore, the influence of the related components on the screen occupation ratio is reduced through the sliding component, and when the electronic device is detected to freely fall, the sliding component is immediately triggered to retract, so that the sliding component is effectively protected.
In order to achieve the above embodiments, the present invention further provides a fall protection control device for a sliding assembly, the sliding assembly being used in an electronic device, the electronic device including a body and a driving assembly, the driving assembly being used to control the sliding assembly to slide between a first position accommodated in the body and a second position exposed from the body, as shown in fig. 10, the fall protection control device including: a detection module 21, a transmission module 22 and a processing module 23.
The detection module 21 is configured to monitor a motion posture of the electronic device, and detect a state of the sliding assembly when detecting that the electronic device is in a free-fall state.
And the sending module 22 is configured to send a free fall event flag to the operating system application terminal when it is known that the sliding component is in a sliding-out state exposed from the body.
And the processing module 23 is configured to send a maximum speed setting instruction to the driving assembly according to the free fall event flag, drive the sliding assembly to retract to the first position accommodated in the body, and prohibit starting of a speed change operation of the driving assembly on the sliding assembly.
In an embodiment of the present invention, as shown in fig. 11, the detection module 21 includes an output unit 211, a calculation unit 212, and a determination unit 213, wherein the output unit 211 is configured to collect a detection signal value output by the gravity sensor according to a preset frequency.
And a calculating unit 212, configured to calculate three adjacent detection signal values according to a preset algorithm.
The determining unit 213 is configured to determine that the electronic apparatus is in a free-fall state when the calculation result satisfies a preset condition.
In one embodiment of the invention, as shown in fig. 12, the apparatus further comprises a receiving module 24 and an initiating module 25, based on that shown in fig. 10, wherein,
and a receiving module 24 for receiving a sliding fault signal of the sliding assembly before driving the sliding assembly to retract to the first position of the body.
And the starting module 25 is used for starting a protection component for protecting the sliding component in the electronic device.
It should be noted that, the driving assembly and the sliding assembly described in the foregoing embodiments of the anti-falling control method for a sliding assembly are also applicable to the anti-falling control device for a sliding assembly in the embodiments of the present invention, and details and technical effects thereof are not described herein again.
In order to implement the above embodiments, the present invention further provides an electronic device, wherein, referring to fig. 1 to 7, the electronic device includes a main body 10, a detecting component 30, and a driving component 50, the driving component 50 is configured to control the sliding component to slide between a first position housed in the main body and a second position exposed from the main body, and the electronic device further includes: a memory 70, a processor 60 electrically connected to the sliding assembly and a computer program stored in the memory 70 and operable on the processor, wherein the processor 60 executes the program to implement the method for controlling the falling of the sliding assembly as described in the previous embodiments.
In order to implement the above embodiments, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the fall prevention control method for a sliding assembly according to the foregoing method embodiments.
In the description herein, references to the terms "one embodiment," "certain embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (7)

1. A falling prevention control method of a sliding assembly is characterized in that the sliding assembly is used for an electronic device, the electronic device comprises a body, a detection Hall element and a driving assembly, the driving assembly is used for controlling the sliding assembly to slide between a first position where the sliding assembly is contained in the body and a second position where the sliding assembly is exposed out of the body, and the falling prevention control method comprises the following steps:
monitoring the motion posture of the electronic device, and detecting the state of the sliding assembly when the electronic device is detected to be in a free-fall state; determining whether the sliding assembly is in a sliding-out state or not according to the magnitude relation between the current detection signal value detected by the detection Hall element and the reference signal value of the sliding assembly in the sliding-out state;
if the sliding assembly is in a sliding-out state exposed from the body, sending a free fall event mark to an application end of an operating system;
sending a highest speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to a first position accommodated in the body, and forbidding starting of the driving assembly to perform speed change operation on the sliding assembly;
before the driving the sliding component retracts to be accommodated in the first position of the body, the device further comprises:
receiving a slip fault signal of the slip assembly;
starting a protection component used for protecting the sliding component in the electronic device;
a protection housing is accommodated in the body, and the starting of the protection component for protecting the sliding component in the electronic device includes:
and starting the protective shell to slide out to a third position exposed from the body, wherein the third position is higher than the second position, and the sliding assembly is accommodated in a space formed by the protective shell.
2. The method of claim 1, wherein the monitoring the electronic device motion gesture comprises:
collecting a detection signal value output by a gravity sensor according to a preset frequency;
and calculating three adjacent detection signal values according to a preset algorithm, and if the calculation result meets a preset condition, judging that the electronic device is in a free-fall state.
3. The method of claim 1, after said detecting the state of the sliding assembly, further comprising:
and if the sliding assembly is in the first position accommodated in the body, the driving operation of the sliding assembly by the driving assembly is forbidden.
4. The utility model provides a slip subassembly prevent controlling means that falls which characterized in that, the slip subassembly is used for electronic device, electronic device includes the body, detects hall element and drive assembly, drive assembly is used for controlling the slip subassembly is in accept in the first position of body with certainly the second position that the body exposes slides between, prevent that falling controlling means includes:
the detection module is used for monitoring the motion posture of the electronic device and detecting the state of the sliding assembly when the electronic device is detected to be in a free-falling body state; determining whether the sliding assembly is in a sliding-out state or not according to the magnitude relation between the current detection signal value detected by the detection Hall element and the reference signal value of the sliding assembly in the sliding-out state;
the sending module is used for sending a free fall event mark to an application end of an operating system when the sliding assembly is in a sliding-out state exposed out of the body;
the processing module is used for sending a highest speed setting instruction to the driving assembly according to the free fall event mark, driving the sliding assembly to retract to a first position accommodated in the body, and forbidding starting of the driving assembly to perform speed change operation on the sliding assembly;
the receiving module is used for receiving a sliding fault signal of the sliding assembly before the sliding assembly is driven to retract and be accommodated in the first position of the body;
the starting module is used for starting a protection component used for protecting the sliding component in the electronic device;
accept protection casing in the body, the start module specifically is used for:
and starting the protective shell to slide out to a third position exposed from the body, wherein the third position is higher than the second position, and the sliding assembly is accommodated in a space formed by the protective shell.
5. The apparatus of claim 4, wherein the detection module comprises:
the output unit is used for collecting a detection signal value output by the gravity sensor according to a preset frequency;
the calculating unit is used for calculating three adjacent detection signal values according to a preset algorithm;
and the judging unit is used for judging that the electronic device is in a free-falling body state when the calculation result meets a preset condition.
6. An electronic device, comprising a body, a sliding component, and a driving component, wherein the driving component is configured to control the sliding component to slide between a first position housed in the body and a second position exposed from the body, and the electronic device further comprises: a memory, a processor electrically connected to the sliding assembly and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of controlling fall arrest of a sliding assembly according to any of claims 1 to 3.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of fall arrest control of a sliding assembly according to any one of claims 1-3.
CN201810590261.1A 2018-06-08 2018-06-08 Anti-falling control method and device for sliding assembly and electronic device Active CN108965580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810590261.1A CN108965580B (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
CN201810590261.1A CN108965580B (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
CN108965580A CN108965580A (en) 2018-12-07
CN108965580B true CN108965580B (en) 2021-01-01

Family

ID=64488195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810590261.1A Active CN108965580B (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) CN108965580B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953866B (en) * 2019-05-15 2021-11-26 华硕电脑股份有限公司 Electronic device
CN114839777A (en) * 2022-05-19 2022-08-02 北京蜂巢世纪科技有限公司 Intelligent glasses, intelligent wearing system and control method for fall protection of intelligent glasses

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205510127U (en) * 2016-01-20 2016-08-24 陈章 Protection device is prevented falling by cell -phone
CN106170030A (en) * 2016-09-06 2016-11-30 广东欧珀移动通信有限公司 Fall protection devices and terminal
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7843190B2 (en) * 2005-12-16 2010-11-30 Asahi Kasei Emd Corporation Position detection apparatus
CN101498824A (en) * 2008-02-01 2009-08-05 佛山普立华科技有限公司 Imaging device and its use method
CN202632282U (en) * 2012-04-05 2012-12-26 福兴达科技实业(深圳)有限公司 Data recording equipment with drop security guard function
CN205510122U (en) * 2015-12-23 2016-08-24 重庆墨希科技有限公司 But visual cell -phone cover of flexibility touch -control
CN105425514A (en) * 2016-01-13 2016-03-23 广东小天才科技有限公司 Protection method and apparatus of camera lens, and intelligent device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9715257B2 (en) * 2014-04-18 2017-07-25 Apple Inc. Active screen protection for electronic device
CN205510127U (en) * 2016-01-20 2016-08-24 陈章 Protection device is prevented falling by cell -phone
CN106170030A (en) * 2016-09-06 2016-11-30 广东欧珀移动通信有限公司 Fall protection devices and terminal
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

Also Published As

Publication number Publication date
CN108965580A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108924287B (en) Anti-falling control method and device for sliding assembly and electronic device
US10291279B2 (en) Drop countermeasures for electronic device
EP2802972B1 (en) System and method for reducing occurrences of unintended operations in an electronic device
CN108833623B (en) Sliding control method and device of sliding assembly and electronic device
US9571150B2 (en) Screen protection using actuated bumpers
CN109246361B (en) Camera module control method and device
CN109547598B (en) Camera module control method and device
US20150301565A1 (en) Active screen protection for electronic device
CN108965580B (en) Anti-falling control method and device for sliding assembly and electronic device
US10627947B2 (en) Electronic device
CN108833699B (en) Electronic device and control method and device of sliding assembly of electronic device
JP7254929B2 (en) Slide compensation method and apparatus for slide component
EP3544269B1 (en) Method for detecting position of movable structure, and electronic device
CN108924286B (en) Electronic device and control method and device of sliding assembly of electronic device
US20140333591A1 (en) Salient control element and mobile device with salient control element
CN108833697B (en) Control method of sliding assembly, control assembly, electronic device and storage medium
CN107944308B (en) Electronic device and fall protection method thereof
CN108347523B (en) Electronic device, control method and apparatus thereof, and computer-readable storage medium
CN108924284B (en) Electronic device and control method and device of sliding assembly of electronic device
CN111193826A (en) Terminal protection method and device, storage medium and electronic equipment
CN110311996B (en) Control method of sliding-out assembly, detection assembly and electronic device
US9488988B2 (en) Push operation mechanism having tactile feedback
CN108897373B (en) Electronic device and control method and device of sliding assembly of electronic device
US9740358B2 (en) Electronic apparatus and operating method of electronic apparatus
CN110311997B (en) Position detection method of slide-out assembly, detection assembly and electronic device

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