CN105163234A - Selfie stick fitting method, device and corresponding mobile device - Google Patents

Selfie stick fitting method, device and corresponding mobile device Download PDF

Info

Publication number
CN105163234A
CN105163234A CN201510471558.2A CN201510471558A CN105163234A CN 105163234 A CN105163234 A CN 105163234A CN 201510471558 A CN201510471558 A CN 201510471558A CN 105163234 A CN105163234 A CN 105163234A
Authority
CN
China
Prior art keywords
voltage
self
shooting bar
button
magnitude
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
Application number
CN201510471558.2A
Other languages
Chinese (zh)
Other versions
CN105163234B (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 CN201510471558.2A priority Critical patent/CN105163234B/en
Publication of CN105163234A publication Critical patent/CN105163234A/en
Application granted granted Critical
Publication of CN105163234B publication Critical patent/CN105163234B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Telephone Set Structure (AREA)

Abstract

The invention provides a selfie stick fitting method, device and corresponding mobile device. The method includes determiming a mic-end voltage value subjected to change as a key voltage value if that the mic-end voltage value changes is determined after that an earphone plug is inserted into the mobile device is detected; judging whether correspondence between the key voltage value and the shooting instruction exists or not and establishing the correspondence between the key voltage value and the shooting instruction if the correspondence does not exist. By adopting the above technical scheme, when a user connects a selfie stick which is not subjected to fitting before delivery to the mobile device, the mobile device can perform automatic fitting through establishing the correspondence between the key voltage value and the shooting instruction and the selfie stick subjected to fitting can be used normally and troubles of the user are eliminated. Besides, by adopting the technical scheme, no new version needs to be released for the compatible use of selfie sticks that are not subjected to fitting before delivery, so that time and cost for new version release can be saved.

Description

A kind of adaptation method of self-shooting bar, device and corresponding mobile device
Technical field
The embodiment of the present invention relates to mobile device technical field, particularly relates to a kind of adaptation method of self-shooting bar, device and corresponding mobile device.
Background technology
At present, camera has become the standard configuration of most mobile device, and along with the continuous lifting of camera performance, the camera function in mobile device also from strength to strength, brings facility for liking the user taken pictures.
Many mobile device users are all liked using mobile device to autodyne, but due to the arm length of oneself limited, the photo of shooting is also not fully up to expectations, so the self-shooting bar arisen at the historic moment just becomes the auto heterodyne sharp weapon of many mobile device user indispensabilities.
Self-shooting bar is on the market roughly divided into two classes.The first kind needs to be connected by bluetooth and mobile device, but this self-shooting bar needs charging, if power drain, cannot use; Equations of The Second Kind is connected with the earphone jack of mobile device by the headset plug carried, and without the need to charging, the button pressed on self-shooting bar can realize camera function, is easy to use quick.
For above-mentioned Equations of The Second Kind self-shooting bar, i.e. headset plug (being generally 3.5mm four-part form plug) interconnection system self-shooting bar, its course of work is specially: after the headset plug of self-shooting bar is connected with the earphone jack of mobile device, when user presses the button on self-shooting bar, mobile device can read the magnitude of voltage (can be designated as button magnitude of voltage) that the Mike (MIC) on headset plug holds, judge whether this magnitude of voltage meets photographical condition, if so, then can control camera and take pictures.In order to make mobile device and above-mentioned headset plug interconnection system self-shooting bar cooperating, before mobile device dispatching from the factory, needing to carry out adaptation to the button magnitude of voltage of several frequently seen self-shooting bar, setting up the corresponding relation of button magnitude of voltage and photographing instruction.But, self-shooting bar on market is of a great variety, standard differs, if when a kind of not self-shooting bar that adaptation is crossed before dispatching from the factory is connected with mobile device by user, its button voltage is probably undesirable, thus cause user's button pressed on self-shooting bar also cannot realize taking pictures, affect the normal use of user.
Summary of the invention
The object of the invention is to propose a kind of adaptation method of self-shooting bar, device and corresponding mobile device, to realize mobile device automatic adaptation self-shooting bar.
First aspect, embodiments provides a kind of adaptation method of self-shooting bar, comprising:
After detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage;
Judge whether described button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then set up the corresponding relation of described button magnitude of voltage and described photographing instruction.
Second aspect, embodiments provides a kind of adaptive device of self-shooting bar, comprising:
Button magnitude of voltage determination module, for after detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage;
Corresponding relation building module, for judging whether described button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then sets up the corresponding relation of described button magnitude of voltage and described photographing instruction.
The third aspect, embodiments provides a kind of mobile device, and this mobile device comprises the adaptive device of the self-shooting bar in the embodiment of the present invention.
The adaptation scheme of the self-shooting bar provided in the embodiment of the present invention, after detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage; Judge whether button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then set up the corresponding relation of button magnitude of voltage and photographing instruction.By adopting technique scheme, when a kind of not self-shooting bar that adaptation is crossed before dispatching from the factory is connected with mobile device by user, mobile device is by setting up the corresponding relation of button magnitude of voltage and photographing instruction to carry out automatic adaptation, self-shooting bar after adaptation can normally use, and eliminates the worry of user.In addition, after adopting technique scheme, without the need to issuing original compatible not adaptive before the dispatching from the factory self-shooting bar of new edition again, the time and cost of issuing redaction can be saved.
Accompanying drawing explanation
The schematic flow sheet of the adaptation method of a kind of self-shooting bar that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the adaptation method of a kind of self-shooting bar that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of the adaptation method of a kind of preferred self-shooting bar that Fig. 3 provides for the embodiment of the present invention three;
The structured flowchart of the adaptive device of a kind of self-shooting bar that Fig. 4 provides for the embodiment of the present invention four.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
Before in further detail exemplary embodiment being discussed, it should be mentioned that some exemplary embodiments are described as the process or method described as flow chart.Although operations (or step) is described as the process of order by flow chart, many operations wherein can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.Described process can be terminated when its operations are completed, but can also have the additional step do not comprised in the accompanying drawings.Described process can correspond to method, function, code, subroutine, subprogram etc.
Embodiment one
The schematic flow sheet of the adaptation method of a kind of self-shooting bar that Fig. 1 provides for the embodiment of the present invention one, the method can be performed by the adaptive device of self-shooting bar, and wherein this device can by software and/or hardware implementing, and general accessible site in a mobile device.As shown in Figure 1, the method comprises:
Step 101, detecting that headset plug inserts after mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after changing is defined as button magnitude of voltage.
Exemplary, the mobile device in the present embodiment specifically can be the mobile phone and dull and stereotyped apparatus such as computer that possess camera function.Self-shooting bar specifically can be the self-shooting bar with headset plug, is connected with the earphone jack of mobile device by headset plug, and controls mobile device and take pictures.Device for performing the present embodiment method specifically can embed the system bottom of mobile device.
Exemplary, the supporting headset plug of the earphone jack in existing mobile device is generally 3.5mm four-part form plug, comprises L channel end, R channel end, earth terminal and Mike (MIC) end.When headset plug inserts the earphone jack of mobile device, MIC end can be applied in certain voltage, read MIC by analog to digital converter (Analog-to-DigitalConverter, ADC) and hold ground voltage value (hereinafter referred to as MIC terminal voltage value).
In the present embodiment, when detecting that MIC terminal voltage value is in preset range, can be defined as detecting that headset plug inserts mobile device.Exemplary, when headset plug inserts the earphone jack of mobile device, MIC end generally can be applied in the voltage of 1.9V, general when the MIC terminal voltage value read is at more than 1.2V, can be defined as detecting that headset plug inserts, namely above-mentioned preset range specifically can be between 1.2V to 1.9V.
After detecting that headset plug inserts mobile device, if judge, MIC terminal voltage value changes, then the MIC terminal voltage value after change can be defined as button magnitude of voltage.Exemplary, when the button on self-shooting bar is pressed, the processor meeting commutation circuit of mobile device inside, now MIC terminal voltage value can change, such as become 0.27V from 1.5V, the MIC terminal voltage value (0.27V) after change can be defined as button magnitude of voltage.
Step 102, judge whether button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then set up the corresponding relation of button magnitude of voltage and photographing instruction.
Exemplary, because the specification of various self-shooting bar there are differences, the earth impedance of the MIC of its Earphone joint end is different, generally from hundreds of Europe to several kilo-ohms not etc., thus cause when the button on self-shooting bar is pressed, the MIC terminal voltage value (button magnitude of voltage) that ADC reads is also different.Existing mobile device, before dispatching from the factory, usually can carry out adaptation with several frequently seen self-shooting bar, the button magnitude of voltage of these self-shooting bars and photographing instruction are set up corresponding relation.After the headset plug of self-shooting bar is inserted mobile device by user, if the self-shooting bar that user now inserts is a mobile device dispatch from the factory before adaptive cross self-shooting bar time, after pressing the button on self-shooting bar, corresponding relation will be there is in the button magnitude of voltage that ADC reads with photographing instruction, directly photographing instruction can be performed according to corresponding relation, such as report key assignments to upper strata, continue execution by upper strata and to take pictures associative operation, thus realize camera function; If the self-shooting bar that user now inserts is not adaptive mistake before mobile device dispatches from the factory, and judge that its button magnitude of voltage and photographing instruction do not exist corresponding relation, so can set up the corresponding relation of this button magnitude of voltage and photographing instruction.When to re-use this self-shooting bar next time, will judge that the button magnitude of voltage of this self-shooting bar and photographing instruction exist corresponding relation, directly can perform photographing instruction according to corresponding relation.
The adaptation method of the self-shooting bar provided in the embodiment of the present invention one, after detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage; Judge whether button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then set up the corresponding relation of button magnitude of voltage and photographing instruction.By adopting technique scheme, when a kind of not self-shooting bar that adaptation is crossed before dispatching from the factory is connected with mobile device by user, mobile device is by setting up the corresponding relation of button magnitude of voltage and photographing instruction to carry out automatic adaptation, self-shooting bar after adaptation can normally use, and eliminates the worry of user.In addition, after adopting technique scheme, without the need to issuing original compatible not adaptive before the dispatching from the factory self-shooting bar of new edition again, the time and cost of issuing redaction can be saved.
On the basis of above-described embodiment, set up the corresponding relation of button magnitude of voltage and photographing instruction, specifically can comprise: whether display has inserted the inquiry message of self-shooting bar; When detecting that user triggers the confirmation operation of inserting self-shooting bar, set up the corresponding relation of button magnitude of voltage and photographing instruction.Exemplary, when the headset plug inserted not is the headset plug of self-shooting bar, what such as insert is the headset plug of a line control earphone, when the buttons such as the volume key on line control earphone are pressed, MIC terminal voltage value also can change, and the magnitude of voltage that now ADC reads also can not exist corresponding relation with photographing instruction.In order to avoid thinking the parts being furnished with headset plug beyond self-shooting bar by mistake self-shooting bar, can first show the inquiry message whether inserting self-shooting bar, such as show on the display screen of mobile device " insert self-shooting bar? Yes/No ", if user clicks "Yes", then can detect that user triggers the confirmation operation of inserting self-shooting bar, just can set up the corresponding relation of button magnitude of voltage and photographing instruction subsequently.Certainly, if the MIC terminal voltage value read establishes corresponding relation with associative operation instructions such as volume adjustings in a mobile device, also directly associative operation can be performed, now need the operating state considering that mobile device is current, such as, when determining that mobile device is current and be in music state, directly can perform the associative operations such as volume adjusting.
Embodiment two
The schematic flow sheet of the adaptation method of a kind of self-shooting bar that Fig. 2 provides for the embodiment of the present invention two, the present embodiment is optimized based on above-described embodiment, in the present embodiment, " judging whether button magnitude of voltage exists corresponding relation with photographing instruction " is optimized for: whether inquiry button magnitude of voltage is contained in the self-shooting bar button voltage adaptation set of setting up in advance, judges whether button magnitude of voltage exists corresponding relation with photographing instruction according to Query Result; " setting up the corresponding relation of button magnitude of voltage and photographing instruction " is optimized for: button magnitude of voltage is added the self-shooting bar button voltage adaptation set of setting up in advance.
Accordingly, the method for the present embodiment comprises the steps:
Step 201, detecting that headset plug inserts after mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after changing is defined as button magnitude of voltage.
Whether step 202, inquiry button magnitude of voltage are contained in the self-shooting bar button voltage adaptation set of setting up in advance, if so, then illustrate and do not need to carry out adaptation, can process ends; Otherwise, perform step 203.
Step 203, button magnitude of voltage is added the self-shooting bar button voltage adaptation set of setting up in advance.
Exemplary, after mobile device dispatches from the factory, when self-shooting bar is connected with mobile device by user for the first time, the adaptive self-shooting bar button magnitude of voltage crossed before dispatching from the factory specifically can be comprised in the self-shooting bar button voltage adaptation set of setting up in advance, these button magnitudes of voltage may be discrete numerical value, as 0.1V, 0.15V, 0.27V Also may be all magnitudes of voltage within the scope of, as all magnitudes of voltage between 0.1V to 0.27V.If the self-shooting bar that user now inserts is a mobile device dispatch from the factory before adaptive cross self-shooting bar time, then button magnitude of voltage will be contained in the self-shooting bar button voltage adaptation set of setting up in advance, do not need to carry out adaptation, directly can perform photographing instruction, such as report key assignments to upper strata, continue execution by upper strata to take pictures associative operation, thus realize camera function; If the self-shooting bar that user now inserts is not adaptive mistake before mobile device dispatches from the factory, and be not contained in the self-shooting bar button voltage adaptation set of setting up in advance through inquiry button magnitude of voltage (as 0.3V), now this button magnitude of voltage can be added the self-shooting bar button voltage adaptation set of setting up in advance, to realize upgrading the self-shooting bar button voltage adaptation set of setting up in advance, complete self-shooting bar adaptation procedure.When to re-use this self-shooting bar next time, in the self-shooting bar button voltage adaptation set of setting up in advance after the button magnitude of voltage that will inquire this self-shooting bar is contained in renewal.
The adaptation method of the self-shooting bar that the embodiment of the present invention two provides, the self-shooting bar button voltage adaptation set of setting up in advance whether is contained in by inquiry button magnitude of voltage, judge whether button magnitude of voltage exists corresponding relation with photographing instruction, can manage concentratedly self-shooting bar button voltage, improve recognition efficiency and the Adaption efficiency of self-shooting bar.
On the basis of above-described embodiment, it should be noted that, before mobile device dispatches from the factory, also an empty self-shooting bar button voltage adaptation set can be set up in advance, during any one self-shooting bar of user's first connection, the method for mobile device all by performing above-described embodiment carries out automatic adaptation to this self-shooting bar.
On the basis of above-described embodiment, the self-shooting bar button voltage adaptation set of setting up in advance can comprise the first array and the second array.Wherein, the first array is for storing the button magnitude of voltage of conventional self-shooting bar; Button magnitude of voltage is added the self-shooting bar button voltage adaptation set of setting up in advance, be specially: button magnitude of voltage is write the second array.Conventional self-shooting bar specifically can be the adaptive self-shooting bar crossed before mobile device dispatches from the factory.The benefit done like this is, self-shooting bar adaptive voluntarily in the self-shooting bar crossed adaptive before dispatching from the factory and user's use procedure is carried out grouping management, can maintain easily and call.
On the basis of above-mentioned the present embodiment, while button magnitude of voltage being added the self-shooting bar button voltage adaptation set of setting up in advance, MIC terminal voltage value when also headset plug corresponding for this button magnitude of voltage just can have been inserted mobile device also adds the self-shooting bar button voltage adaptation set of setting up in advance, and set up corresponding relation with button magnitude of voltage, to record the more parameter information of this self-shooting bar.
Embodiment three
The schematic flow sheet of the adaptation method of a kind of preferred self-shooting bar that Fig. 3 provides for the embodiment of the present invention three, the method can be performed by the adaptive device of self-shooting bar, and this device accessible site is in the smart mobile phone being provided with camera.The method specifically comprises the steps:
Step 301, set up self-shooting bar button voltage adaptation first array and self-shooting bar button voltage adaptation second array.
Exemplary, specifically can set up self-shooting bar button voltage adaptation first array and self-shooting bar button voltage adaptation second array at the system bottom of smart mobile phone.Wherein, self-shooting bar button voltage adaptation first array specifically can called after btn_low [] array, for storing the button magnitude of voltage of conventional self-shooting bar; Self-shooting bar button voltage adaptation second array specifically can called after btn_low_other_selfstick [] array, for storing user in use mobile phone process, carries out the button magnitude of voltage that adaptive self-shooting bar is corresponding voluntarily.
Exemplary, the bottom code of btn_low [] array is as follows:
u16*btn_low,*btn_high;
btn_low=wcd9xxx_mbhc_cal_btn_det_mp(btn_cfg,MBHC_BTN_DET_V_BTN_LOW);
btn_low[0]=-50;
btn_low[1]=21;
btn_low[2]=62;
btn_low[3]=150;
btn_low[4]=149;
btn_low[5]=190;
btn_low[6]=229;
btn_low[7]=270;
As shown in above-mentioned code, comprise 8 button magnitudes of voltage in btn_low [] array, btn_low [7]=270 represents that the button magnitude of voltage of corresponding self-shooting bar is 0.27V.
Whether the MIC terminal voltage value that step 302, judgement detect is in preset range, if so, then performs step 303; Otherwise, process ends.
Step 303, judge whether MIC terminal voltage value changes, if so, then perform step 304; Otherwise, repeat this step.
Step 304, by change after MIC magnitude of voltage be defined as button magnitude of voltage.
Whether step 305, inquiry button magnitude of voltage are contained in self-shooting bar button voltage adaptation first array or self-shooting bar button voltage adaptation second array, if so, then illustrate and do not need to carry out adaptation, can process ends; Otherwise, perform step 306.
Exemplary, if user is not adaptive voluntarily cross self-shooting bar, btn_low_other_selfstick [] array is empty.When button magnitude of voltage is 0.3V, do not inquire this magnitude of voltage of 0.3V in btn_low [] array, just can continue to perform step 306.
Whether step 306, display have inserted the inquiry message of self-shooting bar.
Step 307, judge whether to detect that user triggers the confirmation operation of inserting self-shooting bar, if so, then perform step 308; Otherwise, process ends.
Step 308, by button magnitude of voltage write self-shooting bar button voltage adaptation second array, terminate adaptive flow process.
Exemplary, above-mentioned button magnitude of voltage 0.3V is write btn_low_other_selfstick [] array.When user presses the button of self-shooting bar again, just can find corresponding button magnitude of voltage 0.3V in btn_low_other_selfstick [] array, thus directly perform photographing instruction.
The adaptation method of the preferred self-shooting bar that the present embodiment three provides, can make smart mobile phone carry out dynamic adaptation to the not adaptive self-shooting bar crossed voluntarily, thus the self-shooting bar that compatibility is all on the market.Especially for the smart mobile phone dispatched from the factory, only issuing a software, without the need to issuing original compatible not adaptive before the dispatching from the factory self-shooting bar of new edition again, the time and cost of issuing redaction can be saved.
Embodiment four
The structured flowchart of the adaptive device of a kind of self-shooting bar that Fig. 4 provides for the embodiment of the present invention four, this device can by software and/or hardware implementing, and generally in a mobile device integrated, the adaptation method by performing self-shooting bar realizes the adaptation of self-shooting bar.As shown in Figure 4, this device comprises: button magnitude of voltage determination module 401 and corresponding relation building module 402.
Wherein, button magnitude of voltage determination module 401, for after detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage; Corresponding relation building module 402, for judging whether described button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then sets up the corresponding relation of described button magnitude of voltage and described photographing instruction.
On the basis of above-described embodiment, corresponding relation building module can comprise query unit and add unit.Wherein, whether query unit, being contained in the self-shooting bar button voltage adaptation set of setting up in advance for inquiring about described button magnitude of voltage, judging whether described button magnitude of voltage exists corresponding relation with photographing instruction according to Query Result; Add unit, at Query Result be described button magnitude of voltage be not contained in the self-shooting bar button voltage adaptation set of setting up in advance time, the self-shooting bar button voltage adaptation set of setting up in advance described in described button magnitude of voltage is added.
On the basis of above-described embodiment, the self-shooting bar button voltage adaptation set of setting up in advance can comprise the first array and the second array.Wherein, the first array is for storing the button magnitude of voltage of conventional self-shooting bar; Add unit specifically to can be used for: Query Result be described button magnitude of voltage be not contained in the self-shooting bar button voltage adaptation set of setting up in advance time, by described second array of described button magnitude of voltage write.
On the basis of above-described embodiment, corresponding relation building module also can comprise display unit and determining unit.Wherein, display unit, for when determining that described button magnitude of voltage and photographing instruction do not exist corresponding relation, whether display has inserted the inquiry message of self-shooting bar; Determining unit, for when detecting that user triggers the confirmation operation of inserting self-shooting bar, sets up the corresponding relation of described button magnitude of voltage and described photographing instruction.
On the basis of above-described embodiment, detecting that headset plug inserts mobile device, being specially: when detecting that Mike's terminal voltage value is in preset range, be then defined as detecting that headset plug inserts mobile device.
Embodiment five
The embodiment of the present invention five provides a kind of mobile device, and this equipment comprises the adaptive device of the self-shooting bar described in the embodiment of the present invention, carrys out adaptive self-shooting bar voluntarily by the adaptation method performing the self-shooting bar described in the embodiment of the present invention.
Exemplary, the mobile device in the present embodiment specifically can be the equipment such as smart mobile phone and panel computer possessing camera function.
The said goods can perform the adaptation method of the self-shooting bar that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.The not ins and outs of detailed description in the present embodiment, the adaptation method of the self-shooting bar that can provide see any embodiment of the present invention.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (10)

1. an adaptation method for self-shooting bar, is characterized in that, comprising:
After detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage;
Judge whether described button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then set up the corresponding relation of described button magnitude of voltage and described photographing instruction.
2. method according to claim 1, is characterized in that, judges whether described button magnitude of voltage exists corresponding relation with photographing instruction, comprising:
Inquire about described button magnitude of voltage and whether be contained in the self-shooting bar button voltage adaptation set of setting up in advance, judge whether described button magnitude of voltage exists corresponding relation with photographing instruction according to Query Result;
The described corresponding relation setting up described button magnitude of voltage and described photographing instruction, comprising:
The self-shooting bar button voltage adaptation set of setting up in advance described in described button magnitude of voltage is added.
3. method according to claim 2, is characterized in that, described self-shooting bar button voltage adaptation set of setting up in advance comprises the first array and the second array;
Wherein, described first array is for storing the button magnitude of voltage of conventional self-shooting bar;
The self-shooting bar button voltage adaptation set of setting up in advance described in being added by described button magnitude of voltage, comprising:
By described second array of described button magnitude of voltage write.
4. method according to claim 1, is characterized in that, sets up the corresponding relation of described button magnitude of voltage and described photographing instruction, comprising:
Whether display has inserted the inquiry message of self-shooting bar;
When detecting that user triggers the confirmation operation of inserting self-shooting bar, set up the corresponding relation of described button magnitude of voltage and described photographing instruction.
5. method according to claim 1, is characterized in that, described in detect headset plug insert mobile device, be specially:
When detecting that Mike's terminal voltage value is in preset range, be then defined as detecting that headset plug inserts mobile device.
6. an adaptive device for self-shooting bar, is characterized in that, comprising:
Button magnitude of voltage determination module, for after detecting that headset plug inserts mobile device, if judge, Mike's terminal voltage value changes, then the Mike's terminal voltage value after change is defined as button magnitude of voltage;
Corresponding relation building module, for judging whether described button magnitude of voltage exists corresponding relation with photographing instruction, if do not exist, then sets up the corresponding relation of described button magnitude of voltage and described photographing instruction.
7. device according to claim 6, is characterized in that, described corresponding relation building module comprises:
Whether query unit, being contained in the self-shooting bar button voltage adaptation set of setting up in advance for inquiring about described button magnitude of voltage, judging whether described button magnitude of voltage exists corresponding relation with photographing instruction according to Query Result;
Add unit, at Query Result be described button magnitude of voltage be not contained in the self-shooting bar button voltage adaptation set of setting up in advance time, the self-shooting bar button voltage adaptation set of setting up in advance described in described button magnitude of voltage is added.
8. device according to claim 7, is characterized in that, described self-shooting bar button voltage adaptation set of setting up in advance comprises the first array and the second array;
Wherein, described first array is for storing the button magnitude of voltage of conventional self-shooting bar;
Described add unit specifically for:
Query Result be described button magnitude of voltage be not contained in the self-shooting bar button voltage adaptation set of setting up in advance time, by described second array of described button magnitude of voltage write.
9. device according to claim 6, is characterized in that, described corresponding relation building module comprises:
Display unit, for when determining that described button magnitude of voltage and photographing instruction do not exist corresponding relation, whether display has inserted the inquiry message of self-shooting bar;
Determining unit, for when detecting that user triggers the confirmation operation of inserting self-shooting bar, sets up the corresponding relation of described button magnitude of voltage and described photographing instruction.
10. a mobile device, is characterized in that, comprises the adaptive device of the self-shooting bar according to any one of claim 6-9.
CN201510471558.2A 2015-08-04 2015-08-04 A kind of adaptation method of self-shooting bar, device and corresponding mobile device Expired - Fee Related CN105163234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510471558.2A CN105163234B (en) 2015-08-04 2015-08-04 A kind of adaptation method of self-shooting bar, device and corresponding mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510471558.2A CN105163234B (en) 2015-08-04 2015-08-04 A kind of adaptation method of self-shooting bar, device and corresponding mobile device

Publications (2)

Publication Number Publication Date
CN105163234A true CN105163234A (en) 2015-12-16
CN105163234B CN105163234B (en) 2018-02-02

Family

ID=54803972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510471558.2A Expired - Fee Related CN105163234B (en) 2015-08-04 2015-08-04 A kind of adaptation method of self-shooting bar, device and corresponding mobile device

Country Status (1)

Country Link
CN (1) CN105163234B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554308A (en) * 2016-01-29 2016-05-04 广东欧珀移动通信有限公司 Selfie stick, method and apparatus for identifying selfie stick and mobile terminal
CN105611448A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Self-stick, self-stick identification method and apparatus, and mobile terminal
CN105611450A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105611449A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105611446A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Self-stick, self-stick identification method and apparatus, and mobile terminal
CN105635486A (en) * 2016-03-01 2016-06-01 广东欧珀移动通信有限公司 Method and terminal for starting photographing mode of selfie stick
CN105635583A (en) * 2016-01-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Shooting method and device
CN105677603A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105681951A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Selfie stick recognition method, selfie stick recognition device and mobile terminal
CN105744155A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Method and device for calibrating key of selfie stick, and mobile terminal
CN108882082A (en) * 2018-05-18 2018-11-23 深圳市沃特沃德股份有限公司 The method and storage box of instruction are sent to bluetooth headset

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627238A (en) * 2003-12-10 2005-06-15 联想(北京)有限公司 Wire controlled device and method for recognizing key-press operations through the device
CN1780438A (en) * 2004-11-25 2006-05-31 三星电子株式会社 Method for performing a camera function in a mobile communication terminal
CN1894944A (en) * 2003-12-12 2007-01-10 索尼爱立信移动通讯股份有限公司 Accessory identification algorithm for system connector
US8290537B2 (en) * 2008-09-15 2012-10-16 Apple Inc. Sidetone adjustment based on headset or earphone type
CN103516865A (en) * 2012-06-19 2014-01-15 深圳富泰宏精密工业有限公司 Photographing system and photographing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627238A (en) * 2003-12-10 2005-06-15 联想(北京)有限公司 Wire controlled device and method for recognizing key-press operations through the device
CN1894944A (en) * 2003-12-12 2007-01-10 索尼爱立信移动通讯股份有限公司 Accessory identification algorithm for system connector
CN1780438A (en) * 2004-11-25 2006-05-31 三星电子株式会社 Method for performing a camera function in a mobile communication terminal
US8290537B2 (en) * 2008-09-15 2012-10-16 Apple Inc. Sidetone adjustment based on headset or earphone type
CN103516865A (en) * 2012-06-19 2014-01-15 深圳富泰宏精密工业有限公司 Photographing system and photographing method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635583A (en) * 2016-01-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Shooting method and device
CN105681951A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Selfie stick recognition method, selfie stick recognition device and mobile terminal
CN105611449B (en) * 2016-01-29 2018-04-06 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN105744155A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Method and device for calibrating key of selfie stick, and mobile terminal
CN105611446A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Self-stick, self-stick identification method and apparatus, and mobile terminal
CN105554308B (en) * 2016-01-29 2017-11-14 广东欧珀移动通信有限公司 Self-shooting bar, the method and device for identifying self-shooting bar
CN105611448A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Self-stick, self-stick identification method and apparatus, and mobile terminal
CN105677603A (en) * 2016-01-29 2016-06-15 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105677603B (en) * 2016-01-29 2018-01-19 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN105611449A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105744155B (en) * 2016-01-29 2018-06-08 广东欧珀移动通信有限公司 A kind of self-shooting bar button calibration method, device and mobile terminal
CN105554308A (en) * 2016-01-29 2016-05-04 广东欧珀移动通信有限公司 Selfie stick, method and apparatus for identifying selfie stick and mobile terminal
CN105611446B (en) * 2016-01-29 2018-03-06 广东欧珀移动通信有限公司 Self-shooting bar recognition methods, device and mobile terminal
CN105611450B (en) * 2016-01-29 2018-03-09 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN105611450A (en) * 2016-01-29 2016-05-25 广东欧珀移动通信有限公司 Method and device for identifying selfie stick and mobile terminal
CN105635486A (en) * 2016-03-01 2016-06-01 广东欧珀移动通信有限公司 Method and terminal for starting photographing mode of selfie stick
CN105635486B (en) * 2016-03-01 2019-05-10 Oppo广东移动通信有限公司 A kind of method and terminal starting self-shooting bar photographing mode
CN108882082A (en) * 2018-05-18 2018-11-23 深圳市沃特沃德股份有限公司 The method and storage box of instruction are sent to bluetooth headset

Also Published As

Publication number Publication date
CN105163234B (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN105163234A (en) Selfie stick fitting method, device and corresponding mobile device
CN106465247B (en) Roaming network access method and device
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
EP2977902A2 (en) Method and device for saving storage space
US20070050054A1 (en) Mobile communication terminal with virtual remote control
CN110851387B (en) Interface function configuration method and electronic equipment
KR101828903B1 (en) Roaming network access method and apparatus
CN101682529A (en) Method, system and mobile device for prioritizing a discovered device list
CN104301383A (en) Upgrading method, device and upgrading equipment
CN104536711A (en) Control method of terminal display
CN105119790A (en) Apparatus control method and device
CN104320774A (en) Updating method, device and facility
CN106465248B (en) Roaming network access method and device
CN107656743B (en) Application unloading method, terminal and readable storage medium
CN103324409A (en) Apparatus and method for providing shortcut service in electronic device
CN104580705A (en) Terminal
CN105554215A (en) Automatic selection dialing method and device, and mobile terminal
US10852798B2 (en) Power supply control method and apparatus for power strip, and storage medium
CN105094830A (en) Method and device for executing target functions
CN103198252B (en) Device and method for the control information for managing the application program in portable terminal
CN104184768A (en) Method of transmitting data of Internet of things, device and system
CN106897100A (en) The method and terminal of a kind of firmware upgrade
CN106547705A (en) USB (universal serial bus) operating mode control method and device
CN105260201A (en) Application installation methods and devices, and smart devices
EP2930915B1 (en) Method for setting functional module name of mobile terminal, and mobile terminal

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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180202