CN103825661B - A kind of method that annexation is set up and terminal - Google Patents

A kind of method that annexation is set up and terminal Download PDF

Info

Publication number
CN103825661B
CN103825661B CN201410095457.5A CN201410095457A CN103825661B CN 103825661 B CN103825661 B CN 103825661B CN 201410095457 A CN201410095457 A CN 201410095457A CN 103825661 B CN103825661 B CN 103825661B
Authority
CN
China
Prior art keywords
configuration information
ultrasonic wave
information
receiving terminal
amplitude
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
Application number
CN201410095457.5A
Other languages
Chinese (zh)
Other versions
CN103825661A (en
Inventor
易鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201410095457.5A priority Critical patent/CN103825661B/en
Publication of CN103825661A publication Critical patent/CN103825661A/en
Application granted granted Critical
Publication of CN103825661B publication Critical patent/CN103825661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of method that annexation is set up, comprising: receive the instruction that user establishes a connection; Send the first ultrasonic wave according to described instruction, with receive described first hyperacoustic receiving terminal and set up ultrasonic wave annexation; By described ultrasonic wave annexation, set up the second annexation with described receiving terminal by the second communication modes.Correspondingly, the embodiment of the invention also discloses a kind of terminal.Adopt the present invention, transmitting terminal can by ultrasonic wave annexation automatically and receiving terminal set up the second annexation by the second communication modes, improve the operating experience of user.

Description

A kind of method that annexation is set up and terminal
Technical field
The present invention relates to wireless communication technology field, particularly relate to method and the terminal of the foundation of a kind of annexation.
Background technology
Transmitting terminal needed to establish a connection before receiving terminal sends data (as the tinkle of bells, picture, video or application installation kit etc.), and at present, the conventional communication mode that establishes a connection comprises WIFI or bluetooth etc.Wherein, when using WIFI or bluetooth to establish a connection, need user to carry out searching for and the step such as password coupling, operate very loaded down with trivial details, reduce the experience of user.
Summary of the invention
Embodiments provide method and the terminal of the foundation of a kind of annexation, the operating experience of user can be improved.
Embodiments provide a kind of method that annexation is set up, comprising:
Receive the instruction that user establishes a connection;
Send the first ultrasonic wave according to described instruction, with receive described first hyperacoustic receiving terminal and set up ultrasonic wave annexation;
By described ultrasonic wave annexation, set up the second annexation with described receiving terminal by the second communication modes.
Wherein, describedly send the first ultrasonic wave according to described instruction, with receive the step that described first hyperacoustic receiving terminal sets up ultrasonic wave annexation and comprise:
Send described first ultrasonic wave according to described instruction, receive described receiving terminal second ultrasonic wave according to described first ultrasound feedback after receiving described first ultrasonic wave.
Wherein, described first ultrasonic wave carries the first configuration information of the second communication modes, described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information, then described by described ultrasonic wave annexation, set up the second annexation with described receiving terminal by the second communication modes and comprise:
Obtain the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information;
The second annexation is set up according to described second configuration information and described receiving terminal.
Wherein, the step of the second configuration information that the described receiving terminal carried in described second ultrasonic wave of described acquisition feeds back for described first configuration information comprises:
Detect described hyperacoustic amplitude variations information, thus obtain corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, and described data message comprises binary data information, and the corresponding data message of described acquisition comprises:
Described hyperacoustic amplitude and default amplitude threshold are contrasted, if described hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves;
Processing said data information, thus obtain described second configuration information.
Wherein, the second configuration information that the described receiving terminal carried in described second ultrasonic wave of described acquisition feeds back for described first configuration information comprises:
Detect described second hyperacoustic phase place change information, thus obtain corresponding data message; And/or,
Detect described second hyperacoustic frequency change information, thus obtain corresponding data message;
Processing said data information, thus obtain described second configuration information.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, comprising:
Command reception module, for receiving the instruction that user establishes a connection;
Ultrasonic wave link block, for sending the first ultrasonic wave according to described instruction, with receive described first hyperacoustic receiving terminal and set up ultrasonic wave annexation;
Second link block, for the ultrasonic wave annexation set up by described ultrasonic wave link block, sets up the second annexation with described receiving terminal by the second communication modes.
Wherein, described ultrasonic wave link block comprises:
Ultrasonic wave sends submodule, for sending described first ultrasonic wave according to described instruction;
Ultrasonic wave receives submodule, for receiving second ultrasonic wave of described receiving terminal according to described first ultrasound feedback.
Wherein, described first ultrasonic wave carries the first configuration information of the second communication modes, and described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information, then described second link block comprises:
Configuration information obtains submodule, for obtaining the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information;
Second connexon module, sets up the second annexation for described second configuration information and described receiving terminal obtaining submodule acquisition according to described configuration information.
Wherein, described configuration information acquisition submodule comprises:
Amplitude detection units, for detecting described hyperacoustic amplitude variations information, thus obtains corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, and described data message comprises binary data information, and the corresponding data message of described acquisition comprises:
Described hyperacoustic amplitude and default amplitude threshold are contrasted, if described hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves;
First configuration information acquiring unit, for the treatment of described data message, thus obtains described second configuration information.
Wherein, described configuration information acquisition submodule comprises:
Phase detection unit, for detecting described second hyperacoustic phase place change information, thus obtains corresponding data message; And/or,
Frequency detecting unit, for detecting described second hyperacoustic frequency change information, thus obtains corresponding data message;
Second configuration information acquiring unit, for the treatment of the described data message that described phase detection unit and/or frequency detecting unit obtain, thus obtains described second configuration information.
Implement the embodiment of the present invention, transmitting terminal can by ultrasonic wave annexation automatically and receiving terminal set up the second annexation by the second communication modes, improve the operating experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of annexation foundation that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram of the another kind of annexation foundation that the embodiment of the present invention provides;
Fig. 3 is the method flow diagram of the another kind of annexation foundation that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of ultrasonic wave link block that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of second link block that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of configuration information acquisition submodule that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the method flow diagram of a kind of annexation foundation that the embodiment of the present invention provides, and the method that in the present embodiment, annexation is set up can be implemented on the communication terminals such as such as mobile phone, notebook computer and PAD.The flow process that annexation as shown in Figure 1 in the present embodiment is set up can comprise:
S110, receives the instruction that user establishes a connection.
Concrete, user can grow by the target data on transmitting terminal, thus the instruction making this transmitting terminal receive user to establish a connection, wherein, described target data comprises the tinkle of bells, picture, video or application installation kit etc.; Transmitting terminal can also by the icon established a connection preset or button, and receive the instruction that establishes a connection of user, such as, user clicks the default icon established a connection, thus the instruction making transmitting terminal receive user to establish a connection; Transmitting terminal can also obtain the time that user sets up for annexation, and when transmitting terminal detects that present system time is identical with the time that this obtained annexation is set up, transmitting terminal can confirm as the instruction receiving user and establish a connection.When transmitting terminal receives the instruction that user establishes a connection, then send the first ultrasonic wave according to described instruction.
S120, sends the first ultrasonic wave according to described instruction, with receive described first hyperacoustic receiving terminal and set up ultrasonic wave annexation.
As the optional execution mode of one, transmitting terminal can send described first ultrasonic wave according to described instruction, receive described receiving terminal second ultrasonic wave according to described first ultrasound feedback after receiving described first ultrasonic wave, transmitting terminal sets up ultrasonic wave annexation according to received described second ultrasonic wave and described receiving terminal.Wherein, receiving terminal receives the first ultrasonic wave, and specifically comprise the following steps according to the first ultrasound feedback second ultrasonic wave: whether first receiving terminal scans exists the first ultrasonic wave, if, then obtain first hyperacoustic transmission parameter, send parameter and comprise transmission frequency or send amplitude or send phase place; Obtain after sending parameter, receiving terminal regulates receiving parameter according to transmission parameter automatic or manual, to mate completely or to send parameter close to coupling; After having mated, receiving terminal receives the first ultrasonic wave, and according to the second ultrasonic wave of the first ultrasound feedback match parameters to transmitting terminal, finally, transmitting terminal and receiving terminal set up ultrasonic wave annexation.
S130, by described ultrasonic wave annexation, sets up the second annexation with described receiving terminal by the second communication modes.
As the optional execution mode of one, described first ultrasonic wave carries the first configuration information of the second communication modes, described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information, transmitting terminal can obtain the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information, sets up the second annexation according to described second configuration information and described receiving terminal.In specific implementation, when transmitting terminal receives the instruction that user establishes a connection, then send the first ultrasonic wave according to described instruction, described first ultrasonic wave carries the first configuration information of the second communication modes, transmitting terminal receives receiving terminal after receiving described first ultrasonic wave according to the second ultrasonic wave of described first ultrasound feedback, described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information, the second configuration information that the described receiving terminal carried in described second ultrasonic wave of transmitting terminal acquisition feeds back for described first configuration information, and the annexation of described second communication modes is set up according to described second configuration information and described receiving terminal.
Wherein, transmitting terminal can send the first ultrasonic wave of default carrier frequency, when first hyperacoustic overlay area that transmitting terminal as described in there is receiving terminal (as mobile phone, notebook computer or PAD etc.) and entering sends, receiving terminal can regulate or the receive frequency of ultrasonic probe, ultrasonic receiver of manual adjustments own terminal automatically, when the receive frequency of receiving terminal is close or identical with described default carrier frequency, receiving terminal then receives described first ultrasonic wave, thus obtains the first configuration information of the second communication modes entrained by described first ultrasonic wave.After receiving terminal receives the first ultrasonic wave, feedback carries the second ultrasonic wave of the second configuration information of the second communication modes to transmitting terminal, and transmitting terminal sets up ultrasonic wave annexation according to received described second ultrasonic wave and described receiving terminal.
Optionally, transmitting terminal can pass through FSK(Frequency-shiftkeying, i.e. frequency shift keying), ASK(Amplitude-ShiftKeying, i.e. amplitude shift keying) or PSK(phase-shiftkeying, i.e. phase shift keying) modulate the first ultrasonic wave, thus make described first ultrasonic wave carry the first configuration information of the second communication modes, receiving terminal also can modulate the second ultrasonic wave by FSK, ASK or PSK, thus makes described second ultrasonic wave carry the second configuration information of the second communication modes.
Wherein, described second communication modes comprises the communication such as bluetooth or WIFI, first configuration information is the relevant configuration information of the second communication modes of transmitting terminal, second configuration information is the relevant configuration information of the second communication modes of receiving terminal, such as, second communication modes is bluetooth, and the first configuration information is the bluetooth parameters configuration of transmitting terminal, and the second configuration information is the bluetooth configuration parameter of receiving terminal.
As the optional execution mode of one, the step of the second configuration information that the described receiving terminal carried in described second ultrasonic wave of transmitting terminal acquisition feeds back for described first configuration information specifically can comprise:
Detect described hyperacoustic amplitude variations information, thus obtain corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, described data message comprises binary data information, processes described binary data information, thus obtains described second configuration information.In specific implementation, described hyperacoustic amplitude and default amplitude threshold can contrast by transmitting terminal, if described hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves; Transmitting terminal is by detecting described second hyperacoustic amplitude variations information thus obtaining binary data information, the transforming relationship of the described binary data information acquired according to binary system and the second configuration information is changed, thus obtains described second configuration information.
As the optional execution mode of one, the step of the second configuration information that the described receiving terminal carried in described second ultrasonic wave of transmitting terminal acquisition feeds back for described first configuration information specifically can comprise:
Transmitting terminal can detect described second hyperacoustic phase place change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information and phase place change information simultaneously, the data message that acquisition frequency change information and phase place change information replace, and processes described alternate data, thus obtains described second configuration information.Meanwhile, data message also comprises octal data information or hexadecimal data information, is the second configuration information according to transforming relationship by octal data information or hexadecimal data convert information after acquisition.
It should be noted that, the embodiment of the present invention is by modulation first ultrasonic wave and the second ultrasonic wave, the first ultrasonic wave is made to carry the first configuration information of the second communication modes, second ultrasonic wave carries the second configuration information of the second communication modes, in other embodiment, first ultrasonic wave and the second ultrasonic wave can comprise carrier signal and modulation intelligence, when the receive frequency of receiving terminal is identical with the carrier frequency of transmitting terminal carrier signal, receiving terminal can receive the modulation signal in described first ultrasonic wave, receiving terminal obtains the first configuration information of the second communication modes according to described modulation signal, wherein, modulation signal comprises FM signal, amplitude-modulated signal or phase-modulated signal, receiving terminal is according to the difference of various modulation signal, obtain the first configuration information in the corresponding way.
Further alternative, when described transmitting terminal and described receiving terminal set up the second annexation by the second communication modes, transmitting terminal can send target data by described second communication modes to receiving terminal.Wherein, described target data can obtain before transmitting terminal and receiving terminal set up ultrasonic wave annexation, and namely user passes through long according to target data thus makes transmitting terminal and receiving terminal set up ultrasonic wave annexation; Described target data also can be the data to be sent that transmitting terminal presets storage, such as, market is set in transmission of a certain set time discount information, when transmitting terminal detects that present system time arrives the described set time, then the discount information prestored is sent as target data by the second communication modes; Described target data also can be obtain according to the selection instruction of user after transmitting terminal and receiving terminal set up the second annexation.
As the optional execution mode of one, target data can be sent to multiple receiving terminal by the second communication modes by transmitting terminal.Such as, described second communication modes is bluetooth, when transmitting terminal and receiving terminal set up ultrasonic wave annexation, described transmitting terminal record and this receiving terminal set up the temporal information of ultrasonic wave annexation, when described transmitting terminal and receiving terminal set up the second annexation, target data is sent to corresponding receiving terminal successively according to the temporal information of record, and wherein, transmitting terminal also can send described target data according to the temporal information setting up the second annexation with receiving terminal successively.Again such as, described second communication modes is WIFI, and when transmitting terminal and multiple receiving terminal are in same local area network (LAN), transmitting terminal can be shared by WIFI and described target data is pushed to the receiving terminal that this is in a same local area network (LAN).
Refer to Fig. 2, Fig. 2 is the flow chart of the method for the another kind of annexation foundation that the embodiment of the present invention provides, the method that annexation in the present embodiment is set up can be implemented on the communication terminals such as such as mobile phone, notebook computer and PAD, and the method that the annexation of the embodiment of the present invention is set up is mainly used in transmitting terminal and the man-to-man scene of receiving terminal.The flow process that data as shown in Figure 2 in the present embodiment send can comprise:
S210, transmitting terminal receives the instruction that user establishes a connection.
Concrete, user can grow by the target data on transmitting terminal, thus the instruction making this transmitting terminal receive user to establish a connection, wherein, described target data comprises the tinkle of bells, picture, video or application installation kit etc.; Transmitting terminal can also by the icon established a connection preset or button, and receive the instruction that establishes a connection of user, such as, user clicks the default icon established a connection, thus the instruction making transmitting terminal receive user to establish a connection; Transmitting terminal can also obtain the time that user sets up for annexation, and when transmitting terminal detects that present system time is identical with the time that this obtained annexation is set up, transmitting terminal can confirm as the instruction receiving user and establish a connection.When transmitting terminal receives the instruction that user establishes a connection, then send out modulation first ultrasonic wave according to described instruction, make described first ultrasonic wave carry the first configuration information of the second communication modes.
S220, transmitting terminal, according to described vector modulation first ultrasonic wave, makes described first ultrasonic wave carry the first configuration information of the second communication modes.
Concrete, transmitting terminal can modulate the first ultrasonic wave by FSK, ASK or PSK, thus makes described first ultrasonic wave carry the first configuration information of the second communication modes.Wherein, described second communication modes comprises the communication such as bluetooth or WIFI, first configuration information is the relevant configuration information of the second communication modes of transmitting terminal, such as, second communication modes is bluetooth, first configuration information is the bluetooth parameters configuration of transmitting terminal, as Bluetooth address and bluetooth OBEX transformation parameter etc.
S230, the first ultrasonic wave is sent to receiving terminal by ultrasonic transmission device by transmitting terminal.
Concrete, transmitting terminal can send first and preset first ultrasonic wave carrying the first configuration information of the second communication modes of carrier frequency to receiving terminal, and wherein, described first presets carrier frequency can be pre-set by user and obtain; Described transmitting terminal also can obtain a frequency at random and preset carrier frequency as described first in the frequency range of ultrasonic signal.
S240, receiving terminal receives described first ultrasonic wave, and obtains the first configuration information entrained by described first ultrasonic wave.
Concrete, when as described in receiving terminal (as mobile phone, notebook computer or PAD etc.) detects during the first ultrasonic wave, can automatically regulate or the receive frequency of ultrasonic probe, ultrasonic receiver of manual adjustments own terminal, when the receive frequency of receiving terminal is close or identical with the described first default carrier frequency, receiving terminal then receives described first ultrasonic wave, and can obtain the first configuration information of the second communication modes entrained by described first ultrasonic wave according to first hyperacoustic amplitude variations information or phase place change information or frequency change information.
S250, receiving terminal modulates the second ultrasonic wave, makes described second ultrasonic wave carry the second configuration information of the second communication modes.
Concrete, receiving terminal can modulate the second ultrasonic wave by FSK, ASK or PSK, thus makes described second ultrasonic wave carry the second configuration information of the second communication modes.Wherein, described second configuration information is the relevant configuration information of the second communication modes of receiving terminal, and such as, the second communication modes is bluetooth, and the second configuration information is the bluetooth parameters configuration of receiving terminal, as Bluetooth address and bluetooth OBEX transformation parameter etc.
S260, receiving terminal is to described second ultrasonic wave of transmitting terminal feedback.
Concrete, receiving terminal can send by the ultrasonic transmission device of own terminal the second ultrasonic wave carrying the second configuration information of the second communication modes that second presets carrier frequency, wherein, the described second default carrier frequency can be pre-set by user and obtain; Described transmitting terminal also can obtain a frequency at random and preset carrier frequency as described second in the frequency range of ultrasonic signal.It should be noted that, whether described first presets carrier frequency equals the described second default carrier frequency, and can determine according to actual conditions, the present invention does not limit.
S270, transmitting terminal receives described second ultrasonic wave, and obtains the second configuration information entrained by described second ultrasonic wave.
Concrete, when transmitting terminal detects described second ultrasonic wave, can automatically regulate or the receive frequency of ultrasonic probe, ultrasonic receiver of manual adjustments own terminal, when the receive frequency of transmitting terminal is close or identical with the described second default carrier frequency, transmitting terminal then receives described second ultrasonic wave, and obtains the second configuration information entrained by described second ultrasonic wave.
Optionally, transmitting terminal can detect described hyperacoustic amplitude variations information, thus obtain corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, described data message comprises binary data information, processes described binary data information, thus obtains described second configuration information.In specific implementation, described hyperacoustic amplitude and default amplitude threshold can contrast by transmitting terminal, if described hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves; Transmitting terminal is by detecting described second hyperacoustic amplitude variations information thus obtaining binary data information, the transforming relationship of the described binary data information acquired according to binary system and the second configuration information is changed, thus obtains described second configuration information.
Optionally, transmitting terminal can detect described second hyperacoustic phase place change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information and phase place change information simultaneously, the data message that acquisition frequency change information and phase place change information replace, and processes described alternate data, thus obtains described second configuration information.Meanwhile, data message also comprises octal data information or hexadecimal data information, is the second configuration information according to transforming relationship by octal data information or hexadecimal data convert information after acquisition.
S280, transmitting terminal sets up the second annexation according to described second configuration information and receiving terminal.
S290, target data is sent to receiving terminal by described second annexation by transmitting terminal.
Concrete, when described transmitting terminal and described receiving terminal set up the second annexation by the second communication modes, transmitting terminal can send target data by described second communication modes to receiving terminal.Wherein, described target data can obtain before transmitting terminal and receiving terminal set up ultrasonic wave annexation, and namely user passes through long according to target data thus makes transmitting terminal and receiving terminal set up ultrasonic wave annexation; Described target data also can be the data to be sent that transmitting terminal presets storage, such as, market is set in transmission of a certain set time discount information, when transmitting terminal detects that present system time arrives the described set time, then the discount information prestored is sent as target data by the second communication modes; Described target data also can be obtain according to the selection instruction of user after transmitting terminal and receiving terminal set up the second annexation.
Refer to Fig. 3, Fig. 3 is the flow chart of the method for the another kind of annexation foundation that the embodiment of the present invention provides, the method that annexation in the present embodiment is set up can be implemented on the communication terminals such as such as mobile phone, notebook computer and PAD, the method of the annexation foundation of the embodiment of the present invention is mainly used in the scene of transmitting terminal and receiving terminal one-to-many, and such as market sends the scene of various discount information.The flow process that annexation as shown in Figure 3 in the present embodiment is set up can comprise:
S310, transmitting terminal receives the instruction that user establishes a connection.
Concrete, user can grow by the target data on transmitting terminal, thus the instruction making this transmitting terminal receive user to establish a connection, wherein, described target data comprises the tinkle of bells, picture, video or application installation kit etc.; Transmitting terminal can also by the icon established a connection preset or button, and receive the instruction that establishes a connection of user, such as, user clicks the default icon established a connection, thus the instruction making transmitting terminal receive user to establish a connection; Transmitting terminal can also obtain the time that user sets up for annexation, and when transmitting terminal detects that present system time is identical with the time that this obtained annexation is set up, transmitting terminal can confirm as the instruction receiving user and establish a connection.When transmitting terminal receives the instruction that user establishes a connection, then according to described vector modulation first ultrasonic wave.
S320, transmitting terminal, according to described vector modulation first ultrasonic wave, makes described first ultrasonic wave carry the first configuration information of the second communication modes.
Concrete, when transmitting terminal receives the instruction that user establishes a connection, transmitting terminal can modulate the first ultrasonic wave by FSK, ASK or PSK, thus makes described first ultrasonic wave carry the first configuration information of the second communication modes.Wherein, described second communication modes comprises the communication such as bluetooth or WIFI, first configuration information is the relevant configuration information of the second communication modes of transmitting terminal, such as, second communication modes is bluetooth, first configuration information is the bluetooth parameters configuration of transmitting terminal, as Bluetooth address and bluetooth OBEX transformation parameter etc.
S330, transmitting terminal sends the first ultrasonic wave carrying the first configuration information presetting carrier frequency.
Concrete, transmitting terminal can send by the ultrasonic transmission device of own terminal the first ultrasonic wave carrying the first configuration information of the second communication modes presetting carrier frequency, and wherein, described default carrier frequency can be pre-set by user and obtain; Described transmitting terminal also can obtain a frequency at random as described default carrier frequency in the frequency range of ultrasonic signal.
S340, transmitting terminal receives second ultrasonic wave of multiple receiving terminal for described first ultrasound feedback, sets up ultrasonic wave annexation successively with described multiple receiving terminal.
Concrete, when there is multiple receiving terminal (as mobile phone, notebook computer or PAD etc.) enter described transmitting terminal send first hyperacoustic signal coverage areas time, receiving terminal can regulate or the receive frequency of manual adjustments ultrasonic probe, ultrasonic receiver automatically, the receive frequency of described receiving terminal is mated with the default carrier frequency of described transmitting terminal, receiving terminal then receives described first ultrasonic wave, thus obtain the first configuration information of the second communication modes entrained by described first ultrasonic wave, and the second configuration information that feedback carries the second communication modes sends out transmitting terminal, transmitting terminal sets up ultrasonic wave annexation with the hyperacoustic receiving terminal of feedback second successively.
S350, in transmitting terminal record and described multiple receiving terminal, each receiving terminal sets up the temporal information of described ultrasonic wave annexation.
Concrete, transmitting terminal can record the temporal information setting up ultrasonic wave annexation with each receiving terminal, such as, set up the present system time of ultrasonic wave annexation.It should be noted that, when described second communication modes is WIFI, then, when described transmitting terminal sets up ultrasonic wave annexation with multiple receiving terminal respectively, the temporal information setting up ultrasonic wave annexation with receiving terminal can be recorded.
S360, transmitting terminal obtains the second configuration information of the second communication modes entrained by described second ultrasonic wave.
As the optional execution mode of one, transmitting terminal can detect described hyperacoustic amplitude variations information, thus obtain corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, described data message comprises binary data information, processes described binary data information, thus obtains described second configuration information.
In specific implementation, described hyperacoustic amplitude and default amplitude threshold can contrast by transmitting terminal, if described hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves; Transmitting terminal is by detecting described second hyperacoustic amplitude variations information thus obtaining binary data information, the transforming relationship of the described binary data information acquired according to binary system and the second configuration information is changed, thus obtains described second configuration information.
As the optional execution mode of one, transmitting terminal can detect described second hyperacoustic phase place change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information, thus obtains corresponding data message, processing said data information, thus obtains described second configuration information; Or,
Transmitting terminal can detect described second hyperacoustic frequency change information and phase place change information simultaneously, the data message that acquisition frequency change information and phase place change information replace, and processes described alternate data, thus obtains described second configuration information.
S370, transmitting terminal according to described in the second configuration information of acquiring set up the second annexation with corresponding receiving terminal.
S380, target data is sent to corresponding receiving terminal by described second annexation according to described temporal information by transmitting terminal successively.
Concrete, when transmitting terminal and receiving terminal set up the second annexation by the second communication modes, target data can be sent to corresponding receiving terminal according to described temporal information by the second annexation by transmitting terminal successively, wherein, described target data can obtain before transmitting terminal and receiving terminal set up ultrasonic wave annexation, and namely user passes through long according to target data thus makes transmitting terminal and receiving terminal set up ultrasonic wave annexation; Described target data also can be the data to be sent that transmitting terminal presets storage, such as, market is set in transmission of a certain set time discount information, when transmitting terminal detects that present system time arrives the described set time, then the discount information prestored is sent as target data by the second communication modes; Described target data also can be obtain according to the selection instruction of user after transmitting terminal and receiving terminal set up the second annexation.It should be noted that, when the second communication modes is WIFI, transmitting terminal and described multiple receiving terminal are in local area network (LAN), then the mode that can be shared by WIFI of transmitting terminal, is pushed to described multiple receiving terminal by described target data simultaneously.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides, and the terminal in the present embodiment can comprise the communication terminals such as such as mobile phone, notebook computer and PAD.Terminal as shown in Figure 4 in the present embodiment at least can comprise command reception module 4100, ultrasonic wave link block 4200 and the second link block 4300, wherein:
Command reception module 4100, for receiving the instruction that user establishes a connection.
In specific implementation, user can grow by the target data on transmitting terminal, thus the instruction making command reception module 4100 receive user to establish a connection, wherein, described target data comprises the tinkle of bells, picture, video or application installation kit etc.; Command reception module 4100 can also by the default icon established a connection or button, receive the instruction that user establishes a connection, such as, user clicks the default icon established a connection, thus the instruction making command reception module 4100 receive user to establish a connection; Command reception module 4100 can also obtain the time that user sets up for annexation, when transmitting terminal detects that present system time is identical with the time that this obtained annexation is set up, command reception module 4100 can confirm as the instruction receiving user and establish a connection.
Ultrasonic wave link block 4200, for sending the first ultrasonic wave according to described instruction, with receive described first hyperacoustic receiving terminal and set up ultrasonic wave annexation.
As the optional execution mode of one, described ultrasonic wave link block 4200 may further include ultrasonic wave as shown in Figure 5 and sends submodule 4210 and ultrasonic wave reception submodule 4220, wherein:
Ultrasonic wave sends submodule 4210, for sending described first ultrasonic wave according to described instruction.In specific implementation, when command reception module 4100 receives the instruction that user establishes a connection, ultrasonic wave sends submodule 4210 and sends the first ultrasonic wave presetting carrier frequency.
Ultrasonic wave receives submodule 4220, for receiving second ultrasonic wave of described receiving terminal according to described first ultrasound feedback.
Second link block 4300, for the ultrasonic wave annexation set up by described ultrasonic wave link block 4200, sets up the second annexation with described receiving terminal by the second communication modes.
As the optional execution mode of one, described first ultrasonic wave carries the first configuration information of the second communication modes, described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information, then described second link block 4300 can comprise configuration information acquisition submodule 4310 and the second connexon module 4320 as shown in Figure 6 further, wherein:
Configuration information obtains submodule 4310, for obtaining the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information.In specific implementation, the first ultrasonic wave that described ultrasonic wave transmission submodule 4210 sends carries the first configuration information of the second communication modes, second ultrasonic wave of ultrasonic wave reception submodule 4220 receiving terminal carries the second configuration information of the second communication modes of receiving terminal, and configuration information obtains submodule 4310 and obtains described second configuration information.Wherein, described second communication modes comprises bluetooth or WIFI.
Second connexon module 4320, sets up the second annexation for described second configuration information and described receiving terminal obtaining submodule 4310 acquisition according to described configuration information.
Optionally, described configuration information obtains submodule 4310 can comprise amplitude detection units 4311 and the first configuration information acquiring unit 4312 as shown in Figure 7 further, wherein:
Amplitude detection units 4311, for detecting described hyperacoustic amplitude variations information, thus obtains corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, and described data message comprises binary data information, and the corresponding data message of described acquisition can comprise:
Described hyperacoustic amplitude and default amplitude threshold are contrasted, if described hyperacoustic amplitude is greater than described default amplitude threshold, amplitude detection units 4311 is judged as " 1 " in binary data information and preserves, if described amplitude is less than described default amplitude threshold, amplitude detection units 4311 is judged as " 0 " in binary data information and preserves.
First configuration information acquiring unit 4312, for the treatment of described data message, thus obtains described second configuration information.In specific implementation, the first configuration information acquiring unit 4312 according to the transformational relation processing said data information of data message and the second configuration information, thus can obtain described second configuration information.
Optionally, described configuration information obtains submodule 4310 can comprise phase detection unit 4313 and/or frequency detecting unit 4314 and the second configuration information acquiring unit 4315 as shown in Figure 7 further, wherein:
Phase detection unit 4313, for detecting described second hyperacoustic phase place change information, thus obtains corresponding data message.
Frequency detecting unit 4314, for detecting described second hyperacoustic frequency change information, thus obtains corresponding data message.
Second configuration information acquiring unit 4315, for the treatment of the described data message that described phase detection unit 4313 and/or frequency detecting unit 4314 obtain, thus obtains described second configuration information.
Implement the embodiment of the present invention, transmitting terminal can by ultrasonic wave annexation automatically and receiving terminal set up the second annexation by the second communication modes, improve the operating experience of user; Further, by the second annexation transmission data, extend transmission range, improve transmission rate.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device, unit or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (6)

1. a method for annexation foundation, it is characterized in that, described method comprises:
Receive the instruction that user establishes a connection;
The first ultrasonic wave is sent according to described instruction, receive receiving terminal after receiving described first ultrasonic wave according to the second ultrasonic wave of described first ultrasound feedback, described first ultrasonic wave carries the first configuration information of the second communication modes, and described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information;
Obtain the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information, set up annexation corresponding to described second communication modes according to described second configuration information and described receiving terminal.
2. the method for claim 1, is characterized in that, the step of the second configuration information that the described receiving terminal carried in described second ultrasonic wave of described acquisition feeds back for described first configuration information comprises:
Detect described second hyperacoustic amplitude variations information, thus obtain corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, and described data message comprises binary data information, and the corresponding data message of described acquisition comprises:
Described second hyperacoustic amplitude and default amplitude threshold are contrasted, if described second hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves;
Processing said data information, thus obtain described second configuration information.
3. the method for claim 1, is characterized in that, the step of the second configuration information that the described receiving terminal carried in described second ultrasonic wave of described acquisition feeds back for described first configuration information comprises:
Detect described second hyperacoustic phase place change information, thus obtain corresponding data message; And/or,
Detect described second hyperacoustic frequency change information, thus obtain corresponding data message;
Processing said data information, thus obtain described second configuration information.
4. a terminal, is characterized in that, comprising:
Command reception module, for receiving the instruction that user establishes a connection;
Ultrasonic wave link block, for sending the first ultrasonic wave according to described instruction, receive receiving terminal after receiving described first ultrasonic wave according to the second ultrasonic wave of described first ultrasound feedback, described first ultrasonic wave carries the first configuration information of the second communication modes, and described second ultrasonic wave carries the second configuration information that described receiving terminal feeds back for described first configuration information;
Configuration information acquisition module, for obtaining the second configuration information that the described receiving terminal that carries in described second ultrasonic wave feeds back for described first configuration information;
Second link block, for setting up annexation corresponding to described second communication modes according to described second configuration information and described receiving terminal.
5. terminal as claimed in claim 4, it is characterized in that, described configuration information acquisition module comprises:
Amplitude detection units, for detecting described second hyperacoustic amplitude variations information, thus obtains corresponding data message, wherein, described amplitude variations information comprises the change information of amplitude, and described data message comprises binary data information, and the corresponding data message of described acquisition comprises:
Described second hyperacoustic amplitude and default amplitude threshold are contrasted, if described second hyperacoustic amplitude is greater than described default amplitude threshold, then be judged as " 1 " in binary data information and preserve, if described amplitude is less than described default amplitude threshold, is then judged as " 0 " in binary data information and preserves;
First configuration information acquiring unit, for the treatment of described data message, thus obtains described second configuration information.
6. terminal as claimed in claim 4, it is characterized in that, described configuration information acquisition module comprises:
Phase detection unit, for detecting described second hyperacoustic phase place change information, thus obtains corresponding data message; And/or,
Frequency detecting unit, for detecting described second hyperacoustic frequency change information, thus obtains corresponding data message;
Second configuration information acquiring unit, for the treatment of the described data message that described phase detection unit and/or frequency detecting unit obtain, thus obtains described second configuration information.
CN201410095457.5A 2014-03-13 2014-03-13 A kind of method that annexation is set up and terminal Active CN103825661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410095457.5A CN103825661B (en) 2014-03-13 2014-03-13 A kind of method that annexation is set up and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410095457.5A CN103825661B (en) 2014-03-13 2014-03-13 A kind of method that annexation is set up and terminal

Publications (2)

Publication Number Publication Date
CN103825661A CN103825661A (en) 2014-05-28
CN103825661B true CN103825661B (en) 2016-03-02

Family

ID=50760522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410095457.5A Active CN103825661B (en) 2014-03-13 2014-03-13 A kind of method that annexation is set up and terminal

Country Status (1)

Country Link
CN (1) CN103825661B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337671B (en) * 2014-08-15 2019-06-07 国民技术股份有限公司 The means of communication and system of terminal are sent and received based on sound wave
CN105337672B (en) * 2014-08-15 2020-07-10 国民技术股份有限公司 Sound wave transmitting method, sound wave receiving method, sound wave transmitting device, sound wave receiving device and sound wave receiving system
WO2016023516A1 (en) * 2014-08-15 2016-02-18 国民技术股份有限公司 Sound wave sending method, receiving method, sending device and receiving device and system
CN105472768B (en) 2014-09-10 2019-10-01 华为技术有限公司 Wirelessly communicate establishment of connection method and terminal device
CN104702343B (en) * 2015-02-04 2017-05-03 中国科学院信息工程研究所 Transmission method and system of sound channel information
CN105577239B (en) * 2015-04-24 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of data transmission method and device
CN105356948B (en) * 2015-09-30 2018-06-19 小米科技有限责任公司 For the method and apparatus of data transmission
CN105846910A (en) * 2016-03-18 2016-08-10 深圳市轱辘软件开发有限公司 Method and system for channel sharing
DE102019201152B3 (en) * 2019-01-30 2020-06-18 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Bi-directional configuration of sensor nodes with a mobile phone without expansion
US10922961B2 (en) * 2019-03-13 2021-02-16 Fresenius Medical Care Holdings, Inc. Remote communication with multiple dialysis machines
CN110599940A (en) * 2019-09-12 2019-12-20 广州视源电子科技股份有限公司 Screen splicing method and spliced screen

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101868954A (en) * 2007-11-21 2010-10-20 Nxp股份有限公司 Device and method for near field communications using audio transducers
CN102355308A (en) * 2011-06-24 2012-02-15 软库创投(北京)科技有限公司 Information transmission method, receiving method and terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101868954A (en) * 2007-11-21 2010-10-20 Nxp股份有限公司 Device and method for near field communications using audio transducers
CN102355308A (en) * 2011-06-24 2012-02-15 软库创投(北京)科技有限公司 Information transmission method, receiving method and terminal equipment

Also Published As

Publication number Publication date
CN103825661A (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN103825661B (en) A kind of method that annexation is set up and terminal
CN109347581B (en) Bluetooth headset connection method and device, electronic equipment and storage medium
US10993276B2 (en) Radio communication device, radio communication system, radio communication method, and program
US10206085B2 (en) Mobile terminal apparatus having nearfield wireless communication reader, device having nearfield wireless communication tag and method thereof to connect to AP
CN109088781B (en) Configuration method and device of wireless radio frequency parameters and intelligent household appliance
CN110267358B (en) System for establishing Bluetooth connection
CN105516896A (en) Bluetooth interconnection method and system for wearable device and mobile terminal
CN110636483A (en) Network distribution method and system
CN105704725A (en) Method and device for preventing mutual interference between WIFI communication and Bluetooth communication
KR102552862B1 (en) Method and apparatus for communicating in a wireless communication system
CN114390501B (en) Data transmission method and electronic equipment
US20210175929A1 (en) Data transmission between a user terminal and another apparatus
CN112654074B (en) Wi-Fi P2P connection method, electronic equipment and computer-readable storage medium
CN105323827A (en) Method for controlling network connection and vehicle-mounted terminal
KR20190032263A (en) Information transmitting and receiving method, apparatus and system
US11044127B2 (en) Data transmitter modifying a standard-based radio signal
CN109156027A (en) scheduling request transmission method, device and storage medium
CN105356948A (en) Method and device used for data transmission
CN103856270A (en) Data receiving method and terminal
WO2024066479A1 (en) Device deployment method and apparatus, storage medium, and electronic device
CN109889269B (en) Radio frequency signal generation system and method
CN105577239B (en) A kind of data transmission method and device
US8359064B2 (en) Wireless apparatus
CN104023312B (en) The method of access network, apparatus and system
CN114531670A (en) Equipment network distribution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 519080 Xiangzhou Zhuhai science and Technology Innovation Coast Meizu Technology Building

Applicant after: Meizu Technology (China) Co.,Ltd.

Address before: 519080 Xiangzhou Zhuhai science and Technology Innovation Coast Meizu Technology Building

Applicant before: MEIZU TECHNOLOGY Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ZHUHAI MEIZU TECHNOLOGY CO., LTD. TO: MEIZU TECHNOLOGY (CHINA) CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Patentee before: Meizu Technology (China) Co.,Ltd.