[go: up one dir, main page]

CN105163234B - A kind of adaptation method of self-shooting bar, device and corresponding mobile device - Google Patents

A kind of adaptation method of self-shooting bar, device and corresponding mobile device Download PDF

Info

Publication number
CN105163234B
CN105163234B CN201510471558.2A CN201510471558A CN105163234B CN 105163234 B CN105163234 B CN 105163234B CN 201510471558 A CN201510471558 A CN 201510471558A CN 105163234 B CN105163234 B CN 105163234B
Authority
CN
China
Prior art keywords
voltage value
selfie stick
button
mobile device
established
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.)
Expired - Fee Related
Application number
CN201510471558.2A
Other languages
Chinese (zh)
Other versions
CN105163234A (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

本发明实施例提供一种自拍杆的适配方法、装置及相应移动设备,该方法包括:在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;判断按键电压值是否与拍照指令存在对应关系,若不存在,则建立按键电压值与拍照指令的对应关系。本发明实施例通过采用上述技术方案,当用户将一种未在出厂前适配过的自拍杆与移动设备连接时,移动设备可通过建立按键电压值与拍照指令的对应关系来进行自动适配,适配后的自拍杆即可正常使用,消除用户的烦恼。此外,采用上述技术方案以后,无需再发布新版本来兼容未在出厂前适配的自拍杆,可节约发布新版本的时间和成本。

Embodiments of the present invention provide a selfie stick adaptation method, device, and corresponding mobile device. The method includes: after detecting that the headphone plug is inserted into the mobile device, if it is determined that the voltage value of the microphone terminal has changed, the changed microphone terminal The voltage value is determined as the button voltage value; it is judged whether there is a corresponding relationship between the button voltage value and the photographing instruction, and if not, the corresponding relationship between the button voltage value and the photographing instruction is established. In the embodiment of the present invention, by adopting the above technical solution, when the user connects a selfie stick that has not been adapted before leaving the factory to the mobile device, the mobile device can automatically adapt by establishing the corresponding relationship between the button voltage value and the camera command , the selfie stick can be used normally after adaptation, eliminating the troubles of users. In addition, after adopting the above technical solution, there is no need to release a new version to be compatible with the selfie stick that has not been adapted before leaving the factory, which can save the time and cost of releasing a new version.

Description

一种自拍杆的适配方法、装置及相应移动设备Selfie stick adaptation method, device and corresponding mobile device

技术领域technical field

本发明实施例涉及移动设备技术领域,尤其涉及一种自拍杆的适配方法、装置及相应移动设备。Embodiments of the present invention relate to the technical field of mobile devices, and in particular, to a selfie stick fitting method and device and corresponding mobile devices.

背景技术Background technique

目前,摄像头已经成为大多移动设备的标准配置,随着摄像头性能的不断提升,移动设备中的拍照功能也越来越强大,为喜欢拍照的用户带来了便利。At present, the camera has become the standard configuration of most mobile devices. With the continuous improvement of the performance of the camera, the camera function of the mobile device is becoming more and more powerful, which brings convenience to users who like to take pictures.

许多移动设备用户都喜欢使用移动设备来自拍,但由于自己的手臂长度有限,拍摄的照片并不尽如人意,所以,应运而生的自拍杆便成为了许多移动设备用户必备的自拍利器。Many mobile device users like to use mobile devices to take selfies, but due to the limited length of their arms, the photos they take are not satisfactory. Therefore, the selfie stick has become a must-have selfie tool for many mobile device users.

市面上的自拍杆大致分为两类。第一类需要通过蓝牙与移动设备建立连接,然而这种自拍杆需要充电,若电力耗尽则无法使用;第二类通过自带的耳机插头与移动设备的耳机插孔连接,无需充电,按下自拍杆上的按键即可实现拍照功能,使用起来方便快捷。There are two types of selfie sticks on the market. The first type needs to establish a connection with the mobile device through Bluetooth, but this kind of selfie stick needs to be charged, and it cannot be used if the power is exhausted; the second type is connected to the headphone jack of the mobile device through the built-in headphone plug without charging Press the button on the selfie stick to realize the camera function, which is convenient and quick to use.

对于上述第二类自拍杆,即耳机插头(一般为3.5mm四段式插头)连接式自拍杆,其工作过程具体为:自拍杆的耳机插头与移动设备的耳机插孔连接后,用户按下自拍杆上的按键时,移动设备可读取耳机插头上的麦克(MIC)端的电压值(可记为按键电压值),判断该电压值是否符合拍照条件,若是,则可控制摄像头拍照。为了使移动设备与上述耳机插头连接式自拍杆配合工作,在移动设备出厂前,需要对几种常见的自拍杆的按键电压值进行适配,建立按键电压值与拍照指令的对应关系。然而,市场上的自拍杆种类繁多,标准不一,如果用户将一种未在出厂前适配过的自拍杆与移动设备连接时,其按键电压很可能不符合要求,从而导致用户按下自拍杆上的按键也无法实现拍照,影响用户的正常使用。For the above-mentioned second type of selfie stick, that is, a headphone plug (generally a 3.5mm four-section plug) connected selfie stick, its working process is specifically: after the headphone plug of the selfie stick is connected to the headphone jack of the mobile device, the user presses When a button is pressed on the selfie stick, the mobile device can read the voltage value of the microphone (MIC) terminal on the earphone plug (which can be recorded as the button voltage value), and judge whether the voltage value meets the shooting conditions. If so, the camera can be controlled to take a photo. In order to make the mobile device work with the above-mentioned headphone plug-connected selfie stick, before the mobile device leaves the factory, it is necessary to adapt the button voltage values of several common selfie sticks, and establish the corresponding relationship between the button voltage value and the camera command. However, there are many types of selfie sticks on the market with different standards. If a user connects a selfie stick that has not been adapted before leaving the factory to a mobile device, the button voltage may not meet the requirements, which may cause the user to press the selfie stick The buttons on the pole also cannot take pictures, which affects the normal use of the user.

发明内容Contents of the invention

本发明的目的是提出一种自拍杆的适配方法、装置及相应移动设备,以实现移动设备自动适配自拍杆。The purpose of the present invention is to provide a selfie stick adaptation method, device and corresponding mobile equipment, so as to realize the automatic adaptation of the mobile equipment to the selfie stick.

第一方面,本发明实施例提供了一种自拍杆的适配方法,包括:In the first aspect, an embodiment of the present invention provides a method for fitting a selfie stick, including:

在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;After detecting that the headphone plug is inserted into the mobile device, if it is determined that the voltage value of the microphone terminal changes, the changed voltage value of the microphone terminal is determined as the button voltage value;

判断所述按键电压值是否与拍照指令存在对应关系,若不存在,则建立所述按键电压值与所述拍照指令的对应关系。Judging whether there is a corresponding relationship between the key voltage value and the photographing instruction, and if not, establishing a corresponding relationship between the key voltage value and the photographing instruction.

第二方面,本发明实施例提供了一种自拍杆的适配装置,包括:In the second aspect, an embodiment of the present invention provides an adapter device for a selfie stick, including:

按键电压值确定模块,用于在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;The button voltage value determination module is used to determine the changed microphone terminal voltage value as the button voltage value if it is determined that the microphone terminal voltage value changes after detecting that the earphone plug is inserted into the mobile device;

对应关系建立模块,用于判断所述按键电压值是否与拍照指令存在对应关系,若不存在,则建立所述按键电压值与所述拍照指令的对应关系。The corresponding relationship establishment module is used to determine whether there is a corresponding relationship between the key voltage value and the photographing instruction, and if not, establish a corresponding relationship between the key voltage value and the photographing instruction.

第三方面,本发明实施例提供了一种移动设备,该移动设备包括本发明实施例中的自拍杆的适配装置。In a third aspect, an embodiment of the present invention provides a mobile device, and the mobile device includes the selfie stick adaptation device in the embodiment of the present invention.

本发明实施例中提供的自拍杆的适配方案,在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;判断按键电压值是否与拍照指令存在对应关系,若不存在,则建立按键电压值与拍照指令的对应关系。通过采用上述技术方案,当用户将一种未在出厂前适配过的自拍杆与移动设备连接时,移动设备可通过建立按键电压值与拍照指令的对应关系来进行自动适配,适配后的自拍杆即可正常使用,消除用户的烦恼。此外,采用上述技术方案以后,无需再发布新版本来兼容未在出厂前适配的自拍杆,可节约发布新版本的时间和成本。The adaptation scheme of the selfie stick provided in the embodiment of the present invention, after detecting that the earphone plug is inserted into the mobile device, if it is judged that the voltage value of the microphone terminal has changed, the changed voltage value of the microphone terminal is determined as the button voltage value; Whether there is a corresponding relationship between the voltage value and the photographing instruction, and if not, establish a corresponding relationship between the key voltage value and the photographing instruction. By adopting the above technical solution, when the user connects a selfie stick that has not been adapted before leaving the factory to the mobile device, the mobile device can automatically adapt by establishing the corresponding relationship between the button voltage value and the camera command. The selfie stick can be used normally, eliminating the troubles of users. In addition, after adopting the above technical solution, there is no need to release a new version to be compatible with the selfie stick that has not been adapted before leaving the factory, which can save the time and cost of releasing a new version.

附图说明Description of drawings

图1为本发明实施例一提供的一种自拍杆的适配方法的流程示意图;FIG. 1 is a schematic flowchart of a selfie stick fitting method provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的一种自拍杆的适配方法的流程示意图;FIG. 2 is a schematic flow chart of a selfie stick fitting method provided by Embodiment 2 of the present invention;

图3为本发明实施例三提供的一种优选的自拍杆的适配方法的流程示意图;3 is a schematic flowchart of a preferred selfie stick fitting method provided by Embodiment 3 of the present invention;

图4为本发明实施例四提供的一种自拍杆的适配装置的结构框图。Fig. 4 is a structural block diagram of an adapter device for a selfie stick provided by Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

实施例一Embodiment one

图1为本发明实施例一提供的一种自拍杆的适配方法的流程示意图,该方法可以由自拍杆的适配装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动设备中。如图1所示,该方法包括:Figure 1 is a schematic flowchart of a selfie stick fitting method provided in Embodiment 1 of the present invention. The method can be executed by a selfie stick fitting device, wherein the device can be implemented by software and/or hardware, and can generally be integrated into a mobile in the device. As shown in Figure 1, the method includes:

步骤101、在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值。Step 101: After detecting that the headphone plug is inserted into the mobile device, if it is determined that the voltage value of the microphone terminal has changed, then determine the changed voltage value of the microphone terminal as the button voltage value.

示例性的,本实施例中的移动设备具体可为具备拍照功能的手机和平板电脑等设备。自拍杆具体可为带有耳机插头的自拍杆,可通过耳机插头与移动设备的耳机插孔连接,并控制移动设备拍照。用于执行本实施例方法的装置具体可嵌入移动设备的系统底层。Exemplarily, the mobile device in this embodiment may specifically be a device such as a mobile phone and a tablet computer with a camera function. Specifically, the selfie stick can be a selfie stick with an earphone plug, which can be connected to the earphone jack of the mobile device through the earphone plug, and the mobile device can be controlled to take pictures. The device for executing the method in this embodiment may be embedded in the system bottom layer of the mobile device.

示例性的,现有的移动设备中的耳机插孔所配套的耳机插头一般为3.5mm四段式插头,包括左声道端、右声道端、接地端和麦克(MIC)端。当耳机插头插入移动设备的耳机插孔时,MIC端会被施加一定的电压,可通过模数转换器(Analog-to-Digital Converter,ADC)读取到MIC端到地电压值(以下简称MIC端电压值)。Exemplarily, an earphone plug matched with an earphone jack in an existing mobile device is generally a 3.5 mm four-section plug, including a left audio channel end, a right audio channel end, a ground end, and a microphone (MIC) end. When the headphone plug is inserted into the headphone jack of the mobile device, a certain voltage will be applied to the MIC terminal, and the voltage value from the MIC terminal to ground (hereinafter referred to as MIC) can be read through an analog-to-digital converter (Analog-to-Digital Converter, ADC). terminal voltage value).

本实施例中,当检测到MIC端电压值处于预设范围内时,可确定为检测到耳机插头插入移动设备。示例性的,当耳机插头插入移动设备的耳机插孔时,MIC端一般会被施加1.9V的电压,一般当读取到的MIC端电压值在1.2V以上时,可确定为检测到耳机插头插入,即上述预设范围具体可为1.2V到1.9V之间。In this embodiment, when it is detected that the voltage value of the MIC terminal is within a preset range, it may be determined that the earphone plug is inserted into the mobile device. Exemplarily, when the headphone plug is inserted into the headphone jack of the mobile device, a voltage of 1.9V is generally applied to the MIC terminal, and generally when the read voltage value of the MIC terminal is above 1.2V, it can be determined that the headphone plug is detected Insertion, that is, the above preset range may specifically be between 1.2V and 1.9V.

在检测到耳机插头插入移动设备后,若判断MIC端电压值发生变化,则可将变化后的MIC端电压值确定为按键电压值。示例性的,当自拍杆上的按键被按下时,移动设备内部的处理器会切换电路,此时MIC端电压值会发生变化,例如从1.5V变为0.27V,可将变化后的MIC端电压值(0.27V)确定为按键电压值。After detecting that the earphone plug is inserted into the mobile device, if it is determined that the voltage value of the MIC terminal changes, the changed voltage value of the MIC terminal may be determined as the button voltage value. Exemplarily, when the button on the selfie stick is pressed, the processor inside the mobile device will switch the circuit. At this time, the voltage value of the MIC terminal will change, for example, from 1.5V to 0.27V, and the changed MIC The terminal voltage value (0.27V) is determined as the button voltage value.

步骤102、判断按键电压值是否与拍照指令存在对应关系,若不存在,则建立按键电压值与拍照指令的对应关系。Step 102, judging whether there is a corresponding relationship between the key voltage value and the photographing instruction, and if not, establishing a corresponding relationship between the key voltage value and the photographing instruction.

示例性的,由于各种自拍杆的规格存在差异,其耳机接头的MIC端的对地阻抗不同,一般从几百欧到几千欧不等,从而导致当自拍杆上的按键被按下时,ADC读取到的MIC端电压值(按键电压值)也不同。现有的移动设备在出厂前,通常会与几种常见的自拍杆进行适配,将这些自拍杆的按键电压值与拍照指令建立对应关系。用户将自拍杆的耳机插头插入移动设备后,若用户此时插入的自拍杆是一个移动设备出厂前适配过的自拍杆时,按下自拍杆上的按键后,ADC读取的按键电压值就会与拍照指令存在对应关系,可根据对应关系直接执行拍照指令,例如向上层上报键值,由上层继续执行拍照相关操作,从而实现拍照功能;若用户此时插入的自拍杆在移动设备出厂前未适配过,且判断其按键电压值与拍照指令不存在对应关系,那么可建立该按键电压值与拍照指令的对应关系。当下一次再使用该自拍杆时,就会判断出该自拍杆的按键电压值与拍照指令存在对应关系,可根据对应关系直接执行拍照指令。Exemplarily, due to differences in the specifications of various selfie sticks, the ground impedance of the MIC end of the headphone connector is different, generally ranging from several hundred ohms to several thousand ohms, resulting in that when the button on the selfie stick is pressed, The MIC terminal voltage value (button voltage value) read by the ADC is also different. Existing mobile devices are usually adapted to several common selfie sticks before leaving the factory, and a corresponding relationship is established between the key voltage values of these selfie sticks and the camera command. After the user inserts the earphone plug of the selfie stick into the mobile device, if the selfie stick inserted by the user at this time is a selfie stick that has been adapted before the mobile device leaves the factory, after pressing the button on the selfie stick, the button voltage value read by the ADC There will be a corresponding relationship with the camera command, and the camera command can be directly executed according to the corresponding relationship, such as reporting the key value to the upper layer, and the upper layer will continue to perform camera-related operations to realize the camera function; If it has not been adapted before, and it is judged that there is no corresponding relationship between the button voltage value and the camera command, then the corresponding relationship between the button voltage value and the camera command can be established. When the selfie stick is used again next time, it will be judged that there is a corresponding relationship between the key voltage value of the selfie stick and the photographing instruction, and the photographing instruction can be directly executed according to the corresponding relationship.

本发明实施例一中提供的自拍杆的适配方法,在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;判断按键电压值是否与拍照指令存在对应关系,若不存在,则建立按键电压值与拍照指令的对应关系。通过采用上述技术方案,当用户将一种未在出厂前适配过的自拍杆与移动设备连接时,移动设备可通过建立按键电压值与拍照指令的对应关系来进行自动适配,适配后的自拍杆即可正常使用,消除用户的烦恼。此外,采用上述技术方案以后,无需再发布新版本来兼容未在出厂前适配的自拍杆,可节约发布新版本的时间和成本。In the adaptation method of the selfie stick provided in Embodiment 1 of the present invention, after detecting that the earphone plug is inserted into the mobile device, if it is judged that the voltage value of the microphone terminal has changed, the changed voltage value of the microphone terminal is determined as the button voltage value; Whether there is a corresponding relationship between the key voltage value and the photographing instruction, if not, establish a corresponding relationship between the key voltage value and the photographing instruction. By adopting the above technical solution, when the user connects a selfie stick that has not been adapted before leaving the factory to the mobile device, the mobile device can automatically adapt by establishing the corresponding relationship between the button voltage value and the camera command. The selfie stick can be used normally, eliminating the troubles of users. In addition, after adopting the above technical solution, there is no need to release a new version to be compatible with the selfie stick that has not been adapted before leaving the factory, which can save the time and cost of releasing a new version.

在上述实施例的基础上,建立按键电压值与拍照指令的对应关系,具体可包括:显示是否已插入自拍杆的询问信息;当检测到用户触发已插入自拍杆的确认操作时,建立按键电压值与拍照指令的对应关系。示例性的,当插入的耳机插头并不是自拍杆的耳机插头时,例如插入的是一个线控耳机的耳机插头,当线控耳机上的音量键等按键被按下时,MIC端电压值也会发生变化,此时ADC读取到的电压值也不会与拍照指令存在对应关系。为了避免将自拍杆以外的配有耳机插头的部件误认为自拍杆,可先显示是否已插入自拍杆的询问信息,例如在移动设备的显示屏幕上显示“已插入自拍杆?是/否”,若用户点击“是”,则会检测到用户触发已插入自拍杆的确认操作,随后便可建立按键电压值与拍照指令的对应关系。当然,如果所读取到的MIC端电压值在移动设备中已与音量调节等相关操作指令建立了对应关系,也可直接执行相关操作,此时需要考虑移动设备当前的工作状态,例如确定移动设备当前处于音乐播放状态时,可直接执行音量调节等相关操作。On the basis of the above-mentioned embodiments, establishing the corresponding relationship between the key voltage value and the photographing instruction may specifically include: displaying the inquiry information of whether the selfie stick has been inserted; The corresponding relationship between the value and the camera instruction. Exemplarily, when the earphone plug inserted is not the earphone plug of the selfie stick, for example, the earphone plug of a wire-controlled earphone is inserted, when the volume key and other buttons on the wire-controlled earphone are pressed, the voltage value of the MIC terminal is also It will change, and the voltage value read by the ADC will not correspond to the camera command at this time. In order to avoid mistaking a part other than a selfie stick with a headphone plug for a selfie stick, an inquiry message whether the selfie stick is inserted can be displayed first, for example, "Selfie stick inserted? Yes/No" is displayed on the display screen of the mobile device, If the user clicks "Yes", it will be detected that the user triggers the confirmation operation that the selfie stick has been inserted, and then the corresponding relationship between the button voltage value and the camera command can be established. Of course, if the read MIC terminal voltage value has established a corresponding relationship with related operation commands such as volume adjustment in the mobile device, related operations can also be directly performed. At this time, the current working status of the mobile device needs to be considered, such as determining the When the device is currently playing music, you can directly perform related operations such as volume adjustment.

实施例二Embodiment two

图2为本发明实施例二提供的一种自拍杆的适配方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,将“判断按键电压值是否与拍照指令存在对应关系”优化为:查询按键电压值是否包含于预先建立的自拍杆按键电压适配集合,根据查询结果判断按键电压值是否与拍照指令存在对应关系;将“建立按键电压值与拍照指令的对应关系”优化为:将按键电压值加入预先建立的自拍杆按键电压适配集合。Fig. 2 is a schematic flowchart of a method for adapting a selfie stick provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. There is a corresponding relationship" is optimized as: query whether the button voltage value is included in the pre-established selfie stick button voltage adaptation set, and judge whether the button voltage value has a corresponding relationship with the camera instruction according to the query result; "establish the button voltage value and the camera instruction "Correspondence" is optimized as follows: add the button voltage value to the pre-established selfie stick button voltage adaptation set.

相应的,本实施例的方法包括如下步骤:Correspondingly, the method of this embodiment includes the following steps:

步骤201、在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值。Step 201: After detecting that the headphone plug is inserted into the mobile device, if it is determined that the voltage value of the microphone terminal has changed, then determine the changed voltage value of the microphone terminal as the button voltage value.

步骤202、查询按键电压值是否包含于预先建立的自拍杆按键电压适配集合,若是,则说明不需要进行适配,可结束流程;否则,执行步骤203。Step 202 , inquire whether the button voltage value is included in the pre-established selfie stick button voltage adaptation set, if yes, it means that adaptation is not required, and the process can end; otherwise, execute step 203 .

步骤203、将按键电压值加入预先建立的自拍杆按键电压适配集合。Step 203, adding the button voltage value to the pre-established selfie stick button voltage adaptation set.

示例性的,移动设备出厂后,用户初次将自拍杆与移动设备连接时,预先建立的自拍杆按键电压适配集合中具体可包括出厂前适配过的自拍杆按键电压值,这些按键电压值可能是离散的数值,如0.1V,0.15V,0.27V……;也可能是一个范围内的所有电压值,如0.1V到0.27V之间的所有电压值。若用户此时插入的自拍杆是一个移动设备出厂前适配过的自拍杆时,则按键电压值就会包含于预先建立的自拍杆按键电压适配集合中,不需要进行适配,即可直接执行拍照指令,例如向上层上报键值,由上层继续执行拍照相关操作,从而实现拍照功能;若用户此时插入的自拍杆在移动设备出厂前未适配过,且经查询按键电压值(如0.3V)未包含于预先建立的自拍杆按键电压适配集合中,此时可将该按键电压值加入预先建立的自拍杆按键电压适配集合,以实现对预先建立的自拍杆按键电压适配集合进行更新,完成自拍杆适配过程。当下一次再使用该自拍杆时,就会查询到该自拍杆的按键电压值包含于更新后的预先建立的自拍杆按键电压适配集合中。Exemplarily, after the mobile device leaves the factory, when the user connects the selfie stick to the mobile device for the first time, the pre-established selfie stick button voltage adaptation set may specifically include the selfie stick button voltage values that have been adapted before leaving the factory. These button voltage values It may be a discrete value, such as 0.1V, 0.15V, 0.27V...; it may also be all voltage values in a range, such as all voltage values between 0.1V and 0.27V. If the selfie stick inserted by the user at this time is a selfie stick that has been adapted by the mobile device before leaving the factory, the button voltage value will be included in the pre-established selfie stick button voltage adaptation set, no need to adapt, just Directly execute the camera command, such as reporting the key value to the upper layer, and the upper layer continues to perform camera-related operations to realize the camera function; if the selfie stick inserted by the user at this time has not been adapted before the mobile device leaves the factory, and the key voltage value ( If 0.3V) is not included in the pre-established selfie stick button voltage adaptation set, at this time, the button voltage value can be added to the pre-established selfie stick button voltage adaptation set to realize the selfie stick button voltage adaptation set The matching set is updated to complete the selfie stick fitting process. When the selfie stick is used again next time, it will be found that the button voltage value of the selfie stick is included in the updated pre-established selfie stick button voltage adaptation set.

本发明实施例二提供的自拍杆的适配方法,通过查询按键电压值是否包含于预先建立的自拍杆按键电压适配集合,来判断按键电压值是否与拍照指令存在对应关系,可对自拍杆按键电压进行集中管理,提高自拍杆的识别效率以及适配效率。The adaptation method of the selfie stick provided by the second embodiment of the present invention can determine whether the key voltage value corresponds to the camera instruction by checking whether the button voltage value is included in the pre-established selfie stick button voltage adaptation set, and can adjust the selfie stick Centralized management of the button voltage improves the recognition efficiency and adaptation efficiency of the selfie stick.

在上述实施例的基础上,需要说明的是,在移动设备出厂前,也可预先建立一个空的自拍杆按键电压适配集合,用户首次连接任意一个自拍杆时,移动设备均可通过执行上述实施例的方法对该自拍杆进行自动适配。On the basis of the above embodiments, it should be noted that before the mobile device leaves the factory, an empty selfie stick button voltage adaptation set can also be established in advance. When the user connects any selfie stick for the first time, the mobile device can execute the above The method of the embodiment automatically adapts the selfie stick.

在上述实施例的基础上,预先建立的自拍杆按键电压适配集合可包括第一数组和第二数组。其中,第一数组用于存储常规自拍杆的按键电压值;将按键电压值加入预先建立的自拍杆按键电压适配集合,具体为:将按键电压值写入第二数组。常规自拍杆具体可为在移动设备出厂前适配过的自拍杆。这样做的好处在于,将出厂前适配过的自拍杆以及用户使用过程中自行适配的自拍杆进行分组管理,可方便维护和调用。Based on the above embodiments, the pre-established selfie stick button voltage adaptation set may include a first group and a second group. Among them, the first array is used to store the button voltage value of the conventional selfie stick; the button voltage value is added to the pre-established selfie stick button voltage adaptation set, specifically: the button voltage value is written into the second array. The conventional selfie stick may specifically be a selfie stick that has been adapted before the mobile device leaves the factory. The advantage of this is that the selfie sticks that have been adapted before leaving the factory and the selfie sticks that are adapted by the user during use are grouped and managed, which is convenient for maintenance and calling.

在上述本实施例的基础上,在将按键电压值加入预先建立的自拍杆按键电压适配集合的同时,也可将该按键电压值对应的耳机插头刚插入移动设备时的MIC端电压值也加入预先建立的自拍杆按键电压适配集合,并与按键电压值建立对应关系,以记录该自拍杆更多的参数信息。On the basis of the above-mentioned embodiment, while adding the button voltage value to the pre-established selfie stick button voltage adaptation set, the voltage value of the MIC terminal when the earphone plug corresponding to the button voltage value is just inserted into the mobile device can also be Add the pre-established selfie stick button voltage adaptation set, and establish a corresponding relationship with the button voltage value to record more parameter information of the selfie stick.

实施例三Embodiment Three

图3为本发明实施例三提供的一种优选的自拍杆的适配方法的流程示意图,该方法可以由自拍杆的适配装置执行,该装置可集成在设置有摄像头的智能手机中。该方法具体包括如下步骤:FIG. 3 is a schematic flowchart of a preferred selfie stick fitting method provided by Embodiment 3 of the present invention. The method can be executed by a selfie stick fitting device, and the device can be integrated into a smartphone equipped with a camera. The method specifically includes the following steps:

步骤301、建立自拍杆按键电压适配第一数组和自拍杆按键电压适配第二数组。Step 301 , establishing a first array for selfie stick button voltage adaptation and a second array for selfie stick button voltage adaptation.

示例性的,具体可在智能手机的系统底层建立自拍杆按键电压适配第一数组和自拍杆按键电压适配第二数组。其中,自拍杆按键电压适配第一数组具体可命名为btn_low[]数组,用于存储常规自拍杆的按键电压值;自拍杆按键电压适配第二数组具体可命名为btn_low_other_selfstick[]数组,用于存储用户在使用手机过程中,自行进行适配的自拍杆对应的按键电压值。Exemplarily, specifically, the first array of selfie stick button voltage adaptation and the second array of selfie stick button voltage adaptation can be established at the bottom layer of the smart phone system. Among them, the first array of selfie stick button voltage adaptation can be specifically named as btn_low[] array, which is used to store the button voltage value of conventional selfie stick; the second array of selfie stick button voltage adaptation can be specifically named as btn_low_other_selfstick[] array, using It is used to store the key voltage value corresponding to the selfie stick that the user self-adapts during the use of the mobile phone.

示例性的,btn_low[]数组的底层代码如下:Exemplarily, the underlying code of the btn_low[] array is as follows:

u16*btn_low,*btn_high;u16 *btn_low, *btn_high;

btn_low=wcd9xxx_mbhc_cal_btn_det_mp(btn_cfg,MBHC_BTN_DET_V_BTN_LOW);btn_low = wcd9xxx_mbhc_cal_btn_det_mp(btn_cfg, MBHC_BTN_DET_V_BTN_LOW);

btn_low[0]=-50;btn_low[0]=-50;

btn_low[1]=21;btn_low[1] = 21;

btn_low[2]=62;btn_low[2] = 62;

btn_low[3]=150;btn_low[3] = 150;

btn_low[4]=149;btn_low[4] = 149;

btn_low[5]=190;btn_low[5] = 190;

btn_low[6]=229;btn_low[6] = 229;

btn_low[7]=270;btn_low[7] = 270;

如上述代码所示,btn_low[]数组中包含8个按键电压值,btn_low[7]=270表示对应的自拍杆的按键电压值为0.27V。As shown in the above code, the btn_low[] array contains 8 button voltage values, and btn_low[7]=270 means that the button voltage value of the corresponding selfie stick is 0.27V.

步骤302、判断检测到的MIC端电压值是否处于预设范围内,若是,则执行步骤303;否则,结束流程。Step 302 , judging whether the detected voltage value of the MIC terminal is within a preset range, if yes, execute step 303 ; otherwise, end the process.

步骤303、判断MIC端电压值是否发生变化,若是,则执行步骤304;否则,重复执行本步骤。Step 303 , judging whether the voltage value of the MIC terminal changes, if yes, execute step 304 ; otherwise, repeat this step.

步骤304、将变化后的MIC电压值确定为按键电压值。Step 304. Determine the changed MIC voltage value as the key voltage value.

步骤305、查询按键电压值是否包含于自拍杆按键电压适配第一数组或自拍杆按键电压适配第二数组中,若是,则说明不需要进行适配,可结束流程;否则,执行步骤306。Step 305, check whether the button voltage value is included in the first array of selfie stick button voltage adaptation or the second array of selfie stick button voltage adaptation, if yes, it means that adaptation is not required, and the process can be ended; otherwise, execute step 306 .

示例性的,若用户未自行适配过自拍杆,btn_low_other_selfstick[]数组为空的。当按键电压值为0.3V时,在btn_low[]数组未查询到0.3V这个电压值,便可继续执行步骤306。Exemplarily, if the user has not adapted the selfie stick, the btn_low_other_selfstick[] array is empty. When the button voltage value is 0.3V, and the voltage value of 0.3V is not found in the btn_low[] array, the step 306 can be continued.

步骤306、显示是否已插入自拍杆的询问信息。Step 306, displaying an inquiry message whether the selfie stick has been inserted.

步骤307、判断是否检测到用户触发已插入自拍杆的确认操作,若是,则执行步骤308;否则,结束流程。Step 307 , judging whether it is detected that the user triggers the confirmation operation that the selfie stick has been inserted, and if yes, execute step 308 ; otherwise, end the process.

步骤308、将按键电压值写入自拍杆按键电压适配第二数组,结束适配流程。Step 308, write the button voltage value into the selfie stick button voltage adaptation second array, and end the adaptation process.

示例性的,将上述按键电压值0.3V写入btn_low_other_selfstick[]数组。当用户再次按下自拍杆的按键时,便可在btn_low_other_selfstick[]数组中查找到相应的按键电压值0.3V,从而直接执行拍照指令。Exemplarily, the above key voltage value of 0.3V is written into the btn_low_other_selfstick[] array. When the user presses the button of the selfie stick again, the corresponding button voltage value of 0.3V can be found in the btn_low_other_selfstick[] array, thereby directly executing the camera command.

本实施例三提供的优选的自拍杆的适配方法,可使智能手机自行对未适配过的自拍杆进行动态适配,从而兼容市面上所有的自拍杆。尤其对于已出厂的智能手机来说,仅发布一次软件即可,无需再发布新版本来兼容未在出厂前适配的自拍杆,可节约发布新版本的时间和成本。The preferred adaptation method of the selfie stick provided in the third embodiment can enable the smartphone to perform dynamic adaptation to the selfie stick that has not been adapted, so as to be compatible with all selfie sticks on the market. Especially for smartphones that have already left the factory, it is only necessary to release the software once, and there is no need to release a new version to be compatible with selfie sticks that have not been adapted before leaving the factory, which can save the time and cost of releasing a new version.

实施例四Embodiment Four

图4为本发明实施例四提供的一种自拍杆的适配装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动设备中,可通过执行自拍杆的适配方法来实现自拍杆的适配。如图4所示,该装置包括:按键电压值确定模块401和对应关系建立模块402。Fig. 4 is a structural block diagram of a device for adapting a selfie stick provided by Embodiment 4 of the present invention. The device can be realized by software and/or hardware, and is generally integrated in a mobile device, and can be realized by executing a method for adapting a selfie stick Adaptation of the selfie stick. As shown in FIG. 4 , the device includes: a button voltage value determining module 401 and a corresponding relationship establishing module 402 .

其中,按键电压值确定模块401,用于在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;对应关系建立模块402,用于判断所述按键电压值是否与拍照指令存在对应关系,若不存在,则建立所述按键电压值与所述拍照指令的对应关系。Wherein, the button voltage value determination module 401 is used to determine the changed microphone terminal voltage value as the button voltage value after detecting that the earphone plug is inserted into the mobile device, and then determining the changed microphone terminal voltage value as the button voltage value; the corresponding relationship establishment module 402 , for judging whether there is a corresponding relationship between the key voltage value and the photographing instruction, and if not, establishing a corresponding relationship between the key voltage value and the photographing instruction.

在上述实施例的基础上,对应关系建立模块可包括查询单元和加入单元。其中,查询单元,用于查询所述按键电压值是否包含于预先建立的自拍杆按键电压适配集合,根据查询结果判断所述按键电压值是否与拍照指令存在对应关系;加入单元,用于在查询结果为所述按键电压值未包含于预先建立的自拍杆按键电压适配集合时,将所述按键电压值加入所述预先建立的自拍杆按键电压适配集合。On the basis of the above-mentioned embodiments, the correspondence relationship establishing module may include a query unit and an adding unit. Wherein, the query unit is used to query whether the button voltage value is included in the pre-established selfie stick button voltage adaptation set, and judges whether the button voltage value has a corresponding relationship with the photographing instruction according to the query result; When the query result is that the button voltage value is not included in the pre-established selfie stick button voltage adaptation set, the button voltage value is added to the pre-established selfie stick button voltage adaptation set.

在上述实施例的基础上,预先建立的自拍杆按键电压适配集合可包括第一数组和第二数组。其中,第一数组用于存储常规自拍杆的按键电压值;加入单元具体可用于:在查询结果为所述按键电压值未包含于预先建立的自拍杆按键电压适配集合时,将所述按键电压值写入所述第二数组。Based on the above embodiments, the pre-established selfie stick button voltage adaptation set may include a first group and a second group. Wherein, the first array is used to store the button voltage value of the conventional selfie stick; the adding unit can be specifically used to: when the query result is that the button voltage value is not included in the pre-established selfie stick button voltage adaptation set, the button Voltage values are written into the second array.

在上述实施例的基础上,对应关系建立模块还可包括显示单元和确定单元。其中,显示单元,用于在确定所述按键电压值与拍照指令不存在对应关系时,显示是否已插入自拍杆的询问信息;确定单元,用于当检测到用户触发已插入自拍杆的确认操作时,建立所述按键电压值与所述拍照指令的对应关系。On the basis of the above embodiments, the correspondence establishing module may further include a display unit and a determination unit. Wherein, the display unit is used to display the inquiry information of whether the selfie stick has been inserted when it is determined that there is no corresponding relationship between the key voltage value and the photographing instruction; the determination unit is used to trigger the confirmation operation that the selfie stick has been inserted when the user is detected , establishing a correspondence between the button voltage value and the photographing instruction.

在上述实施例的基础上,检测到耳机插头插入移动设备,具体为:当检测到麦克端电压值处于预设范围内时,则确定为检测到耳机插头插入移动设备。On the basis of the above embodiments, detecting that the earphone plug is inserted into the mobile device is specifically: when it is detected that the voltage value of the microphone terminal is within a preset range, it is determined that the earphone plug is detected to be inserted into the mobile device.

实施例五Embodiment five

本发明实施例五提供一种移动设备,该设备包括本发明实施例中所述的自拍杆的适配装置,可通过执行本发明实施例中所述的自拍杆的适配方法来自行适配自拍杆。Embodiment 5 of the present invention provides a mobile device, which includes the selfie stick adaptation device described in the embodiment of the present invention, which can be self-adapted by executing the selfie stick adaptation method described in the embodiment of the present invention selfie stick.

示例性的,本实施例中的移动设备具体可为具备拍照功能的智能手机及平板电脑等设备。Exemplarily, the mobile device in this embodiment may specifically be a device such as a smart phone and a tablet computer with a camera function.

上述产品可执行本发明任意实施例所提供的自拍杆的适配方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的自拍杆的适配方法。The above-mentioned product can execute the selfie stick fitting method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in this embodiment, refer to the selfie stick fitting method provided in any embodiment of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (8)

1.一种自拍杆的适配方法,其特征在于,包括:1. A method for adapting a selfie stick, comprising: 在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;After detecting that the headphone plug is inserted into the mobile device, if it is determined that the voltage value of the microphone terminal changes, the changed voltage value of the microphone terminal is determined as the button voltage value; 判断所述按键电压值是否与拍照指令存在对应关系,若不存在,则显示是否已插入自拍杆的询问信息,当检测到用户触发已插入自拍杆的确认操作时,建立所述按键电压值与所述拍照指令的对应关系。Judging whether the button voltage value has a corresponding relationship with the camera instruction, if not, then displaying the inquiry message of whether the selfie stick has been inserted, and when it is detected that the user triggers the confirmation operation that the selfie stick has been inserted, the voltage value of the button is established. The corresponding relationship of the photographing instructions. 2.根据权利要求1所述的方法,其特征在于,判断所述按键电压值是否与拍照指令存在对应关系,包括:2. The method according to claim 1, wherein judging whether there is a corresponding relationship between the button voltage value and the photographing instruction comprises: 查询所述按键电压值是否包含于预先建立的自拍杆按键电压适配集合,根据查询结果判断所述按键电压值是否与拍照指令存在对应关系;Querying whether the button voltage value is included in the pre-established selfie stick button voltage adaptation set, and judging whether the button voltage value corresponds to the camera instruction according to the query result; 所述建立所述按键电压值与所述拍照指令的对应关系,包括:The establishment of the corresponding relationship between the button voltage value and the photographing instruction includes: 将所述按键电压值加入所述预先建立的自拍杆按键电压适配集合。Adding the button voltage value to the pre-established selfie stick button voltage adaptation set. 3.根据权利要求2所述的方法,其特征在于,所述预先建立的自拍杆按键电压适配集合包括第一数组和第二数组;3. The method according to claim 2, wherein the pre-established selfie stick button voltage adaptation set includes a first array and a second array; 其中,所述第一数组用于存储常规自拍杆的按键电压值;Wherein, the first array is used to store the button voltage value of the conventional selfie stick; 将所述按键电压值加入所述预先建立的自拍杆按键电压适配集合,包括:Adding the button voltage value to the pre-established selfie stick button voltage adaptation set, including: 将所述按键电压值写入所述第二数组。Write the key voltage value into the second array. 4.根据权利要求1所述的方法,其特征在于,所述检测到耳机插头插入移动设备,具体为:4. The method according to claim 1, wherein the detecting that the earphone plug is inserted into the mobile device is specifically: 当检测到麦克端电压值处于预设范围内时,则确定为检测到耳机插头插入移动设备。When it is detected that the voltage value of the microphone terminal is within the preset range, it is determined that the headphone plug is inserted into the mobile device. 5.一种自拍杆的适配装置,其特征在于,包括:5. An adapter device for a selfie stick, characterized in that it comprises: 按键电压值确定模块,用于在检测到耳机插头插入移动设备后,若判断麦克端电压值发生变化,则将变化后的麦克端电压值确定为按键电压值;The button voltage value determination module is used to determine the changed microphone terminal voltage value as the button voltage value if it is determined that the microphone terminal voltage value changes after detecting that the earphone plug is inserted into the mobile device; 对应关系建立模块,用于判断所述按键电压值是否与拍照指令存在对应关系,若不存在,则建立所述按键电压值与所述拍照指令的对应关系;A correspondence relationship establishment module, configured to determine whether there is a correspondence between the key voltage value and the photographing instruction, and if not, establish a correspondence between the key voltage value and the photographing instruction; 其中,所述对应关系建立模块包括:Wherein, the correspondence establishment module includes: 显示单元,用于在确定所述按键电压值与拍照指令不存在对应关系时,显示是否已插入自拍杆的询问信息;A display unit, configured to display an inquiry message whether the selfie stick has been inserted when it is determined that there is no corresponding relationship between the key voltage value and the photographing instruction; 确定单元,用于当检测到用户触发已插入自拍杆的确认操作时,建立所述按键电压值与所述拍照指令的对应关系。The determining unit is configured to establish a correspondence between the key voltage value and the photographing instruction when it is detected that the user triggers a confirmation operation that the selfie stick has been inserted. 6.根据权利要求5所述的装置,其特征在于,所述对应关系建立模块包括:6. The device according to claim 5, wherein the correspondence establishment module comprises: 查询单元,用于查询所述按键电压值是否包含于预先建立的自拍杆按键电压适配集合,根据查询结果判断所述按键电压值是否与拍照指令存在对应关系;The query unit is used to query whether the key voltage value is included in the pre-established selfie stick key voltage adaptation set, and judge whether the key voltage value corresponds to the photographing instruction according to the query result; 加入单元,用于在查询结果为所述按键电压值未包含于预先建立的自拍杆按键电压适配集合时,将所述按键电压值加入所述预先建立的自拍杆按键电压适配集合。The adding unit is configured to add the key voltage value to the pre-established selfie stick key voltage adaptation set when the query result is that the key voltage value is not included in the pre-established selfie stick key voltage adaptation set. 7.根据权利要求6所述的装置,其特征在于,所述预先建立的自拍杆按键电压适配集合包括第一数组和第二数组;7. The device according to claim 6, wherein the pre-established selfie stick button voltage adaptation set includes a first array and a second array; 其中,所述第一数组用于存储常规自拍杆的按键电压值;Wherein, the first array is used to store the button voltage value of the conventional selfie stick; 所述加入单元具体用于:The adding unit is specifically used for: 在查询结果为所述按键电压值未包含于预先建立的自拍杆按键电压适配集合时,将所述按键电压值写入所述第二数组。When the query result is that the button voltage value is not included in the pre-established selfie stick button voltage adaptation set, the button voltage value is written into the second array. 8.一种移动设备,其特征在于,包括如权利要求5-7中任一项所述的自拍杆的适配装置。8. A mobile device, characterized by comprising the selfie stick adaptation device according to any one of claims 5-7.
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 CN105163234A (en) 2015-12-16
CN105163234B true 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)

Families Citing this family (11)

* 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
CN105677603B (en) * 2016-01-29 2018-01-19 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN105611448B (en) * 2016-01-29 2018-03-27 广东欧珀移动通信有限公司 A kind of self-shooting bar recognition methods, device and mobile terminal
CN105681951B (en) * 2016-01-29 2018-03-06 广东欧珀移动通信有限公司 A kind of self-shooting bar recognition methods, 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
CN105554308B (en) * 2016-01-29 2017-11-14 广东欧珀移动通信有限公司 Self-shooting bar, the method and device for identifying self-shooting bar
CN105611450B (en) * 2016-01-29 2018-03-09 广东欧珀移动通信有限公司 A kind of method, apparatus and mobile terminal for identifying self-shooting bar
CN105611446B (en) * 2016-01-29 2018-03-06 广东欧珀移动通信有限公司 Selfie stick identification method and device and mobile terminal
CN105744155B (en) * 2016-01-29 2018-06-08 广东欧珀移动通信有限公司 A kind of self-shooting bar button calibration method, device and mobile terminal
CN105635486B (en) * 2016-03-01 2019-05-10 Oppo广东移动通信有限公司 Method and terminal for starting photographing mode of selfie stick
CN108882082B (en) * 2018-05-18 2020-08-18 深圳市沃特沃德股份有限公司 Method for sending instruction to Bluetooth headset and storage box

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 camera function in 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 camera function in 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

Also Published As

Publication number Publication date
CN105163234A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105163234B (en) A kind of adaptation method of self-shooting bar, device and corresponding mobile device
US11985464B2 (en) Wireless audio output devices
CN104202488B (en) A kind of method and system carrying out interactive voice by bluetooth headset and mobile terminal
CN104469482A (en) Control method and device for connecting an intelligent terminal to a bluetooth device
EP2597844A1 (en) Method and device for sharing micro-usb interface between earphone and usb
US10782799B2 (en) Smart pen pairing and connection
US9277320B1 (en) Managing and using headset profiles for different headsets
WO2018082335A1 (en) Method, apparatus, system, and device for connecting bluetooth device
CN105516897A (en) Method and device for one-key establishment of communication connection between Bluetooth devices
CN102932549A (en) Mobile terminal and method for quickly entering application programs through earphones
CN105072339A (en) Method, mobile terminal and system for quickly adjusting camera focus by using selfie stick
CN104134442A (en) Method and device for starting voice service
CN106649010A (en) Terminal device testing method and terminal device
CN105025560A (en) Method for reducing power consumption by using selfie stick to lock device, mobile terminal and system
US11316308B2 (en) Adapter, multi-device detection system and detection method thereof
WO2018094795A1 (en) Method and device for controlling power supply of power strip, and power strip
CN108054794A (en) Charging and discharging method and device for intelligent terminal, terminal and storage medium
CN105554308A (en) Selfie stick, method and apparatus for identifying selfie stick and mobile terminal
CN107508350A (en) Electronic device, its charging method, and storage medium
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN105611446A (en) Selfie stick and selfie stick identification method, device and mobile terminal
CN105611445B (en) Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar
CN105490332B (en) Charging method, apparatus and system
CN105142237B (en) Device pairing method and system
WO2017166606A1 (en) Audio playback method and apparatus, terminal device, electronic device, and storage medium

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

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.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180202

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