+

WO2018120545A1 - Procédé et dispositif destinés à tester la latence d'une boucle audio - Google Patents

Procédé et dispositif destinés à tester la latence d'une boucle audio Download PDF

Info

Publication number
WO2018120545A1
WO2018120545A1 PCT/CN2017/082238 CN2017082238W WO2018120545A1 WO 2018120545 A1 WO2018120545 A1 WO 2018120545A1 CN 2017082238 W CN2017082238 W CN 2017082238W WO 2018120545 A1 WO2018120545 A1 WO 2018120545A1
Authority
WO
WIPO (PCT)
Prior art keywords
sine wave
amplitude
time
pcm
peak
Prior art date
Application number
PCT/CN2017/082238
Other languages
English (en)
Chinese (zh)
Inventor
曹海恒
谭利文
孙伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780009092.1A priority Critical patent/CN108702568B/zh
Publication of WO2018120545A1 publication Critical patent/WO2018120545A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • the present application relates to the field of testing technologies, and in particular, to a method and device for testing an audio loop delay.
  • the audio processing process of Android or IOS operating system is mainly composed of two parts: recording thread and playing thread.
  • the flow of the recording thread is: first input the sound from the microphone, then The analog to digital converter (ADC) is converted into audio data, and then the audio data is transmitted to the system audio service unit via the bus and the hardware and software driver, and finally the audio data is transmitted to the user via the first audio transmission unit.
  • the process of playing the thread is: the second audio transmission unit reads the audio data from the buffer of the user application, and transmits the read audio data to the system audio service unit, and the system audio service unit will be driven by the hardware and software and the Bus.
  • the audio data is transmitted to a digital to analog converter (DAC), which converts the audio data into analog data, and the analog data is played through a speaker.
  • DAC digital to analog converter
  • the audio loop delay refers to the time taken for the sound to input from the microphone of the smart terminal to the output of the speaker.
  • the present application provides a method and apparatus for testing an audio loop delay to test an audio loop delay inside a terminal.
  • the present application provides a method for testing an audio loop delay, including: a terminal opening a preset play thread, where the play thread is configured to read a preset audio file from a buffer of the terminal, and The speaker of the terminal plays the preset audio file; the terminal starts a preset recording thread, and the recording thread is used to record a preset audio file played by the speaker through a microphone of the terminal; Determining an audio loop delay of the terminal according to the first time information that the playing thread plays the preset audio file and the second time information that the recording thread records the preset audio file, where the audio loop Time delay means that the sound is input from the microphone of the terminal. Time consuming to output from the speaker of the terminal.
  • the delay of the internal audio loop of the terminal can be determined by adopting the preset audio file of the present application.
  • the terminal according to the first time information of playing the preset audio file by the playing thread, and the second time of recording, by the recording thread, the preset audio file, Determining, by the terminal, determining, by the terminal, the first time information of the target data in the preset audio file; the terminal determining, by the recording thread, the pre-recording The second time information of the target data in the audio file is set; the terminal determines the audio loop delay of the terminal according to the difference between the second time information and the first time information.
  • the audio loop delay is calculated by using the target data of the preset audio file as a reference, which can make the calculation of the audio loop delay more efficient.
  • the preset audio file is a sine wave pulse code modulation PCM file
  • the sine wave PCM file is a sine wave and a second pass through the first amplitude
  • the amplitude sine wave is obtained by PCM processing
  • the target data of the preset audio file is a sampling value corresponding to the first peak of the second amplitude sine wave.
  • the sample values corresponding to the sine wave of the first amplitude and the sine wave of the second amplitude respectively differ in play time by a first duration, and The playing time of the sampling value corresponding to the sine wave of the first amplitude is earlier than the playing time of the sampling value corresponding to the sine wave of the second amplitude;
  • Determining, by the terminal, that the playing thread plays the first time information of the target data in the preset audio file including: the terminal recording time information that the playing thread starts playing the preset audio file; Determining, by the playing thread, the time information of playing the preset audio file, the sine wave of the first amplitude, and the sampling time corresponding to the sine wave of the second amplitude are different in the playing time, determining the terminal And starting to play time information of the sampling value corresponding to the sine wave of the second amplitude; the terminal starts to play the time information of the sampling value corresponding to the sine wave of the second amplitude according to the terminal, and the second amplitude sine a period of the wave, determining first time information of the sampling value corresponding to the first peak of the second amplitude sine wave played by the playing thread.
  • the preset audio file includes multiple frames of audio data, and each frame of audio data includes multiple PCM samples, and each PCM sample Corresponding to a PCM sample value;
  • the terminal Determining, by the terminal, that the recording thread records the second time information of the target data in the preset audio file, the terminal: determining, by the terminal, the audio to which the PCM sample of the first peak of the second amplitude sine wave belongs a data frame; the terminal searches for a time from the audio data frame to which the PCM sample of the first peak belongs to the time that the audio data frame belongs to the recording thread, and the audio data frame Corresponding relationship with the time of reaching the recording thread is determined according to the time of each frame of the audio data in the preset audio file and the time of reaching the recording thread; the terminal corresponding to the first peak of the sine wave of the second amplitude a sample number of the PCM sample, a length of the audio data frame, and a frequency of PCM sampling the sine wave of the second amplitude, determining a PCM sample of the first peak of the second amplitude sine wave relative to the assigned audio The offset time of the data frame to the recording thread time; the terminal according to the time when the belonging audio data frame arrives at
  • the terminal determines, by the terminal, an audio data frame to which the PCM sample of the first peak of the second amplitude sine wave belongs, including: a left gradient and a right gradient of each PCM sample in the preset audio file, the left gradient being a difference between a sample value of a PCM sample and a sample value of an adjacent left PCM sample, the right gradient being a PCM a difference between the sampled value of the sample and the sampled value of the adjacent right PCM sample; the terminal searches for PCM samples whose left gradient and right gradient are both greater than zero from the PCM samples of the preset audio file, and establishes a peak PCM sample ???collecting, from the set of peak PCM samples, searching for a PCM sample of a first peak of a second amplitude sine wave, wherein the PCM sample of the first peak of the second amplitude sine wave corresponds to The sampled value is greater than the sampled value of the adjacent left peak PCM sample, equal
  • the T represents an offset time of a PCM sample of the first peak of the second amplitude sine wave relative to a time at which the assigned audio data frame reaches a recording thread time;
  • the i j represents the second amplitude The sample number of the PCM sample of the first peak in the sine wave;
  • the FrameL represents the length of the audio data frame, the % represents the remainder, and
  • the Samplerate represents the terminal to perform PCM sampling on the second amplitude sine wave Frequency of.
  • an apparatus for testing an audio loop delay comprising a processor and a memory; the processor, configured to read code in the memory for execution: enabling a preset playback a thread, the play thread is configured to read a preset audio file from a buffer of the device, and play the preset audio file via a speaker of the device; enable a preset recording thread, and the recording thread uses Recording a preset audio file played by the speaker through a microphone of the device; playing first time information of the preset audio file according to the playing thread, and recording, by the recording thread, the preset audio file The second time information determines an audio loop delay of the device, the audio loop delay being a time consuming time from the microphone input of the device to the output of the speaker of the device.
  • the processor is configured to play the first time information of the preset audio file according to the playing thread, and the recording thread records the preset audio file Determining, by the second time information, the delay time of the audio loop of the device, specifically, determining: determining, by the playing thread, the first time information of the target data in the preset audio file; determining that the recording thread records the preset Second time information of the target data in the audio file; determining an audio loop delay of the device according to a difference between the second time information and the first time information.
  • the preset audio file is a sine wave pulse code modulation PCM file
  • the sine wave PCM file is a sine wave and a second pass through the first amplitude
  • the amplitude sine wave is obtained by PCM processing
  • the target data of the preset audio file is a sampling value corresponding to the first peak of the second amplitude sine wave.
  • the sample values corresponding to the sine wave of the first amplitude and the sine wave of the second amplitude respectively differ in play time by a first duration, and The playing time of the sampling value corresponding to the sine wave of the first amplitude is earlier than the playing time of the sampling value corresponding to the sine wave of the second amplitude;
  • the processor When determining, by the processor, the first time information of the target data in the preset audio file, the processor is specifically configured to: record time information that the playing thread starts playing the preset audio file; The playing thread starts time information for playing the preset audio file, the sine wave of the first amplitude, and the sine wave of the second amplitude a first time period in which the corresponding sampled value is different in the playing time, determining time information of the sampling value corresponding to the sine wave of the second amplitude that is started by the device; and starting to play the second amplitude according to the device The time information of the sampled value corresponding to the sine wave and the period of the second amplitude sine wave determine the first time information of the sampling value corresponding to the first peak of the second amplitude sine wave played by the playing thread.
  • the preset audio file includes multi-frame audio data, each frame of audio data includes multiple PCM samples, and each PCM sample corresponds to one PCM sample value;
  • the processor is specifically configured to: determine that the PCM sample of the first peak of the second amplitude sine wave belongs to Audio data frame; from the correspondence between the audio data frame and the time of reaching the recording thread, searching for the audio data frame to which the PCM sample of the first peak belongs to correspond to the time of reaching the recording thread, the audio data frame and Corresponding relationship of the time of reaching the recording thread is determined according to the audio data of each frame in the preset audio file and the time of reaching the recording thread; the sample of the PCM sample corresponding to the first peak of the sine wave of the second amplitude a number, a length of the audio data frame, and a frequency of PCM sampling the sine wave of the second amplitude, determining that the PCM sample of the first peak of the second amplitude sine wave arrives at the recording with respect to the assigned audio data frame The offset time of the thread time; determining the recording thread recording station according to the time when the belonging audio data frame arrives at the recording
  • a fifth possible implementation manner when the determining, by the processor, the audio data frame to which the PCM sample of the first peak in the second amplitude sine wave belongs, Calculating a left gradient and a right gradient of each PCM sample in the preset audio file, the left gradient being a difference between a sample value of a PCM sample and a sample value of an adjacent left PCM sample, the right gradient finger The difference between the sampled value of a PCM sample and the sampled value of the adjacent right PCM sample; from the PCM samples of the preset audio file, find a PCM sample whose left gradient and right gradient are both greater than zero, and establish a peak PCM sample set Obtaining, from the set of peak PCM samples, a PCM sample of a first peak of a second amplitude sine wave, wherein a sample value corresponding to a PCM sample of the first peak of the second amplitude sine wave is greater than The sampled value of the adjacent left peak PCM sample is equal to the sample value of
  • the processor determines a PCM sample of the first peak in the sine wave of the second amplitude relative to the assigned audio data
  • the offset time of the frame arrival time of the recording thread meets the following formula:
  • the T represents an offset time of a PCM sample of the first peak of the second amplitude sine wave relative to a time at which the assigned audio data frame reaches a recording thread time;
  • the i j represents the second amplitude The sample number of the PCM sample of the first peak in the sine wave;
  • the FrameL represents the length of the audio data frame, the % represents the remainder, and
  • the Samplerate represents PCM sampling of the second amplitude sine wave by the device Frequency of.
  • a computer readable storage medium for storing software instructions for performing the functions of any of the above first aspect, the first aspect of the present application, comprising the first Aspect, the program designed by any of the methods of the first aspect.
  • the terminal first starts the playing thread and the recording thread, the playing thread will play the preset audio file, and the recording thread will record the preset audio file played by the playing thread, and the terminal records and plays the preset audio.
  • the information and the second time information can determine the audio loop delay inside the terminal.
  • FIG. 1 is a flowchart of processing audio data according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of hardware of a terminal according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of a method for testing an audio loop delay according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a test audio loop delay provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a sine wave corresponding to a PCM file provided by the present application.
  • FIG. 6 is another schematic diagram of a test audio loop delay provided by the present application.
  • FIG. 7 is a schematic structural diagram of an apparatus for testing an audio loop delay provided by the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for testing an audio loop delay provided by the present application.
  • Terminal It can be a mobile terminal (such as a mobile phone, a portable computer, and a wearable device), or it can be a non-mobile terminal (for example, a fixed computer, a television, etc.).
  • the terminal includes at least a microphone and a speaker for processing audio data, and mainly recording audio data (such as user sound) from a microphone input, and processing, and outputting by the speaker.
  • the audio processing process is mainly composed of a recording thread and a playing thread.
  • Recording thread Refer to Figure 1.
  • the processing flow is to input analog audio data (such as user sound) from the microphone, convert it to digital audio data through analog to digital converter (ADC), via bus Bus and soft.
  • ADC analog to digital converter
  • the hardware driver transmits the digital audio data to the system audio service unit, and then transmits the digital audio data to the buffer through the first audio transmission unit.
  • Play thread refer to FIG. 1 , the processing flow is: the second audio transmission unit reads the digital audio data from the buffer, and transmits the read digital audio data to the system audio service unit, and the system audio service unit is softened.
  • the hardware driver and the Bus transfer the digital audio data to a Digital to Analog Converter (DAC), which converts the digital audio data into analog audio data for playback via the speaker.
  • DAC Digital to Analog Converter
  • the driving in the recording thread and the playing thread, the driving may be ALSA
  • the system audio service unit may be AudioFinger
  • the first audio transmission unit may be Audio Record
  • the second audio transmission unit may be For Audio Track or Media palyer.
  • the system audio service unit and the first audio transmission unit may further include a Binder unit, and the system audio service unit and the second audio transmission unit may also be included. Includes a Binder unit.
  • Audio loop delay refers to the delay of audio data input from the terminal's microphone to the speaker output from the terminal; the delay is mainly composed of the recording delay of the recording thread and the playback delay of the playback thread.
  • Sinusoidal Pulse Code Modulation (PCM) file a file obtained by PCM processing a sine wave of a first amplitude and a sine wave of a second amplitude, the PCM processing comprising: sampling and quantizing a sine wave And encoding three processes; the PCM file includes multi-frame audio data, each frame of audio data includes a plurality of PCM samples (eg, one frame of audio data may include 640 PCM samples), and each PCM sample corresponds to a sine wave A sample value.
  • PCM Sinusoidal Pulse Code Modulation
  • PCM sample a sample point passing through a sine wave of a first amplitude or a sine wave of a second amplitude, quantized and The data obtained after encoding.
  • the method and device for testing the audio loop delay provided in the embodiment of the present application can be applied to the audio loop delay in the test terminal.
  • the application scenario of the application is introduced. With the rapid development of the Internet, more and more terminals are provided. Support real-time audio scenes, such as K songs, DJs, and games. In these real-time audio scenarios, the audio data that the user wishes to input to the terminal can be output from the terminal as soon as possible. Based on this, the present application provides a method and apparatus for testing an audio loop delay to test an audio loop delay of a terminal.
  • FIG. 2 shows a hardware structure of the terminal 200, as shown in FIG. 2, which may include: a processor 201, a memory 202, a display device 203, an input device 204, an audio circuit 205, Microphone 206 and speaker 207.
  • the memory 202, the display device 203, and the input device 204 are all connected to the processor 201.
  • the memory 202 is configured to store an executable program, including the program for testing the audio loop delay provided by the present application
  • the memory 202 includes a memory and an external memory, and the memory may be a random access memory (RAM), a read only memory (ROM), and Cache (CACHE), etc.
  • the external storage can be a hard disk, a CD, a USB disk, a floppy disk or a tape drive.
  • the executable program is usually stored on the external memory, and the processor 201 loads the executable program from the external memory into the memory before executing the program, for example, a program for performing the method for testing the audio loop delay provided by the present application.
  • the components of the terminal 200 will be specifically described below with reference to FIG. 1 :
  • the processor 201 is a control center of the terminal 200, which connects various parts of the terminal by various interfaces and lines, by running or executing a program (or "unit") stored in the memory 202, and calling the memory stored in the memory 202.
  • the data, various functions and data processing of the terminal 200 are performed, thereby performing overall monitoring of the terminal 200.
  • the processor 201 may include at least one processing unit that integrates processing and wireless communication functions.
  • the processor 201 may also include an application processor and a modem.
  • the application processor mainly processes the operating system. User interface and applications, etc. Modems are primarily used for wireless communication.
  • the memory 202 mainly includes a storage program area and a storage data area.
  • the storage program area may store an operating system of the terminal (for example, an Android operating system, an IOS operating system, etc.), an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.), And an application program of the method for testing the audio loop delay involved in the embodiment of the present application.
  • the storage data area may store data created according to the use of the terminal 200, including related setting information or usage information of the method of testing the audio loop delay involved in the present application.
  • the display device 203 is configured to display information input by the user, information provided to the user, and various menus of the terminal 200, including various information about a method for testing an audio loop delay involved in the embodiment of the present application, such as parameter configuration information. And test results display information and so on.
  • the input device 204 is configured to receive the input digits, the character information, and various input commands, such as the start test command and the stop test command of the method for testing the audio loop delay provided by the present application.
  • Input device 204 can also include a touch panel and/or other type of input device.
  • the touch panel may also be referred to as a touch screen, and may collect a touch operation on or near the user (for example, a touch operation on or near the user using a finger, a stylus, or the like).
  • Other types of input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons and switch buttons, etc.), a mouse, a trackball, and a joystick.
  • the audio circuit 205 is configured to perform acoustic/electrical conversion on the microphone 206, amplify the obtained analog audio data, convert it into digital audio data, perform PCM encoding, and transmit the encoded digital audio data to the processor 201. Or, The digital audio data transmitted by the processor 201 is subjected to PCM decoding, the decoded digital audio data is converted into analog audio data, and then power amplification is performed, and the speaker 207 performs electrical/acoustic conversion to push the speaker to sound.
  • the internal structure of the terminal 200 shown in FIG. 2 does not constitute a limitation to the terminal, and may include more or less parts than those illustrated, or combine some components, or different component arrangements.
  • the terminal 200 when it communicates with the outside world in a wireless manner, it may further include a radio frequency (RF) circuit and a connected antenna, a wireless fidelity (WIFI) module, and a connected antenna.
  • RF radio frequency
  • WIFI wireless fidelity
  • the terminal 200 may further include a sensor and a power source for supplying power thereto, etc., and are not enumerated here.
  • the present application provides a method for testing an audio loop delay.
  • the terminal involved in the method may be specifically the terminal 200.
  • the speaker may be specifically the speaker 207, and the microphone may be specifically the microphone 206.
  • the audio loop delay is composed of the recording delay of the recording thread and the playback delay of the playback thread.
  • the main principle of the method is: preset audio file, the preset audio file is preset.
  • the terminal In the terminal (such as placed in the buffer in Figure 1 above, or other storage area, and then load the preset audio file into the buffer when performing the test), start the playback thread, play the preset audio file, The first time information of playing the preset file is recorded; at the same time, the recording thread is started, and the recording thread records the preset audio file played by the playing thread to obtain the second time information of the recorded audio file. Then, based on the first time information and the second time information, the delay of the audio loop is determined, for example, the audio loop delay is set as the difference between the second time information and the first time information.
  • Step S31 The terminal starts a preset playing thread.
  • the processing process of the playing thread is: the second audio transmission unit reads the preset audio file from the buffer, and transmits the read preset audio file to the system audio service unit, the system audio.
  • the service unit then transmits the preset audio file to the DAC via the hardware and software driver and the Bus, and the DAC converts the preset audio file into an analog file for electrical/audio conversion and plays through the speaker.
  • Step S32 The terminal starts a preset recording thread.
  • the processing process of the recording thread is: the sound played by the input speaker in the microphone is converted by sound/electricity, and the analog file can be obtained at this time, and the analog file can be converted into a digital file by ADC conversion.
  • the digital file at this time is a preset audio file; the preset audio file is transmitted to the first audio transmission unit via the driving and system audio service unit, and the first audio transmission unit writes the preset audio file to the buffer. .
  • Step S33 The terminal determines the audio loop delay of the terminal according to the first time information of the preset audio file played by the playing thread and the second time information of the audio file recorded by the recording thread.
  • a target data can be determined in a preset audio file, which can be used as a reference for calculating an audio loop delay. Then, determining a first time information that the playing thread starts playing the target data, and a second time information that the recording thread records the target data, and finally, a difference between the second time information and the first time information as the audio of the terminal Loop delay; for example, the second time information is 10:59:50,35 milliseconds, and the first time information is 10:59:50,40 milliseconds, then the audio loop delay of the terminal is 5 milliseconds.
  • first time information and the second time information described above are merely for distinguishing different time information, and are not to be understood as indicating or implying relative importance, nor as indicating or suggesting order.
  • the step S31 to the step S33 do not limit the sequence before and after the terminal performs the steps of the present application, and the method provided by the present application may be performed in the order of step S31, step S32, and step S33.
  • the method of the present application can be performed in the order of step S32, step S31, and step S33, all within the scope of protection of the present application.
  • the recording thread may be first executed in step S32, and then the step S31 is executed to perform the playback. Thread.
  • the terminal first starts the playing thread and the recording thread, the playing thread will play the preset audio file, and the recording thread will record the preset audio file played by the playing thread, and the terminal records and plays the preset audio.
  • the first time information of the file and the second time information of the preset audio file are recorded; finally, the terminal determines the audio loop delay inside the terminal according to the first time information and the second time information.
  • the preset audio file may be a sine wave PCM file; wherein the sine wave PCM file performs PCM processing on a sine wave of a first amplitude and a sine wave of a second amplitude
  • the obtained file, the PCM processing includes three processes of sampling, quantizing, and encoding a sine wave.
  • the amplitude of the sine wave of the first amplitude may be A
  • the amplitude of the sine wave of the second amplitude may be 2A
  • the sine wave and the second amplitude of the first amplitude may be the same or different, for example, the frequency of both may be 440HZ.
  • the sampling value corresponding to the first peak of the second amplitude sine wave in the sine wave PCM file may be specifically used as the target data to calculate the audio loop delay, and the process is as follows:
  • the terminal determines that the playing thread plays the first time information of the sample value corresponding to the first peak of the sine wave of the second amplitude.
  • the sampling values corresponding to the sine wave of the first amplitude and the sine wave of the second amplitude respectively may be different in the playing time by the first time length ⁇ t, and the sine wave corresponding to the first amplitude corresponds to The playing time of the sampled value is earlier than the playing time of the sampled value corresponding to the sine wave of the second amplitude.
  • the sample value of the sine wave of the first amplitude is played first, and after the sine wave 5S of the first amplitude is played, the sample value corresponding to the sine wave of the second amplitude is played.
  • the calculation process is as follows: recording the time information that the playing thread starts playing the preset audio file (for example, starting the playing of the preset audio file at time T1), and then according to the time T1, the first amplitude
  • the first time duration (for example, ⁇ t) of the sine wave and the sine wave of the second amplitude are different in the playing time, and time information (for example, T1+ ⁇ t) corresponding to the acquired value of the sine wave that starts playing the second amplitude is calculated; Determining, according to T1+ ⁇ t, and a period T of the sine wave of the second amplitude, the first time information of the sampling value corresponding to the first peak of the sine wave of the second amplitude played by the playing thread; as can be seen from FIG.
  • the first time information for playing the sample value corresponding to the first peak of the second amplitude sine wave is T1 + ⁇ t + 1/4T.
  • T1+ ⁇ t can also be directly used as the first time information of the sample value corresponding to the first peak of the second amplitude sine wave. Also within the scope of protection of this application.
  • the terminal determines that the recording thread records the second time information of the sample value corresponding to the first peak of the sine wave of the second amplitude, as shown in FIG. 6.
  • Step S61 determining an audio data frame to which the PCM sample of the first peak of the second amplitude sine wave belongs;
  • the preset audio file may include multi-frame audio data.
  • the terminal records the time when the audio data of each frame in the preset audio file reaches the recording thread, and forms a correspondence relationship between the frame index and the time, such as MAP.
  • MAP ⁇ (1st frame audio data, Time1), (2nd frame audio data, Time2), (3rd frame audio data, Time3)» ⁇ .
  • Timel, Time2 togetherTimeN is the corresponding audio data of each frame up to the recording thread. time.
  • each frame of audio data may include a plurality of PCM samples (eg, typically one frame of audio data includes 640 PCM samples), each PCM sample corresponding to a PCM sample value.
  • PCM samples eg, typically one frame of audio data includes 640 PCM samples
  • the left gradient GradientL[n] and the right gradient GradientR[n] for each PCM sample can be found.
  • Sample[n] represents the current PCM sample
  • Sample[n-1] represents the left adjacent PCM sample in the current PCM sample in one frame of audio data
  • Sample[n+1] represents one frame of audio data.
  • the PCM sample immediately adjacent to the current PCM sample.
  • both the left gradient and the right gradient of one PCM sample are greater than 0, it indicates that the PCM sample is an acquisition value corresponding to a peak representing a sine wave;
  • the peak PCM sample set includes a peak set index set S I and a wave peak set S V ; wherein the peak set index set S I represents the PCM number of each peak sample, and the wave peak set S V represents the size of the sample value corresponding to the peak ;
  • a specific implementation may be: an iterative wave peak set S V , and a peak gradient G[j].
  • V[j] represents the sample value corresponding to the current peak
  • V[j-1] represents the sample value corresponding to the left peak adjacent to the current peak
  • the audio data frame to which the PCM sample of the first peak of the second amplitude sine wave belongs is determined.
  • FrameL may specifically include the number of PCM samples per frame.
  • Step S62 Searching, from the correspondence relationship MAP between the audio data frame and the time of the recording thread, the time at which the audio data frame to which the PCM sample of the first peak belongs belongs to the recording thread;
  • Step S63 the sample number of PCM samples in the first peak amplitude of the second sine wave corresponds according to I j, the audio data frame length FrameL PCM samples and the frequency of the second sinusoidal amplitude, determined An offset time of the PCM sample of the first peak of the second amplitude sine wave relative to the assigned audio data frame to the recording thread time;
  • the terminal determines the offset time of the PCM sample of the first peak of the second amplitude sine wave relative to the time at which the assigned audio data frame reaches the recording thread, which meets the following formula:
  • said T represents an offset time of a PCM sample of a first peak of said second amplitude sine wave relative to a time of arrival of said belonging audio data frame; said Ij representing said second amplitude The sample number of the PCM sample of the first peak in the sine wave; the FrameL represents the length of the audio data frame, the % represents the remainder, and the Samplerate represents the terminal to perform PCM sampling on the second amplitude sine wave Frequency of.
  • I j is 10014
  • FrameL is 1000
  • I j and FrameL can be obtained as 14, and it can be seen that I j is the 14th PCM sample in the belonging data frame
  • 14*1/Samplerate is the offset time of I j in the audio data frame to which it belongs
  • Samplerate represents the frequency of PCM sampling
  • 1/Samplerate represents the period of PCM sampling, ie, how long to collect a PCM per interval Sample
  • 14*1/Samplerate is the time information for collecting the 14th PCM sample in the current audio data frame.
  • Step S64 Determine, according to the time when the belonging audio data frame arrives at the recording thread and the offset time, the recording time to record the second time information of the sample value corresponding to the first peak in the sine wave of the second amplitude.
  • the time when the audio data frame to which the first peak of the second amplitude sine wave belongs to the recording thread and the calculated programming time may be specifically summed as the first peak in the second amplitude sine wave.
  • Tloop TimeFrameIndex+Ij%FrameL*1/Samplerate-(T1+ ⁇ t+1/4T);
  • TimeFrameIndex+Ij%FrameL*1/Samplerate represents the second time information of the recording thread starting to record the first peak of the second amplitude sine wave, wherein TimeFrameIndex represents the first peak of the second amplitude sine wave belongs to When the audio data frame reaches the recording thread, Ij%FrameL*1/Samplerate represents the offset time of the first peak of the second amplitude amplitude sine wave within the frame of the belonging data; (T1+ ⁇ t+1/4T) Representing the first time when the playing thread starts playing the first peak of the second amplitude sine wave, T1 is the time to start playing the first amplitude sine wave, and ⁇ t represents the second amplitude sine wave and the first amplitude sine wave in the playing time The time difference, 1/4T represents the time from the start of playing the second amplitude sine wave to the play to the peak.
  • an apparatus 700 for testing an audio loop delay including a processor 701 and a memory 702;
  • the memory 702 is used to store the program instructions of the method for testing the audio loop delay.
  • the memory 702 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD). It can also be a volatile memory such as a random-access memory (RAM).
  • a memory is any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto.
  • the processor 701 may be a central processing unit (CPU), or a digital processing module, etc., and the processor 701 is configured to read code in the memory for executing the test audio loop.
  • the method of extending is specifically: opening a preset playing thread, wherein the playing thread is configured to read a preset audio file from a buffer of the device, and play the preset audio file via a speaker of the device; Opening a preset recording thread, the recording thread is configured to record a preset audio file played by the speaker through a microphone of the device Determining an audio loop delay of the device according to the first time information of the playback thread playing the preset audio file and the second time information of the recording thread recording the preset audio file, the audio Loop delay refers to the time it takes for sound to be input from the microphone of the device to the output from the speaker of the device.
  • the processor 701 determines, according to the first time information that the preset audio file is played by the playing thread, and the second time information that the recording thread records the preset audio file, determining an audio loop of the device.
  • the time delay is specifically configured to: determine that the playing thread plays the first time information of the target data in the preset audio file; and determine that the recording thread records the second time information of the target data in the preset audio file; Determining an audio loop delay of the device according to a difference between the second time information and the first time information.
  • the preset audio file is a sine wave pulse code modulation PCM file
  • the sine wave PCM file is obtained by performing PCM processing on a sine wave of a first amplitude and a sine wave of a second amplitude
  • the target data of the preset audio file is a sample value corresponding to the first peak of the second amplitude sine wave.
  • the sampling value corresponding to the sine wave of the first amplitude and the sine wave of the second amplitude respectively differ by a first time length in the playing time, and the sampling value corresponding to the sine wave of the first amplitude is played.
  • the time is earlier than the playing time of the sample value corresponding to the sine wave of the second amplitude;
  • the processor 701 is specifically configured to: Recording, by the playing thread, time information for playing the preset audio file; starting time information for playing the preset audio file, the sine wave of the first amplitude, and a sine wave of the second amplitude according to the playing thread Determining, by the device, the time information of the sampling value corresponding to the sine wave of the second amplitude is started, and the sine of the second amplitude is started according to the device. Determining the time information of the sample value corresponding to the wave and the period of the second amplitude sine wave, determining that the playing thread plays the first
  • the preset audio file includes multi-frame audio data, each frame of audio data includes a plurality of PCM samples, each PCM sample corresponds to one PCM sample value; and the processor 701 determines that the recording thread records the pre-
  • the second time information of the target data in the audio file is specifically configured to: determine an audio data frame to which the PCM sample of the first peak of the second amplitude sine wave belongs; from the audio data frame to the time of reaching the recording thread Corresponding relationship, the audio data frame to which the PCM sample of the first peak is located corresponds to the time of reaching the recording thread, and the corresponding relationship between the audio data frame and the time of reaching the recording thread is according to the preset audio.
  • the audio data of each frame in the file is determined by the time of arrival of the recording thread; the sample number of the PCM sample corresponding to the first peak of the sine wave of the second amplitude, the length of the audio data frame, and the second amplitude
  • the sine wave is subjected to PCM sampling, and the PCM sample of the first peak of the sine wave of the second amplitude is determined to be recorded with respect to the belonging audio data frame.
  • the offset time of the thread time determining, according to the time when the belonging audio data frame arrives at the recording thread and the offset time, the recording thread to record the sample value corresponding to the first peak of the sine wave of the second amplitude Two time information.
  • the method is specifically configured to: calculate each PCM sample in the preset audio file.
  • the left gradient refers to the difference between the sampled value of a PCM sample and the sampled value of an adjacent left PCM sample
  • the right gradient refers to the sampled value of a PCM sample and the adjacent right PCM sample a difference between the sampled values
  • from the PCM samples of the preset audio file finding PCM samples whose left gradient and right gradient are both greater than zero, establishing a peak PCM sample set
  • the processor 701 determines an offset time of the PCM sample of the first peak in the sine wave of the second amplitude relative to the time at which the belonging audio data frame reaches the recording thread, and meets the following formula:
  • the T represents an offset time of a PCM sample of the first peak of the second amplitude sine wave relative to a time at which the assigned audio data frame reaches a recording thread time;
  • the i j represents the second amplitude The sample number of the PCM sample of the first peak in the sine wave;
  • the FrameL represents the length of the audio data frame, the % represents the remainder, and
  • the Samplerate represents PCM sampling of the second amplitude sine wave by the device Frequency of.
  • device 700 can also include a communication interface for communicating with external devices.
  • connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application.
  • the embodiment of the present application is connected by a bus between the processor 701 and the memory 702 in FIG. 7.
  • FIG. 7 is represented by a hollow double arrow line, but does not mean that there is only one bus or one type of bus, and other components are
  • the connection method is only for illustrative purposes and is not limited.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like.
  • the device 700 may be a terminal as shown in FIG. 2, and the method of testing the audio loop delay as shown in FIG. 3 may be specifically performed.
  • the present application further provides an apparatus 800 for testing an audio loop delay, including:
  • the opening unit 801 is configured to enable a preset playing thread and a recording thread, where the playing thread is configured to read a preset audio file from a buffer of the terminal, and play the preset through a speaker of the terminal An audio file; the recording thread is configured to record a preset audio file played by the speaker through a microphone of the terminal;
  • a determining unit 802 configured to determine, according to the first time information that the playing thread plays the preset audio file, and the second time information that the recording thread records the preset audio file, determine an audio loop of the terminal
  • the audio loop delay refers to the time taken for the sound to be input from the microphone of the terminal to the speaker output from the terminal.
  • the determining unit 802 is specifically configured to: determine that the playing thread plays the first time information of the target data in the preset audio file; and determine that the recording thread records the target data in the preset audio file. Second time information; determining an audio loop delay of the terminal according to a difference between the second time information and the first time information.
  • the preset audio file is a sine wave pulse code modulation PCM file
  • the sine wave PCM file is obtained by performing PCM processing on a sine wave of a first amplitude and a sine wave of a second amplitude
  • the target data of the preset audio file is a sample value corresponding to the first peak of the second amplitude sine wave.
  • the sampling value corresponding to the sine wave of the first amplitude and the sine wave of the second amplitude respectively differ by a first time length in the playing time, and the sampling value corresponding to the sine wave of the first amplitude is played.
  • the determining unit 802 is configured to: when the playing thread plays the first time information of the target data in the preset audio file, to record time information that the playing thread starts playing the preset audio file; The playing thread starts playing the time information of the preset audio file, the sine wave of the first amplitude and the sampling time corresponding to the sine wave of the second amplitude are different in the playing time, and determining that the terminal starts playing Positive of the second amplitude Time information of the sampled value corresponding to the sine wave; determining, according to the time information of the sampling value corresponding to the sine wave of the second amplitude and the period of the second amplitude sine wave, determining the play thread playing station The first time information of the sample value corresponding to the first peak of the second amplitude sine wave.
  • the preset audio file includes multi-frame audio data, each frame of audio data includes a plurality of PCM samples, and each PCM sample corresponds to one PCM sample value;
  • the determining unit 802 is configured to: determine, by the recording thread, the second time information of the target data in the preset audio file, to determine that the PCM sample of the first peak of the second amplitude sine wave belongs to An audio data frame; in a correspondence between the audio data frame and the time of reaching the recording thread, searching for an audio data frame to which the PCM sample of the first peak belongs to correspond to a time of reaching the recording thread, the audio data frame and arrival Corresponding relationship of the recording thread time is determined according to the audio data of each frame in the preset audio file and the time of reaching the recording thread; the sample number of the PCM sample corresponding to the first peak of the sine wave according to the second amplitude a length of the audio data frame and a frequency of PCM sampling the sine wave of the second amplitude, determining that the PCM sample of the first peak of the second amplitude sine wave arrives at the recording thread with respect to the belonging audio data frame Time offset time; determining the recording thread recording station according to the time when the belonging audio data frame arrives at the recording thread
  • the determining unit 802 is specifically configured to: calculate each PCM sample in the preset audio file.
  • the left gradient refers to the difference between the sampled value of a PCM sample and the sampled value of an adjacent left PCM sample
  • the right gradient refers to the sampled value of a PCM sample and the adjacent right PCM sample a difference between the sampled values
  • from the PCM samples of the preset audio file finding PCM samples whose left gradient and right gradient are both greater than zero, establishing a peak PCM sample set
  • the determining unit 802 determines the offset time of the PCM sample of the first peak in the sine wave of the second amplitude relative to the time of the belonging audio data frame to the recording thread time, and meets the following formula:
  • the T represents an offset time of a PCM sample of the first peak of the second amplitude sine wave relative to a time at which the assigned audio data frame reaches a recording thread time;
  • the i j represents the second amplitude The sample number of the PCM sample of the first peak in the sine wave;
  • the FrameL represents the length of the audio data frame, the % represents the remainder, and
  • the Samplerate represents the terminal to perform PCM sampling on the second amplitude sine wave Frequency of.
  • each functional module in each embodiment of the present application may be integrated into one processing. In the device, it can also be physically existed alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • Figure 7 or The device shown in Figure 2 can be a specific implementation of Figure 8.
  • One implementation of the opening unit 801 and the determining unit 802 shown in FIG. 8 is implemented by calling the computer storage instruction in the memory 702 by the processor 701 shown in FIG.
  • a computer readable storage medium comprising instructions for causing a computer to perform a method of testing an audio loop delay when it is run on a computer.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

L'invention concerne un procédé et un dispositif destinés à tester la latence d'une boucle audio. Le procédé comprend les étapes suivantes : un terminal démarre un fil de lecture prédéfini, le fil de lecture étant utilisé pour lire un fichier audio prédéfini à partir d'un tampon du terminal, et lit le fichier audio prédéfini au moyen du haut-parleur du terminal ; le terminal démarre un fil d'enregistrement sonore prédéfini, le fil d'enregistrement sonore étant utilisé pour enregistrer, au moyen du microphone du terminal, le fichier audio prédéfini lu par le haut-parleur ; le terminal détermine la latence de la boucle audio du terminal, en fonction de premières informations temporelles concernant le fil de lecture lisant le fichier audio prédéfini et de secondes informations temporelles concernant le fil d'enregistrement sonore enregistrant le fichier audio prédéfini, la latence de la boucle audio faisant référence au temps entre le moment où un son est entré dans le microphone du terminal et le moment où le son est émis par le haut-parleur du terminal. Le procédé et le dispositif de la présente invention permettent de tester la latence de la boucle audio.
PCT/CN2017/082238 2016-12-30 2017-04-27 Procédé et dispositif destinés à tester la latence d'une boucle audio WO2018120545A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780009092.1A CN108702568B (zh) 2016-12-30 2017-04-27 一种测试音频回路时延的方法及设备

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611264801 2016-12-30
CN201611264801.4 2016-12-30

Publications (1)

Publication Number Publication Date
WO2018120545A1 true WO2018120545A1 (fr) 2018-07-05

Family

ID=62707668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082238 WO2018120545A1 (fr) 2016-12-30 2017-04-27 Procédé et dispositif destinés à tester la latence d'une boucle audio

Country Status (2)

Country Link
CN (1) CN108702568B (fr)
WO (1) WO2018120545A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381954A (zh) * 2018-12-27 2020-07-07 深圳市优必选科技有限公司 一种音频数据录制方法、系统及终端设备
CN112073879A (zh) * 2020-09-11 2020-12-11 成都极米科技股份有限公司 音频同步播放方法、装置、视频播放设备及可读存储介质
CN113593570A (zh) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 语音异常诊断方法、装置、设备及存储介质
CN114430471A (zh) * 2021-12-02 2022-05-03 阿里巴巴达摩院(杭州)科技有限公司 音频传输时延的测量方法、装置、设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110931053B (zh) * 2019-12-09 2021-10-08 广州酷狗计算机科技有限公司 检测录音时延、录制音频的方法、装置、终端及存储介质
CN113381899B (zh) * 2020-02-25 2023-09-22 福建天泉教育科技有限公司 一种投屏技术中第一声延迟测试的方法及其系统
CN113688656A (zh) * 2020-05-19 2021-11-23 福建天泉教育科技有限公司 一种投屏软件中声音延迟测试的方法及其系统
CN115440237A (zh) * 2022-08-31 2022-12-06 云知声智能科技股份有限公司 一种快速获取智能设备回采时延的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970568B1 (en) * 1999-09-27 2005-11-29 Electronic Engineering And Manufacturing Inc. Apparatus and method for analyzing an electro-acoustic system
CN1952628A (zh) * 2005-10-18 2007-04-25 索尼株式会社 声音测量设备和方法以及音频信号处理设备
CN101448186A (zh) * 2007-11-26 2009-06-03 鸿富锦精密工业(深圳)有限公司 扬声器音效自动调整系统及方法
CN102325059A (zh) * 2011-09-09 2012-01-18 华南理工大学 非介入式单端采集的音频端到端时延测量方法及装置
CN104778950A (zh) * 2014-01-15 2015-07-15 华平信息技术股份有限公司 一种基于回声消除的麦克风信号延时补偿控制方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2528135B2 (ja) * 1987-07-28 1996-08-28 株式会社日立製作所 音響模擬装置
KR101149448B1 (ko) * 2007-02-12 2012-05-25 삼성전자주식회사 오디오 부호화 및 복호화 장치와 그 방법
CN102568494B (zh) * 2012-02-23 2014-02-05 贵阳朗玛信息技术股份有限公司 消除回声的优化方法、装置及系统
CN104394286A (zh) * 2014-08-27 2015-03-04 贵阳朗玛信息技术股份有限公司 一种回声消除方法及装置
CN205566643U (zh) * 2016-04-28 2016-09-07 湖南工业大学 一种音频回环自动测试系统
CN106210371B (zh) * 2016-08-31 2018-09-18 广州视源电子科技股份有限公司 一种回声时延的确定方法、装置及智能会议设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970568B1 (en) * 1999-09-27 2005-11-29 Electronic Engineering And Manufacturing Inc. Apparatus and method for analyzing an electro-acoustic system
CN1952628A (zh) * 2005-10-18 2007-04-25 索尼株式会社 声音测量设备和方法以及音频信号处理设备
CN101448186A (zh) * 2007-11-26 2009-06-03 鸿富锦精密工业(深圳)有限公司 扬声器音效自动调整系统及方法
CN102325059A (zh) * 2011-09-09 2012-01-18 华南理工大学 非介入式单端采集的音频端到端时延测量方法及装置
CN104778950A (zh) * 2014-01-15 2015-07-15 华平信息技术股份有限公司 一种基于回声消除的麦克风信号延时补偿控制方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381954A (zh) * 2018-12-27 2020-07-07 深圳市优必选科技有限公司 一种音频数据录制方法、系统及终端设备
CN111381954B (zh) * 2018-12-27 2024-05-03 深圳市优必选科技有限公司 一种音频数据录制方法、系统及终端设备
CN112073879A (zh) * 2020-09-11 2020-12-11 成都极米科技股份有限公司 音频同步播放方法、装置、视频播放设备及可读存储介质
CN113593570A (zh) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 语音异常诊断方法、装置、设备及存储介质
CN114430471A (zh) * 2021-12-02 2022-05-03 阿里巴巴达摩院(杭州)科技有限公司 音频传输时延的测量方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN108702568B (zh) 2020-04-21
CN108702568A (zh) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2018120545A1 (fr) Procédé et dispositif destinés à tester la latence d'une boucle audio
US10785541B2 (en) Screencast recording method, screencast playing method, screen recording terminal, and playing terminal
WO2020024945A1 (fr) Procédé et appareil de détermination d'une estampille temporelle
CN102348150A (zh) 音频信号处理装置、音频信号处理方法和程序
CN113726600B (zh) 传输时延确定方法、装置、终端及存储介质
US20240054157A1 (en) Song recommendation method and apparatus, electronic device, and storage medium
WO2020024980A1 (fr) Procédé et appareil de traitement de données
WO2020024962A1 (fr) Procédé et appareil de traitement de données
WO2021212985A1 (fr) Procédé et appareil d'apprentissage d'un modèle de réseau acoustique, et dispositif électronique
CN109600661B (zh) 用于录制视频的方法和装置
US20240404548A1 (en) Method, apparatus, device and storage medium for video recording
CN104064212A (zh) 录音方法及装置
CN102047338A (zh) 优化媒体内容中的搜索功能
CN1980437B (zh) 用于移动电话的声音效果处理方法及装置
WO2020024949A1 (fr) Procédé et appareil de détermination d'horodatage
CN117393091A (zh) 查房方法、装置、移动机器人及存储介质
CN114595361B (zh) 一种音乐热度的预测方法、装置、存储介质及电子设备
CN116320372A (zh) 音频延时检测方法、系统、装置、存储介质和处理器
CN104835500A (zh) 一种音频信息获取的方法及其装置
CN111147655B (zh) 模型生成方法和装置
CN103152669A (zh) 一种采用智能终端运算音频效果器的方法
JP2017203931A (ja) 音響特性測定装置及び音響特性測定方法
CN105721886B (zh) 一种音频信息显示方法、装置和播放设备
CN117979211B (zh) 集成音箱系统及其控制方法
CN116437263A (zh) 回采系统信息获取方法、录音信号处理方法、设备和产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17889331

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17889331

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载