WO2020107169A1 - Audio mode correction method and apparatus, and electronic device - Google Patents
Audio mode correction method and apparatus, and electronic device Download PDFInfo
- Publication number
- WO2020107169A1 WO2020107169A1 PCT/CN2018/117480 CN2018117480W WO2020107169A1 WO 2020107169 A1 WO2020107169 A1 WO 2020107169A1 CN 2018117480 W CN2018117480 W CN 2018117480W WO 2020107169 A1 WO2020107169 A1 WO 2020107169A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- audio
- audio mode
- scene
- application
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
Definitions
- the invention relates to the field of information technology, in particular to a method, device and electronic device for audio mode correction.
- the audio modes of electronic devices are becoming more and more abundant.
- the current audio modes can be divided into several mainstream modes such as ringtone, system, media, call, and alarm clock.
- the adjustment methods in different audio modes are independent of each other. For example, in the alarm clock mode, pressing the volume adjustment key adjusts the volume of the alarm clock, while in the media audio mode, pressing the volume adjustment key adjusts the volume of media audio.
- abnormality may occur when certain applications call audio resources, resulting in incorrect and unrecoverable audio adjustment, which has a great impact on the use.
- An embodiment of the present application provides a method for audio mode correction, including:
- the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
- An embodiment of the present application further provides an audio mode correction device, including:
- the obtaining module is used to obtain scene information of the application program, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
- An adjustment module configured to receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction
- the correction module is used to monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormality flag is detected, correct the audio mode of the application program, so that the corrected audio mode and the scene information Match.
- An embodiment of the present application further provides an electronic device, including a memory and a processor, and the memory stores a computer program, wherein when the computer program is executed by the processor, the processor is executed as described above Steps for correcting the audio mode.
- An embodiment of the present application further provides a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of audio mode correction as described above are implemented.
- the electronic device and the computer-readable storage medium correct the audio mode to match the scene according to the different scene modes, reducing the risk of abnormal audio, enhancing the stability of the system, and improving the user experience.
- FIG. 1 is a flowchart of an audio mode correction method according to an embodiment
- FIG. 2 is a schematic structural diagram of an audio mode correction device according to an embodiment
- FIG. 3 is a schematic diagram of the internal structure of an electronic device in an embodiment
- FIG. 4 is a block diagram of a partial structure of an electronic device related to a computer device provided by an embodiment of the present invention.
- an embodiment of the present application provides a method for audio mode correction.
- the method includes:
- the electronic device can obtain scene information of a certain application or multiple applications in real time, where the scene information can include audio playback scenes, recording scenes, voice call scenes and scenes, and each type of scene matches a certain audio mode
- the audio mode at this time should be the media audio mode.
- the audio playback scene matches the media audio mode
- the recording scene corresponds to the silent mode
- the voice call scene corresponds to the call audio mode
- the alarm scene corresponds to the alarm playback mode, where the call mode can be subdivided into Handset and hands-free mode.
- the application's scene information can be obtained through the system's internal monitoring function (listen() function). When necessary, the application will call the corresponding audio resource.
- the monitoring function will record the audio resource called by the application at this time and generate Corresponding scene information, for example, if the current audio resource is a music resource, the generated scene information is an audio playback scene, and for example, if there is a call incoming and a call has been established, the generated scene information is a voice call scene.
- the scene information of the application can also be detected by the built-in or external sensors of the electronic device to obtain the scene information of the application. For example, the electronic device can sense the distance between the electronic device and the user through the distance sensor. If it is less than the preset threshold, it is determined that the scene information is a voice call scene.
- the application may correspond to one or more audio modes.
- the audio mode corresponding to the application may be changed accordingly, for example, the The audio mode is the voice call mode, and the audio mode is automatically switched to the media audio mode after the call is ended.
- S120 Receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;
- the audio mode adjustment instruction can be an adjustment instruction for the current volume level, as well as the adjustment of various parameters such as the current audio tone and sound quality. Taking volume adjustment as an example, when a user presses a physical or virtual volume button, the electronic device receives an audio mode adjustment instruction at this time, and adjusts the volume corresponding to the current audio mode of the application according to the adjustment instruction.
- the electronic device can monitor the audio mode adjustment behavior of the application through the built-in monitoring function.
- a system-level monitoring module can be created at the system framework layer (native/framework layer). The module monitors the audio mode of the application, or independently creates a monitoring process, and monitors the audio mode of the application through a message transmission mechanism. For example, you can set up a listener module in the framework layer and run it in the system service program (system_server). Since the listener module is established in the system-level service framework layer, you can easily interact with other system services without worrying about system calls. Permissions issue.
- the ID information and adjustment amount of the currently invoked audio mode can be captured in real time to determine the audio mode and the specific adjustment amount corresponding to the current adjustment behavior. It can be independently developed without coupling with the system to facilitate subsequent development and upgrade .
- the electronic device detects that the audio mode output abnormality identifier, that is, the adjustment of the audio mode is not the adjustment of the audio mode matching the current scene, determines that the current audio mode is abnormal, and outputs the abnormality identifier.
- the abnormal sign indicates that the current audio mode status is abnormal.
- the abnormal sign may be a check bit for audio mode monitoring. For example, "0" indicates normal, "1" indicates abnormal, and if the check bit is output as 1. , It is determined that the current audio mode is abnormal.
- the abnormal sign can also be a sign bit established by means of a character string, etc. By detecting the matching degree between the current audio mode and the current scene, the sign bit output is abnormal if it does not match, and the sign bit output is normal if it matches.
- a specific manner of correcting the audio mode of the application program may be:
- a mode conversion interface Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface.
- the audio mode conversion can be achieved by calling the setmode function. For example, define setmode( 0) is the media audio mode, setmode(1) is the ringtone mode, setmode(2) is the voice call mode, etc.
- setmode( 0) is the media audio mode
- setmode(1) is the ringtone mode
- setmode(2) is the voice call mode
- a mode conversion interface is set to perform mode conversion on the audio mode through the mode conversion interface.
- the scene information and the audio mode mapping table can be set, and according to the mapping table, the audio mode of the application can be passed
- the mode conversion interface converts to an audio mode matching the scene information.
- the audio playback scene matches the media audio mode
- the recording scene corresponds to the silent mode
- the voice call scene corresponds to the call audio mode
- the alarm scene corresponds to the alarm playback Mode, in which the call mode can be subdivided into handset and hands-free mode.
- the mapping table can be stored in the memory of the electronic device in the form of a database, and the mapping table can be accessed through internal instructions when it needs to be called to determine the audio mode corresponding to the current scene mode.
- the audio mode correction is explained:
- the audio mode of the application is corrected, which may specifically be: correct the audio mode to media audio, and adjust the media
- the audio may be specifically adjusted for the sound quality and volume of the media audio mode.
- the audio playback scene matches the media audio mode.
- the audio mode of the application is corrected, which may specifically be: the audio mode of the application is corrected to a silent mode, wherein, The recording scene matches the silent mode.
- correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to the system Audio mode, and adjust the system audio volume to 0.
- the audio mode may be corrected to a call mode, where The voice call scenario matches the call mode.
- the call mode is the handset mode
- adjust the volume level of the handset mode or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
- the audio mode may be corrected to a ringtone audio.
- the audio playback scene matches the media audio mode.
- correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
- the audio mode of the application is corrected, which may specifically be: the audio mode is corrected to a ringtone mode, wherein , The ringtone playing scene matches the ringtone pattern.
- correcting the audio mode to the ringtone mode may specifically be: correcting the audio adjustment to adjust the volume of the ringtone audio mode.
- the audio mode is corrected so that the corrected audio mode matches the corresponding scene, which solves the prior art
- the unrecoverable problem after abnormal audio adjustment improves the stability of the system and improves the user experience.
- an embodiment of the present application further provides an audio mode correction device 20.
- the device 20 includes:
- the obtaining module 21 is used to obtain scene information of the application program, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
- the obtaining module 21 can obtain scene information of a certain application or multiple applications in real time, where the scene information can include audio playback scenes, recording scenes, voice call scenes and alarm scenes, and each type of scene is associated with a certain type of audio
- the mode matches, for example, when the application is in an audio playback scene, the audio mode at this time should be the media audio mode.
- the audio mode at this time should be the media audio mode.
- the user adjusts the volume level, only the corresponding media audio mode can be adjusted, but not other audio. Modes, such as alarm mode, call mode, etc.
- the audio playback scene matches the media audio mode
- the recording scene corresponds to the silent mode
- the voice call scene corresponds to the call audio mode
- the alarm scene corresponds to the alarm playback mode, where the call mode can be subdivided into Handset and hands-free mode.
- the application's scene information can be obtained through the system's internal monitoring function (listen() function). When necessary, the application will call the corresponding audio resource.
- the monitoring function will record the audio resource called by the application at this time and generate Corresponding scene information, for example, if the current audio resource is a music resource, the generated scene information is an audio playback scene, and for example, if there is a call incoming and a call has been established, the generated scene information is a voice call scene.
- the scene information of the application can also be detected by the built-in or external sensors of the electronic device to obtain the scene information of the application. For example, the electronic device can sense the distance between the electronic device and the user through the distance sensor. If it is less than the preset threshold, it is determined that the scene information is a voice call scene.
- the application may correspond to one or more audio modes.
- the audio mode corresponding to the application may be changed accordingly, for example, the The audio mode is the voice call mode, and the audio mode is automatically switched to the media audio mode after the call is ended.
- the adjustment module 22 is configured to receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;
- the audio mode adjustment instruction can be an adjustment instruction for the current volume level, as well as the adjustment of various parameters such as the current audio tone and sound quality.
- volume adjustment when the user presses a physical or virtual volume button, the adjustment module 22 receives an audio mode adjustment instruction, and adjusts the volume corresponding to the current audio mode of the application according to the adjustment instruction.
- the correction module 23 is used to monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormal flag is detected, correct the audio mode of the application program, so that the corrected audio mode and the scene The information matches.
- the correction module 23 can monitor the audio mode adjustment behavior of the application through the monitoring function. Taking the Android system as an example, the correction module 23 can create a system-level monitoring module at the system framework layer (native/framework layer), through which the monitoring module Monitor the audio mode of the application, or create a monitoring process independently and monitor the audio mode of the application through a message transmission mechanism. For example, the correction module 23 can set up a listener module at the framework layer and run it in the system service program (system_server). Since the listener module is established at the system-level service framework layer, it can facilitate interaction with other system services without worrying about the system Permission issue when calling.
- system_server system service program
- the ID information and adjustment amount of the currently invoked audio mode can be captured in real time to determine the audio mode and the specific adjustment amount corresponding to the current adjustment behavior. It can be independently developed without coupling with the system to facilitate subsequent development and upgrade .
- the correction module 23 corrects the audio mode of the application program, which may specifically be:
- a mode conversion interface Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface.
- the audio mode conversion can be achieved by calling the setmode function. For example, define setmode( 0) is the media audio mode, setmode(1) is the ringtone mode, setmode(2) is the voice call mode, etc.
- setmode( 0) is the media audio mode
- setmode(1) is the ringtone mode
- setmode(2) is the voice call mode
- a mode conversion interface is set to perform mode conversion on the audio mode through the mode conversion interface.
- the scene information and the audio mode mapping table can be set, and according to the mapping table, the audio mode of the application can be passed
- the mode conversion interface converts to an audio mode matching the scene information.
- the audio playback scene matches the media audio mode
- the recording scene corresponds to the silent mode
- the voice call scene corresponds to the call audio mode
- the alarm scene corresponds to the alarm playback Mode, in which the call mode can be subdivided into handset and hands-free mode.
- the mapping table can be stored in the memory of the electronic device in the form of a database, and the mapping table can be accessed through internal instructions when it needs to be called to determine the audio mode corresponding to the current scene mode.
- the correction module 23 needs to correct the audio mode. Respectively explain the audio mode correction of different scenes:
- the correction module 23 corrects the audio mode of the application, which may specifically be: the audio mode is corrected to media audio, Adjusting the media audio may specifically be adjusting the sound quality and volume of the media audio mode. Wherein, the audio playback scene matches the media audio mode.
- the correction module 23 corrects the audio mode of the application, which may specifically be: the audio mode of the application is corrected to the silent mode , Where the recording scene matches the silent mode.
- correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to the system Audio mode, and adjust the system audio volume to 0.
- the correction module 23 corrects the audio mode of the application, which may specifically be: correct the audio mode to a call mode, Wherein, the voice call scenario matches the call mode.
- the call mode is the handset mode
- adjust the volume level of the handset mode or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
- the correction module 23 corrects the audio mode of the application, which may specifically be: correcting the audio mode to ringtone audio, Wherein, the audio playback scene matches the media audio mode.
- correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
- the correction module 23 corrects the audio mode of the application, which may specifically be: correcting the audio mode to a ringtone Mode, wherein the ringtone playing scene matches the ringtone mode.
- correcting the audio mode to the ringtone mode may specifically be: correcting the audio adjustment to adjust the volume of the ringtone audio mode.
- the acquisition module 21 obtains the scene information, and the correction module 23 monitors the audio mode adjustment behavior of the application program. If the behavior is abnormal, the audio mode is corrected so that the corrected audio mode matches the corresponding scene. It solves the problem of unrecoverable after abnormal audio adjustment in the prior art, improves the stability of the system, and improves the user experience.
- the electronic device includes a processor connected through a system bus, a non-volatile storage medium, an internal memory and a network interface, a sound collection device, a speaker, a display screen, and an input device.
- the non-volatile storage medium of the terminal stores an operating system and computer-readable instructions.
- the computer readable instructions are executed by the processor to implement an audio mode correction method of the electronic device.
- the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
- the internal memory in the electronic device provides an environment for the execution of computer-readable instructions in the non-volatile storage medium.
- the display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, etc.
- the input device may be a touch layer covered on the display screen, a button, a trackball or a touch pad provided on the electronic device housing, or External keyboard, touchpad or mouse, etc.
- the electronic device may be a mobile phone, a tablet computer, a personal digital assistant or a wearable device.
- FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied.
- the specific electronic device may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
- the above mentioned audio mode correction method may specifically be:
- the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
- monitoring the audio mode adjustment behavior of the application may specifically be: creating a system-level monitoring module at the system framework layer, and monitoring the audio mode of the application through the monitoring module, or, independently Create a monitoring process to monitor the audio mode of the application through a message transmission mechanism.
- correction of the audio mode of the application may specifically be:
- a scene information and audio mode mapping table may be set, and according to the mapping table, the audio mode of the application program is converted into an audio mode matching the scene information through a mode conversion interface.
- the correction of the audio mode of the application may specifically be:
- the audio mode is corrected to media audio, wherein the audio playback scene matches the media audio mode.
- correcting the audio to media audio may be: adjusting the audio adjustment to adjust the volume of the media audio mode.
- the correction of the audio mode of the application may specifically be:
- Correcting the audio mode of the application to a silent mode wherein the recording scene matches the silent mode.
- correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to system audio Mode and adjust the system audio volume to 0.
- correcting the audio mode of the application may specifically be: correcting the audio mode to a call mode, wherein, the The voice call scenario matches the call mode.
- the call mode is the handset mode
- adjust the volume level of the handset mode or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
- correcting the audio mode of the application may specifically be: correcting the audio mode to ringtone audio, wherein, the The audio playing scene matches the media audio mode.
- correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
- embodiments of the present application further provide a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of audio mode correction as described above are implemented.
- An embodiment of the present invention also provides a computer device. As shown in FIG. 4, for ease of description, only parts related to the embodiments of the present invention are shown, and specific technical details are not disclosed, please refer to the method part of the embodiments of the present invention.
- the computer device may be any terminal device including an electronic device, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, a wearable device, etc.
- the computer device is an electronic device For example:
- the electronic device includes: a radio frequency (Radio Frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and power supply 490 and other components.
- a radio frequency (Radio Frequency) circuit 410 for detecting radio frequency (Radio Frequency)
- a memory 420 for a digital signal
- an input unit 430 a keyboard
- a display unit 440 a sensor 450
- an audio circuit 460 a wireless fidelity (WiFi) module
- WiFi wireless fidelity
- processor 480 and power supply 490 and other components.
- power supply 490 other components.
- the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine some components, or arrange different components.
- the RF circuit 410 can be used to receive and send signals during the sending and receiving of information or during a call. It can receive the downlink information of the base station and process it to the processor 480; it can also send the uplink data to the base station.
- RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on.
- the RF circuit 410 can also communicate with other devices through a wireless communication network.
- the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Message Service (SMS), etc.
- GSM Global System of Mobile
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Message Service
- the memory 420 may be used to store software programs and modules.
- the processor 480 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 420.
- the memory 420 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and at least one function-required application program (such as a sound playback function application program, an image playback function application program, etc.), etc.;
- the data storage area can store data (such as audio data, address book, etc.) created according to the use of electronic devices.
- the memory 420 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 input unit 430 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device 400.
- the input unit 430 may include a touch panel 431 and other input devices 432.
- the touch panel 431 also known as a touch screen, can collect user's touch operations on or near it (such as the user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 431 Operation), and drive the corresponding connection device according to the preset program.
- the touch panel 431 may include a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 480, and can receive the command sent by the processor 480 and execute it.
- the touch panel 431 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 430 may also include other input devices 432.
- the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.).
- the display unit 440 may be used to display information input by the user or information provided to the user and various menus of the electronic device.
- the display unit 440 may include a display panel 441.
- the display panel 441 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
- the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event, and then the processor 480 according to The type of touch event provides corresponding visual output on the display panel 441.
- the touch panel 431 and the display panel 441 are implemented as two independent components to realize the input and input functions of the electronic device, in some embodiments, the touch panel 431 and the display panel 441 may be integrated And realize the input and output functions of electronic equipment.
- the electronic device 400 may further include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 and the electronic device when moving to the ear /Or backlight.
- the motion sensor may include an acceleration sensor. The acceleration sensor can detect the magnitude of acceleration in various directions, and can detect the magnitude and direction of gravity when at rest.
- electronic devices can be used for applications that recognize the posture of electronic devices (such as horizontal and vertical screen switching), and vibration recognition related functions ( For example, pedometer, percussion, etc.; in addition, electronic devices can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc.
- sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc.
- the audio circuit 460, the speaker 461, and the microphone 462 may provide an audio interface between the user and the electronic device.
- the audio circuit 460 can transmit the converted electrical signal of the received audio data to the speaker 461, which converts the speaker 461 into a sound signal output; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which After receiving, it is converted into audio data, and then processed by the audio data output processor 480, and then sent to another electronic device via the RF circuit 410, or the audio data is output to the memory 420 for subsequent processing.
- WiFi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 470. It provides users with wireless broadband Internet access.
- FIG. 4 shows the WiFi module 470, it can be understood that it is not a necessary component of the electronic device 400, and may be omitted as needed.
- the processor 480 is the control center of the electronic device, and uses various interfaces and lines to connect the various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 420, and calling the data stored in the memory 420 , Perform various functions of electronic devices and process data, so as to monitor the electronic devices as a whole.
- the processor 480 may include one or more processing units.
- the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 480.
- the electronic device 400 further includes a power supply 490 (such as a battery) that supplies power to various components.
- a power supply 490 (such as a battery) that supplies power to various components.
- the power supply can be logically connected to the processor 480 through the power management system, so as to implement functions such as charging, discharging, and power management through the power management system .
- the electronic device 400 may further include a camera, a Bluetooth module, and the like.
- the processor 480 included in the computer device implements the methods of the foregoing embodiments when executing the computer program stored on the memory.
- the program may be stored in a non-volatile computer-readable storage medium
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), etc.
- An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the methods of the foregoing embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention relates to an audio mode correction method, comprising: acquiring scene information of an application program; receiving an audio mode adjustment instruction, and adjusting, according to the adjustment instruction, an audio mode of the application program; and monitoring an audio mode adjustment behavior of the application program, and if an output abnormality identifier of the audio mode is detected, correcting the audio mode of the application program, such that the corrected audio mode matches the scene information. Correspondingly, further provided are an audio mode correction apparatus, an electronic device and a readable storage medium, which solve the problem of non-restoration after abnormal audio adjustment in the prior art, thereby improving the stability of a system, and improving the user experience.
Description
本发明涉及信息技术领域,特别是涉及一种音频模式校正的方法、装置及电子设备。The invention relates to the field of information technology, in particular to a method, device and electronic device for audio mode correction.
随着技术的进步,电子设备的音频模式也越来越丰富,目前的音频模式可以分为铃声、系统、媒体、通话和闹钟等几种主流的模式,在不同的音频模式调节方式相互独立,例如,在闹钟模式下按下音量调节键,调节的是闹钟音量的大小,而在媒体音频模式下,按下音量调节键调节的是媒体音频的音量大小。但是,由于目前电子设备操作的复杂程度,会出现在某些应用程序调用音频资源时出现异常,导致音频调节错误且不可恢复,对使用造成了很大的影响。With the advancement of technology, the audio modes of electronic devices are becoming more and more abundant. The current audio modes can be divided into several mainstream modes such as ringtone, system, media, call, and alarm clock. The adjustment methods in different audio modes are independent of each other. For example, in the alarm clock mode, pressing the volume adjustment key adjusts the volume of the alarm clock, while in the media audio mode, pressing the volume adjustment key adjusts the volume of media audio. However, due to the complexity of the operation of electronic devices, abnormality may occur when certain applications call audio resources, resulting in incorrect and unrecoverable audio adjustment, which has a great impact on the use.
发明内容Summary of the invention
本申请实施例提供一种音频模式校正的方法,包括:An embodiment of the present application provides a method for audio mode correction, including:
获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;Obtain the scene information of the application, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;Receiving an audio mode adjustment instruction, and adjusting the audio mode of the application according to the adjustment instruction;
监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。Monitor the audio mode adjustment behavior of the application, and if the audio mode output abnormality is detected, correct the audio mode of the application so that the corrected audio mode matches the scene information.
本申请实施例还提供一种音频模式校正的装置,包括:An embodiment of the present application further provides an audio mode correction device, including:
获取模块,用于获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;The obtaining module is used to obtain scene information of the application program, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
调节模块,用于接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;An adjustment module, configured to receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;
校正模块,用于监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。The correction module is used to monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormality flag is detected, correct the audio mode of the application program, so that the corrected audio mode and the scene information Match.
本申请实施例还提供一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如上述的音频模式校正的步骤。An embodiment of the present application further provides an electronic device, including a memory and a processor, and the memory stores a computer program, wherein when the computer program is executed by the processor, the processor is executed as described above Steps for correcting the audio mode.
本申请实施例还提供一种计算机非易失性可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述的音频模式校正的步骤。An embodiment of the present application further provides a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of audio mode correction as described above are implemented.
电子设备和计算机可读存储介质在实现上述方法时,根据场景模式的不同,校正音频模式使之与该场景匹配,降低了音频出现异常的风险,增强系统的稳定性,提高了用户体验。When implementing the above method, the electronic device and the computer-readable storage medium correct the audio mode to match the scene according to the different scene modes, reducing the risk of abnormal audio, enhancing the stability of the system, and improving the user experience.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative labor, drawings of other embodiments can be obtained based on these drawings.
图1为一实施例的音频模式校正方法流程图;FIG. 1 is a flowchart of an audio mode correction method according to an embodiment;
图2为一实施例的音频模式校正装置结构示意图;2 is a schematic structural diagram of an audio mode correction device according to an embodiment;
图3为一实施例中电子设备的内部结构示意图;3 is a schematic diagram of the internal structure of an electronic device in an embodiment;
图4为与本发明实施例提供的计算机设备相关的电子设备的部分结构的框图。4 is a block diagram of a partial structure of an electronic device related to a computer device provided by an embodiment of the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention.
如图1所示,本申请实施例提供了一种音频模式校正的方法,该方法包括:As shown in FIG. 1, an embodiment of the present application provides a method for audio mode correction. The method includes:
S110、获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;S110. Acquire scene information of an application program, where the scene information is one or more combinations of audio playback scenes, recording scenes, voice call scenes, and ringtone playback scenes;
电子设备可实时获取某一个应用程序或多个应用程序的场景信息,其中,场景信息可包括音频播放场景、录音场景、语音通话场景和场景,且每一类场景与某一种音频模式相匹配,例如,应用程序处于音频播放场景时,此时的音频模式应为媒体音频模式,对应地,当用户调节音量大小时,只能调节对应的媒体音频模式,而不能调节其他的音频模式,如闹铃模式、通话模式等。具体地,音频播放场景与媒体音频模式相匹配,录音场景对应的则是静音模式,语音通话场景对应通话音频模式,而闹铃场景对应于闹铃播放模式,其中,通话模式又可以细分为听筒和免提模式。The electronic device can obtain scene information of a certain application or multiple applications in real time, where the scene information can include audio playback scenes, recording scenes, voice call scenes and scenes, and each type of scene matches a certain audio mode For example, when the application is in an audio playback scene, the audio mode at this time should be the media audio mode. Correspondingly, when the user adjusts the volume level, only the corresponding media audio mode can be adjusted, but not other audio modes, such as Alarm mode, call mode, etc. Specifically, the audio playback scene matches the media audio mode, the recording scene corresponds to the silent mode, the voice call scene corresponds to the call audio mode, and the alarm scene corresponds to the alarm playback mode, where the call mode can be subdivided into Handset and hands-free mode.
应用程序的场景信息可以通过系统内部的监听函数(listen()函数)来获取,当有需要时,应用程序会调用相应的音频资源,监听函数会记录此时应用程序调用的音频资源,并生成相应的场景信息,例如,当前音频资源为音乐资源,则生成的场景信息为音频播放场景,又例如,当前有通话来电,并已经建立了通话,则生成的场景信息为语音通话场景。此外,应用程序的场景信息还可以通过电子设备内置或外置的传感器对外界进行探测,从而获取到该应用程序的场景信息,例如,电子设备可通过距离传感器感知电子设备与用户的距离,若小于预设阈值,则确定场景信息为语音通话场景。The application's scene information can be obtained through the system's internal monitoring function (listen() function). When necessary, the application will call the corresponding audio resource. The monitoring function will record the audio resource called by the application at this time and generate Corresponding scene information, for example, if the current audio resource is a music resource, the generated scene information is an audio playback scene, and for example, if there is a call incoming and a call has been established, the generated scene information is a voice call scene. In addition, the scene information of the application can also be detected by the built-in or external sensors of the electronic device to obtain the scene information of the application. For example, the electronic device can sense the distance between the electronic device and the user through the distance sensor. If it is less than the preset threshold, it is determined that the scene information is a voice call scene.
需要说明的是,应用程序可与一个或多个音频模式相对应,本申请实施例中,在不同场景下,应用程序对应的音频模式可随之更改,例如,应用程序在通话来电时调用的音频模式为语音通话模式,在通话来电结束后,音频模式自动切换为媒体音频模式。It should be noted that the application may correspond to one or more audio modes. In the embodiments of the present application, in different scenarios, the audio mode corresponding to the application may be changed accordingly, for example, the The audio mode is the voice call mode, and the audio mode is automatically switched to the media audio mode after the call is ended.
S120、接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;S120: Receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;
音频模式调节指令,可以为当前音量的大小调节指令,也可以为当前音频的音调、音质等各类参数的调节。以音量大小调节为例,当用户按压实体或虚拟的音量按键时,此时电子设备接收到音频模式调节指令,并根据该调节指令对应用程序当前的音频模式对应的音量大小进行调节。The audio mode adjustment instruction can be an adjustment instruction for the current volume level, as well as the adjustment of various parameters such as the current audio tone and sound quality. Taking volume adjustment as an example, when a user presses a physical or virtual volume button, the electronic device receives an audio mode adjustment instruction at this time, and adjusts the volume corresponding to the current audio mode of the application according to the adjustment instruction.
S130、监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。S130. Monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormality flag is detected, correct the audio mode of the application program, so that the corrected audio mode matches the scene information.
电子设备可通过内置的监听函数对应用程序的音频模式调节行为进行监听,以安卓系统的电子设备为例,可在系统框架层(native/framework层)创建系统级的监听模块,通过所述监听模块对所述应用程序的音频模式进行监听,或,独立创建监听进程,通过消息传输机制监听所述应用程序的音频模式。例如,可在框架层设立监听模块并运行在系统服务程序(system_server)中,由于该监听模块设立在系统级的服务框架层中,可方便与其他系统服务进行交互,同时无需担心系统调用时的权限问题。此外,也可以创建独立的监听进程,在该进程中设立并调用单独的监听函数,可设置为开机自启动,并实时对其他任何一个应用程序的音频调用行为、音频模式调节行为进行监控,具体地,可实时抓取当前调用的音频模式ID信息及调节量大小,以此确定当前调节行为对应的音频模式及具体的调节量,可独立开发,不与系统进行耦合,方便后续的开发和升级。The electronic device can monitor the audio mode adjustment behavior of the application through the built-in monitoring function. Taking the electronic device of the Android system as an example, a system-level monitoring module can be created at the system framework layer (native/framework layer). The module monitors the audio mode of the application, or independently creates a monitoring process, and monitors the audio mode of the application through a message transmission mechanism. For example, you can set up a listener module in the framework layer and run it in the system service program (system_server). Since the listener module is established in the system-level service framework layer, you can easily interact with other system services without worrying about system calls. Permissions issue. In addition, you can also create an independent monitoring process, set up and call a separate monitoring function in this process, can be set to start automatically after booting, and monitor the audio calling behavior and audio mode adjustment behavior of any other application in real time. The ID information and adjustment amount of the currently invoked audio mode can be captured in real time to determine the audio mode and the specific adjustment amount corresponding to the current adjustment behavior. It can be independently developed without coupling with the system to facilitate subsequent development and upgrade .
电子设备监测到所述音频模式输出异常标识,即音频模式的调节并非是与当前场景相匹配的音频模式的调节,则确定当前音频模式异常,从而输出异常标识。其中异常标识表示当前音频模式状态异常,在安卓系统中,该异常标识可以是音频模式监测的校验位,例如,“0”表示正常,“1”表示异常,若该校验位输出为1,则确定当前音频模式异常。该异常标识还可以以字符串等方式设立的标识位,通过检测当前音频模式与当前场景的匹配程度,若 不匹配则标识位输出为异常,若匹配则标识位输出为正常。The electronic device detects that the audio mode output abnormality identifier, that is, the adjustment of the audio mode is not the adjustment of the audio mode matching the current scene, determines that the current audio mode is abnormal, and outputs the abnormality identifier. The abnormal sign indicates that the current audio mode status is abnormal. In the Android system, the abnormal sign may be a check bit for audio mode monitoring. For example, "0" indicates normal, "1" indicates abnormal, and if the check bit is output as 1. , It is determined that the current audio mode is abnormal. The abnormal sign can also be a sign bit established by means of a character string, etc. By detecting the matching degree between the current audio mode and the current scene, the sign bit output is abnormal if it does not match, and the sign bit output is normal if it matches.
在S130中,校正所述应用程序的音频模式的具体方式可以为:In S130, a specific manner of correcting the audio mode of the application program may be:
设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换。在安卓系统中,按照现行的google SDK开发包协议下,有setmode函数可作为该模式转换接口,在现行的安卓框架下,可通过调用该setmode函数即可实现音频模式转换,例如,定义setmode(0)为媒体音频模式,setmode(1)为铃声模式,setmode(2)为语音通话模式等。具体地,设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换,可通过设置场景信息与音频模式映射表,并根据所述映射表,将所述应用程序的音频模式通过模式转换接口转换为与所述场景信息匹配的音频模式。如上述示例所述,具体地,在映射表内,音频播放场景与媒体音频模式相匹配,录音场景对应的则是静音模式,语音通话场景对应通话音频模式,而闹铃场景对应于闹铃播放模式,其中,通话模式又可以细分为听筒和免提模式。映射表可以以数据库的形式存储在电子设备存储器中,需要调用时可通过内部指令进行映射表的访问,以确定出当前场景模式对应的音频模式。Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface. In the Android system, according to the current google SDK development package agreement, there is a setmode function that can be used as the mode conversion interface. In the current Android framework, the audio mode conversion can be achieved by calling the setmode function. For example, define setmode( 0) is the media audio mode, setmode(1) is the ringtone mode, setmode(2) is the voice call mode, etc. Specifically, a mode conversion interface is set to perform mode conversion on the audio mode through the mode conversion interface. The scene information and the audio mode mapping table can be set, and according to the mapping table, the audio mode of the application can be passed The mode conversion interface converts to an audio mode matching the scene information. As described in the above example, specifically, in the mapping table, the audio playback scene matches the media audio mode, the recording scene corresponds to the silent mode, the voice call scene corresponds to the call audio mode, and the alarm scene corresponds to the alarm playback Mode, in which the call mode can be subdivided into handset and hands-free mode. The mapping table can be stored in the memory of the electronic device in the form of a database, and the mapping table can be accessed through internal instructions when it needs to be called to determine the audio mode corresponding to the current scene mode.
如果在程序运行过程中,音频模式的调节并非是与当前场景相匹配的音频模式的调节,则确定当前音频模式异常,本申请实施例中需要对该音频模式进行校正,下面将分别对不同场景的音频模式校正进行说明:If the adjustment of the audio mode is not the adjustment of the audio mode matching the current scene during the running of the program, it is determined that the current audio mode is abnormal, and the audio mode needs to be corrected in the embodiment of the present application. The audio mode correction is explained:
当场景信息为音频播放场景,且音频模式为非媒体音频,则认定当前音频模式异常,则校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为媒体音频,而调节媒体音频具体可以为调节媒体音频模式的音质、音量大小等。其中,所述音频播放场景与所述媒体音频模式相匹配。When the scene information is an audio playback scene and the audio mode is non-media audio, it is determined that the current audio mode is abnormal, and the audio mode of the application is corrected, which may specifically be: correct the audio mode to media audio, and adjust the media The audio may be specifically adjusted for the sound quality and volume of the media audio mode. Wherein, the audio playback scene matches the media audio mode.
当场景信息为录音场景且音频模式为非静音模式,则认定当前音频模式异常,则校正所述应用程序的音频模式,具体可以为:将所述应用程序的音频模式校正为静音模式,其中,所述录音场景与所述静音模式相匹配。其中,将所述应用程序的音频模式校正为静音模式,具体可以为:将所述音频模式设置为媒体音频模式,并调节所述媒体音频音量为0,或,将所述音频模式 设置为系统音频模式,并调节所述系统音频音量为0。When the scene information is a recording scene and the audio mode is a non-silent mode, it is determined that the current audio mode is abnormal, and the audio mode of the application is corrected, which may specifically be: the audio mode of the application is corrected to a silent mode, wherein, The recording scene matches the silent mode. Wherein, correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to the system Audio mode, and adjust the system audio volume to 0.
当场景信息为语音通话场景,且音频模式为非通话模式,则认定当前音频模式异常,则校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为通话模式,其中,所述语音通话场景与所述通话模式相匹配。此外,当所述通话模式为听筒模式时,调节所述听筒模式音量大小,或,当所述通话模式为免提模式时,调节所述免提模式音量大小。When the scene information is a voice call scenario and the audio mode is a non-call mode, it is determined that the current audio mode is abnormal, and the audio mode of the application is corrected. Specifically, the audio mode may be corrected to a call mode, where The voice call scenario matches the call mode. In addition, when the call mode is the handset mode, adjust the volume level of the handset mode, or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
当场景信息为铃声播放场景,且音频模式为非铃声模式,则认定当前音频模式异常,则校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为铃声音频,其中,所述音频播放场景与所述媒体音频模式相匹配。其中,将所述音频模式校正为铃声音频,具体可以为:将所述音频模式校正为调节铃声的音量大小。When the scene information is a ringtone playing scene, and the audio mode is a non-ringtone mode, it is determined that the current audio mode is abnormal, and the audio mode of the application is corrected. Specifically, the audio mode may be corrected to a ringtone audio. The audio playback scene matches the media audio mode. Wherein, correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
当场景信息为铃声播放场景,且所述音频模式为非铃声模式,则认定当前音频模式异常,则校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为铃声模式,其中,所述铃声播放场景与所述铃声模式相匹配。其中,将所述音频模式校正为铃声模式,具体可以为:将所述音频调节校正为调节铃声音频模式的音量大小。When the scene information is a ringtone playing scene, and the audio mode is a non-ringtone mode, it is determined that the current audio mode is abnormal, and the audio mode of the application is corrected, which may specifically be: the audio mode is corrected to a ringtone mode, wherein , The ringtone playing scene matches the ringtone pattern. Wherein, correcting the audio mode to the ringtone mode may specifically be: correcting the audio adjustment to adjust the volume of the ringtone audio mode.
本申请实施例中,通过获取到场景信息,并监听应用程序的音频模式调节行为,若行为异常时校正该音频模式,使得校正后的音频模式与对应的场景相匹配,解决了现有技术中音频调节异常后不可恢复的问题,提升了系统的稳定性,提高了用户体验。In the embodiment of the present application, by acquiring scene information and monitoring the audio mode adjustment behavior of the application program, if the behavior is abnormal, the audio mode is corrected so that the corrected audio mode matches the corresponding scene, which solves the prior art The unrecoverable problem after abnormal audio adjustment improves the stability of the system and improves the user experience.
如图2所示,本申请实施例还提供一种音频模式校正的装置20,该装置20包括:As shown in FIG. 2, an embodiment of the present application further provides an audio mode correction device 20. The device 20 includes:
获取模块21,用于获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;The obtaining module 21 is used to obtain scene information of the application program, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
获取模块21可实时获取某一个应用程序或多个应用程序的场景信息,其中,场景信息可包括音频播放场景、录音场景、语音通话场景和闹铃场景,且每一类场景与某一种音频模式相匹配,例如,应用程序处于音频播放场景 时,此时的音频模式应为媒体音频模式,对应地,当用户调节音量大小时,只能调节对应的媒体音频模式,而不能调节其他的音频模式,如闹铃模式、通话模式等。具体地,音频播放场景与媒体音频模式相匹配,录音场景对应的则是静音模式,语音通话场景对应通话音频模式,而闹铃场景对应于闹铃播放模式,其中,通话模式又可以细分为听筒和免提模式。The obtaining module 21 can obtain scene information of a certain application or multiple applications in real time, where the scene information can include audio playback scenes, recording scenes, voice call scenes and alarm scenes, and each type of scene is associated with a certain type of audio The mode matches, for example, when the application is in an audio playback scene, the audio mode at this time should be the media audio mode. Correspondingly, when the user adjusts the volume level, only the corresponding media audio mode can be adjusted, but not other audio. Modes, such as alarm mode, call mode, etc. Specifically, the audio playback scene matches the media audio mode, the recording scene corresponds to the silent mode, the voice call scene corresponds to the call audio mode, and the alarm scene corresponds to the alarm playback mode, where the call mode can be subdivided into Handset and hands-free mode.
应用程序的场景信息可以通过系统内部的监听函数(listen()函数)来获取,当有需要时,应用程序会调用相应的音频资源,监听函数会记录此时应用程序调用的音频资源,并生成相应的场景信息,例如,当前音频资源为音乐资源,则生成的场景信息为音频播放场景,又例如,当前有通话来电,并已经建立了通话,则生成的场景信息为语音通话场景。此外,应用程序的场景信息还可以通过电子设备内置或外置的传感器对外界进行探测,从而获取到该应用程序的场景信息,例如,电子设备可通过距离传感器感知电子设备与用户的距离,若小于预设阈值,则确定场景信息为语音通话场景。The application's scene information can be obtained through the system's internal monitoring function (listen() function). When necessary, the application will call the corresponding audio resource. The monitoring function will record the audio resource called by the application at this time and generate Corresponding scene information, for example, if the current audio resource is a music resource, the generated scene information is an audio playback scene, and for example, if there is a call incoming and a call has been established, the generated scene information is a voice call scene. In addition, the scene information of the application can also be detected by the built-in or external sensors of the electronic device to obtain the scene information of the application. For example, the electronic device can sense the distance between the electronic device and the user through the distance sensor. If it is less than the preset threshold, it is determined that the scene information is a voice call scene.
需要说明的是,应用程序可与一个或多个音频模式相对应,本申请实施例中,在不同场景下,应用程序对应的音频模式可随之更改,例如,应用程序在通话来电时调用的音频模式为语音通话模式,在通话来电结束后,音频模式自动切换为媒体音频模式。It should be noted that the application may correspond to one or more audio modes. In the embodiments of the present application, in different scenarios, the audio mode corresponding to the application may be changed accordingly, for example, the The audio mode is the voice call mode, and the audio mode is automatically switched to the media audio mode after the call is ended.
调节模块22,用于接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;The adjustment module 22 is configured to receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;
音频模式调节指令,可以为当前音量的大小调节指令,也可以为当前音频的音调、音质等各类参数的调节。以音量大小调节为例,当用户按压实体或虚拟的音量按键时,此时调节模块22接收到音频模式调节指令,并根据该调节指令对应用程序当前的音频模式对应的音量大小进行调节。The audio mode adjustment instruction can be an adjustment instruction for the current volume level, as well as the adjustment of various parameters such as the current audio tone and sound quality. Taking volume adjustment as an example, when the user presses a physical or virtual volume button, the adjustment module 22 receives an audio mode adjustment instruction, and adjusts the volume corresponding to the current audio mode of the application according to the adjustment instruction.
校正模块23,用于监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。The correction module 23 is used to monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormal flag is detected, correct the audio mode of the application program, so that the corrected audio mode and the scene The information matches.
校正模块23可通过监听函数对应用程序的音频模式调节行为进行监听, 以安卓系统为例,校正模块23可在系统框架层(native/framework层)创建系统级的监听模块,通过所述监听模块对所述应用程序的音频模式进行监听,或,独立创建监听进程,通过消息传输机制监听所述应用程序的音频模式。例如,校正模块23可在框架层设立监听模块并运行在系统服务程序(system_server)中,由于该监听模块设立在系统级的服务框架层中,可方便与其他系统服务进行交互,同时无需担心系统调用时的权限问题。此外,也可以创建独立的监听进程,在该进程中设立并调用单独的监听函数,可设置为开机自启动,并实时对其他任何一个应用程序的音频调用行为、音频模式调节行为进行监控,具体地,可实时抓取当前调用的音频模式ID信息及调节量大小,以此确定当前调节行为对应的音频模式及具体的调节量,可独立开发,不与系统进行耦合,方便后续的开发和升级。The correction module 23 can monitor the audio mode adjustment behavior of the application through the monitoring function. Taking the Android system as an example, the correction module 23 can create a system-level monitoring module at the system framework layer (native/framework layer), through which the monitoring module Monitor the audio mode of the application, or create a monitoring process independently and monitor the audio mode of the application through a message transmission mechanism. For example, the correction module 23 can set up a listener module at the framework layer and run it in the system service program (system_server). Since the listener module is established at the system-level service framework layer, it can facilitate interaction with other system services without worrying about the system Permission issue when calling. In addition, you can also create an independent monitoring process, set up and call a separate monitoring function in this process, can be set to start automatically after booting, and monitor the audio calling behavior and audio mode adjustment behavior of any other application in real time. The ID information and adjustment amount of the currently invoked audio mode can be captured in real time to determine the audio mode and the specific adjustment amount corresponding to the current adjustment behavior. It can be independently developed without coupling with the system to facilitate subsequent development and upgrade .
校正模块23校正所述应用程序的音频模式,具体可以为:The correction module 23 corrects the audio mode of the application program, which may specifically be:
设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换。在安卓系统中,按照现行的google SDK开发包协议下,有setmode函数可作为该模式转换接口,在现行的安卓框架下,可通过调用该setmode函数即可实现音频模式转换,例如,定义setmode(0)为媒体音频模式,setmode(1)为铃声模式,setmode(2)为语音通话模式等。具体地,设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换,可通过设置场景信息与音频模式映射表,并根据所述映射表,将所述应用程序的音频模式通过模式转换接口转换为与所述场景信息匹配的音频模式。如上述示例所述,具体地,在映射表内,音频播放场景与媒体音频模式相匹配,录音场景对应的则是静音模式,语音通话场景对应通话音频模式,而闹铃场景对应于闹铃播放模式,其中,通话模式又可以细分为听筒和免提模式。映射表可以以数据库的形式存储在电子设备存储器中,需要调用时可通过内部指令进行映射表的访问,以确定出当前场景模式对应的音频模式。Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface. In the Android system, according to the current google SDK development package agreement, there is a setmode function that can be used as the mode conversion interface. In the current Android framework, the audio mode conversion can be achieved by calling the setmode function. For example, define setmode( 0) is the media audio mode, setmode(1) is the ringtone mode, setmode(2) is the voice call mode, etc. Specifically, a mode conversion interface is set to perform mode conversion on the audio mode through the mode conversion interface. The scene information and the audio mode mapping table can be set, and according to the mapping table, the audio mode of the application can be passed The mode conversion interface converts to an audio mode matching the scene information. As described in the above example, specifically, in the mapping table, the audio playback scene matches the media audio mode, the recording scene corresponds to the silent mode, the voice call scene corresponds to the call audio mode, and the alarm scene corresponds to the alarm playback Mode, in which the call mode can be subdivided into handset and hands-free mode. The mapping table can be stored in the memory of the electronic device in the form of a database, and the mapping table can be accessed through internal instructions when it needs to be called to determine the audio mode corresponding to the current scene mode.
如果在程序运行过程中,音频模式的调节并非是与当前场景相匹配的音频模式的调节,则确定当前音频模式异常,本申请实施例中,校正模块23需 要对该音频模式进行校正,下面将分别对不同场景的音频模式校正进行说明:If the adjustment of the audio mode is not the adjustment of the audio mode matching the current scene during the running of the program, it is determined that the current audio mode is abnormal. In the embodiment of the present application, the correction module 23 needs to correct the audio mode. Respectively explain the audio mode correction of different scenes:
当场景信息为音频播放场景,且音频模式为非媒体音频,则认定当前音频模式异常,则校正模块23校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为媒体音频,而调节媒体音频具体可以为调节媒体音频模式的音质、音量大小等。其中,所述音频播放场景与所述媒体音频模式相匹配。When the scene information is an audio playback scene and the audio mode is non-media audio, it is determined that the current audio mode is abnormal, and the correction module 23 corrects the audio mode of the application, which may specifically be: the audio mode is corrected to media audio, Adjusting the media audio may specifically be adjusting the sound quality and volume of the media audio mode. Wherein, the audio playback scene matches the media audio mode.
当场景信息为录音场景且音频模式为非静音模式,则认定当前音频模式异常,则校正模块23校正所述应用程序的音频模式,具体可以为:将所述应用程序的音频模式校正为静音模式,其中,所述录音场景与所述静音模式相匹配。其中,将所述应用程序的音频模式校正为静音模式,具体可以为:将所述音频模式设置为媒体音频模式,并调节所述媒体音频音量为0,或,将所述音频模式设置为系统音频模式,并调节所述系统音频音量为0。When the scene information is a recording scene and the audio mode is a non-silent mode, it is determined that the current audio mode is abnormal, and the correction module 23 corrects the audio mode of the application, which may specifically be: the audio mode of the application is corrected to the silent mode , Where the recording scene matches the silent mode. Wherein, correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to the system Audio mode, and adjust the system audio volume to 0.
当场景信息为语音通话场景,且音频模式为非通话模式,则认定当前音频模式异常,则校正模块23校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为通话模式,其中,所述语音通话场景与所述通话模式相匹配。此外,当所述通话模式为听筒模式时,调节所述听筒模式音量大小,或,当所述通话模式为免提模式时,调节所述免提模式音量大小。When the scene information is a voice call scenario and the audio mode is a non-call mode, the current audio mode is determined to be abnormal, and the correction module 23 corrects the audio mode of the application, which may specifically be: correct the audio mode to a call mode, Wherein, the voice call scenario matches the call mode. In addition, when the call mode is the handset mode, adjust the volume level of the handset mode, or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
当场景信息为铃声播放场景,且音频模式为非铃声模式,则认定当前音频模式异常,则校正模块23校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为铃声音频,其中,所述音频播放场景与所述媒体音频模式相匹配。其中,将所述音频模式校正为铃声音频,具体可以为:将所述音频模式校正为调节铃声的音量大小。When the scene information is a ringtone playing scene and the audio mode is a non-ringtone mode, it is determined that the current audio mode is abnormal, and the correction module 23 corrects the audio mode of the application, which may specifically be: correcting the audio mode to ringtone audio, Wherein, the audio playback scene matches the media audio mode. Wherein, correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
当场景信息为铃声播放场景,且所述音频模式为非铃声模式,则认定当前音频模式异常,则校正模块23校正所述应用程序的音频模式,具体可以为:将所述音频模式校正为铃声模式,其中,所述铃声播放场景与所述铃声模式相匹配。其中,将所述音频模式校正为铃声模式,具体可以为:将所述音频调节校正为调节铃声音频模式的音量大小。When the scene information is a ringtone playing scene and the audio mode is a non-ringtone mode, it is determined that the current audio mode is abnormal, and the correction module 23 corrects the audio mode of the application, which may specifically be: correcting the audio mode to a ringtone Mode, wherein the ringtone playing scene matches the ringtone mode. Wherein, correcting the audio mode to the ringtone mode may specifically be: correcting the audio adjustment to adjust the volume of the ringtone audio mode.
本申请实施例中,获取模块21通过获取到场景信息,校正模块23监听应用程序的音频模式调节行为,若行为异常时校正该音频模式,使得校正后的音频模式与对应的场景相匹配,解决了现有技术中音频调节异常后不可恢复的问题,提升了系统的稳定性,提高了用户体验。In the embodiment of the present application, the acquisition module 21 obtains the scene information, and the correction module 23 monitors the audio mode adjustment behavior of the application program. If the behavior is abnormal, the audio mode is corrected so that the corrected audio mode matches the corresponding scene. It solves the problem of unrecoverable after abnormal audio adjustment in the prior art, improves the stability of the system, and improves the user experience.
图3为一实施例中电子设备的内部结构示意图。如图3所示,该电子设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口、声音采集装置、扬声器、显示屏和输入装置。其中,终端的非易失性存储介质存储有操作系统和计算机可读指令。该计算机可读指令被处理器执行时以实现一种电子设备的音频模式校正方法。该处理器用于提供计算和控制能力,支撑整个电子设备的运行。电子设备中的内存储器为非易失性存储介质中的计算机可读指令的运行提供环境。电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。3 is a schematic diagram of an internal structure of an electronic device in an embodiment. As shown in FIG. 3, the electronic device includes a processor connected through a system bus, a non-volatile storage medium, an internal memory and a network interface, a sound collection device, a speaker, a display screen, and an input device. Among them, the non-volatile storage medium of the terminal stores an operating system and computer-readable instructions. The computer readable instructions are executed by the processor to implement an audio mode correction method of the electronic device. The processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The internal memory in the electronic device provides an environment for the execution of computer-readable instructions in the non-volatile storage medium. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, etc. The input device may be a touch layer covered on the display screen, a button, a trackball or a touch pad provided on the electronic device housing, or External keyboard, touchpad or mouse, etc. The electronic device may be a mobile phone, a tablet computer, a personal digital assistant or a wearable device. Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
其中,上述提及的音频模式校正方法具体可以为:Among them, the above mentioned audio mode correction method may specifically be:
获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;Obtain the scene information of the application, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;
接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;Receiving an audio mode adjustment instruction, and adjusting the audio mode of the application according to the adjustment instruction;
监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。Monitor the audio mode adjustment behavior of the application, and if the audio mode output abnormality is detected, correct the audio mode of the application so that the corrected audio mode matches the scene information.
需要说明的是,监听所述应用程序的音频模式调节行为,具体可以为: 在系统框架层创建系统级的监听模块,通过所述监听模块对所述应用程序的音频模式进行监听,或,独立创建监听进程,通过消息传输机制监听所述应用程序的音频模式。It should be noted that monitoring the audio mode adjustment behavior of the application may specifically be: creating a system-level monitoring module at the system framework layer, and monitoring the audio mode of the application through the monitoring module, or, independently Create a monitoring process to monitor the audio mode of the application through a message transmission mechanism.
此外,所述校正所述应用程序的音频模式,具体可以为:In addition, the correction of the audio mode of the application may specifically be:
设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换。具体地,可设置场景信息与音频模式映射表,并根据所述映射表,将所述应用程序的音频模式通过模式转换接口转换为与所述场景信息匹配的音频模式。Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface. Specifically, a scene information and audio mode mapping table may be set, and according to the mapping table, the audio mode of the application program is converted into an audio mode matching the scene information through a mode conversion interface.
当场景信息为音频播放场景,所述音频模式为非媒体音频,则确定音频模式异常,则校正所述应用程序的音频模式具体可以为:When the scene information is an audio playback scene and the audio mode is non-media audio, it is determined that the audio mode is abnormal, and then the correction of the audio mode of the application may specifically be:
将所述音频模式校正为媒体音频,其中,所述音频播放场景与所述媒体音频模式相匹配。其中,将所述音频校正为媒体音频,可以为:将所述音频调节校正为调节媒体音频模式的音量大小。The audio mode is corrected to media audio, wherein the audio playback scene matches the media audio mode. Wherein, correcting the audio to media audio may be: adjusting the audio adjustment to adjust the volume of the media audio mode.
当场景信息为录音场景,所述音频模式为非静音模式,则确定音频模式异常,则校正所述应用程序的音频模式具体可以为:When the scene information is a recording scene and the audio mode is a non-silent mode, it is determined that the audio mode is abnormal, and then the correction of the audio mode of the application may specifically be:
将所述应用程序的音频模式校正为静音模式,其中,所述录音场景与所述静音模式相匹配。其中,将所述应用程序的音频模式校正为静音模式具体可以为:将所述音频模式设置为媒体音频模式,并调节所述媒体音频音量为0,或,将所述音频模式设置为系统音频模式,并调节所述系统音频音量为0。Correcting the audio mode of the application to a silent mode, wherein the recording scene matches the silent mode. Wherein, correcting the audio mode of the application to a silent mode may specifically be: setting the audio mode to a media audio mode, and adjusting the media audio volume to 0, or, setting the audio mode to system audio Mode and adjust the system audio volume to 0.
当场景信息为语音通话场景,所述音频模式为非通话模式,则确定音频模式异常,则校正所述应用程序的音频模式具体可以为:将所述音频模式校正为通话模式,其中,所述语音通话场景与所述通话模式相匹配。其中,当所述通话模式为听筒模式时,调节所述听筒模式音量大小,或,当所述通话模式为免提模式时,调节所述免提模式音量大小。When the scene information is a voice call scenario, and the audio mode is a non-call mode, it is determined that the audio mode is abnormal, and then correcting the audio mode of the application may specifically be: correcting the audio mode to a call mode, wherein, the The voice call scenario matches the call mode. Wherein, when the call mode is the handset mode, adjust the volume level of the handset mode, or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
当场景信息为铃声播放场景,所述音频模式为非铃声模式,则确定音频模式异常,则校正所述应用程序的音频模式具体可以为:将所述音频模式校正为铃声音频,其中,所述音频播放场景与所述媒体音频模式相匹配。其中, 将所述音频模式校正为铃声音频,具体可以为:将所述音频模式校正为调节铃声的音量大小。When the scene information is a ringtone playing scene, and the audio mode is a non-ringtone mode, it is determined that the audio mode is abnormal, and then correcting the audio mode of the application may specifically be: correcting the audio mode to ringtone audio, wherein, the The audio playing scene matches the media audio mode. Wherein, correcting the audio mode to ringtone audio may specifically be: correcting the audio mode to adjust the volume of the ringtone.
此外,本申请实施例还提供了一种计算机非易失性可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述音频模式校正的步骤。In addition, the embodiments of the present application further provide a computer non-volatile readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of audio mode correction as described above are implemented.
本发明实施例还提供了一种计算机设备。如图4所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该计算机设备可以为包括电子设备、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以计算机设备为电子设备为例:An embodiment of the present invention also provides a computer device. As shown in FIG. 4, for ease of description, only parts related to the embodiments of the present invention are shown, and specific technical details are not disclosed, please refer to the method part of the embodiments of the present invention. The computer device may be any terminal device including an electronic device, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, a wearable device, etc. The computer device is an electronic device For example:
图4为与本发明实施例提供的计算机设备相关的电子设备的部分结构的框图。参考图4,电子设备包括:射频(Radio Frequency,RF)电路410、存储器420、输入单元430、显示单元440、传感器450、音频电路460、无线保真(wireless fidelity,WiFi)模块470、处理器480、以及电源490等部件。本领域技术人员可以理解,图4所示的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。4 is a block diagram of a partial structure of an electronic device related to a computer device provided by an embodiment of the present invention. 4, the electronic device includes: a radio frequency (Radio Frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and power supply 490 and other components. Those skilled in the art may understand that the structure of the electronic device shown in FIG. 4 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine some components, or arrange different components.
其中,RF电路410可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器480处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路410还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access, WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。Among them, the RF circuit 410 can be used to receive and send signals during the sending and receiving of information or during a call. It can receive the downlink information of the base station and process it to the processor 480; it can also send the uplink data to the base station. Generally, RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on. In addition, the RF circuit 410 can also communicate with other devices through a wireless communication network. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Message Service (SMS), etc.
存储器420可用于存储软件程序以及模块,处理器480通过运行存储在存储器420的软件程序以及模块,从而执行电子设备的各种功能应用以及数据处理。存储器420可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据电子设备的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 420 may be used to store software programs and modules. The processor 480 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 420. The memory 420 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and at least one function-required application program (such as a sound playback function application program, an image playback function application program, etc.), etc.; The data storage area can store data (such as audio data, address book, etc.) created according to the use of electronic devices. In addition, the memory 420 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.
输入单元430可用于接收输入的数字或字符信息,以及产生与电子设备400的用户设置以及功能控制有关的键信号输入。具体地,输入单元430可包括触控面板431以及其他输入设备432。触控面板431,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板431上或在触控面板431附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板431可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器480,并能接收处理器480发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板431。除了触控面板431,输入单元430还可以包括其他输入设备432。具体地,其他输入设备432可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 430 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device 400. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also known as a touch screen, can collect user's touch operations on or near it (such as the user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 431 Operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 431 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 480, and can receive the command sent by the processor 480 and execute it. In addition, the touch panel 431 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 431, the input unit 430 may also include other input devices 432. Specifically, the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.).
显示单元440可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种菜单。显示单元440可包括显示面板441。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极 管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板441。在一个实施例中,触控面板431可覆盖显示面板441,当触控面板431检测到在其上或附近的触摸操作后,传送给处理器480以确定触摸事件的类型,随后处理器480根据触摸事件的类型在显示面板441上提供相应的视觉输出。虽然在图4中,触控面板431与显示面板441是作为两个独立的部件来实现电子设备的输入和输入功能,但是在某些实施例中,可以将触控面板431与显示面板441集成而实现电子设备的输入和输出功能。The display unit 440 may be used to display information input by the user or information provided to the user and various menus of the electronic device. The display unit 440 may include a display panel 441. In one embodiment, the display panel 441 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. In one embodiment, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event, and then the processor 480 according to The type of touch event provides corresponding visual output on the display panel 441. Although in FIG. 4, the touch panel 431 and the display panel 441 are implemented as two independent components to realize the input and input functions of the electronic device, in some embodiments, the touch panel 431 and the display panel 441 may be integrated And realize the input and output functions of electronic equipment.
电子设备400还可包括至少一种传感器450,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板441的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板441和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,电子设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The electronic device 400 may further include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 and the electronic device when moving to the ear /Or backlight. The motion sensor may include an acceleration sensor. The acceleration sensor can detect the magnitude of acceleration in various directions, and can detect the magnitude and direction of gravity when at rest. It can be used for applications that recognize the posture of electronic devices (such as horizontal and vertical screen switching), and vibration recognition related functions ( For example, pedometer, percussion, etc.; in addition, electronic devices can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc.
音频电路460、扬声器461和传声器462可提供用户与电子设备之间的音频接口。音频电路460可将接收到的音频数据转换后的电信号,传输到扬声器461,由扬声器461转换为声音信号输出;另一方面,传声器462将收集的声音信号转换为电信号,由音频电路460接收后转换为音频数据,再将音频数据输出处理器480处理后,经RF电路410可以发送给另一电子设备,或者将音频数据输出至存储器420以便后续处理。The audio circuit 460, the speaker 461, and the microphone 462 may provide an audio interface between the user and the electronic device. The audio circuit 460 can transmit the converted electrical signal of the received audio data to the speaker 461, which converts the speaker 461 into a sound signal output; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which After receiving, it is converted into audio data, and then processed by the audio data output processor 480, and then sent to another electronic device via the RF circuit 410, or the audio data is output to the memory 420 for subsequent processing.
WiFi属于短距离无线传输技术,电子设备通过WiFi模块470可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了WiFi模块470,但是可以理解的是,其并不属于电子设备400的必须构成,可以根据需要而省略。WiFi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 470. It provides users with wireless broadband Internet access. Although FIG. 4 shows the WiFi module 470, it can be understood that it is not a necessary component of the electronic device 400, and may be omitted as needed.
处理器480是电子设备的控制中心,利用各种接口和线路连接整个电 子设备的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器420内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。在一个实施例中,处理器480可包括一个或多个处理单元。在一个实施例中,处理器480可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器480中。The processor 480 is the control center of the electronic device, and uses various interfaces and lines to connect the various parts of the entire electronic device, by running or executing the software programs and/or modules stored in the memory 420, and calling the data stored in the memory 420 , Perform various functions of electronic devices and process data, so as to monitor the electronic devices as a whole. In one embodiment, the processor 480 may include one or more processing units. In one embodiment, the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 480.
电子设备400还包括给各个部件供电的电源490(比如电池),优选的,电源可以通过电源管理系统与处理器480逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 400 further includes a power supply 490 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 480 through the power management system, so as to implement functions such as charging, discharging, and power management through the power management system .
在一个实施例中,电子设备400还可以包括摄像头、蓝牙模块等。In one embodiment, the electronic device 400 may further include a camera, a Bluetooth module, and the like.
在本发明实施例中,该计算机设备所包括的处理器480执行存储在存储器上的计算机程序时实现上述各实施例的方法。In the embodiments of the present invention, the processor 480 included in the computer device implements the methods of the foregoing embodiments when executing the computer program stored on the memory.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时上述各实施例的方法。Those of ordinary skill in the art may understand that all or part of the processes in the method of the above embodiments may be completed by instructing relevant hardware through a computer program, and the program may be stored in a non-volatile computer-readable storage medium In this case, when the program is executed, it may include the flow of the above method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), etc. An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the methods of the foregoing embodiments.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To simplify the description, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered within the scope of this description.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围 应以所附权利要求为准。The above-mentioned embodiments only express several embodiments of the present invention, and their descriptions are more specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that, for a person of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all fall within the protection scope of the present invention. Therefore, the protection scope of the invention patent shall be subject to the appended claims.
Claims (17)
- 一种音频模式校正的方法,其特征在于,包括:A method for audio mode correction, characterized in that it includes:获取应用程序的场景信息,所述场景信息为音频播放场景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;Obtain the scene information of the application, where the scene information is one or a combination of one of audio playback scene, recording scene, voice call scene and ringtone playback scene;接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;Receiving an audio mode adjustment instruction, and adjusting the audio mode of the application according to the adjustment instruction;监听所述应用程序的音频模式调节行为,若监测到所述音频模式调节输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。Monitor the audio mode adjustment behavior of the application, and if the abnormal output of the audio mode adjustment is detected, correct the audio mode of the application so that the corrected audio mode matches the scene information.
- 根据权利要求1所述的方法,其特征在于,所述校正所述应用程序的音频模式,包括:The method according to claim 1, wherein the correcting the audio mode of the application program comprises:设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换。Setting a mode conversion interface, and performing mode conversion on the audio mode through the mode conversion interface.
- 根据权利要求2所述的方法,其特征在于,所述设置模式转换接口,通过所述模式转换接口对所述音频模式进行模式转换,包括:The method according to claim 2, wherein the setting a mode conversion interface, and mode conversion of the audio mode through the mode conversion interface includes:设置场景信息与音频模式映射表;Set the scene information and audio mode mapping table;根据所述映射表,将所述应用程序的音频模式通过模式转换接口转换为与所述场景信息匹配的音频模式。According to the mapping table, the audio mode of the application program is converted into an audio mode matching the scene information through a mode conversion interface.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述场景信息为音频播放场景,所述音频模式为非媒体音频,则所述校正所述应用程序的音频模式,以使所述校正后的音频与所述场景相匹配,包括:The method according to any one of claims 1-3, wherein the scene information is an audio playback scene, and the audio mode is non-media audio, then the audio mode of the application is corrected so that Matching the corrected audio with the scene includes:将所述音频模式校正为媒体音频,其中,所述音频播放场景与所述媒体音频模式相匹配。The audio mode is corrected to media audio, wherein the audio playback scene matches the media audio mode.
- 根据权利要求4所述的方法,其特征在于,所述将所述音频校正为媒体音频,包括:The method according to claim 4, wherein the correcting the audio to media audio includes:将所述音频调节校正为调节媒体音频模式的音量大小。The audio adjustment is corrected to adjust the volume of the media audio mode.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述场景信息为录音场景,所述音频模式为非静音模式,则所述校正所述应用程序的音频模式,以使所述校正后的音频与所述场景相匹配,包括:The method according to any one of claims 1-3, wherein the scene information is a recording scene and the audio mode is a non-silent mode, then the audio mode of the application is corrected so that all The corrected audio matches the scene, including:将所述应用程序的音频模式校正为静音模式,其中,所述录音场景与所述静音模式相匹配。Correcting the audio mode of the application to a silent mode, wherein the recording scene matches the silent mode.
- 根据权利要求6所述的方法,其特征在于,所述将所述应用程序的音频模式校正为静音模式,包括:The method according to claim 6, wherein the correcting the audio mode of the application to a silent mode includes:将所述音频模式设置为媒体音频模式,并调节所述媒体音频音量为0,Set the audio mode to media audio mode, and adjust the media audio volume to 0,或,将所述音频模式设置为系统音频模式,并调节所述系统音频音量为0。Or, set the audio mode to the system audio mode, and adjust the system audio volume to 0.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述场景信息为语音通话场景,所述音频模式为非通话模式,则所述校正所述应用程序的音频模式,以使所述校正后的音频与所述场景相匹配,包括:The method according to any one of claims 1-3, wherein the scene information is a voice call scene and the audio mode is a non-call mode, then the audio mode of the application is corrected so that Matching the corrected audio with the scene includes:将所述音频模式校正为通话模式,其中,所述语音通话场景与所述通话模式相匹配。The audio mode is corrected to a call mode, wherein the voice call scene matches the call mode.
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:当所述通话模式为听筒模式时,调节所述听筒模式音量大小,或,当所述通话模式为免提模式时,调节所述免提模式音量大小。When the call mode is the handset mode, adjust the volume level of the handset mode, or, when the call mode is the hands-free mode, adjust the volume level of the hands-free mode.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述场景信息 为铃声播放场景,所述音频模式为非铃声模式,则所述校正所述应用程序的音频模式,以使所述校正后的音频与所述场景相匹配,包括:The method according to any one of claims 1-3, wherein the scene information is a ringtone playing scene, and the audio mode is a non-ringtone mode, then the audio mode of the application is corrected so that Matching the corrected audio with the scene includes:将所述音频模式校正为铃声音频,其中,所述音频播放场景与所述媒体音频模式相匹配。The audio mode is corrected to ringtone audio, wherein the audio playback scene matches the media audio mode.
- 根据权利要求10所述的方法,其特征在于,所述将所述音频模式校正为铃声音频,包括:The method according to claim 10, wherein the correcting the audio mode to ringtone audio comprises:将所述音频模式校正为调节铃声的音量大小。Correct the audio mode to adjust the volume of the ringtone.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述场景信息为铃声播放场景,所述音频模式为非铃声模式,则所述校正所述应用程序的音频模式,以使所述校正后的音频与所述场景相匹配,包括:The method according to any one of claims 1-3, wherein the scene information is a ringtone playing scene, and the audio mode is a non-ringtone mode, then the audio mode of the application is corrected so that Matching the corrected audio with the scene includes:将所述音频模式校正为铃声模式,其中,所述铃声播放场景与所述铃声模式相匹配。The audio mode is corrected to a ringtone mode, wherein the ringtone playing scene matches the ringtone mode.
- 根据权利要求12所述的方法,其特征在于,所述将所述音频模式校正为铃声模式,包括:The method according to claim 12, wherein the correcting the audio mode to the ringtone mode includes:将所述音频调节校正为调节铃声音频模式的音量大小。The audio adjustment is corrected to adjust the volume of the ringtone audio mode.
- 根据权利要求1所述的方法,其特征在于,所述监听所述应用程序的音频模式调节行为,包括:The method according to claim 1, wherein the monitoring of the audio mode adjustment behavior of the application program comprises:在系统框架层创建系统级的监听模块,通过所述监听模块对所述应用程序的音频模式进行监听,或,Creating a system-level monitoring module at the system framework layer, and monitoring the audio mode of the application through the monitoring module, or,独立创建监听进程,通过消息传输机制监听所述应用程序的音频模式。The monitoring process is independently created, and the audio mode of the application program is monitored through a message transmission mechanism.
- 一种音频模式校正的装置,其特征在于,包括:An audio mode correction device, characterized in that it includes:获取模块,用于获取应用程序的场景信息,所述场景信息为音频播放场 景、录音场景、语音通话场景及铃声播放场景其中的一种或多种的组合;The obtaining module is used to obtain scene information of the application program, and the scene information is one or more combinations of audio playing scene, recording scene, voice call scene and ringtone playing scene;调节模块,用于接收音频模式调节指令,根据所述调节指令对所述应用程序的音频模式进行调节;An adjustment module, configured to receive an audio mode adjustment instruction, and adjust the audio mode of the application according to the adjustment instruction;校正模块,用于监听所述应用程序的音频模式调节行为,若监测到所述音频模式输出异常标识,校正所述应用程序的音频模式,以使所述校正后的音频模式与所述场景信息相匹配。The correction module is used to monitor the audio mode adjustment behavior of the application program, and if the audio mode output abnormality flag is detected, correct the audio mode of the application program, so that the corrected audio mode and the scene information Match.
- 一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1-14中任一项所述的音频模式校正的步骤。An electronic device includes a memory and a processor, and a computer program is stored in the memory, wherein when the computer program is executed by the processor, the processor is caused to execute any of claims 1-14 One of the steps of audio mode correction.
- 一种计算机非易失性可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-14中任一项所述的音频模式校正的步骤。A computer non-volatile readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the audio mode correction according to any one of claims 1-14 is realized step.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/117480 WO2020107169A1 (en) | 2018-11-26 | 2018-11-26 | Audio mode correction method and apparatus, and electronic device |
CN201880098456.2A CN113168302A (en) | 2018-11-26 | 2018-11-26 | Audio mode correction method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/117480 WO2020107169A1 (en) | 2018-11-26 | 2018-11-26 | Audio mode correction method and apparatus, and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020107169A1 true WO2020107169A1 (en) | 2020-06-04 |
Family
ID=70852490
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/117480 WO2020107169A1 (en) | 2018-11-26 | 2018-11-26 | Audio mode correction method and apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113168302A (en) |
WO (1) | WO2020107169A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115580675B (en) * | 2022-09-23 | 2024-06-28 | 长城汽车股份有限公司 | Information output mode control method and device, storage medium and vehicle-mounted terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775562A (en) * | 2016-12-09 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | The method and device of audio frequency parameter treatment |
US9832583B2 (en) * | 2015-11-10 | 2017-11-28 | Avaya Inc. | Enhancement of audio captured by multiple microphones at unspecified positions |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959482B (en) * | 2016-06-16 | 2019-07-02 | Oppo广东移动通信有限公司 | A kind of control method and electronic equipment of scene audio |
CN107948729B (en) * | 2017-12-13 | 2020-03-27 | Oppo广东移动通信有限公司 | Rich media processing method and device, storage medium and electronic equipment |
-
2018
- 2018-11-26 WO PCT/CN2018/117480 patent/WO2020107169A1/en active Application Filing
- 2018-11-26 CN CN201880098456.2A patent/CN113168302A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9832583B2 (en) * | 2015-11-10 | 2017-11-28 | Avaya Inc. | Enhancement of audio captured by multiple microphones at unspecified positions |
CN106775562A (en) * | 2016-12-09 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | The method and device of audio frequency parameter treatment |
Also Published As
Publication number | Publication date |
---|---|
CN113168302A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103488939B (en) | Method, device and terminal for prompting user | |
US10069818B2 (en) | Method, system, device, and terminal for network initialization of multimedia playback device | |
CN103414982B (en) | A kind of method and apparatus that sound is provided | |
WO2017202348A1 (en) | Video playing method and device, and computer storage medium | |
US20160314219A1 (en) | Method and apparatus for invoking application programming interface | |
CN106371964B (en) | Method and device for prompting message | |
WO2021036711A1 (en) | Network control method and related product | |
US20200092476A1 (en) | Mobile terminal-based dual camera power supply control method, system and mobile terminal | |
WO2020216329A1 (en) | Handover method and terminal | |
WO2018095130A1 (en) | Method and system for determining duration of live streaming | |
WO2017215661A1 (en) | Scenario-based sound effect control method and electronic device | |
WO2020103070A1 (en) | Method and apparatus for processing application program, and electronic device | |
WO2018049894A1 (en) | Data transmission method and device | |
WO2019129092A1 (en) | Frame rate-lowered photographing method, mobile terminal and storage medium | |
WO2020107290A1 (en) | Audio output control method and apparatus, computer readable storage medium, and electronic device | |
WO2017215511A1 (en) | Control method of scene sound effect and related products | |
WO2020118496A1 (en) | Audio path switching method and device, readable storage medium and electronic equipment | |
JP2021508989A (en) | Service processing method and mobile communication terminal | |
CN104702678B (en) | Document transmission method and device | |
WO2020097927A1 (en) | Call control method and device, computer-readable storage medium and electronic device | |
WO2020103045A1 (en) | Application processing method and apparatus and electronic device | |
WO2020216331A1 (en) | Random access method and terminal | |
WO2020107177A1 (en) | Audio resource invoking method and apparatus, and electronic device | |
WO2020107169A1 (en) | Audio mode correction method and apparatus, and electronic device | |
CN110891262A (en) | Bluetooth pairing method, system and terminal equipment |
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: 18941691 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 031121) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18941691 Country of ref document: EP Kind code of ref document: A1 |