CN109410967B - Method and system for transmitting audio data from iOS system to android system - Google Patents

Method and system for transmitting audio data from iOS system to android system Download PDF

Info

Publication number
CN109410967B
CN109410967B CN201710698649.9A CN201710698649A CN109410967B CN 109410967 B CN109410967 B CN 109410967B CN 201710698649 A CN201710698649 A CN 201710698649A CN 109410967 B CN109410967 B CN 109410967B
Authority
CN
China
Prior art keywords
audio information
audio
format
amr
ios system
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
CN201710698649.9A
Other languages
Chinese (zh)
Other versions
CN109410967A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710698649.9A priority Critical patent/CN109410967B/en
Publication of CN109410967A publication Critical patent/CN109410967A/en
Application granted granted Critical
Publication of CN109410967B publication Critical patent/CN109410967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/018Audio watermarking, i.e. embedding inaudible data in the audio signal
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1262Formatting, e.g. arrangement of data block or words on the record carriers with more than one format/standard, e.g. conversion from CD-audio format to R-DAT format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The invention provides a method and a system for transmitting audio data from an iOS system to an android system, wherein the method comprises the following steps: step 1, converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server; and 2, downloading the audio information after the amr audio format conversion from the server by the android system. The method has the advantages that when the iOS system is switched to the android system, the size of the recorded audio file is reduced under the condition of ensuring the tone quality, so that the speed of uploading and downloading the audio file is increased, and the storage space is saved.

Description

Method and system for transmitting audio data from iOS system to android system
Technical Field
The invention relates to the technical field of internet voice, in particular to a method and a system for transmitting audio data from an iOS system to an android system.
Background
With the upgrading of mobile internet devices and the increasing of the speed of mobile internet, people have been increasingly unsatisfied with the traditional information obtaining methods, such as characters and pictures, and tend to obtain information by using video, audio and other methods.
Currently, the common modes of mobile audio are mainly classified into two categories: real-time voice communication and recording on demand. However, because of differences between the iOS and the android platform, the types of audio format supports are different, and in order to solve the differences, a common technology for cross-platform audio transmission is to transmit audio files between the iOS and the android in an MP3 format.
However, the above prior art has the following disadvantages: 1. the MP3 file is large, and has a high demand on the network speed, so the recording duration has certain limitation; 2. the default audio formats recorded at the two system ends are not in an MP3 format, the iOS is in a wav format, and the android is in an amr format, and the audio formats need to be transcoded into an MP3 format, so that system resources are wasted.
Disclosure of Invention
To overcome the above problems or to at least partially solve the above problems, the present invention provides a method for an iOS system to transmit audio data to an android system.
According to an aspect of the present invention, there is provided a method for an iOS system to transmit audio data to an android system, including:
step 1, converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server by using the libopencore frame;
and 2, downloading the audio information after the amr audio format conversion from the server by the android system.
Further, before the step 1, the method further comprises: recording audio information by using the AVAudioRecorder in the iOS system; and performing md5 encryption on the service ID to which the audio information belongs, and taking the encrypted service ID character string as the file name of the audio information.
Further, the step of converting the recorded audio information format into an amr audio format in step 1 further includes:
converting wav format audio information recorded by the iOS system into an amr audio format by a convertWavToAmr method in the iOS system.
Further, step 1 is followed by:
and deleting the audio information after the amr audio format conversion in the iOS system.
Further, still include:
and deleting the audio information after the amr audio format conversion in the iOS system and/or the android system according to a preset audio information cleaning rule based on the encrypted service ID character string as the file name of the audio information.
Further, the step 2 further comprises:
and the IOS system downloads the audio information after the amr audio format conversion from the server and converts the amr audio information into the wav format by using a convertAmrTowav method.
Further, the preset audio information cleaning rule comprises an audio information mandatory deletion rule and/or an audio information automatic deletion rule;
the audio information mandatory deletion rule is as follows: deleting the audio information containing the target service ID to be deleted in the file name by using a removeFileAtPath method;
the automatic audio information deleting rule is as follows: and when the quantity of the stored audio information in the amr format exceeds a preset threshold value, traversing all the stored audio information in the amr format, sequencing all the audio information in the amr format according to the modification time, and deleting n pieces of modified audio information in m moments nearest to the modification time, wherein m and n are positive integers.
According to another aspect of the present invention, there is provided a system for transmitting audio data to an android system by an iOS system, including:
the uploading module is used for converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame and uploading the audio information after the amr audio format conversion to a server;
and the playing module is used for controlling the android system to download the audio information after the amr audio format conversion from the server.
According to another aspect of the present invention, there is provided an apparatus of a method for an iOS system to transmit audio data to an android system, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor being capable of performing the method as described in any one of the above.
According to another aspect of the present invention, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method as in any one of the above.
The method for transmitting the audio data to the android system by the iOS system has the beneficial effects that when the iOS system is used for transmitting the audio data to the android system, the size of the recorded audio file is reduced under the condition of ensuring the tone quality, so that the speed of uploading and downloading the audio file is increased, and the storage space is saved.
Drawings
Fig. 1 is a schematic overall flow chart of a method for transmitting audio data to an android system by an iOS system according to an embodiment of the present invention;
fig. 2 is an overall framework schematic diagram of another system for transmitting audio data to an android system by an iOS system according to an embodiment of the present invention;
fig. 3 is a schematic structural framework diagram of a device of a method for transmitting audio data to an android system by an iOS system according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The noun explains:
AMR: the (Adaptive Multi-Rate) is a voice compression format applied to the mobile phone, and the AMR format has higher compression Rate. The advantage is that the file is small, the disadvantage is that the tone quality is poorer than other audio formats, but the voice quality is completely enough, and the method is a coding format specially optimized for ' speaking ' (speech ').
WAV: (Waveform Audio) is a standard sound file format, WAV is the closest lossless music format, and the sound file quality is comparable to CD. The disadvantage is that the occupied storage space is large.
MP 3: (MPEG Layer 3) is a sound compression technique specified by iSO/MPEG speech Coding Standard (Audio Coding Standard) by which generally uncompressed music data can be compressed to a size of 1:10 to 1:12 and maintained at a distortion rate that is hardly discernible to the human ear. However, compared with the mobile phone products, the space occupied by the MP3 is still not small.
Referring to fig. 1, an overall flowchart of a method for transmitting audio data to an android system by an iOS system in an embodiment of the present invention is shown. In general, the method comprises the following steps:
step 1, converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server;
and 2, downloading the audio information after the amr audio format conversion from the server by the android system.
On the basis of any one of the above specific embodiments of the present invention, a method for transmitting audio data to an android system by an iOS system further includes, before step 1: recording audio information by using the AVAudioRecorder in the iOS system; and performing md5 encryption on the service ID to which the audio information belongs, and taking the encrypted service ID character string as the file name of the audio information.
On the basis of any one of the above specific embodiments of the present invention, in the step 1, a method for transmitting audio data to an android system by an iOS system, where the step of converting the recorded audio information format into an amr audio format further includes:
converting wav format audio information recorded by the iOS system into an amr audio format by a convertWavToAmr method in the iOS system.
On the basis of any one of the above specific embodiments of the present invention, a method for transmitting audio data to an android system by an iOS system, further includes, after step 1:
and deleting the audio information after the amr audio format conversion in the iOS system.
On the basis of any one of the above specific embodiments of the present invention, a method for transmitting audio data to an android system by an iOS system further includes:
and deleting the audio information converted from the amr audio format in the iOS system and/or the android system according to a preset audio information cleaning rule based on the encrypted service ID character string as the file name of the audio information.
On the basis of any one of the foregoing specific embodiments of the present invention, a method for transmitting audio data to an android system by an iOS system, where step 2 further includes:
and the IOS system downloads the audio information after the amr audio format conversion from the server and converts the amr audio information into the wav format by using a convertAmrTowav method.
On the basis of any one of the above specific embodiments of the present invention, in a method for transmitting audio data to an android system by an iOS system, the preset audio information clearing rule includes an audio information mandatory deletion rule and/or an audio information automatic deletion rule;
the audio information mandatory deletion rule is as follows: deleting the audio information containing the target service ID to be deleted in the file name by using a removeFileAtPath method;
the automatic audio information deleting rule is as follows: and when the quantity of the stored audio information in the amr format exceeds a preset threshold value, traversing all the stored audio information in the amr format, sequencing all the audio information in the amr format according to the modification time, and deleting n pieces of modified audio information in m moments nearest to the modification time, wherein m and n are positive integers.
On the basis of any of the above embodiments of the present invention, a method for transmitting audio data to an android system by an iOS system is described in further detail below.
In the aspect of recording on demand, based on the difference between the iOS and the android system at present, the embodiment provides an optimization scheme for the audio transmission between the iOS and the android, that is, the audio recorded at each end can be played normally at the opposite end, and meanwhile, under the condition of ensuring the optimal tone quality, the size of the recorded audio file is reduced as much as possible, so that the speed of uploading and downloading the audio file is increased, and the disk space of the mobile phone is saved.
At present, the MP3 format is also known to be popular in the market, which has the advantage that both iOS and Android can be directly played, but the recorded audio does not support the format (iOS is wav format, and Android is amr format), and needs to be transcoded into MP3 format. The amr format does not support recording and playing at the iOS end, and the android device completely supports the amr format. wav is fully supported at the iOS end. The following steps are adopted in consideration of the support situation, the tone quality and the file size of the audio format: android recording and playing adopt an amr format, an iOS end recording and playing adopt wav, transcoding amr is uploaded, a server only stores one amr format, and the iOS performs mutual transcoding on the wav format and the amr format.
The embodiment takes an iOS system as an example, and the specific implementation is divided into the following steps.
Recording audio: an API (API) (AVAudio recorder) in the iOS system is adopted to record audio, a character string obtained by encrypting the service ID through md5 is used as an audio file name (the audio file is bound with a specific service, file management is facilitated, the audio file can be quickly searched through the service ID, repeated downloading can be avoided, flow is saved, and a wav audio file is generated. The file size of the actual recorded three-minute file is about 5.8 MB.
Audio uploading: transcoding the wav format into the amr format by adopting plus (BOOL) coverWavToAmrFromPath (NSString) wavPath to Path (NSString amPath), measuring the size of the amvPath not to exceed 290KB for three minutes, and uploading the converted amvPath to a server. Because the iOS end does not support the amr format, the local audition only can audition the wav format, and the amr format can be deleted (the deletion logic details are forcibly deleted in the cache strategy) after the uploading server succeeds, so that the disk occupancy rate of the iOS mobile phone end is reduced.
Audio transmission: because the Android terminal completely supports the amr format, the recording, audition and uploading are completely in the amr format. The iOS end transcodes the recorded wav into amr for uploading, and the server end is ensured to have only one audio format of amr. Because the file is smaller, the network speed of the current mobile internet is completely met.
Downloading audio to play: the iOS terminal downloads the amr format from the server, and the amr format is decoded into the wav format by a + (BOOL) convertToWavFromPath (NSString) amrPath to Path (NSString) wavPath method, so that the normal playing can be realized. Because the files in the amr format are small, the files are completed from downloading to decoding within a second level, and the decoding is completed within a millisecond level, so that the normal interaction of users can be met. after the amr is decoded into wav, the amr is deleted (the deletion logic is detailed in the forced deletion of the cache policy), so as to reduce the disk occupancy rate of the mobile phone.
When the steps are met, a file caching strategy is added: and managing audio files by using a character string obtained by encrypting the service ID through md5 as an audio file name, putting all audio cache files under a folder for centralized management, and forcibly deleting a certain file or automatically deleting an old file.
Forced deletion: whether the audio files belong to one part of the service during uploading or downloading, the audio files can be found through the service ID, and the audio files which are not needed any more are deleted by calling + (void) removeFileAtPath, wherein the filePath is a file name.
And (3) automatic deletion: when the number of files in the local audio cache folder is increased (audio is recorded, audio is downloaded, wav is transcoded into amr, and amr is transcoded into wav), plus (void) checkfiletoanalcount (NSInteger) fileCount is triggered, wherein the fileCount is the maximum value of the number of allowed local audio cache files (the default cache is 20), and when the maximum value is exceeded, all audio files in the local audio cache folder are scanned once, the audio files with the maximum number of recently modified files are reserved according to the file modification time sequence, and other files are deleted, so that the disk usage rate of the mobile phone terminal is reduced.
The above-mentioned embodiments of the present invention have the following beneficial effects:
1. the realization cost is low: the Android end and the server do not need to perform complex audio encoding and decoding processing, and only need to perform iOS end processing.
2. The voice quality is good: the iOS end adopts wav format to play, and wav is the most nearly lossless music format; the android terminal adopts the amr format for playing, so that the highest voice tone effect is ensured.
3. The audio transmission speed is fast: the voice uploading and downloading are in an amr format, the amr file is small, the 3-minute audio file does not exceed 290KB, and the requirement of the mobile internet network speed is met.
Fig. 2 is a block diagram illustrating an overall system for transmitting audio data to an android system by an iOS system according to an embodiment of the present invention. In general, the method comprises the following steps:
the uploading module A1 is used for converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server;
and the playing module A2 is used for controlling the android system to download the audio information after the amr audio format conversion from the server.
On the basis of any one of the above specific embodiments of the present invention, a system for transmitting audio data to an android system by an iOS system further includes a recording module, configured to record audio information by using an avaudioregister in the iOS system; and performing md5 encryption on the service ID to which the audio information belongs, and taking the encrypted service ID character string as the file name of the audio information.
On the basis of any one of the above specific embodiments of the present invention, in a system in which an iOS system transmits audio data to an android system, the upload module is further configured to:
converting wav format audio information recorded by the iOS system into an amr audio format by a convertWavToAmr method in the iOS system.
On the basis of any one of the above specific embodiments of the present invention, a system for transmitting audio data to an android system by an iOS system further includes a deletion module, configured to:
and deleting the audio information after the amr audio format conversion in the iOS system.
On the basis of any one of the above specific embodiments of the present invention, a system for transmitting audio data to an android system by an iOS system further includes a cleaning module, configured to:
and deleting the audio information converted from the amr audio format in the iOS system and/or the android system according to a preset audio information cleaning rule based on the encrypted service ID character string as the file name of the audio information.
On the basis of any one of the above specific embodiments of the present invention, in a system in which an iOS system transmits audio data to an android system, the playing module is further configured to:
and controlling the IOS system to download the audio information after the amr audio format conversion from the server, and converting the amr audio format information into a wav format by using a convertAmrTowav method.
On the basis of any one of the above specific embodiments of the present invention, in a system in which an iOS system transmits audio data to an android system, the preset audio information clearing rule includes an audio information mandatory deletion rule and/or an audio information automatic deletion rule;
the audio information mandatory deletion rule is as follows: deleting the audio information containing the target service ID to be deleted in the file name by using a removeFileAtPath method;
the automatic audio information deleting rule is as follows: and when the quantity of the stored audio information in the amr format exceeds a preset threshold value, traversing all the stored audio information in the amr format, sequencing all the audio information in the amr format according to the modification time, and deleting n pieces of modified audio information in m moments nearest to the modification time, wherein m and n are positive integers.
Fig. 3 shows a block diagram of a device in a method for transmitting audio data to an android system by an iOS system according to an embodiment of the present application.
Referring to fig. 3, the device of the method for transmitting audio data to an android system by an iOS system includes: a processor (processor)301, a memory (memory)302, and a bus 303;
wherein,
the processor 301 and the memory 302 complete communication with each other through the bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server; and the android system downloads the audio information after the amr audio format conversion from the server.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server; and the android system downloads the audio information after the amr audio format conversion from the server.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information after the amr audio format conversion to a server; and the android system downloads the audio information after the amr audio format conversion from the server.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the device and the like of the method for transmitting audio data to the android system by the iOS system are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, the method of the present application is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for transmitting audio data to an android system by an iOS system is characterized by comprising the following steps:
step 1, converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame, and uploading the audio information in the amr audio format to a server;
step 2, the android system downloads the audio information in the amr audio format from the server;
the method also comprises the following steps before the step 1: recording audio information by using the AVAudioRecorder in the iOS system; md5 encryption is carried out on the service ID to which the audio information belongs, and the encrypted service ID character string is used as the file name of the audio information;
based on the encrypted service ID character string as the file name of the audio information, deleting the audio information in the amr audio format in the iOS system and/or the android system according to a preset audio information cleaning rule; the preset audio information cleaning rules comprise audio information mandatory deletion rules and audio information automatic deletion rules; the audio information mandatory deletion rule is as follows: deleting the audio information containing the target service ID to be deleted in the file name by using a removeFileAtPath method; the automatic audio information deleting rule is as follows: and when the quantity of the stored audio information in the amr format exceeds a preset threshold value, traversing all the stored audio information in the amr format, sequencing all the audio information in the amr format according to the modification time, and deleting n pieces of modified audio information in m moments nearest to the modification time, wherein m and n are positive integers.
2. The method of claim 1, wherein the step of converting the recorded audio information format to an amr audio format in step 1 further comprises:
converting wav format audio information recorded by the iOS system into an amr audio format by a convertWavToAmr method in the iOS system.
3. The method of claim 2, further comprising, after step 1:
and deleting the audio information in the amr audio format in the iOS system.
4. The method of claim 2, wherein step 2 further comprises:
and the IOS system downloads the audio information in the amr audio format from the server and converts the audio information in the amr audio format into a wav format by using a convertAmrTowav method.
5. A system for transmitting audio data from an iOS system to an android system, comprising:
the encryption module is used for recording audio information by using the AVAudioRecorder in the iOS system; md5 encryption is carried out on the service ID to which the audio information belongs, and the encrypted service ID character string is used as the file name of the audio information;
the uploading module is used for converting the audio information format recorded by the iOS system into an amr audio format by using a libopencore frame and uploading the audio information in the amr audio format to a server;
the playing module is used for controlling the android system to download the audio information in the amr audio format from the server;
a deleting module, configured to delete the audio information in the amr audio format in the iOS system and/or the android system according to a preset audio information cleaning rule based on the encrypted service ID string as a file name of the audio information; the preset audio information cleaning rules comprise audio information mandatory deletion rules and audio information automatic deletion rules; the audio information mandatory deletion rule is as follows: deleting the audio information containing the target service ID to be deleted in the file name by using a removeFileAtPath method; the automatic audio information deleting rule is as follows: and when the quantity of the stored audio information in the amr format exceeds a preset threshold value, traversing all the stored audio information in the amr format, sequencing all the audio information in the amr format according to the modification time, and deleting n pieces of modified audio information in m moments nearest to the modification time, wherein m and n are positive integers.
6. An apparatus of a method for transmitting audio data to an android system by an iOS system, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 4.
7. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 4.
CN201710698649.9A 2017-08-15 2017-08-15 Method and system for transmitting audio data from iOS system to android system Active CN109410967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710698649.9A CN109410967B (en) 2017-08-15 2017-08-15 Method and system for transmitting audio data from iOS system to android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710698649.9A CN109410967B (en) 2017-08-15 2017-08-15 Method and system for transmitting audio data from iOS system to android system

Publications (2)

Publication Number Publication Date
CN109410967A CN109410967A (en) 2019-03-01
CN109410967B true CN109410967B (en) 2022-03-25

Family

ID=65454235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710698649.9A Active CN109410967B (en) 2017-08-15 2017-08-15 Method and system for transmitting audio data from iOS system to android system

Country Status (1)

Country Link
CN (1) CN109410967B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6308222B1 (en) * 1996-06-03 2001-10-23 Microsoft Corporation Transcoding of audio data
CN101312460A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for converting media file of multiple formats into target device supported media file
CN101399669A (en) * 2008-10-23 2009-04-01 福建实达数码科技有限公司 Authentication method for realizing data reality of recorded sound or video
CN102137106A (en) * 2011-03-14 2011-07-27 西安听者有声文化传播有限公司 Audio processing system of internet audio sharing platform
CN102693728A (en) * 2012-06-07 2012-09-26 深圳市路友网络科技有限公司 Cross-platform speech transmission/decoding method for mobile phones
CN103905834A (en) * 2014-03-13 2014-07-02 深圳创维-Rgb电子有限公司 Voice data coded format conversion method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6308222B1 (en) * 1996-06-03 2001-10-23 Microsoft Corporation Transcoding of audio data
CN101312460A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for converting media file of multiple formats into target device supported media file
CN101399669A (en) * 2008-10-23 2009-04-01 福建实达数码科技有限公司 Authentication method for realizing data reality of recorded sound or video
CN102137106A (en) * 2011-03-14 2011-07-27 西安听者有声文化传播有限公司 Audio processing system of internet audio sharing platform
CN102693728A (en) * 2012-06-07 2012-09-26 深圳市路友网络科技有限公司 Cross-platform speech transmission/decoding method for mobile phones
CN103905834A (en) * 2014-03-13 2014-07-02 深圳创维-Rgb电子有限公司 Voice data coded format conversion method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
android和ios,音频互通方案;weixin_34043301;《CSDN博客》;20160420;正文部分 *
weixin_34043301.android和ios,音频互通方案.《CSDN博客》.2016, *

Also Published As

Publication number Publication date
CN109410967A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN101977218B (en) Internet playing file transcoding method and system
CN102006368B (en) Streaming media audio file play method based on mobile terminal memory card cache technology
US8660038B1 (en) Previewing voicemails using mobile devices
CN103379379B (en) Streaming media buffer playing method and device
EP2151970A1 (en) Processing and supplying video data
CN102098304A (en) Method for simultaneously recording and uploading audio/video of mobile phone
KR20030061853A (en) Transmission and reception of audio and/or video material
CN101437047B (en) Method, system and media server for playback/ sound-recording for user terminal
AU2013221337A1 (en) System and method for dynamic file availability during encoding
US9680686B2 (en) Media with pluggable codec methods
US20180091826A1 (en) Simultaneous Encoding and Sending of a Video Data File
JP2007188259A5 (en)
CN110225399B (en) Streaming media processing method and device, computer equipment and storage medium
CN105869647B (en) A kind of primary DSD audio-frequency decoding method of smart phone, system and smart phone
CA2719183C (en) Systems, methods and apparatus for transmitting data over a voice channel of a wireless telephone network
US20070083608A1 (en) Delivering a data stream with instructions for playback
CN109410967B (en) Method and system for transmitting audio data from iOS system to android system
CN101645967B (en) Mobile terminal for processing multimedia data in user-defined format and realization method thereof
KR101055714B1 (en) Method for playing audio files on portable electronic devices
CN107370717A (en) A kind of cross-platform audio frequency transmission method
JPWO2007114107A1 (en) Server apparatus and content transmission method in content transmission system
JP2010087717A (en) Animation file transmission server, and method of controlling its operation
CN110531939B (en) Disk space optimization method for video-on-demand system
CN101083766B (en) Media inter cut method of visual communication procedure
CN112559799A (en) Object cloud storage method and system

Legal Events

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