Patent ID: 9680913
Date: 2017-06-13
CPC Classifications: H04B,H04L

Claim:
1. A method for transmitting files based on an audio signal by a first terminal, comprising: receiving a file identification of a target file transmitted by a server; generating a first audio signal; hiding the file identification in the first audio signal to form a first signal; and playing the first signal, to make a second terminal sample at least a portion of the first signal to construct a second audio signal, and decode the second audio signal to get the file identification, transmit the file identification to the server, and obtain the target file transmitted by the server according to the file identification; wherein the first audio signal at least comprises N signal segments, each signal segment comprises M frequency intervals, one frequency interval corresponds to one character configured to construct the file identification, N is defined as the number of the characters of the file identification, M is defined as the number of the characters configured to construct the file identification, and wherein the step of hiding the file identification in the first audio signal to form a first signal comprises: defining a center frequency of a first frequency interval of a target signal segment of each character of the file identification as a target frequency value, wherein the target signal segment of the character is a signal segment of which a location in the N signal segments is the same as a location of the character in the file identification, the first frequency interval corresponds to the character; converting a setup first signal into a time domain first signal; and playing the time domain first signal.