WO2021197154A1 - 音频处理方法、服务器、电子设备及计算机可读存储介质 - Google Patents
音频处理方法、服务器、电子设备及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2021197154A1 WO2021197154A1 PCT/CN2021/082582 CN2021082582W WO2021197154A1 WO 2021197154 A1 WO2021197154 A1 WO 2021197154A1 CN 2021082582 W CN2021082582 W CN 2021082582W WO 2021197154 A1 WO2021197154 A1 WO 2021197154A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- audio
- audio file
- electronic device
- contact
- processing method
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 claims abstract description 43
- 230000008569 process Effects 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Definitions
- the present invention relates to the field of mobile communication, in particular to an audio processing method, electronic equipment, server and computer readable storage medium.
- the embodiment of the present invention provides an audio processing method to solve the problem of low information security in the prior art.
- the present invention is implemented as follows:
- an embodiment of the present invention provides an audio processing method applied to a first electronic device, including:
- an embodiment of the present invention provides an audio processing method, which is applied to a server, and includes:
- an electronic device including:
- the first receiving module is used to receive the first input of the user
- the first response module is configured to send the audio file and the permission information of the audio clip in the audio file to the server in response to the first input, so that the server processes the audio file according to the permission information and sends it The processed audio file is sent to the second electronic device.
- an embodiment of the present invention provides a server, including:
- a receiving module configured to receive the audio file sent by the first electronic device and the permission information of the audio segment in the voice file
- the sending module is configured to process the audio file according to the authority information and send the processed audio file to the second electronic device.
- an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. When executed, the steps of the audio processing method provided in the first aspect are realized.
- an embodiment of the present invention also provides a server, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor When realizing the steps of the audio processing method provided in the second aspect.
- an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
- the audio processing method provided in the first aspect is implemented. step.
- an embodiment of the present invention provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by the processor, the audio processing method provided in the second aspect is implemented step.
- an embodiment of the present invention provides a computer program product stored in a computer-readable storage medium, and the computer program product is executed by at least one processor to implement the steps or implementations of the audio processing method provided in the first aspect
- the second aspect provides the steps of the audio processing method.
- an embodiment of the present invention provides an electronic device configured to execute the steps of the audio processing method provided in the first aspect.
- an embodiment of the present invention provides a server configured to execute the steps of the audio processing method provided in the second aspect.
- the permission of the audio clip in the audio file is set, so that the audio clip can only be listened to by the contact corresponding to the permission, thereby improving the security of the information.
- FIG. 1 is a schematic flowchart of an audio processing method provided by an embodiment of the present invention
- FIG. 2 is a schematic flowchart of another audio processing method provided by an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a display interface provided by an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of still another audio processing method provided by an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a server provided by an embodiment of the present invention.
- FIG. 7 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of the hardware structure of a server provided by an embodiment of the present invention.
- the electronic device in the embodiment of the present invention may be a mobile terminal or a non-mobile terminal.
- the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
- the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not limited in the embodiment of the present invention.
- FIG. 1 An audio processing method provided by an embodiment of the present invention is shown in FIG. 1.
- the audio processing method applied to a first electronic device includes the following steps:
- Step S101 Receive the user's first input.
- the first input may be voice input, touch input or gesture input.
- the first input is used to trigger the sending of information to the server.
- the first input may be a click input to a preset control.
- the first input may be a click input on the enter key on the virtual keyboard.
- Step S102 In response to the first input, send the audio file and the permission information of the audio clip in the audio file to the server, so that the server processes the audio file according to the permission information and sends the processed all the audio files. Describe the audio file to the second electronic device.
- the permission information includes: information of a designated contact, and the designated contact may or may not have the right to listen to the audio clip.
- the permission information also includes: information on the designated contact label.
- the designated contact label can be "colleague”, “leader”, “legal group”, etc., and the contacts in the contact set under the designated label can have the right
- the listening permission of the audio file may not have the listening permission of the audio clip.
- the permission information includes information of the first contact, where the first contact has the permission to listen to the audio clip.
- the server sends the audio file to the electronic device used by the first contact; and sends the audio file to the electronic device used by other contacts in the preset contact set except for the first contact. Information other than the audio clip.
- the permission information includes the information of the first contact, where the first contact has the permission to listen to the audio clip.
- the server sends the audio file to the electronic equipment used by all contacts in the preset contact set.
- the contact listens to the audio file the first contact can listen to the audio clip with the permission set, except for the first contact.
- Contacts other than the contact cannot listen to the audio clip in which the permission is set even if they receive the audio file.
- the permission information includes information of the second contact, where the second contact does not have the permission to listen to the audio clip.
- the server sends other information in the audio file except the audio clip to the electronic device used by the second contact; and sends the electronic equipment used by other contacts in the preset contact set except the second contact
- the device sends the audio file.
- step S103 and step S104 may be used to complete the setting of the contact permission.
- Step S103 Receive a third input from the user.
- Step S104 In response to the third input, select the first contact from the contact list, so that the first contact has the right to listen to the audio clip.
- the setting of the contact authority can also be completed in the following manner: a click operation on the contact label, so that the contact set included in the contact label has the right to listen to the audio clip.
- the contact label can be "colleague”, “leader”, “legal group” and so on.
- the information sent to the server further includes: a first time point and a second time point.
- the number of the first time point and the second time point may be multiple, the number of the first time point and the second time point are equal, and the server is in the audio according to the M first time points and M second time points. M audio clips are marked in the file.
- the permission of the audio clip in the audio file is set, so that the audio clip can only be listened to by the contact corresponding to the permission, thereby enhancing the security of information.
- FIG. 2 Another audio processing method provided by an embodiment of the present invention is shown in FIG. 2.
- the audio processing method applied to a first electronic device includes the following steps:
- Step S201 Receive a second input from the user.
- the second input may be a long-press operation on a certain position in the preset control.
- Step S202 In response to the second input, display a segment start mark and a segment end mark in the audio control, mark the audio segment in the audio control according to the segment start mark and the segment end mark, and Determine the first time point and the second time point.
- the audio control is used to indicate the audio file
- the segment start mark is used to indicate the first point in time
- the segment end mark is used to indicate the second point in time
- the first The time point and the second time point are within the time range of the audio file.
- the number of segment start tags and the number of segment end tags may be multiple, the number of segment start tags and the number of segment end tags are equal, and the server compares the number of segment start tags with The M segment end markers mark M audio segments in the audio file.
- the schematic diagram of the display interface shown in FIG. 3 is used to further illustrate how the user completes the marking of the audio clip.
- the audio file is displayed in the form of an audio control 301 on the display interface.
- the start mark 304 can be inserted in the first position.
- the end mark 305 can be inserted in the second position, and the audio segment 306 is marked in the audio control 301 according to the start mark 304 and the end mark 305 .
- a contact list pops up on the display interface for the user to select a specific contact from the contact list, so that the specific contact has or does not have the listening permission.
- Step S203 Receive the user's first input
- Step S204 In response to the first input, send the audio file, the first time point, the second time point, and the authority information of the middle audio clip to the server, so that the server can be based on the first time point and the At the second time point, the audio segment is determined from the audio file, the audio file is processed according to the permission information, and the processed audio file is sent to the second electronic device.
- the audio processing method provided by the embodiments of the present invention also provides a specific implementation method for the user to complete the audio segment mark, which improves the convenience of the user to process the audio segment. sex.
- FIG. 4 Another audio processing method provided by an embodiment of the present invention, as shown in FIG. 4, the audio processing method applied to a server, includes the following steps:
- Step S401 receiving the audio file sent by the first electronic device and the permission information of the audio segment in the voice file;
- Step S402 Process the audio file according to the authority information and send the processed audio file to the second electronic device.
- the permission information includes the information of the first contact, wherein the first contact has the permission to listen to the audio clip.
- the server sends the audio file to the electronic device used by the first contact; and sends the audio file to the electronic device used by other contacts in the preset contact set except the first contact Other information in addition to the audio clip.
- the permission information includes information of a second contact, wherein the second contact does not have the permission to listen to the audio clip.
- the server sends other information in the audio file except the audio clip to the electronic device used by the second contact; and sends other contacts in the preset contact set except the second contact An electronic device used by a human to send the audio file.
- step S401 may also be: obtaining the audio file sent by the first electronic device, the first time point, the second time point, and the permission information of the audio clip.
- Step S402 may further include: determining the audio segment from the audio file according to the first time point and the second time point.
- the permission of the audio clip in the audio file is set, so that the audio clip can only be listened to by the contact corresponding to the permission, thereby enhancing the security of information.
- An electronic device provided by an embodiment of the present invention can implement the details of the audio processing method in the first embodiment and the second embodiment, and achieve the same effect. To avoid repetition, details are not repeated here.
- the electronic device 500 includes:
- the first receiving module 501 is configured to receive the first input of the user.
- the first response module 502 is configured to send the audio file and the permission information of the audio clip in the audio file to the server in response to the first input, so that the server can process the audio file according to the permission information and Sending the processed audio file to the second electronic device.
- the authority information includes information of a first contact
- the first contact has the authority to listen to the audio clip
- the first response module 502 includes:
- the first response submodule 5021 is used for the server to send the audio file to the electronic device used by the first contact; and to other contacts in the preset contact set except the first contact An electronic device used by a human to send other information in the audio file except the audio segment.
- the authority information includes information of a second contact, and the second contact does not have the authority to listen to the audio clip; the first response module 502 further includes:
- the second response submodule 5022 is used for the server to send other information in the audio file except the audio clip to the electronic device used by the second contact; An electronic device used by a contact other than the second contact sends the audio file.
- the first response module 502 is specifically configured to send the audio file, the first time point, the second time point, and the permission information of the audio clip to the server, so that the server can send the audio file according to the first time point and
- the second time point determines the audio segment from the audio file, processes the audio file according to the permission information, and sends the processed audio file to a second electronic device.
- the electronic device 500 further includes:
- the second receiving module 503 is configured to receive the second input of the user.
- the second response module 504 is configured to display a segment start mark and a segment end mark in the audio control in response to the second input, and mark in the audio control according to the segment start mark and the segment end mark Output an audio segment, and determine the first time point and the second time point.
- the audio control is used to indicate the audio file
- the segment start mark is used to indicate the first point in time
- the segment end mark is used to indicate the second point in time
- the first The time point and the second time point are within the time range of the audio file.
- the electronic device 500 further includes:
- the third receiving module 505 is configured to receive the third input of the user.
- the third response module 506 is configured to select the first contact from the contact list in response to the third input, so that the first contact has the right to listen to the audio clip.
- the electronic device provided by the embodiment of the present invention sets the permission of the audio clip in the audio file so that the audio clip can only be listened to by the contact corresponding to the permission, thereby improving the security of the information.
- the server provided by the embodiment of the present invention can implement the details of the audio processing method in the third embodiment above and achieve the same effect. To avoid repetition, the details are not repeated here.
- the server 600 includes:
- the receiving module 601 is configured to receive the audio file sent by the first electronic device and the permission information of the audio segment in the voice file.
- the sending module 602 is configured to process the audio file according to the permission information and send the processed audio file to the second electronic device.
- the authority information includes information of a first contact, and the first contact has the authority to listen to the audio clip;
- the sending module 602 includes:
- the first sending sub-module 6021 is configured to send the audio file to the electronic device used by the first contact; and send the audio file to other contacts in the preset contact set except the first contact
- the electronic device sends other information in the audio file except the audio segment.
- the authority information includes information of a second contact, and the second contact does not have the authority to listen to the audio clip;
- the sending module 602 includes:
- the second sending submodule 6022 is configured to send other information in the audio file except the audio clip to the electronic device used by the second contact; 2.
- the receiving module 601 is specifically configured to receive the audio file, the first time point, the second time point, and the permission information of the audio clip sent by the first electronic device;
- the sending module 602 is further configured to determine the audio segment from the audio file according to the first time point and the second time point.
- the server provided by the embodiment of the present invention sets the permission of the audio clip in the audio file so that the audio clip can only be listened to by the contact corresponding to the permission, thereby improving the security of the information.
- An electronic device provided by an embodiment of the present invention can implement each process of the audio processing method embodiments in the first embodiment and the second embodiment, and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
- 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, and a memory 709 , Processor 710, and power supply 711 and other components.
- a radio frequency unit 701 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, and a memory 709 , Processor 710, and power supply 711 and other components.
- the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the user input unit 707 is used to receive the first input of the user.
- the network module 702 is configured to send the audio file and the permission information of the audio clip in the audio file to the server in response to the first input, so that the server can process the audio file according to the permission information and send and process the audio file. To the second electronic device.
- the authority information includes information of a first contact, and the first contact has the authority to listen to the audio clip; accordingly, the server sends all information to the electronic device used by the first contact.
- the audio file and send other information in the audio file except the audio clip to an electronic device used by other contacts in the preset contact set except the first contact.
- the authority information includes the information of the second contact, and the second contact does not have the authority to listen to the audio clip; accordingly, the server sends to the electronic device used by the second contact Other information in the audio file except the audio clip; and sending the audio file to an electronic device used by other contacts in the preset contact set except the second contact.
- the network module 702 is further configured to send the audio file, the first time point, the second time point, and the authority information of the audio clip to the server, so that the server can send the audio file according to the first time point and the second time point.
- the audio segment is determined from the audio file, the audio file is processed according to the permission information, and the processed audio file is sent to the second electronic device.
- the user input unit 707 is also used to receive a second input from the user.
- the display unit 706 is configured to display a segment start mark and a segment end mark in the audio control in response to the second input;
- the processor 710 is configured to mark an audio segment in an audio control according to the segment start marker and the segment end marker, and determine the first time point and the second time point.
- the audio control is used to indicate the audio file
- the segment start mark is used to indicate the first point in time
- the segment end mark is used to indicate the second point in time
- the first The time point and the second time point are within the time range of the audio file.
- the user input unit 707 is also used 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, so that the first contact has the right to listen to the audio clip.
- the radio frequency unit 701 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, Uplink data is sent to the base station.
- the 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.
- the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 703 can convert the 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 it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, 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.
- the graphics processor 7041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame may be displayed on the display unit 706.
- the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
- the microphone 7042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
- the electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- 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), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 707 includes a touch panel 7071 and other input devices 7072.
- the touch panel 7071 also known as the touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operate).
- the touch panel 7071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
- the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 707 may also include other input devices 7072.
- other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 7071 can be overlaid on the display panel 7061.
- the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 7061.
- the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 708 is an interface for connecting an external device and the electronic device 700.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
- the memory 709 can be used to store software programs and various data.
- the memory 709 may mainly include a storage program and a storage data area.
- the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Use the created data (such as audio data, phone book, etc.) and so on.
- the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 710 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
- the electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
- a power source 711 such as a battery
- the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the electronic device 700 includes some functional modules not shown, which will not be repeated here.
- an embodiment of the present invention also provides an electronic device, including a processor 710, a memory 709, a computer program stored in the memory 709 and running on the processor 710, and the computer program is executed by the processor 710
- the electronic device provided by the embodiment of the present invention sets the permission of the audio clip in the audio file so that the audio clip can only be listened to by the contact corresponding to the permission, thereby improving the security of the information.
- the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above-mentioned audio processing method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- 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. In order to avoid repetition, it will not be repeated here.
- the server 800 includes, but is not limited to: a processor 801, a memory 802, a network module 803, and computer programs stored on the memory 802 and running on the processor 801.
- a processor 801 The components are coupled together through a bus system 804. It can be understood that the bus system 804 is used to implement connection and communication between these components.
- the network module 803 is configured to receive the audio file sent by the first electronic device and the permission information of the audio segment in the voice file; process the audio file according to the permission information and send the processed audio file to the first 2. Electronic equipment.
- the authority information includes information of a first contact, and the first contact has the authority to listen to the audio clip; accordingly, the network module 803 is configured to provide The electronic device sends the audio file; and sends other information in the audio file except the audio clip to the electronic device used by other contacts in the preset contact set except the first contact .
- the authority information includes information about a second contact, and the second contact does not have the authority to listen to the audio clip; accordingly, the network module 803 is configured to provide information to the second contact.
- the electronic device sends other information in the audio file except the audio clip; and sends the audio to the electronic device used by other contacts in the preset contact set except the second contact document.
- the network module 803 is further configured to receive the audio file, the first time point, the second time point, and permission information of the audio clip sent by the first electronic device. Receive the audio file, the first time point, the second time point, and the permission information of the audio clip sent by the first electronic device.
- server 800 includes some functional modules not shown, which will not be repeated here.
- the server provided by the embodiment of the present invention sets the permission of the audio clip in the audio file so that the audio clip can only be listened to by the contact corresponding to the permission, thereby improving the security of the information.
- the embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, each process of the audio processing method embodiment provided in the third embodiment is realized. And can achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
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
本发明提供了一种音频处理方法、电子设备、服务器及计算机可读存储介质,该方法应用于电子设备,包括:接收用户的第一输入;响应于第一输入,向服务器发送音频文件以及音频文件中的音频片段的权限信息,以使服务器根据权限信息处理音频文件并发送处理后的音频文件至第二电子设备。
Description
相关申请的交叉引用
本申请主张在2020年03月31日在中国提交的中国专利申请号No.202010244136.2的优先权,其全部内容通过引用包含于此。
本发明涉及移动通信领域,尤其涉及一种音频处理方法、电子设备、服务器及计算机可读存储介质。
随着手机等电子设备的使用越来越普及,人们之间的沟通更加频繁,除了文字信息之外,语音信息带来了更加便捷的沟通环境,语音沟通快速、方便并且信息量大。
现有技术中,用户在群组里进行语音聊天时,群组里的所有人都能收听到已发出语音的全部内容,导致信息的安全性较低。
发明内容
本发明实施例提供一种音频处理方法,以解决现有技术中信息安全性较低的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种音频处理方法,应用于第一电子设备,包括:
接收用户的第一输入;
响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
第二方面,本发明实施例提供了一种音频处理方法,应用于服务器,包括:
接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息;
根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
第三方面,本发明实施例提供了一种电子设备,包括:
第一接收模块,用于接收用户的第一输入;
第一响应模块,用于响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
第四方面,本发明实施例提供了一种服务器,包括:
接收模块,用于接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息;
发送模块,用于根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
第五方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第一方面提供的音频处理方法的步骤。
第六方面,本发明实施例还提供了一种服务器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第二方面提供的音频处理方法的步骤。
第七方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,所述计算机程序被所述处理器执行时实现第一方面提供的音频处理方法的步骤。
第八方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,所述计算机程序被所述处理器执行时实现第二方面提供的音频处理方法的步骤。
第九方面,本发明实施例提供了一种计算机程序产品,存储在计算机可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现第一方面提供的音频处理方法的步骤或者实现第二方面提供的音频处理方法的步骤。
第十方面,本发明实施例提供了一种电子设备,所述电子设备用于执行第一方面提供的音频处理方法的步骤。
第十一方面,本发明实施例提供了一种服务器,所述服务器用于执行第二方面提供的音频处理方法的步骤。
本发明实施例通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种音频处理方法的流程示意图;
图2为本发明实施例提供的另一种音频处理方法的流程示意图;
图3为本发明实施例提供的一种显示界面示意图;
图4为本发明实施例提供的再一种音频处理方法的流程示意图;
图5为本发明实施例提供的一种电子设备的结构示意图;
图6为本发明实施例提供的一种服务器的结构示意图;
图7为本发明实施例提供的一种电子设备的硬件结构示意图;
图8为本发明实施例提供的一种服务器的硬件结构示意图;
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例中的电子设备可以为移动终端,也可以为非移动终端。举 例来说,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例在此不作限定。
本发明实施例中“第一”、“第二”仅用于描述目的,而不能理解为指示或者暗示相对重要性。
实施例一
本发明实施例提供的一种音频处理方法,如图1所示,该音频处理方法,应用于第一电子设备,包括以下步骤:
步骤S101:接收用户的第一输入。
可选的,第一输入可以是语音输入、触控输入或手势输入。该第一输入用于触发向服务器发送信息。
例如,第一输入可以是对预设控件的点击输入。
再例如,第一输入可以是对虚拟键盘中回车键的点击输入。
步骤S102:响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,权限信息包括:指定联系人的信息,所述指定联系人可以具有对音频片段的收听权限,也可以不具有对音频片段的收听权限。权限信息还包括:指定联系人标签的信息,例如,指定联系人标签可以是“同事”、“领导”、“法务组”等,所述指定标签下的联系人集合中的联系人可以具有对音频文件的收听权限,也可以不具有对音频片段的收听权限。
可选的,权限信息包括第一联系人的信息,其中,第一联系人具有对音频片段的收听权限。服务器向第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,权限信息包括第一联系人的信息,其中,第一联系人具有对音 频片段的收听权限。服务器向预设联系人集合中所有联系人使用的电子设备,发送所述音频文件,在联系人收听所述音频文件时,第一联系人可以收听设置了权限的音频片段,除所述第一联系人之外的其他联系人即使收到了音频文件也没法收听其中设置了权限的所述音频片段。
可选的,权限信息包括第二联系人的信息,其中,第二联系人不具有对所述音频片段的收听权限。服务器向第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息之前,可以采用步骤S103和步骤S104完成联系人权限的设置。
步骤S103:接收用户的第三输入。
步骤S104:响应于所述第三输入,从联系人列表中选择所述第一联系人,以使所述第一联系人具有对所述音频片段的收听权限。
可选的,还可以采用以下方式完成联系人权限的设置:对联系人标签的点击操作,以使联系人标签中所包括的联系人集合具有对所述音频片段的收听权限。其中,联系人标签可以是“同事”、“领导”、“法务组”等。
可选的,向服务器发送的信息还包括:第一时间点和第二时间点。向服务器发送音频文件、第一时间点、第二时间点以及音频片段的权限信息,以使所述服务器根据所述第一时间点和第二时间点从音频文件中确定音频片段,根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
其中,第一时间点和第二时间点的数量可以是多个,第一时间点与第二时间点的数量相等,服务器根据M个第一时间点与M个第二时间点在所述音频文件中标记出M个音频片段。
本发明实施例提供的音频处理方法,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
实施例二
本发明实施例提供的另一种音频处理方法,如图2所示,该音频处理方法,应用于第一电子设备,包括以下步骤:
步骤S201:接收用户的第二输入。
可选的,第二输入可以是对预设控件中某一位置的长按操作。
步骤S202:响应于所述第二输入,在音频控件中显示分段开始标记与分段结束标记,根据所述分段开始标记与所述分段结束标记在音频控件中标记出音频片段,并确定所述第一时间点和所述第二时间点。
其中,所述音频控件用于指示所述音频文件,所述分段开始标记用于指示所述第一时间点,所述分段结束标记用于指示所述第二时间点,所述第一时间点与所述第二时间点在所述音频文件的时间范围内。
可选的,所述分段开始标记和所述分段结束标记的数量可以是多个,所述分段开始标记与所述分段结束标记的数量相等,服务器根据M个分段开始标记与M个分段结束标记在所述音频文件中标记出M个音频片段。
以图3所示的显示界面示意图进一步说明用户如何完成音频片段的标记。
如图3所示,音频文件在显示界面中以音频控件301的形式展现,当用户点击插入开始标记控件302并在音频控件301上的第一位置长按时,可以在第一位置插入开始标记304,当用户点击插入结束标记控件303并在音频控件302上的第二位置长按时,可以在第二位置插入结束标记305,根据开始标记304和结束标记305在音频控件301中标记出音频片段306。用户点击完成标记控件307完成整个音频片段标记过程。
可选的,在用户完成音频片段的标记过程之后,显示界面弹出联系人列表,用于用户从联系人列表中选取特定的联系人,以使特定的联系人具有收听权限或者不具有收听权限。
步骤S203:接收用户的第一输入;
步骤S204:响应于所述第一输入,向服务器发送音频文件、第一时间点、第二时间点以及所述中音频片段的权限信息,以使所述服务器根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段,根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
本发明实施例提供的音频处理方法,除了具有上述实施例中所述的音频 处理方法所具有的有益效果外,还提供了用户完成音频片段标记的具体实现方式,提高了用户处理音频片段的方便性。
实施例三
本发明实施例提供的再一种音频处理方法,如图4所示,该音频处理方法,应用于服务器,包括以下步骤:
步骤S401:接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息;
步骤S402:根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,权限信息包括第一联系人的信息,其中,所述第一联系人具有对所述音频片段的收听权限。服务器向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,权限信息包括第二联系人的信息,其中,所述第二联系人不具有对所述音频片段的收听权限。服务器向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,步骤S401还可以为:获取第一电子设备发送的音频文件、第一时间点、第二时间点以及所述音频片段的权限信息。
步骤S402还可以包括:根据所述第一时间点和第二时间点从所述音频文件中确定所述音频片段。
本发明实施例提供的音频处理方法,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
实施例四
本发明实施例提供的一种电子设备,能实现上述实施例一和实施例二中音频处理方法的细节,并达到相同的效果,为避免重复,这里不再赘述。
如图5所示,电子设备500包括:
第一接收模块501,用于接收用户的第一输入。
第一响应模块502,用于响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限,所述第一响应模块502包括:
第一响应子模块5021,用于所述服务器向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;所述第一响应模块502还包括:
第二响应子模块5022,用于所述服务器向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,第一响应模块502,具体用于向服务器发送音频文件、第一时间点、第二时间点以及所述音频片段的权限信息,以使所述服务器根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段,根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,电子设备500还包括:
第二接收模块503,用于接收用户的第二输入。
第二响应模块504,用于响应于所述第二输入,在音频控件中显示分段开始标记与分段结束标记,根据所述分段开始标记与所述分段结束标记在音频控件中标记出音频片段,并确定所述第一时间点和所述第二时间点。
其中,所述音频控件用于指示所述音频文件,所述分段开始标记用于指示所述第一时间点,所述分段结束标记用于指示所述第二时间点,所述第一时间点与所述第二时间点在所述音频文件的时间范围内。
可选的,电子设备500还包括:
第三接收模块505,用于接收用户的第三输入。
第三响应模块506,用于响应于所述第三输入,从联系人列表中选择所述第一联系人,以使所述第一联系人具有对所述音频片段的收听权限。
本发明实施例提供的电子设备,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
实施例五
本发明实施例提供的一种服务器,能实现上述实施例三中音频处理方法的细节,并达到相同的效果,为避免重复,这里不再赘述。
如图6所示,服务器600包括:
接收模块601,用于接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息。
发送模块602,用于根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限;所述发送模块602包括:
第一发送子模块6021,用于向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;所述发送模块602包括:
第二发送子模块6022,用于向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,接收模块601,具体用于接收第一电子设备发送的音频文件、第一时间点、第二时间点以及音频片段的权限信息;
发送模块602,还用于根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段。
本发明实施例提供的服务器,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
实施例六
本发明实施例提供的一种电子设备,能实现实施例一和实施例二中音频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
如图7所示,该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元707,用于接收用户的第一输入。
网络模块702,用于响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限;相应地,服务器向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;相应地,服务器向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,网络模块702还用于向服务器发送音频文件、第一时间点、第 二时间点以及所述音频片段的权限信息,以使所述服务器根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段,根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,用户输入单元707,还用于接收用户的第二输入。
显示单元706,用于响应于所述第二输入,在音频控件中显示分段开始标记与分段结束标记;
处理器710,用于根据所述分段开始标记与所述分段结束标记在音频控件中标记出音频片段,并确定所述第一时间点和所述第二时间点。
其中,所述音频控件用于指示所述音频文件,所述分段开始标记用于指示所述第一时间点,所述分段结束标记用于指示所述第二时间点,所述第一时间点与所述第二时间点在所述音频文件的时间范围内。
可选的,用户输入单元707,还用于接收用户的第三输入。
处理器710,还用于响应于所述第三输入,从联系人列表中选择所述第一联系人,以使所述第一联系人具有对所述音频片段的收听权限。
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态 图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。
电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。
用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触 控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线 通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
电子设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备700包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述音频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例提供的电子设备,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述音频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
实施例七
本发明实施例提供的一种服务器,能实现实施例三中提供的音频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
如图8所示,该服务器800包括但不限于:处理器801、存储器802、网络模块803及存储在所述存储器802上并可在所述处理器801上运行的计算机程序,服务器801中各个组件通过总线系统804耦合在一起。可以理解的是,总线系统804用于实现这些组件之间的连接通信。
其中,网络模块803,用于接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息;根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
可选的,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限;相应地,网络模块803用于向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
可选的,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;相应地,网络模块803用于向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
可选的,网络模块803还用于接收第一电子设备发送的音频文件、第一时间点、第二时间点以及所述音频片段的权限信息。接收第一电子设备发送的音频文件、第一时间点、第二时间点以及所述音频片段的权限信息。
另外,服务器800包括一些未示出的功能模块,在此不再赘述。
本发明实施例提供的服务器,通过设置音频文件中的音频片段的权限,使得该音频片段仅能被该权限对应的联系人收听,从而提升信息的安全性。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例三中提供的音频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。
Claims (18)
- 一种音频处理方法,应用于第一电子设备,包括:接收用户的第一输入;响应于所述第一输入,向服务器发送音频文件以及所述音频文件中的音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
- 根据权利要求1所述的音频处理方法,其中,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限;所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备,具体为:所述服务器向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
- 根据权利要求1所述的音频处理方法,其中,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备,具体为:所述服务器向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
- 根据权利要求1所述的音频处理方法,其中,所述向服务器发送音频文件以及所述音频文件中音频片段的权限信息,具体为:向服务器发送音频文件、第一时间点、第二时间点以及所述音频片段的权限信息;所述服务器根据所述权限信息处理所述音频文件,包括:所述服务器根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段。
- 根据权利要求4所述的音频处理方法,其中,所述接收用户的第一输 入之前,还包括:接收用户的第二输入;响应于所述第二输入,在音频控件中显示分段开始标记与分段结束标记,根据所述分段开始标记与所述分段结束标记在音频控件中标记出音频片段,并确定所述第一时间点和所述第二时间点。其中,所述音频控件用于指示所述音频文件,所述分段开始标记用于指示所述第一时间点,所述分段结束标记用于指示所述第二时间点,所述第一时间点与所述第二时间点在所述音频文件的时间范围内。
- 根据权利要求2所述的音频处理方法,其中,所述向服务器发送音频文件以及所述音频文件中的音频片段的权限信息之前,还包括:接收用户的第三输入;响应于所述第三输入,从联系人列表中选择所述第一联系人,以使所述第一联系人具有对所述音频片段的收听权限。
- 一种音频处理方法,应用于服务器,包括:接收第一电子设备发送的音频文件以及所述语音文件中的音频片段的权限信息;根据所述权限信息处理所述音频文件,并发送处理后的所述音频文件至第二电子设备。
- 根据权利要求7所述的音频处理方法,其中,所述权限信息包括第一联系人的信息,所述第一联系人具有对所述音频片段的收听权限;所述根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备,具体为:向所述第一联系人所使用的电子设备发送所述音频文件;并向预设联系人集合中除所述第一联系人之外的其他联系人使用的电子设备,发送所述音频文件中除所述音频片段之外的其他信息。
- 根据权利要求7所述的音频处理方法,其中,所述权限信息包括第二联系人的信息,所述第二联系人不具有对所述音频片段的收听权限;所述根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备,具体为:向所述第二联系人所使用的电子设备发送所述音频文件中除所述音频片段之外的其他信息;并向预设联系人集合中除所述第二联系人之外的其他联系人使用的电子设备,发送所述音频文件。
- 根据权利要求7所述的音频处理方法,其中,所述获取第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息,具体为:接收第一电子设备发送的音频文件、第一时间点、第二时间点以及所述音频片段的权限信息;所述根据所述权限信息处理所述音频文件,包括:根据所述第一时间点和所述第二时间点从所述音频文件中确定所述音频片段。
- 一种电子设备,包括:第一接收模块,用于接收用户的第一输入;第一响应模块,用于响应于所述第一输入,向服务器发送音频文件的以及所述音频文件中音频片段的权限信息,以使所述服务器根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
- 一种服务器,包括:接收模块,用于接收第一电子设备发送的音频文件以及所述语音文件中音频片段的权限信息;发送模块,用于根据所述权限信息处理所述音频文件并发送处理后的所述音频文件至第二电子设备。
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的音频处理方法的步骤。
- 一种服务器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求7至10中任一项所述的音频处理方法的步骤。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述的音频处理方法的步骤或者实现如权利要求7至10任一项所述的音频 处理方法的步骤。
- 一种计算机程序产品,存储在计算机可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至6任一项所述的音频处理方法的步骤或者实现如权利要求7至10任一项所述的音频处理方法的步骤。
- 一种电子设备,所述电子设备用于执行如权利要求1至6任一项所述的音频处理方法的步骤。
- 一种服务器,所述服务器用于执行如权利要求7至10任一项所述的音频处理方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010244136.2A CN111464428B (zh) | 2020-03-31 | 2020-03-31 | 音频处理方法、服务器、电子设备及计算机可读存储介质 |
CN202010244136.2 | 2020-03-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021197154A1 true WO2021197154A1 (zh) | 2021-10-07 |
Family
ID=71682403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/082582 WO2021197154A1 (zh) | 2020-03-31 | 2021-03-24 | 音频处理方法、服务器、电子设备及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111464428B (zh) |
WO (1) | WO2021197154A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938759A (zh) * | 2021-10-19 | 2022-01-14 | 维沃移动通信有限公司 | 文件分享方法和文件分享装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464428B (zh) * | 2020-03-31 | 2022-03-01 | 维沃移动通信有限公司 | 音频处理方法、服务器、电子设备及计算机可读存储介质 |
CN112214774A (zh) * | 2020-09-30 | 2021-01-12 | 维沃移动通信有限公司 | 权限设置方法、文件播放方法、装置和电子设备 |
CN112887480B (zh) * | 2021-01-22 | 2022-07-29 | 维沃移动通信有限公司 | 音频信号处理方法、装置、电子设备和可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004017184A1 (en) * | 2002-08-14 | 2004-02-26 | Sospita As | Method for creating and processing data streams that contain encrypted and decrypted data |
CN102025490A (zh) * | 2009-12-18 | 2011-04-20 | 华为终端有限公司 | 一种文件分段保护的方法、装置及系统 |
CN106791024A (zh) * | 2016-11-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | 语音信息播放方法、装置及终端 |
CN106875157A (zh) * | 2017-02-15 | 2017-06-20 | 超锐创新(北京)科技有限公司 | 会议处理方法和装置 |
CN111464428A (zh) * | 2020-03-31 | 2020-07-28 | 维沃移动通信有限公司 | 音频处理方法、服务器、电子设备及计算机可读存储介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9665340B2 (en) * | 2014-10-13 | 2017-05-30 | Daniel Kuniansky | Systems and methods for temporarily sharing audio over a network |
CN107172478A (zh) * | 2017-06-26 | 2017-09-15 | 环球智达科技(北京)有限公司 | 视音频文件的展示系统 |
CN109672610B (zh) * | 2018-12-26 | 2022-01-11 | 深圳市自然门科技有限公司 | 一种多群组语音实时通信方法及系统 |
CN110717163B (zh) * | 2019-10-15 | 2022-02-01 | 维沃移动通信有限公司 | 一种交互方法及终端设备 |
-
2020
- 2020-03-31 CN CN202010244136.2A patent/CN111464428B/zh active Active
-
2021
- 2021-03-24 WO PCT/CN2021/082582 patent/WO2021197154A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004017184A1 (en) * | 2002-08-14 | 2004-02-26 | Sospita As | Method for creating and processing data streams that contain encrypted and decrypted data |
CN102025490A (zh) * | 2009-12-18 | 2011-04-20 | 华为终端有限公司 | 一种文件分段保护的方法、装置及系统 |
CN106791024A (zh) * | 2016-11-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | 语音信息播放方法、装置及终端 |
CN106875157A (zh) * | 2017-02-15 | 2017-06-20 | 超锐创新(北京)科技有限公司 | 会议处理方法和装置 |
CN111464428A (zh) * | 2020-03-31 | 2020-07-28 | 维沃移动通信有限公司 | 音频处理方法、服务器、电子设备及计算机可读存储介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113938759A (zh) * | 2021-10-19 | 2022-01-14 | 维沃移动通信有限公司 | 文件分享方法和文件分享装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111464428A (zh) | 2020-07-28 |
CN111464428B (zh) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021098678A1 (zh) | 投屏控制方法及电子设备 | |
WO2021197154A1 (zh) | 音频处理方法、服务器、电子设备及计算机可读存储介质 | |
US20210132773A1 (en) | Method for displaying notification message and terminal device | |
CN107943390B (zh) | 一种文字复制方法及移动终端 | |
CN109194818B (zh) | 一种信息处理方法及终端 | |
CN108540655B (zh) | 一种来电显示处理方法及移动终端 | |
CN110109593B (zh) | 一种截屏方法及终端设备 | |
US20200257433A1 (en) | Display method and mobile terminal | |
US12063192B2 (en) | Information display method, information sending method, and electronic device | |
CN109525710B (zh) | 一种访问应用程序的方法和装置 | |
WO2020215932A1 (zh) | 显示未读消息的方法及终端设备 | |
CN109710349B (zh) | 一种截屏方法及移动终端 | |
WO2020192324A1 (zh) | 界面显示方法及终端设备 | |
US12073057B2 (en) | Electronic device and storage medium for obtaining, via screenshot comparison, display information for windows in background running state | |
WO2020199783A1 (zh) | 界面显示方法及终端设备 | |
WO2020199986A1 (zh) | 视频通话方法及终端设备 | |
WO2020220893A1 (zh) | 截图方法及移动终端 | |
WO2021115220A1 (zh) | 信息共享方法、电子设备及计算机可读存储介质 | |
WO2021093766A1 (zh) | 消息显示方法及电子设备 | |
WO2021129835A1 (zh) | 音量控制方法、设备及计算机可读存储介质 | |
WO2021104232A1 (zh) | 显示方法及电子设备 | |
WO2021083090A1 (zh) | 消息发送方法及移动终端 | |
WO2020192662A1 (zh) | 操作方法及终端设备 | |
CN109672845B (zh) | 一种视频通话的方法、装置以及移动终端 | |
CN108462794B (zh) | 一种信息显示方法及移动终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21780966 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/02/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21780966 Country of ref document: EP Kind code of ref document: A1 |