CN105704373A - A selfie-stick identification method, an apparatus thereof, a selfie-stick, a mobile terminal and a system - Google Patents

A selfie-stick identification method, an apparatus thereof, a selfie-stick, a mobile terminal and a system Download PDF

Info

Publication number
CN105704373A
CN105704373A CN201610065006.6A CN201610065006A CN105704373A CN 105704373 A CN105704373 A CN 105704373A CN 201610065006 A CN201610065006 A CN 201610065006A CN 105704373 A CN105704373 A CN 105704373A
Authority
CN
China
Prior art keywords
data message
self
mobile terminal
shooting bar
access device
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
CN201610065006.6A
Other languages
Chinese (zh)
Other versions
CN105704373B (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 CN201610065006.6A priority Critical patent/CN105704373B/en
Publication of CN105704373A publication Critical patent/CN105704373A/en
Application granted granted Critical
Publication of CN105704373B publication Critical patent/CN105704373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Abstract

The embodiment of the invention discloses a selfie-stick identification method, an apparatus thereof, a selfie-stick, a mobile terminal and a system. The method comprises the following steps: when access by access equipment is detected, first data information is sent to the access equipment; second data information generated by the access equipment according to a set rule on the basis of the first data information is received; and the access equipment is determined to be a selfie-stick according to the second data information. According to the technical scheme provided by the embodiment of the invention, technical problems that after the selfie-stick is connected to a mobile terminal, the mobile terminal can not identify whether the present access equipment is a selfie-stick are solved; after the the selfie-stick is connected to the mobile terminal, the mobile terminal definitely can automatically identify the present access equipment to be the the selfie-stick so as to support subsequent operation of automatic entry into a shooting mode, thereby satisfying people 's increasing selfie-stick identification demands for customization and convenience.

Description

A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system
Technical field
The present embodiments relate to self-shooting bar technical field, particularly relate to a kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system。
Background technology
Development along with mobile terminal and technique for taking, auto heterodyne has become everybody and has recorded the mode that beautiful natural views, beautiful individual's elegance and data plate are lived splendid moment, along with people are to the lifting required of autodyning, self-shooting bar also arises at the historic moment therewith, it is fixed on self-shooting bar by mobile terminal to shoot, multi-angle can be realized flexibly autodyne, bring good experience for user。
But, current self-shooting bar and mobile terminal are be attached by earphone interface mostly, no matter are self-shooting bar or earphone insertion mobile terminal, are all identified as earphone。So causing that user is after accessing mobile terminal by self-shooting bar, it is self-shooting bar that mobile terminal None-identified goes out access device, in addition it is also necessary to user just can be shot by self-shooting bar, have a strong impact on the experience of user after going operation mobile terminal to enter screening-mode。
Summary of the invention
The embodiment of the present invention provides a kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system, so that self-shooting bar to be identified, meets the self-shooting bar identification demand of the growing personalization of people, facilitation。
In first aspect, embodiments provide a kind of self-shooting bar recognition methods, including:
When detecting that access device accesses, send the first data message to described access device;
Receive described access device according to described first data message according to setting the second data message that rule generates;
According to described second data message, it is determined that described access device is self-shooting bar。
In second aspect, embodiments provide a kind of self-shooting bar recognition methods, including:
After self-shooting bar accesses mobile terminal, receive the first data message that mobile terminal sends;
The second data message is generated according to setting rule according to described first data message;
Described second data message is sent to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
In the third aspect, embodiments provide a kind of self-shooting bar identification device, configure on mobile terminals, including:
First data message sending module, for when detecting that access device accesses, sending the first data message to described access device;
Second data message receiver module, for receiving described access device according to described first data message according to setting the second data message that rule generates;
Self-shooting bar determines module, for according to described second data message, it is determined that described access device is self-shooting bar。
In fourth aspect, embodiments provide a kind of self-shooting bar identification device, be arranged on self-shooting bar, including:
First data message receiver module, for, after self-shooting bar accesses mobile terminal, receiving the first data message that mobile terminal sends;
Second data message generation module, for generating the second data message according to described first data message according to setting rule;
Second data message sending module, for sending described second data message to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
In the 5th, embodiments providing a kind of mobile terminal, described mobile terminal is integrated with the device as described in the third aspect。
In the 6th, embodiments providing a kind of self-shooting bar, described self-shooting bar is integrated with the device as described in fourth aspect。
In the 7th, embodiments provide a kind of system, described system includes mobile terminal and self-shooting bar, described self-shooting bar is fixing on the mobile terminal, described mobile terminal is integrated with the self-shooting bar identification device as the third aspect provides, and described self-shooting bar is integrated with the self-shooting bar identification device as fourth aspect provides。
The embodiment of the present invention passes through mobile terminal when detecting that access device accesses, the first data message is sent to described access device, and receiving described access device according to described first data message according to after setting the second data message that rule generates, according to described second data message, determine the technological means that described access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Accompanying drawing explanation
Fig. 1 is the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention two provides;
Fig. 3 is the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention three provides;
Fig. 4 is the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention four provides;
Fig. 5 is the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention five provides;
Fig. 6 is the structural representation of the self-shooting bar identification device that the embodiment of the present invention six provides;
Fig. 7 is the structural representation of the self-shooting bar identification device that the embodiment of the present invention seven provides。
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail。It is understood that specific embodiment described herein is used only for explaining the present invention, but not limitation of the invention。It also should be noted that, for the ease of describing, accompanying drawing illustrate only part related to the present invention but not full content。It should be mentioned that, some exemplary embodiments are described as the process as flow chart description or method before being discussed in greater detail exemplary embodiment。Although operations (or step) is described as the process of order by flow chart, but many operations therein can be implemented concurrently, concomitantly or simultaneously。Additionally, the order of operations can be rearranged。Described process can be terminated when its operations are completed, it is also possible to have the additional step being not included in accompanying drawing。Described process can correspond to method, function, code, subroutine, subprogram etc.。
Embodiment one
Fig. 1 gives the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention one provides, the method of the present embodiment can be performed by self-shooting bar identification device, this device can be realized by the mode of hardware and/or software, and described device can be arranged on inside described mobile terminal as a part for the mobile terminal with shoot function。
Mobile terminal described in the present embodiment includes but not limited to that mobile phone, notebook, panel computer, digital camera etc. have the equipment of shoot function。
As it is shown in figure 1, the self-shooting bar recognition methods that the present embodiment provides specifically includes following steps:
Step 101, when detecting that access device accesses, send the first data message to described access device。
Wherein, it can be accessed by the earphone interface of mobile terminal or accessed by the USB interface of mobile terminal that described access device accesses the mode of mobile terminal, or wirelessly (bluetooth, wireless communication, wireless near field communication (NearFieldCommunication, NFC) etc.) access。Described access device can be self-shooting bar, earphone etc.。When described access device accesses mobile terminal by earphone interface, the plug of described access device includes syllogic plug and four-part form plug。
Wherein, described first data message can be binary data。
Step 102, receive described access device according to described first data message according to set rule generate the second data message。
Wherein, described second data message can be binary data。Described second data message can generate the data message different from the first data message according to setting rule, it is also possible to identical with described first data message。
Step 103, according to described second data message, it is determined that described access device is self-shooting bar。
This step specifically may include that and generates the 3rd data message according to described first data message according to setting rule;When described second data message is identical with described 3rd data message, it is determined that described access device is self-shooting bar。
Wherein, described according to described first data message according to set rule generate the 3rd data message may include that according to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the 3rd data message;Or, according to described first data message and setting data information, described first data message is carried out logical operations, to generate the 3rd data message。Wherein, described setting position can be one or more。
Exemplary, described first data message is binary data 1000000000000001, the subdata in the setting position penultimate in described first data message is changed, to generate the 3rd data message 1000000000000011。
Exemplary, described first data message can also be carried out logic NOT, moves to left or moves to right shift operation, to generate the 3rd data message, or, described first data message and setting data information are carried out logic and operation, logic or computing, logic XOR, to generate the 3rd data message。
Can also comprise the following steps after this step: automatically turn on shoot function。Described shoot function includes camera function and/or camera function。
The self-shooting bar recognition methods that the embodiment of the present invention provides, by mobile terminal when detecting that access device accesses, the first data message is sent to described access device, and receiving described access device according to described first data message according to after setting the second data message that rule generates, according to described second data message, determine the technological means that described access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Embodiment two
Fig. 2 gives the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention two provides。The present embodiment is optimized based on above-described embodiment one。In the present embodiment, will when detecting that access device accesses, send the first data message to described access device to be specifically optimized for: when the earphone interface access that access device passes through mobile terminal being detected, send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。Further, specifically it is optimized for receiving described access device according to the second data message setting rule generation according to described first data message: by the mike MIC pin in described earphone interface, receives described access device according to described first data message according to setting the second data message that rule generates。
Accordingly, as in figure 2 it is shown, the self-shooting bar recognition methods that the present embodiment provides comprises the following steps:
Step 201, detect access device pass through mobile terminal earphone interface access time, send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。
When the earphone interface access that access device passes through mobile terminal being detected, described by the left channel pin in described earphone interface or R channel pin to before described access device sends the first data message, can also include: open the recording playing function of mobile terminal, to send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。Wherein, the recording playing function of described unlatching mobile terminal can be understood as, can realize the function of playback by calling the Audiotrack class for playback, the class namely play by calling recording realizes sending the first data message by the left channel pin in the earphone interface of mobile terminal or R channel pin to described access device。
This step is specifically as follows: when the earphone interface access that access device passes through mobile terminal being detected, control the first the first sound channel pin set in the time in described earphone interface as high level or low level;When reaching described first and setting the time, send the first data message by the first sound channel pin in described earphone interface or second sound channel pin to described access device。The effect that this step is so arranged is: sends the first data message for mobile terminal to access device and formulates a kind of communication protocol, to ensure that mobile terminal sends the Information Security of the first data message to access device。For example, if mobile terminal had been in audio frequency broadcast state (such as before accessing self-shooting bar, playing music or video, call etc.), access self-shooting bar or earphone at mobile terminal after, voice data can be sent in self-shooting bar or earphone, if at this moment described first data message is sent to self-shooting bar by mobile terminal, described first data message will be subject to the interference of voice data, and even making the information that self-shooting bar cannot differentiate reception is voice data or described first data message。This step controls the first the first sound channel pin set in the time in described earphone interface as high level or low level, one indication signal of mobile terminal application layer can be given, so that mobile terminal controls hardware driving layer and voice data be not sent to self-shooting bar, it is prevented that the interference of voice data。
Wherein, described first sound channel includes L channel or R channel。When the acquiescence level of described first sound channel is low level, first can be controlled and set in the time described first sound channel pin as high level, when the acquiescence level of described first sound channel is high level, it is possible to control first and set in the time described first sound channel pin as low level。General, the acquiescence level of described first sound channel is often low level, it is advantageous to, control first and set in the time described first sound channel pin as high level。
Wherein, described second sound channel includes R channel or L channel, and namely when described first sound channel is L channel, described second sound channel is R channel;When described first sound channel is R channel, described second sound channel is L channel。
Preferably, when reaching described first and setting the time, data message is sent by the second sound channel pin in described earphone interface to described access device。
The described first setting time can be set according to actual specifically used situation, for instance, set described first and set the time as 200ms。
Step 202, by the mike MIC pin in described earphone interface, receive described access device according to described first data message according to setting the second data message that rule generates。
Can also comprise the following steps before this step: open the sound-recording function of mike MIC of mobile terminal, with etc. the second data message of returning of access device to be received。Wherein, the sound-recording function of the mike MIC of described unlatching mobile terminal can be understood as, can by the Audiorecorder class called for recording realize recording function, namely by call for the class recorded receive access device by mike MIC pin send the second data message。
Step 203, according to described second data message, it is determined that described access device is self-shooting bar。
The self-shooting bar recognition methods that the present embodiment provides, self-shooting bar accesses mobile terminal by the earphone interface of mobile terminal, mobile terminal is when the earphone interface access that access device passes through mobile terminal being detected, the first data message is sent to described access device by the left channel pin in described earphone interface or R channel pin, and by the mike MIC pin in described earphone interface, receive described access device according to described first data message according to setting the second data message that rule generates, according to described second data message, determine that described access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Embodiment three
Fig. 3 gives the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention three provides, the method of the present embodiment can be performed by self-shooting bar identification device, this device can be realized by the mode of hardware and/or software, and described device can be arranged on inside described self-shooting bar as a part for self-shooting bar。
Mobile terminal described in the present embodiment includes but not limited to that mobile phone, notebook, panel computer, digital camera etc. have the equipment of shoot function。
As it is shown on figure 3, the self-shooting bar recognition methods that this enforcement provides comprises the following steps:
Step 301, access after mobile terminal at self-shooting bar, receive the first data message that mobile terminal sends。
Wherein, it can be accessed by the earphone interface of mobile terminal or accessed by the USB interface of mobile terminal that described self-shooting bar accesses the mode of mobile terminal, or wirelessly (bluetooth, wireless communication, wireless near field communication (NearFieldCommunication, NFC) etc.) access。When described self-shooting bar accesses mobile terminal by earphone interface, the plug of described self-shooting bar includes syllogic plug and four-part form plug。
Wherein, described first data message can be binary data。
Step 302, according to described first data message according to set rule generate the second data message。
Wherein, described second data message can be binary data。Described second data message can generate the data message different from the first data message according to setting rule, it is also possible to identical with described first data message。
This step specifically may include that according to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the second data message;Or, according to described first data message and setting data information, described first data message is carried out logical operations, to generate the second data message。Wherein, described setting position can be one or more。Described logical operations includes logical not operation, logic and operation, logic or computing, logic XOR and shift operation etc.。
Step 303, by described second data message send to mobile terminal so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
The self-shooting bar recognition methods that the present embodiment provides, by after self-shooting bar accesses mobile terminal, receive the first data message that mobile terminal sends, and generate the second data message according to described first data message according to setting rule, described second data message is sent to mobile terminal, so that mobile terminal is according to described second data message, determine the technological means that current access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Embodiment four
Fig. 4 gives the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention four provides。The present embodiment is optimized based on above-described embodiment three。The method that the method that the present embodiment provides provides with embodiment two is corresponding, and the details of detailed description in the present embodiment can referring to the various embodiments described above。In the present embodiment, will after self-shooting bar accesses mobile terminal, the first data message receiving mobile terminal transmission is specifically optimized for: after self-shooting bar accesses mobile terminal, receives the first data message that mobile terminal is sent by the left channel pin in the earphone interface of described mobile terminal or R channel pin。Further, just described second data message sends to mobile terminal, so that mobile terminal is according to described second data message, determine that current access device is that self-shooting bar is specifically optimized for: sent to mobile terminal by the mike MIC pin in described earphone interface by described second data message, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
Accordingly, as shown in Figure 4, the self-shooting bar recognition methods that the present embodiment provides comprises the following steps:
Step 401, access after mobile terminal at self-shooting bar, receive the mobile terminal the first data message by the left channel pin in the earphone interface of described mobile terminal or the transmission of R channel pin。
This step specifically may include that after self-shooting bar accesses mobile terminal, when the first the first sound channel pin set in the time in the earphone interface of mobile terminal being detected as high level or low level, receive the first data message that mobile terminal is sent by the first sound channel pin in described earphone interface or second sound channel pin。The effect that this step is so arranged is: receives, for self-shooting bar, the first data message that mobile terminal sends and formulates a kind of communication protocol, to ensure the Information Security of the first data message that the mobile terminal that self-shooting bar receives sends。
Wherein, described first sound channel includes L channel or R channel, and described second sound channel includes R channel or L channel, and namely when described first sound channel is L channel, described second sound channel is R channel;When described first sound channel is R channel, described second sound channel is L channel。
When the acquiescence level of described first sound channel is low level, if the first the first sound channel pin set in the time in the earphone interface of mobile terminal detected as high level, then receive the first data message that mobile terminal is sent by the first sound channel pin in described earphone interface or second sound channel pin;When the acquiescence level of described first sound channel is high level, if the first the first sound channel pin set in the time in the earphone interface of mobile terminal detected as low level, then receive the first data message that mobile terminal is sent by the first sound channel pin in described earphone interface or second sound channel pin。General, the acquiescence level of described first sound channel is often low level, it is advantageous to, if the first the first sound channel pin set in the time in the earphone interface of mobile terminal detected as high level, then receive the first data message that mobile terminal is sent by the first sound channel pin in described earphone interface or second sound channel pin。
Step 402, according to described first data message according to set rule generate the second data message。
Step 403, the mike MIC pin transmission passed through by described second data message in described earphone interface are to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
The self-shooting bar recognition methods that the present embodiment provides, self-shooting bar is connected with described mobile terminal by the earphone interface of mobile terminal, after self-shooting bar accesses mobile terminal, receive the first data message that mobile terminal is sent by the left channel pin in the earphone interface of described mobile terminal or R channel pin, the second data message is generated according to setting rule according to described first data message, described second data message is sent to mobile terminal by the mike MIC pin in described earphone interface, so that mobile terminal is according to described second data message, determine that current access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Embodiment five
Fig. 5 gives the flow chart of the self-shooting bar recognition methods that the embodiment of the present invention five provides。The present embodiment is optimized based on the various embodiments described above, it is provided that a kind of preferred embodiment, the details of detailed description in the present embodiment is not referring to the various embodiments described above。
As it is shown in figure 5, the self-shooting bar recognition methods that the present embodiment provides comprises the following steps:
Step 501, self-shooting bar access described mobile terminal by the earphone interface of mobile terminal。
Step 502, mobile terminal send the first data message to described self-shooting bar。
Concrete, described mobile terminal can send the first data message by the left channel pin in earphone interface or R channel pin to described self-shooting bar。
Step 503, self-shooting bar receive described first data message, and generate the second data message according to setting rule。
Described second data message is sent to mobile terminal by step 504, self-shooting bar。
Concrete, self-shooting bar can pass through the mike MIC pin in the earphone interface of mobile terminal, sends described second data message to mobile terminal。
Step 505, mobile terminal receive described second data message。
Step 506, mobile terminal judge whether described second data message meets and impose a condition, and if so, perform step 507, otherwise, perform step 508。
Wherein, described mobile terminal judges that whether satisfied the imposing a condition of described second data message can be: generate the 3rd data message according to described first data message according to setting rule;Judge that whether described second data message and described 3rd data message be identical。
Step 507, mobile terminal determine that current access device is self-shooting bar。
Step 508, mobile terminal determine that current access device is earphone。
The self-shooting bar recognition methods that the present embodiment provides, self-shooting bar accesses described mobile terminal by the earphone interface of mobile terminal, mobile terminal sends the first data message to described self-shooting bar, described self-shooting bar generates the second data message according to setting rule after receiving described first data message, and described second data message is sent to mobile terminal, mobile terminal is when described second data message meets and imposes a condition, determine that current access device is self-shooting bar, otherwise, determine that current access device is earphone, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
Embodiment six
Fig. 6 gives the structural representation of the self-shooting bar identification device that the embodiment of the present invention six provides。Described self-shooting bar identification device configures on mobile terminals。As shown in Figure 6, the self-shooting bar identification device that the present embodiment provides includes:
First data message sending module 61, for when detecting that access device accesses, sending the first data message to described access device;
Second data message receiver module 62, for receiving described access device according to described first data message according to setting the second data message that rule generates;
Self-shooting bar determines module 63, for according to described second data message, it is determined that described access device is self-shooting bar。
The technical scheme that the present embodiment provides, by mobile terminal when detecting that access device accesses, the first data message is sent to described access device, and receiving described access device according to described first data message according to after setting the second data message that rule generates, according to described second data message, determine the technological means that described access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
On the basis of the various embodiments described above, described first data message and the second data message are binary data。
On the basis of the various embodiments described above, described first data message sending module specifically for:
When the earphone interface access that access device passes through mobile terminal being detected, send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。
On the basis of the various embodiments described above, described second data message receiver module specifically for:
By the mike MIC pin in described earphone interface, receive described access device according to described first data message according to setting the second data message that rule generates。
On the basis of the various embodiments described above, described self-shooting bar determine module specifically for:
The 3rd data message is generated according to setting rule according to described first data message;
When described second data message is identical with described 3rd data message, it is determined that described access device is self-shooting bar。
On the basis of the various embodiments described above, described self-shooting bar determine module according to described first data message according to set rule generate the 3rd data message particularly as follows:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the 3rd data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the 3rd data message。
The self-shooting bar recognition methods that the self-shooting bar identification device that the embodiment of the present invention provides can perform the embodiment of the present invention one or embodiment two or embodiment five provides, possesses the corresponding functional module of execution method and beneficial effect。
It addition, the embodiment of the present invention also provides for a kind of mobile terminal, described mobile terminal is integrated with the self-shooting bar identification device that the present embodiment provides。
Embodiment seven
Fig. 7 gives the structural representation of the self-shooting bar identification device that the embodiment of the present invention seven provides。Described self-shooting bar identification device is arranged on self-shooting bar。As it is shown in fig. 7, the self-shooting bar identification device that the present embodiment provides includes:
First data message receiver module 71, for, after self-shooting bar accesses mobile terminal, receiving the first data message that mobile terminal sends;
Second data message generation module 72, for generating the second data message according to described first data message according to setting rule;
Second data message sending module 73, for sending described second data message to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
The technical scheme that the present embodiment provides, by after self-shooting bar accesses mobile terminal, receive the first data message that mobile terminal sends, and generate the second data message according to described first data message according to setting rule, described second data message is sent to mobile terminal, so that mobile terminal is according to described second data message, determine the technological means that current access device is self-shooting bar, solve in prior art after self-shooting bar is connected with mobile terminal, mobile terminal None-identified goes out the technical problem whether current access device is self-shooting bar, ensure that after self-shooting bar is connected with mobile terminal, it is self-shooting bar that mobile terminal can automatically identify current access device, to support the follow-up operation automatically into screening-mode, meet the personalization that people are growing, the self-shooting bar identification demand of facilitation。
On the basis of the various embodiments described above, described first data message and the second data message are binary data。
On the basis of the various embodiments described above, described first data message receiver module specifically for:
Receive the first data message that mobile terminal is sent by the left channel pin in the earphone interface of described mobile terminal or R channel pin。
On the basis of the various embodiments described above, described second data message sending module specifically for:
Described second data message is sent to mobile terminal by the mike MIC pin in described earphone interface。
On the basis of the various embodiments described above, described according to described second data message generation module specifically for:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the second data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the second data message。
The self-shooting bar identification device that the embodiment of the present invention provides can perform the self-shooting bar recognition methods that in the embodiment of the present invention three to embodiment five, any embodiment provides, and possesses the corresponding functional module of execution method and beneficial effect。
It addition, the embodiment of the present invention also provides for a kind of self-shooting bar, described self-shooting bar is integrated with the self-shooting bar identification device that the present embodiment provides。
Additionally, the embodiment of the present invention also provides for a kind of system, described system includes mobile terminal and self-shooting bar, described self-shooting bar is fixing on the mobile terminal, described mobile terminal is integrated with the self-shooting bar identification device that embodiment six provides, and described self-shooting bar is integrated with the self-shooting bar identification device that embodiment seven provides。
Above are only presently preferred embodiments of the present invention and the know-why used。The invention is not restricted to specific embodiment described here, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from protection scope of the present invention。Therefore, although the present invention being described in further detail by above example, but the present invention is not limited only to above example, when without departing from present inventive concept, other Equivalent embodiments more can also be included, and the scope of the present invention is determined by scope of the claims。

Claims (25)

1. a self-shooting bar recognition methods, it is characterised in that including:
When detecting that access device accesses, send the first data message to described access device;
Receive described access device according to described first data message according to setting the second data message that rule generates;
According to described second data message, it is determined that described access device is self-shooting bar。
2. method according to claim 1, it is characterised in that described first data message and the second data message are binary data。
3. method according to claim 1 and 2, it is characterised in that described when detecting that access device accesses, sends the first data message to described access device and includes:
When the earphone interface access that access device passes through mobile terminal being detected, send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。
4. method according to claim 3, it is characterised in that the described access device of described reception includes according to the second data message setting rule generation according to described first data message:
By the mike MIC pin in described earphone interface, receive described access device according to described first data message according to setting the second data message that rule generates。
5. method according to claim 1, it is characterised in that described according to described second data message, it is determined that described access device is that self-shooting bar includes:
The 3rd data message is generated according to setting rule according to described first data message;
When described second data message is identical with described 3rd data message, it is determined that described access device is self-shooting bar。
6. method according to claim 5, it is characterised in that described according to described first data message according to set rule generate the 3rd data message include:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the 3rd data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the 3rd data message。
7. a self-shooting bar recognition methods, it is characterised in that including:
After self-shooting bar accesses mobile terminal, receive the first data message that mobile terminal sends;
The second data message is generated according to setting rule according to described first data message;
Described second data message is sent to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
8. method according to claim 7, it is characterised in that described first data message and the second data message are binary data。
9. the method according to claim 7 or 8, it is characterised in that the first data message that described reception mobile terminal sends includes:
Receive the first data message that mobile terminal is sent by the left channel pin in the earphone interface of described mobile terminal or R channel pin。
10. method according to claim 9, it is characterised in that described send described second data message to mobile terminal includes:
Described second data message is sent to mobile terminal by the mike MIC pin in described earphone interface。
11. method according to claim 7, it is characterised in that described according to described first data message according to set rule generate the second data message include:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the second data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the second data message。
12. a self-shooting bar identification device, configuration is on mobile terminals, it is characterised in that including:
First data message sending module, for when detecting that access device accesses, sending the first data message to described access device;
Second data message receiver module, for receiving described access device according to described first data message according to setting the second data message that rule generates;
Self-shooting bar determines module, for according to described second data message, it is determined that described access device is self-shooting bar。
13. device according to claim 12, it is characterised in that described first data message and the second data message are binary data。
14. the device according to claim 12 or 13, it is characterised in that described first data message sending module specifically for:
When the earphone interface access that access device passes through mobile terminal being detected, send the first data message by the left channel pin in described earphone interface or R channel pin to described access device。
15. device according to claim 14, it is characterised in that described second data message receiver module specifically for:
By the mike MIC pin in described earphone interface, receive described access device according to described first data message according to setting the second data message that rule generates。
16. device according to claim 12, it is characterised in that described self-shooting bar determine module specifically for:
The 3rd data message is generated according to setting rule according to described first data message;
When described second data message is identical with described 3rd data message, it is determined that described access device is self-shooting bar。
17. device according to claim 16, it is characterised in that described self-shooting bar determine module according to described first data message according to set rule generate the 3rd data message particularly as follows:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the 3rd data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the 3rd data message。
18. a self-shooting bar identification device, it is arranged on self-shooting bar, it is characterised in that including:
First data message receiver module, for, after self-shooting bar accesses mobile terminal, receiving the first data message that mobile terminal sends;
Second data message generation module, for generating the second data message according to described first data message according to setting rule;
Second data message sending module, for sending described second data message to mobile terminal, so that mobile terminal is according to described second data message, it is determined that current access device is self-shooting bar。
19. device according to claim 18, it is characterised in that described first data message and the second data message are binary data。
20. the device according to claim 18 or 19, it is characterised in that described first data message receiver module specifically for:
Receive the first data message that mobile terminal is sent by the left channel pin in the earphone interface of described mobile terminal or R channel pin。
21. device according to claim 20, it is characterised in that described second data message sending module specifically for:
Described second data message is sent to mobile terminal by the mike MIC pin in described earphone interface。
22. device according to claim 18, it is characterised in that described according to described second data message generation module specifically for:
According to described first data message, the subdata of setting position in described first data message is changed according to default transformation rule, to generate the second data message;Or,
According to described first data message and setting data information, described first data message is carried out logical operations, to generate the second data message。
23. a mobile terminal, it is characterised in that described mobile terminal is integrated with the self-shooting bar identification device as described in any one of claim 12-17。
24. a self-shooting bar, it is characterised in that described self-shooting bar is integrated with the self-shooting bar identification device as described in any one of claim 18-22。
25. a system, it is characterized in that, including mobile terminal and self-shooting bar, described self-shooting bar is fixing on the mobile terminal, described mobile terminal is integrated with the self-shooting bar identification device as described in any one of claim 12-17, and described self-shooting bar is integrated with the self-shooting bar identification device as described in any one of claim 18-22。
CN201610065006.6A 2016-01-29 2016-01-29 A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system Active CN105704373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610065006.6A CN105704373B (en) 2016-01-29 2016-01-29 A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610065006.6A CN105704373B (en) 2016-01-29 2016-01-29 A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system

Publications (2)

Publication Number Publication Date
CN105704373A true CN105704373A (en) 2016-06-22
CN105704373B CN105704373B (en) 2019-04-23

Family

ID=56229982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610065006.6A Active CN105704373B (en) 2016-01-29 2016-01-29 A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system

Country Status (1)

Country Link
CN (1) CN105704373B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070082634A1 (en) * 2003-12-12 2007-04-12 Jeroen Thijssen Accessory identification algorithm for system connector
CN101021883A (en) * 2006-02-15 2007-08-22 施兆洲 Computer game long-distance real-time management system and method
CN102567671A (en) * 2011-12-30 2012-07-11 大连捷成实业发展有限公司 Encryption system and encryption method for field-programmable gate array (FPGA) configuration data
CN103138930A (en) * 2011-12-05 2013-06-05 赛酷特(北京)信息技术有限公司 Identity authentication device based on mobile communication equipment platform
US20130176412A1 (en) * 2012-01-05 2013-07-11 G-Learn Corp., a Taiwan Corporation Device and method for single-handedly self-photographing
TWM479374U (en) * 2013-12-06 2014-06-01 jin-mao Zhou Mobile phone clamp bar
CN104135458A (en) * 2013-05-03 2014-11-05 中国银联股份有限公司 Establishment of communication connection between mobile equipment and secure carrier
CN204206428U (en) * 2014-08-21 2015-03-11 北京康智乐思网络科技有限公司 Audio interface and audio connector communication system and main equipment thereof and external equipment
CN204227000U (en) * 2014-11-10 2015-03-25 李强 Self-shooting bar
GB2524281A (en) * 2014-03-19 2015-09-23 Anand Dhondo Deshpande Selfie - Stick
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070082634A1 (en) * 2003-12-12 2007-04-12 Jeroen Thijssen Accessory identification algorithm for system connector
CN101021883A (en) * 2006-02-15 2007-08-22 施兆洲 Computer game long-distance real-time management system and method
CN103138930A (en) * 2011-12-05 2013-06-05 赛酷特(北京)信息技术有限公司 Identity authentication device based on mobile communication equipment platform
CN102567671A (en) * 2011-12-30 2012-07-11 大连捷成实业发展有限公司 Encryption system and encryption method for field-programmable gate array (FPGA) configuration data
US20130176412A1 (en) * 2012-01-05 2013-07-11 G-Learn Corp., a Taiwan Corporation Device and method for single-handedly self-photographing
CN104135458A (en) * 2013-05-03 2014-11-05 中国银联股份有限公司 Establishment of communication connection between mobile equipment and secure carrier
TWM479374U (en) * 2013-12-06 2014-06-01 jin-mao Zhou Mobile phone clamp bar
GB2524281A (en) * 2014-03-19 2015-09-23 Anand Dhondo Deshpande Selfie - Stick
CN204206428U (en) * 2014-08-21 2015-03-11 北京康智乐思网络科技有限公司 Audio interface and audio connector communication system and main equipment thereof and external equipment
CN204227000U (en) * 2014-11-10 2015-03-25 李强 Self-shooting bar
CN105120388A (en) * 2015-08-12 2015-12-02 青岛海信移动通信技术股份有限公司 Identification method and device of selfie stick

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁方等编著: "《计算机导论 第3版》", 31 August 2014, 北京:清华大学出版社 *

Also Published As

Publication number Publication date
CN105704373B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
EP2248271B1 (en) Headset as hub in remote control system
US9762317B2 (en) Playing synchronized mutichannel media on a combination of devices
CN104159218B (en) Internetwork connection establishing method and device
US20120320807A1 (en) Duplex audio for mobile communication device and accessory
CN104468329A (en) Member adding method and device based on instant messaging
CN106097494A (en) The method for unlocking of smart lock and device
CN104980820A (en) Multimedia file playing method and multimedia file playing device
CN105162889A (en) Device finding method and apparatus
CN106454644A (en) Audio playing method and device
CN104468971A (en) Method and device for connecting playing source
CN105554631B (en) Audio switching method, device and electronic equipment
CN105426218A (en) Method and device for controlling audio playing
CN105471890A (en) Unlocking method based on wearable device, apparatus and system
CN105099517A (en) Connection establishing method and device
CN105101013A (en) Method and device for playing voice signals
CN106507282A (en) The control method of wireless connection and device
CN105632542A (en) Audio playing method and apparatus
CN104881342A (en) Terminal testing method and device
CN104682908A (en) Method and device for controlling volume
CN104281431B (en) The method and device that audio plays
CN106598540A (en) Audio playing method and device
CN105635916A (en) Audio processing method and apparatus
CN105630354A (en) Application control method and device
CN108255445A (en) Vehicle device mirror image operation method, vehicle device, mobile terminal and vehicle
CN107124679A (en) The method and apparatus that multimedia file is played

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant