Method and device for recognizing selfie stick
A selfie stick and magnet technology, applied in the field of identifying selfie sticks, can solve the problem of not being able to identify headphone jacks, headphones or selfie sticks, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] Please refer to figure 1 , an embodiment of the present invention provides a method for identifying a selfie stick, which can be used for a terminal such as a mobile phone to identify a selfie stick, wherein the selfie stick is provided with a magnet, and the method may include:
[0020] 110. When a component is inserted into the earphone jack, detect whether there is a magnet approaching.
[0021] When a selfie stick or a four-segment earphone is inserted into an earphone port of a terminal such as a mobile phone, the traditional terminals uniformly recognize it as a four-segment earphone, but cannot recognize the selfie stick. Considering that terminals such as mobile phones often have built-in Hall sensors to identify actions such as flipping. In the embodiment of the present invention, the Hall sensor is used to assist in identifying the selfie stick. For this purpose, a magnet may be placed on the selfie stick.
[0022] When a component such as a selfie stick or ...
Embodiment 2
[0032] Please refer to figure 2 , the embodiment of the present invention provides a device 200 for identifying a selfie stick, the selfie stick is provided with a magnet, and the device 200 may include:
[0033] The first detection module 210 is used to detect whether there is a magnet approaching when the component in the earphone jack is inserted;
[0034] The confirming module 220 is configured to confirm that a selfie stick is inserted into the earphone jack if a magnet approaches.
[0035] In some embodiments, the device 200 also includes:
[0036] The second detection module 230 is used to further detect whether the proximity sensor is in a proximity state if a magnet approaches;
[0037] The confirming module 220 is specifically configured to confirm that a selfie stick is inserted into the earphone jack if it is not in an approaching state.
[0038] In some embodiments, the first detection module 210 is specifically configured to use a Hall sensor to detect whethe...
Embodiment 3
[0046] An embodiment of the present invention also provides a memory for storing one or more programs, the one or more programs include instructions for executing the method for identifying a selfie stick as described in the above embodiments, when the one or more programs are executed When executed by a terminal including one or more processors, the terminal is made to execute the method for identifying a selfie stick as described in the foregoing embodiments.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 