CN111953727A - Audio transmission method and device - Google Patents

Audio transmission method and device Download PDF

Info

Publication number
CN111953727A
CN111953727A CN202010373579.1A CN202010373579A CN111953727A CN 111953727 A CN111953727 A CN 111953727A CN 202010373579 A CN202010373579 A CN 202010373579A CN 111953727 A CN111953727 A CN 111953727A
Authority
CN
China
Prior art keywords
audio file
audio
file
original
original audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010373579.1A
Other languages
Chinese (zh)
Other versions
CN111953727B (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.)
Shanghai Minglue Artificial Intelligence Group Co Ltd
Original Assignee
Shanghai Minglue Artificial Intelligence Group 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 Shanghai Minglue Artificial Intelligence Group Co Ltd filed Critical Shanghai Minglue Artificial Intelligence Group Co Ltd
Priority to CN202010373579.1A priority Critical patent/CN111953727B/en
Priority claimed from CN202010373579.1A external-priority patent/CN111953727B/en
Publication of CN111953727A publication Critical patent/CN111953727A/en
Application granted granted Critical
Publication of CN111953727B publication Critical patent/CN111953727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/16Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses an audio transmission method and an audio transmission device. Wherein, the method comprises the following steps: after a recording device is started, acquiring the audio recorded by the recording device in real time in the process of recording the audio by the recording device; determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file; and sending the first audio file to a receiving party. The invention solves the technical problem of low audio transmission efficiency.

Description

Audio transmission method and device
Technical Field
The invention relates to the field of data transmission, in particular to an audio transmission method and device.
Background
In the prior art, after recording, the recording file is usually required to be transmitted. In order to ensure the transmission security of the file, the recording file can be encrypted in the prior art and then transmitted after being encrypted.
In the prior art, in the process of encrypting and transmitting the file, the recording file can be encrypted only after the recording is finished, and then the encrypted recording file is transmitted, so that the file transmission efficiency is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an audio transmission method and an audio transmission device, which at least solve the technical problem of low audio transmission efficiency.
According to an aspect of an embodiment of the present invention, there is provided an audio transmission method including: after a recording device is started, acquiring the audio recorded by the recording device in real time in the process of recording the audio by the recording device; determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file; and sending the first audio file to a receiving party.
According to another aspect of the embodiments of the present invention, there is also provided an audio transmission apparatus, including: the acquisition unit is used for acquiring the audio recorded by the recording equipment in real time in the process of recording the audio by the recording equipment after the recording equipment is started; the first determining unit is used for determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; the processing unit is used for deleting the noise data in the original audio file after the original audio file is obtained, and performing encryption operation on the original audio file to obtain a first audio file; and the sending unit is used for sending the first audio file to a receiving party.
As an optional implementation, the processing unit includes: the first acquisition module is used for acquiring a oscillogram of the original audio file; the detection module is used for detecting the highest point of the amplitude of each frame of audio file in the oscillogram; a second determining module, configured to determine, as the noise data, a predetermined number of audio file frames when a highest point of the amplitude of each of the audio file frames in the predetermined number of consecutive audio file frames is smaller than a predetermined threshold; a deletion module for deleting the noise data; and the encryption module is used for executing encryption operation on the original audio file after the noise data is deleted to obtain the first audio file.
As an optional implementation, the processing unit further includes: a second obtaining module, configured to obtain a first duration of the original audio file after the noise data is deleted before the encryption operation is performed on the original audio file after the noise data is deleted to obtain the first audio file; a third obtaining module, configured to obtain a difference between the first time length and a target time length when the first time length is smaller than the target time length; a fourth obtaining module, configured to obtain a filler file with a file duration that is the same as the difference, where file data of the filler file is preset data; and the splicing unit is used for splicing the filling file to the tail of the original audio file after the noise data is deleted.
As an optional implementation, the encryption module includes: the obtaining submodule is used for obtaining an executable file of the original audio file after the noise data is deleted; the first processing submodule is used for executing bitwise negation operation on each bit of data in the executable file to obtain the first audio file; or the second processing submodule is used for determining a plurality of target bits in the executable file and performing negation operation on the numerical value of each target bit to obtain the first audio file.
In the embodiment of the invention, after the recording equipment is started, the audio recorded by the recording equipment is acquired in real time in the process of recording the audio by the recording equipment; determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file; according to the method for sending the first audio file to the receiving party, in the process of audio transmission, the recorded audio with the preset duration can be obtained in the process of audio recording, and the audio is transmitted after being processed, so that the efficiency of audio transmission while audio recording is realized, the efficiency of audio transmission is improved, and the technical problem of low audio transmission efficiency is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic flow diagram of an alternative audio transmission method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an alternative audio transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an alternative audio transmission device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, there is provided an audio transmission method, optionally, as an optional implementation manner, as shown in fig. 1, the audio transmission method includes:
s102, after a recording device is started, in the process of recording audio by the recording device, acquiring the audio recorded by the recording device in real time;
s104, determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration;
s106, after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file;
and S108, sending the first audio file to a receiving party.
Optionally, the audio transmission method may be applied, but not limited to, to a terminal capable of calculating data, such as a mobile phone, a tablet computer, a notebook computer, a PC, or the like, or to an intelligent device, such as an intelligent tablet, an intelligent recording device, or the like. The terminal or the smart device may interact with the server through a network, which may include, but is not limited to, a wireless network or a wired network. Wherein, this wireless network includes: WIFI and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The server may include, but is not limited to, any hardware device capable of performing computations.
Alternatively, the above audio transmission method may be applied, but not limited, to the field of audio encryption transmission. By taking audio encryption transmission as an example, after the recording equipment is started, the recording equipment starts to record audio, and the audio recorded by the recording equipment is obtained in real time in the process of recording the audio. Determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file; and sending the first audio file to a receiving party.
By the method, the audio can be recorded and transmitted simultaneously in the process of transmitting the audio, the security of audio transmission is ensured, and the effect of improving the audio transmission efficiency is realized.
Optionally, the recording device in this scheme may be a recording device located at a fixed position, or a recording device worn by a worker. The recording equipment can be automatically or manually opened and closed, after the recording equipment is opened, the recording equipment starts recording, and after the recording equipment is closed, the recording equipment finishes recording.
Optionally, in the process of recording the audio in the present scheme, the audio of the predetermined time duration may be determined as an original audio file when the recording device records the predetermined time duration. For example, every 10 minutes of audio recorded by the recording device, the audio recorded within the 10 minutes is saved as an original audio file. In this case, it is possible to record audio and save the original audio file.
Optionally, in the process of recording the audio, if a stop instruction is received under the condition that the audio recorded by the recording device does not reach the predetermined time length, determining the audio not reaching the predetermined time length as the original audio file, wherein the stop instruction is used for closing the recording device. That is, if the recorded audio has not reached the predetermined time period and the recording apparatus is turned off, the audio having not reached the predetermined time period is determined as an original audio file.
Optionally, the case that the audio duration does not reach the predetermined duration may be that the recording apparatus is turned off after the recording apparatus is turned on and the predetermined duration is not reached, or that the recording apparatus is turned off after a plurality of original audio files are recorded (the audio of each predetermined duration is saved as one original audio file) and the audio that is continuously recorded does not reach the predetermined duration, and the audio that is continuously recorded is saved as one original audio file. For example, if the predetermined time is 10 minutes, the recording apparatus is turned off when 10 minutes have not been reached, and the audio of 10 minutes has not been reached is determined as an original audio file. If the recording device records 25 minutes of audio, two 10-minute original audio files and one 5-minute original audio file are obtained.
Alternatively, after the original audio file is acquired, the noise data in the original audio file may be removed. Optionally, the noise data in the present scheme includes a silence segment in the original audio file. That is, there may be a case where no sound is generated for a long time during recording by the recording apparatus. If no one speaks. In this case, a long silence segment is generated. The silence segments need to be deleted.
The specific means can be to obtain a oscillogram of the original audio file; detecting the highest point of the amplitude of each frame of audio file in the oscillogram; determining a predetermined number of audio file frames as the noise data if the highest point of the amplitude of each of the audio file frames in a predetermined number of consecutive audio file frames is less than a predetermined threshold; deleting the noise data; and carrying out encryption operation on the original audio file after the noise data is deleted to obtain the first audio file.
Alternatively, the audio recorded by the recording device may be converted into a numerical value, and the numerical value may be converted into a waveform diagram.
For example, as shown in fig. 2, fig. 2 is a waveform diagram of an alternative original audio file, which contains 5 frames of audio. The highest point of the amplitude of the audio of the first three frames is less than the predetermined threshold 202, and the highest point of the amplitude of the audio exceeds the predetermined threshold 202 at the beginning of the 4 th frame. E.g., the predetermined number is 3, the first three audios are determined to be noise data. If the predetermined number is 4, the first three tones are not really considered as noise data because although the peaks are all less than the predetermined threshold 202, only three frames are consecutive and the predetermined number is not reached.
Alternatively, after the noise data of the original audio file is deleted, the file duration of each of the original audio files from which the noise data is deleted may be different. At this time, the file duration of each original audio file from which the noise data is deleted may be adjusted to the same duration.
For example, the file duration of the original audio file deleted with the noise data is three minutes, which can be adjusted to ten minutes, the adjustment means can be to splice a filler file at the end of the file of the original audio file deleted with the noise data, the data in the filler file is preset data, and the length can be adjusted at will. The encryption efficiency of the filler file during encryption is higher than that of the noise data.
After the populated original audio file is obtained, the populated original audio file is encrypted. In the encryption process, an executable file of the original audio file after filling can be obtained, each bit of data stored in the executable file is 0 or 1, during encryption, each bit of data in the executable file is subjected to negation operation, namely 0 is changed into 1, and 1 is changed into 0, or the negation operation is performed on data of a plurality of target bits in the executable file, and the target is randomly determined or is taken once every a plurality of data bits. And after the first audio file is obtained through encryption, transmitting the first audio file. When the first audio file is transmitted, if the recording equipment is not closed, the recording equipment is always in a state of recording the audio, and the scheme realizes the effect of recording and transmitting the audio.
The following description is made with reference to a specific example.
In the store of getting off on line, the staff has worn intelligent worker's tablet, and intelligent worker's tablet has recording equipment, and after the staff opened recording equipment, recording equipment began to record the audio frequency. And when the audio recorded by the recording equipment reaches 10 minutes, storing the 10-minute audio as an original audio file, and processing the 10-minute original audio file while continuing recording by the recording equipment. First, a waveform diagram of an original audio file is acquired. The audio data of the original audio file may be converted into a numerical value and the numerical value may be converted into a waveform diagram, the abscissa of which is time and the ordinate is sound intensity. If the sound intensity of a plurality of, for example, more than 10 consecutive audio frames is lower than the predetermined threshold, it indicates that there is no human speaking in this time period, and therefore there is no sound, and the data in this time period needs to be deleted as the noise data. After deletion, the remaining audio frames are the audio frames when the staff or the customer speaks. After the above-mentioned deletion action is performed, the time length of the original audio file may be changed, for example, 10 minutes of audio is deleted to 8 minutes. At this time, in order to make the subsequent encryption process not complicated, the original audio file of 8 minutes can be supplemented, and a padding file of 2 minutes is spliced later, the data in the padding file can be preset, and the padding file has high encryption efficiency. After the padding file is spliced to obtain the original audio file of 10 minutes, inverting each bit of the executable file of the original audio file of 10 minutes by bit, for example, replacing 0 with 1, and replacing 1 with 0, and after inverting, obtaining the encrypted first audio file. And transmitting the first audio file to a server for storage.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided an audio transmission apparatus for implementing the audio transmission method described above. As shown in fig. 3, the apparatus includes:
(1) an obtaining unit 302, configured to obtain, in real time, an audio recorded by a recording device in a process of recording the audio by the recording device after the recording device is started;
(2) a first determining unit 304, configured to determine, when a duration of the acquired audio reaches a predetermined duration, the audio of the predetermined duration as an original audio file;
(3) the processing unit 306 is configured to delete noise data in the original audio file after the original audio file is acquired, and perform an encryption operation on the original audio file to obtain a first audio file;
(4) a sending unit 308, configured to send the first audio file to a receiving party.
Alternatively, the audio transmission apparatus may be applied to, but not limited to, the field of audio encryption transmission. By taking audio encryption transmission as an example, after the recording equipment is started, the recording equipment starts to record audio, and the audio recorded by the recording equipment is obtained in real time in the process of recording the audio. Determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration; after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file; and sending the first audio file to a receiving party.
Through the device, the audio transmission can be carried out while recording in the audio transmission process, and the effect of improving the audio transmission efficiency is realized while the security of the audio transmission is ensured.
Optionally, the recording device in this scheme may be a recording device located at a fixed position, or a recording device worn by a worker. The recording equipment can be automatically or manually opened and closed, after the recording equipment is opened, the recording equipment starts recording, and after the recording equipment is closed, the recording equipment finishes recording.
Optionally, in the process of recording the audio in the present scheme, the audio of the predetermined time duration may be determined as an original audio file when the recording device records the predetermined time duration. For example, every 10 minutes of audio recorded by the recording device, the audio recorded within the 10 minutes is saved as an original audio file. In this case, it is possible to record audio and save the original audio file.
Optionally, in the process of recording the audio, if a stop instruction is received under the condition that the audio recorded by the recording device does not reach the predetermined time length, determining the audio not reaching the predetermined time length as the original audio file, wherein the stop instruction is used for closing the recording device. That is, if the recorded audio has not reached the predetermined time period and the recording apparatus is turned off, the audio having not reached the predetermined time period is determined as an original audio file.
Optionally, the case that the audio duration does not reach the predetermined duration may be that the recording apparatus is turned off after the recording apparatus is turned on and the predetermined duration is not reached, or that the recording apparatus is turned off after a plurality of original audio files are recorded (the audio of each predetermined duration is saved as one original audio file) and the audio that is continuously recorded does not reach the predetermined duration, and the audio that is continuously recorded is saved as one original audio file. For example, if the predetermined time is 10 minutes, the recording apparatus is turned off when 10 minutes have not been reached, and the audio of 10 minutes has not been reached is determined as an original audio file. If the recording device records 25 minutes of audio, two 10-minute original audio files and one 5-minute original audio file are obtained.
Alternatively, after the original audio file is acquired, the noise data in the original audio file may be removed. Optionally, the noise data in the present scheme includes a silence segment in the original audio file. That is, there may be a case where no sound is generated for a long time during recording by the recording apparatus. If no one speaks. In this case, a long silence segment is generated. The silence segments need to be deleted.
The specific means can be to obtain a oscillogram of the original audio file; detecting the highest point of the amplitude of each frame of audio file in the oscillogram; determining a predetermined number of audio file frames as the noise data if the highest point of the amplitude of each of the audio file frames in a predetermined number of consecutive audio file frames is less than a predetermined threshold; deleting the noise data; and carrying out encryption operation on the original audio file after the noise data is deleted to obtain the first audio file.
Alternatively, the audio recorded by the recording device may be converted into a numerical value, and the numerical value may be converted into a waveform diagram.
For example, as shown in fig. 2, fig. 2 is a waveform diagram of an alternative original audio file, which contains 5 frames of audio. The highest point of the amplitude of the audio of the first three frames is less than the predetermined threshold 202, and the highest point of the amplitude of the audio exceeds the predetermined threshold 202 at the beginning of the 4 th frame. E.g., the predetermined number is 3, the first three audios are determined to be noise data. If the predetermined number is 4, the first three tones are not really considered as noise data because although the peaks are all less than the predetermined threshold 202, only three frames are consecutive and the predetermined number is not reached.
Alternatively, after the noise data of the original audio file is deleted, the file duration of each of the original audio files from which the noise data is deleted may be different. At this time, the file duration of each original audio file from which the noise data is deleted may be adjusted to the same duration.
For example, the file duration of the original audio file deleted with the noise data is three minutes, which can be adjusted to ten minutes, the adjustment means can be to splice a filler file at the end of the file of the original audio file deleted with the noise data, the data in the filler file is preset data, and the length can be adjusted at will. The encryption efficiency of the filler file during encryption is higher than that of the noise data.
After the populated original audio file is obtained, the populated original audio file is encrypted. In the encryption process, an executable file of the original audio file after filling can be obtained, each bit of data stored in the executable file is 0 or 1, during encryption, each bit of data in the executable file is subjected to negation operation, namely 0 is changed into 1, and 1 is changed into 0, or the negation operation is performed on data of a plurality of target bits in the executable file, and the target is randomly determined or is taken once every a plurality of data bits. And after the first audio file is obtained through encryption, transmitting the first audio file. When the first audio file is transmitted, if the recording equipment is not closed, the recording equipment is always in a state of recording the audio, and the scheme realizes the effect of recording and transmitting the audio.
The following description is made with reference to a specific example.
In the store of getting off on line, the staff has worn intelligent worker's tablet, and intelligent worker's tablet has recording equipment, and after the staff opened recording equipment, recording equipment began to record the audio frequency. And when the audio recorded by the recording equipment reaches 10 minutes, storing the 10-minute audio as an original audio file, and processing the 10-minute original audio file while continuing recording by the recording equipment. First, a waveform diagram of an original audio file is acquired. The audio data of the original audio file may be converted into a numerical value and the numerical value may be converted into a waveform diagram, the abscissa of which is time and the ordinate is sound intensity. If the sound intensity of a plurality of, for example, more than 10 consecutive audio frames is lower than the predetermined threshold, it indicates that there is no human speaking in this time period, and therefore there is no sound, and the data in this time period needs to be deleted as the noise data. After deletion, the remaining audio frames are the audio frames when the staff or the customer speaks. After the above-mentioned deletion action is performed, the time length of the original audio file may be changed, for example, 10 minutes of audio is deleted to 8 minutes. At this time, in order to make the subsequent encryption process not complicated, the original audio file of 8 minutes can be supplemented, and a padding file of 2 minutes is spliced later, the data in the padding file can be preset, and the padding file has high encryption efficiency. After the padding file is spliced to obtain the original audio file of 10 minutes, inverting each bit of the executable file of the original audio file of 10 minutes by bit, for example, replacing 0 with 1, and replacing 1 with 0, and after inverting, obtaining the encrypted first audio file. And transmitting the first audio file to a server for storage.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An audio transmission method, comprising:
after a recording device is started, acquiring the audio recorded by the recording device in real time in the process of recording the audio by the recording device;
determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration;
after the original audio file is obtained, deleting noise data in the original audio file, and performing encryption operation on the original audio file to obtain a first audio file;
and sending the first audio file to a receiving party.
2. The method of claim 1, wherein after the audio recorded by the recording device is obtained in real time during the recording of the audio by the recording device after the recording device is turned on, the method further comprises:
under the condition that the audio recorded by the recording equipment does not reach the preset time length, under the condition that a stopping instruction is received, the audio which does not reach the preset time length is determined as the original audio file, wherein the stopping instruction is used for closing the recording equipment.
3. The method according to claim 1, wherein in the case that the duration of the acquired audio reaches a predetermined duration, the determining the audio of the predetermined duration as an original audio file comprises:
and determining the audio of each acquired preset time length as one original audio file.
4. The method according to any one of claims 1 to 3, wherein after obtaining the original audio file, deleting the noise data in the original audio file, and performing the encryption operation on the original audio file to obtain the first audio file comprises:
acquiring a oscillogram of the original audio file;
detecting the highest point of the amplitude of each frame of audio file in the oscillogram;
determining a predetermined number of audio file frames as the noise data if the highest point of the amplitude of each of the audio file frames in a predetermined number of consecutive audio file frames is less than a predetermined threshold;
deleting the noise data;
and carrying out encryption operation on the original audio file after the noise data is deleted to obtain the first audio file.
5. The method of claim 4, wherein before performing the encryption operation on the original audio file after deleting the noise data to obtain the first audio file, the method further comprises:
acquiring a first duration of the original audio file after the noise data is deleted;
under the condition that the first time length is smaller than a target time length, acquiring a difference value between the first time length and the target time length;
acquiring a filling file with the same file duration as the difference value, wherein the file data of the filling file is preset data;
and splicing the filling file to the tail of the original audio file after the noise data is deleted.
6. The method of claim 4, wherein the performing an encryption operation on the original audio file after the noise data is deleted to obtain the first audio file comprises:
acquiring an executable file of the original audio file after the noise data is deleted;
performing bitwise negation operation on each bit of data in the executable file to obtain the first audio file; or
And determining a plurality of target bits in the executable file, and performing negation operation on the numerical value of each target bit to obtain the first audio file.
7. An audio transmission device, comprising:
the acquisition unit is used for acquiring the audio recorded by the recording equipment in real time in the process of recording the audio by the recording equipment after the recording equipment is started;
the first determining unit is used for determining the audio with the preset duration as an original audio file under the condition that the duration of the acquired audio reaches the preset duration;
the processing unit is used for deleting the noise data in the original audio file after the original audio file is obtained, and performing encryption operation on the original audio file to obtain a first audio file;
and the sending unit is used for sending the first audio file to a receiving party.
8. The apparatus of claim 7, further comprising:
the second determining unit is used for obtaining the recording equipment records the audio in real time after the audio is recorded by the recording equipment after the recording equipment is started, under the condition that the audio does not reach the preset time length and a stopping instruction is received, the audio which does not reach the preset time length is determined to be the original audio file, wherein the stopping instruction is used for closing the recording equipment.
9. The apparatus according to claim 7, wherein the first determining unit comprises:
and the first determining module is used for determining the audio of each acquired preset time length as one original audio file.
10. The apparatus according to any one of claims 7-9, wherein the processing unit comprises:
the first acquisition module is used for acquiring a oscillogram of the original audio file;
the detection module is used for detecting the highest point of the amplitude of each frame of audio file in the oscillogram;
a second determining module, configured to determine, as the noise data, a predetermined number of audio file frames when a highest point of the amplitude of each of the audio file frames in the predetermined number of consecutive audio file frames is smaller than a predetermined threshold;
a deletion module for deleting the noise data;
and the encryption module is used for executing encryption operation on the original audio file after the noise data is deleted to obtain the first audio file.
CN202010373579.1A 2020-05-06 Audio transmission method and device Active CN111953727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010373579.1A CN111953727B (en) 2020-05-06 Audio transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010373579.1A CN111953727B (en) 2020-05-06 Audio transmission method and device

Publications (2)

Publication Number Publication Date
CN111953727A true CN111953727A (en) 2020-11-17
CN111953727B CN111953727B (en) 2024-08-02

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070647A (en) * 2021-11-29 2022-02-18 中国银行股份有限公司 Video transmission system and video transmission method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008309959A (en) * 2007-06-13 2008-12-25 Sanyo Electric Co Ltd Audio signal recording device and electronic file
CN102693398A (en) * 2012-05-09 2012-09-26 深圳大学 Data encryption method and system
CN103646654A (en) * 2013-12-12 2014-03-19 深圳市金立通信设备有限公司 Recording data sharing method and terminal
CN103974143A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Method and device for generating media data
CN104143333A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Audio transmission method, client and terminal device
US20140337038A1 (en) * 2013-05-10 2014-11-13 Tencent Technology (Shenzhen) Company Limited Method, application, and device for audio signal transmission
CN104243166A (en) * 2014-09-05 2014-12-24 深圳市中兴移动通信有限公司 Recording encryption method and device
CN104538048A (en) * 2015-01-27 2015-04-22 深圳市中兴移动通信有限公司 Processing method and device for audio files
CN106506828A (en) * 2016-10-27 2017-03-15 北京奇虎科技有限公司 Limit the way of recording, device and portable mobile termianl
CN108989287A (en) * 2018-06-13 2018-12-11 平安科技(深圳)有限公司 encryption method, device, terminal device and storage medium
CN109087632A (en) * 2018-08-17 2018-12-25 平安科技(深圳)有限公司 Method of speech processing, device, computer equipment and storage medium
CN110148402A (en) * 2019-05-07 2019-08-20 平安科技(深圳)有限公司 Method of speech processing, device, computer equipment and storage medium
CN110401527A (en) * 2018-04-25 2019-11-01 腾讯科技(深圳)有限公司 Data encryption, decryption method, device and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008309959A (en) * 2007-06-13 2008-12-25 Sanyo Electric Co Ltd Audio signal recording device and electronic file
CN102693398A (en) * 2012-05-09 2012-09-26 深圳大学 Data encryption method and system
CN104143333A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Audio transmission method, client and terminal device
US20140337038A1 (en) * 2013-05-10 2014-11-13 Tencent Technology (Shenzhen) Company Limited Method, application, and device for audio signal transmission
CN103646654A (en) * 2013-12-12 2014-03-19 深圳市金立通信设备有限公司 Recording data sharing method and terminal
CN103974143A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Method and device for generating media data
CN104243166A (en) * 2014-09-05 2014-12-24 深圳市中兴移动通信有限公司 Recording encryption method and device
CN104538048A (en) * 2015-01-27 2015-04-22 深圳市中兴移动通信有限公司 Processing method and device for audio files
CN106506828A (en) * 2016-10-27 2017-03-15 北京奇虎科技有限公司 Limit the way of recording, device and portable mobile termianl
CN110401527A (en) * 2018-04-25 2019-11-01 腾讯科技(深圳)有限公司 Data encryption, decryption method, device and storage medium
CN108989287A (en) * 2018-06-13 2018-12-11 平安科技(深圳)有限公司 encryption method, device, terminal device and storage medium
CN109087632A (en) * 2018-08-17 2018-12-25 平安科技(深圳)有限公司 Method of speech processing, device, computer equipment and storage medium
CN110148402A (en) * 2019-05-07 2019-08-20 平安科技(深圳)有限公司 Method of speech processing, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070647A (en) * 2021-11-29 2022-02-18 中国银行股份有限公司 Video transmission system and video transmission method

Similar Documents

Publication Publication Date Title
CN108124252A (en) A kind of method, terminal and computer readable storage medium for obtaining information
CN102638581A (en) Cookie information storage method and cookie information storage system
CN109639819B (en) File transmission method, client, server and system
CN111586050A (en) Audio file transmission method and device, storage medium and electronic equipment
CN109819101A (en) A kind of evidence collecting method and Specialised mobile terminal of collecting evidence
CN108777685B (en) Method and apparatus for processing information
CN104253714A (en) Monitoring method, system, browser and server
CN103347070B (en) Push method, terminal, server and the system of speech data
CN107359990A (en) A kind of secret information processing method, apparatus and system
CN106899894A (en) The adaptive stream media method of dynamic optimization, device and server
CN106210032A (en) The method and device reported based on terminal data batch
CN113301431A (en) Video data encryption and decryption method and device, electronic equipment and system
CN103139149A (en) Method and system for accessing data in cloud storage
US20110154015A1 (en) Method For Segmenting A Data File, Storing The File In A Separate Location, And Recreating The File
CN111064971B (en) Method for customizing broadcast notification and related equipment
CN111324576B (en) Recording data storage method and device, storage medium and terminal equipment
CN111526204A (en) Audio transmission method and device
CN111953727B (en) Audio transmission method and device
CN111953727A (en) Audio transmission method and device
CN117877473A (en) Audio file processing method, device, equipment and storage medium
KR20160145711A (en) Systems, methods and devices for electronic communications having decreased information loss
CN111796794A (en) Voice data processing method and system and virtual machine
CN111046314A (en) Report form viewing method and device, electronic equipment and storage medium
CN106980661B (en) Method and device for cleaning data files in mobile terminal and electronic equipment
CN106878299B (en) A kind of voice encryption, decryption method and equipment

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