CN108989493B - Control method of sliding mechanism, control assembly, electronic device and storage medium - Google Patents

Control method of sliding mechanism, control assembly, electronic device and storage medium Download PDF

Info

Publication number
CN108989493B
CN108989493B CN201810603630.6A CN201810603630A CN108989493B CN 108989493 B CN108989493 B CN 108989493B CN 201810603630 A CN201810603630 A CN 201810603630A CN 108989493 B CN108989493 B CN 108989493B
Authority
CN
China
Prior art keywords
sliding mechanism
state
external force
slide
controlling
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
CN201810603630.6A
Other languages
Chinese (zh)
Other versions
CN108989493A (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 CN201810603630.6A priority Critical patent/CN108989493B/en
Publication of CN108989493A publication Critical patent/CN108989493A/en
Application granted granted Critical
Publication of CN108989493B publication Critical patent/CN108989493B/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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0235Slidable or telescopic telephones, i.e. with a relative translation movement of the body parts; Telephones using a combination of translation and other relative motions of the body parts
    • 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/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

Landscapes

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

Abstract

The invention discloses a control method, a control assembly and equipment of a sliding mechanism. The control method is applied to electronic equipment, the electronic equipment comprises a sliding mechanism and a camera carried on the sliding mechanism, the sliding mechanism can move relative to a body to be in a first state or a second state, and the control method comprises the following steps: when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service; determining whether the operation of the external force is misoperation or not according to the judgment result; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state. The method can judge whether the external force operation acting on the sliding mechanism is misoperation according to whether the current camera service is called or not when the sliding mechanism is controlled, and reduces the risk of damage of physical hardware.

Description

Control method of sliding mechanism, control assembly, electronic device and storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method of a sliding mechanism, a control assembly, an electronic device, and a computer-readable storage medium.
Background
In order to improve user experience, the screen of the mobile phone is more and more large, and even a scheme that a front camera is arranged on a sliding mechanism and arranged on a front panel is avoided has been proposed, so that how to arrange and use the camera arranged on the sliding mechanism becomes a problem to be solved urgently.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
To this end, a first object of the present invention is to propose a control method of a slide mechanism. The method can judge whether the external force operation acting on the sliding mechanism is misoperation according to whether the current camera service is called when the sliding mechanism is controlled, so as to prevent the misoperation of a user, avoid the problem that the sliding mechanism generates heat due to friction caused by multiple sliding-out or sliding-back in a short time, reduce the risk of physical hardware damage and improve the user experience.
A second object of the present invention is to provide a control assembly for a sliding mechanism.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, a control method of a sliding mechanism according to an embodiment of a first aspect of the present invention is applied to an electronic device, the electronic device including a body, the sliding mechanism, and a camera mounted on the sliding mechanism, the sliding mechanism being movable relative to the body to be in a first state or a second state, the first state being a state in which the sliding mechanism protrudes from a first position of a side wall of the body, the second state being a state in which the sliding mechanism is accommodated in a second position inside the body, the control method including: when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service; determining whether the operation of the external force is misoperation or not according to the judgment result; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state.
According to the control method of the slide mechanism of the embodiment of the invention, when the slide mechanism is in the first state, and when receiving the operation of the external force acting on the sliding mechanism, judging whether the electronic equipment currently has an application program calling the camera service, and determines whether the operation of the external force is a wrong operation according to the judgment result, and when the operation of the external force is determined to be the wrong operation, the controllable sliding mechanism is kept in the first state, so that when the sliding mechanism is controlled, judging whether the current external force operation acting on the sliding mechanism is misoperation according to whether the current camera service is called, so as to prevent the misoperation of a user, avoid the damage of physical hardware caused by the friction heat generated by sliding out or sliding back of the sliding mechanism for multiple times in a short time, the influence on the attractiveness of the electronic equipment caused by the exposure of the sliding mechanism is avoided, and the use experience of a user is improved.
In order to achieve the above object, a control assembly of a sliding mechanism according to a second aspect of the present invention is applied to an electronic device, the electronic device includes a body, the sliding mechanism, and a camera mounted on the sliding mechanism, the sliding mechanism is movable relative to the body to be in a first state or a second state, the first state is a state that the sliding mechanism protrudes from a first position of a side wall of the body, the second state is a state that the sliding mechanism is accommodated in a second position inside the body, the control assembly includes a processor, and the processor is configured to: when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service; determining whether the operation of the external force is misoperation or not according to the judgment result; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state.
According to the control assembly of the sliding mechanism, when the sliding mechanism is in the first state and the operation of external force acting on the sliding mechanism is received, whether the electronic equipment currently has the camera service called by an application program or not is judged, whether the operation of the external force is misoperation or not is determined according to the judgment result, and when the operation of the external force is determined to be misoperation, the sliding mechanism can be controlled to be kept in the first state, so that the problem that the sliding mechanism slides out or slides back for multiple times in a short time to generate friction heat is avoided, the risk of physical hardware damage is reduced, and the problem that the appearance of the electronic equipment is influenced due to the fact that the sliding mechanism is exposed is solved, the use experience of the user is improved.
In order to achieve the above object, an electronic apparatus according to a third aspect of the present invention includes a camera, a main body, and a slide mechanism, wherein the camera is mounted on the slide mechanism, and the slide mechanism is movable relative to the main body to be in a first state or a second state, the first state being a first position protruding from a side wall of the main body, the second state being a second position inside the main body, the electronic apparatus further including: the control method of 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 control method of the sliding mechanism is realized.
To achieve the above object, a computer-readable storage medium according to a fourth embodiment of the present invention stores thereon a computer program, which when executed by a processor implements a method for controlling a sliding mechanism according to the first embodiment of the present invention.
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 diagram of an electronic device in a first position according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an electronic device in a second 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 a flowchart illustrating a control method of the slide mechanism according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a method of controlling the slide mechanism according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating an effect that a camera application is calling a camera to take a picture according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an interface effect of a camera application after a sliding mechanism is pressed by an external force according to an embodiment of the invention;
fig. 9 is a flowchart illustrating a control method of the slide mechanism according to another embodiment of the present invention.
Description of the main element symbols:
the electronic device 100, the main body 10, the chute 11, the main board 12, the sliding mechanism 20, the memory 30, the processor 40, the camera 42, the magnet 50, the magnetic field detector 60, 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-4. As an example, the electronic device 100 may be a mobile terminal, for example, a mobile phone, a tablet computer, a personal digital assistant, and other hardware devices having various operating systems.
As shown in fig. 1 to 4, the electronic apparatus 100 includes a main body 10, a sliding mechanism 20, and a camera 42 mounted on the sliding mechanism 20, wherein the sliding mechanism 20 is movable relative to the main body 10 to be in a first state or a second state, the first state being a state in which the sliding mechanism 2 protrudes from a first position a of a side wall of the main body 10, the second state being a state in which the sliding mechanism 2 is accommodated in a second position B inside the main body 10, and the electronic apparatus 100 further includes: a memory 30, a processor 40 electrically connected to the sliding mechanism 20, and a computer program stored on the memory 30 and executable on the processor 40, wherein the processor 40 is configured to execute a control method of the sliding mechanism, that is, the processor is configured to execute: when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service; determining whether the operation of the external force is misoperation or not according to the judgment result; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state.
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.
It will be appreciated that the camera head 42 needs to be exposed from the body 10 otherwise it will not function properly. The electronic device 100 according to the embodiment of the present invention has the camera 42 carried on the sliding mechanism 20, so that the camera 42 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 mechanism 20 when the operation is required. So, need not to set up the through-hole that is used for exposing camera 42 on the screen to increase the screen and account for than, and then improve user's experience.
It is understood that besides the camera 42, functional devices such as a light sensor, a proximity sensor, and a receiver can be mounted on the sliding mechanism 20.
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 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 sliding slot 11, and the sliding mechanism 20 is located in the sliding slot 11 when in the second position B. In this way, the sliding mechanism 20 can be made to slide between the first position a and the second position B through the chute 11 to be in the first position a protruding from the side wall of the body 10, or to be in the second position B inside the body 10.
In certain embodiments, 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 opening the camera 42 and closing the camera 42 as the trigger signal, that is, when the user opens the camera 42, the trigger sliding structure 20 slides out, and when the user closes the camera 42, the trigger sliding structure 20 slides back. Therefore, the user only needs to open or close the camera according to the existing habit without performing other operations on the sliding structure 20, and the use of the user can be facilitated.
In some embodiments, the electronic device 100 includes a driving device (not shown) connected to the processor 30, and it is understood that the processor 30 can control the sliding of the sliding structure 20 by controlling a driving motor in the driving device. When the user commands the sliding structure 20 to slide from the first position a to the second position B, the processor 30 controls the driving motor to rotate, so that the sliding structure 20 slides from the first position a to the second position B. When the user commands the sliding structure 20 to slide from the second position B to the first position a, the processor 30 controls the driving motor to rotate, so that the sliding structure 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 an embodiment of the present invention, the position of the sliding mechanism 20 relative to the body 10 may be determined in various ways to control the sliding mechanism 20 to slide out to be in the first position a or slide in to be in the second position B.
In a first mode
The position of the sliding mechanism 20 relative to the body 10 may be determined by a magnet and a magnetic field detector to control the sliding mechanism 20 to slide out to be in the first position a or slide in to be in the second position B. 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 50, and the other of the slide mechanism 20 and the body 10 is provided with a magnetic field detector 60, and the magnetic field detector 60 is electrically connected to the processor 40. That is, the magnet 50 and the magnetic field detector 60 may be disposed in two ways, namely, the magnet 50 is disposed on the sliding mechanism 20, the magnetic field detector 60 is disposed on the body 10, the magnetic field detector 60 is disposed on the sliding mechanism 20, and the magnet 50 is disposed on the body 10. Further, the magnet 50 and the magnetic field detector 60 may be disposed to be opposite to each other in the vertical direction, and may be disposed to be opposite to each other in the horizontal direction. That is, the specific positions of the magnet 50 and the magnetic field detector 60 are not limited as long as the magnet 50 and the magnetic field detector 60 can generate relative movement.
In a specific implementation, the main board 12 may be disposed inside the main body 10, and the memory 30 and the processor 40 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 50 is provided to the slide mechanism 20, and the magnetic field detector 60 is provided to the main board 12; alternatively, the magnet 50 is provided on the main board 12, and the magnetic field detector 60 is provided on the slide mechanism 20.
Note that fig. 3 illustrates an example in which the magnet 50 is provided on the slide mechanism 20 and the magnetic field detector 60 is provided on the main board 12.
The magnetic field detector 60 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 60 is a hall element, the processor 40 is further configured to receive a detection signal value output by the hall element; the 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 position of the sliding mechanism 20 relative to the body 10 by the processor 40 in the embodiment of the present invention, taking the magnetic field detector 60 as a hall element as an example.
In the embodiment of the present invention, the position of the sliding mechanism 20 relative 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 50 and output a corresponding signal according to the sensed magnetic induction. Since the magnetic induction intensity is correlated with the position relative to the magnet 50, the relative position of the hall element and the magnet 50 can be determined by the value of the detection signal output from the hall element. In addition, since the magnet 50 and the hall element are fixedly provided on the slide mechanism 20 and the body 10, respectively, the magnet 50 and the hall element can generate relative movement with the movement of the slide mechanism 20, and thus, the position of the slide mechanism 20 relative to the body 10 can be indirectly determined by determining the relative position of the hall element and the magnet 50.
In a specific implementation, the sliding mechanism 20 may be slid to a plurality of calibration positions in advance, a detection signal value output by the hall element corresponding to each calibration position is obtained and 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 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 positions, and each preset signal value corresponds to one calibration position. Thus, after the processor 40 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, so as to determine the position of the hall element relative to the magnet 50, and thus the position of the sliding mechanism 20 relative to the body 10.
Mode two
The position of the sliding mechanism 20 relative to the body 10 may be determined by a distance sensor to control the sliding mechanism 20 to slide out to be in the first position a or slide in to be in the second position B. 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 40; a processor 40 for receiving detection signal values of at least two distance sensors 70; the 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 position of the sliding mechanism 20 with respect to the body 10 by the processor 40 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 position of the slide mechanism 20 with respect to the main 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.
When the slide mechanism 20 is inside the body 10, the infrared rays emitted from the first and second distance sensors 71 and 72 collide with the inner wall of the chute 11 and are reflected and received by the receiving pipe, the distance is short and the time required is short, and the time taken is set to a limit value at which the slide mechanism 20 is in the second position B. When the sliding mechanism 20 is exposed from the body 10, there are two cases, namely, the first distance sensor 71 is exposed from the body 10, the second distance sensor 72 is still located at the portion of the sliding mechanism 20 exposed from the body 10, and the first distance sensor 71 and the second distance sensor 72 are both located at the portion of the sliding mechanism 20 exposed from the body 10. In both cases, when the sliding mechanism 20 is exposed from the body 10, the receiving tube takes a longer time to receive the infrared rays emitted from the emitting tube, and even cannot receive the reflected infrared rays, so the time length exceeds the limit value, and in the second case, the sliding mechanism 20 is in the first position a, which is longer than in the first case.
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 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 fixed to the sliding mechanism 20, respectively, 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 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 positions in advance, a detection signal value output by the first distance sensor 71 and the second distance sensor 72 corresponding to each calibration 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 positions, and each preset signal value corresponds to one calibration position. Therefore, after the processor 40 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 the positions of the second distance sensor 72 and the first distance sensor 71 relative to the body 10, and further determine the position of the sliding mechanism 20 relative to the body 10.
A method for controlling the sliding mechanism according to the embodiment of the present invention will be described below based on the configuration of the electronic apparatus 100 in fig. 1 to 4. Fig. 5 is a flowchart illustrating a control method of the sliding mechanism according to an embodiment of the present invention, as shown in fig. 5, the control method including the steps of:
s510, when the operation that external force acts on the sliding mechanism in the first state is received, whether an application program calls a camera service currently exists in the electronic equipment or not is judged.
Alternatively, it may be detected whether an external force is received to act on the sliding mechanism while the sliding mechanism is in the first state. For example, when a user uses a camera on the sliding mechanism to take a picture, scan an object, or the like, the sliding mechanism is in the first state, and during this time, it is possible to detect whether an external force is pressing the sliding mechanism. As an example, whether an external force presses the sliding mechanism may be determined by detecting whether the value of the magnetic field detector reaches a certain threshold, for example, if the value of the magnetic field detector reaches a certain threshold, it may be determined that an external force currently presses the sliding mechanism, otherwise, it may be determined that no external force currently presses the sliding mechanism.
In this example, upon receiving an operation of the sliding mechanism in the first state by an external force, it may be determined whether the electronic device currently has an application program calling a camera service. That is, when a user or an external foreign object touches the sliding mechanism to make the sliding mechanism feel an external force acting on the sliding mechanism, at this time, whether the external force operation is a misoperation can be determined by whether the electronic device currently has an application program calling a camera service.
And S520, determining whether the operation of the external force is misoperation according to the judgment result.
Optionally, when the determination result indicates that the electronic device does not currently have the application program calling the camera service, determining that the operation of the external force is a normal operation, and when the determination result indicates that the electronic device currently has the application program calling the camera service, determining that the operation of the external force is an erroneous operation. That is, when it is determined that the camera service is being called by an application program currently existing in the electronic device, it may be determined that the operation of the external force is an erroneous operation, and when it is determined that the camera service is not being called by an application program currently existing in the electronic device, it may be determined that the operation of the external force is a normal operation.
S530, when it is determined that the operation of the external force is an erroneous operation, controlling the sliding mechanism to be maintained in the first state.
Alternatively, when it is determined that the operation of the external force is an erroneous operation, such as a user carelessness or a foreign object touching the sliding mechanism, the sliding mechanism may be controlled to be maintained in the first state, that is, to maintain the current state of the sliding mechanism.
According to the control method of the slide mechanism of the embodiment of the invention, when the slide mechanism is in the first state, and when receiving the operation of the external force acting on the sliding mechanism, judging whether the electronic equipment currently has an application program calling the camera service, and determines whether the operation of the external force is a wrong operation according to the judgment result, and when the operation of the external force is determined to be the wrong operation, the controllable sliding mechanism is kept in the first state, so that when the sliding mechanism is controlled, judging whether the current external force operation acting on the sliding mechanism is misoperation according to whether the current camera service is called, so as to prevent the misoperation of a user, avoid the damage of physical hardware caused by the friction heat generated by sliding out or sliding back of the sliding mechanism for multiple times in a short time, the influence on the attractiveness of the electronic equipment caused by the exposure of the sliding mechanism is avoided, and the use experience of a user is improved.
In order to improve usability and feasibility of the present invention and meet the user's requirement, optionally, in an embodiment of the present invention, the sliding mechanism may be controlled to slide into the body to be in the second state when the operation of the external force is determined to be a normal operation. That is, when it is determined that the operation of the external force is the normal operation, it may be considered that the user wants to manually slide the sliding mechanism back into the body by the external force, and at this time, the sliding mechanism may be controlled to slide back into the body to the second position.
Fig. 6 is a flowchart of a control method of the slide mechanism according to an embodiment of the present invention.
In order to further improve the accuracy of determining the misoperation, after it is determined that the camera service is being called by the application program currently existing in the electronic device, pop-up frame prompt information can be provided for a user to prompt the user whether the camera service is being used currently or not and whether the camera service is continuously started or not, and the sliding mechanism is controlled differently according to the selection result of the user. Specifically, as shown in fig. 6, the control method of the slide mechanism may include:
s610, when receiving the operation of the external force acting on the sliding mechanism in the first state, judging whether the electronic equipment currently has an application program calling the camera service.
And S620, determining whether the operation of the external force is misoperation according to the judgment result.
And S630, when the judgment result shows that no application program of the electronic equipment is calling the camera service currently, determining that the operation of the external force is normal operation, and controlling the sliding mechanism to slide into the body to be in the second state.
And S640, when the judgment result shows that the camera service is called by the application program currently existing in the electronic device, generating pop-up frame prompt information, and providing the pop-up frame prompt information to a user, wherein the pop-up frame prompt information is used for inquiring whether the application program is allowed to continue calling the camera service to the user.
For example, as shown in fig. 7, it is assumed that a camera application of the electronic apparatus is using image capture, at which time the slide mechanism slides out of the body of the electronic apparatus to be in the first state. When the operation of the external force acting on the sliding mechanism is received, and the camera application program is using the camera at the time, a pop-up prompt message, for example, as shown in fig. 8, may be generated, and a floating layer may be generated on the current interface of the electronic device, and the pop-up prompt message may be displayed on the floating layer to be provided to the user, for example, the pop-up prompt message includes a selection control of "whether the current application program needs to use the camera, and" enable "," disable ", or cancel". In this way, the user can select through the selection control whether to confirm continued enablement of the camera or to cancel continued use of the camera.
S650, when a cancel instruction for the pop-up frame prompt information input by the user is received, controlling the sliding mechanism to slide into the body to be in the second state.
That is, when the cancel application program that receives the user input continues to use the camera, it may be considered that the user does not want the application program to resume invoking the camera service, and the sliding mechanism may be controlled to slide into the body to be in the second state.
And S660, when a confirmation instruction aiming at the pop-up frame prompting information input by the user is received, judging that the operation of the external force is misoperation, and controlling the sliding mechanism to be kept in the first state.
That is, when the application program is allowed to continue to activate the camera upon receiving the user input, it may be determined that the external force operation previously acting on the sliding mechanism is a wrong operation, and at this time, the sliding mechanism may be controlled to remain in the first state, so that the current application program may continue to use the camera on the sliding mechanism.
In order to further improve the user experience and ensure the intelligent use of the sliding mechanism, optionally, in an embodiment of the present invention, after the sliding mechanism is slid back into the body by an external force to be in the second state, the sliding mechanism may be manually slid out by a user to be in the first state, so as to realize the view finding through a camera on the sliding mechanism.
Optionally, in an embodiment of the present invention, after receiving a cancel instruction for the pop-up frame prompt information input by the user, the pop-up frame prompt information may be controlled to disappear, and the electronic device may be controlled to close the current interface to return to a preset last page, or the pop-up frame prompt information may be controlled to disappear, and the electronic device may be controlled to close the current interface to return to the interface before the camera service is invoked. That is, after receiving the cancel instruction for the pop-up prompt information input by the user, the pop-up disappears, and the current interface may be closed to return to the previous page, or return to the interface before the camera is called, for example, a floating layer interface is provided on the camera application interface, and when it is confirmed that the user presses the sliding mechanism, the interface before the camera is called may be directly returned to instead of returning to the camera application interface.
According to the control method of the sliding mechanism, after the camera service is called by the application program currently existing, the pop-up frame prompt information can be provided for the user to prompt the user whether the camera service is used currently or not and to continuously start the camera service, the sliding mechanism is controlled differently according to the selection result of the user, and the accuracy of judging the misoperation is further improved.
In order to further improve the user experience, prevent the user from operating by mistake, and further avoid the problem that the sliding mechanism generates heat due to friction caused by sliding out or sliding back for multiple times in a short time, and reduce the risk of damage to the physical hardware, optionally, in an embodiment of the present invention, during the process that the sliding mechanism is in the first state, as shown in fig. 9, on the basis as shown in fig. 5 or fig. 6, the control method may further include:
s910, detecting whether a call action end instruction for the camera service is currently received.
Optionally, while the sliding mechanism is in the first state, it may be detected whether a call end instruction for a camera service is currently received.
S920, if a call action end instruction for the camera service is currently received, starting to count time by using a timer.
Optionally, when the call for the camera service is finished, a delay of a preset time may be designed so that the sliding mechanism does not slide back into the body within the preset time, and thus, by using the design characteristic of the preset time, a function of switching between the foreground and the background of a plurality of applications within a short time may be implemented. For example, when the user is using a photographing application or an application that needs to use a camera to view, the user may switch to another application through a multi-task or home key, and during the preset time, the sliding mechanism will not slide back into the main body, and during this time, the user may switch back to the photographing application or the application that uses the camera to view to normally use the camera. In order to realize the functions, when detecting that an action ending instruction for calling the camera is received currently, the timer can be used for starting to count time, so that whether the sliding mechanism is controlled to slide back into the body or the sliding mechanism is kept in the first state at present can be judged according to the counted time obtained by the timer subsequently.
S930, judging whether the timing time of the timer is greater than the preset time.
And S940, if the timing time of the timer is less than or equal to the preset time, the sliding mechanism is controlled to be kept in the first state.
For example, when the current counted time obtained by the timer is less than or equal to the preset time, if the user performs the switching of multiple applications (wherein the multiple applications include an application using a camera) in the period, the sliding mechanism can be controlled to be kept in the first state, so as to avoid the problem that the sliding mechanism slides back and forth many times in a short time to generate heat due to friction.
S950, if the timing time of the timer is longer than the preset time, the sliding mechanism is controlled to slide into the body to be in a second state.
That is to say, when the current timing time obtained through the timer is greater than the preset time, it can be considered that the user can no longer use the camera to take a scene at this time, and at this time, the sliding mechanism can be controlled to automatically slide back to the inside of the body so as to be in the second state, so that the camera is prevented from being exposed, the risk of hardware damage is increased, and the aesthetic property of the electronic equipment is prevented from being affected.
To further enhance the user experience, optionally, in one embodiment of the present invention, a use setting interface for the sliding mechanism may be provided, through which the user can customize: when the application using the camera is quitted or the application using the camera is in the background, the sliding mechanism is controlled to slide back to the inside of the body for a long time, namely, the user can customize the preset time through the use setting interface. Alternatively, the user can set, through the use setting interface: the sliding mechanism can not automatically slide back and automatically slide out, and can only manually slide back and automatically slide out. It will be appreciated that when the user sets the slide mechanism to only support manual slide back and automatic slide out, if an external force is received to press the slide mechanism, no pop-up box may be generated at this time to ask the user.
In order to realize the embodiment, the invention further provides a control assembly of the sliding mechanism. The control assembly of the sliding mechanism is applied to an electronic device 100, the electronic device 100 includes a body 10, a sliding mechanism 20 and a camera 30 mounted on the sliding mechanism 20, the camera 30 slides along with the sliding mechanism 20, the sliding mechanism 20 can move relative to the body to be in a first state, or, in a second state, the first state is a first position a protruding from a side wall of the body 10, the second state is a second position B inside the body 10, the control assembly can include a processor, wherein the processor can be used for:
s1010', when receiving the operation of the sliding mechanism acted by the external force in the first state, judging whether the electronic equipment has an application program currently calling the camera service;
s1020', determining whether the operation of the external force is misoperation according to the judgment result;
optionally, the processor is specifically configured to: when the judgment result is that the electronic equipment does not have an application program calling camera service currently, determining that the operation of the external force is normal operation; and when the judgment result indicates that the application program currently exists in the electronic equipment and the camera service is called, determining that the operation of the external force is misoperation.
S1030', when it is determined that the operation of the external force is an erroneous operation, controlling the sliding mechanism to be maintained in the first state.
Optionally, in an embodiment of the present invention, the sliding mechanism is further configured to be controlled to slide into the body to be in the second state when it is determined that the external force operation is a normal operation.
In order to further improve the accuracy of determining the misoperation, after the camera service is judged to be called by the application program currently, pop-up frame prompt information can be provided for a user to prompt the user whether the camera service is used currently or not and to continuously start the camera service, and the sliding mechanism is controlled differently according to the selection result of the user. Optionally, in an embodiment of the present invention, the processor is further configured to: after determining that an application program currently exists in the electronic equipment and calls a camera service, generating pop-up box prompt information and providing the pop-up box prompt information to a user, wherein the pop-up box prompt information is used for inquiring the user whether the application program is allowed to continue calling the camera service; when a confirmation instruction aiming at the popup frame prompt message and input by the user is received, the operation of the external force is judged to be misoperation, and when a cancel instruction aiming at the popup frame prompt message and input by the user is received, the sliding mechanism is controlled to slide into the body to be in the second state.
To enhance the user experience and improve the usability and feasibility of the invention, optionally, in an embodiment of the invention, the processor is further configured to: after a cancel instruction for the pop-up frame prompt information input by the user is received, controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the last preset page; or controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the interface before the camera service is called.
In order to further enhance the user experience, prevent the user from misoperation, and further avoid the problem that the sliding mechanism generates frictional heat due to multiple sliding-out or sliding-back within a short time, and reduce the risk of damage to the physical hardware, optionally, in an embodiment of the present invention, the processor is further configured to: detecting whether a call action ending instruction for the camera service is received currently or not in the process that the sliding mechanism is in the first state; if a call action ending instruction for the camera service is received currently, timing is started through a timer; judging whether the timing time of the timer is greater than the preset time or not; if the timing time of the timer is less than or equal to the preset time, controlling the sliding mechanism to be kept in the first state; and if the timing time of the timer is longer than the preset time, controlling the sliding mechanism to slide into the body to be in the second 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.
According to the control device of the sliding mechanism, when the sliding mechanism is in the first state and the operation of the sliding mechanism acted by external force is received, whether the electronic equipment has the camera service currently called by an application program or not is judged, whether the operation of the external force is misoperation or not is determined according to the judgment result, and when the operation of the external force is determined to be misoperation, the sliding mechanism can be controlled to be kept in the first state, so that the problem that the sliding mechanism slides out or slides back for multiple times in a short time to generate friction heat is avoided, the risk of physical hardware damage is reduced, and the problem that the appearance of the electronic equipment is influenced due to the fact that the sliding mechanism is exposed is solved, the use experience of the user 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 also proposes a computer program product, in which instructions, when executed by a processor, perform a control method of a sliding mechanism.
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 (16)

1. A control method of a sliding mechanism is applied to an electronic device, the electronic device comprises a body, the sliding mechanism and a camera carried on the sliding mechanism, the sliding mechanism can move relative to the body to be in a first state or a second state, the first state is a state when the sliding mechanism protrudes out of a first position of a side wall of the body, the second state is a state when the sliding mechanism is accommodated in a second position in the body, and the control method comprises the following steps:
when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service;
determining whether the operation of the external force is misoperation or not according to the judgment result; wherein, the determining whether the operation of the external force is a misoperation according to the judgment result includes:
when the judgment result is that the electronic equipment does not have an application program calling camera service currently, determining that the operation of the external force is normal operation;
when the judgment result indicates that the electronic equipment currently has an application program calling camera service, determining that the operation of the external force is misoperation; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state.
2. The control method according to claim 1, when it is determined that the operation of the external force is a normal operation, further comprising:
controlling the sliding mechanism to slide into the body to be in the second state.
3. The control method of claim 1, wherein after determining that the electronic device currently has an application program calling a camera service, further comprising:
generating pop frame prompt information and providing the pop frame prompt information to a user, wherein the pop frame prompt information is used for inquiring whether the application program is allowed to continue to call the camera service or not;
when a confirmation instruction aiming at the popup frame prompt information input by the user is received, judging that the operation of the external force is misoperation;
and when a cancel instruction which is input by the user and aims at the pop-up frame prompt message is received, controlling the sliding mechanism to slide into the body so as to be in the second state.
4. The control method according to claim 3, further comprising, after the receiving of the cancel instruction for the pop-up prompt information input by the user:
controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the last preset page; alternatively, the first and second electrodes may be,
and controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the interface before the camera service is called.
5. The control method according to claim 1, wherein during the sliding mechanism being in the first state, the control method further comprises:
detecting whether a call action end instruction for the camera service is currently received;
if a call action ending instruction for the camera service is received currently, timing is started through a timer;
judging whether the timing time of the timer is greater than the preset time or not;
if the timing time of the timer is less than or equal to the preset time, controlling the sliding mechanism to be kept in the first state;
and if the timing time of the timer is longer than the preset time, controlling the sliding mechanism to slide into the body to be in the second state.
6. The utility model provides a control assembly of slide mechanism, its characterized in that is applied to electronic equipment, electronic equipment include the body slide mechanism with carry on camera on the slide mechanism, slide mechanism can move relatively the body to be in the first state, perhaps, be in the second state, the first state be slide mechanism protrusion in the state that appears when the first position of body lateral wall, the second state be slide mechanism accept in the state that appears when the second position of body inside, control assembly includes the treater, the treater is used for:
when receiving the operation of an external force acting on the sliding mechanism in the first state, judging whether an application program exists in the electronic equipment at present and calls a camera service;
determining whether the operation of the external force is misoperation or not according to the judgment result; wherein, the determining whether the operation of the external force is a misoperation according to the judgment result includes:
when the judgment result is that the electronic equipment does not have an application program calling camera service currently, determining that the operation of the external force is normal operation;
when the judgment result indicates that the electronic equipment currently has an application program calling camera service, determining that the operation of the external force is misoperation; and when the operation of the external force is determined to be misoperation, controlling the sliding mechanism to be kept in the first state.
7. The control assembly of claim 6, wherein the processor is further configured to control the sliding mechanism to slide into the body to be in the second state upon determining that the external force is operating as normal.
8. The control assembly of claim 6, wherein the processor is further configured to:
after determining that an application program currently exists in the electronic equipment and calls a camera service, generating pop-up box prompt information and providing the pop-up box prompt information to a user, wherein the pop-up box prompt information is used for inquiring the user whether the application program is allowed to continue calling the camera service;
when a confirmation instruction aiming at the popup frame prompt information input by the user is received, judging that the operation of the external force is misoperation;
and when a cancel instruction which is input by the user and aims at the pop-up frame prompt message is received, controlling the sliding mechanism to slide into the body so as to be in the second state.
9. The control assembly of claim 8, wherein the processor is further configured to:
after a cancel instruction for the pop-up frame prompt information input by the user is received, controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the last preset page; alternatively, the first and second electrodes may be,
and controlling the pop-up frame prompt information to disappear, and controlling the electronic equipment to close the current interface to return to the interface before the camera service is called.
10. The control assembly of claim 6, wherein the processor is further configured to:
detecting whether a call action ending instruction for the camera service is received currently or not in the process that the sliding mechanism is in the first state;
if a call action ending instruction for the camera service is received currently, timing is started through a timer;
judging whether the timing time of the timer is greater than the preset time or not;
if the timing time of the timer is less than or equal to the preset time, controlling the sliding mechanism to be kept in the first state;
and if the timing time of the timer is longer than the preset time, controlling the sliding mechanism to slide into the body to be in the second state.
11. An electronic device, characterized in that, has camera, body and slide mechanism, the camera is carried on slide mechanism, slide mechanism can move relatively the body to be in the first state, perhaps, be in the second state, the first state be slide mechanism protrusion in the state that appears when the first position of body lateral wall, the second state be the state that appears when slide mechanism accepts the second position in the body inside, electronic device still includes: 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 implements the method of controlling the sliding mechanism according to any one of claims 1 to 5 when executing the program.
12. The electronic device of claim 11, wherein one of the slide mechanism and the body is provided with a magnet, and the other of the slide mechanism and the body is provided with a magnetic field detector, the magnetic field detector being electrically connected to the processor.
13. The electronic device of claim 12, 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.
14. Electronic device according to claim 12, 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.
15. The electronic device of claim 11,
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.
16. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing a control method of a sliding mechanism according to any one of claims 1 to 5.
CN201810603630.6A 2018-06-12 2018-06-12 Control method of sliding mechanism, control assembly, electronic device and storage medium Active CN108989493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810603630.6A CN108989493B (en) 2018-06-12 2018-06-12 Control method of sliding mechanism, control assembly, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810603630.6A CN108989493B (en) 2018-06-12 2018-06-12 Control method of sliding mechanism, control assembly, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN108989493A CN108989493A (en) 2018-12-11
CN108989493B true CN108989493B (en) 2020-05-08

Family

ID=64541219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810603630.6A Active CN108989493B (en) 2018-06-12 2018-06-12 Control method of sliding mechanism, control assembly, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN108989493B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365840B (en) * 2019-07-05 2021-04-13 Oppo广东移动通信有限公司 Slider control method and related product
CN112492127B (en) * 2019-09-12 2022-06-17 北京小米移动软件有限公司 Camera positioning method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581890A (en) * 2003-07-31 2005-02-16 Lg电子株式会社 Mobile terminal having image pick-up apparatus
CN107295127A (en) * 2017-06-30 2017-10-24 联想(北京)有限公司 Handheld device and its application method
CN107819907A (en) * 2017-11-14 2018-03-20 维沃移动通信有限公司 A kind of camera control method and mobile terminal
CN207304636U (en) * 2017-09-19 2018-05-01 广东欧珀移动通信有限公司 Mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100653893B1 (en) * 2004-07-21 2006-12-05 삼성전자주식회사 Method for controlling camera mode in wireless terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581890A (en) * 2003-07-31 2005-02-16 Lg电子株式会社 Mobile terminal having image pick-up apparatus
CN107295127A (en) * 2017-06-30 2017-10-24 联想(北京)有限公司 Handheld device and its application method
CN207304636U (en) * 2017-09-19 2018-05-01 广东欧珀移动通信有限公司 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
CN108989493A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US10808940B2 (en) Cooking equipment running method and device
US10623647B2 (en) Image capturing apparatus and control method for changing a setting based on a touch operation on a display
EP3933565A1 (en) Screen projection method, screen projection device, and storage medium
WO2017088579A1 (en) Fingerprint identification method and apparatus
KR101761104B1 (en) Display control apparatus and control method thereof
CN108989493B (en) Control method of sliding mechanism, control assembly, electronic device and storage medium
CN106817537B (en) Electronic device and control method thereof
WO2015062437A1 (en) Browser-based method and device for indicating mode switch
US10764502B2 (en) Imaging apparatus
EP3544269A1 (en) Method for detecting position of movable structure, and electronic device
US9325902B2 (en) Image capturing apparatus and control method therefor
US11425234B2 (en) Sliding control method for sliding assembly, electronic device, and non-transitory computer-readable storage medium
US10999496B2 (en) Electronic device, control method for electronic device, and non-transitory computer readable medium
US11871455B2 (en) Random access control method and random access control apparatus
US9865161B2 (en) Method, remote controller and electrical applicance for releasing a binding of a remote controller
US10904428B2 (en) Electronic device, control method, and non-transitory computer readable medium for executing function in accordance with touch operation
US10924678B2 (en) Electronic device, control method for electronic device, and non-transitory computer readable medium
US10649645B2 (en) Electronic apparatus and method for controlling the same
CN110891139A (en) On-off control method and device for shooting function, electronic equipment and storage medium
CN108924289B (en) Control method and device for sliding mechanism, electronic device and storage medium
US11169684B2 (en) Display control apparatuses, control methods therefor, and computer readable storage medium
CN114035722A (en) Application program interaction method, device and medium
CN112445405B (en) Method and device for detecting type of trigger operation, electronic equipment and storage medium
CN114189583B (en) Screen display control method and device, mobile terminal and medium
US11252334B2 (en) 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