CN111464428B - Audio processing method, server, electronic device, and computer-readable storage medium - Google Patents

Audio processing method, server, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN111464428B
CN111464428B CN202010244136.2A CN202010244136A CN111464428B CN 111464428 B CN111464428 B CN 111464428B CN 202010244136 A CN202010244136 A CN 202010244136A CN 111464428 B CN111464428 B CN 111464428B
Authority
CN
China
Prior art keywords
audio
audio file
contact
information
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010244136.2A
Other languages
Chinese (zh)
Other versions
CN111464428A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010244136.2A priority Critical patent/CN111464428B/en
Publication of CN111464428A publication Critical patent/CN111464428A/en
Priority to PCT/CN2021/082582 priority patent/WO2021197154A1/en
Application granted granted Critical
Publication of CN111464428B publication Critical patent/CN111464428B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an audio processing method, electronic equipment, a server and a computer readable storage medium, wherein the method is applied to the electronic equipment and comprises the following steps: receiving a first input of a user; responding to the first input, sending an audio file and authority information of an audio clip in the audio file to a server, so that the server processes the audio file according to the authority information and sends the processed audio file to second electronic equipment. According to the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by the contact corresponding to the authority, and the information security is improved.

Description

Audio processing method, server, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to an audio processing method, an electronic device, and a computer-readable storage medium.
Background
With the use of electronic devices such as mobile phones and the like becoming more popular, communication between people becomes more frequent, besides text information, voice information brings a more convenient communication environment, and voice communication is fast and convenient and information amount is large.
In the prior art, when a user chats with voice in a group, all people in the group can listen to all the content of the voice, which results in low information security.
Disclosure of Invention
The embodiment of the invention provides an audio processing method, which aims to solve the problem of low information security in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an audio processing method, applied to a first electronic device, including:
receiving a first input of a user;
responding to the first input, sending an audio file and authority information of an audio clip in the audio file to a server, so that the server processes the audio file according to the authority information and sends the processed audio file to second electronic equipment.
In a second aspect, an embodiment of the present invention provides an audio processing method applied to a server, where the audio processing method includes:
receiving an audio file sent by first electronic equipment and authority information of an audio clip in the audio file;
and processing the audio file according to the authority information and sending the processed audio file to a second electronic device.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the first receiving module is used for receiving a first input of a user;
and the first response module is used for responding to the first input and sending an audio file and the authority information of the audio clip in the audio file to a server so that the server processes the audio file according to the authority information and sends the processed audio file to the second electronic equipment.
In a fourth aspect, an embodiment of the present invention provides a server, including
The receiving module is used for receiving an audio file sent by first electronic equipment and authority information of an audio clip in the audio file;
and the sending module is used for processing the audio file according to the authority information and sending the processed audio file to the second electronic equipment.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the steps of the audio processing method provided in the first aspect and the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a server, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the audio processing method provided in the third aspect.
In a seventh aspect, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor, implements the steps of the audio processing method provided in the first aspect and the second aspect.
In an eighth aspect, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor, implements the steps of the audio processing method provided in the third aspect.
According to the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by the contact corresponding to the authority, and the information security is improved.
Drawings
Fig. 1 is a schematic flowchart of an audio processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another audio processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a display interface according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a further audio processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure diagram of a server according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
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 some, not all, embodiments of the present invention. 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.
The electronic equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like, which is not limited herein.
"first" and "second" in the embodiments of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Example one
As shown in fig. 1, the audio processing method provided in an embodiment of the present invention is applied to a first electronic device, and includes the following steps:
step S101: a first input is received from a user.
Alternatively, the first input may be a voice input, a touch input, or a gesture input. The first input is used to trigger sending information to the server.
For example, the first input may be a click input to a preset control.
For another example, the first input may be a click input to an enter key in the virtual keyboard.
Step S102: responding to the first input, sending an audio file and authority information of an audio clip in the audio file to a server, so that the server processes the audio file according to the authority information and sends the processed audio file to second electronic equipment.
Optionally, the authority information includes: information specifying a contact, which may or may not have permission to listen to the audio clip. The rights information further includes: the information of the designated contact tag, for example, the designated contact tag may be "colleague", "leader", "legal group", etc., and the contacts in the contact set under the designated tag may or may not have the listening right to the audio file.
Optionally, the permission information includes information of a first contact, wherein the first contact has a listening permission for the audio clip. The server sends the audio file to the electronic equipment used by the first contact; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a first contact, wherein the first contact has a listening permission for the audio clip. The server sends the audio file to the electronic equipment used by all the contacts in the preset contact set, when the contacts listen to the audio file, the first contact can listen to the audio clip with the set authority, and other contacts except the first contact cannot listen to the audio clip with the set authority even if the contacts receive the audio file.
Optionally, the permission information includes information of a second contact, wherein the second contact does not have a listening permission for the audio clip. The server sends other information except the audio clip in the audio file to the electronic equipment used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in the preset contact set.
Optionally, before sending the audio file and the authority information of the audio clip in the audio file to the server, step S103 and step S104 may be adopted to complete setting of the authority of the contact.
Step S103: a third input by the user is received.
Step S104: in response to the third input, selecting the first contact from a list of contacts such that the first contact has listening rights to the audio clip.
Optionally, the setting of the contact authority may also be completed in the following manner: clicking on the contact tag to enable the set of contacts included in the contact tag to have listening rights to the audio clip. Wherein the contact tag can be "colleague," "leader," "legal group," and the like.
Optionally, the information sent to the server further includes: a first time point and a second time point. And sending the audio file, the first time point, the second time point and the authority information of the audio clip to a server, so that the server determines the audio clip from the audio file according to the first time point and the second time point, processes the audio file according to the authority information and sends the processed audio file to a second electronic device.
The number of the first time points and the second time points can be multiple, the number of the first time points is equal to that of the second time points, and the server marks M audio clips in the audio file according to the M first time points and the M second time points.
According to the audio processing method provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by a contact corresponding to the authority only, and the information security is improved.
Example two
As shown in fig. 2, another audio processing method provided in an embodiment of the present invention is applied to a first electronic device, and includes the following steps:
step S201: a second input by the user is received.
Alternatively, the second input may be a long press operation to a certain position in the preset control.
Step S202: and responding to the second input, displaying a segment starting mark and a segment ending mark in the audio control, marking an audio segment in the audio control according to the segment starting mark and the segment ending mark, and determining the first time point and the second time point.
Wherein the audio control is configured to indicate the audio file, the segment start marker is configured to indicate the first time point, and the segment end marker is configured to indicate the second time point, and the first time point and the second time point are within a time range of the audio file.
Optionally, the number of the segment start markers and the segment end markers may be multiple, the number of the segment start markers and the number of the segment end markers are equal, and the server marks M audio segments in the audio file according to the M segment start markers and the M segment end markers.
How the user completes the tagging of the audio clip is further illustrated by the display interface schematic shown in fig. 3.
As shown in fig. 3, the audio file is presented in the form of an audio control 301 in the display interface, when the user clicks on the insert start mark control 302 and presses for a long time at a first position on the audio control 301, the start mark 304 may be inserted at the first position, when the user clicks on the insert end mark control 303 and presses for a long time at a second position on the audio control 302, the end mark 305 may be inserted at the second position, and an audio clip 306 is marked out in the audio control 301 according to the start mark 304 and the end mark 305. The user clicks on the finish mark control 307 to complete the entire audio clip marking process.
Optionally, after the user completes the tagging process of the audio clip, the display interface pops up a contact list for the user to select a specific contact from the contact list, so that the specific contact has the listening right or does not have the listening right.
Step S203: receiving a first input of a user;
step S204: responding to the first input, sending an audio file, a first time point, a second time point and authority information of the middle audio clip to a server, so that the server determines the audio clip from the audio file according to the first time point and the second time point, processes the audio file according to the authority information and sends the processed audio file to a second electronic device.
The audio processing method provided by the embodiment of the invention has the advantages of providing a specific implementation mode for a user to finish marking the audio clip, and improving the convenience of the user in processing the audio clip.
EXAMPLE III
As shown in fig. 4, the audio processing method provided in the embodiment of the present invention is applied to a server, and includes the following steps:
step S401: receiving an audio file sent by first electronic equipment and authority information of an audio clip in the audio file;
step S402: and processing the audio file according to the authority information and sending the processed audio file to a second electronic device.
Optionally, the permission information includes information of a first contact, wherein the first contact has a listening permission for the audio clip. The server sends the audio file to the electronic equipment used by the first contact; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a second contact, wherein the second contact does not have a listening permission for the audio clip. The server sends other information except the audio clip in the audio file to the electronic equipment used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
Optionally, step S401 may further include: and acquiring the audio file, the first time point, the second time point and the authority information of the audio clip sent by the first electronic equipment.
Step S402 may further include: and determining the audio clip from the audio file according to the first time point and the second time point.
According to the audio processing method provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by a contact corresponding to the authority only, and the information security is improved.
Example four
The electronic device provided in the embodiment of the present invention can implement details of the audio processing method in the first embodiment and the second embodiment, and achieve the same effect, and details are not repeated here to avoid repetition.
As shown in fig. 5, the electronic device 500 includes:
the first receiving module 501 is configured to receive a first input from a user.
A first response module 502, configured to send, in response to the first input, an audio file and authority information of an audio clip in the audio file to a server, so that the server processes the audio file according to the authority information and sends the processed audio file to a second electronic device.
Optionally, the permission information includes information of a first contact having a listening permission for the audio clip, and the first response module 502 includes:
the first response submodule 5021 is used for the server to send the audio file to the electronic equipment used by the first contact person; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a second contact, the second contact does not have a listening permission for the audio clip; the first response module 502 further comprises:
a second response submodule 5022, configured to the server to send information, other than the audio clip, in the audio file to the electronic device used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
Optionally, the first response module 502 is specifically configured to send an audio file, a first time point, a second time point, and authority information of the audio clip to a server, so that the server determines the audio clip from the audio file according to the first time point and the second time point, processes the audio file according to the authority information, and sends the processed audio file to a second electronic device.
Optionally, the electronic device 500 further includes:
a second receiving module 503, configured to receive a second input of the user.
A second response module 504, configured to, in response to the second input, display a segment start marker and a segment end marker in the audio control, mark an audio segment in the audio control according to the segment start marker and the segment end marker, and determine the first time point and the second time point.
Wherein the audio control is configured to indicate the audio file, the segment start marker is configured to indicate the first time point, and the segment end marker is configured to indicate the second time point, and the first time point and the second time point are within a time range of the audio file.
Optionally, the electronic device 500 further includes:
and a third receiving module 505, configured to receive a third input from the user.
A third response module 506, configured to select the first contact from the contact list in response to the third input, so that the first contact has listening rights to the audio clip.
According to the electronic equipment provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by a contact corresponding to the authority only, and the information safety is improved.
EXAMPLE five
The server provided by the embodiment of the present invention can implement details of the audio processing method in the third embodiment, and achieve the same effect, and for avoiding repetition, details are not described here again.
As shown in fig. 6, the server 600 includes:
the receiving module 601 is configured to receive an audio file sent by a first electronic device and authority information of an audio clip in the audio file.
A sending module 602, configured to process the audio file according to the permission information and send the processed audio file to a second electronic device.
Optionally, the permission information includes information of a first contact, and the first contact has a listening permission to the audio clip; the sending module 602 includes:
a first sending submodule 6021, configured to send the audio file to an electronic device used by the first contact; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a second contact, the second contact does not have a listening permission for the audio clip; the sending module 602 includes:
a second sending submodule 6022 for sending information other than the audio clip in the audio file to the electronic device used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
Optionally, the receiving module 601 is specifically configured to receive an audio file, a first time point, a second time point, and authority information of an audio clip sent by a first electronic device;
the sending module 602 is further configured to determine the audio clip from the audio file according to the first time point and the second time point.
According to the server provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by the contact corresponding to the authority, and the information safety is improved.
EXAMPLE six
The electronic device provided in the embodiments of the present invention can implement each process of the audio processing method embodiments in the first and second embodiments, and can achieve the same technical effect, and details are not described here to avoid repetition.
As shown in fig. 7, the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the user input unit 707 is configured to receive a first input of a user.
The network module 702 is configured to send, in response to the first input, an audio file and permission information of an audio clip in the audio file to a server, so that the server processes the audio file according to the permission information and sends the processed audio file to a second electronic device.
Optionally, the permission information includes information of a first contact, and the first contact has a listening permission to the audio clip; correspondingly, the server sends the audio file to the electronic equipment used by the first contact; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a second contact, the second contact does not have a listening permission for the audio clip; correspondingly, the server sends other information except the audio clips in the audio file to the electronic equipment used by the second contact person; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
Optionally, the network module 702 is further configured to send an audio file, a first time point, a second time point, and authority information of the audio clip to a server, so that the server determines the audio clip from the audio file according to the first time point and the second time point, processes the audio file according to the authority information, and sends the processed audio file to a second electronic device.
Optionally, the user input unit 707 is further configured to receive a second input from the user.
A display unit 706, configured to display a segment start marker and a segment end marker in the audio control in response to the second input;
and the processor 710 is configured to mark an audio segment in the audio control according to the segment start marker and the segment end marker, and determine the first time point and the second time point.
Wherein the audio control is configured to indicate the audio file, the segment start marker is configured to indicate the first time point, and the segment end marker is configured to indicate the second time point, and the first time point and the second time point are within a time range of the audio file.
Optionally, the user input unit 707 is further configured to receive a third input from the user.
The processor 710 is further configured to select the first contact from a contact list in response to the third input such that the first contact has listening rights to the audio clip.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the foregoing audio processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
According to the electronic equipment provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by a contact corresponding to the authority only, and the information safety is improved.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned audio processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
EXAMPLE seven
The server provided in the embodiment of the present invention can implement each process of the audio processing method embodiment provided in the third embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
As shown in fig. 8, the server 800 includes, but is not limited to: a processor 801, a memory 802, a network module 803 and a computer program stored on the memory 802 and executable on the processor 801, the various components in the server 801 being coupled together by a bus system 804. It will be appreciated that the bus system 804 is used to enable communications among the components.
The network module 803 is configured to receive an audio file sent by a first electronic device and authority information of an audio clip in the audio file; and processing the audio file according to the authority information and sending the processed audio file to a second electronic device.
Optionally, the permission information includes information of a first contact, and the first contact has a listening permission to the audio clip; accordingly, the network module 803 is configured to send the audio file to the electronic device used by the first contact; and sending other information except the audio clip in the audio file to the electronic equipment used by other contacts except the first contact in a preset contact set.
Optionally, the permission information includes information of a second contact, the second contact does not have a listening permission for the audio clip; accordingly, the network module 803 is configured to send other information in the audio file except the audio clip to the electronic device used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
Optionally, the network module 803 is further configured to receive an audio file, a first time point, a second time point, and permission information of the audio clip, which are sent by the first electronic device. And receiving the audio file, the first time point, the second time point and the authority information of the audio clip sent by the first electronic equipment.
In addition, the server 800 includes some functional modules that are not shown, and are not described in detail herein.
According to the server provided by the embodiment of the invention, the authority of the audio clip in the audio file is set, so that the audio clip can be listened to by the contact corresponding to the authority, and the information safety is improved.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the audio processing method provided in the third embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (12)

1. An audio processing method applied to a first electronic device, comprising:
receiving a first input of a user;
responding to the first input, sending an audio file and authority information of an audio clip in the audio file to a server, so that the server processes the audio file according to the authority information and sends the processed audio file to second electronic equipment;
the permission information comprises information of a first contact person, and the first contact person has listening permission to the audio clip;
the server processes the audio file according to the permission information and sends the processed audio file to a second electronic device, specifically:
the server sends the audio file to the electronic equipment used by the first contact; sending other information except the audio clip in the audio file to electronic equipment used by other contacts except the first contact in a preset contact set;
or,
the permission information comprises information of a second contact, the second contact not having permission to listen to the audio clip;
the server processes the audio file according to the permission information and sends the processed audio file to a second electronic device, specifically:
the server sends other information except the audio clip in the audio file to the electronic equipment used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
2. The audio processing method according to claim 1, wherein the sending of the audio file and the authority information of the audio clip in the audio file to the server specifically includes:
sending an audio file, a first time point, a second time point and authority information of the audio clip to a server;
the server processes the audio file according to the authority information, and the method comprises the following steps:
the server determines the audio clip from the audio file according to the first time point and the second time point.
3. The audio processing method of claim 2, wherein before receiving the first input from the user, further comprising:
receiving a second input of the user;
responding to the second input, displaying a segment starting mark and a segment ending mark in an audio control, marking an audio segment in the audio control according to the segment starting mark and the segment ending mark, and determining the first time point and the second time point;
wherein the audio control is configured to indicate the audio file, the segment start marker is configured to indicate the first time point, and the segment end marker is configured to indicate the second time point, and the first time point and the second time point are within a time range of the audio file.
4. The audio processing method according to claim 1, wherein before sending the audio file and the authority information of the audio clip in the audio file to the server, the method further comprises:
receiving a third input of the user;
in response to the third input, selecting the first contact from a list of contacts such that the first contact has listening rights to the audio clip.
5. An audio processing method applied to a server is characterized by comprising the following steps:
receiving an audio file sent by first electronic equipment and authority information of an audio clip in the audio file;
processing the audio file according to the authority information, and sending the processed audio file to second electronic equipment;
the permission information comprises information of a first contact person, and the first contact person has listening permission to the audio clip;
the processing the audio file according to the permission information and sending the processed audio file to a second electronic device specifically comprises:
sending the audio file to the electronic device used by the first contact; sending other information except the audio clip in the audio file to electronic equipment used by other contacts except the first contact in a preset contact set;
or,
the permission information comprises information of a second contact, the second contact not having permission to listen to the audio clip;
the processing the audio file according to the permission information and sending the processed audio file to a second electronic device specifically comprises:
sending other information in the audio file except the audio clip to the electronic device used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
6. The audio processing method according to claim 5, wherein the receiving of the audio file sent by the first electronic device and the authority information of the audio clip in the audio file specifically includes:
receiving an audio file, a first time point, a second time point and authority information of the audio clip sent by first electronic equipment;
the processing the audio file according to the authority information comprises:
determining the audio clip from the audio file according to the first time point and the second time point.
7. An electronic device, comprising:
the first receiving module is used for receiving a first input of a user;
the first response module is used for responding to the first input and sending authority information of an audio file and an audio clip in the audio file to a server so that the server processes the audio file according to the authority information and sends the processed audio file to second electronic equipment;
the permission information comprises information of a first contact person, and the first contact person has listening permission to the audio clip;
the first response module comprises:
the first response submodule is used for the server to send the audio file to the electronic equipment used by the first contact person; sending other information except the audio clip in the audio file to electronic equipment used by other contacts except the first contact in a preset contact set;
or,
the permission information comprises information of a second contact, the second contact not having permission to listen to the audio clip;
the first response module comprises:
a second response submodule, configured to send, by the server, information other than the audio clip in the audio file to the electronic device used by the second contact; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
8. A server, comprising:
the receiving module is used for receiving an audio file sent by first electronic equipment and authority information of an audio clip in the audio file;
the sending module is used for processing the audio file according to the authority information and sending the processed audio file to second electronic equipment;
the permission information comprises information of a first contact person, and the first contact person has listening permission to the audio clip;
the sending module comprises:
the first sending submodule is used for sending the audio file to the electronic equipment used by the first contact person; sending other information except the audio clip in the audio file to electronic equipment used by other contacts except the first contact in a preset contact set;
or,
the permission information comprises information of a second contact, the second contact not having permission to listen to the audio clip;
the sending module comprises:
the second sending submodule is used for sending other information except the audio clip in the audio file to the electronic equipment used by the second contact person; and sending the audio file to the electronic equipment used by other contacts except the second contact in a preset contact set.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the audio processing method as claimed in any one of claims 1 to 4.
10. A server, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the audio processing method according to any one of claims 5 to 6.
11. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the audio processing method according to any one of claims 1 to 4.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the audio processing method according to any one of claims 5 to 6.
CN202010244136.2A 2020-03-31 2020-03-31 Audio processing method, server, electronic device, and computer-readable storage medium Active CN111464428B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010244136.2A CN111464428B (en) 2020-03-31 2020-03-31 Audio processing method, server, electronic device, and computer-readable storage medium
PCT/CN2021/082582 WO2021197154A1 (en) 2020-03-31 2021-03-24 Audio processing method, server, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010244136.2A CN111464428B (en) 2020-03-31 2020-03-31 Audio processing method, server, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111464428A CN111464428A (en) 2020-07-28
CN111464428B true CN111464428B (en) 2022-03-01

Family

ID=71682403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010244136.2A Active CN111464428B (en) 2020-03-31 2020-03-31 Audio processing method, server, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN111464428B (en)
WO (1) WO2021197154A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464428B (en) * 2020-03-31 2022-03-01 维沃移动通信有限公司 Audio processing method, server, electronic device, and computer-readable storage medium
CN112214774A (en) * 2020-09-30 2021-01-12 维沃移动通信有限公司 Permission setting method, file playing method and device and electronic equipment
CN112887480B (en) * 2021-01-22 2022-07-29 维沃移动通信有限公司 Audio signal processing method and device, electronic equipment and readable storage medium
CN113938759A (en) * 2021-10-19 2022-01-14 维沃移动通信有限公司 File sharing method and file sharing device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO20023860D0 (en) * 2002-08-14 2002-08-14 Sospita As Procedure for generating and processing data streams containing encrypted and decrypted data
CN102025490A (en) * 2009-12-18 2011-04-20 华为终端有限公司 File segmental protection method, device and system
US9665340B2 (en) * 2014-10-13 2017-05-30 Daniel Kuniansky Systems and methods for temporarily sharing audio over a network
CN106791024A (en) * 2016-11-30 2017-05-31 广东欧珀移动通信有限公司 Voice messaging player method, device and terminal
CN106875157B (en) * 2017-02-15 2018-05-04 超锐创新(北京)科技有限公司 Meeting treating method and apparatus
CN107172478A (en) * 2017-06-26 2017-09-15 环球智达科技(北京)有限公司 The display systems of video and audio file
CN109672610B (en) * 2018-12-26 2022-01-11 深圳市自然门科技有限公司 Multi-group voice real-time communication method and system
CN110717163B (en) * 2019-10-15 2022-02-01 维沃移动通信有限公司 Interaction method and terminal equipment
CN111464428B (en) * 2020-03-31 2022-03-01 维沃移动通信有限公司 Audio processing method, server, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2021197154A1 (en) 2021-10-07
CN111464428A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN111464428B (en) Audio processing method, server, electronic device, and computer-readable storage medium
CN108319390B (en) Control method of flexible screen and mobile terminal
CN108132752B (en) Text editing method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN108897473B (en) Interface display method and terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN110752981B (en) Information control method and electronic equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109189303B (en) Text editing method and mobile terminal
CN107734172B (en) Information display method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN111107223B (en) Message processing method and electronic equipment
CN110191426B (en) Information sharing method and terminal
CN111562959A (en) Icon management method and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN110929273A (en) Permission setting method and electronic equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108021315B (en) Control method and mobile terminal
CN107908329B (en) Application icon management method and mobile terminal

Legal Events

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