CN105704373B - A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system - Google Patents
A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system Download PDFInfo
- Publication number
- CN105704373B CN105704373B CN201610065006.6A CN201610065006A CN105704373B CN 105704373 B CN105704373 B CN 105704373B CN 201610065006 A CN201610065006 A CN 201610065006A CN 105704373 B CN105704373 B CN 105704373B
- Authority
- CN
- China
- Prior art keywords
- data information
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and systems.The described method includes: Xiang Suoshu access device sends the first data information when detecting access device access;Receive the second data information that the access device is generated according to first data information according to setting rule;According to second data information, determine that the access device is self-shooting bar.Technical solution provided in an embodiment of the present invention, it solves in the prior art after self-shooting bar is connect with mobile terminal, mobile terminal can not identify the technical issues of whether current access device is self-shooting bar, it ensure that after self-shooting bar is connect with mobile terminal, it is self-shooting bar that mobile terminal, which can automatically identify current access device, to support the subsequent operation automatically into screening-mode, the self-shooting bar identification demand of the growing personalization of people, facilitation is met.
Description
Technical field
The present embodiments relate to self-shooting bar technical field more particularly to a kind of self-shooting bar recognition methods, device and self-timer
Bar, mobile terminal and system.
Background technique
With the continuous development of mobile terminal and technique for taking, self-timer has become everybody and records beautiful natural views, beautiful
The mode of personal elegance and data plate life splendid moment, with the promotion that people require self-timer, self-shooting bar also therewith meeting the tendency of and
It is raw, mobile terminal is fixed on self-shooting bar and is shot, can flexibly realize multi-angle self-timer, is brought for user good
Experience.
However, self-shooting bar with mobile terminal is attached by earphone interface mostly at present, either self-shooting bar is still
Earphone is inserted into mobile terminal, is all identified as earphone.Cause in this way user by self-shooting bar access mobile terminal after, mobile terminal without
Method identifies that access device is self-shooting bar, it is also necessary to, just can be by certainly after user goes operation mobile terminal to enter screening-mode
Dabber is shot, and the experience of user is seriously affected.
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, with to from
Dabber is identified, the self-shooting bar identification demand of the growing personalization of people, facilitation is met.
In a first aspect, the embodiment of the invention provides a kind of self-shooting bar recognition methods, comprising:
When detecting access device access, Xiang Suoshu access device sends the first data information;
Receive the second data information that the access device is generated according to first data information according to setting rule;
According to second data information, determine that the access device is self-shooting bar.
In second aspect, the embodiment of the invention provides a kind of self-shooting bar recognition methods, comprising:
After self-shooting bar accesses mobile terminal, the first data information that mobile terminal is sent is received;
The second data information is generated according to setting rule according to first data information;
Second data information is sent to mobile terminal, so that mobile terminal is according to second data information, really
Access device before settled is self-shooting bar.
In the third aspect, the embodiment of the invention provides a kind of self-shooting bar identification device, configuration on mobile terminals, is wrapped
It includes:
First data information sending module, for when detecting access device access, Xiang Suoshu access device to send the
One data information;
Second data information receiving module, for receiving the access device according to first data information according to setting
The second data information that rule generates;
Self-shooting bar determining module, for determining that the access device is self-shooting bar according to second data information.
In fourth aspect, the embodiment of the invention provides a kind of self-shooting bar identification devices, configure on self-shooting bar, comprising:
First data information receiving module, for after self-shooting bar accesses mobile terminal, receiving mobile terminal is sent the
One data information;
Second data information generation module, for generating the second data according to setting rule according to first data information
Information;
Second data information sending module, for second data information to be sent to mobile terminal, so that mobile whole
End determines that current access device is self-shooting bar according to second data information.
At the 5th aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal is integrated with such as third party
Device described in face.
At the 6th aspect, the embodiment of the invention provides a kind of self-shooting bar, the self-shooting bar is integrated with such as fourth aspect institute
The device stated.
At the 7th aspect, the embodiment of the invention provides a kind of systems, and the system comprises mobile terminal and self-shooting bar, institutes
It is fixed on the mobile terminal to state self-shooting bar, the mobile terminal is integrated with the identification dress of the self-shooting bar as provided by the third aspect
It sets, the self-shooting bar is integrated with the self-shooting bar identification device as provided by fourth aspect.
For the embodiment of the present invention through mobile terminal when detecting access device access, Xiang Suoshu access device sends first
Data information, and receiving second data of the access device according to first data information according to setting rule generation
After information, according to second data information, determines that the access device is the technological means of self-shooting bar, solve the prior art
In after self-shooting bar is connect with mobile terminal, mobile terminal can not identify whether current access device is that the technology of self-shooting bar is asked
Topic, ensure that after self-shooting bar is connect with mobile terminal, and it is self-shooting bar that mobile terminal, which can automatically identify current access device,
To support the subsequent operation automatically into screening-mode, the growing personalization of people is met, the self-shooting bar of facilitation is known
Other demand.
Detailed description of the invention
Fig. 1 is the flow chart for the self-shooting bar recognition methods that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of self-shooting bar recognition methods provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart for the self-shooting bar recognition methods that the embodiment of the present invention three provides;
Fig. 4 is the flow chart for the self-shooting bar recognition methods that the embodiment of the present invention four provides;
Fig. 5 is the flow chart for the self-shooting bar recognition methods that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the self-shooting bar identification device that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for the self-shooting bar identification device that the embodiment of the present invention seven provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.It also should be noted that illustrating only for ease of description, in attached drawing related to the present invention
Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail
It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart
Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations
It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have
Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 gives the flow chart of the self-shooting bar recognition methods of the offer of the embodiment of the present invention one, and the method for the present embodiment can
To be executed by self-shooting bar identification device, which can realize that described device can be used as tool by way of hardware and/or software
There is a part of the mobile terminal of shooting function to be arranged inside the mobile terminal.
Mobile terminal described in the present embodiment includes but is not limited to the tool such as mobile phone, notebook, tablet computer, digital camera
There is the equipment of shooting function.
As shown in Figure 1, self-shooting bar recognition methods provided in this embodiment specifically includes the following steps:
Step 101, detect access device access when, Xiang Suoshu access device send the first data information.
Wherein, the mode of access device access mobile terminal can for by the access of the earphone interface of mobile terminal or
It is accessed by the USB interface of mobile terminal, or wirelessly (bluetooth, wireless communication, wireless near field communication
(Near Field Communication, NFC) etc.) access.The access device can be self-shooting bar, earphone etc..Described
When access device accesses mobile terminal by earphone interface, the plug of the access device includes that three-stage plug and four-part form are inserted
Head.
Wherein, first data information can be binary data.
Step 102 receives the second number that the access device is generated according to first data information according to setting rule
It is believed that breath.
Wherein, second data information can be binary data.Second data information can be advised according to setting
The data information different from the first data information is then generated, it can also be identical as first data information.
Step 103, according to second data information, determine that the access device is self-shooting bar.
The step can specifically include: generate third data information according to setting rule according to first data information;
When second data information is identical as the third data information, determine that the access device is self-shooting bar.
Wherein, it is described according to first data information according to setting rule generate third data information may include: root
According to first data information, the subdata of setting position in first data information is changed according to default transformation rule
Become, to generate third data information;Alternatively, according to first data information and setting data information, to first data
Information carries out logical operation, to generate third data information.Wherein, the setting position can be one or more.
Illustratively, first data information is binary data 1000000000000001, by first data
The subdata in the penultimate of setting position in information is changed, to generate third data information
1000000000000011。
Illustratively, logic NOT can also be carried out to first data information, moves to left or move to right shift operation, to generate
Third data information, alternatively, by first data information and setting data information carry out logic and operation, logic or operation,
Logic XOR operation, to generate third data information.
It after this step can be the following steps are included: automatically turning on shooting function.The shooting function includes taking pictures
Function and/or camera function.
Self-shooting bar recognition methods provided in an embodiment of the present invention, through mobile terminal when detecting access device access,
To the access device send the first data information, and receive the access device according to first data information according to
After the second data information that setting rule generates, according to second data information, determine that the access device is self-shooting bar
Technological means solves in the prior art after self-shooting bar is connect with mobile terminal, and mobile terminal can not be identified and is currently accessed
The technical issues of whether equipment is self-shooting bar, ensure that after self-shooting bar is connect with mobile terminal, and mobile terminal can be known automatically
Not Chu current access device be that self-shooting bar to support the subsequent operation automatically into screening-mode it is growing to meet people
Personalization, facilitation self-shooting bar identify demand.
Embodiment two
Fig. 2 gives the flow chart of self-shooting bar recognition methods provided by Embodiment 2 of the present invention.The present embodiment is with above-mentioned reality
It applies and optimizes based on example one.In the present embodiment, will be when detecting access device access, Xiang Suoshu access device is sent
First data information specifically optimizes are as follows: when detecting that access device is accessed by the earphone interface of mobile terminal, by described
Left channel pin or right channel pin in earphone interface send the first data information to the access device.Further, will
It receives the access device and is specifically optimized according to first data information according to the second data information that setting rule generates are as follows:
By the microphone MIC pin in the earphone interface, the access device is received according to first data information according to setting
The second data information that set pattern then generates.
Correspondingly, as shown in Fig. 2, self-shooting bar recognition methods provided in this embodiment the following steps are included:
Step 201, when detecting that access device is accessed by the earphone interface of mobile terminal, pass through the earphone interface
In left channel pin or right channel pin to the access device send the first data information.
It is described by the earphone interface when detecting that access device is accessed by the earphone interface of mobile terminal
It can also include: to open movement before left channel pin or right channel pin send the first data information to the access device
The recording broadcasting function of terminal, with by left channel pin in the earphone interface or right channel pin to the access device
Send the first data information.Wherein, the recording broadcasting function of opening mobile terminal by calling it is to be understood that can be used
The function of playback is realized in the Audiotrack class of playback, i.e., by calling the class of recording broadcasting to pass through to realize
Left channel pin or right channel pin in the earphone interface of mobile terminal send the first data information to the access device.
The step is specifically as follows: when detecting that access device is accessed by the earphone interface of mobile terminal, control the
The first sound channel pin in one setting time in the earphone interface is high level or low level;When reaching the described first setting
Between when, the first data are sent to the access device by the first sound channel pin in the earphone interface or second sound channel pin
Information.The effect that the step is arranged in this way is: sending the first data information to access device for mobile terminal and formulates a kind of communication
Agreement sends the Information Security of the first data information to guarantee mobile terminal to access device.For example, if mobile terminal
It is being in audio broadcast state (for example, being playing music or video, conversing) before accessing self-shooting bar, is moving
After dynamic terminal access self-shooting bar or earphone, audio data can be sent in self-shooting bar or earphone, at this moment if mobile terminal is by institute
It states the first data information to be sent in self-shooting bar, first data information will will receive the interference of audio data, or even make certainly
It is audio data or first data information that dabber, which can not differentiate received information,.The step controls in the first setting time
The first sound channel pin in the earphone interface is high level or low level, can give mobile terminal application layer one instruction letter
Number, so that audio data be not sent to self-shooting bar by mobile terminal control hardware driving layer, prevent the interference of audio data.
Wherein, first sound channel includes L channel or right channel.It is low level in the default level of first sound channel
When, can control first sound channel pin in the first setting time is high level, is in the default level of first sound channel
When high level, can control first sound channel pin in the first setting time is low level.In general, first sound channel
Defaulting level is often low level, it is advantageous to, controlling first sound channel pin in the first setting time is high level.
Wherein, the second sound channel includes right channel or L channel, i.e., when first sound channel is L channel, described the
Two sound channels are right channel;When first sound channel is right channel, the second sound channel is L channel.
Preferably, when reaching first setting time, by the second sound channel pin in the earphone interface to institute
It states access device and sends data information.
First setting time can be set according to practical particular condition in use, for example, setting described first is set
It fixes time as 200ms.
Step 202, by the microphone MIC pin in the earphone interface, receive the access device according to described
The second data information that one data information is generated according to setting rule.
Before this step can with the following steps are included: open mobile terminal microphone MIC sound-recording function, with etc.
The second data information that access device to be received returns.Wherein, the sound-recording function of the microphone MIC for opening mobile terminal can
To be interpreted as, the function of recording can be realized by calling the Audiorecorder class for recording, i.e., by being used for
The class of recording passes through the second data information that microphone MIC pin is sent to receive access device.
Step 203, according to second data information, determine that the access device is self-shooting bar.
Self-shooting bar recognition methods provided in this embodiment, self-shooting bar are mobile eventually by the earphone interface access of mobile terminal
End, mobile terminal is when detecting that access device is accessed by the earphone interface of mobile terminal, by the earphone interface
Left channel pin or right channel pin pass through the wheat in the earphone interface to the access device the first data information of transmission
Gram wind MIC pin receives the access device and is believed according to first data information according to the second data that setting rule generates
Breath determines that the access device is self-shooting bar, solves in the prior art in self-shooting bar and shifting according to second data information
After dynamic terminal connection, mobile terminal can not identify the technical issues of whether current access device is self-shooting bar, ensure that certainly
After dabber is connect with mobile terminal, mobile terminal can automatically identify current access device be self-shooting bar, with support it is subsequent from
The dynamic operation into screening-mode meets the self-shooting bar identification demand of the growing personalization of people, facilitation.
Embodiment three
Fig. 3 gives the flow chart of the self-shooting bar recognition methods of the offer of the embodiment of the present invention three, and the method for the present embodiment can
To be executed by self-shooting bar identification device, which can be realized by way of hardware and/or software, and described device can be used as certainly
A part of dabber is arranged inside the self-shooting bar.
Mobile terminal described in the present embodiment includes but is not limited to the tool such as mobile phone, notebook, tablet computer, digital camera
There is the equipment of shooting function.
As shown in figure 3, self-shooting bar recognition methods provided by the embodiment the following steps are included:
Step 301, self-shooting bar access mobile terminal after, receive mobile terminal send the first data information.
Wherein, the mode of the self-shooting bar access mobile terminal can be to access or lead to by the earphone interface of mobile terminal
Cross the USB interface access of mobile terminal, or wirelessly (bluetooth, wireless communication, wireless near field communication (Near
Field Communication, NFC) etc.) access.The self-shooting bar by earphone interface access mobile terminal when, it is described from
The plug of dabber includes three-stage plug and four-part form plug.
Wherein, first data information can be binary data.
Step 302 generates the second data information according to setting rule according to first data information.
Wherein, second data information can be binary data.Second data information can be advised according to setting
The data information different from the first data information is then generated, it can also be identical as first data information.
The step can specifically include: according to first data information, by setting position in first data information
Subdata be changed according to default transformation rule, to generate the second data information;Alternatively, according to first data information
With setting data information, logical operation is carried out to first data information, to generate the second data information.Wherein, described to set
It can be one or more that positioning, which is set,.The logical operation includes logical not operation, logic and operation, logic or operation, logic
XOR operation and shift operation etc..
Second data information is sent to mobile terminal by step 303, so that mobile terminal is according to second data
Information determines that current access device is self-shooting bar.
Self-shooting bar recognition methods provided in this embodiment, by receiving mobile terminal after self-shooting bar accesses mobile terminal
The first data information sent, and the second data information is generated according to setting rule according to first data information, it will be described
Second data information is sent to mobile terminal, so that mobile terminal according to second data information, determines that current access is set
Standby is the technological means of self-shooting bar, is solved in the prior art after self-shooting bar is connect with mobile terminal, mobile terminal can not be known
Not Chu current access device the technical issues of whether being self-shooting bar, ensure that after self-shooting bar is connect with mobile terminal, it is mobile eventually
It is that self-shooting bar is met with supporting the subsequent operation automatically into screening-mode that end, which can automatically identify current access device,
The self-shooting bar identification demand of the growing personalization of people, facilitation.
Example IV
Fig. 4 gives the flow chart of the self-shooting bar recognition methods of the offer of the embodiment of the present invention four.The present embodiment is with above-mentioned reality
It applies and optimizes based on example three.Method provided by the present embodiment is corresponding with method provided by embodiment two, not at this
The details of detailed description can be found in the various embodiments described above in embodiment.In the present embodiment, mobile terminal will be accessed in self-shooting bar
Afterwards, it receives the first data information that mobile terminal is sent specifically to optimize are as follows: after self-shooting bar accesses mobile terminal, receive movement eventually
The first data information that end passes through left channel pin or right channel pin transmission in the earphone interface of the mobile terminal.Into one
Step, second data information will be sent to mobile terminal, so that mobile terminal is determined according to second data information
Current access device is that self-shooting bar specifically optimizes are as follows: second data information is passed through the microphone in the earphone interface
MIC pin is sent to mobile terminal, so that mobile terminal according to second data information, determines that current access device is certainly
Dabber.
Correspondingly, as shown in figure 4, self-shooting bar recognition methods provided in this embodiment the following steps are included:
Step 401, after self-shooting bar accesses mobile terminal, receive mobile terminal and pass through the earphone interface of the mobile terminal
In left channel pin or right channel pin send the first data information.
The step can specifically include: after self-shooting bar accesses mobile terminal, move detecting in the first setting time
When the first sound channel pin in the earphone interface of terminal is high level or low level, receives mobile terminal and pass through the earphone interface
In the first sound channel pin or second sound channel pin send the first data information.The effect that the step is arranged in this way is: for certainly
Dabber receives the first data information that mobile terminal is sent and formulates a kind of communication protocol, to guarantee mobile end that self-shooting bar receives
Hold the Information Security of the first data information sent.
Wherein, first sound channel includes L channel or right channel, and the second sound channel includes right channel or L channel, i.e.,
When first sound channel is L channel, the second sound channel is right channel;When first sound channel is right channel, described the
Two sound channels are L channel.
When the default level of first sound channel is low level, if detecting the ear of mobile terminal in the first setting time
When the first sound channel pin in machine interface is high level, then receives mobile terminal and drawn by the first sound channel in the earphone interface
The first data information that foot or second sound channel pin are sent;When the default level of first sound channel is high level, if detection
When the first sound channel pin in the first setting time in the earphone interface of mobile terminal is low level, then it is logical to receive mobile terminal
The first data information that the first sound channel pin or second sound channel pin crossed in the earphone interface are sent.In general, described
The default level of one sound channel is often low level, it is advantageous to, if detecting, the earphone of mobile terminal in the first setting time is connect
When the first sound channel pin in mouthful is high level, then receive mobile terminal by the first sound channel pin in the earphone interface or
The first data information that second sound channel pin is sent.
Step 402 generates the second data information according to setting rule according to first data information.
Second data information is sent to movement by the microphone MIC pin in the earphone interface by step 403
Terminal, so that mobile terminal according to second data information, determines that current access device is self-shooting bar.
Self-shooting bar recognition methods provided in this embodiment, self-shooting bar are whole by the earphone interface of mobile terminal and the movement
End connection receives the left sound in the earphone interface that mobile terminal passes through the mobile terminal after self-shooting bar accesses mobile terminal
The first data information that road pin or right channel pin are sent generates second according to setting rule according to first data information
Second data information is sent to mobile terminal by the microphone MIC pin in the earphone interface by data information, with
Make mobile terminal according to second data information, determines that current access device is self-shooting bar, solve and exist in the prior art
After self-shooting bar is connect with mobile terminal, mobile terminal can not identify the technical issues of whether current access device is self-shooting bar,
It ensure that after self-shooting bar is connect with mobile terminal, it is self-shooting bar that mobile terminal, which can automatically identify current access device, with
It supports the subsequent operation automatically into screening-mode, meets the self-shooting bar identification of the growing personalization of people, facilitation
Demand.
Embodiment five
Fig. 5 gives the flow chart of the self-shooting bar recognition methods of the offer of the embodiment of the present invention five.The present embodiment is with above-mentioned each
Optimized based on embodiment, a kind of preferred embodiment be provided, not in the present embodiment the details of detailed description referring to upper
State each embodiment.
As shown in figure 5, self-shooting bar recognition methods provided in this embodiment the following steps are included:
Step 501, self-shooting bar access the mobile terminal by the earphone interface of mobile terminal.
Step 502, mobile terminal send the first data information to the self-shooting bar.
Specifically, the mobile terminal can by left channel pin in earphone interface or right channel pin to it is described from
Dabber sends the first data information.
Step 503, self-shooting bar receive first data information, and generate the second data information according to setting rule.
Second data information is sent to mobile terminal by step 504, self-shooting bar.
Specifically, self-shooting bar can be by the microphone MIC pin in the earphone interface of mobile terminal, by second number
It is believed that breath is sent to mobile terminal.
Step 505, mobile terminal receive second data information.
Step 506, mobile terminal judge whether second data information meets setting condition, if so, executing step
507, otherwise, execute step 508.
Wherein, the mobile terminal judge whether second data information meets setting condition can be with are as follows: according to described
First data information generates third data information according to setting rule;Judge that second data information and the third data are believed
It whether identical ceases.
Step 507, mobile terminal determine that current access device is self-shooting bar.
Step 508, mobile terminal determine that current access device is earphone.
Self-shooting bar recognition methods provided in this embodiment, self-shooting bar access the movement by the earphone interface of mobile terminal
Terminal, mobile terminal send the first data information to the self-shooting bar, and the self-shooting bar is receiving first data information
The second data information is generated according to setting rule afterwards, and second data information is sent to mobile terminal, mobile terminal exists
When second data information meets setting condition, determine that current access device is self-shooting bar, otherwise, it determines current access device
It for earphone, solves in the prior art after self-shooting bar is connect with mobile terminal, mobile terminal can not be identified to be currently accessed and be set
It standby the technical issues of whether being self-shooting bar, ensure that after self-shooting bar is connect with mobile terminal, mobile terminal being capable of automatic identification
It is growing to meet people to support the subsequent operation automatically into screening-mode for self-shooting bar for current access device out
Personalized, facilitation self-shooting bar identifies demand.
Embodiment six
Fig. 6 gives the structural schematic diagram of the self-shooting bar identification device of the offer of the embodiment of the present invention six.The self-shooting bar is known
Other device configuration is on mobile terminals.As shown in fig. 6, self-shooting bar identification device provided in this embodiment includes:
First data information sending module 61, for when detecting access device access, Xiang Suoshu access device to be sent
First data information;
Second data information receiving module 62, for receiving the access device according to first data information according to setting
The second data information that set pattern then generates;
Self-shooting bar determining module 63, for determining that the access device is self-shooting bar according to second data information.
Technical solution provided in this embodiment, through mobile terminal when detecting access device access, to the access
Equipment sends the first data information, and raw according to setting rule according to first data information receiving the access device
At the second data information after, according to second data information, determine that the access device is the technological means of self-shooting bar, solution
It has determined in the prior art after self-shooting bar is connect with mobile terminal, mobile terminal can not identify whether current access device is certainly
The technical issues of dabber, ensure that after self-shooting bar is connect with mobile terminal, mobile terminal can be automatically identified and is currently accessed
Equipment is self-shooting bar, to support the subsequent operation automatically into screening-mode, meets growing personalized, convenient of people
The self-shooting bar of change identifies demand.
On the basis of the various embodiments described above, first data information and the second data information are binary data.
On the basis of the various embodiments described above, the first data information sending module is specifically used for:
When detecting that access device is accessed by the earphone interface of mobile terminal, pass through the left sound in the earphone interface
Road pin or right channel pin send the first data information to the access device.
On the basis of the various embodiments described above, the second data information receiving module is specifically used for:
By the microphone MIC pin in the earphone interface, receives the access device and believed according to first data
The second data information that breath is generated according to setting rule.
On the basis of the various embodiments described above, the self-shooting bar determining module is specifically used for:
Third data information is generated according to setting rule according to first data information;
When second data information is identical as the third data information, determine that the access device is self-shooting bar.
On the basis of the various embodiments described above, the self-shooting bar determining module is according to first data information according to setting
Rule generates third data information specifically:
According to first data information, by the subdata of setting position in first data information according to default transformation
Rule is changed, to generate third data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, with
Generate third data information.
Self-shooting bar identification device provided in an embodiment of the present invention can be performed the embodiment of the present invention one or embodiment two or implement
Self-shooting bar recognition methods provided by example five has the corresponding functional module of execution method and beneficial effect.
In addition, the embodiment of the present invention also provides a kind of mobile terminal, the mobile terminal is integrated with the present embodiment and is provided
Self-shooting bar identification device.
Embodiment seven
Fig. 7 gives the structural schematic diagram of the self-shooting bar identification device of the offer of the embodiment of the present invention seven.The self-shooting bar is known
Other device configuration is on self-shooting bar.As shown in fig. 7, self-shooting bar identification device provided in this embodiment includes:
First data information receiving module 71, for after self-shooting bar accesses mobile terminal, receiving what mobile terminal was sent
First data information;
Second data information generation module 72, for generating the second number according to setting rule according to first data information
It is believed that breath;
Second data information sending module 73, for second data information to be sent to mobile terminal, so that mobile
Terminal determines that current access device is self-shooting bar according to second data information.
Technical solution provided in this embodiment, by after self-shooting bar accesses mobile terminal, receiving what mobile terminal was sent
First data information, and the second data information is generated according to setting rule according to first data information, by second number
It is believed that breath is sent to mobile terminal, so that mobile terminal according to second data information, determines that current access device is certainly
The technological means of dabber solves in the prior art after self-shooting bar is connect with mobile terminal, and mobile terminal, which can not identify, works as
The technical issues of whether preceding access device is self-shooting bar ensure that after self-shooting bar is connect with mobile terminal, mobile terminal can
Automatically identifying current access device is self-shooting bar, to support the subsequent operation automatically into screening-mode, meets people day
The self-shooting bar of personalization, facilitation that benefit increases identifies demand.
On the basis of the various embodiments described above, first data information and the second data information are binary data.
On the basis of the various embodiments described above, the first data information receiving module is specifically used for:
The left channel pin or right channel pin received in the earphone interface that mobile terminal passes through the mobile terminal is sent
The first data information.
On the basis of the various embodiments described above, the second data information sending module is specifically used for:
Second data information is sent to mobile terminal by the microphone MIC pin in the earphone interface.
It is described to be specifically used for according to the second data information generation module on the basis of the various embodiments described above:
According to first data information, by the subdata of setting position in first data information according to default transformation
Rule is changed, to generate the second data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, with
Generate the second data information.
It is any into embodiment five that the embodiment of the present invention three can be performed in self-shooting bar identification device provided in an embodiment of the present invention
Self-shooting bar recognition methods provided by embodiment has the corresponding functional module of execution method and beneficial effect.
In addition, the embodiment of the present invention also provides a kind of self-shooting bar, the self-shooting bar is integrated with provided by the present embodiment certainly
Dabber identification device.
In addition, the embodiment of the present invention also provides a kind of system, and the system comprises mobile terminal and self-shooting bar, the self-timer
Bar is fixed on the mobile terminal, and the mobile terminal is integrated with self-shooting bar identification device provided by embodiment six, described
Self-shooting bar is integrated with self-shooting bar identification device provided by embodiment seven.
The technical principle that above are only presently preferred embodiments of the present invention and used.The present invention is not limited to spies described here
Determine embodiment, various significant changes, readjustment and the substitution being able to carry out for a person skilled in the art are not departing from
Protection scope of the present invention.Therefore, although the present invention has been described in more detail through the above examples, this hair
It is bright to be not limited only to above embodiments, it can also include other more equivalence enforcements without departing from the inventive concept
Example, and the scope of the present invention is determined by the scope of the claims.
Claims (19)
1. a kind of self-shooting bar recognition methods characterized by comprising
When detecting access device access, Xiang Suoshu access device sends the first data information;
Receive the second data information that the access device is generated according to first data information according to setting rule;Wherein,
First data information and the second data information are binary data;
According to second data information, determine that the access device is self-shooting bar;
Wherein, described according to second data information, determine that the access device includes: for self-shooting bar
Third data information is generated according to setting rule according to first data information;
When second data information is identical as the third data information, determine that the access device is self-shooting bar.
2. Xiang Suoshu connects the method according to claim 1, wherein described when detecting access device access
Entering equipment the first data information of transmission includes:
When detecting that access device is accessed by the earphone interface of mobile terminal, drawn by the L channel in the earphone interface
Foot or right channel pin send the first data information to the access device.
3. according to the method described in claim 2, it is characterized in that, described receive the access device according to first data
Information includes according to the second data information that setting rule generates:
By the microphone MIC pin in the earphone interface, receives the access device and pressed according to first data information
The second data information generated according to setting rule.
4. the method according to claim 1, wherein described regular according to setting according to first data information
Generating third data information includes:
According to first data information, by the subdata of setting position in first data information according to default transformation rule
It is changed, to generate third data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, to generate
Third data information.
5. a kind of self-shooting bar recognition methods characterized by comprising
After self-shooting bar accesses mobile terminal, the first data information that mobile terminal is sent is received;
The second data information is generated according to setting rule according to first data information;Wherein, first data information and
Second data information is binary data;
Second data information is sent to mobile terminal, so that mobile terminal, according to second data information, determination is worked as
Preceding access device is self-shooting bar;
Wherein, the mobile terminal determines that current access device is self-shooting bar according to second data information, comprising:
The mobile terminal generates third data information according to setting rule according to first data information;
When second data information is identical as the third data information, the mobile terminal determines that the access device is
Self-shooting bar.
6. according to the method described in claim 5, it is characterized in that, first data packets for receiving mobile terminal and sending
It includes:
Receive the of the left channel pin or right channel pin transmission in the earphone interface that mobile terminal pass through the mobile terminal
One data information.
7. according to the method described in claim 6, it is characterized in that, described be sent to mobile terminal for second data information
Include:
Second data information is sent to mobile terminal by the microphone MIC pin in the earphone interface.
8. according to the method described in claim 5, it is characterized in that, described regular according to setting according to first data information
Generating the second data information includes:
According to first data information, by the subdata of setting position in first data information according to default transformation rule
It is changed, to generate the second data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, to generate
Second data information.
9. a kind of self-shooting bar identification device, configuration is on mobile terminals characterized by comprising
First data information sending module, for when detecting access device access, Xiang Suoshu access device to send the first number
It is believed that breath;
Second data information receiving module, for receiving the access device according to first data information according to setting rule
The second data information generated;Wherein, first data information and the second data information are binary data;
Self-shooting bar determining module, for determining that the access device is self-shooting bar according to second data information;
The self-shooting bar determining module is specifically used for:
Third data information is generated according to setting rule according to first data information;
When second data information is identical as the third data information, determine that the access device is self-shooting bar.
10. device according to claim 9, which is characterized in that the first data information sending module is specifically used for:
When detecting that access device is accessed by the earphone interface of mobile terminal, drawn by the L channel in the earphone interface
Foot or right channel pin send the first data information to the access device.
11. device according to claim 10, which is characterized in that the second data information receiving module is specifically used for:
By the microphone MIC pin in the earphone interface, receives the access device and pressed according to first data information
The second data information generated according to setting rule.
12. device according to claim 9, which is characterized in that the self-shooting bar determining module is according to first data
Information generates third data information according to setting rule specifically:
According to first data information, by the subdata of setting position in first data information according to default transformation rule
It is changed, to generate third data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, to generate
Third data information.
13. a kind of self-shooting bar identification device configures on self-shooting bar characterized by comprising
First data information receiving module, the first number sent for after self-shooting bar accesses mobile terminal, receiving mobile terminal
It is believed that breath;
Second data information generation module, for generating the second data letter according to setting rule according to first data information
Breath;Wherein, first data information and the second data information are binary data;
Second data information sending module, for second data information to be sent to mobile terminal, so that mobile terminal root
According to second data information, determine that current access device is self-shooting bar;
Wherein, the mobile terminal determines that current access device is self-shooting bar according to second data information, comprising:
The mobile terminal generates third data information according to setting rule according to first data information;
When second data information is identical as the third data information, the mobile terminal determines that the access device is
Self-shooting bar.
14. device according to claim 13, which is characterized in that the first data information receiving module is specifically used for:
Receive the of the left channel pin or right channel pin transmission in the earphone interface that mobile terminal pass through the mobile terminal
One data information.
15. device according to claim 14, which is characterized in that the second data information sending module is specifically used for:
Second data information is sent to mobile terminal by the microphone MIC pin in the earphone interface.
16. device according to claim 13, which is characterized in that described to be had according to the second data information generation module
Body is used for:
According to first data information, by the subdata of setting position in first data information according to default transformation rule
It is changed, to generate the second data information;Alternatively,
According to first data information and setting data information, logical operation is carried out to first data information, to generate
Second data information.
17. a kind of mobile terminal, which is characterized in that the mobile terminal is integrated with as claim 9-12 is described in any item certainly
Dabber identification device.
18. a kind of self-shooting bar, which is characterized in that the self-shooting bar is integrated with such as the described in any item self-timers of claim 13-16
Bar identification device.
19. a kind of system, which is characterized in that including mobile terminal and self-shooting bar, the self-shooting bar is fixed on the mobile terminal
On, the mobile terminal is integrated with such as the described in any item self-shooting bar identification devices of claim 9-12, and the self-shooting bar is integrated
Such as the described in any item self-shooting bar identification devices of claim 13-16.
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 CN105704373A (en) | 2016-06-22 |
CN105704373B true 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 (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE60320427T2 (en) * | 2003-12-12 | 2009-05-07 | Sony Ericsson Mobile Communications Ab | Accessory identification algorithm for system connectors |
US20130176412A1 (en) * | 2012-01-05 | 2013-07-11 | G-Learn Corp., a Taiwan Corporation | Device and method for single-handedly self-photographing |
-
2016
- 2016-01-29 CN CN201610065006.6A patent/CN105704373B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105704373A (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11630636B2 (en) | Changing companion communication device behavior based on status of wearable device | |
JP6373576B2 (en) | Terminal apparatus and control method | |
US9762317B2 (en) | Playing synchronized mutichannel media on a combination of devices | |
CN103368616B (en) | The method and apparatus that bluetooth connection is used in mobile terminal | |
CN107071648B (en) | Sound playing adjusting system, device and method | |
US20130262687A1 (en) | Connecting a mobile device as a remote control | |
KR101183737B1 (en) | A multi earphone device capable recognizing actions and a method of recognizing actions thereof | |
TWI532359B (en) | Handling incoming calls systems and methods and accessing data method | |
WO2017181365A1 (en) | Earphone channel control method, related apparatus, and system | |
WO2021104271A1 (en) | Control method, stylus, and electronic assembly | |
CN106354471A (en) | Method and device for audio play control and electronic device | |
CN107204883A (en) | Network failure processing method and device | |
WO2021136141A1 (en) | Playback method and electronic device | |
CN108205413A (en) | Content output system, display device and its control method | |
CN106657585A (en) | Method and device for regulating frequency of intercom | |
CN104281431B (en) | The method and device that audio plays | |
WO2022048020A1 (en) | Bluetooth speaker control method and system, storage medium, and mobile terminal | |
CN107580102A (en) | Earphone and the method for earphone recording | |
CN107124679A (en) | The method and apparatus that multimedia file is played | |
CN105704373B (en) | A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system | |
CN114885261A (en) | Earphone assembly, wireless audio playing system and communication method thereof | |
CN107799092A (en) | Adjust the method, apparatus and electronic equipment of display brightness | |
CN108055481A (en) | A kind of method and device of definite signal source output | |
CN107343238A (en) | Mulit-point Connection control method and external equipment | |
CN105704376B (en) | A kind of rotating camera control method, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |