CN108924289B - Control method and device for sliding mechanism, electronic device and storage medium - Google Patents

Control method and device for sliding mechanism, electronic device and storage medium Download PDF

Info

Publication number
CN108924289B
CN108924289B CN201810601788.XA CN201810601788A CN108924289B CN 108924289 B CN108924289 B CN 108924289B CN 201810601788 A CN201810601788 A CN 201810601788A CN 108924289 B CN108924289 B CN 108924289B
Authority
CN
China
Prior art keywords
sliding mechanism
application program
preset
sliding
electronic
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
CN201810601788.XA
Other languages
Chinese (zh)
Other versions
CN108924289A (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 CN201810601788.XA priority Critical patent/CN108924289B/en
Publication of CN108924289A publication Critical patent/CN108924289A/en
Application granted granted Critical
Publication of CN108924289B publication Critical patent/CN108924289B/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/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • 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
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method and a control device of a sliding mechanism, electronic equipment and a storage medium, wherein the method comprises the following steps: when it is monitored that a first application program running in a foreground of the electronic equipment returns to a background running, whether the first application program calls an electronic element is detected; if the fact that the first application program calls the electronic element is known, starting delay timing, and monitoring whether a preset timing interruption state is met within a preset delay time length; when the situation that the timing interruption state is not met in the delay duration is monitored, detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not; and if the sliding mechanism is in a state of sliding out from the first position to the preset position and the input/output interface related to the first application program is not called, controlling the sliding mechanism to slide back to the first position contained in the body from the preset position. Therefore, the automatic control sliding structure slides into the electronic equipment body, other operations of a user are not needed, and the user experience is improved.

Description

Control method and device for sliding mechanism, electronic device and storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and an apparatus for controlling a sliding mechanism, an electronic device, and a storage medium.
Background
In order to improve the user experience, the screen occupation ratio of electronic devices such as mobile terminals is getting larger and larger, and even the design of a full screen has been proposed.
In the prior art, in order to increase the screen occupation ratio, some electronic elements such as a front camera and an earphone arranged on the front panel of the electronic device are hidden, so that how to use and control the electronic elements originally arranged on the front panel becomes a problem to be solved urgently under different use scenes.
Disclosure of Invention
The invention provides a control method and device of a sliding mechanism, electronic equipment and a storage medium.
The invention discloses a control method of a sliding mechanism. The method is applied to electronic equipment, the electronic equipment comprises a body and the sliding mechanism, an electronic element is arranged on the sliding mechanism, the sliding mechanism is used for sliding between a first position accommodated in the body and a second position exposed from the body, and the control method comprises the following steps:
monitoring the process state of the electronic equipment;
when it is monitored that a first application program running in the foreground of the electronic equipment returns to the background running, detecting whether the first application program calls the electronic element or not;
if the fact that the first application program calls the electronic element is known, starting delay timing, and monitoring whether a preset timing interruption state is met within a preset delay time length;
when the situation that the timing interruption state is not met in the delay duration is monitored, detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not;
and if the sliding mechanism is in a state of sliding out from the first position to a preset position and the input/output interface related to the first application program is not called, controlling the sliding mechanism to slide back from the preset position to the first position contained in the body.
The invention discloses a control device of a sliding mechanism, which is applied to electronic equipment, wherein the electronic equipment comprises a body and the sliding mechanism, an electronic element is arranged on the sliding mechanism, the sliding mechanism is used for sliding between a first position accommodated in the body and a second position exposed from the body, and the control device comprises:
the first monitoring module is used for monitoring the process state of the electronic equipment;
the first detection module is used for detecting whether the first application program operating in the foreground of the electronic equipment calls the electronic element or not when the situation that the first application program operating in the foreground of the electronic equipment returns to the background operation is monitored;
the second monitoring module is used for starting delay timing and monitoring whether a preset timing interruption state is met within a preset delay time length or not if the fact that the first application program calls the electronic element is known;
the second detection module is used for detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not when the situation that the timing interruption state is not met in the delay duration is monitored;
and the control module is used for controlling the sliding mechanism to slide back from the preset position to the first position contained in the body if the control module learns that the sliding mechanism is in a state of sliding out from the first position to the preset position and the input/output interface related to the first application program is not called.
The invention discloses an electronic device, which comprises a body and a sliding mechanism, wherein an electronic element is arranged on the sliding mechanism, the sliding mechanism is used for sliding between a first position accommodated in the body and a second position exposed from the body, and the electronic device also comprises: the sliding mechanism comprises a memory, a processor electrically connected with the sliding mechanism and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the sliding mechanism control method of the embodiment is realized.
The present invention discloses a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a sliding mechanism control method according to a first aspect of the present invention.
The control method of the sliding mechanism in the embodiment of the invention detects whether a first application program running in a foreground of the electronic equipment calls an electronic element when the first application program is monitored to return to a background running, starts delayed timing if the first application program calls the electronic element, monitors whether a preset timing interruption state is met within a preset delay time, detects the state of the sliding mechanism and detects whether an input/output interface related to the first application program is called if the delay time is monitored, and controls the sliding mechanism to slide from a preset position to a first position contained in a body if the sliding mechanism is known to be in a state of sliding out of the first position to the preset position and the input/output interface related to the first application program is not called. Therefore, the automatic control sliding structure slides into the electronic equipment body, other operations are not needed by a user, the requirements of the user are met, and the user experience is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic view of an electronic device in a second position according to an embodiment of the invention;
FIG. 2 is a state diagram of an electronic device in a first position according to an embodiment of the invention;
FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 4 is another schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 5 is another schematic diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a flowchart illustrating a control method of the slide mechanism according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a detailed process for monitoring whether a predetermined timer interrupt status is met within a predetermined delay period;
FIG. 8 is a schematic flow chart illustrating a detailed process of monitoring whether a predetermined timer interrupt status is satisfied within a predetermined delay period;
fig. 9 is a flowchart illustrating a control method of the slide mechanism according to another embodiment of the present invention;
fig. 10 is a schematic structural view of a control device of a sliding structure according to an embodiment of the present invention.
Description of the main element symbols:
the electronic device 100, the body 10, the main board 12, the sliding groove 16, the groove 162, the sliding structure 20, the carrier 22, the threaded hole 24, the rotating lead screw 26, the memory 30, the processor 31, the magnet 32, the magnetic field detector 34, the electronic component 40, the camera 42, the earpiece 44, the driving apparatus 50, the driving motor 52, the distance sensor 70, the first distance sensor 71, the second distance sensor 72, the first position a, and the second position B.
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.
First, the electronic device 100 according to the present invention will be described in detail with reference to fig. 1 to 5.
As shown in fig. 1 to 5, the electronic device 100 includes a main body 10 and a sliding mechanism 20, the sliding mechanism 20 is provided with an electronic component 40, the sliding mechanism 20 is configured to slide between a first position a accommodated in the main body 10 and a second position B exposed from the main body, and the electronic device 100 further includes: a memory 30, a processor 31 electrically connected to the sliding mechanism 20, and a computer program stored in the memory 30 and executable on the processor 31, wherein the processor 31 is configured to execute a control method of the sliding mechanism, that is, the processor 31 is configured to execute: under the condition that the electronic element is called by an application program running in the foreground of the electronic equipment, controlling the sliding mechanism 20 to slide out from the first position contained in the body 10 to a preset position, and monitoring whether a preset first scene state is met; when the condition that the first scene state is met is monitored, whether a preset second scene state is met within a preset delay time is monitored; and when the situation that the delay duration meets the second scene state is monitored, controlling the sliding mechanism 20 to stay at the preset position.
It should be noted that, for the description of the control method of the sliding mechanism, reference is made to the related description in the following method embodiment, and details of this embodiment are not repeated.
Referring to fig. 1, in some embodiments, the electronic device 100 includes a camera 42, the sliding structure 20 includes a carrier 22, and the camera 42 is disposed on the carrier 22. In this manner, the camera 42 can slide with the slide structure 20. Of course, it is possible to use the user to turn on the camera 42 and turn off the camera 42 as the trigger signal, that is, to trigger the sliding structure 20 to slide out when the user turns on the camera 42 and to trigger the sliding structure 20 to slide back when the user turns off the camera 42. Thus, the user can use the camera conveniently only by opening or closing the camera according to the existing habit without performing another operation on the sliding structure 20.
In addition to the camera 42, other electronic components 40 may be carried on the carrier 22. the electronic components 40 are, for example, a light sensor, a proximity sensor, a headset 44, etc., as shown in FIG. 1. These electronic components 40 may be exposed from the main body 10 to operate normally as the sliding structure 20 slides out according to the user input, or may be accommodated in the main body 10 as the sliding structure 20 slides back according to the user input. Therefore, through holes can be formed in the display assembly (not shown in the figure) as few as possible, and the design requirement of the whole screen of the electronic device 100 can be favorably met.
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 structure 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.
It should be understood that these functional devices may be exposed from the body 10 and normally operate as the sliding mechanism 20 slides out according to the needs of the user, or may be located in the body 10 as the sliding mechanism 20 slides in according to the needs of the user. Therefore, through holes can be formed in the display assembly of the electronic equipment 100 as few as possible, and the design requirement of the whole screen of the electronic equipment 100 can be favorably met.
In some embodiments, the body 10 is formed with a slide slot 16, and the slide mechanism 20 is disposed within the slide slot 16 in the second position B. In this manner, the slide mechanism 20 can be caused to slide between the first position a and the second position B by the slide groove 16.
Referring to fig. 5, in some embodiments, the sliding mechanism 20 includes a threaded hole 24 disposed in the middle of the carrier 22 and a rotating lead screw 26 engaged with the threaded hole 24. The chute 16 includes a recess 162 located opposite the threaded aperture 24 and at the bottom of the chute 16. The electronic device 100 comprises a driving means 50 arranged in the recess 162. The driving means 50 includes a driving motor 52 connected to the processor 31 and an output shaft (not shown) connected to the bottom of the rotary screw 26.
It is understood that the processor 31 may control the sliding of the sliding mechanism 20 by controlling the drive motor 52. When the user commands the sliding mechanism 20 to slide from the first position a to the second position B, the processor 31 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 mechanism 20 slides from the first position a to the second position B. When the user commands the sliding mechanism 20 to slide from the second position B to the first position a, the processor 31 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 mechanism 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.
In embodiments of the present invention, the position of the sliding mechanism 20 relative to the body 10 may be determined in a variety of ways.
In a first mode
The current relative position of the slide mechanism 20 with respect to the body 10 can be determined by a magnet and a magnetic field detector. It should be noted that the number of the magnetic field detectors may be 1, or may be plural, and the embodiment of the present invention is described with the number of the magnetic field detectors being 1.
Specifically, one of the slide mechanism 20 and the body 10 is provided with a magnet 32, and the other of the slide mechanism 20 and the body 10 is provided with a magnetic field detector 34, and the magnetic field detector 34 is electrically connected to the processor 31. That is, the magnet 32 and the magnetic field detector 34 may be disposed on the sliding mechanism 20, the magnetic field detector 34 is disposed on the body 10, the magnetic field detector 34 is disposed on the sliding mechanism 20, and the magnet 32 is disposed on the body 10. Further, the magnet 32 and the magnetic field detector 34 may be disposed to be opposed to each other in the vertical direction or may be disposed to be opposed to each other in the horizontal direction. That is, the specific locations of the magnet 32 and the magnetic field detector 34 are not limited as long as the magnet 32 and the magnetic field detector 34 can generate relative motion.
In a specific implementation, the main board 12 may be disposed inside the main body 10, and the memory 30 and the processor 31 may be disposed on the main board 12 inside the main body 10; the main board 12 is fixedly connected with the body 10; accordingly, the magnet 32 is provided to the slide mechanism 20, and the magnetic field detector 34 is provided to the main board 12; alternatively, the magnet 32 is provided to the main board 12, and the magnetic field detector 34 is provided to the slide mechanism 20.
Note that fig. 3 illustrates an example in which the magnet 32 is provided on the slide mechanism 20 and the magnetic field detector 34 is provided on the main board 12.
The magnetic field detector 34 may be a hall element or any other element that can sense the magnetic field generated by the magnet and output a corresponding signal according to the sensed magnetic induction intensity. When the magnetic field detector 34 is a hall element, the processor 31 is further configured to receive a detection signal value output by the hall element; the current relative position of the slide mechanism 20 with respect to the body 10 is determined based on the detection signal value.
The following describes a process of determining the current relative position of the sliding mechanism 20 with respect to the body 10 by the processor 31 in the embodiment of the present invention, taking the magnetic field detector 34 as a hall element as an example.
In the embodiment of the present invention, the current relative position of the sliding mechanism 20 with respect to the body 10 is determined based on the characteristics of the hall element, that is, the hall element can sense the magnetic field generated by the magnet 32 and output a corresponding signal according to the sensed magnetic induction. Since the magnetic induction is correlated with the current relative position with respect to the magnet 32, the relative position of the hall element and the magnet 32 can be determined from the detection signal value output from the hall element. In addition, since the magnet 32 and the hall element are fixedly provided on the slide mechanism 20 and the body 10, respectively, the magnet 32 and the hall element can generate relative movement with the movement of the slide mechanism 20, and thus, the relative position of the slide mechanism 20 with respect to the body 10 can be indirectly determined by determining the relative position of the hall element and the magnet 32.
In a specific implementation, the sliding mechanism 20 may be slid to a plurality of calibration relative positions in advance, a detection signal value output by the hall element corresponding to each calibration relative position is obtained and is used as a preset signal value corresponding to the calibration relative position, and then the plurality of preset signal values and the plurality of calibration relative positions are associated to form a lookup table or fitted to form a relationship curve, where the lookup table or the relationship curve includes the plurality of preset signal values and the plurality of calibration relative positions, and each preset signal value corresponds to one calibration relative position. Therefore, after the processor 31 receives the detection signal value output by the hall element, the pre-generated lookup table or relationship curve can be queried according to the detection signal value of the hall element, so as to determine to reversely derive the current relative position of the sliding structure 20 relative to the body 10.
Mode two
The current relative position of the slide mechanism 20 with respect to the body 10 may be determined by a distance sensor. The distance sensor may be any sensor capable of detecting distance, such as an infrared distance sensor or an ultrasonic displacement sensor.
Referring to fig. 4, the sliding mechanism 20 is provided with at least two distance sensors 70, and a connection line between at least two distance sensors 70 is not perpendicular to the sliding direction of the sliding mechanism 20; the distance sensor 70 is electrically connected with the processor 31; a processor 31, further configured to receive detection signal values of at least two distance sensors 70; the current relative position of the slide mechanism 20 with respect to the body 10 is determined based on at least two detection signal values.
Fig. 4 illustrates an example in which the slide mechanism 20 is provided with two distance sensors, i.e., a first distance sensor 71 and a second distance sensor 72, and a connection line between the first distance sensor 71 and the second distance sensor 72 is parallel to the sliding direction of the slide mechanism 20.
Next, a process of determining the current loudness position of the slide mechanism 20 with respect to the body 10 by the processor 31 in the embodiment of the present invention will be described by taking the first distance sensor 71 and the second distance sensor 72 as infrared distance sensors as an example.
In the embodiment of the present invention, the current relative position of the sliding mechanism 20 with respect to the body 10 is determined mainly based on the characteristics of the first distance sensor 71 and the second distance sensor 72 having the distance measuring function. The infrared distance sensor comprises an infrared transmitting tube and an infrared receiving tube, and when the time for receiving the infrared rays transmitted by the transmitting tube by the receiving tube is short, the infrared distance sensor indicates that the distance is short; when the receiving tube receives the infrared rays emitted by the emitting tube for a longer time, the distance is longer. In the embodiment of the present invention, the measured distance is a relative distance between the first and second distance sensors 71 and 72 and the body 10.
The distances of the first and second distance sensors 71 and 72 with respect to the body 10 are determined according to the sum of the sensed ranging times of the first and second distance sensors 71 and 72. Since the length of time is related to the positions of the first distance sensor 71 and the second distance sensor 72, and the length of time is related to the length of the distance, the longer the distance the slide mechanism 20 slides out, the longer the receiving time, and whether the slide mechanism 20 is located between the first position a, the second position B, or the first position a and the second position B can be determined by comparing the lengths of time. The current relative positions of the first and second distance sensors 71 and 72 with respect to the body 10 can be determined by the signals output from the first and second distance sensors 71 and 72.
In addition, since the first distance sensor 71 and the second distance sensor 72 are respectively fixed on the sliding mechanism 20, the first distance sensor 71 and the second distance sensor 72 can generate relative movement with the movement of the sliding mechanism 20, and thus, the current relative position of the sliding mechanism 20 with respect to the body 10 can be indirectly determined by determining the positions of the second distance sensor 72 and the first distance sensor 71 with respect to the body 10.
In a specific implementation, the sliding mechanism 20 may be slid to a plurality of calibration relative positions in advance, a detection signal value output by the first distance sensor 71 and the second distance sensor 72 corresponding to each calibration relative position is obtained and is used as a preset signal value corresponding to the calibration position, and then the plurality of preset signal values and the plurality of calibration positions are associated to a lookup table or fitted to a relationship curve, where the lookup table or the relationship curve includes the plurality of preset signal values and the plurality of calibration relative positions, and each preset signal value corresponds to one calibration relative position. Therefore, after the processor 31 receives the detection signal values output by the first distance sensor 71 and the second distance sensor 72, a pre-generated lookup table or a relationship curve can be queried according to the detection signal values, so as to determine to reversely derive the current relative position of the sliding structure 20 relative to the body 10.
Based on the structure of the electronic device 100 in fig. 1 to 5, a method for controlling the sliding structure according to the embodiment of the present invention will be described below. Fig. 6 is a flowchart illustrating a control method of the sliding mechanism according to an embodiment of the present invention, as shown in fig. 6, the control method including the steps of:
step 601, monitoring the process state of the electronic device.
Step 602, when it is monitored that a first application program running in a foreground of the electronic device is returned to a background running, detecting whether the first application program calls the electronic element.
As an exemplary embodiment, when it is monitored that the application program is switched from the background running to the foreground running, the identifier of the application program calling the electronic element is obtained, and if it is determined that the identifier of the application program calling the electronic element matches the identifier of the application program, it is determined that the application program calls the electronic element.
Step 603, if it is known that the first application program calls the electronic component, starting delay timing, and monitoring whether a preset timing interruption state is met within a preset delay time.
For example, the condition that the preset timed interrupt state is met in different application scenarios may be that a slide-out request for the sliding mechanism is received within a preset delay time, or that the first application program is switched from background operation to foreground operation within the preset delay time, or that the first application program instructs to release the call to the electronic element within the preset delay time.
Step 604, when it is monitored that the timing interruption state is not satisfied within the delay duration, detecting a state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called.
Step 605, if it is known that the sliding mechanism is in a state of sliding out from the first position to a preset position, and the input/output interface related to the first application program is not called, controlling the sliding mechanism to slide back from the preset position to the first position contained in the body.
The control method of the sliding structure in the embodiment of the invention comprises the steps of detecting whether a first application program running in a foreground of the electronic equipment calls an electronic element or not when the situation that the first application program runs in a background is monitored, starting delay timing if the situation that the first application program calls the electronic element is known, monitoring whether a preset timing interruption state is met or not within a preset delay time, detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not when the situation that the sliding mechanism slides out of a first position to the preset position is monitored, and controlling the sliding mechanism to slide back to the first position contained in the body from the preset position if the situation that the sliding mechanism slides out of the first position to the preset position is known and the input/output interface related to the first application program is not called. Therefore, the automatic control sliding structure slides into the electronic equipment body, other operations are not needed by a user, the requirements of the user are met, and the user experience is improved.
In an embodiment of the present invention, after the monitoring whether the preset timer interrupt status is satisfied, the method further includes: and when the delay duration is monitored to meet the timing interruption state, stopping the delay timing.
When the delay duration is monitored to meet the timing interruption state, the sliding structure is controlled to be in a state of sliding out from the first position to a preset position. Therefore, the sliding mechanism can be prevented from repeatedly sliding in and out, the loss of the sliding mechanism is reduced, the power consumption of the electronic equipment is reduced, and the user experience is improved.
Based on the foregoing embodiment, as a possible implementation manner, as shown in fig. 7, the monitoring whether the preset timed interrupt state is met within the preset delay time period may include:
step 701, monitoring whether the first application program indicates to release the call to the electronic element within the delay time.
Step 702, if it is monitored that the first application program indicates to release the call to the electronic component, a preset timed interrupt state is met.
When the first application program is monitored to indicate to release the call to the electronic element, the delay timer is stopped, and at this time, because the first application program indicates to release the call to the electronic element, at this time, the sliding mechanism is controlled to slide from the preset position to the first position contained in the body according to an instruction of the first application program to release the call to the electronic element.
In step 703, if it is monitored that the first application does not indicate to release the call to the electronic component, the predetermined timed interrupt state is not satisfied.
In an embodiment of the present invention, as a possible implementation manner, as shown in fig. 8, the monitoring whether the preset timed interrupt state is met within the preset delay time period may include:
step 801, monitoring whether a slide-out request for the sliding mechanism is received within the delay time length.
Step 802, if it is monitored that the slide-out request for the sliding mechanism is not received, the preset timing interruption state is not met.
And 803, if receiving a slide-out request for the sliding mechanism is monitored, meeting a preset timing interruption state.
In one embodiment of the present invention, when the first application is a video call application, the electronic component called by the first application includes: a camera element.
The specific process of detecting whether the input/output interface related to the first application is called may be: detecting whether an input/output interface of the audio component has data stream; if the fact that the input/output interface of the audio component has data streams is known, whether the application program using the audio component currently is the first application program is judged, and if the application program using the audio component currently is the first application program, the fact that the input/output interface related to the first application program is called is determined.
In addition, if it is known that the input/output interface of the audio component has no data stream, it is determined that the input/output interface related to the first application program is not called.
As another possible implementation manner, the identifier of the application program currently calling the audio component is obtained, whether the identifier of the application program currently calling the audio component is matched with the identifier of the first application program is judged, and if the identifier of the application program currently calling the audio component is matched with the first application program, it is determined that the input/output interface related to the first application program is not called.
When the first application program uses the video function, even if the first application program is switched from foreground operation to background operation, due to the fact that the first application program is in video chat, video recording, video conference, online live broadcast and the like, in order to avoid influence on the video of a user, when the first application program is determined to be using the video function of the camera element, the first application program does not need to release the camera element even if the corresponding application program is switched to background operation, that is, when the first application program is in the video function of the actual camera element, the corresponding application program is switched to background operation, and the sliding structure is in a sliding-out state.
Based on the above embodiment, as an exemplary implementation manner, in order to facilitate other applications to call the electronic component, after the sliding mechanism is controlled to slide from the preset position to the first position accommodated in the body, a first flag indicating that the sliding mechanism is accommodated in the first position of the body is generated, so that the application needing to call the electronic component determines that the sliding mechanism is in the first position accommodated in the body according to the first flag, and then sends a call request.
In an embodiment of the present invention, after the controlling the sliding mechanism to slide back from the preset position to the first position accommodated in the body, as shown in fig. 9, the controlling method may further include:
step 901, when it is monitored that the application program running in the background of the electronic device is switched to the foreground running, detecting whether the second application program calls the electronic element.
As an exemplary embodiment, when it is monitored that the application program running in the background of the electronic device is switched to the foreground running, the identifier of the application program calling the electronic element is obtained, and if it is determined that the identifier of the application program calling the electronic element matches the identifier of the second application program, it is determined that the application program calls the electronic element.
It should be understood that the second application may be the same as the first application or may be another application different from the first application.
Step 902, reading a flag bit for indicating the state of the sliding mechanism if the second application program is known to call the electronic component.
Step 903, if the flag bit is the first flag, it is determined that the sliding mechanism is in the first position accommodated in the body, and then a call request is sent.
And 904, controlling the sliding mechanism to slide from the first position accommodated in the body to a preset position according to the calling request, and setting the flag bit as a second flag indicating that the sliding mechanism is in a sliding-out state.
It should be understood that, when the second application program that is switched from the background operation to the foreground operation calls the electronic component, and if the sliding structure is located at the first position at this time, the electronic component is located in the electronic device body, and therefore the electronic component cannot normally operate, for example, the second application program is a photographing program, and after the photographing program is switched from the background to the foreground, if the camera element is located in the electronic device body, the user cannot photograph the external environment through the photographing program. In order to enable the electronic element to work normally, when the sliding mechanism is determined to be in the first position accommodated in the body, a calling request can be sent, and the sliding mechanism is controlled to slide from the first position accommodated in the body to a preset position according to the calling request. Therefore, the electronic element slides out of the body, and the electronic element can continue to work normally.
According to the control method of the sliding structure, when it is monitored that an application program running in a background of the electronic device is switched to a foreground running, if it is detected that the second application program calls the electronic element and the sliding mechanism is in the first position contained in the body according to the flag bit indicating the state of the sliding mechanism, the sliding mechanism is controlled to slide from the first position contained in the body to the preset position through a calling request, and the flag bit is set to be the second flag indicating that the sliding mechanism is in the sliding-out state. Therefore, when the electronic element is called by the application program switched to the foreground operation and the sliding structure is in the first position accommodated in the body, the sliding structure automatically slides out, so that the electronic element on the sliding structure normally works without other operations of a user, and the use of the user is facilitated.
Fig. 10 is a schematic structural view of a control device of a sliding structure according to an embodiment of the present invention.
As shown in fig. 10, the control device of the sliding structure is applied to an electronic device 100, the electronic device 100 includes a main body 10 and the sliding mechanism 20, the sliding mechanism 20 is provided with an electronic component 40, the sliding mechanism 20 is configured to slide between a first position a housed in the main body 10 and a second position B exposed from the main body 10, and the control device may include a monitoring module 110, a first detecting module 120, a second monitoring module 130, a second detecting module 140, and a control module 150, wherein:
the first monitoring module 110 is configured to monitor a process state of the electronic device.
The first detecting module 120 is configured to detect whether the first application program that runs in the foreground of the electronic device calls the electronic component when it is detected that the first application program that runs in the foreground runs back to the background.
The second monitoring module 130 is configured to start delay timing if it is known that the first application program calls the electronic component, and monitor whether a preset timing interruption state is met within a preset delay duration.
A second detecting module 140, configured to detect a state of the sliding mechanism and detect whether an input/output interface related to the first application is called when it is detected that the timer interrupt state is not satisfied within the delay duration.
And the control module 150 is configured to control the sliding mechanism to slide back from the preset position to the first position contained in the body if it is known that the sliding mechanism is in a state of sliding out from the first position to the preset position and the input/output interface related to the first application is not called.
In one embodiment of the present invention, the apparatus may further include:
a timing control module (not shown in the figure) configured to stop the delay timing when it is monitored that the timing interruption state is met within the delay duration after the second monitoring module 130 monitors whether the preset timing interruption state is met.
In an embodiment of the present invention, the second monitoring module 130 is specifically configured to: monitoring whether the first application program indicates to release the call to the electronic element within the delay time period; if the first application program is monitored to indicate that the call of the electronic element is released, a preset timing interruption state is met; and if the first application program does not indicate to release the call to the electronic element, the preset timing interruption state is not met.
In an embodiment of the present invention, the second monitoring module 130 is specifically configured to:
monitoring whether a slide-out request for the sliding mechanism is received within the delay time length; if the situation that the sliding-out request for the sliding mechanism is not received is monitored, the preset timing interruption state is not met; and if the sliding-out request of the sliding mechanism is received, meeting a preset timing interruption state.
In one embodiment of the present invention, the first application is a video call application, and the electronic component called by the first application includes: a camera element;
the second detecting module 140 is specifically configured to: detecting whether the input/output interface of the audio element has data stream; if the fact that the input/output interface of the audio element has data streams is known, whether an application program using the audio element currently is the first application program is judged, and if the application program using the audio element currently is the first application program, the input/output interface related to the first application program is determined to be called; and if the input/output interface of the audio element is not known to have data flow, determining that the input/output interface related to the first application program is not called.
In an embodiment of the present invention, the apparatus may further include a generating module (not shown in the figure), configured to generate a first flag indicating that the sliding mechanism is received in the first position of the body after the control module 150 controls the sliding mechanism to slide from the preset position to the first position accommodated in the body, so that an application program that needs to call the electronic component determines that the sliding mechanism is in the first position accommodated in the body according to the first flag, and then sends a call request.
In an embodiment of the present invention, the apparatus may further include a processing module (not shown in the figure), configured to detect whether the second application invokes the electronic component when it is detected that an application running in a background of the electronic device is switched to a foreground running after the control module 150 controls the sliding mechanism to slide back from the preset position to the first position accommodated in the body; if the second application program is known to call the electronic element, reading a flag bit for indicating the state of the sliding mechanism; if the flag bit is a first flag, determining that the sliding mechanism is in a first position accommodated in the body, and further sending a calling request; and controlling the sliding mechanism to slide from a first position accommodated in the body to a preset position according to the calling request, and setting the flag bit as a second flag indicating that the sliding mechanism is in a sliding-out state.
It should be noted that the foregoing explanation of the embodiment of the control method for an electronic device and a sliding mechanism is also applicable to the control device for a sliding mechanism in this embodiment, and is not repeated herein.
The control device of the sliding mechanism in the embodiment of the invention detects whether a first application program running in a foreground of the electronic device calls an electronic element when the first application program is monitored to return to a background running, starts delayed timing if the first application program calls the electronic element, monitors whether a preset timing interruption state is met within a preset delay time, detects the state of the sliding mechanism and detects whether an input/output interface related to the first application program is called if the delay time is monitored, and controls the sliding mechanism to slide from a preset position to a first position contained in a body if the sliding mechanism is known to be in a state of sliding out of the first position to the preset position and the input/output interface related to the first application program is not called. Therefore, the automatic control sliding structure slides into the electronic equipment body, other operations are not needed by a user, the requirements of the user are met, and the user experience is improved.
In order to achieve the above-described embodiments, the present invention also proposes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the control method of the sliding mechanism of the above-described embodiments.
In order to implement the above embodiments, the present invention further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, a control method of the sliding mechanism is executed.
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 (14)

1. A control method of a sliding mechanism applied to an electronic apparatus including a main body and the sliding mechanism, the sliding mechanism being provided with an electronic component and being configured to slide between a first position housed in the main body and a second position exposed from the main body, the control method comprising:
monitoring the process state of the electronic equipment;
when it is monitored that a first application program running in the foreground of the electronic equipment returns to the background running, detecting whether the first application program calls the electronic element or not;
if the fact that the first application program calls the electronic element is known, starting delay timing, and monitoring whether a preset timing interruption state is met within a preset delay time length;
when the situation that the timing interruption state is not met in the delay duration is monitored, detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not;
and if the sliding mechanism is in a state of sliding out from the first position to a preset position and the input/output interface related to the first application program is not called, controlling the sliding mechanism to slide back from the preset position to the first position contained in the body.
2. The control method according to claim 1, characterized by, after said monitoring whether a preset timer interrupt state is satisfied, further comprising:
and when the delay duration is monitored to meet the timing interruption state, stopping the delay timing.
3. The control method of claim 2, wherein the monitoring whether the preset timed interrupt status is met within the preset delay period comprises:
monitoring whether the first application program indicates to release the call to the electronic element within the delay time period;
if the first application program is monitored to indicate that the call of the electronic element is released, a preset timing interruption state is met;
and if the first application program does not indicate to release the call to the electronic element, the preset timing interruption state is not met.
4. The control method of claim 2, wherein the monitoring whether the preset timed interrupt status is met within the preset delay period comprises:
monitoring whether a slide-out request for the sliding mechanism is received within the delay time length;
if the situation that the sliding-out request for the sliding mechanism is not received is monitored, the preset timing interruption state is not met;
and if the sliding-out request of the sliding mechanism is received, meeting a preset timing interruption state.
5. The control method according to claim 1, wherein the first application is a video call application, and the electronic component called by the first application includes: a camera element;
the detecting whether the input/output interface related to the first application program is called comprises:
detecting whether the input/output interface of the audio element has data stream;
if the fact that the input/output interface of the audio element has data streams is known, whether an application program using the audio element currently is the first application program is judged, and if the application program using the audio element currently is the first application program, the input/output interface related to the first application program is determined to be called;
and if the input/output interface of the audio element is not known to have data flow, determining that the input/output interface related to the first application program is not called.
6. The control method according to claim 1, further comprising, after the controlling the sliding mechanism to slide back from the preset position to the first position accommodated in the body:
and generating a first flag bit indicating that the sliding mechanism is received in the first position of the body, so that an application program needing to call the electronic element determines that the sliding mechanism is in the first position contained in the body according to the first flag bit, and then sending a call request.
7. The control method according to claim 1, further comprising, after the controlling the sliding mechanism to slide back from the preset position to the first position accommodated in the body:
when it is monitored that an application program running in the background of the electronic equipment is switched to the foreground running, detecting whether a second application program calls the electronic element or not;
if the second application program is known to call the electronic element, reading a flag bit for indicating the state of the sliding mechanism;
if the flag bit is a first flag, determining that the sliding mechanism is in a first position accommodated in the body, and further sending a calling request;
and controlling the sliding mechanism to slide from a first position accommodated in the body to a preset position according to the calling request, and setting the flag bit as a second flag indicating that the sliding mechanism is in a sliding-out state.
8. A control device for a slide mechanism, applied to an electronic apparatus including a main body and the slide mechanism, the slide mechanism being provided with an electronic component and being configured to slide between a first position housed in the main body and a second position exposed from the main body, the control device comprising:
the first monitoring module is used for monitoring the process state of the electronic equipment;
the first detection module is used for detecting whether the first application program operating in the foreground of the electronic equipment calls the electronic element or not when the situation that the first application program operating in the foreground of the electronic equipment returns to the background operation is monitored;
the second monitoring module is used for starting delay timing and monitoring whether a preset timing interruption state is met within a preset delay time length or not if the fact that the first application program calls the electronic element is known;
the second detection module is used for detecting the state of the sliding mechanism and detecting whether an input/output interface related to the first application program is called or not when the situation that the timing interruption state is not met in the delay duration is monitored;
and the control module is used for controlling the sliding mechanism to slide back from the preset position to the first position contained in the body if the control module learns that the sliding mechanism is in a state of sliding out from the first position to the preset position and the input/output interface related to the first application program is not called.
9. An electronic device, comprising a body and a sliding mechanism, wherein an electronic component is disposed on the sliding mechanism, and the sliding mechanism is configured 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 mechanism, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method of controlling the sliding mechanism according to any one of claims 1 to 7.
10. The electronic device of claim 9, wherein one of the sliding mechanism and the body is provided with a magnet, and the other of the sliding mechanism and the body is provided with a magnetic field detector, the magnetic field detector being electrically connected to the processor.
11. The electronic device of claim 10, wherein the memory and the processor are disposed on a motherboard inside the body; the main board is fixedly connected with the body;
the magnet is arranged on the sliding mechanism, and the magnetic field detector is arranged on the main board; or, the magnet is arranged on the main board, and the magnetic field detector is arranged on the sliding mechanism.
12. Electronic device according to claim 10, characterized in that the magnetic field detector is in particular a hall element;
the processor is also used for receiving the detection signal value output by the Hall element; and determining the position of the sliding mechanism relative to the body according to the detection signal value.
13. The electronic device of claim 9,
the sliding mechanism is provided with at least two distance sensors, and the connecting line between the at least two distance sensors is not perpendicular to the sliding direction of the sliding mechanism; the distance sensor is electrically connected with the processor;
the processor is further used for receiving detection signal values of the at least two distance sensors; and determining the position of the sliding mechanism relative to the body according to the at least two detection signal values.
14. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements a control method of a sliding mechanism according to any one of claims 1 to 7.
CN201810601788.XA 2018-06-12 2018-06-12 Control method and device for sliding mechanism, electronic device and storage medium Active CN108924289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810601788.XA CN108924289B (en) 2018-06-12 2018-06-12 Control method and device for sliding mechanism, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810601788.XA CN108924289B (en) 2018-06-12 2018-06-12 Control method and device for sliding mechanism, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN108924289A CN108924289A (en) 2018-11-30
CN108924289B true CN108924289B (en) 2020-06-05

Family

ID=64410858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810601788.XA Active CN108924289B (en) 2018-06-12 2018-06-12 Control method and device for sliding mechanism, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN108924289B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497909B (en) * 2020-03-18 2022-12-02 华为技术有限公司 Equipment interaction method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
EP3163845A1 (en) * 2014-07-23 2017-05-03 Huawei Technologies Co., Ltd. Terminal device
CN106657456A (en) * 2016-10-24 2017-05-10 珠海格力电器股份有限公司 Mobile terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN207382372U (en) * 2017-10-20 2018-05-18 南京粤讯电子科技有限公司 Mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3163845A1 (en) * 2014-07-23 2017-05-03 Huawei Technologies Co., Ltd. Terminal device
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
CN106657456A (en) * 2016-10-24 2017-05-10 珠海格力电器股份有限公司 Mobile terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal
CN207382372U (en) * 2017-10-20 2018-05-18 南京粤讯电子科技有限公司 Mobile terminal
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal

Also Published As

Publication number Publication date
CN108924289A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108897375B (en) Control method and device for sliding mechanism, electronic device and storage medium
CN109547598B (en) Camera module control method and device
US9999093B2 (en) Method, apparatus and computer-readable medium for updating connection parameter of low-power Bluetooth device
US11425234B2 (en) Sliding control method for sliding assembly, electronic device, and non-transitory computer-readable storage medium
CN108833623B (en) Sliding control method and device of sliding assembly and electronic device
CN108829461B (en) Camera starting control method and device and electronic equipment
KR101735987B1 (en) Backlicht brightness control method and device
EP2922309A1 (en) Method of using light sensor earphone to control electronic device and light sensor earphone
CN109246361B (en) Camera module control method and device
JP2008040396A (en) Surveillance camera
KR101770930B1 (en) Method, apparatus, program and computer-readable recording medium for collecting sound of monitoring screen
US9936137B2 (en) Display control apparatus, method for controlling the same, and storage medium
CN104065883B (en) Image pickup method and device
CN108924283B (en) Sliding control method and device of sliding assembly and electronic device
CN108833697B (en) Control method of sliding assembly, control assembly, electronic device and storage medium
JP2013257411A5 (en) External strobe device and imaging device
CN108924289B (en) Control method and device for sliding mechanism, electronic device and storage medium
CN109151106B (en) Sliding control method and device for sliding assembly, electronic device and storage medium
CN105282446A (en) Camera management method and device
CN104919515A (en) Apparatus and method for controlling display of mobile terminal
CN108900663B (en) Sliding control method and device of sliding assembly and electronic device
CN108924286B (en) Electronic device and control method and device of sliding assembly of electronic device
EP3225510B1 (en) Methods and devices for controlling self-balanced vehicle to park
CN108989493B (en) Control method of sliding mechanism, control assembly, electronic device and storage medium
CN109460178B (en) Sliding display method and device of sliding assembly

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