CN113495712A - Automatic volume adjustment method, apparatus, medium, and device - Google Patents

Automatic volume adjustment method, apparatus, medium, and device Download PDF

Info

Publication number
CN113495712A
CN113495712A CN202010202216.1A CN202010202216A CN113495712A CN 113495712 A CN113495712 A CN 113495712A CN 202010202216 A CN202010202216 A CN 202010202216A CN 113495712 A CN113495712 A CN 113495712A
Authority
CN
China
Prior art keywords
volume
user
historical
audio playing
event
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
CN202010202216.1A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010202216.1A priority Critical patent/CN113495712A/en
Publication of CN113495712A publication Critical patent/CN113495712A/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 disclosure relates to an automatic volume adjustment method, an automatic volume adjustment device, an automatic volume adjustment medium and automatic volume adjustment equipment, which belong to the technical field of computers and can automatically adjust audio playing volume. An automatic volume adjustment method, comprising: acquiring historical volume used by a user in a historical audio playing event; processing the acquired historical volume by using a clustering algorithm; and determining a default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.

Description

Automatic volume adjustment method, apparatus, medium, and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a medium, and a device for automatically adjusting volume.
Background
When the user starts the application to play the audio, the audio is played at the volume default of the system. However, such default volumes are often not appropriate, for example, there may be excessive volumes in partial use scenarios (e.g., quiet ambient scenarios, public place scenarios, headset scenarios, etc.). In this case, the user is required to manually adjust the volume key of the terminal to adjust the volume.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides an automatic volume adjustment method, including: acquiring historical volume used by a user in a historical audio playing event; processing the acquired historical volume by using a clustering algorithm; and determining a default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
In a second aspect, the present disclosure provides an automatic volume adjustment apparatus, including: the acquisition module is used for acquiring historical volume used by a user in a historical audio playing event; the processing module is used for processing the historical volume acquired by the acquisition module by using a clustering algorithm; and the determining module is used for determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the method of the first aspect of the present disclosure.
By adopting the technical scheme, since the historical volume used by the user in the historical audio playing event is firstly obtained, then the obtained historical volume is processed by using a clustering algorithm, and then the default volume corresponding to the user is determined based on the class with the minimum mean value after the clustering processing, and the default volume is used for indicating the volume used by the user when the user triggers the next audio playing event, so that the automatic adjustment of the playing volume can be realized when the user triggers the next audio playing event, thereby ensuring that the audio can be played with a relatively proper volume, avoiding negative consumption experience caused by overlarge playing volume in partial using scenes (such as a quiet environment scene, a public occasion scene, a scene with earphones and the like) and psychological burden of the user playing the audio in the scene, for example, ensuring that the playing volume cannot be overlarge under the condition of wearing earphones so as not to damage ears, ensure that the volume of the externally-emitted sound can be clearly heard and does not disturb people around under the condition of a quiet public place.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
In the drawings:
fig. 1 is a flowchart of an automatic volume adjustment method according to an embodiment of the present disclosure.
Fig. 2 is a schematic block diagram of an automatic volume adjustment apparatus according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of an automatic volume adjustment method according to an embodiment of the present disclosure. As shown in fig. 1, the automatic volume adjustment method includes the following steps S11 to S13.
In step S11, the history volume used by the user in the history audio playback event is acquired.
In the present disclosure, the audio may be music played by an application such as QQ music, dog search music, or may also be video played by an application such as tremble, love art, or the like. An audio play event refers to a play event such as music, video, etc.
In the present disclosure, a user may be identified by a user identification, wherein the user identification may be a user account or other identifier capable of uniquely identifying the user, and the like. For example, if a user registers for a buffeting account, then the buffeting account may be used to identify which user is currently using buffeting. Therefore, no matter the user plays the audio on the same terminal or different terminals, the historical volume used by the user in the historical audio playing event can be obtained, and further, the automatic adjustment of the playing volume can be realized for the user when the user triggers the next audio playing event on different terminals. Here, the terminal may be a handheld terminal such as a mobile phone and a tablet computer, a terminal such as a smart television, a smart audio playing terminal such as a mini-speaker, and the like.
In the disclosure, the terminal may record the historical volume used by the user in the historical audio playing event and send the historical volume to the server, so that the server can acquire the historical volume used by the same user in the historical audio playing event on various terminals. For example, during audio playback, the terminal may record the volume of playing back an audio stream each time the audio stream is played back, or the terminal may record the current audio playback volume at preset intervals, and so on. Here, the information stream may be music, video, etc. selected by the user himself, or may be music, video, advertisement, etc. automatically pushed to the user by the application playing audio. In addition, the terminal may transmit the volume to the server every time it records one volume, or the terminal may periodically transmit the recorded history volumes to the server, or the terminal may transmit all the history volumes recorded during the audio play to the server together at the end of the audio play. In fact, the present disclosure does not limit the manner in which the terminal records the volume and the manner in which the volume is transmitted to the server.
In the present disclosure, the historical audio playing event and the next audio playing event are both audio playing events in the earphone mode, or the historical audio playing event and the next audio playing event are both audio playing events in the play-out mode. For example, the history volume in the headphone mode may be acquired in a headphone volume acquisition table, and the history volume in the play-out mode may be acquired in a play-out volume acquisition table. In this way, the historical volume used by the user in the historical audio playback event can be separately obtained for the headphone mode and the play-out mode. Further, in the subsequent step S12, the historical volume in the headphone mode and the historical volume in the play-out mode can be clustered, and further, in the subsequent step S13, when the user triggers the next audio playing event, the volume can be automatically adjusted based on the clustering result of the historical volume in the play-out mode if the user is currently in the play-out mode, and the volume can be automatically adjusted based on the clustering result of the historical volume in the headphone mode if the user is currently in the headphone mode.
In the present disclosure, the historical audio playing event and the next audio playing event are both audio playing events under the android system, or the historical audio playing event and the next audio playing event are both audio playing events under the ios system. For example, the historical volume under the android system may be acquired in an android volume acquisition table, and the historical volume under the ios system may be acquired in an ios volume acquisition table. Due to the fact that the volume values of the volume keys of the android system and the ios system are different, through the technical scheme, the historical volume used by the user in the historical audio playing event can be separately acquired for the android system and the ios system. Furthermore, in subsequent step S12, the historical volume under the android system and the historical volume under the ios system can be clustered, and further, when the user triggers the next audio playing event in subsequent step S13, if the current event is the android system, the volume can be automatically adjusted based on the clustering result of the historical volume under the android system, and if the current event is the ios system, the volume can be automatically adjusted based on the clustering result of the historical volume under the ios system.
That is to say, the historical volume in the android system-earphone mode, the historical volume in the android system-playback mode, the historical volume in the ios system-earphone mode, and the historical volume in the ios system-playback mode can be separately acquired and clustered.
In step S12, the acquired historical sound volume is processed using a clustering algorithm.
The clustering algorithm may be, for example, a DBSCAN algorithm, a GMM algorithm, a CFSFDP algorithm, and the like.
In the implementation process, the clustering algorithm can start clustering processing after the obtained historical volume data are more than N, so that the clustering processing based on enough historical volume samples can be ensured, and the accuracy and the credibility of the clustering processing result are ensured. Moreover, as long as the acquired historical volume data is continuously updated, the clustering algorithm can continuously update the clustering result according to the acquired historical volume data, so that the clustering result can reflect the latest volume preference of the user.
Moreover, in this step, the historical volume in the android system-headphone mode, the historical volume in the android system-playback mode, the historical volume in the ios system-headphone mode, and the historical volume in the ios system-playback mode may be separately clustered, so as to better satisfy the audio usage scenario of the user.
In step S13, a default volume corresponding to the user is determined based on the class with the smallest average value after the clustering process, where the default volume is used to indicate the volume used when the user triggers the next audio playing event.
In the present disclosure, the user triggering the next audio play event refers to an audio play event caused by the user closing the application playing audio and starting the application playing audio again.
In this step, the class with the minimum mean value after the clustering process may be selected first, and then, when the user triggers the next audio playing event, the mean value of the selected class is determined as the default volume corresponding to the user.
Or, the class with the minimum mean value after the clustering process may be selected first, and then, when the user triggers the next audio playing event, the minimum value between the mean value of the selected class and the default media volume of the system may be determined as the default volume corresponding to the user. That is, if the default media volume of the system is smaller than the average value of the selected class, the default media volume of the system is determined as the default volume corresponding to the user when the user triggers the next audio playing event; if the default volume of the media is larger than the average value of the selected class, the average value of the selected class is determined as the default volume corresponding to the user when the user triggers the next audio playing event.
In addition, if the historical volumes in the headphone mode and the play-out mode are separately obtained and clustered, in the previous step, if the user triggers the next audio playing event to be in the headphone mode, the volume is automatically adjusted based on the clustering result in the headphone mode, and if the user triggers the next audio playing event to be in the play-out mode, the volume is automatically adjusted based on the clustering result in the play-out mode. The same is true for the android system and the ios system.
By adopting the technical scheme, since the historical volume used by the user in the historical audio playing event is firstly obtained, then the obtained historical volume is processed by using a clustering algorithm, and then the default volume corresponding to the user is determined based on the class with the minimum mean value after the clustering processing, and the default volume is used for indicating the volume used by the user when the user triggers the next audio playing event, so that the automatic adjustment of the playing volume can be realized when the user triggers the next audio playing event, thereby ensuring that the audio can be played with a relatively proper volume, avoiding negative consumption experience caused by overlarge playing volume in partial using scenes (such as a quiet environment scene, a public occasion scene, a scene with earphones and the like) and psychological burden of the user playing the audio in the scene, for example, ensuring that the playing volume cannot be overlarge under the condition of wearing earphones so as not to damage ears, ensure that the volume of the externally-emitted sound can be clearly heard and does not disturb people around under the condition of a quiet public place.
Fig. 2 is a schematic block diagram of an automatic volume adjustment apparatus according to an embodiment of the present disclosure. As shown in fig. 2, the automatic volume adjusting apparatus includes: an obtaining module 21, configured to obtain a historical volume used by a user in a historical audio playing event; the processing module 22 is used for processing the historical volume acquired by the acquisition module by using a clustering algorithm; and the determining module 23 is configured to determine a default volume corresponding to the user based on the class with the smallest average value after the clustering process, where the default volume is used to indicate a volume used when the user triggers a next audio play event.
By adopting the technical scheme, since the historical volume used by the user in the historical audio playing event is firstly obtained, then the obtained historical volume is processed by using a clustering algorithm, and then the default volume corresponding to the user is determined based on the class with the minimum mean value after the clustering processing, and the default volume is used for indicating the volume used by the user when the user triggers the next audio playing event, so that the automatic adjustment of the playing volume can be realized when the user triggers the next audio playing event, thereby ensuring that the audio can be played with a relatively proper volume, avoiding negative consumption experience caused by overlarge playing volume in partial using scenes (such as a quiet environment scene, a public occasion scene, a scene with earphones and the like) and psychological burden of the user playing the audio in the scene, for example, ensuring that the playing volume cannot be overlarge under the condition of wearing earphones so as not to damage ears, ensure that the volume of the externally-emitted sound can be clearly heard and does not disturb people around under the condition of a quiet public place.
Optionally, the historical audio playing event and the next audio playing event are both audio playing events in the earphone mode, or the historical audio playing event and the next audio playing event are both audio playing events in the play-out mode.
Optionally, the historical audio playing event and the next audio playing event are both audio playing events under an android system, or the historical audio playing event and the next audio playing event are both audio playing events under an ios system.
Optionally, the determining module 23 is configured to: and determining the default volume corresponding to the user according to the average value of the class with the minimum average value after the clustering processing.
Optionally, the determining module 23 is configured to: and determining the minimum value of the average value of the class with the minimum average value after the clustering processing and the default media volume of the system as the default volume corresponding to the user.
The detailed implementation of each module in the automatic volume adjusting device according to the embodiment of the present disclosure has been described in detail in the related method according to the present disclosure, and is not described herein again.
Referring now to FIG. 3, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can 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 or 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 disclosure, 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring historical volume used by a user in a historical audio playing event; processing the acquired historical volume by using a clustering algorithm; and determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of a module in some cases does not constitute a limitation on the module itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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 or 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.
Example 1 provides an automatic volume adjustment method according to one or more embodiments of the present disclosure, including: acquiring historical volume used by a user in a historical audio playing event; processing the acquired historical volume by using a clustering algorithm; and determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
Example 2 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: the historical audio playing event and the next audio playing event are both audio playing events in an earphone mode, or the historical audio playing event and the next audio playing event are both audio playing events in a play-out mode.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: the historical audio playing event and the next audio playing event are both audio playing events under an android system, or the historical audio playing event and the next audio playing event are both audio playing events under an ios system.
Example 4 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering process, wherein the step comprises the following steps: and determining the default volume corresponding to the user according to the average value of the class with the minimum average value after the clustering processing.
Example 5 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering process, wherein the step comprises the following steps: and determining the minimum value of the average value of the class with the minimum average value after the clustering processing and the default media volume of the system as the default volume corresponding to the user.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. An automatic volume adjustment method, comprising:
acquiring historical volume used by a user in a historical audio playing event;
processing the acquired historical volume by using a clustering algorithm;
and determining a default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
2. The method of claim 1, wherein the historical audio play event and the next audio play event are both audio play events in headphone mode, or wherein the historical audio play event and the next audio play event are both audio play events in play-out mode.
3. The method according to claim 1, wherein the historical audio playing event and the next audio playing event are both audio playing events under an android system, or the historical audio playing event and the next audio playing event are both audio playing events under an ios system.
4. The method of claim 1, wherein the determining the default volume corresponding to the user based on the class with the minimum mean after the clustering process comprises:
and determining the default volume corresponding to the user according to the average value of the class with the minimum average value after the clustering processing.
5. The method of claim 1, wherein the determining the default volume corresponding to the user based on the class with the minimum mean after the clustering process comprises:
and determining the minimum value of the average value of the class with the minimum average value after the clustering processing and the default media volume of the system as the default volume corresponding to the user.
6. An automatic volume adjustment device, comprising:
the acquisition module is used for acquiring historical volume used by a user in a historical audio playing event;
the processing module is used for processing the historical volume acquired by the acquisition module by using a clustering algorithm;
and the determining module is used for determining the default volume corresponding to the user based on the class with the minimum mean value after the clustering processing, wherein the default volume is used for indicating the volume used when the user triggers the next audio playing event.
7. The apparatus of claim 6, wherein the determining module is configured to:
and determining the default volume corresponding to the user according to the average value of the class with the minimum average value after the clustering processing.
8. The method of claim 6, wherein the determination module is configured to:
and determining the minimum value of the average value of the class with the minimum average value after the clustering processing and the default media volume of the system as the default volume corresponding to the user.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 5.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 5.
CN202010202216.1A 2020-03-20 2020-03-20 Automatic volume adjustment method, apparatus, medium, and device Pending CN113495712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010202216.1A CN113495712A (en) 2020-03-20 2020-03-20 Automatic volume adjustment method, apparatus, medium, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010202216.1A CN113495712A (en) 2020-03-20 2020-03-20 Automatic volume adjustment method, apparatus, medium, and device

Publications (1)

Publication Number Publication Date
CN113495712A true CN113495712A (en) 2021-10-12

Family

ID=77993660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010202216.1A Pending CN113495712A (en) 2020-03-20 2020-03-20 Automatic volume adjustment method, apparatus, medium, and device

Country Status (1)

Country Link
CN (1) CN113495712A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156048A (en) * 2023-04-23 2023-05-23 成都苏扶软件开发有限公司 Volume adjustment method, system, equipment and medium based on artificial intelligence

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013414A1 (en) * 2004-07-15 2006-01-19 Hsuan-Huei Shih Methods and related circuit for automatic audio volume level control
TW201543353A (en) * 2014-05-09 2015-11-16 Univ Nan Kai Technology System for adjusting volume according to volumes of plurality of target files and method thereof
CN106454507A (en) * 2016-11-30 2017-02-22 广州三星通信技术研究有限公司 Method and device for adjusting volume of electronic terminal
CN106792144A (en) * 2017-01-03 2017-05-31 京东方科技集团股份有限公司 Program volume adjusting method, device and client
CN107277216A (en) * 2017-05-16 2017-10-20 努比亚技术有限公司 A kind of volume adjusting method, terminal and computer-readable recording medium
CN108733342A (en) * 2018-05-22 2018-11-02 Oppo(重庆)智能科技有限公司 volume adjusting method, mobile terminal and computer readable storage medium
CN108804069A (en) * 2018-05-25 2018-11-13 科大讯飞股份有限公司 Volume adjusting method and device, storage medium, electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013414A1 (en) * 2004-07-15 2006-01-19 Hsuan-Huei Shih Methods and related circuit for automatic audio volume level control
TW201543353A (en) * 2014-05-09 2015-11-16 Univ Nan Kai Technology System for adjusting volume according to volumes of plurality of target files and method thereof
CN106454507A (en) * 2016-11-30 2017-02-22 广州三星通信技术研究有限公司 Method and device for adjusting volume of electronic terminal
CN106792144A (en) * 2017-01-03 2017-05-31 京东方科技集团股份有限公司 Program volume adjusting method, device and client
CN107277216A (en) * 2017-05-16 2017-10-20 努比亚技术有限公司 A kind of volume adjusting method, terminal and computer-readable recording medium
CN108733342A (en) * 2018-05-22 2018-11-02 Oppo(重庆)智能科技有限公司 volume adjusting method, mobile terminal and computer readable storage medium
CN108804069A (en) * 2018-05-25 2018-11-13 科大讯飞股份有限公司 Volume adjusting method and device, storage medium, electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156048A (en) * 2023-04-23 2023-05-23 成都苏扶软件开发有限公司 Volume adjustment method, system, equipment and medium based on artificial intelligence
CN116156048B (en) * 2023-04-23 2023-12-08 恩平市华电电子有限公司 Volume adjustment method, system, equipment and medium based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN110677711B (en) Video dubbing method and device, electronic equipment and computer readable medium
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
US20240127856A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN110856004B (en) Message processing method and device, readable storage medium and electronic equipment
CN113542856B (en) Method, device, equipment and computer readable medium for reverse playing of online video
CN112015505A (en) Mode switching method and device and electronic equipment
CN111435600B (en) Method and apparatus for processing audio
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN110996155B (en) Video playing page display method and device, electronic equipment and computer readable medium
CN110414625B (en) Method and device for determining similar data, electronic equipment and storage medium
CN112000251A (en) Method, apparatus, electronic device and computer readable medium for playing video
CN111669625A (en) Processing method, device and equipment for shot file and storage medium
CN111045634B (en) Audio processing method and device
US11960703B2 (en) Template selection method, electronic device and non-transitory computer-readable storage medium
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
CN113542785B (en) Switching method for input and output of audio applied to live broadcast and live broadcast equipment
CN114339402A (en) Video playing completion rate prediction method, device, medium and electronic equipment
CN109375892B (en) Method and apparatus for playing audio
CN113885741A (en) Multimedia processing method, device, equipment and medium
CN111367592B (en) Information processing method and device
CN111698367A (en) Method and device for terminal silent alarm, terminal and storage medium
CN113452839A (en) Automatic volume adjustment method, apparatus, medium, and device
CN111381796B (en) Processing method and device for realizing KTV function on client and user equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.