CN105491247A - Method and device for recognizing selfie stick - Google Patents
Method and device for recognizing selfie stick Download PDFInfo
- Publication number
- CN105491247A CN105491247A CN201610086361.1A CN201610086361A CN105491247A CN 105491247 A CN105491247 A CN 105491247A CN 201610086361 A CN201610086361 A CN 201610086361A CN 105491247 A CN105491247 A CN 105491247A
- Authority
- CN
- China
- Prior art keywords
- self
- shooting bar
- earphone interface
- magnet
- insert
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/38—Releasing-devices separate from shutter
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B17/00—Details of cameras or camera bodies; Accessories therefor
- G03B17/56—Accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/11—Supports for sets, e.g. incorporating armrests
- H04M1/12—Adjustable supports, e.g. extensible
- H04M1/13—Adjustable supports, e.g. extensible pantographic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to a method for recognizing a selfie stick. A magnet is arranged on the selfie stick. The method comprises the steps that when an element is inserted in an earphone jack, whether the magnet approaches or not is detected; if the magnet approaches, it is confirmed that the element inserted in the earphone jack is the selfie stick. The invention further provides a corresponding device. A terminal can recognize whether the element inserted in the earphone jack is the selfie stick or not by itself.
Description
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of method and apparatus identifying self-shooting bar.
Background technology
The self-shooting bar application of carrying out taking for terminals such as auxiliary mobile phones is more and more extensive.At present, wired self-shooting bar adopts earphone interface mostly, terminal is fixed on self-shooting bar, and the interface line of self-shooting bar is inserted the earphone interface of terminal, namely completes installation.
But terminal can not identify that what insert in its earphone interface is earphone or self-shooting bar, when terminal detect in earphone interface have element to insert time, can unify to be identified as earphone such as four-section type headset.Therefore, after inserting self-shooting bar in earphone interface, after also needing to enter and arranging in camera or special application software, self-shooting bar pattern could be started, carry out photo or video capture.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus identifying self-shooting bar, so that terminal can identify whether what insert in its earphone interface is self-shooting bar voluntarily.
Whether, for solving the problems of the technologies described above and reaching above-mentioned beneficial effect, the invention provides a kind of method identifying self-shooting bar, described self-shooting bar is provided with magnet, and method comprises: when element in earphone interface inserts, detect and have magnet close; If there is magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
Whether the present invention also provides a kind of device identifying self-shooting bar, and described self-shooting bar is provided with magnet, and device comprises: first detection module, for when element in earphone interface inserts, detect and have magnet close; Confirm module, if for there being magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
The present invention also provides a kind of memory storing one or more program, when the terminal that described one or more program is included one or more processor performs, makes described terminal perform the method for identification self-shooting bar as described above.
The present invention also provides a kind of terminal, and this terminal can comprise: one or more processor; Memory; And one or more program, wherein said one or more program is stored in which memory and is configured to be performed by described one or more processor, when described terminal operating, described processor performs the described program that described memory stores, with the method making described terminal perform identification self-shooting bar as described above.
Hinge structure, the present invention adopts and arrange magnet on self-shooting bar, when element in earphone interface inserts, detect and whether have magnet close, if there is magnet close, what then confirm to insert in earphone interface is the technical scheme of self-shooting bar, make, terminal can identify whether what insert in its earphone interface is self-shooting bar voluntarily, thus is supported in self-shooting bar when inserting, start self-shooting bar pattern voluntarily, and setting operation need not be carried out by user.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for the identification self-shooting bar that one embodiment of the invention provides;
Fig. 2 is the structural representation of the device of the identification self-shooting bar that one embodiment of the invention provides;
Fig. 3 is the structural representation of the device of the identification self-shooting bar that another embodiment of the present invention provides;
Fig. 4 is the structural representation of the terminal that one embodiment of the invention provides.
Embodiment
The embodiment of the present invention provides a kind of method identifying self-shooting bar, so that terminal can identify whether what insert in its earphone interface is self-shooting bar voluntarily.The embodiment of the present invention also provides corresponding and device.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below by specific embodiment, be described in detail respectively.
Embodiment one,
Please refer to Fig. 1, the embodiment of the present invention provides a kind of method identifying self-shooting bar, and the method can be used for terminal such as handset identity self-shooting bar, and wherein, described self-shooting bar is provided with magnet, described method can comprise:
110, when element in earphone interface inserts, detect and whether have magnet close.
When being inserted with self-shooting bar or four-section type headset in the earphone interface of the terminals such as mobile phone, traditional terminal is all unified to be identified as four-section type headset, and None-identified self-shooting bar.Considering in the terminals such as mobile phone often all can built-in Hall sensors, to identify actions such as renovating.The embodiment of the present invention utilizes this Hall element to assist and identifies self-shooting bar, for this reason, can settle magnet on self-shooting bar.
When having element such as self-shooting bar or earphone to insert the earphone interface of terminal, terminal can receive earphone interrupt signal, then terminal judges have earphone interrupt signal particularly four-section type headset interrupt signal insert time, whether Hall element can be utilized to detect has magnet close, to have judged whether that self-shooting bar is close.
If 120 have magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
If now Hall element has detected that magnet is close, what so just can regard as insertion has been self-shooting bar.Now just self-shooting bar pattern can be started, such as, just photo or video capture interface etc. can be ejected.
It should be noted that, some mobile phone can be configured with leather sheath, the Hall function of these mobile phones is often all used to detect whether leather sheath cover, and listening to the music, being so easy to will cause without identifying if user being covered with leather sheath.So, in some embodiments, can identify that the state variation of Hall element is whether because leather sheath causes by proximity transducer.When leather sheath covers on mobile phone, so proximity transducer is proximity state.So when proximity transducer is proximity state time, so illustrate that now hall device state variation causes due to leather sheath, is so judged to be earphone, otherwise is judged to be self-shooting bar.
Thus in certain embodiments, step 120 can specifically comprise: if there is magnet close, then detect proximity transducer further and whether be in proximity state; If be not in proximity state, then what confirm to insert in described earphone interface is self-shooting bar.
Based on above-mentioned steps, terminal can intelligence whether what judge current insertion be self-shooting bar.
Be appreciated that embodiment of the present invention such scheme such as specifically can be implemented at the terminal equipment such as mobile phone, panel computer.
Therefore, in feasible execution modes more of the present invention, adopt and magnet is set on self-shooting bar, when element in earphone interface inserts, whether detect has magnet close, if there is magnet close, then what confirm to insert in earphone interface is the technical scheme of self-shooting bar, makes, terminal can identify whether what insert in its earphone interface is self-shooting bar voluntarily, thus when being supported in self-shooting bar insertion, starting self-shooting bar pattern voluntarily, and setting operation need not be carried out by user.
In order to better implement the such scheme of the embodiment of the present invention, be also provided for below coordinating the relevant apparatus implementing such scheme.
Embodiment two,
Please refer to Fig. 2, the embodiment of the present invention provides the device 200 identifying self-shooting bar, and described self-shooting bar is provided with magnet, and described device 200 can comprise:
Whether first detection module 210, for when element in earphone interface inserts, detect and have magnet close;
Confirm module 220, if for there being magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
In certain embodiments, described device 200 also comprises:
Second detection module 230, if for there being magnet close, then detecting proximity transducer further and whether is in proximity state;
Described confirmation module 220, if specifically for not being in proximity state, then what confirm to insert in described earphone interface is self-shooting bar.
In certain embodiments, described first detection module 210, whether specifically for when receiving four-section type headset interrupt signal, utilizing Hall element to detect has magnet close.
In certain embodiments, described device 200 also comprises:
Start module 240, for starting self-shooting bar pattern.
In certain embodiments, described startup module 240, specifically for ejecting photo or video capture interface.
The device of the embodiment of the present invention can be such as the terminal equipment such as mobile phone, panel computer.
Be appreciated that the function of each functional module of embodiment of the present invention device can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in said method embodiment, repeats no more herein.
Therefore, in feasible execution modes more of the present invention, adopt and magnet is set on self-shooting bar, when element in earphone interface inserts, whether detect has magnet close, if there is magnet close, then what confirm to insert in earphone interface is the technical scheme of self-shooting bar, makes, terminal can identify whether what insert in its earphone interface is self-shooting bar voluntarily, thus when being supported in self-shooting bar insertion, starting self-shooting bar pattern voluntarily, and setting operation need not be carried out by user.
Embodiment three,
The embodiment of the present invention also provides a kind of memory storing one or more program, described one or more program comprises the instruction of the method for the identification self-shooting bar performed as described in above-described embodiment, when the terminal that described one or more program is included one or more processor performs, described terminal is made to perform the method for the identification self-shooting bar as described in above-described embodiment.
Embodiment four,
Please refer to Fig. 4, the embodiment of the present invention also provides a kind of terminal 400, and this terminal 400 can comprise:
One or more processor 401; Memory 402; And one or more program 403, wherein said one or more program to be stored in described memory 402 and to be configured to be performed by described one or more processor 401, and described one or more program 403 comprises the method for performing as the identification self-shooting bar above as described in embodiment of the method.Wherein, described processor 401 is connected by bus 404 with memory 402.When described terminal 400 is run, described processor 401 performs the described program 403 that described memory 402 stores, and performs method as the identification self-shooting bar above as described in embodiment of the method to make described terminal 400.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Above the method and apparatus of the identification self-shooting bar that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. identify a method for self-shooting bar, it is characterized in that, described self-shooting bar is provided with magnet, and described method comprises:
When element in earphone interface inserts, detect and whether have magnet close;
If there is magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
2. method according to claim 1, is characterized in that, has magnet close if described, then what confirm to insert in described earphone interface is that self-shooting bar comprises:
If there is magnet close, then detects proximity transducer further and whether be in proximity state;
If be not in proximity state, then what confirm to insert in described earphone interface is self-shooting bar.
3. method according to claim 1, is characterized in that, described when element in earphone interface inserts, and detects and whether has magnet near comprising:
Whether when receiving four-section type headset interrupt signal, utilizing Hall element to detect has magnet close.
4., according to the arbitrary described method of claim 1-3, it is characterized in that, also comprise:
Start self-shooting bar pattern.
5. method according to claim 4, is characterized in that, described startup self-shooting bar pattern comprises:
Eject photo or video capture interface.
6. identify a device for self-shooting bar, it is characterized in that, described self-shooting bar is provided with magnet, and described device comprises:
Whether first detection module, for when element in earphone interface inserts, detect and have magnet close;
Confirm module, if for there being magnet close, then what confirm to insert in described earphone interface is self-shooting bar.
7. device according to claim 6, is characterized in that, also comprises:
Second detection module, if for there being magnet close, then detecting proximity transducer further and whether is in proximity state;
Described confirmation module, if specifically for not being in proximity state, then what confirm to insert in described earphone interface is self-shooting bar.
8. device according to claim 6, is characterized in that,
Described first detection module, whether specifically for when receiving four-section type headset interrupt signal, utilizing Hall element to detect has magnet close.
9., according to the arbitrary described device of claim 6-8, it is characterized in that, also comprise:
Start module, for starting self-shooting bar pattern.
10. device according to claim 9, is characterized in that, described startup module, specifically for ejecting photo or video capture interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086361.1A CN105491247B (en) | 2016-02-15 | 2016-02-15 | Identify method, apparatus, storage medium and the terminal of self-shooting bar |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086361.1A CN105491247B (en) | 2016-02-15 | 2016-02-15 | Identify method, apparatus, storage medium and the terminal of self-shooting bar |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105491247A true CN105491247A (en) | 2016-04-13 |
CN105491247B CN105491247B (en) | 2018-12-11 |
Family
ID=55677943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610086361.1A Active CN105491247B (en) | 2016-02-15 | 2016-02-15 | Identify method, apparatus, storage medium and the terminal of self-shooting bar |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105491247B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933596A (en) * | 2016-04-18 | 2016-09-07 | 北京小米移动软件有限公司 | Photographing processing method, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120388A (en) * | 2015-08-12 | 2015-12-02 | 青岛海信移动通信技术股份有限公司 | Identification method and device of selfie stick |
CN105554308A (en) * | 2016-01-29 | 2016-05-04 | 广东欧珀移动通信有限公司 | Selfie stick, method and apparatus for identifying selfie stick and mobile terminal |
-
2016
- 2016-02-15 CN CN201610086361.1A patent/CN105491247B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120388A (en) * | 2015-08-12 | 2015-12-02 | 青岛海信移动通信技术股份有限公司 | Identification method and device of selfie stick |
CN105554308A (en) * | 2016-01-29 | 2016-05-04 | 广东欧珀移动通信有限公司 | Selfie stick, method and apparatus for identifying selfie stick and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933596A (en) * | 2016-04-18 | 2016-09-07 | 北京小米移动软件有限公司 | Photographing processing method, device and equipment |
CN105933596B (en) * | 2016-04-18 | 2019-06-25 | 北京小米移动软件有限公司 | It takes pictures processing method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105491247B (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20140007194A (en) | Method for charging battery and an electronic device thereof | |
CN106712179B (en) | Method and device for realizing reverse charging | |
CN105207851A (en) | Fault detection method, device, system and terminal and intelligent device | |
CN105137356B (en) | Detect the method and device of charged state | |
CN105068958A (en) | Switching control method and device | |
CN104869569A (en) | Network permission control method and apparatus of application program | |
CN108665889B (en) | Voice signal endpoint detection method, device, equipment and storage medium | |
CN104105169A (en) | Method and device for automatically connecting with wireless local area network | |
CN105224494A (en) | Method for handover control and device | |
CN105578344A (en) | Earphone interface state detecting system and detecting method | |
CN110366721B (en) | Electronic equipment with TypeCUSB interface, control method and storage medium | |
CN105071473A (en) | USB charging method and device | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN107681727A (en) | The control method and device of electronic equipment | |
CN105260080A (en) | Method and device for realizing voice control operation on display screen of mobile terminal | |
CN104199726A (en) | Device function extension method and device | |
CN105005489B (en) | A kind of the starting method and terminal device of terminal device | |
CN105975038A (en) | Prompt method and device of charging port detection result | |
CN110970970A (en) | Processing method and device of terminal charger | |
CN107885688B (en) | Signal switching method and device | |
CN105071500A (en) | Terminal, charging method and device of terminal | |
CN113038327B (en) | Detection method, detection device, charging box and storage medium | |
CN105491247A (en) | Method and device for recognizing selfie stick | |
CN106026232A (en) | Detecting method and apparatus for USB port type | |
CN112351361A (en) | Earphone in-out box detection method and earphone box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |