[go: up one dir, main page]

CN111031168A - Method, device and readable storage medium for voice call recording - Google Patents

Method, device and readable storage medium for voice call recording Download PDF

Info

Publication number
CN111031168A
CN111031168A CN201911249844.9A CN201911249844A CN111031168A CN 111031168 A CN111031168 A CN 111031168A CN 201911249844 A CN201911249844 A CN 201911249844A CN 111031168 A CN111031168 A CN 111031168A
Authority
CN
China
Prior art keywords
voice data
application program
communication voice
communication
recording
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.)
Pending
Application number
CN201911249844.9A
Other languages
Chinese (zh)
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 Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201911249844.9A priority Critical patent/CN111031168A/en
Publication of CN111031168A publication Critical patent/CN111031168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供一种语音通话录音的方法、设备及可读存储介质,该方法包括:通过音频系统获取应用程序在语音通话过程中产生的通讯语音数据,并存储应用程序的通讯语音数据,从而完成对应用程序的语音通话进行录音。该方式中,由于录音的应用程序的通讯语音数据是对经过音频系统的应用程序的通讯语音数据进行捕获得到的,而不需要使用麦克风数据传输通道中的通讯语音数据,从而能够实现对应用程序的语音通话进行录音。

Figure 201911249844

The present invention provides a voice call recording method, device and readable storage medium. The method includes: acquiring communication voice data generated by an application program during a voice call through an audio system, and storing the communication voice data of the application program, thereby completing Record voice calls from the application. In this method, since the communication voice data of the recorded application program is obtained by capturing the communication voice data of the application program passing through the audio system, it is not necessary to use the communication voice data in the data transmission channel of the microphone, so that the application program can be realized. voice calls are recorded.

Figure 201911249844

Description

Voice call recording method, device and readable storage medium
Technical Field
The present invention relates to communications technologies, and in particular, to a method and device for recording voice calls and a readable storage medium.
Background
Voice transmission over a network is a voice call technology. When the network-based voice communication tool carries out voice communication, a microphone data transmission channel needs to be occupied, namely, the microphone is recorded, and then communication voice data transmission is carried out to realize the communication.
In the existing method for recording the voice call based on the network, a microphone data transmission channel of the electronic equipment is also required to be occupied so as to obtain communication voice data and achieve the purpose of recording.
In Android 9.0 and systems behind the Android 9.0, the system only supports one application program (APP) to occupy a microphone data transmission channel, and the APP supporting the network-based voice call already occupies the microphone data transmission channel, so that other APPs cannot record through the microphone data transmission channel, and the conventional recording method cannot record the network-based voice call in Android 9.0 and systems behind the Android 9.0.
Disclosure of Invention
The invention provides a voice call recording method, equipment and a readable storage medium, which are used for solving the problem that network-based voice calls in Android 9.0 and systems behind the Android 9.0 cannot be recorded.
In a first aspect, the present invention provides a method for recording voice calls, which is applied to an electronic device, where the electronic device includes an audio system, and the method includes:
the audio system acquires communication voice data generated by an application program in a voice call process, and the application program carries out the voice call based on a network;
and storing the communication voice data of the application program.
Optionally, the acquiring, by the audio system, communication voice data generated by the application program in the voice call process includes:
the audio system acquires uplink communication voice data and downlink communication voice data of the application program;
and the audio system synthesizes uplink communication voice data and downlink communication voice data of the application program to obtain communication voice data of the application program.
Optionally, the synthesizing, by the audio system, the uplink communication voice data and the downlink communication voice data of the application program to obtain the communication voice data of the application program includes:
when uplink communication voice data and downlink communication voice data of a current frame of the application program are acquired each time, synthesizing the uplink communication voice data and the downlink communication voice data of the current frame to acquire communication voice data of the current frame;
and forming the communication voice data of the application program by the communication voice data of a plurality of frames acquired by the application program in the communication process.
Optionally, the storing the communication voice data of the application program includes:
storing communication voice data of the application program in the electronic equipment; and/or the presence of a gas in the gas,
and sending the communication voice data of the application program to a storage server for storage.
Optionally, the storing the communication voice data of the application program in the electronic device includes: and storing the communication voice data in a storage space allocated for the application program.
Optionally, the method further includes:
and starting a recording function of an audio system of the electronic equipment before the application program is started.
Optionally, before the application program is started, the audio system of the electronic device starts a recording function, including:
displaying a recording setting interface, wherein the recording setting interface comprises a switch control of the recording function;
receiving a first operation of a user on the switch control;
and starting the recording function according to the first operation.
Optionally, when the electronic device has a plurality of application programs to perform voice call simultaneously, the audio system obtains communication voice data generated by the application programs during the voice call, including:
the audio system simultaneously acquires communication voice data generated by the plurality of application programs in the voice call process; or
And the audio system acquires communication voice data generated by at least one application program in the plurality of application programs in the voice call process according to the priority rule.
In a second aspect, the present invention provides an apparatus for recording voice calls, including:
the acquisition module is used for acquiring communication voice data generated by an application program in the voice call process by the audio system, and the application program carries out the voice call based on a network;
and the storage module is used for storing the communication voice data of the application program.
Optionally, the obtaining module is specifically configured to:
the audio system acquires uplink communication voice data and downlink communication voice data of the application program;
and the audio system synthesizes uplink communication voice data and downlink communication voice data of the application program to obtain communication voice data of the application program.
Optionally, the acquiring module synthesizes uplink communication voice data and downlink communication voice data of the application program by the audio system to obtain communication voice data of the application program, and the acquiring module includes:
when uplink communication voice data and downlink communication voice data of a current frame of the application program are acquired each time, synthesizing the uplink communication voice data and the downlink communication voice data of the current frame to acquire communication voice data of the current frame;
and forming the communication voice data of the application program by the communication voice data of a plurality of frames acquired by the application program in the communication process.
Optionally, the storage module is specifically configured to:
storing communication voice data of the application program in the electronic equipment; and/or the presence of a gas in the gas,
and sending the communication voice data of the application program to a storage server for storage.
Optionally, the storing the communication voice data of the application program in the electronic device includes: and storing the communication voice data in a storage space allocated for the application program.
Optionally, the apparatus further comprises:
and the starting module is used for starting a recording function of an audio system of the electronic equipment before the application program is started.
Optionally, the starting module is specifically configured to:
displaying a recording setting interface, wherein the recording setting interface comprises a switch control of the recording function;
receiving a first operation of a user on the switch control;
and starting the recording function according to the first operation.
Optionally, when the electronic device has multiple applications to perform voice call simultaneously, the obtaining module is specifically configured to:
the audio system simultaneously acquires communication voice data generated by the plurality of application programs in the voice call process; or
And the audio system acquires communication voice data generated by at least one application program in the plurality of application programs in the voice call process according to the priority rule.
In a third aspect, the present invention provides a network-based voice call recording device, including: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to: instructions for performing the method of the first aspect as described above.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method for recording voice calls as described in the first aspect above when the computer-executable instructions are executed by a processor.
The voice call recording method provided by the invention obtains the communication voice data generated by the application program in the voice call process through the audio system and stores the communication voice data of the application program, thereby completing the recording of the voice call of the application program. In this manner, since the recorded communication voice data of the application program is obtained by capturing the communication voice data of the application program passing through the audio system, it is not necessary to use the communication voice data in the microphone data transmission channel, and thus it is possible to record the voice call of the application program.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of an electronic device to which the present invention is applicable;
fig. 2 is a schematic flow chart of a method for recording a voice call according to the present invention;
FIG. 3A is a diagram of a record start button;
FIG. 3B is a schematic view of a recording interface;
FIG. 4 is a flow chart illustrating another method for recording voice calls according to the present invention;
FIG. 5 is a schematic view of a recording setup interface;
fig. 6 is a schematic structural diagram of a voice call recording apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a voice call recording device according to the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram of an electronic device to which the present invention is applied. The electronic device may be a mobile phone, a computer, a tablet device, etc., without limitation. The electronic device includes: a processor 11, a memory 12, a transceiver 13, an audio component 14, etc. The processor 11, memory 12, transceiver 13 and audio component 14 are interconnected and communicate via a communication bus 15.
The processor 11 is a control center of the electronic device, and may be a processing element or a collective term for a plurality of processing elements. For example, the processor 11 is a Central Processing Unit (CPU), and may also be an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application, such as: one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
A memory 12 for storing various types of data to support operations at the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 12 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
And a transceiver 13 for communicating with other communication devices. Of course, the transceiver 13 may also be used for communication with a communication network, such as an ethernet network, a carrier network, a Wireless Local Area Network (WLAN), etc. The transceiver 13 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The audio component 14 is configured to output and/or input audio signals. For example, the audio component 14 includes a Microphone (MIC) configured to receive external audio signals when the electronic device is in a speech processing mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal may further be stored in the memory 12 or transmitted via the communication bus 15. In some embodiments, audio component 14 also includes a speaker for outputting audio signals.
When the voice call is carried out, the network-based voice call tool needs to occupy a microphone data transmission channel, namely, the microphone is recorded, and then communication voice data transmission is carried out so as to realize the network-based voice call. The processor 11 may perform various functions of the electronic device by running or executing software programs stored in the memory 12 and calling data stored in the memory 12. The processor 11 may control an audio system in the electronic device, so that the audio system records the network-based voice call, which is different from the existing mode that the microphone transmission channel is occupied for recording the network-based voice call.
The communication bus 15 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 1, but it is not intended that there be only one bus or one type of bus.
It will be appreciated that the electronic device configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Fig. 1 is a flowchart illustrating a voice call recording method provided by the present invention in detail, and fig. 2 is a schematic flow diagram illustrating the voice call recording method provided by the present invention, where the method of this embodiment may be executed by a third party APP on an electronic device, the third party APP being dedicated to recording a network-based voice call, and the third party APP is hereinafter referred to as a recording APP, the recording APP is independent of the network-based voice call APP, and a common network-based voice call APP has instant messaging software such as WeChat. The method of the embodiment can also be executed by the network-based voice call APP, a recording function can be added to the network-based voice call APP, and the method of the embodiment is realized through the recording function. As shown in fig. 2, the method of the present embodiment is executed by the electronic device, and the method of the present embodiment is as follows:
s201, the audio system acquires communication voice data generated by an application program in the voice call process, and the application program carries out voice call based on a network.
The audio system acquires communication voice data generated by the application program in the voice call process, namely recording the voice call of the application program. The voice call is a network-based voice call, and is different from a process that a user dials a through telephone number on a mobile phone to carry out the voice call. The network-based voice call includes, for example: voice over Internet Protocol (VoIP) calls, Voice calls in instant messaging software, Voice calls in game applications, and the like.
In one possible implementation, when it is monitored that the application starts a voice call, the audio system of the electronic device is notified to start recording.
When the method of this embodiment is executed by the recording APP, before executing the method of this embodiment, the user needs to install the recording APP and start the voice call recording function on the recording APP, and the user can select to start or close the voice call recording function on the recording APP.
When the method of the embodiment is executed by the network-based voice call APP, the recording function of the network-based voice call APP can be started by default, and the user can also select to start or close the recording function.
The recording APP or the network-based voice call APP monitors whether the electronic device starts voice call in real time, and when it is monitored that the application starts voice call, the Audio System of the electronic device is notified to start recording, for example, in an Android System, when it is monitored that the application starts voice call, the Audio System (Audio System) in an Android application framework (Android framework) can enter a recording mode through a System command.
In another possible implementation manner, after receiving a trigger instruction of a user, an audio system of the electronic device is notified to start recording. The triggering instruction of the user can be triggered by switching to the recording APP, or by the combination of the entity keys on the mobile phone, or by a key on the network-based voice call APP, the button may be displayed at a fixed location on the call interface, or may be suspended above the network-based voice call APP, for example, fig. 3A is a schematic diagram of a start recording button, as shown in fig. 3A, during the voice call, the button 301 can be suspended above the interface of the voice call, and the button 301 can be clicked to pop up or jump to the recording interface, fig. 3B is a schematic diagram of a recording interface, as shown in fig. 3B, click "start recording" button 302, and the recording APP starts to record voice call, and correspondingly, click "end recording" button 303, and the recording APP can end the recording of voice call.
Illustratively, S201 may include the following steps S2011 and S2012:
s2011, the audio system obtains uplink communication voice data and downlink communication voice data of the application.
In the voice communication process, the uplink communication voice data of the application program refers to communication voice data sent by the current electronic equipment through a network, and the downlink communication voice data refers to communication voice data received by the current electronic equipment through the network. For example, when a user a uses an electronic device to perform a voice call with a user B, a microphone of the electronic device receives a voice signal sent by the user a, and converts the received voice signal into a communication voice data signal, an audio system sends the communication voice data signal to the electronic device used by the user B through a network, the communication voice data is uplink communication voice data, communication voice data sent by a user B who is the opposite side of the voice call is transmitted to the electronic device of the user a through the network, and the communication voice data received by the electronic device of the user a is downlink communication voice data.
The audio system simultaneously acquires uplink communication voice data and downlink communication voice data of the application program at the same time. It should be clear that, both the uplink communication voice data and the downlink communication voice data may include an effective voice signal and a mute signal (alternatively referred to as a noise signal) of the user, for example, during a voice call between the user a and the user B, the user B may only listen and not speak when the user a speaks, and then the uplink communication voice data includes the effective voice signal and the downlink communication voice data includes only the mute signal.
S2012, the audio system synthesizes the uplink communication voice data and the downlink communication voice data of the application program to obtain the communication voice data of the application program.
The audio system synthesizing the uplink communication voice data and the downlink communication voice data of the application program means that the uplink communication voice data and the downlink communication voice data of the application program are synthesized together at the same time, and exemplarily, an uplink communication voice data frame and a downlink communication voice data frame at the same time are synthesized into one frame of communication voice data, namely, the communication voice data of the application program. For example, the obtained uplink communication voice data of the application program is 10 seconds, the obtained downlink communication voice data of the application program is 10 seconds, and the obtained uplink communication voice data and the obtained downlink communication voice data of the application program are synthesized to obtain 10 seconds of communication voice data of the application program.
In one possible implementation manner, when the uplink communication voice data and the downlink communication voice data of the current frame of the application program are obtained each time, the uplink communication voice data and the downlink communication voice data of the current frame are synthesized to obtain the communication voice data of the current frame, and the communication voice data of the application program is composed of the communication voice data of a plurality of frames obtained by the application program in the voice call process.
In the method, in the voice call process of the application program, the uplink communication voice data and the downlink communication voice data of the current frame of the application program are synthesized in real time, the amount of the synthesized communication voice data is small each time, the synthesized communication voice data can be quickly completed, and the operation of synthesizing the communication voice data each time occupies small system resources.
In another possible implementation manner, the uplink communication voice data and the downlink communication voice data of the application program are continuously acquired in the voice call process, and after the call is finished, the uplink communication voice data and the downlink communication voice data of all the application programs acquired in the whole call process are synthesized to obtain the communication voice data of the application program. In the method, when the communication voice data frames are combined, the communication voice data frames are combined frame by frame according to the sequence of the communication voice data frame acquisition.
In the method, in the process of carrying out voice call by the application program, synthesis of uplink communication voice data and downlink communication voice data is not carried out, but after the voice call of the application program is finished, the uplink communication voice data and the downlink communication voice data of all the application programs acquired in the whole voice call process are synthesized, so that the operation of synthesizing the communication voice data cannot occupy system resources in the voice call process, the smoothness of the call is ensured, and the user experience is improved.
And S202, storing the communication voice data of the application program.
When two users carry out voice communication, either party ends the communication in the communication process, namely, the button for ending the communication is pressed, and the voice communication is ended. When N users carry out voice communication, wherein N is an integer larger than 2, N-1 users press a communication ending button in the communication process, the voice communication is ended, or a certain master user with a control function presses the communication ending button, and the voice communication is ended. It can be understood that it is a normal voice call flow that the user presses the end voice call button to end the voice call, and the voice call may also be ended due to a network reason, for example, a network is disconnected or the network performance is degraded to cause the voice call link to be interrupted, in which case the voice call is also ended.
In this embodiment, the end of the voice call of the application program is monitored by monitoring whether the network call link of the application program is disconnected, and when the disconnection of the voice call link of the application program is monitored, the end of the voice call is determined.
And when the electronic equipment monitors that the application program finishes the voice call, storing the communication voice data of the application program.
Optionally, the communication voice data of the application program may be stored in a disk of the electronic device, that is, the communication voice data of the application program is stored in a local data storage space of the electronic device, when a subsequent user wants to query the communication voice data of the application program, the communication voice data of the application program is read from the disk of the electronic device, the electronic device sends the communication voice data stored in the data storage space to the application program, and the user may directly open the stored communication voice data in the application program subsequently; and/or sending the communication voice data of the application program to a storage server for storage, for example, storing the communication voice data of the application program in a hundred-degree network disk or a cloud of a user, or storing the communication voice data of the application program in a fixed server.
In this embodiment, the audio system obtains the communication voice data generated by the application program during the voice call, and stores the communication voice data of the application program, thereby completing the recording of the voice call of the application program. In this manner, since the recorded communication voice data of the application program is obtained by capturing the communication voice data of the application program passing through the audio system, it is not necessary to use the communication voice data in the microphone data transmission channel, and thus it is possible to record the voice call of the application program.
Fig. 4 is a schematic flowchart of another method for recording a voice call according to the present invention, where fig. 4 is based on the embodiment shown in fig. 2, and further, S200 is further included before S201, as shown in fig. 4:
s200, starting a recording function of an audio system of the electronic equipment before the application program is started.
The recording function refers to a function of recording communication voice data of an application, where starting the recording function may be that a user clicks a start recording button 302 to start the recording function in an interface shown in fig. 3 before the application is started, or may start the recording function when the electronic device is started, or may start the recording function by setting the recording function by the user before the application is started, and for example, S200 may include S2001, S2002, and S2003:
s2001, displaying a recording setting interface, wherein the recording setting interface comprises a switch control of a recording function.
The user may enter the recording setting interface to set the recording function, where the recording setting interface includes a switch control of the recording function, the switch control is used to turn on or turn off the recording function, and the recording function may be turned off or on by default, which is not limited herein.
And S2002, receiving a first operation of the switch control by a user.
And S2003, starting a recording function according to the first operation.
The first operation of the user on the switch control is used for starting the recording function, and correspondingly, the second operation of the user on the switch control is used for closing the recording function. After the recording function is started, the electronic equipment can monitor whether to start the voice call in real time, so that the voice call of the application program is recorded.
To explain with an example, fig. 5 is a schematic view of a recording setting interface, and as shown in fig. 5, a user can open and close a recording function by touching a switch control 501 of the recording function, and may set that the user clicks the switch control 501 once, a corresponding circular pulley slides to the right to complete the opening of the recording function, and the user clicks the switch control 501 once again, and a corresponding circular pulley slides to the left to complete the closing of the recording function.
This embodiment, show recording setting interface through electronic equipment, the user carries out first operation to the on-off control of the recording function in the recording setting interface, first operation is used for opening the recording function, thereby when electronic equipment monitors that application begins voice call, electronic equipment's audio system begins the recording, the voice call recording to application does not occupy microphone data transmission channel, but acquires the communication voice data that application produced at voice call in-process through audio system, and store this application's communication voice data, thereby realize recording application's voice call, user experience has been improved.
For example, in the method for recording voice calls, when the electronic device has multiple applications to simultaneously perform voice calls, the audio system may record the voice calls of the multiple applications at the same time, and after the recording is finished, the audio system separately stores the recording files of the voice calls of the different applications; the audio system may also record a voice call of at least one of the multiple applications according to a priority rule, where the priority rule is to record a voice call of one or more of the multiple applications according to a priority rule setting when the multiple applications simultaneously perform a voice call, and the priority rule may be set in advance by a user, for example, the applications capable of performing a voice call in the electronic device include application 1, application 2, and application 3, and the priority of recording a voice call of the applications may be set as: the recording priority of the application program 1 is highest, then the application program 2 is arranged next, the recording priority of the application program 3 is lowest, when a plurality of application programs are selected to carry out voice communication simultaneously, only 2 application programs are recorded, when the application programs 1, the application programs 2 and the application programs 3 carry out voice communication simultaneously, only the voice communication of the application programs 1 and the application programs 2 with high priority is recorded, and the communication voice data of the application programs 1 and the application programs 2 are respectively stored.
Fig. 6 is a schematic structural diagram of a voice call recording apparatus according to the present invention, and as shown in fig. 6, the apparatus according to the present embodiment includes:
the acquisition module 61 is used for the audio system to acquire communication voice data generated by the application program in the voice call process, and the application program carries out voice call based on the network;
and the storage module 62 is used for storing the communication voice data of the application program.
Optionally, the obtaining module 61 is specifically configured to:
the audio system acquires uplink communication voice data and downlink communication voice data of an application program;
and the audio system synthesizes uplink communication voice data and downlink communication voice data of the application program to obtain communication voice data of the application program.
Optionally, the acquiring module 61 synthesizes uplink communication voice data and downlink communication voice data of the application program by the audio system to obtain communication voice data of the application program, and includes:
synthesizing the uplink communication voice data and the downlink communication voice data of the current frame when the uplink communication voice data and the downlink communication voice data of the current frame of the application program are obtained each time to obtain the communication voice data of the current frame;
and forming the communication voice data of the application program by the communication voice data of a plurality of frames acquired by the application program in the communication process.
Optionally, the storage module 62 is specifically configured to:
storing communication voice data of the application program in the electronic equipment; and/or the presence of a gas in the gas,
and sending the communication voice data of the application program to a storage server for storage.
Optionally, storing the communication voice data of the application program in the electronic device includes: and storing the communication voice data in a storage space allocated for the application program.
Optionally, the apparatus further comprises:
and the starting module is used for starting the recording function of the audio system of the electronic equipment before the application program is started.
Optionally, the starting module is specifically configured to:
displaying a recording setting interface, wherein the recording setting interface comprises a switch control with a recording function;
receiving a first operation of a user on a switch control;
and starting the recording function according to the first operation.
Optionally, when the electronic device has a plurality of applications to perform voice call simultaneously, the obtaining module 61 is specifically configured to:
the audio system simultaneously acquires communication voice data generated by a plurality of application programs in the voice call process; or
The audio system acquires communication voice data generated by at least one application program in the plurality of application programs in the voice call process according to the priority rule.
The apparatus of the foregoing embodiment may be configured to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a voice call recording device provided in the present invention, and as shown in fig. 7, the device provided in this embodiment includes: a memory 71, and a processor 72.
A memory 71 for storing instructions executable by the processor 72;
wherein the processor 72 is configured to: instructions to perform a method as any one of above.
The apparatus of the foregoing embodiment may be configured to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
A non-transitory computer readable storage medium having stored therein computer executable instructions for implementing a method of voice call recording as in any one of the above when executed by a processor.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for recording voice calls is applied to an electronic device, wherein the electronic device comprises an audio system, and the method comprises the following steps:
the audio system acquires communication voice data generated by an application program in a voice call process, and the application program carries out the voice call based on a network;
and storing the communication voice data of the application program.
2. The method of claim 1, wherein the audio system obtaining communication voice data generated by an application program during a voice call comprises:
the audio system acquires uplink communication voice data and downlink communication voice data of the application program;
and the audio system synthesizes uplink communication voice data and downlink communication voice data of the application program to obtain communication voice data of the application program.
3. The method of claim 2, wherein the audio system synthesizing the uplink communication voice data and the downlink communication voice data of the application program to obtain the communication voice data of the application program comprises:
when uplink communication voice data and downlink communication voice data of a current frame of the application program are acquired each time, synthesizing the uplink communication voice data and the downlink communication voice data of the current frame to acquire communication voice data of the current frame;
and forming the communication voice data of the application program by the communication voice data of a plurality of frames acquired by the application program in the communication process.
4. The method according to any one of claims 1-3, wherein the storing the communication voice data of the application program comprises:
storing communication voice data of the application program in the electronic equipment; and/or the presence of a gas in the gas,
and sending the communication voice data of the application program to a storage server for storage.
5. The method according to claim 4, wherein the storing the communication voice data of the application program in the electronic device comprises: and storing the communication voice data in a storage space allocated for the application program.
6. The method according to any one of claims 1-3, further comprising:
and starting a recording function of an audio system of the electronic equipment before the application program is started.
7. The method of claim 6, wherein the audio system of the electronic device starts a recording function before the application program is started, and the method comprises:
displaying a recording setting interface, wherein the recording setting interface comprises a switch control of the recording function;
receiving a first operation of a user on the switch control;
and starting the recording function according to the first operation.
8. The method according to any one of claims 1-3, wherein when the electronic device has a plurality of applications for voice call simultaneously, the audio system acquires communication voice data generated by the applications during the voice call, and comprises:
the audio system simultaneously acquires communication voice data generated by the plurality of application programs in the voice call process; or
And the audio system acquires communication voice data generated by at least one application program in the plurality of application programs in the voice call process according to the priority rule.
9. An apparatus for voice call recording, comprising: a memory, a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to: instructions to perform the method of any of claims 1-8.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the method of voice call recording as recited in any one of claims 1-8.
CN201911249844.9A 2019-12-09 2019-12-09 Method, device and readable storage medium for voice call recording Pending CN111031168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911249844.9A CN111031168A (en) 2019-12-09 2019-12-09 Method, device and readable storage medium for voice call recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911249844.9A CN111031168A (en) 2019-12-09 2019-12-09 Method, device and readable storage medium for voice call recording

Publications (1)

Publication Number Publication Date
CN111031168A true CN111031168A (en) 2020-04-17

Family

ID=70208146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911249844.9A Pending CN111031168A (en) 2019-12-09 2019-12-09 Method, device and readable storage medium for voice call recording

Country Status (1)

Country Link
CN (1) CN111031168A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113643685A (en) * 2021-08-18 2021-11-12 百度在线网络技术(北京)有限公司 Data processing method and device, electronic equipment and computer storage medium
CN114116633A (en) * 2021-12-07 2022-03-01 中国南方电网有限责任公司超高压输电公司梧州局 Recording file processing system, method, device and platform for substation inspection process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311279A (en) * 2005-04-28 2006-11-09 Oki Electric Ind Co Ltd Voice recording device and its method
CN101188525A (en) * 2007-11-27 2008-05-28 华为技术有限公司 A voice stream processing method and device
CN106170032A (en) * 2016-09-22 2016-11-30 乐视控股(北京)有限公司 The way of recording of a kind of speech data and device
CN106385485A (en) * 2016-08-25 2017-02-08 广东欧珀移动通信有限公司 Call recording method, device and mobile terminal
CN107707721A (en) * 2017-11-06 2018-02-16 广东欧珀移动通信有限公司 Recording method, device, storage medium and mobile terminal of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311279A (en) * 2005-04-28 2006-11-09 Oki Electric Ind Co Ltd Voice recording device and its method
CN101188525A (en) * 2007-11-27 2008-05-28 华为技术有限公司 A voice stream processing method and device
CN106385485A (en) * 2016-08-25 2017-02-08 广东欧珀移动通信有限公司 Call recording method, device and mobile terminal
CN106170032A (en) * 2016-09-22 2016-11-30 乐视控股(北京)有限公司 The way of recording of a kind of speech data and device
CN107707721A (en) * 2017-11-06 2018-02-16 广东欧珀移动通信有限公司 Recording method, device, storage medium and mobile terminal of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113643685A (en) * 2021-08-18 2021-11-12 百度在线网络技术(北京)有限公司 Data processing method and device, electronic equipment and computer storage medium
CN114116633A (en) * 2021-12-07 2022-03-01 中国南方电网有限责任公司超高压输电公司梧州局 Recording file processing system, method, device and platform for substation inspection process

Similar Documents

Publication Publication Date Title
CN109451847B (en) Paging message receiving method and device and paging configuration method and device
CN109565451B (en) Method and device for using network slice
CN108476421B (en) Transmission configuration method and device
US20210084082A1 (en) Extending communication services to a consumption device using a proxy device
CN109644326A (en) Transmit the method and device of random access instruction information
EP3975614B1 (en) Service handover method and apparatus
WO2019191948A1 (en) Determination method and device for size of downlink control information format
US11394515B2 (en) Information transmission method, device, and system, and storage medium
WO2019192021A1 (en) Uplink resource request method and apparatus
CN109565880A (en) Method and device for transmitting random access indication information
WO2024138569A1 (en) Resource determination method and apparatus, and storage medium
CN108401531A (en) Eliminate method, apparatus, user equipment and the base station of intermodulation distortion
CN111031168A (en) Method, device and readable storage medium for voice call recording
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN109451869B (en) Beam selection method and device
CN108401536B (en) Communication control method and communication control device
CN111739538B (en) Translation method and device, earphone and server
CN112511686A (en) Recording method and earphone equipment
CN115039504B (en) Data transmission method and device and storage medium
WO2020258050A1 (en) Method and apparatus for determining wireless resource
CN105227891A (en) A kind of video call method and device
CN114982166B (en) HARQ feedback method and device, storage medium
CN110121856B (en) Control area configuration method and device
CN109792748B (en) Resource occupancy indication method and device and resource occupancy determination method and device
JP2009089380A (en) Method and apparatus for muting sounder device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication