Volume level determination method and device, equipment and storage medium

By analyzing the volume information in the audio playback set of the target device, calculating the volume playback coefficient and comparing it with the volume demarcation threshold, the problem of low measurement efficiency of audio playback capability in the prior art is solved, and efficient volume level determination is achieved.

CN119485111APending Publication Date: 2025-02-18BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311007826.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art requires the deployment of a professional testing environment when measuring the audio playback capability of electronic devices, which is inefficient, especially when the number of devices is large, the testing method is inefficient.

Method used

By obtaining the audio playback set of the target device, analyzing the volume information in the audio sample, determining the volume statistics, calculating the volume playback coefficient, and comparing it with the volume delimiting threshold, determining the volume level.

Benefits of technology

The volume level is determined without the need to deploy a professional test environment, which improves efficiency, simplifies operations and avoids the use of additional hardware devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485111A_ABST
    Figure CN119485111A_ABST
Patent Text Reader

Abstract

The invention provides a volume level determination method and device, equipment and a storage medium, and the method comprises the steps: obtaining an audio playing set of target equipment, and the audio playing set comprises a plurality of audio samples played by the target equipment; identifying volume information of each audio sample in the plurality of audio samples in the playing process, and determining volume statistical data of the audio playing set according to the volume information; determining a volume playing coefficient of the target equipment based on the volume statistical data; and generating a volume demarcation threshold adaptive to the target device, and comparing the volume playing coefficient with the volume demarcation threshold to determine the volume level of the target device based on a comparison result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of audio processing, and in particular to a method, device, equipment and storage medium for determining a volume level. Background Art

[0002] At present, in order to measure the audio playback capabilities of different electronic devices, the maximum sound pressure level (SPL) of the electronic device can be tested in a test environment. For example, in the test environment, the electronic device plays a standard audio at the maximum volume, and then a sound pressure meter is used to measure the SPL of the standard audio during playback at a specified distance from the electronic device.

[0003] However, such a testing process often requires the deployment of a professional testing environment. In addition, when the number of electronic devices to be tested is large, the efficiency of this testing method is also low. Summary of the invention

[0004] In view of this, one or more embodiments of the present disclosure provide a method, apparatus, device and storage medium for determining a volume level, which can improve the efficiency of determining the volume level.

[0005] On one hand, the present disclosure provides a method for determining a volume level, the method comprising: obtaining an audio playback set of a target device, the audio playback set including a plurality of audio samples played by the target device; identifying volume information of each audio sample in the plurality of audio samples during playback, and determining volume statistics of the audio playback set based on the volume information; determining a volume playback coefficient of the target device based on the volume statistics; generating a volume demarcation threshold adapted for the target device, and comparing the volume playback coefficient with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

[0006] On the other hand, the present disclosure also provides a device for determining a volume level, the device comprising: an audio set acquisition unit, used to acquire an audio playback set of a target device, the audio playback set including a plurality of audio samples played by the target device; a statistical data determination unit, used to identify volume information of each audio sample in the plurality of audio samples during playback, and determine volume statistical data of the audio playback set based on the volume information; a playback coefficient determination unit, used to determine a volume playback coefficient of the target device based on the volume statistical data; and a volume level determination unit, used to generate a volume demarcation threshold adapted for the target device, and compare the volume playback coefficient with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

[0007] Another aspect of the present disclosure provides an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the above-mentioned method for determining the volume level is implemented.

[0008] On the other hand, the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the above-mentioned method for determining the volume level is implemented.

[0009] The technical solution provided by one or more embodiments of the present disclosure can obtain an audio playback set of the target device when determining the volume level of the target device, and the audio samples in the audio playback set can be marked with volume information during the playback process. By analyzing these volume information, the volume statistics of the audio playback set can be determined. The volume statistics can characterize the volume distribution of the audio samples, and based on the volume statistics, a volume playback coefficient adapted to the target device can be obtained. Among them, the volume playback coefficient can characterize the audio playback capability of the target device. By comparing the volume playback coefficient with the volume demarcation threshold, the volume level of the target device can be determined.

[0010] It can be seen that the technical solution provided by one or more embodiments of the present disclosure can perform the volume level determination process without deploying the target device in a professional test environment. At the same time, the process of determining the volume level only requires analyzing the audio playback set of the target device, without requiring complex operations on the target device, and without requiring the installation of additional hardware devices such as a sound pressure meter, thereby greatly improving the efficiency of determining the volume level. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The features and advantages of the embodiments of the present disclosure may be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present disclosure in any way. In the accompanying drawings:

[0012] Figure 1 A schematic diagram of the steps of a method for determining a volume level in one embodiment of the present disclosure is shown;

[0013] Figure 2 A schematic diagram of adjusting the loudness of a sound source in one embodiment of the present disclosure is shown;

[0014] Figure 3 A schematic diagram of functional modules of a device for determining a volume level in one embodiment of the present disclosure is shown;

[0015] Figure 4 A schematic structural diagram of an electronic device in one embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0017] See also Figure 1 An embodiment of the present disclosure provides a method for determining a volume level, which may include the following steps.

[0018] S1: Acquire an audio play set of a target device, where the audio play set includes a plurality of audio samples played by the target device.

[0019] In this implementation, the plurality of audio samples played by the target device may refer to: the audio samples are played by the target device, or the audio samples are played by a device of the same model as the target device.

[0020] In actual applications, you can perform tracking (also called event tracking) at the specified playback progress of the online audio and video. When the audio and video after tracking is played to the specified playback progress, the tracking event is triggered, so that relevant information is collected and reported to the preset information collection server.

[0021] The information collected after the buried event is triggered may include the timestamp when the buried event is triggered, the streaming media identifier of the audio and video, the volume information of the current playback of the audio and video, and the device identifier of the device playing the audio and video. Among them, the streaming media identifier of the audio and video may be the number of the audio and video in the audio and video playback platform. Generally speaking, the streaming media identifier of the audio and video may be globally unique in the audio and video playback platform. The volume information of the current playback of the audio and video may refer to the current playback volume of the device playing the audio and video. The playback volume of the device can be adjusted within a certain volume range, and the volume range can be expressed as a percentage. For example, 0% means mute, and 100% means maximum playback volume. Of course, with different device models, the specifications and debugging parameters of the speakers deployed on different devices may also be different. Therefore, the same volume percentage does not mean the same playback volume for devices of different device models. In some application scenarios, the above volume information can be expressed in the form of a percentage. The device identifier of the device playing the audio and video may be the device model of the device. In this way, the device model, the streaming media identifier of the audio and video played in the device corresponding to the device model, and the volume information of the audio and video during the playback process can be associated and stored in the information collection server.

[0022] In one embodiment, at the specified playback progress of the audio sample, the device playback volume of the audio sample can be collected by burying points, and the volume information of the audio sample can be determined based on the collected device playback volume. Among them, the expression of the device playback volume can be flexibly set by different models of devices. In some models of devices, the device playback volume can be represented by an integer from 0 to N, 0 represents mute, and N represents the highest volume. For example, the volume of a certain device can be divided into 7 gears, represented by 7 integers from 0 to 6. In some models of devices, the device playback volume can be directly expressed as a percentage, 0% represents mute, and 100% represents the highest volume. In order to facilitate subsequent data statistics, the device playback volume can be normalized and uniformly limited to be expressed in the form of percentage. The percentage value after normalization can be used as the volume information of the audio sample during playback.

[0023] In actual applications, when an audio sample is just beginning to be played by a device, the device playback volume may change in a short period of time. For example, when a user listens to an audio sample through a device, he or she will manually adjust the device playback volume based on the audio-visual experience at first, and then can listen to the audio sample through the adjusted device playback volume. In view of this, in one embodiment, the above-mentioned specified playback progress can be set based on the moment when the audio sample playback ends. For example, the specified playback progress can be the position where the audio sample playback ends, or it can be a position slightly earlier than the position where the audio sample playback ends. The purpose of this setting is that in the early stage of the audio sample playback, the device playback volume has a higher probability of being adjusted, and at the end of the audio sample playback, the device playback volume has a lower probability of being adjusted. The device playback volume can more accurately characterize the audio playback capability of the device.

[0024] In this embodiment, when obtaining the audio playback set of the target device, the device model of the target device can be identified, and the corresponding device cluster can be determined based on the device model. The devices in the device cluster all have the same device model, so the specifications and debugging parameters of the speakers are also the same. The audio samples played by the devices under the device cluster can all be used as audio samples related to the target device.

[0025] In this embodiment, after determining the device cluster corresponding to the device model, the audio samples played by the devices in the device cluster can be obtained, and the audio playback set of the target device can be generated based on the obtained audio samples. Specifically, the set of obtained audio samples can be used as the audio playback set of the target device, or the obtained audio samples can be filtered according to time or other methods, and the filtered audio samples can be used as the audio playback set of the target device.

[0026] In actual applications, the device model of the target device can be used as a query condition to query the above-mentioned information collection server, thereby obtaining information containing the device model. From the information containing the device model, the streaming media identifier of the audio and video and the volume information when the audio and video are played can be read. The audio and video corresponding to these streaming media identifiers can constitute the audio playback set of the target device, and the audio samples in the audio playback set all have corresponding volume information.

[0027] It should be noted that the volume played by the device is actually the result of the interaction of two aspects: on the one hand, the original sound source loudness of the audio sample, and on the other hand, the volume of the current speaker of the device. In the above-mentioned application scenario of the present disclosure, the original sound source loudness of the audio sample can be uniformly balanced, that is, the original sound source loudness of each audio sample is guaranteed to be the same, and only the volume of the speaker of the device can be adjusted. This ensures that the volume level determined subsequently will not be affected by the original sound source loudness of the audio sample, and can more accurately characterize the volume playback capability of the speaker of the device itself.

[0028] In addition, it is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0029] For example, when installing audio and video playback software or playing audio and video in the audio and video playback software, a prompt message can be sent to the user to clearly remind the user that information related to audio and video and equipment will be collected during the audio and video playback process. Therefore, the user can independently choose whether to provide this information to the electronic device, application, server or storage medium and other software or hardware that executes the operation of the technical solution of the present disclosure according to the prompt message.

[0030] As an optional but non-limiting implementation, the prompt information may be sent to the user in a pop-up window, in which the prompt information may be presented in text. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide the electronic device with relevant information.

[0031] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0032] S3: Identify volume information of each audio sample in the plurality of audio samples during playback, and determine volume statistics of the audio playback set according to the volume information.

[0033] In this implementation, after the audio play set of the target device is acquired, the volume information of each audio sample in the audio play set during the play process may be analyzed to obtain volume statistics of the audio play set.

[0034] The volume information of the audio sample during the playback process can refer to the description in step S1. The volume information can represent the playback volume of the device when playing the audio sample. In some application scenarios, the playback volume can be expressed in percentage.

[0035] The volume information of audio samples in the audio playback set can represent the degree of volume demand of the device when playing audio samples. Specifically, if the volume percentage represented by the volume information is generally large when a certain model of device is playing audio samples, it means that the audio playback capability of this model of device may be weak, and when the user uses this model of device to listen to audio, the volume percentage of the device needs to be increased to meet the listening needs. On the contrary, if the volume percentage represented by the volume information is generally small when a certain model of device is playing audio samples, it means that the audio playback capability of this model of device may be strong, and the user only needs to set a relatively small volume percentage to meet the listening needs.

[0036] In view of this, the present embodiment can perform statistical analysis on the volume information to determine the volume statistics of the audio playback set. It should be noted that since the audio samples in the audio playback set are all played by devices of the same device model, the volume statistics of the determined audio playback set can also be characterized as the volume statistics corresponding to the device model.

[0037] In practical applications, volume statistics may include multiple different parameters. For example, volume statistics may include average volume information of audio samples in an audio playback set during playback. For another example, volume statistics may also include information on the percentage of audio samples played at maximum volume in an audio playback set. Of course, with the advancement of technology and the expansion of application scenarios, volume statistics may also include more parameters, which are not listed here one by one. As long as the volume statistics can characterize the volume distribution of audio samples during playback, they should fall within the protection scope of the technical solution disclosed herein.

[0038] In one embodiment, the above-mentioned average volume information and proportion information are used as an example to explain the generation process of volume statistics. In the audio playback set, candidate audio samples played in a non-silent manner can be screened out. Since the silent playback mode cannot reflect the strength of the audio playback capability of the device, in the process of determining the volume level, the audio samples played in a silent mode can be eliminated, thereby screening out candidate audio samples played in a non-silent mode. For the candidate audio samples, the average volume information corresponding to the candidate audio samples can be determined.

[0039] In a specific application example, the sum of the volumes of the candidate audio samples can be calculated based on the volume information of the candidate audio samples. The volume information can be represented by a volume percentage, and the sum of the volumes of the candidate audio samples can be obtained by adding the volume percentages corresponding to the candidate audio samples. Subsequently, the ratio between the sum of the volumes and the number of the candidate audio samples can be used as the average volume information corresponding to the candidate audio samples.

[0040] In one embodiment, a target audio sample played at maximum volume can be identified in the audio playback set, wherein the maximum volume can refer to a volume with a volume percentage of 100%. Then, the proportion information of the target audio sample in the candidate audio sample can be determined. The proportion information can be the ratio of the number of target audio samples to the number of audio samples played in a non-silent manner in the audio playback set.

[0041] After obtaining the above-mentioned average volume information and the proportion information, volume statistical data at least including the average volume information and the proportion information may be constructed.

[0042] In this embodiment, the larger the volume value represented by the average volume information, the weaker the audio playback capability corresponding to the device model. Similarly, the larger the value represented by the above-mentioned proportion of audio samples played at the maximum volume, the weaker the audio playback capability corresponding to the device model.

[0043] S5: Determine a volume playback coefficient of the target device based on the volume statistical data.

[0044] In this embodiment, the volume statistical data can be used to characterize the volume distribution of the audio playback set. Based on the volume distribution, a volume playback coefficient that can characterize the audio playback capability of the target device can be further generated.

[0045] In a specific application example, a volume playback vector can be generated according to the average volume information and the proportion information in the volume statistics, and the modulus value of the volume playback vector is used as the volume playback coefficient of the target device. Assuming that the numerical value represented by the average volume information is represented by X and the numerical value represented by the proportion information is represented by Y, the generated volume playback vector can be represented by (X, Y). The modulus value T of the volume playback vector can be expressed as:

[0046]

[0047] It can be seen from the above description that the larger the volume playback coefficient of the target device is, the weaker the audio playback capability of the target device is.

[0048] S7: Generate a volume demarcation threshold adapted for the target device, and compare the volume playback coefficient with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

[0049] In this embodiment, a volume demarcation threshold for judging the volume level can be generated. Generally speaking, the volume demarcation threshold should be consistent for different models of devices. However, since the device will run an operating system, and different operating systems will optimize the volume effect of the actual playback of the device through a volume optimization algorithm, the differences in operating systems also need to be taken into account when determining the volume level of the device. For example, in some application scenarios, different volume demarcation thresholds can be set for different operating systems.

[0050] Specifically, the system identifier in the target device can be identified, which can represent the type of the operating system in the target device, and then the correction coefficient corresponding to the system identifier can be obtained. The correction coefficient can be used to compensate the volume optimization algorithm of the operating system. After the correction coefficient is introduced, the objectivity of the volume demarcation threshold can be guaranteed as much as possible.

[0051] When calculating the volume demarcation threshold, the sound source loudness information and volume adjustment sensitivity corresponding to the target device can also be obtained. Among them, the sound source loudness information can be calculated by a standard loudness algorithm (such as ITU-R BS.1770-4), and the unit of the sound source loudness information can be LUFS (Loudness Units Full Scale). In some application scenarios, the value of the sound source loudness information can be, for example, -12 or -14. The above-mentioned volume adjustment sensitivity can be a sensitivity obtained based on big data analysis. For example, in some application scenarios, the volume adjustment sensitivity can be 40. Subsequently, the volume demarcation threshold of the target device can be generated according to the correction coefficient, the sound source loudness information and the volume adjustment sensitivity.

[0052] In practical applications, the volume demarcation threshold may include a first threshold and a second threshold, and the first threshold and the second threshold are used to divide a plurality of different volume levels. Thus, when determining the volume level of the target device, the volume level at which the volume playback coefficient represented by the comparison result is located can be identified, and the volume level represented by the comparison result can be used as the volume level of the target device.

[0053] In a specific application example, taking operating system A and operating system B as examples, the first threshold and the second threshold can be respectively expressed as:

[0054]

[0055]

[0056]

[0057]

[0058] Wherein, T2(A) represents the second threshold corresponding to operating system A, T1(A) represents the first threshold corresponding to operating system A, T2(B) represents the second threshold corresponding to operating system B, T1(B) represents the first threshold corresponding to operating system B, L represents the loudness information of the sound source, S represents the volume adjustment sensitivity, σ A represents the correction coefficient corresponding to the operating system A, σ B Indicates the correction coefficient corresponding to operating system B.

[0059] The first threshold and the second threshold mentioned above can divide the volume level into three levels. By comparing the size relationship between the volume playback coefficient and the first threshold and the second threshold, it is possible to determine at which volume level the volume playback coefficient is located. The volume level at which the volume playback coefficient is located can represent the volume level of the target device.

[0060] See also Figure 2 In one embodiment, after the volume level of the target device is determined, a sound source adjustment coefficient adapted to the target device can be generated according to the volume level of the target device. Subsequently, when the target device plays the target audio, the sound source loudness of the target audio can be adjusted based on the sound source adjustment coefficient.

[0061] The purpose of this processing is that the volume level can represent the audio playback capability of the device. For devices with weak audio playback capabilities, the original sound source loudness of the target audio can be appropriately increased, so that when a moderate device playback volume is set, the sound effects played by the device can still meet the needs of users. Similarly, for devices with strong audio playback capabilities, the original sound source loudness of the target audio can be appropriately reduced, so that when a moderate device playback volume is still set, the sound effects played by the device can also meet the needs of users.

[0062] Specifically, assuming that the original sound source loudness of the target audio is O, and the audio gain of the device's speaker is G, the audio effect played by the device can be simply expressed as O*G. In practical applications, O is processed by loudness equalization, and generally speaking, the original sound source loudness of each audio can be the same. By adjusting the volume percentage of the device (or adjusting the volume gear of the device), the above-mentioned audio gain G can be changed. If the audio playback capability of a device is weak, then the audio gain G is usually set higher (higher volume percentage); and if the audio playback capability of a device is strong, then the audio gain G is usually set lower (lower volume percentage).

[0063] In this embodiment, for devices with different volume levels, the original sound source loudness of the target audio can be adjusted. For devices with stronger audio playback capabilities, the generated sound source adjustment coefficient can be a negative number; for devices with weaker audio playback capabilities, the generated sound source adjustment coefficient can be a positive number. In this way, for the same target audio, assuming that the original sound source loudness of the target audio is OL, then when the device with stronger audio playback capabilities plays the target audio, the sound source loudness of the target audio will be set to OL+M, where M is a negative number, that is, the sound source loudness of the target audio is reduced; when the device with weaker audio playback capabilities plays the target audio, the sound source loudness of the target audio will be set to OL+N, where N is a positive number, that is, the sound source loudness of the target audio is increased. Compared with before the sound source loudness adjustment, if the device maintains the same device playback volume (volume percentage), then after the sound source loudness adjustment, for the device with stronger audio playback capabilities, the actual broadcast volume is reduced; and for the device with weaker audio playback capabilities, the actual broadcast volume is increased. In this way, by dynamically changing the original sound source loudness of the target audio through the volume level, the following situations can be avoided: for devices with weak audio playback capabilities, sometimes the sound effect is still low when the device playback volume is adjusted to the highest level; for devices with strong audio playback capabilities, sometimes the sound effect is still loud when the device playback volume is adjusted to the lowest level. It can be seen that by dynamically changing the original sound source loudness of the target audio through the volume level, the volume effect of the device playback can be optimized.

[0064] The technical solution provided by one or more embodiments of the present disclosure can obtain an audio playback set of the target device when determining the volume level of the target device, and the audio samples in the audio playback set can be marked with volume information during the playback process. By analyzing these volume information, the volume statistics of the audio playback set can be determined. The volume statistics can characterize the volume distribution of the audio samples, and based on the volume statistics, a volume playback coefficient adapted to the target device can be obtained. Among them, the volume playback coefficient can characterize the audio playback capability of the target device. By comparing the volume playback coefficient with the volume demarcation threshold, the volume level of the target device can be determined.

[0065] It can be seen that the technical solution provided by one or more embodiments of the present disclosure can perform the volume level determination process without deploying the target device in a professional test environment. At the same time, the process of determining the volume level only requires analyzing the audio playback set of the target device, without requiring complex operations on the target device, and without requiring the installation of additional hardware devices such as a sound pressure meter, thereby greatly improving the efficiency of determining the volume level.

[0066] See also Figure 3 In one embodiment of the present disclosure, a device for determining a volume level is provided, the device comprising:

[0067] The audio set acquisition unit 100 is used to acquire an audio play set of a target device, wherein the audio play set includes a plurality of audio samples played by the target device;

[0068] The statistical data determining unit 200 is used to identify the volume information of each audio sample in the plurality of audio samples during the playback process, and determine the volume statistical data of the audio playback set according to the volume information;

[0069] A playback coefficient determination unit 300, configured to determine a volume playback coefficient of the target device based on the volume statistical data;

[0070] The volume level determination unit 400 is configured to generate a volume demarcation threshold adapted to the target device, and compare the volume playback coefficient with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

[0071] Among them, the specific processing logic of each functional module can be found in the description of the aforementioned method implementation method, which will not be repeated here.

[0072] Each unit described in the above embodiments may be implemented by a computer chip or a product having a certain function. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0073] For the convenience of description, the above devices are described in terms of functions and are described separately in various units. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0074] See also Figure 4 An embodiment of the present disclosure further provides an electronic device, which includes a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the above-mentioned method for determining the volume level is implemented.

[0075] The present disclosure also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the above-mentioned method for determining the volume level is implemented.

[0076] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0077] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, implementing the method in the above method embodiment.

[0078] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0079] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0080] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, equipment, and storage medium, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0081] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0082] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for determining a volume level, characterized in that: The method comprises: Acquire an audio play set of a target device, wherein the audio play set includes a plurality of audio samples played by the target device; Identifying volume information of each audio sample in the plurality of audio samples during playback, and determining volume statistics of the audio playback set according to the volume information; Determining a volume playback coefficient of the target device based on the volume statistical data; A volume demarcation threshold adapted to the target device is generated, and the volume playback coefficient is compared with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

2. The method according to claim 1, characterized in that: Determining volume statistics of the audio playback set according to the volume information includes: In the audio playback set, candidate audio samples played in a non-silent manner are screened out, and average volume information corresponding to the candidate audio samples is determined; Identifying a target audio sample played at the maximum volume in the audio playback set, and determining a proportion of the target audio sample in the candidate audio samples; Construct volume statistics data including at least the average volume information and the proportion information.

3. The method according to claim 2, characterized in that Determining the average volume information corresponding to the candidate audio sample includes: According to the volume information of each of the candidate audio samples, the sum of the volumes of each of the candidate audio samples is calculated, and the ratio between the sum of the volumes and the number of each of the candidate audio samples is used as the average volume information corresponding to the candidate audio samples.

4. The method according to claim 2, characterized in that: Determining the volume playback coefficient of the target device based on the volume statistical data includes: A volume playback vector is generated according to the average volume information and the proportion information in the volume statistical data, and a modulus value of the volume playback vector is used as a volume playback coefficient of the target device.

5. The method according to claim 1, characterized in that Get the target device's audio playback collection including: Identify the device model of the target device and determine the device cluster corresponding to the device model; Audio samples played by devices in the device cluster are obtained, and an audio playback set of the target device is generated based on the obtained audio samples.

6. The method according to claim 1, characterized in that Identifying the volume information of the audio sample during playback includes: At a specified playback progress of the audio sample, the device playback volume of the audio sample is collected, and volume information of the audio sample is determined based on the collected device playback volume.

7. The method according to claim 1, characterized in that Generating a volume demarcation threshold adapted for the target device includes: Identify the system identifier in the target device and obtain the correction coefficient corresponding to the system identifier; The sound source loudness information and the volume adjustment sensitivity corresponding to the target device are obtained, and a volume demarcation threshold value of the target device is generated according to the correction coefficient, the sound source loudness information and the volume adjustment sensitivity.

8. The method according to claim 1, characterized in that After determining the volume level of the target device based on the comparison result, the method further includes: Generating a sound source adjustment coefficient adapted to the target device according to the volume level of the target device; When the target device plays the target audio, the sound source loudness of the target audio is adjusted based on the sound source adjustment coefficient.

9. A device for determining a volume level, characterized in that: The device comprises: An audio set acquisition unit, configured to acquire an audio play set of a target device, wherein the audio play set includes a plurality of audio samples played by the target device; a statistical data determining unit, configured to identify volume information of each audio sample in the plurality of audio samples during playback, and determine volume statistics of the audio playback set according to the volume information; a playback coefficient determination unit, configured to determine a volume playback coefficient of the target device based on the volume statistical data; The volume level determination unit is used to generate a volume demarcation threshold adapted to the target device, and compare the volume playback coefficient with the volume demarcation threshold to determine the volume level of the target device based on the comparison result.

10. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.