CN111930335A - Sound adjusting method and device, computer readable medium and terminal equipment - Google Patents

Sound adjusting method and device, computer readable medium and terminal equipment Download PDF

Info

Publication number
CN111930335A
CN111930335A CN202010738816.XA CN202010738816A CN111930335A CN 111930335 A CN111930335 A CN 111930335A CN 202010738816 A CN202010738816 A CN 202010738816A CN 111930335 A CN111930335 A CN 111930335A
Authority
CN
China
Prior art keywords
volume
sound
adjusting
multimedia data
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010738816.XA
Other languages
Chinese (zh)
Inventor
伏洪明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010738816.XA priority Critical patent/CN111930335A/en
Publication of CN111930335A publication Critical patent/CN111930335A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The present disclosure relates to the field of electronic devices, and in particular, to a sound adjusting method, a sound adjusting apparatus, a computer readable medium, and a terminal device. The method comprises the following steps: responding to the play triggering operation of the multimedia data, and reading the current sound adjusting mode of the terminal equipment; when the terminal equipment is in an intelligent volume adjustment mode at present, acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment; and comparing the environment volume and the system volume with a preset rule, and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data. The method and the device can realize automatic adjustment of the playing volume of the multimedia data. And the user is prevented from manually adjusting the playing volume.

Description

Sound adjusting method and device, computer readable medium and terminal equipment
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a sound adjusting method, a sound adjusting apparatus, a computer readable medium, and a terminal device.
Background
The intelligent terminal device has been deeply integrated into the daily life of people, for example: mobile phones, tablets, notebook computers, and the like. People can watch videos and audios, play online games, watch short videos and the like by using the terminal equipment at any time and any place. In the process of using the terminal equipment, the volume needs to be manually adjusted by a user to adapt to the playing environment.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure provides a sound adjusting method, a sound adjusting apparatus, a computer readable medium, and a terminal device, which can automatically adjust a play volume when the terminal device plays multimedia data.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a sound adjusting method comprising:
responding to the play triggering operation of the multimedia data, and reading the current sound adjusting mode of the terminal equipment;
when the terminal equipment is in an intelligent volume adjustment mode at present, acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment;
and comparing the environment volume and the system volume with a preset rule, and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data.
According to a second aspect of the present disclosure, there is provided a sound adjusting apparatus comprising:
the voice adjusting mode reading module is used for responding to the playing triggering operation of the multimedia data and reading the current voice adjusting mode of the terminal equipment;
the volume acquisition module is used for acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment when the terminal equipment is in the intelligent volume adjustment mode currently;
and the volume adjusting module is used for comparing the environment volume and the system volume with a preset rule and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data.
According to a third aspect of the present disclosure, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the sound adjusting method described above.
According to a fourth aspect of the present disclosure, there is provided a terminal device comprising:
one or more processors;
a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the sound adjustment method described above.
According to the sound adjusting method provided by the embodiment of the disclosure, when a user plays multimedia data such as audio and video on a terminal device and the terminal device is in an intelligent volume adjusting mode, external environment volume is extracted; and comparing the current system volume with a predefined volume regulation rule to determine the sound regulation logic at the current moment so as to realize automatic regulation of the playing volume of the multimedia data. And the user is prevented from manually adjusting the playing volume.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 schematically illustrates a flow diagram of a sound adjustment method in an exemplary embodiment of the disclosure;
FIG. 2 is a schematic diagram illustrating a configuration interface for a voice intelligent adjustment function in an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of an interface of an intelligent volume adjustment mode switch in an exemplary embodiment of the disclosure;
fig. 4 schematically illustrates a composition diagram of a data traffic management apparatus in an exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates a device structure diagram of a terminal device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the existing intelligent terminal devices, for example, portable intelligent mobile terminal devices such as mobile phones and tablet computers have been completely integrated into people's daily life, entertainment, work and study. The smart phone is an important intelligent terminal form, and provides more intelligent, faster and more portable digital life and entertainment game experience for user groups. Meanwhile, in the digital intelligent era, more mobile phone videos, mobile phone games, news messages, audio messages, video chats and the like occur at every moment. When a user opens a video or uses a mobile phone sound playing function, the situation that the surrounding environment is quiet, but the video playing sound is too loud often occurs because the size of the current video playing sound is unknown, and the user needs to manually adjust the playing sound. If a user is in a quiet place, such as a meeting room, a library or a study room, when the user opens a video playing function, the situation that the sound played by a mobile phone is loud may exist, which directly affects the normal work and study of people around, disturbs the environmental order, and also seriously affects the user experience. In addition, the user needs to frequently operate the volume key, and if the playing of the video sound is larger or smaller, the user needs to immediately and manually adjust the playing sound. And when the volume key is pressed forcefully and quickly during operation, the operation cost of a user is increased, the use efficiency and the user experience are reduced, and meanwhile, the stability of the physical structure of the mobile phone is damaged, so that the use time limit of the mobile phone is reduced.
In response to the above-described drawbacks and deficiencies of the prior art, a sound adjustment method is provided in the present exemplary embodiment. Referring to fig. 1, the sound adjusting method described above may include the steps of:
s11, responding to the play trigger operation of the multimedia data, reading the current sound adjusting mode of the terminal equipment;
s12, when the terminal equipment is in the intelligent volume adjustment mode at present, acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment;
and S13, comparing the environment volume and the system volume with a preset rule, and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data.
According to the sound adjusting method provided by the embodiment of the present invention, when a user plays multimedia data such as audio and video on a terminal device and the terminal device is in an intelligent volume adjusting mode, external environment volume is extracted; and comparing the current system volume with a predefined volume regulation rule to determine the sound regulation logic at the current moment so as to realize automatic regulation of the playing volume of the multimedia data. The playing volume is prevented from being manually adjusted by a user, and the user experience is improved.
Hereinafter, each step of the sound adjusting method in the present exemplary embodiment will be described in more detail with reference to the drawings and examples.
In step S11, in response to a play trigger operation for the multimedia data, the current sound adjustment mode of the terminal device is read.
In this exemplary embodiment, the method described above can be applied to a portable terminal device such as a mobile phone or a tablet computer. For the terminal device, a control switch of "intelligent volume adjustment mode" may be configured in the system setting. For the terminal device, the volume adjusting interval of the intelligent volume adjusting mode can be customized by responding to the input operation of the intelligent volume adjusting mode.
For example, referring to the system interface shown in FIG. 2, a user may autonomously select whether to enable the "voice intelligent adjustment" function. In addition, as shown in fig. 2, the user may also customize the environment decibel interval for triggering the sound intelligent adjustment function, for example, 30dB to 40dB may be selected; or, the user may also customize the environmental decibel interval as a preset sound adjustment interval for activating the sound adjustment logic in the intelligent volume adjustment mode.
Specifically, when the user plays audio and/or video in the terminal device, a reading operation of the current sound adjusting mode of the terminal device may be triggered. For the terminal device, a "smart volume adjustment mode" and a "general volume adjustment mode" may be configured. In the intelligent volume adjustment mode, the terminal equipment can automatically control the volume of multimedia data to be played according to a preset rule; in the general volume adjustment mode, the user is required to manually adjust the volume, but automatic control cannot be achieved.
The multimedia data may be, for example, audio and video data played by a system application or other application, or audio or video data generated by a game. For example, video data that is played in the preloaded interface when the user enters a game.
In step S12, when the terminal device is currently in the intelligent volume adjustment mode, the ambient volume of the current ambient sound and the current system volume of the terminal device are collected.
In this example embodiment, generally, the system volume of the terminal device may include ring volume, media playing volume, alarm volume, and the like, and each volume may be set independently. The current volume value for each type in the system is the specific volume value set by the user at the last time of use. For example, for the volume of media playing, it can be used to control the volume of sound effect in the process of playing video, audio or game by the application program, and the default current volume value in the system is the last volume value when the multimedia data was played last time.
Specifically, when the terminal device is identified to be in the intelligent volume adjustment mode currently, a microphone call instruction can be generated, the microphone is activated to start to collect the current environmental sound of the environment where the terminal device is currently located, and a specific environmental volume value is determined. Meanwhile, the media playing volume set by the current system of the terminal equipment is inquired in the system.
In addition, the current multimedia data playing path of the terminal equipment can be identified. For example, the playback path may include: playing by a loudspeaker of the terminal equipment and playing by external equipment; the external device playing can be classified as wired earphone playing or bluetooth earphone playing. If the bluetooth device is a bluetooth sound device, it is equivalent to speaker playing, and logic for speaker playing can be executed during specific execution.
In addition, in the present exemplary embodiment, if it is recognized that the current terminal device is not in the intelligent volume adjustment mode but in the general volume adjustment mode, an intelligent volume adjustment mode switch may be displayed. Specifically, the method may include:
step S21, when the terminal equipment is in the general volume adjusting mode, displaying an intelligent volume adjusting mode switch on an interactive interface of the terminal equipment;
and step S22, responding to the control operation of the intelligent volume adjustment mode switch to start the intelligent volume adjustment mode.
For example, referring to the video playing interface shown in fig. 3, when the user plays a video and recognizes that the terminal device is currently in the general volume adjustment mode, the intelligent volume adjustment mode switch 301 may be slid out from the sidebar of the interactive interface. For example, the current interactive interface can be suspended in a suction type sidebar mode. The user may activate the intelligent volume adjustment mode by clicking an "ON" button in the floating window. In addition, the floating window of the intelligent volume adjustment mode switch can be automatically hidden to the side rail when the user does not operate the switch for more than the preset time. When the user slides from the interactive interface in the sliding direction of the floating window, for example, when the user swipes from right to left, the floating window can be displayed, and the user can click the 'OFF' button to quit activating the intelligent volume adjustment mode. Or, when the current terminal device is in the intelligent volume adjustment mode, if the user plays multimedia data, the intelligent volume adjustment mode switch can be activated and slid out in the interactive interface, so that the user can conveniently operate and close the intelligent volume adjustment mode at any time.
In step S13, the environmental volume and the system volume are compared with a preset rule, and a corresponding sound adjusting logic is determined according to the volume comparison result to adjust the system volume of the multimedia data.
In the present exemplary embodiment, after the ambient volume and the system volume are acquired, the volume may be directly adjusted regardless of the play path of the multimedia data.
Specifically, the relationship between the ambient sound volume and the preset sound adjustment interval, that is, the relationship between the ambient sound volume and the above-mentioned ambient decibel interval, may be determined first. If the current environment volume is smaller than the lower limit of a preset sound adjusting interval, the sound adjusting logic is not executed, and the media playing volume is not adjusted; that is, the default media playback volume in the current system is executed.
Or reading the media playing volume when the environment volume is identified to be in a preset sound adjusting interval. If the media playing volume is larger than a preset threshold value, adjusting the media playing volume to a target volume; or if the media playing volume is smaller than a preset threshold, not adjusting the media playing volume.
For example, the threshold may be 50% of the system volume. If the system sound is less than 50%, the media playing volume may not be adjusted. Or, if the system volume is greater than or equal to 50%, executing corresponding sound adjusting logic to adjust the system volume to a preset volume range.
Based on the above, in the present exemplary embodiment, the above-described multimedia data playback path may also be considered when adjusting the volume. Specifically, if the current playing path is identified as an active earphone or a wireless earphone, since the sound is output from the earphone end without being played, the external environment is not affected, and the current default system volume is played. Or when the system volume is identified to be larger than the preset upper limit of the earphone playing volume, activating the corresponding sound adjusting logic, and reducing the system volume to the preset volume range.
Or, if the current playing path is identified as a speaker or a wireless sound device, the current scene of the terminal device may be identified, and the media playing volume corresponding to the multimedia data is forcibly turned off when the current scene is the target scene.
For example, when the terminal device is used for playing, the position information of the terminal device may be extracted to determine the current specific scene. For example, a scene may be a public or private location; the public places can be subway, library, market or hospital. The private location may be a home, etc. When the current scene is identified as a public place, the system volume can be adjusted to 0 by default; alternatively, the volume is adjusted by default to a lower volume, for example, 5% is set. Therefore, the volume of the multimedia data can be effectively reduced in public places. At this time, if the user manually adjusts the volume increase, the multimedia data playing volume can be increased in response to the user operation.
In other illustrative embodiments of the present disclosure, the ambient volume is collected when the multimedia data is played, and the system volume is adjusted when the ambient volume changes according to a preset rule.
For example, when watching video or audio, the environment volume can be collected in real time to determine whether the scene where the terminal device is located changes. When the noise volume of the external environment is reduced or the noise volume of the external environment is increased, the playing volume of the multimedia data can be adjusted to a corresponding volume interval according to the predefined sound adjusting logic.
In this example embodiment, in the intelligent volume adjustment mode, the current ambient volume, the system volume, the playback path, and the scene type of the terminal device may be extracted. The sound adjusting logic may establish the sound adjusting rule according to the importance of the reference data in the order of the scene type, the ambient volume, the playback path, and the system volume. For example, when an outdoor scene is identified, if the ambient volume is greater than a preset target threshold, it indicates that the current ambient noise is large, and it may not be suitable for using an earphone, and the eardrum is easily damaged. At this time, the playing path is identified, and if the playing path is speaker playing, the default system volume may be used, or the system volume may be turned up according to a certain rule. Or when the scene is identified as the subway, the environmental volume is greater than a preset target threshold value, which indicates that the current environmental noise is high, and if the playing path is identified as the loudspeaker, the system volume can be regulated to be reduced to a preset volume value. Or, when the scene is identified as indoor, the ambient volume is low, and the playing path is an earphone, the default system volume may be used, or the system volume may be turned down to the target range.
For example, a list of sound adjustment logics between each scene type, ambient volume range, playback path, and system volume range may be pre-established, and a label may be configured for each logic. Under the intelligent volume adjustment mode, various parameters can be collected in real time and compared with parameter ranges corresponding to various sound adjustment logics in the form, and then the most appropriate sound adjustment logic can be selected in real time to adjust the media playing volume value of the current multimedia data.
According to the method provided by the embodiment of the disclosure, a user plays multimedia data on the terminal device to read the current volume adjusting mode. When the intelligent volume adjustment mode is not currently identified, the intelligent volume adjustment mode control switch can be actively displayed, so that a user can conveniently select to enter the intelligent volume adjustment mode. When the terminal equipment is in an intelligent volume adjusting mode, the external environment volume can be extracted according to the triggering of the currently played multimedia data; and comparing the current system volume with a predefined volume regulation rule to determine the sound regulation logic at the current moment so as to realize automatic regulation of the playing volume of the multimedia data. And the user is prevented from manually adjusting the playing volume. In addition, the specific sound adjusting logic can be controlled by combining the type of the scene where the terminal equipment is located and the media playing path, so that the high-efficiency intelligent adjustment of the sound is realized.
It is to be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to an exemplary embodiment of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 4, the present exemplary embodiment further provides a sound adjusting apparatus 40, applied to a terminal device, including: a sound adjustment mode reading module 401, a volume acquisition module 402 and a volume adjustment module 403. Wherein the content of the first and second substances,
the voice adjustment mode reading module 401 may be configured to read a current voice adjustment mode of the terminal device in response to a play trigger operation on the multimedia data.
The volume collection module 402 may be configured to collect the ambient volume of the current ambient sound and the current system volume of the terminal device when the terminal device is currently in the intelligent volume adjustment mode.
The volume adjusting module 403 may be configured to compare the environmental volume and the system volume with a preset rule, and determine a corresponding sound adjusting logic according to a volume comparison result to adjust the system volume of the multimedia data.
In an example of the present disclosure, the apparatus 40 may further include: an intelligent volume adjustment mode switch response module (not shown).
The intelligent volume adjustment mode switch response module can be used for displaying an intelligent volume adjustment mode switch on an interactive interface of the terminal equipment when the terminal equipment is in a general volume adjustment mode currently; and responding to the control operation of the intelligent volume adjustment mode switch to start the intelligent volume adjustment mode.
In an example of the present disclosure, the system volume is a media playing volume of the terminal system; the volume adjustment module 403 may include: a first execution unit, a second execution unit (not shown). Wherein the content of the first and second substances,
the first execution unit may be configured to not adjust the media playing volume when it is identified that the environmental volume is less than a lower limit of a preset sound adjustment interval.
The second execution unit may be configured to read the media playing volume when it is identified that the environmental volume is within a preset sound adjustment interval; if the media playing volume is larger than a preset threshold value, adjusting the media playing volume to a target volume; or if the media playing volume is smaller than a preset threshold, not adjusting the media playing volume.
In an example of the present disclosure, the apparatus 40 may further include: a play path recognition module (not shown in the figure).
The playing path identifying module may be configured to obtain a playing path of the multimedia data, and determine a corresponding sound adjusting logic according to a volume comparison result and the playing path to adjust a system volume of the multimedia data.
In an example of the present disclosure, the apparatus 40 may further include: a volume enforcement module (not shown).
The volume forced adjustment module may be configured to identify a current scene of the terminal device when the play path of the multimedia data is identified as a speaker, and forcibly adjust a system volume corresponding to the multimedia data to a target volume when the current scene is a target scene.
In an example of the present disclosure, the apparatus 40 may further include: a change adjustment module (not shown).
The change adjusting module can be used for collecting the environment volume when the multimedia data is played, and adjusting the system volume when the environment volume changes according to a preset rule.
In an example of the present disclosure, the apparatus 40 may further include: a parameter customization module (not shown).
The parameter customization module may be configured to customize an auto-triggering volume adjustment interval of the intelligent volume adjustment mode in response to an input operation to the intelligent volume adjustment mode.
The specific details of each module in the sound adjusting apparatus have been described in detail in the corresponding sound adjusting method, and therefore, the details are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Fig. 5 shows a schematic diagram of a wireless communication device suitable for implementing an embodiment of the invention.
It should be noted that the electronic device 600 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device 600 may specifically include: a processor 610, an internal memory 621, an external memory interface 622, a Universal Serial Bus (USB) interface 630, a charging management module 640, a power management module 641, a battery 642, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a speaker 671, a receiver 672, a microphone 673, an earphone interface 674, a sensor module 680, a display 690, a camera module 691, a pointer 692, a motor 693, buttons 694, and a Subscriber Identity Module (SIM) card interface 695. Among other things, sensor modules 680 may include a depth sensor 6801, a pressure sensor 6802, a gyroscope sensor 6803, an air pressure sensor 6804, a magnetic sensor 6805, an acceleration sensor 6806, a distance sensor 6807, a proximity light sensor 6808, a fingerprint sensor 6809, a temperature sensor 6810, a touch sensor 6811, an ambient light sensor 6812, and a bone conduction sensor 6813.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the electronic device 600. In other embodiments of the present application, the electronic device 600 may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 610 may include one or more processing units, such as: the Processor 610 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 610 for storing instructions and data. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transmission instructions, and notification instructions, and execution is controlled by the processor 610. In some embodiments, the memory in the processor 610 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 610. If the processor 610 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 610, thereby increasing the efficiency of the system.
In some embodiments, processor 610 may include one or more interfaces. The Interface may include an Integrated Circuit (I2C) Interface, an Inter-Integrated Circuit built-in audio (I2S) Interface, a Pulse Code Modulation (PCM) Interface, a Universal Asynchronous Receiver/transmitter (UART) Interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input/Output (GPIO) Interface, a Subscriber Identity Module (SIM) Interface, and/or a Universal Serial Bus (USB) Interface, etc.
The I2C interface is a bi-directional synchronous Serial bus including a Serial Data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 610 may include multiple sets of I2C buses. The processor 610 may be coupled to the touch sensor 6811, the charger, the flash, the camera module 691, etc., through different I2C bus interfaces, respectively. For example: the processor 610 may be coupled to the touch sensor 6811 via an I2C interface, such that the processor 610 and the touch sensor 6811 communicate via an I2C bus interface to implement touch functionality of the electronic device 600.
The I2S interface may be used for audio communication. In some embodiments, processor 610 may include multiple sets of I2S buses. The processor 610 may be coupled to the audio module 670 via an I2S bus to enable communication between the processor 610 and the audio module 670. In some embodiments, the audio module 670 may communicate audio signals to the wireless communication module 660 via an I2S interface to enable answering a call via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 670 and the wireless communication module 660 may be coupled by a PCM bus interface. In some embodiments, the audio module 670 may also transmit audio signals to the wireless communication module 660 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 610 and the wireless communication module 660. For example: the processor 610 communicates with the bluetooth module in the wireless communication module 660 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 670 may transmit the audio signal to the wireless communication module 660 through the UART interface, so as to realize the function of playing music through the bluetooth headset.
The MIPI interface may be used to connect the processor 610 with the display screen 690, the camera module 691, and other peripheral devices. The MIPI Interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, the processor 610 and the camera module 691 communicate via a CSI interface to implement the camera function of the electronic device 600. The processor 610 and the display screen 690 communicate via the DSI interface to implement the display function of the electronic device 600.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 610 with the camera module 691, the display screen 690, the wireless communication module 660, the audio module 670, the sensor module 680, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 630 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a microsusb interface, a USB type c interface, or the like. The USB interface 630 may be used to connect a charger to charge the electronic device 600, and may also be used to transmit data between the electronic device 600 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 600. In other embodiments of the present application, the electronic device 600 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 640 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 640 may receive charging input from a wired charger via the USB interface 630. In some wireless charging embodiments, the charging management module 640 may receive a wireless charging input through a wireless charging coil of the electronic device 600. The charging management module 640 may also supply power to the electronic device through the power management module 641 while charging the battery 642.
The power management module 641 is configured to connect the battery 642, the charging management module 640 and the processor 610. The power management module 641 receives the input from the battery 642 and/or the charging management module 640, and supplies power to the processor 610, the internal memory 621, the display screen 690, the camera module 691, the wireless communication module 660, and the like. The power management module 641 may also be configured to monitor battery capacity, battery cycle count, battery state of health (leakage, impedance), and other parameters. In some other embodiments, the power management module 641 may be disposed in the processor 610. In other embodiments, the power management module 641 and the charging management module 640 may be disposed in the same device.
The wireless communication function of the electronic device 600 may be implemented by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 600 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 650 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 600. The mobile communication module 650 may include at least one filter, a switch, a power Amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 650 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 650 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 650 may be disposed in the processor 610. In some embodiments, at least some of the functional blocks of the mobile communication module 650 may be disposed in the same device as at least some of the blocks of the processor 610.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 671, the receiver 672, etc.) or displays an image or video through the display screen 690. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 610, and may be located in the same device as the mobile communication module 650 or other functional modules.
The Wireless Communication module 660 may provide a solution for Wireless Communication applied to the electronic device 600, including Wireless Local Area Networks (WLANs) (e.g., Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 660 may be one or more devices integrating at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 610. The wireless communication module 660 may also receive a signal to be transmitted from the processor 610, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 600 is coupled to mobile communication module 650 and antenna 2 is coupled to wireless communication module 660 such that electronic device 600 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Multiple Access (Time-Division Code Division Multiple Access, TDSCDMA), Long Term Evolution (Long Term Evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a Beidou Navigation Satellite System (BDS), a Quasi-Zenith Satellite System (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 600 implements display functions via the GPU, the display screen 690, the application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 690 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 610 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 690 is used to display images, video, etc. The display screen 690 includes a display panel. The Display panel may be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active Matrix Organic Light-Emitting Diode (Active-Matrix Organic Light-Emitting Diode, AMOLED), a flexible Light-Emitting Diode (FLED), a miniature, a Micro-oeld, a Quantum dot Light-Emitting Diode (Quantum dot Light-Emitting Diodes, QLED), or the like. In some embodiments, electronic device 600 may include 1 or N display screens 690, N being a positive integer greater than 1.
The electronic device 600 may implement a shooting function through the ISP, the camera module 691, the video codec, the GPU, the display screen 690, the application processor, and the like.
The ISP is used to process the data fed back by the camera module 691. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera module 691.
The camera module 691 is for capturing still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a Complementary Metal-Oxide-Semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 600 may include 1 or N camera modules 691, where N is a positive integer greater than 1, and if the electronic device 600 includes N cameras, one of the N cameras is the main camera.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 600 selects at a frequency bin, the digital signal processor is used to perform a fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 600 may support one or more video codecs. In this way, the electronic device 600 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a Neural-Network (NN) computing processor, which processes input information quickly by using a biological Neural Network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 600 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 622 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 600. The external memory card communicates with the processor 610 through the external memory interface 622 to implement data storage functions. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 621 may be used to store computer-executable program code, including instructions. The internal memory 621 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 600, and the like. In addition, the internal memory 621 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk Storage device, a Flash memory device, a Universal Flash Storage (UFS), and the like. The processor 610 executes various functional applications of the electronic device 600 and data processing by executing instructions stored in the internal memory 621 and/or instructions stored in a memory provided in the processor.
The electronic device 600 may implement audio functions through the audio module 670, the speaker 671, the receiver 672, the microphone 673, the headset interface 674, an application processor, and the like. Such as music playing, recording, etc.
The audio module 670 is used to convert digital audio information into an analog audio signal output and also used to convert an analog audio input into a digital audio signal. The audio module 670 may also be used to encode and decode audio signals. In some embodiments, the audio module 670 may be disposed in the processor 610, or some functional modules of the audio module 670 may be disposed in the processor 610.
The speaker 671, also called "horn", is used to convert the electrical audio signals into sound signals. The electronic apparatus 600 can listen to music through the speaker 671 or listen to a hands-free call.
A receiver 672, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 600 receives a call or voice information, it can receive voice by placing the receiver 672 close to the ear.
A microphone 673, also known as a "microphone", is used to convert acoustic signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal into the microphone 673 by making a sound near the microphone 673 through the mouth of the user. The electronic device 600 may be provided with at least one microphone 673. In other embodiments, the electronic device 600 may be provided with two microphones 673 to implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 600 may further include three, four, or more microphones 673 to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headset interface 674 is used to connect wired headsets. The headset interface 674 may be a USB interface 630, or may be a 3.5mm Open Mobile electronic device Platform (OMTP) standard interface, a Cellular Telecommunications Industry Association of america (CTIA) standard interface.
The depth sensor 6801 is used to obtain depth information of the scene. In some embodiments, the depth sensor may be disposed in the camera module 691.
The pressure sensor 6802 is used for sensing the pressure signal and converting the pressure signal into an electrical signal. In some embodiments, pressure sensor 6802 may be disposed on display 690. The pressure sensor 6802 can be of a wide variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 6802, the capacitance between the electrodes changes. The electronic device 600 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 690, the electronic apparatus 600 detects the intensity of the touch operation according to the pressure sensor 6802. The electronic apparatus 600 can also calculate the position of the touch from the detection signal of the pressure sensor 6802. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 6803 may be used to determine a motion pose of the electronic device 600. In some embodiments, the angular velocity of electronic device 600 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensors 6803. The gyro sensor 6803 can be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 6803 detects a shake angle of the electronic device 600, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 600 through a reverse movement, thereby achieving anti-shake. The gyro sensor 6803 can also be used for navigation and body feeling game scenes.
The air pressure sensor 6804 is for measuring air pressure. In some embodiments, the electronic device 600 calculates altitude, aiding in positioning and navigation from barometric pressure values measured by the barometric pressure sensor 6804.
The magnetic sensor 6805 comprises a hall sensor. The electronic device 600 may detect the opening and closing of the flip holster using the magnetic sensor 6805. In some embodiments, when the electronic device 600 is a flip, the electronic device 600 can detect the opening and closing of the flip according to the magnetic sensor 6805. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 6806 can detect the magnitude of acceleration of the electronic device 600 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 600 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 6807 for measuring distance. The electronic device 600 may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device 600 may utilize the distance sensor 6807 to measure distances to achieve fast focus.
The proximity light sensor 6808 may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 600 emits infrared light to the outside through the light emitting diode. The electronic device 600 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 600. When insufficient reflected light is detected, the electronic device 600 may determine that there are no objects near the electronic device 600. The electronic device 600 can utilize the proximity light sensor 6808 to detect that the user holds the electronic device 600 close to the ear for communication, so as to automatically turn off the screen to save power. The proximity light sensor 6808 can also be used in a holster mode, a pocket mode automatically unlocking and locking the screen.
The fingerprint sensor 6809 is for collecting a fingerprint. The electronic device 600 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering, and the like.
The temperature sensor 6810 is used to detect temperature. In some embodiments, the electronic device 600 implements a temperature processing strategy using the temperature detected by the temperature sensor 6810. For example, when the temperature reported by the temperature sensor 6810 exceeds a threshold, the electronic device 600 performs a reduction in performance of a processor located near the temperature sensor 6810 to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 600 heats the battery 642 when the temperature is below another threshold to avoid a low temperature causing the electronic device 600 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the electronic device 600 performs a boost on the output voltage of the battery 642 to avoid an abnormal shutdown due to low temperatures.
The touch sensor 6811 is also referred to as a "touch device". The touch sensor 6811 may be disposed on the display screen 690, and the touch sensor 6811 and the display screen 690 form a touch screen, which is also referred to as a "touch screen". The touch sensor 6811 is used to detect a touch operation applied thereto or therearound. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 690. In other embodiments, the touch sensor 6811 can be disposed on the surface of the electronic device 600 at a different location than the display screen 690.
The ambient light sensor 6812 is used to sense the ambient light level. Electronic device 600 may adaptively adjust the brightness of display 690 based on the perceived ambient light level. The ambient light sensor 6812 can also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 6812 can also cooperate with the proximity light sensor 6808 to detect whether the electronic device 600 is in a pocket for protection against accidental touches.
The bone conduction sensor 6813 can acquire a vibration signal. In some embodiments, the bone conduction sensor 6813 can acquire vibration signals of the human voice vibrating a bone mass. The bone conduction sensor 6813 may receive a blood pressure pulsation signal in contact with the pulse of the human body. In some embodiments, the bone conduction sensor 6813 may also be disposed in a headset, integrated into a bone conduction headset. The audio module 670 may analyze a voice signal based on the vibration signal of the bone block vibrated by the sound part acquired by the bone conduction sensor 6813, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure pulsation signal acquired by the bone conduction sensor 6813, so as to realize a heart rate detection function.
Keys 694 include a power-on key, a volume key, etc. Keys 694 may be mechanical keys. Or may be touch keys. The electronic apparatus 600 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 600.
The motor 693 may generate a vibration cue. The motor 693 can be used for incoming call vibration prompt and also for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 693 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 690. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 692 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, a missed call, a notification, etc.
The SIM card interface 695 is used for connecting a SIM card. The SIM card can be attached to and detached from the electronic device 600 by being inserted into the SIM card interface 695 or being pulled out of the SIM card interface 695. The electronic device 600 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 695 can support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 695 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 695 may also be compatible with different types of SIM cards. The SIM interface 695 may also be compatible with an external memory card. The electronic device 600 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 600 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 600 and cannot be separated from the electronic device 600.
In particular, according to an embodiment of the present invention, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a Central Processing Unit (CPU), performs various functions defined in the system of the present application.
It should be noted that the computer readable medium shown in the embodiment of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
It should be noted that, as another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 1.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. A sound adjustment method, comprising:
responding to the play triggering operation of the multimedia data, and reading the current sound adjusting mode of the terminal equipment;
when the terminal equipment is in an intelligent volume adjustment mode at present, acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment;
and comparing the environment volume and the system volume with a preset rule, and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data.
2. The method of claim 1, wherein when reading a current voice adjustment mode of the terminal device, the method further comprises:
when the terminal equipment is in a universal volume adjustment mode at present, displaying an intelligent volume adjustment mode switch on an interactive interface of the terminal equipment;
responding to the control operation of the intelligent volume adjustment mode switch to start the intelligent volume adjustment mode.
3. The method of claim 1, wherein the system volume is a media playback volume of the terminal system;
the comparing the environmental volume and the system volume with a preset rule, and determining a corresponding sound adjusting logic according to a volume comparison result to adjust the system volume of the multimedia data includes:
when the environment volume is identified to be smaller than the lower limit of a preset sound adjusting interval, the media playing volume is not adjusted; or
Reading the media playing volume when the environment volume is identified to be in a preset sound adjusting interval;
if the media playing volume is larger than a preset threshold value, adjusting the media playing volume to a target volume; or if the media playing volume is smaller than a preset threshold, not adjusting the media playing volume.
4. The method according to claim 1 or 3, wherein when acquiring the ambient volume of the current ambient sound and the current system volume of the terminal device, the method further comprises:
and acquiring a playing path of the multimedia data, and determining a corresponding sound adjusting logic according to the volume comparison result and the playing path so as to adjust the system volume of the multimedia data.
5. The method of claim 4, wherein when the playback path of the multimedia data is identified as a speaker, the method further comprises:
and identifying the current scene of the terminal equipment, and forcibly adjusting the system volume corresponding to the multimedia data to the target volume when the current scene is the target scene.
6. The method of claim 1, further comprising:
and when the multimedia data is played, acquiring the environment volume, and adjusting the system volume when the environment volume changes according to a preset rule.
7. The method of claim 1, further comprising:
responding to the input operation of the intelligent volume adjustment mode, and customizing the automatic triggering volume adjustment interval of the intelligent volume adjustment mode.
8. A sound adjusting apparatus, comprising:
the voice adjusting mode reading module is used for responding to the playing triggering operation of the multimedia data and reading the current voice adjusting mode of the terminal equipment;
the volume acquisition module is used for acquiring the environmental volume of the current environmental sound and the current system volume of the terminal equipment when the terminal equipment is in the intelligent volume adjustment mode currently;
and the volume adjusting module is used for comparing the environment volume and the system volume with a preset rule and determining a corresponding sound adjusting logic according to a volume comparison result so as to adjust the system volume of the multimedia data.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the sound adjustment method according to any one of claims 1 to 7.
10. A terminal device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the sound adjustment method of any one of claims 1 to 7.
CN202010738816.XA 2020-07-28 2020-07-28 Sound adjusting method and device, computer readable medium and terminal equipment Pending CN111930335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010738816.XA CN111930335A (en) 2020-07-28 2020-07-28 Sound adjusting method and device, computer readable medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010738816.XA CN111930335A (en) 2020-07-28 2020-07-28 Sound adjusting method and device, computer readable medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN111930335A true CN111930335A (en) 2020-11-13

Family

ID=73314734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010738816.XA Pending CN111930335A (en) 2020-07-28 2020-07-28 Sound adjusting method and device, computer readable medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111930335A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422866A (en) * 2021-06-17 2021-09-21 Oppo广东移动通信有限公司 Volume adjusting method and device, storage medium and electronic equipment
CN113596241A (en) * 2021-06-24 2021-11-02 荣耀终端有限公司 Sound processing method and device
CN115794024A (en) * 2022-12-20 2023-03-14 小米汽车科技有限公司 Volume adjusting method, device, medium, chip and vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442636A (en) * 2007-11-20 2009-05-27 康佳集团股份有限公司 Intelligent regulating method and system for television sound volume
CN106101408A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and method for regulation of sound volume thereof
CN106339198A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically adjusting sound volume of electronic equipment through ambient volume
CN106528036A (en) * 2016-10-09 2017-03-22 腾讯科技(深圳)有限公司 Volume adjusting method and device
CN108093142A (en) * 2017-12-28 2018-05-29 努比亚技术有限公司 volume adjusting method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442636A (en) * 2007-11-20 2009-05-27 康佳集团股份有限公司 Intelligent regulating method and system for television sound volume
CN106101408A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of mobile terminal and method for regulation of sound volume thereof
CN106339198A (en) * 2016-08-19 2017-01-18 惠州Tcl移动通信有限公司 Method and system for automatically adjusting sound volume of electronic equipment through ambient volume
CN106528036A (en) * 2016-10-09 2017-03-22 腾讯科技(深圳)有限公司 Volume adjusting method and device
CN108093142A (en) * 2017-12-28 2018-05-29 努比亚技术有限公司 volume adjusting method, mobile terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422866A (en) * 2021-06-17 2021-09-21 Oppo广东移动通信有限公司 Volume adjusting method and device, storage medium and electronic equipment
CN113422866B (en) * 2021-06-17 2023-06-09 Oppo广东移动通信有限公司 Volume adjusting method and device, storage medium and electronic equipment
CN113596241A (en) * 2021-06-24 2021-11-02 荣耀终端有限公司 Sound processing method and device
CN115794024A (en) * 2022-12-20 2023-03-14 小米汽车科技有限公司 Volume adjusting method, device, medium, chip and vehicle

Similar Documents

Publication Publication Date Title
CN113395388B (en) Screen brightness adjusting method and electronic equipment
CN111182140B (en) Motor control method and device, computer readable medium and terminal equipment
CN111930335A (en) Sound adjusting method and device, computer readable medium and terminal equipment
CN111552451A (en) Display control method and device, computer readable medium and terminal equipment
CN114863494A (en) Screen brightness adjusting method and device and terminal equipment
WO2022257563A1 (en) Volume adjustment method, and electronic device and system
CN113593567B (en) Method for converting video and sound into text and related equipment
CN113438364B (en) Vibration adjustment method, electronic device, and storage medium
CN112188094B (en) Image processing method and device, computer readable medium and terminal equipment
CN112150778A (en) Environmental sound processing method and related device
CN113467735A (en) Image adjusting method, electronic device and storage medium
CN115145527A (en) Method and system for adjusting volume and electronic equipment
CN111935705A (en) Data service management method and device, computer readable medium and terminal equipment
CN109285563B (en) Voice data processing method and device in online translation process
CN114339429A (en) Audio and video playing control method, electronic equipment and storage medium
CN113467747B (en) Volume adjusting method, electronic device and storage medium
WO2022247324A1 (en) Motor damping measurement methods and system
CN113674258B (en) Image processing method and related equipment
WO2022022319A1 (en) Image processing method, electronic device, image processing system and chip system
CN114120987B (en) Voice wake-up method, electronic equipment and chip system
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN111432156A (en) Image processing method and device, computer readable medium and terminal equipment
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN111586236A (en) Electronic equipment marking method and device, computer readable medium and electronic equipment
WO2023020420A1 (en) Volume display method, electronic device, and storage medium

Legal Events

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