CN104113380B - The means of communication and communication system of terminal are sent and received based on audio - Google Patents

The means of communication and communication system of terminal are sent and received based on audio Download PDF

Info

Publication number
CN104113380B
CN104113380B CN201310134531.5A CN201310134531A CN104113380B CN 104113380 B CN104113380 B CN 104113380B CN 201310134531 A CN201310134531 A CN 201310134531A CN 104113380 B CN104113380 B CN 104113380B
Authority
CN
China
Prior art keywords
device end
sound wave
communication
ranging
audio
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
CN201310134531.5A
Other languages
Chinese (zh)
Other versions
CN104113380A (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.)
Nationz Technologies Inc
Original Assignee
Nationz Technologies Inc
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 Nationz Technologies Inc filed Critical Nationz Technologies Inc
Priority to CN201310134531.5A priority Critical patent/CN104113380B/en
Publication of CN104113380A publication Critical patent/CN104113380A/en
Application granted granted Critical
Publication of CN104113380B publication Critical patent/CN104113380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of means of communication and communication system that terminal is sent and received based on audio.The means of communication, which mainly randomly generate ranging data by the first device end and are loaded into sound wave, is emitted to the second device end, further according to sound wave send the moment and the time of reception determines the time interval of ranging data transmission, its half is multiplied by velocity of sound, the distance between first, second device end is determined, then according to the communication between distance first, second device end of corresponding control.The present invention measures distance between the two using the echo signal between the first device end and the second device end equipment, and the validity of range measurement between the two is confirmed by the uniformity for the random ranging data randomly generated for judging to carry in echo signal, so as to accurately and efficiently realize the measurement of the distance between device end and Communication Control.

Description

The means of communication and communication system of terminal are sent and received based on audio
Technical field
The present invention relates to the sound ranging in communication field and communication technique field, and audio is based in particular to one kind Send and receive the means of communication and communication system of terminal.
Background technology
At present, technology applications of sound waves communicated in device end is relative to traditional near field communication technology, because it has Reliability height, high safety, the features such as data transmission bauds is fast, cost is low, commercial correspondance field has been widely used in it.
Mechanics of communication between existing device end, such as when wireless Key devices are used for ecommerce, generally require by Wirelessly the communication distance between Key devices and device end is controlled in certain scope, with realization effectively leading to therebetween News.However, in the prior art between device end, either on electronic commerce terminal, or on wireless Key devices, The distance between device end is not measured first, the measure of corresponding Communication Control is carried out further according to the distance of measurement.
In summary, it is necessary to a kind of means of communication and communication system that terminal is sent and received based on audio are provided, with Solve the above problems.
The content of the invention
The present invention solves the technical problem of provide it is a kind of based on audio send and receive terminal the means of communication and Communication system, the measurement of distance between device end is accurately carried out by using the propagating characteristic of sound wave, then according to ranging As a result the communication of corresponding control between the two, cost are low and simple to operate.
In order to solve the above technical problems, one aspect of the present invention is:There is provided between a kind of device end The means of communication, including:First device end randomly generates ranging data and is loaded into sound wave and sends, while records sound wave Send the moment;Second device end receives the sound wave that sends of the first device end, and is finishing receiving the sound that will receive constantly Ripple sends back the first device end;First device end receives the sound wave that the second device end returns, and records the time of reception;Sentence The ranging that the ranging data loaded in the sound wave returned from the second device end that disconnected first device end receives is sent with it Whether data are consistent;If consistent, according to sending the moment and the time of reception determines the time interval of ranging data transmission, and by when Between the half that is spaced be multiplied by velocity of sound, to determine the distance between the first device end and the second device end;It is corresponding according to distance Control the communication between the first device end and the second device end.
Wherein, the first device end randomly generates ranging data and is loaded into the step of sound wave is sent and includes:First Device end randomly generates one group of random number, and random number is converted into Echo instructions loads on sound wave and send.
Wherein, included according to the step of communication between distance the first device end of corresponding control and the second device end: Distance is compared with a predetermined threshold value, distance is when being more than predetermined threshold value, the first device end of disconnection and the second device end it Between communication, or prompting user reduce the distance between the first device end and the second device end;
When distance is less than or equal to predetermined threshold value, it is allowed to which the first device end is established with the second device end and connects and continue Communication.
Wherein, the first device end is voice frequency terminal or can produce and send the personal terminal of sound wave, and the second equipment is whole Hold as wireless Key devices or can send the personal terminal of sound wave.
Wherein, the ranging data loaded in the sound wave returned from the second device end that the first device end receives is judged The whether consistent step of the ranging data that sends with it also includes:If inconsistent, return to the first device end and randomly generate survey Away from data and it is loaded into the step of sound wave is sent.
In order to solve the above technical problems, another technical solution used in the present invention is:There is provided a kind of for ranging communication Audio send terminal, including random number generation unit, control unit, audio transmitting element and audio receiving unit, random number Generation unit is used to randomly generate ranging data, and control unit is used to ranging data loading on sound wave, and controls audio to send Unit sends sound wave, while control unit record sound wave sends the moment;Audio receiving unit is used to receive to be connect by ranging communication Receive the sound wave that terminal returns, while the time of reception of control unit record sound wave;Control unit is further used for judging that audio connects The ranging data loaded in the sound wave returned by ranging communication receiving terminal that unit receives is received to generate with random number generation unit Ranging data it is whether consistent, and when judging consistent according to sending the moment and the time of reception determines time that ranging data transmits Interval, velocity of sound is multiplied by by the half of time interval, to determine that audio sends the distance between terminal and ranging communication receiving terminal, Control unit sends the communication between terminal and ranging communication receiving terminal according to the corresponding control audio of distance.
In order to solve the above technical problems, another technical scheme that the present invention uses is:There is provided a kind of for ranging communication Audio receiving terminal, including audio receiving unit and audio transmitting element, audio receiving unit is used to receive ranging communication hair Make arrangements for his funeral the sound wave that sends of end, wherein sound wave, which is loaded with ranging communication and sends terminal, randomly generates ranging data;Audio transmitting element Sound wave for audio receiving unit to be received sends back ranging communication and sends terminal, so that ranging communication sends terminal according to connecing Whether the ranging data loaded in the sound wave returned by audio transmitting element received and the ranging data that it is randomly generated are consistent, and The time interval that ranging data transmits is determined according to the time of reception for sending moment and sound wave of sound wave when judging consistent, by when Between the half that is spaced be multiplied by velocity of sound, to determine that audio sends the distance between terminal and ranging communication receiving terminal, further root According to the communication of the corresponding control of distance between the two.
In order to solve the above technical problems, another technical solution used in the present invention is:There is provided between a kind of device end Communication system, including the first device end and the second device end, the first device end includes random number generation unit, control Unit, the first audio transmitting element and the first audio receiving unit, the second device end include the second audio receiving unit and the Two audio transmitting elements:
Random number generation unit is used to randomly generate ranging data, and control unit is used to ranging data loading on sound wave, And control the first audio transmitting element to send sound wave, while control unit record sound wave sends the moment;Second audio receives single Member is used to receive the sound wave that the first audio transmitting element is sent, and the second audio transmitting element is used to connect the second audio receiving unit The sound wave of receipts sends back the first device end, and the first audio receiving unit receives the sound wave that the second audio transmitting element returns, together When control unit record sound wave the time of reception;Control unit is further used for judging that the first audio receiving unit receives from the In the sound wave that two audio transmitting elements return the ranging data of the ranging data that loads and random number generation unit generation whether one Cause, and when judging consistent according to the moment is sent and the time of reception determines the time interval of ranging data transmission, by time interval Half be multiplied by velocity of sound, to determine the distance between the first device end and the second device end, control unit is according to apart from phase The communication between the first device end and the second device end should be controlled.
Wherein, control unit compares distance with a predetermined threshold value, and disconnects first when distance is more than predetermined threshold value Communication between device end and the second device end, or prompting user are reduced between the first device end and the second device end Distance;When distance is less than or equal to predetermined threshold value, control unit allows the first device end and the second device end to establish and connect Connect and continue to communicate.
Wherein, control unit is judging the sound wave returned from the second audio transmitting element of the first audio receiving unit reception When the ranging data of middle loading and the inconsistent ranging data of random number generation unit generation, control random number generation unit generation Another group of random number, to carry out ranging next time.
The beneficial effects of the invention are as follows:Difference and prior art, the present invention randomly generate ranging by the first device end Data are simultaneously loaded into sound wave and sent, while record the moment that sends of sound wave, and then the second device end receives and general immediately The sound wave received sends back the first device end, and the first device end receives the sound wave being returned, and records the time of reception, after And judge whether the ranging data for the sound wave loading that the first device end receives and the ranging data that sends are consistent, and if in judgement According to sending the moment and the time of reception determines the time interval of ranging data transmission when consistent, then its half is multiplied by velocity of sound, really The distance between fixed first, second device end, finally according to logical between distance first, second device end of corresponding control News.The present invention can accurately and efficiently realize the measurement of the distance between device end and Communication Control.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of the means of communication one between the device end of the present invention;
Fig. 2 is the theory diagram for the audio transmission terminal that the present invention is used for ranging communication;
Fig. 3 is the theory diagram for the audio receiving terminal that the present invention is used for ranging communication;
Fig. 4 is the theory diagram of the embodiment of communication system one between the device end of the present invention.
Embodiment
Below in conjunction with the accompanying drawings 1~4 and embodiment the present invention is described in detail.
Fig. 1 is the flow chart of the embodiment of the means of communication one between the device end of the present invention.As shown in figure 1, this implementation The means of communication between the device end of example mainly include the following steps that:
Step S110:First device end randomly generates ranging data and is loaded into sound wave and sends, while record sound Ripple sends the moment.
When entering range measurement mode of operation, the first device end produces one group of random number by random manner first (Random, RN), then this group of random number be converted into Echo(Echo Protocol, response protocol)Instruction, final first equipment Echo instructions are loaded on sound wave as ranging data and sent by terminal.
In the present embodiment, the first device end can be voice frequency terminal, or can produce and send the personal terminal of sound wave, Such as mobile phone, PC, IPAD.
Step S120:Second device end receives the sound wave that the first device end is sent, and will be connect constantly finishing receiving The sound wave received sends back the first device end.
In the present embodiment, the second device end can be wireless Key devices, or can receive and send the individual of sound wave Terminal, such as password of the online bank token, identity authentication device, mobile phone, PC, IPAD.Also, the second device end and first Connection can be established using near-field communication mode between device end.
Step S130:First device end receives the sound wave that the second device end returns, and records the time of reception.
Wherein, the first device end detects and receives the acoustic signals in communication environment in real time, and the sound wave to receiving Signal is parsed to be instructed with obtaining the Echo of its loading.
Step S140:Judge the ranging loaded in the sound wave returned from the second device end that the first device end receives Whether data and the ranging data that it sends are consistent.
Echo instructions according to being loaded in the sound wave received obtain random number therein, and then the first device end should Group random number is compared with it randomly generates and loaded on the random number that sound wave is sent.If both are inconsistent, to ensure to measure Accuracy, then the first device end randomly generate one group of random number again and be loaded into sound wave and send, with carry out again Range measurement once.
It should be noted that in other embodiments, the first device end can continue to receive when judging inconsistent Other sound waves are untill judging that the random number for obtaining loading is consistent with the corresponding random number sent.
Step S150:If consistent, basis sends the moment and the time of reception determines the time interval of ranging data transmission, and The half of time interval is multiplied by velocity of sound, to determine the distance between the first device end and the second device end.
Step S160:According to the communication between distance the first device end of corresponding control and the second device end.
The present embodiment is previously provided with a predetermined threshold value, it is determined that between the first device end and the second device end away from From rear, in time by the distance compared with predetermined threshold value.Wherein, predetermined threshold value is the first device end and the second device end Between as the communication distance effectively and safely required by application scenarios, and the predetermined threshold value of different application scene may not Together.In addition, it is necessary to illustrate, audio is based primarily upon in the present embodiment and is carried out between the first device end and the second device end Distance test, and be not restricted for communication modes between the two, can also be profit in addition to voice communication mode It is infrared with Radio Transmission Technology(Infrared,IR), 802.11 wireless networks, bluetooth(Bluetooth), RFID(Radio Frequency Identification, radio frequency identification)Or other meet the communication modes of application scenarios.
If the distance between the first device end and the second device end are more than predetermined threshold value, between the two logical is disconnected News, or prompting user reduce the distance between the first device end and the second device end, it is ensured that therebetween in permission In communication distance.
If the distance between the first device end and the second device end are less than or equal to predetermined threshold value, both are allowed to establish Connect and continue to communicate.Wherein, continuing communication has many specific manifestation modes, such as:If the second device end is identity ID authentication device, in the first device end(Access control equipment)Confirm with it establishes communication connect after, it can be shown by panel Show or the mode of voice broadcast prompts user's mode for carrying out next step operation.
The means of communication of device end provided by the invention are mainly normal in atmosphere using the sound wave for being loaded with Echo instructions The characteristics of spread speed is extremely stable under the conditions of temperature, accurately to carry out the measurement of distance between device end, then according to survey Accordingly control communication between the two away from result, cost is low and simple to operate.It is worth noting that, Echo instructions are in the present embodiment Range measurement in be used as a kind of response protocol, primarily to ensure the uniformity of echo data, i.e. the first device end hair It is consistent to send with the ranging data loaded in the sound wave received.In other embodiments, those skilled in the art completely may be used With according to the protocol instructions being actually needed using other forms.
Fig. 2 is the theory diagram for the audio transmission terminal that the present invention is used for ranging communication.As shown in Fig. 2 the present embodiment Audio, which sends terminal 300, includes random number generation unit 310, control unit 320, audio transmitting element 330 and audio reception list Member 340.
Wherein, random number generation unit 310 is used to randomly generate ranging data.
Control unit 320 is used to ranging data loading on sound wave, and controls audio transmitting element 330 to send sound wave, together When control unit 320 record sound wave and send the moment.
Audio receiving unit 340 is used to receive the sound wave returned by ranging communication receiving terminal 500, while control unit The time of reception of 320 record sound waves.
Control unit 320 is further used for judging being returned by ranging communication receiving terminal 500 for the reception of audio receiving unit 340 Whether the ranging data loaded in the sound wave returned and the ranging data that random number generation unit 310 generates are consistent, and are judging one According to the moment is sent and the time of reception determines time interval that ranging data transmits during cause, the half of time interval is multiplied by sound Speed, to determine that audio sends the distance between terminal 300 and ranging communication receiving terminal 500, control unit 320 is according to apart from phase Audio should be controlled to send the communication between terminal 300 and ranging communication receiving terminal 500.
Fig. 3 is the theory diagram for the audio receiving terminal that the present invention is used for ranging communication.As shown in figure 3, the present embodiment Audio receiving terminal 400 includes audio receiving unit 410 and audio transmitting element 420.
Wherein, audio receiving unit 410 is used to receive the sound wave that ranging communication transmission terminal 600 is sent, and wherein sound wave adds It is loaded with ranging communication transmission terminal 600 and randomly generates ranging data.
Audio transmitting element 420 is used to the sound wave that audio receiving unit 410 receives sending back ranging communication transmission terminal 600, so that ranging communication sends the ranging loaded in the sound wave returned by audio transmitting element 420 of the terminal 600 according to reception Whether data and the ranging data that it is randomly generated are consistent, and send connecing for moment and sound wave according to sound wave when judging consistent Time receiving carves the time interval for determining ranging data transmission, and the half of time interval is multiplied by into velocity of sound, to determine that audio sends terminal The distance between 600 and ranging communication receiving terminal 400, the further communication according to the corresponding control of distance between the two.
Fig. 4 is the theory diagram of the embodiment of communication system one between the device end of the present invention.As shown in figure 4, this reality The communication system 200 for applying example is made up of the first device end 210 and the second device end 220.Wherein, the first device end 210 Including random number generation unit 211, control unit 212, the first audio transmitting element 213 and the first audio receiving unit 214, Second device end 220 includes the second audio receiving unit 221 and the second audio transmitting element 222.
In the present embodiment, random number generation unit 211 is used to randomly generate one group of random number and be sent to control unit 212。
Control unit 212 is used to instruct the random number as Echo, i.e., ranging data loads on sound wave, and controls first Audio transmitting element 213 sends the sound wave, at the same control unit 212 record sound wave send moment T1.
Second audio receiving unit 221 is used to receive the sound wave that the first audio transmitting element 213 is sent.
Second audio transmitting element 222 is used to the sound wave that the second audio receiving unit 221 receives sending back the first equipment Terminal 210, the first audio receiving unit 214 receive the sound wave that the second audio transmitting element 222 returns, while control unit 212 Record the time of reception T2 of sound wave.
Control unit 212 is further used for judging that the first audio receiving unit 214 receives from the second audio transmitting element Whether the random number loaded in 222 sound waves returned and the random number that random number generation unit 211 generates are consistent.
If control unit 212 judge the first audio receiving unit 214 receive from the second audio transmitting element 222 return When the random number loaded in sound wave is consistent with the random number that random number generation unit 211 generates, then basis sends moment T1 and connect Time receiving carves the time interval T2-T1 that T2 determines ranging data transmission, and time interval T2-T1 half is multiplied by into velocity of sound, to determine The distance between first device end 210 and the second device end 220 H.Then, control unit 212 will distance H and predetermined threshold value H0 compares, and is disconnected when distance H is more than predetermined threshold value H0 between the first device end 210 and the second device end 220 Communication, or prompting user reduce the distance between the first device end 210 and the second device end 220.Sentence in control unit 212 When turn-off is less than or equal to predetermined threshold value H0 from H, control unit 212 allows the first device end 210 to be built with the second device end 220 It is vertical to connect and continue to communicate.
It should be noted that to ensure the accuracy of range measurement, control unit 212 is judging the first audio receiving unit The random number loaded in 214 sound waves returned from the second audio transmitting element 222 received generates with random number generation unit 211 Random number it is inconsistent when, control random number generation unit 211 generate another group of random number, to carry out ranging next time.
In the present embodiment, the first device end can be voice frequency terminal, or can produce and send the individual of sound wave eventually End, such as mobile phone, PC, IPAD.Second device end can be wireless Key devices, or can receive and send the individual of sound wave Terminal, such as password of the online bank token, identity authentication device, mobile phone, PC, IPAD.Also, the second device end is set with first Connection can be established using near-field communication mode between standby terminal.
In embodiment provided by the present invention, it should be understood that the means of communication of disclosed device end and communication System, it can realize by another way.The embodiment of communication system described above is only schematical, described The division of unit, only a kind of division of logic function, can there are other dividing mode, such as multiple units when actually realizing It can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, unit is mutual Between coupling or communication connection can be by some interfaces or electrical or other forms.
Part of the above-mentioned each functional unit as device end, can be or may not be physical frame, both A place can be located at, can also be distributed on multiple NEs, can both be realized, and can also adopted in the form of hardware Realized with the form of software function frame.Some or all of unit therein can be selected to realize this hair according to the actual needs The purpose of bright scheme.
In summary, the present invention mainly randomly generates ranging data by the first device end and is loaded into sound wave hair Go out, while record the moment that sends of sound wave, then the second device end receives and the sound wave received is sent back into first immediately Device end, the first device end receives the sound wave being returned, and records the time of reception, then judges that the first device end receives Sound wave loading ranging data and the ranging data that sends it is whether consistent, and if when judging unanimously according to sending the moment and connect Time receiving carves the time interval for determining ranging data transmission, then its half is multiplied by into velocity of sound, determines between first, second device end Distance, finally according to the communication between distance first, second device end of corresponding control.As it was previously stated, the present invention utilizes the Echo signal between one device end and the second device end equipment measures distance between the two, and by judging back The uniformity of the random ranging data randomly generated carried in acoustical signal confirms the validity of range measurement between the two, So as to accurately and efficiently realize the measurement of the distance between device end and Communication Control.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (5)

1. the means of communication between a kind of device end, it is characterised in that the means of communication include:
First device end randomly generates ranging data and is loaded into sound wave and sends, wherein first device end is random Produce one group of random number and the random number is converted into Echo instructions and load on the sound wave and send, while record the sound wave Send the moment;
Second device end receives the sound wave that first device end is sent, and will be received constantly finishing receiving The sound wave sends back first device end;
First device end receives the sound wave that second device end returns, and records the time of reception;
Judge the ranging loaded in the sound wave returned from second device end that first device end receives Whether data and the ranging data that it sends are consistent;
If consistent, the moment is sent according to and the time of reception determines the time interval of the ranging data transmission, and The half of the time interval is multiplied by velocity of sound, with determine between first device end and second device end away from From;
If inconsistent, first device end randomly generates another group of random number, and another group of random number is changed The sound wave is loaded on for Echo instructions to send, until loaded in the sound wave returned from second device end received Ranging data is consistent with the ranging data that it sends, and determines between first device end and second device end Distance;
Communication between first device end and second device end is accordingly controlled according to the distance, wherein, will The distance is compared with a predetermined threshold value, when the distance is more than the predetermined threshold value, disconnect first device end with Communication between second device end, or prompting user reduce first device end and second device end it Between distance;When the distance is less than or equal to the predetermined threshold value, it is allowed to first device end and second equipment Terminal, which is established, to be connected and continues to communicate;Pass through voice communication mode between first device end and second device end Outside mode communicated.
2. the means of communication according to claim 1, it is characterised in that first device end is voice frequency terminal or can Produce and send the personal terminal of sound wave, second device end is wireless Key devices or can send the individual of sound wave eventually End.
3. a kind of audio for ranging communication sends terminal, including random number generation unit, control unit, audio transmitting element And audio receiving unit, it is characterised in that
The random number generation unit is used to randomly generate ranging data, and described control unit is used to load the ranging data In sound wave, wherein the random number generation unit randomly generates one group of random number, described control unit changes the random number The sound wave is loaded on for Echo instructions, and controls the audio transmitting element to send the sound wave, while described control unit Record the sound wave sends the moment;
The audio receiving unit is used to receive the sound wave returned by ranging communication receiving terminal, while described control unit Record the time of reception of the sound wave;
Described control unit is further used for judging being returned by ranging communication receiving terminal for the audio receiving unit reception Whether the ranging data loaded in the sound wave returned and the ranging data that the random number generation unit generates are consistent, and The moment is sent according to when judging consistent and the time of reception determines the time interval of the ranging data transmission, by institute The half for stating time interval is multiplied by velocity of sound, with determine the audio send between terminal and ranging communication receiving terminal away from From;When inconsistent, then the random number generation unit randomly generates another group of random number, and continues to send out by described control unit Go out sound wave, sent up to the ranging data and its that are loaded in the sound wave returned from ranging communication receiving terminal received Ranging data is consistent, and determines that the audio sends the distance between terminal and ranging communication receiving terminal;The control Unit accordingly controls the audio to send the communication between terminal and ranging communication receiving terminal according to the distance, its In, the audio is sent is led between terminal and ranging communication receiving terminal by the mode outside voice communication mode News, described control unit compares the distance with a predetermined threshold value, when the distance is more than the predetermined threshold value, disconnects institute The communication between audio transmission terminal and ranging communication receiving terminal is stated, or prompting user reduces the audio and sends terminal The distance between ranging communication receiving terminal;When the distance is less than or equal to the predetermined threshold value, it is allowed to the sound Take place frequently to make arrangements for his funeral to hold to establish with ranging communication receiving terminal and connect and continue to communicate.
4. a kind of audio receiving terminal for ranging communication, including audio receiving unit and audio transmitting element, its feature exist In,
The audio receiving unit, which is used to receiving ranging communication, sends the sound wave that sends of terminal, wherein the sound wave be loaded with it is described Ranging communication sends the ranging data that terminal randomly generates, and the ranging data is that ranging communication transmission terminal randomly generates One group of random number conversion Echo instruction;
The audio transmitting element is used to the sound wave that the audio receiving unit receives sending back the ranging communication hair Make arrangements for his funeral end so that ranging communication send terminal judge in the sound wave returned by the audio transmitting element that receives plus Whether the ranging data of load and the ranging data that it is randomly generated are consistent, and when judging consistent according to the hair of the sound wave The time of reception for going out moment and the sound wave determines the time interval that the ranging data is transmitted, by the half of the time interval Velocity of sound is multiplied by, to determine that the audio receiving terminal and ranging communication send the distance between terminal, further according to institute State apart from the accordingly communication of control between the two, wherein, in ranging communication transmission terminal judgement reception by the audio It is described when the ranging data loaded in the sound wave that transmitting element returns and the inconsistent ranging data that it is randomly generated Ranging communication sends terminal and continues to randomly generate another group of random number and continue to send sound wave, until what is received sends out from the audio Send the ranging data loaded in the sound wave of unit return consistent with the ranging data that it sends, and determine that the audio receives eventually End and ranging communication send the distance between terminal;The audio receiving terminal and ranging communication are sent between terminal Communicated by the mode outside voice communication mode, the ranging communication sends terminal by the distance and a predetermined threshold value Compare, when the distance is more than the predetermined threshold value, disconnects the ranging communication and send terminal and the audio receiving terminal Between communication, or prompting user reduces ranging communication and sends the distance between terminal and the audio receiving terminal; When the distance is less than or equal to the predetermined threshold value, it is allowed to which the ranging communication sends terminal and established with the audio receiving terminal Connect and continue to communicate.
5. the communication system between a kind of device end, the communication system includes the first device end and the second device end, Characterized in that, first device end includes random number generation unit, control unit, the first audio transmitting element and first Audio receiving unit, second device end include the second audio receiving unit and the second audio transmitting element:
The random number generation unit is used to randomly generate ranging data, and described control unit is used to load the ranging data In sound wave, wherein the random number generation unit randomly generates one group of random number, described control unit changes the random number The sound wave is loaded on for Echo instructions, and controls the first audio transmitting element to send the sound wave, while the control Sound wave described in unit record sends the moment;
The second audio receiving unit is used to receive the sound wave that the first audio transmitting element is sent, second sound Frequency transmitting element is used to the sound wave that the second audio receiving unit receives sending back first device end, described First audio receiving unit receives the sound wave that the second audio transmitting element returns, while described control unit record institute State the time of reception of sound wave;
Described control unit is further used for judging that the first audio receiving unit receives single from second audio transmission In the sound wave that member returns the ranging data of the ranging data that loads and random number generation unit generation whether one Cause, and send according to when judging consistent the moment and the time of reception was determined between the time that the ranging data is transmitted Every the half of the time interval being multiplied by into velocity of sound, to determine between first device end and second device end Distance, inconsistent, then the random number generation unit randomly generates another group of random number, and described control unit will be described another One group of random number is converted to Echo instructions and loads on the sound wave and control the first audio transmitting element to send, until described The ranging data loaded in the sound wave returned from second device end that first audio receiving unit receives is sent with it Ranging data it is consistent, described control unit determines the distance between first device end and second device end; Described control unit accordingly controls the communication between first device end and second device end according to the distance, Wherein, led between first device end and second device end by the mode outside voice communication mode News, described control unit compares the distance with a predetermined threshold value, and breaks when the distance is more than the predetermined threshold value The communication between first device end and second device end is opened, or prompting user reduces first device end The distance between described second device end;When the distance is less than or equal to the predetermined threshold value, described control unit permits Perhaps described first device end is established with second device end and connects and continue to communicate.
CN201310134531.5A 2013-04-17 2013-04-17 The means of communication and communication system of terminal are sent and received based on audio Active CN104113380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310134531.5A CN104113380B (en) 2013-04-17 2013-04-17 The means of communication and communication system of terminal are sent and received based on audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310134531.5A CN104113380B (en) 2013-04-17 2013-04-17 The means of communication and communication system of terminal are sent and received based on audio

Publications (2)

Publication Number Publication Date
CN104113380A CN104113380A (en) 2014-10-22
CN104113380B true CN104113380B (en) 2018-03-09

Family

ID=51710023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310134531.5A Active CN104113380B (en) 2013-04-17 2013-04-17 The means of communication and communication system of terminal are sent and received based on audio

Country Status (1)

Country Link
CN (1) CN104113380B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105680956B (en) * 2015-12-30 2019-01-15 联想(北京)有限公司 Electronic equipment and control method
CN112698311A (en) * 2020-11-24 2021-04-23 苏州触达信息技术有限公司 Ranging method, ranging device, ranging system, intelligent device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979088A (en) * 2005-12-01 2007-06-13 乐金电子(中国)研究开发中心有限公司 Hand-set using sound-wave to measure distance and measuring method therefor
CN102394724A (en) * 2011-11-01 2012-03-28 南京音优行信息技术有限公司 Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6307471B1 (en) * 1999-12-01 2001-10-23 Ensure Technologies, Inc. Radio based proximity token with multiple antennas
US6961541B2 (en) * 2002-05-24 2005-11-01 Aeroscout, Inc. Method and apparatus for enhancing security in a wireless network using distance measurement techniques
JP4963063B2 (en) * 2004-06-09 2012-06-27 インターナショナル・ビジネス・マシーンズ・コーポレーション Distance measuring system, distance measuring method, information processing apparatus, program, and recording medium
CN101442542B (en) * 2007-11-19 2011-12-28 联想(北京)有限公司 Distance measurement system and method
CN101261320A (en) * 2008-05-05 2008-09-10 宏碁股份有限公司 Distance finding system and method for measuring distance
JP5454248B2 (en) * 2010-03-12 2014-03-26 ソニー株式会社 Transmission device and transmission method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979088A (en) * 2005-12-01 2007-06-13 乐金电子(中国)研究开发中心有限公司 Hand-set using sound-wave to measure distance and measuring method therefor
CN102394724A (en) * 2011-11-01 2012-03-28 南京音优行信息技术有限公司 Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves

Also Published As

Publication number Publication date
CN104113380A (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN103873342B (en) A kind of method for adding social group, terminal and system
US11343855B2 (en) Method and device for random access and terminal
CN102545964B (en) Communication method and system for triggering information interaction by collision
US10091638B2 (en) Systems and methods for reducing connection latency
CN108513347B (en) Data transmission method and electronic equipment
JP2009533975A (en) Distance-based security
RU2010145117A (en) DEVICE AND METHODS OF INSTALLING CUSTOMER HOST CONNECTIONS INSIDE WIRELESS NETWORK
US11234275B2 (en) Method for receiving and sending information, user equipment and network device
CN111278153B (en) Random access method and device, and communication equipment
KR101808217B1 (en) Wireless access method and relevant device and system
US20230156424A1 (en) Electronic device for controlling wireless communication connection and operating method thereof
CN111278091A (en) Auxiliary information reporting method and terminal
CN105491034A (en) Method for establishing connection with terminal and terminal authentication method and apparatus
CN111818658A (en) Scheduling request sending method, scheduling request receiving method, terminal and network equipment
CN104113380B (en) The means of communication and communication system of terminal are sent and received based on audio
WO2020216244A1 (en) Indication method for terminal antenna panel information, network side device, and terminal
CN108616663A (en) Sharing files method, apparatus, mobile terminal and storage medium
JP2021105834A (en) Communication device and system
WO2021023259A1 (en) Random access method, configuration method, terminal, and network-side device
CN102945575A (en) Method and system for giving out prompt sound during unlocking
CN107965236A (en) Vehicle, window lifting control method, apparatus and system
CN105472768B (en) Wirelessly communicate establishment of connection method and terminal device
KR101545868B1 (en) Method for preventing illegal control of boiler with Wi-Fi
CN106507357A (en) A kind of connection control method, and terminal device
KR101234995B1 (en) Location Based Service System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant