Summary of the invention
Present invention is primarily targeted at a kind of channel sharing method of proposition and system, it is intended to solve existing
Parking by mobile phone needs the technical problem that user is manually added when adding channel information.
For achieving the above object, a kind of channel sharing method that the present invention provides, described channel sharing method
Including:
Sharing when sharing instruction of channel information when first terminal detects, described first terminal is according to described
Share instruction and obtain channel information to be shared;
Described first terminal according to described in channel information to be shared produce acoustic signals;
Described acoustic signals is sent to the second terminal by described first terminal, receives for described second terminal
Described acoustic signals, and resolve described acoustic signals, obtain described channel information.
Preferably, described acoustic signals is sent to the second terminal by described first terminal, for described second
Terminal receives described acoustic signals, and resolves described acoustic signals, obtain described channel information step it
After, also include:
When described first terminal receives the first information that described second terminal sends, output is described
First information, to point out the second terminal described in user to be properly received described channel information.
Preferably, after described acoustic signals is sent to the step of the second terminal by described first terminal, also
Including:
When described first terminal receives the second information that described second terminal sends, described first
Terminal sends described acoustic signals in Preset Time again, and wherein, described second information represents institute
State the second terminal and be not successfully received described acoustic signals.
Preferably, share when sharing instruction of channel when first terminal detects, described first terminal according to
Described share the step that instruction obtains channel information to be shared before, also include:
Mapping relations between described first terminal storage frequency of sound wave and channel information;
Described first terminal according to described in channel information to be shared produce the step of acoustic signals and include:
Described first terminal, based on described mapping relations, produces sound wave according to described channel information to be shared
Signal.
Preferably, described first terminal is based on described mapping relations, according to described channel information to be shared
The step producing acoustic signals includes:
Described first terminal, based on the mapping relations between described frequency of sound wave and channel information, is treated described
The channel information shared encodes;
Described first terminal produces acoustic signals according to the channel information to be shared after described coding.
Additionally, for achieving the above object, the present invention also proposes a kind of channel shared system, and described channel is altogether
The system of enjoying includes first terminal and the second terminal;
Described first terminal includes:
Acquisition module, for sharing when sharing instruction of channel information when detecting, shares finger according to described
Order obtains channel information to be shared;
Generation module, produces acoustic signals for channel information to be shared described in basis;
Sending module, for described acoustic signals is sent to the second terminal, connects for described second terminal
Receive described acoustic signals, and resolve described acoustic signals, obtain described channel information.
Preferably, described first terminal also includes:
Receiver module, for when receiving the first information that described second terminal sends, exporting institute
State the first information, to point out the second terminal described in user to be properly received described channel information.
Preferably, described sending module, it is additionally operable to when receiving the second prompting that described second terminal sends
During information, in Preset Time, again send described acoustic signals, wherein, described second information table
Show that described second terminal is not successfully received described acoustic signals.
Preferably, described first terminal also includes:
Module is set, for storing the mapping relations between frequency of sound wave and channel information;
Described generation module, is additionally operable to based on described mapping relations, according to described channel information to be shared
Produce acoustic signals.
Preferably, described generation module includes:
Coding unit, for based on the mapping relations between described frequency of sound wave and channel information, to described
Channel information to be shared encodes;
Generation unit, for producing acoustic signals according to the channel information to be shared after described coding.
The present invention realizes sharing of channel information between intelligent terminal by the method using sound wave communication,
Need not user and the client of correspondence is installed in described intelligent terminal, it is not required that user is in described intelligence
Terminal is manually entered described channel information, and by sound wave communication, described intelligent terminal can connect simultaneously
Receive the channel information that other intelligent terminal multiple sends, improve the intelligent of terminal, simplify user's
Operating process.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The present invention provides a kind of channel sharing method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are channel sharing method first embodiment of the present invention.
The present embodiment proposes a kind of channel sharing method, and described channel sharing method includes:
Step S10, shares when sharing instruction of channel information when first terminal detects, and described first eventually
Share instruction described in end basis and obtain channel information to be shared;
User can set up private channel in first terminal, and described user can arrange the channel number of oneself
With password etc..When the channels share of foundation is given other users by described user needs, described user is in institute
State first terminal triggers share channel information corresponding to described channel share instruction.When described first
Terminal detects to be shared when sharing instruction of described channel information, described first terminal according to described in share finger
Order obtain channel information to be shared, described channel information include but not limited to described channel channel number and
Password.
In the present embodiment, described first terminal is parking by mobile phone, and described first terminal includes but not limited to institute
State parking by mobile phone, it is also possible to for smart mobile phone, personal computer etc..Described parking by mobile phone is a vehicle intelligent
Hardware, uses multiple physical button to operate, collection VOIP (Voice Over Internet Protocol) technology,
Sound control technique, network radio station, IP (Internet Protocol, the agreement of interconnection between network) network pair
The multinomial intellectual technology such as say, including making a phone call, navigate, vehicle health check-up, ordering song by voice, radio station,
The functions such as channel chat, Wi-Fi hotspot.Described parking by mobile phone possesses precise positioning and navigation feature, as worked as
State and said " navigation+destination " navigation can be opened by search key facing to described parking by mobile phone with the head of a household;Institute
Stating user can also select historical record to open navigation in " navigation " interface of described parking by mobile phone, described
User can also check present position and history stroke in the navigation application in described parking by mobile phone.
Described parking by mobile phone also provides for UltraDialUp communication function, parking by mobile phone voice as described in described user can directly pass through
Call peer serial number, i.e. dials the networking telephone.
Step S20, described first terminal according to described in channel information to be shared produce acoustic signals;
Step S30, described acoustic signals is sent to the second terminal by described first terminal, for described
Two terminals receive described acoustic signals, and resolve described acoustic signals, obtain described channel information.
Described in getting when described first terminal after the channel information shared, described first terminal is according to institute
State channel information to be shared and produce acoustic signals, and described acoustic signals is sent to the second terminal.Institute
State the second terminal and open acoustic receiver function, receive the acoustic signals that described first terminal sends, and resolve
Described acoustic signals, obtains the channel information in described acoustic signals.In the present embodiment, described second
Terminal is also described parking by mobile phone, but is not limited to described parking by mobile phone.Further, when described second terminal
After being successfully received described channel information, add the channel corresponding to described channel information to channel list
In.The user of described first terminal and the user of described second terminal can be communicated by described channel,
Described first terminal user can by as described in channel with as described in the user of the second terminal carry out real-time
Voice communication.The mode that described second terminal is on acoustic receiver function includes but not limited to connect
When receiving described acoustic signals, automatically start described acoustic receiver function, or used by described second terminal
The acoustic receiver function of manually opened described second terminal in family.
The present embodiment by the method using sound wave communication realize channel information between intelligent terminal point
Enjoy, it is not necessary to user installs the client of correspondence in described intelligent terminal, it is not required that user is described
Intelligent terminal is manually entered described channel information, and by sound wave communication, described intelligent terminal can be same
Time receive other intelligent terminal multiple send channel information, improve the intelligent of terminal, simplify use
The operating process at family.
With reference to the schematic flow sheet of the second embodiment that Fig. 2, Fig. 2 are channel sharing method of the present invention, base
Second embodiment of channel sharing method of the present invention is proposed in the first embodiment of the present invention.
In the present embodiment, described channel sharing method also includes:
Step S40, when described first terminal receives the first information that described second terminal sends,
Export described first information, to point out the second terminal described in user to be properly received described channel information.
When described second terminal is successfully received the acoustic signals that described first terminal sends, described second
Terminal exports the first information, and shows at its display interface, to point out described second terminal use institute
State the second terminal and be properly received described acoustic signals.Described second terminal by described first information
It is sent to described first terminal.When described first terminal receives described first information, described
One terminal exports described first information, and shows in its display interface, to point out described first eventually
Second terminal described in the user of end has been properly received described acoustic signals, can be by described channel with described
The user of the second terminal communicates.
Further, described channel sharing method also includes:
When described first terminal receives the second information that described second terminal sends, described first
Terminal sends described acoustic signals in Preset Time again, and wherein, described second information represents institute
State the second terminal and be not successfully received described acoustic signals.
When described second terminal is not successfully received described acoustic signals, described second terminal is sent to second
Information gives described first terminal.When described first terminal receives described second information, institute
State first terminal and in Preset Time, again send described acoustic signals according to described second information, its
In, described second information represents that described second terminal is not successfully received described acoustic signals.Described pre-
If the time is for arranging according to concrete condition, as being set to 3s, 5s etc..
The present embodiment is by being properly received, when described second terminal, the described sound wave letter that described first terminal sends
Number time, described second terminal exports the first information, and described first information is sent to described
First terminal, right according to described first information prompting for described first terminal and described second terminal
Second terminal described in the user answered has been properly received described acoustic signals, improves the intelligent of terminal.
With reference to the schematic flow sheet of the 3rd embodiment that Fig. 3, Fig. 3 are channel sharing method of the present invention, base
3rd embodiment of channel sharing method of the present invention is proposed in the first embodiment of the present invention.
In the present embodiment, described channel sharing method also includes:
Step S50, the mapping relations between described first terminal storage frequency of sound wave and described channel information;
Described step S20 includes:
Step S21, described first terminal is based on described mapping relations, according to described channel letter to be shared
Breath produces acoustic signals.
Further, described step S21 also includes:
Described first terminal, based on the mapping relations between described frequency of sound wave and channel information, is treated described
The channel information shared encodes;
Described first terminal produces acoustic signals according to the channel information to be shared after described coding.
Described first terminal prestores the mapping relations between frequency of sound wave and described channel information.Need
Illustrating, acoustic signals is generally determined by characteristic quantity loudness and tone.Wherein, loudness i.e. people is subjective
The size (being commonly called as volume) of perceived sounds, is determined from the distance of sound source by " amplitude " and people, amplitude is the biggest
Loudness is the biggest, and the distance of people and sound source is the least, and loudness is the biggest;Tone i.e. people subjective perceived sounds height
(high pitch, bass), is determined by " frequency ", frequency more high-pitched tone is the highest.
In the present embodiment, build the coding rule of described channel information based on unifrequency acoustic signals, as
The sinusoidal wave corresponding numeral 1 of regulation 1500Hz, the sinusoidal wave corresponding numeral 2 of 1600Hz, 1700Hz's
Sinusoidal wave corresponding numeral 3 etc., then numeric string 3123 with regard to corresponding 4 band frequencies be followed successively by 1700Hz,
The sine wave of 1500Hz, 1600Hz and 1700Hz.In the specific implementation, for guaranteeing the sound wave of output
Signal can accurately be received and parsed through, it is stipulated that every period of sinusoidal wave persistent period is 100ms, then " 3123 "
The acoustic segment of corresponding 400 milliseconds.
After the coding rule that acoustic signals is set, described frequency of sound wave is set according to described coding rule
And the mapping relations between described channel information.Described first terminal is believed with channel based on described frequency of sound wave
Mapping relations between breath, encode described channel information to be shared, and according to described coding after
Channel information to be shared produce acoustic signals.The channel number that the channel information shared if necessary is corresponding
Being 123, password is 321, and regulation 1400Hz correspondence numeral 0, the sinusoidal wave corresponding numeral of 1500Hz
The sinusoidal wave corresponding numeral 2 of 1,1600Hz, the sinusoidal wave corresponding numeral 3 etc. of 1700Hz, then based on institute
Stating the mapping relations between frequency of sound wave and channel information, the channel number of the described channel after being encoded is
Frequency is followed successively by the acoustic segment corresponding to 1500Hz, 1600Hz and 1700Hz, described channel after coding
Password is the acoustic segment that frequency is followed successively by corresponding to 1700Hz, 1600Hz and 1500Hz.The most described channel
The acoustic signals corresponding to channel number be the acoustic segment corresponding to 1500Hz, 1600Hz and 1700Hz,
Acoustic signals corresponding to the password of described channel is the sound corresponding to 1700Hz, 1600Hz and 1500Hz
Segment.It should be noted that in order to ensure that described second terminal can successfully solve from described acoustic signals
Code goes out described channel information, and described second terminal should use corresponding with described first terminal coding rule
Decoding rule.
The present invention further provides a kind of channel shared system.
With reference to the high-level schematic functional block diagram that Fig. 4, Fig. 4 are channel shared system first embodiment of the present invention.
In the present embodiment, described channel shared system includes first terminal 100 and the second terminal 200.
Described first terminal 100 includes:
Acquisition module 10, for sharing when sharing instruction of channel information when detecting, shares according to described
Instruction obtains channel information to be shared;
User can set up private channel in first terminal 100, and described user can arrange the frequency of oneself
Taoist monastic name and password etc..When the channels share of foundation is given other users by described user needs, described user
Described first terminal 100 triggers share channel information corresponding to described channel share instruction.When
Described first terminal 100 detects to be shared when sharing instruction of described channel information, described first terminal 100
Sharing instruction obtain channel information to be shared according to described, described channel information includes but not limited to described
The channel number of channel and password.
In the present embodiment, described first terminal 100 is parking by mobile phone, described first terminal 100 include but
It is not limited to described parking by mobile phone, it is also possible to for smart mobile phone, personal computer etc..Described parking by mobile phone is a
Vehicle intelligent hardware, uses multiple physical button to operate, collection VOIP (Voice Over Internet Protocol)
Technology, sound control technique, network radio station, IP (Internet Protocol, the agreement of interconnection between network)
The multinomial intellectual technology such as network talkback, including making a phone call, navigate, vehicle health check-up, ordering song by voice,
The functions such as radio station, channel chat, Wi-Fi hotspot.Described parking by mobile phone possesses precise positioning and navigation feature,
When as described in the head of a household by search key facing to as described in parking by mobile phone say " navigation+destination " and can open and lead
Boat;Described user can also select historical record to open navigation in " navigation " interface of described parking by mobile phone,
Described user can also check present position and history row in the navigation application in described parking by mobile phone
Journey.Described parking by mobile phone also provides for UltraDialUp communication function, parking by mobile phone as described in described user can directly pass through
Audio call the other side's serial number, i.e. dials the networking telephone.
Generation module 20, produces acoustic signals for channel information to be shared described in basis;
Sending module 30, for being sent to the second terminal 200 by described acoustic signals, for described second
Terminal 200 receives described acoustic signals, and resolves described acoustic signals, obtains described channel information.
Described in getting when described first terminal 100 after the channel information shared, described first terminal 100
Produce acoustic signals according to described channel information to be shared, and described acoustic signals is sent to second eventually
End 200.Described second terminal 200 opens acoustic receiver function, receives described first terminal 100 and sends
Acoustic signals, and resolve described acoustic signals, obtain the channel information in described acoustic signals.At this
In embodiment, described second terminal 200 is also described parking by mobile phone, but is not limited to described parking by mobile phone.Enter
One step ground, after described second terminal 200 is successfully received described channel information, by described channel information
Corresponding channel adds in channel list.The user of described first terminal 100 and described second terminal
The user of 200 can be communicated by described channel, and the user such as described first terminal 100 can be led to
The user crossing described channel and described second terminal 200 carries out real-time voice communication.Described second terminal
200 modes being on acoustic receiver function include but not limited to receive described acoustic signals
Time, automatically start described acoustic receiver function, or by the described second manually opened institute of terminal 200 user
State the acoustic receiver function of the second terminal 200.
The present embodiment by the method using sound wave communication realize channel information between intelligent terminal point
Enjoy, it is not necessary to user installs the client of correspondence in described intelligent terminal, it is not required that user is described
Intelligent terminal is manually entered described channel information, and by sound wave communication, described intelligent terminal can be same
Time receive other intelligent terminal multiple send channel information, improve the intelligent of terminal, simplify use
The operating process at family.
With reference to the high-level schematic functional block diagram of the second embodiment that Fig. 5, Fig. 5 are channel shared system of the present invention,
Second embodiment of channel shared system of the present invention is proposed based on the first embodiment of the present invention.
In the present embodiment, described first terminal 100 also includes:
Receiver module 40, is used for when receiving the first information that described second terminal 200 sends,
Export described first information, to point out the second terminal 200 described in user to be properly received described channel
Information.
When described second terminal 200 is successfully received the acoustic signals that described first terminal 100 sends,
Described second terminal 200 exports the first information, and shows at its display interface, to point out described
Described in two terminal 200 users, the second terminal 200 has been properly received described acoustic signals.Described second terminal
200 and described first information is sent to described first terminal 100.When described first terminal 100
When receiving described first information, described first terminal 100 exports described first information, and
Its display interface shows, to have pointed out the second terminal 200 described in the user of described first terminal 100
It is properly received described acoustic signals, can be carried out by the user of described channel with described second terminal 200
Communication.
Further, described sending module 30, it is additionally operable to when receiving what described second terminal 200 sent
During the second information, again sending described acoustic signals in Preset Time, wherein, described second carries
Show that information represents that described second terminal 200 is not successfully received described acoustic signals.
When described second terminal 200 is not successfully received described acoustic signals, 200, described second terminal
Give the second information to described first terminal 100.When described first terminal 100 receives described
During two informations, described first terminal 100 according to described second information in Preset Time again
Sending described acoustic signals, wherein, described second information represents that described second terminal 200 is unsuccessful
Receive described acoustic signals.Described Preset Time is for arranging according to concrete condition, as being set to 3s, 5s
Deng.
The present embodiment is by being properly received, when described second terminal 200, the institute that described first terminal 100 sends
When stating acoustic signals, described second terminal 200 exports the first information, and by described first prompting letter
Breath is sent to described first terminal 100, for described first terminal 100 and 200, described second terminal
Described sound wave it has been properly received according to the second terminal 200 described in the user that described first information prompting is corresponding
Signal, improves the intelligent of terminal.
With reference to the high-level schematic functional block diagram of the 3rd embodiment that Fig. 6, Fig. 6 are channel shared system of the present invention,
3rd embodiment of channel shared system of the present invention is proposed based on the first embodiment of the present invention.
In the present embodiment, described first terminal 100 also includes:
Module 50 is set, for storing the mapping relations between frequency of sound wave and described channel information;
Described generation module 20, is additionally operable to based on described mapping relations, according to described channel letter to be shared
Breath produces acoustic signals.
Further, described generation module 20 includes:
Coding unit, for based on the mapping relations between described frequency of sound wave and channel information, to described
Channel information to be shared encodes;
Generation unit, for producing acoustic signals according to the channel information to be shared after described coding.
Described first terminal 100 prestores the mapping relations between frequency of sound wave and described channel information.
It should be noted that acoustic signals is generally determined by characteristic quantity loudness and tone.Wherein, loudness i.e. people master
The size (being commonly called as volume) of perceived sounds in sight, is determined from the distance of sound source by " amplitude " and people, amplitude
The biggest loudness is the biggest, and the distance of people and sound source is the least, and loudness is the biggest;The subjective perceived sounds of tone i.e. people
Just (high pitch, bass), " frequency " determining, frequency more high-pitched tone is the highest.
In the present embodiment, build the coding rule of described channel information based on unifrequency acoustic signals, as
The sinusoidal wave corresponding numeral 1 of regulation 1500Hz, the sinusoidal wave corresponding numeral 2 of 1600Hz, 1700Hz's
Sinusoidal wave corresponding numeral 3 etc., then numeric string 3123 with regard to corresponding 4 band frequencies be followed successively by 1700Hz,
The sine wave of 1500Hz, 1600Hz and 1700Hz.In the specific implementation, for guaranteeing the sound wave of output
Signal can accurately be received and parsed through, it is stipulated that every period of sinusoidal wave persistent period is 100ms, then " 3123 "
The acoustic segment of corresponding 400 milliseconds.
After the coding rule that acoustic signals is set, described frequency of sound wave is set according to described coding rule
And the mapping relations between described channel information.Described first terminal 100 is based on described frequency of sound wave and frequency
Mapping relations between road information, encode described channel information to be shared, and according to described volume
Channel information to be shared after Ma produces acoustic signals.The frequency that the channel information shared if necessary is corresponding
Taoist monastic name is 123, and password is 321, and regulation 1400Hz correspondence numeral 0, and 1500Hz's is sinusoidal wave corresponding
Numeral 1, the sinusoidal wave corresponding numeral 2 of 1600Hz, the sinusoidal wave corresponding numeral 3 etc. of 1700Hz, then base
Mapping relations between described frequency of sound wave and channel information, the channel of the described channel after being encoded
Number it is followed successively by the acoustic segment corresponding to 1500Hz, 1600Hz and 1700Hz for frequency, described frequency after coding
The password in road is the acoustic segment that frequency is followed successively by corresponding to 1700Hz, 1600Hz and 1500Hz.I.e. described
Acoustic signals corresponding to the channel number of channel is the sound corresponding to 1500Hz, 1600Hz and 1700Hz
Section, the acoustic signals corresponding to the password of described channel is corresponding to 1700Hz, 1600Hz and 1500Hz
Acoustic segment.It should be noted that in order to ensure that described second terminal 200 can be successfully from described sound wave
Decoding described channel information in signal, described second terminal 200 should use and described first terminal 100
The decoding rule that coding rule is corresponding.
It should be noted that in this article, term " include ", " comprising " or its other variant any
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's system not only includes those key elements, but also includes other key element being not expressly set out, or also
Including the key element intrinsic for this process, method, article or system.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or system there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical field, be the most in like manner included in the scope of patent protection of the present invention.