Volume adjustment method and device, equipment and computer storage medium
By determining the target scene in the electronic device and obtaining the corresponding volume adjustment rules, the problem of users frequently adjusting the volume in different occasions is solved, and the automatic adjustment of the application volume and the improvement of user experience is achieved.
Patent Information
- Application Number
- CN202411793519.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-01
AI Technical Summary
Users frequently adjust the volume of electronic devices in different occasions, resulting in untimely adjustment of the volume, which may cause the volume to suddenly increase after the application is started, causing trouble to the user.
By determining the target scene where the electronic device is located, obtain the corresponding volume adjustment rules, and adjust the volume according to its rules when the target application is activated, otherwise adjust according to the rules of the target scene.
It realizes automatic adjustment of the application volume in different occasions, ensuring that users can play at the appropriate volume when starting the application in different scenarios, improving the user experience.
Smart Images

Figure CN119739360A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and in particular, relates to a volume adjustment method, device, equipment and computer storage medium. Background Art
[0002] With the advancement of technology and economic development, electronic devices are becoming more and more popular. When users use electronic devices in daily life, they need to adjust the volume of the electronic devices according to the environment, so as to ensure that they can clearly hear the content played in the electronic devices without disturbing others.
[0003] However, when users frequently adjust the volume of electronic devices for different occasions, the volume may not be adjusted in time, resulting in the problem of suddenly playing a loud volume after the user opens an application, causing trouble for the user.
[0004] Therefore, how to achieve automatic adjustment of application volume in different occasions is a technical problem that needs to be solved urgently by relevant technical personnel. Summary of the invention
[0005] The embodiments of the present application provide a volume adjustment method, apparatus, device and computer storage medium, which can enable the volume of an application to be automatically adjusted in different situations.
[0006] In a first aspect, an embodiment of the present application provides a volume adjustment method, including: determining a target scene in which an electronic device is located; obtaining a first volume adjustment rule corresponding to the target scene; when it is determined that a target application is started, adjusting the volume of the electronic device according to a second volume adjustment rule, the second volume adjustment rule being a volume adjustment rule corresponding to the target application; when it is determined that the target application is not started, adjusting the volume of the electronic device according to the first volume adjustment rule.
[0007] In an embodiment of the present application, the first volume adjustment rule includes: a first volume pre-set by the user; or a second volume, the second volume is determined based on the first historical volume data of the target scene; the second volume adjustment rule includes: a third volume pre-set by the user; or a fourth volume, the fourth volume is determined by the second historical volume data of the target application in the target scene.
[0008] In an embodiment of the present application, the method also includes: obtaining a first adjustment number corresponding to first historical volume data and a fifth volume after each adjustment; when it is determined that the first adjustment number is greater than a first preset number threshold, determining a first corrected volume according to the fifth volume; when it is determined that the first corrected volume meets a first preset output condition, using the first corrected volume as the second volume; or obtaining a second adjustment number corresponding to second historical volume data and a sixth volume after each adjustment; when it is determined that the second adjustment number is greater than a second preset number threshold, determining a second corrected volume according to the sixth volume; when it is determined that the second corrected volume meets the second preset output condition, using the second corrected volume as the fourth volume.
[0009] In an embodiment of the present application, determining a target scene where an electronic device is located includes: obtaining environmental information where the electronic device is located; matching the environmental information with one or more preset scenes to determine the target scene where the electronic device is located.
[0010] In an embodiment of the present application, obtaining environmental information of an electronic device includes: obtaining at least one of geographic location information, time information, mobile status information, wireless connection status information, light information, and external device status information; determining the environmental information of the electronic device based on at least one of the geographic location information, time information, mobile status information, wireless connection status information, light information, and external device status information.
[0011] In an embodiment of the present application, environmental information of an electronic device is determined based on at least one of geographic location information, time information, mobile status information, wireless connection status information, light information, and external device status information, including: when wireless connection status information is obtained and a target network exists in the obtained wireless connection status information, environmental information corresponding to the target network is determined by a first preset correspondence relationship, the first preset correspondence relationship representing the correspondence between the target wireless network and the environmental information; or when geographic location information is obtained, the geographic location information is matched with a preset area by using a second preset correspondence relationship to determine the environmental information corresponding to the geographic location information, the second preset correspondence relationship representing the correspondence between the preset area and the environmental information.
[0012] In an embodiment of the present application, before using the second preset correspondence to match the geographic location information with the preset area and determine the environmental information corresponding to the geographic location information, the method also includes: obtaining a custom area set by the user; and constructing a second correspondence between the custom area and the environmental information.
[0013] In the embodiment of the present application, after adjusting the volume of the electronic device according to the second volume adjustment rule, the method further includes: after determining that the target application is closed, adjusting the volume of the electronic device according to the first volume adjustment rule.
[0014] In the embodiment of the present application, the method further includes: in the target scene, when it is determined that the target application is started and it is detected that the volume of the target application is adjusted to the seventh volume, updating the second volume adjustment rule according to the adjusted seventh volume.
[0015] In the embodiment of the present application, the method further includes: when it is determined that the target scene in which the electronic device is located has changed, obtaining a third volume adjustment rule corresponding to the changed target scene; and determining the volume of the electronic device according to the third volume adjustment rule.
[0016] In the embodiment of the present application, before adjusting the volume of the electronic device according to the second volume adjustment rule, the method further includes: when it is determined that the priority order corresponding to the first volume adjustment rule is higher than the priority order corresponding to the second volume adjustment rule, adjusting the volume of the electronic device according to the first volume adjustment rule.
[0017] In a second aspect, an embodiment of the present application provides a volume adjustment device, the device comprising: a first determination module, used to determine a target scene in which an electronic device is located; a first acquisition module, used to acquire a first volume adjustment rule corresponding to the target scene; a second determination module, used to adjust the volume of the electronic device according to a second volume adjustment rule when it is determined that a target application is started, the second volume adjustment rule being a volume adjustment rule corresponding to the target application; and a third determination module, used to adjust the volume of the electronic device according to the first volume adjustment rule when it is determined that the target application is not started.
[0018] In a third aspect, an embodiment of the present application provides a volume adjustment device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the volume adjustment method in the first aspect or any one of the embodiments of the first aspect is implemented.
[0019] In a fourth aspect, a computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the volume adjustment method in the first aspect or any one of the embodiments of the first aspect is implemented.
[0020] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the volume adjustment method of the first aspect or any one of the embodiments of the first aspect.
[0021] The volume adjustment method, device, equipment and computer storage medium of the embodiment of the present application determine the volume of the electronic device by judging whether the target application is started in the target scene, wherein, when it is determined that the target application is started, the volume of the electronic device can be adjusted according to the second volume adjustment rule corresponding to the target application; when it is determined that the target application is not started, the volume of the electronic device can be adjusted according to the first volume adjustment rule corresponding to the target scene. It can be understood that in the embodiment of the present application, by setting the volume of the target application in the target scene, it can be ensured that when the user starts the target application in different scenes, the target application can be enabled at an appropriate volume, bringing a better user experience to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 A flow chart of a volume adjustment method provided by an embodiment of the present application is shown;
[0024] Figure 2 A schematic diagram showing a flow chart of a second volume determination method provided by an embodiment of the present application;
[0025] Figure 3 A schematic flow chart of a fourth volume determination method provided by an embodiment of the present application is shown;
[0026] Figure 4 A flow chart of a volume adjustment method provided by another embodiment of the present application is shown;
[0027] Figure 5 A flow chart of a volume adjustment method provided by another embodiment of the present application is shown;
[0028] Figure 6 A flow chart of a method for formulating volume adjustment rules provided by an embodiment of the present application is shown;
[0029] Figure 7 A flow chart of a volume adjustment method provided by an embodiment of the present application is shown;
[0030] Figure 8 is a structural schematic diagram of a volume adjustment device provided by another embodiment of the present application;
[0031] Fig. 9 It is a structural schematic diagram of a volume adjustment device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0032] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0033] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0034] With the development of science and technology and economic progress, electronic devices have gradually become popular and have become an indispensable part of people's daily lives. Since users of electronic devices have different volume requirements for electronic devices in different environmental scenarios, in order to improve the user experience, in the related technology, the intensity of light received by the electronic device and whether an external playback device is connected are determined to determine the usage scenario of the electronic device, thereby achieving automatic volume adjustment.
[0035] However, in some scenarios, some applications may need to be played at a volume that is different from the preset environmental scenario. For example, in an office scenario, the volume of the electronic device is at a relatively low volume. At this time, in order to meet work needs, the volume of the office conference software needs to be set to a higher volume. In the related art, the volume can only be turned up manually by the user. Moreover, the volume turned up by the user is the volume of the electronic device, and the volume of a certain application cannot be set separately. This may cause the user to forget to adjust the volume back later, which may cause the user to suddenly play a louder volume after opening other applications in this scenario, causing trouble to the user.
[0036] Therefore, how to realize automatic adjustment of volume under different application occasions is a technical problem that needs to be solved urgently by relevant technical personnel.
[0037] In order to solve the problems in the prior art, the embodiments of the present application provide a volume adjustment method, device, equipment and computer storage medium. The volume adjustment method provided by the embodiments of the present application is first introduced below.
[0038] Figure 1 FIG. 1 is a flow chart of a volume adjustment method provided by an embodiment of the present application. Figure 1 As shown, the volume adjustment method includes the following steps:
[0039] S110: Determine the target scene where the electronic device is located.
[0040] Exemplarily, the target scene may be the scene where the electronic device is currently located. The target scene may be a scene pre-set by the user. Alternatively, the target scene may be a scene obtained by matching a pre-stored scene in the electronic device. For example, the scene may be matched based on the user's location information, time information, and other information.
[0041] In one example, the target scene may be a scene pre-stored in the electronic device, including home, outdoor public places, indoor public places, and office places, etc. In another example, the target scene may be a scene with a user-defined name, for example, the target scene may be a park, a subway, and a shopping mall, etc.
[0042] S120: Obtain a first volume adjustment rule corresponding to the target scene.
[0043] Exemplarily, the first volume adjustment rule may be a volume adjustment rule corresponding to a target scene, wherein different target scenes may correspond to the same or different first volume adjustment rules.
[0044] Exemplarily, the first volume adjustment rule may be to adjust the volume of the electronic device to a corresponding volume level after determining that the electronic device is located in the target scene. The first volume adjustment rule may be used to adjust the volume of all applications in the electronic device. That is, when the electronic device determines that it is located in the target application scene, the volume level is adjusted to a preset volume level, and at this time, any application of the electronic device can be played at the preset volume level when it is started.
[0045] In one example, the first volume adjustment rule may be that in an outdoor public place, the volume is 100%; or at home, the volume is 20%. It is understood that 100% and 20% may be volume levels compared to the maximum volume supported by the electronic device.
[0046] S130: When it is determined that the target application is started, adjust the volume of the electronic device according to a second volume adjustment rule.
[0047] The second volume adjustment rule is a volume adjustment rule corresponding to the target application.
[0048] Exemplarily, the target application may be an application for which the user pre-sets volume adjustment rules. For example, the target application may be an office conference software opened in an indoor public scene; or the target application may be a music playback software opened in an outdoor public scene.
[0049] Exemplarily, the second volume adjustment rule may be the volume level of the electronic device when it is determined that the electronic device is located in the target scene and the target application is started. The second volume adjustment rule may be used to adjust the volume level of the electronic device when the target application is started.
[0050] In one example, the second volume adjustment rule may be to adjust the volume of the electronic device to 100% when the office conference software is turned on in an indoor public place; or to adjust the volume of the electronic device to 20% when the music playback software is turned on in an outdoor public place.
[0051] In some optional embodiments, when it is determined that the priority order corresponding to the first volume adjustment rule is higher than the priority order corresponding to the second volume adjustment rule, the volume of the electronic device may be adjusted according to the first volume adjustment rule.
[0052] Exemplarily, the priority order may be determined by the user according to the target scenario and the target application.
[0053] Exemplarily, for different target applications in the same target scene, the corresponding priority order may be different. The priority order corresponding to the same target application in different target scenes may be different. In one example, the priority order of the first volume adjustment rule corresponding to the indoor public scene may be higher than the second volume adjustment rule corresponding to the music playback software in the indoor public scene, and the priority order of the first volume adjustment rule corresponding to the indoor public scene may be lower than the second volume adjustment rule corresponding to the office meeting software in the indoor public scene. In another example, the priority order of the first volume adjustment rule corresponding to the indoor public scene may be higher than the second volume adjustment rule corresponding to the music playback software in the indoor public scene, and the priority order of the first volume adjustment rule corresponding to the outdoor public scene may be lower than the second volume adjustment rule corresponding to the music playback software in the indoor public scene.
[0054] In one example, when it is determined that the first volume adjustment rule has a higher priority according to the priority order, the volume of the electronic device is adjusted according to the first volume adjustment rule. In another example, when it is determined that the second volume adjustment rule has a higher priority according to the priority order, the volume of the electronic device is adjusted according to the target volume adjustment rule, that is, according to the second volume adjustment rule.
[0055] S140: When it is determined that the target application is not started, adjust the volume of the electronic device according to a first volume adjustment rule.
[0056] Exemplarily, when it is determined that the application started in the target scenario is not the target application, the volume of the electronic device may be adjusted according to the first volume adjustment rule.
[0057] In the embodiment of the present application, the volume of the electronic device is determined by judging whether the target application is started in the target scene, wherein, when it is determined that the target application is started, the volume of the electronic device can be adjusted according to the second volume adjustment rule corresponding to the target application; when it is determined that the target application is not started, the volume of the electronic device can be adjusted according to the first volume adjustment rule corresponding to the target scene. It can be understood that in the embodiment of the present application, by setting the volume of the target application in the target scene, it can be ensured that when the user starts the target application in different scenes, the electronic device can play at an appropriate volume, bringing a better user experience to the user.
[0058] In some optional embodiments, the first volume adjustment rule may adjust the volume of the electronic device to a first volume or to a second volume, wherein the first volume may be a volume preset by a user, and the second volume may be determined based on first historical volume data corresponding to the target scene.
[0059] In some optional embodiments, Figure 2 FIG. 2 is a flow chart of a second volume determination method provided by an embodiment of the present application. Figure 2 As shown, the second volume determination method includes the following steps:
[0060] S210: Obtain a first adjustment number corresponding to the first historical volume data and a fifth volume after each adjustment.
[0061] Exemplarily, the first historical volume data may be data related to volume adjustment performed by the user in the target scene. The first historical volume data may include the number of times the user has adjusted the volume in the target scene, i.e., the first adjustment number; the first historical volume data may also include the volume level after each volume adjustment performed by the user in the target scene, i.e., the fifth volume.
[0062] S220: When it is determined that the first adjustment number is greater than a first preset number threshold, determine a first corrected volume according to the fifth volume.
[0063] Exemplarily, when the electronic device determines that the first adjustment number is greater than the first preset number threshold, the first corrected volume can be determined according to the fifth volume. That is, when the electronic device determines that the number of times the user adjusts the volume in the target scene is greater than the first preset number threshold, the first corrected volume can be determined by the volume after each adjustment. For example, the average value of the volumes after multiple adjustments can be calculated as the first corrected volume; or the volumes after multiple adjustments can be sorted, and the majority after sorting can be selected as the first corrected volume.
[0064] Exemplarily, the first preset number of times may be preset by relevant technicians, or the first preset test may be determined by a user.
[0065] S230: When it is determined that the first corrected volume satisfies the first preset output condition, use the first corrected volume as the second volume.
[0066] Exemplarily, when the first modified volume satisfies the first preset output condition, the first modified volume may be used as the second volume, that is, the first modified volume may be used as the volume corresponding to the first preset volume adjustment rule.
[0067] Exemplarily, the first preset output condition may be that the user determines whether to use the first corrected volume as the second volume. In one example, after the electronic device determines the first corrected volume, a pop-up window prompt may be displayed to the user, wherein the pop-up window content may be: whether to use the first corrected volume as the second volume. After the user confirms, the first corrected volume may be used as the second volume. It is understandable that the above process of confirming to the user whether to use the first corrected volume as the second volume through a pop-up window is only for exemplary explanation, and the user may also be confirmed through a status bar message whether to use the first corrected volume as the second volume, which is not limited in the embodiments of the present application.
[0068] Exemplarily, the first output condition may also be that when the first adjustment number is greater than a preset threshold, the electronic device automatically uses the first corrected volume as the second volume.
[0069] In the embodiment of the present application, by obtaining the first adjustment number corresponding to the first historical volume data and the fifth volume after each adjustment, and when it is determined that the first adjustment number is greater than the first preset number threshold, the first corrected volume is determined according to the fifth volume, and then when it is determined that the first corrected volume meets the first preset output condition, the first corrected volume is used as the second volume. The second volume determined in this way can be more in line with the user's usage habits and preferences, and can provide the user with a better usage experience.
[0070] In some optional embodiments, the second volume adjustment rule may be to adjust the volume of the electronic device to a third volume or a fourth volume, wherein the third volume may be a volume preset by the user; and the fourth volume may be determined by the second historical volume data of the target application in the target scenario.
[0071] In some optional embodiments, Figure 3 FIG. 2 is a flow chart of a fourth volume determination method provided by an embodiment of the present application. Figure 3 As shown, the fourth volume determination method includes the following steps:
[0072] S310: Obtain a second adjustment number corresponding to the second historical volume data and a sixth volume after each adjustment.
[0073] Exemplarily, the second historical volume data may be data related to the volume adjustment performed by the user on the target application in the target scene. The second historical volume data may include the number of times the user adjusted the volume of the target application in the target scene, i.e., the second adjustment number; the second historical volume data may also include the volume level after the user adjusted the volume of the target application each time in the target scene, i.e., the sixth volume.
[0074] S320: When it is determined that the second adjustment number is greater than the second preset number threshold, determine a second corrected volume according to the sixth volume.
[0075] Exemplarily, when the electronic device determines that the second adjustment number is greater than the second preset number threshold, the second corrected volume can be determined according to the sixth volume. That is, when the electronic device determines that the number of times the user adjusts the volume of the target application in the target scene is greater than the second preset number threshold, the second corrected volume can be determined by the volume after each adjustment. For example, the average of the volumes after multiple adjustments, that is, the sixth volume, can be calculated as the second corrected volume; or the volumes after multiple adjustments can be sorted, and the majority after sorting can be selected as the second corrected volume.
[0076] Exemplarily, the second preset number of times may be preset by relevant technical personnel, or the second preset number of times may be determined by the user.
[0077] S330: When it is determined that the second corrected volume satisfies the second preset output condition, use the second corrected volume as the fourth volume.
[0078] Exemplarily, when the second modified volume satisfies the second preset output condition, the second modified volume may be used as the fourth volume, that is, the second modified volume may be used as the volume corresponding to the second preset volume adjustment rule.
[0079] Exemplarily, the second preset output condition may be that the user determines whether to use the second corrected volume as the second volume. In one example, after the electronic device determines the second corrected volume, a pop-up window prompt may be displayed to the user, wherein the pop-up window content may be: whether to use the second corrected volume as the second volume. After the user confirms, the second corrected volume may be used as the second volume. It is understandable that the above process of confirming to the user whether to use the second corrected volume as the second volume through a pop-up window is only for exemplary description, and the user may also be confirmed through a status bar message whether to use the second corrected volume as the second volume, which is not limited in the embodiments of the present application.
[0080] Exemplarily, the second output condition may also be that when the second adjustment number is greater than a preset threshold, the electronic device automatically uses the second corrected volume as the second volume.
[0081] In the embodiment of the present application, by obtaining the second adjustment number corresponding to the second historical volume data and the sixth volume after each adjustment, and when it is determined that the second adjustment number is greater than the second preset number threshold, the second corrected volume is determined according to the sixth volume, and then when it is determined that the second corrected volume meets the second preset output condition, the second corrected volume is used as the second volume. The second volume determined in this way can be more in line with the user's usage habits and preferences, and can provide the user with a better usage experience.
[0082] In the embodiment of the present application, the volumes corresponding to the first volume adjustment rule and the second volume adjustment rule can be determined by the user in advance, or the volumes corresponding to the first volume adjustment rule and the second volume adjustment rule can be determined according to the historical volume data of the user in the target scene. In this way, it can be ensured that the user can set the volume by himself, and the volume set by the user can be automatically adjusted to a certain extent, so as to ensure that the volume output by the electronic device meets the user's usage habits and preferences, thereby providing the user with a better usage experience.
[0083] In order to achieve the determination of the target scene, as another implementation of the present application, the present application also provides another implementation of the volume adjustment method, please refer to the following embodiments for details.
[0084] Figure 4 A flow chart of a volume adjustment method provided in yet another embodiment of the present application is shown.
[0085] like Figure 4 As shown, the volume adjustment method includes the following steps:
[0086] S410: Acquire environmental information of the electronic device.
[0087] S420: Match the environmental information with one or more preset scenes to determine the target scene where the electronic device is located.
[0088] S430: Obtain a first volume adjustment rule corresponding to the target scene.
[0089] S440: When it is determined that the target application is started, adjust the volume of the electronic device according to a second volume adjustment rule.
[0090] S450: When it is determined that the target application is not started, adjust the volume of the electronic device according to a first volume adjustment rule.
[0091] Exemplarily, steps S430-S450 are consistent with steps S120-S140, and will not be described in detail here.
[0092] In some embodiments, in S410, the electronic device may obtain the environment information in which the electronic device is located. The environment information may be used to characterize the current usage scenario of the electronic device.
[0093] In some optional embodiments, the environmental information of the electronic device includes at least one of geographic location information, time information, movement status information, wireless connection status information, light information, and external device status information.
[0094] Exemplarily, any one of geographical location information, time information, movement status information, wireless connection status information, light information, and external device status information can be used as the environmental information.
[0095] In some optional embodiments, when the electronic device obtains wireless connection status information, and the obtained wireless connection status information contains a target network, the environment information corresponding to the target network may be determined through a first preset corresponding relationship.
[0096] The first preset corresponding relationship may be used to characterize the corresponding relationship between the target wireless network and the environmental information. Furthermore, the first preset corresponding relationship may be preset by a user or relevant technical personnel.
[0097] The target wireless connection status may be wireless connection status information detected by the electronic device.
[0098] Exemplarily, when the electronic device obtains the target wireless connection status information, it can be matched with the wireless connection status information pre-stored in the preset wireless connection status information list, and when it is determined that the target wireless connection status information exists in the wireless connection status information list, it can be determined that the electronic device obtains the environment information corresponding to the target wireless connection status information. The wireless connection status information list can store one or more wireless connection status information, and the corresponding relationship between each wireless connection status information and the environment information.
[0099] In one example, the electronic device can determine the environmental information by reading the wireless fidelity (WiFi) signal source information. For example, after the WiFi signal identifier named "ABC" is updated in the WiFi list of the electronic device, the environmental information corresponding to the WiFi signal identifier named "ABC" can be determined according to the preset corresponding relationship. The preset corresponding relationship can be the corresponding relationship between different WiFi signal identifiers and environmental information.
[0100] In the embodiment of the present application, the electronic device can determine the current environment information based on the detected wireless connection status information without the need for manual input or selection by the user, thereby improving the efficiency and accuracy of environmental information confirmation.
[0101] In some optional embodiments, when the geographical location information is obtained, the geographical location information is matched with the preset area using the second preset correspondence relationship to determine the environmental information corresponding to the geographical location information, wherein the second preset correspondence relationship represents the correspondence between the preset area and the environmental information.
[0102] Exemplarily, the geographic environment information of the electronic device can be determined by obtaining the positioning information of the electronic device. In one example, when the user positioning information is obtained, the positioning information can be matched with the preset area by using the second preset correspondence. When it is determined that the positioning information belongs to a preset area, the environment information corresponding to the preset area is used as the environment information of the electronic device, thereby achieving the determination of the environment information. The second preset correspondence represents the correspondence between the preset area and the environment information.
[0103] In some optional embodiments, the preset area may be an area defined by the user, or the preset area may be an area preset by the electronic device.
[0104] For example, when the preset area is a user-defined area, the user-defined area set by the user can be obtained, and then a second correspondence between the customized area and the environmental information can be constructed. This enables the user to construct a correspondence between the area and the environmental information according to their own needs, thereby improving the user experience.
[0105] In one example, the time information of the electronic device can be obtained by reading the system time of the electronic device, and the time information is used as the environmental information.
[0106] In one example, the movement state information of the electronic device can be comprehensively determined based on the movement trajectory information, speed information, direction information, etc. of the electronic device. For example, based on the movement trajectory information, speed information, and direction information, it can be determined that the electronic device is continuously moving in a circular area at a speed of 5 km / h.
[0107] In another example, external light information can be acquired through a camera device of an electronic device, and the light information can be used as environmental information.
[0108] In another example, whether an external device is connected to the electronic device can be determined by whether the external device interface of the electronic device is connected, thereby determining the environmental information of the electronic device. For example, the external device connected to the electronic device can be a wired headset, or the external device connected to the electronic device can be an audio playback device connected wirelessly via Bluetooth.
[0109] Exemplarily, the electronic device may determine the environment information of the electronic device by combining multiple pieces of information including geographic location information, time information, movement status information, wireless connection status information, light information, and external device status information.
[0110] Exemplarily, geographic location information, time information and mobile status information may be obtained and used as the environmental information of the electronic device; or geographic location information, time information, mobile status information and wireless connection status information may be obtained and used as the environmental information of the electronic device.
[0111] In some embodiments, in S420, the electronic device may match the environmental information with one or more preset scenes to determine the target scene where the electronic device is located.
[0112] Exemplarily, different preset scenes may correspond to different environmental information, and the electronic device may determine the target scene where the electronic device is located by matching the acquired environmental information with the environmental information in the preset scene.
[0113] In one example, the preset scene may include home, office, indoor public place and outdoor public place. The preset environment information corresponding to the home and office may include geographic location information and wireless connection status information. For example, the corresponding target scene is determined by the location information and whether there is a specific WiFi identifier in the WiFi list.
[0114] In one example, the environmental information corresponding to an indoor public place may include geographic location information and movement status information. For example, the electronic device may first determine whether it is currently in an indoor public place area by location, such as within a shopping mall; and then determine that the user is in an indoor public place by combining the user's movement speed at a lower speed.
[0115] In another example, the environmental information corresponding to an outdoor public place may include geographic location information and mobile status information. For example, the electronic device may first determine whether the user is in some typical outdoor environments, such as a residential area, a park, etc., and then determine the current scene based on the user's movement speed. For example, when the user defines an outdoor public place, the area surrounding the residential area may be defined as a public outdoor area. When the user's location range is within the residential area where he lives and the user continues to run at a speed of 5 km / h within the range, the user's current scene is determined to be an outdoor public place.
[0116] In an embodiment of the present application, by matching the acquired environmental information with one or more preset scenes, it is possible to more accurately determine the target scene where the electronic device is located, and then obtain the first volume adjustment rule corresponding to the target scene, thereby ensuring the accuracy of obtaining the first volume adjustment rule and laying a foundation for volume adjustment of the electronic device.
[0117] In order to provide users with a better volume usage experience, as another implementation method of the present application, the present application also provides another implementation method of the volume adjustment method, please refer to the following embodiments for details.
[0118] Figure 5 A flow chart of a volume adjustment method provided in yet another embodiment of the present application is shown.
[0119] like Figure 5 As shown, the volume adjustment method also includes the following steps:
[0120] S510: Determine the target scene where the electronic device is located.
[0121] S520: Obtain a first volume adjustment rule corresponding to the target scene.
[0122] S530: When it is determined that the target application is started, adjust the volume of the electronic device according to a second volume adjustment rule.
[0123] S540: When it is determined that the target application is not started, adjust the volume of the electronic device according to a first volume adjustment rule.
[0124] Exemplarily, steps S510 - S540 are consistent with steps S110 - S140 , and are not described in detail here.
[0125] S550: After determining that the target application is closed, adjust the volume of the electronic device according to a first volume adjustment rule.
[0126] Exemplarily, when the electronic device determines that the target application is closed, the volume of the electronic device may be adjusted according to the first volume adjustment rule.
[0127] In one example, when the target application is closed, the electronic device can restore the volume to the volume corresponding to the first volume adjustment rule corresponding to the target scene.
[0128] In an embodiment of the present application, after the target application is closed, the volume of the electronic device is adjusted according to the first volume adjustment rule. This ensures that after the target application is closed, the adjustment according to the first volume adjustment rule can be restored to ensure the volume of the electronic device in the target scenario, so that the volume of the electronic device can be maintained at the volume required by the user, thereby improving the user experience.
[0129] In some optional embodiments, in the target scenario, when it is determined that the target application is started and it is detected that the volume of the target application is adjusted to the seventh volume, the second volume adjustment rule is updated according to the adjusted seventh volume.
[0130] The seventh volume may be the volume level after the user adjusts the volume of the target application in the target scene.
[0131] Exemplarily, when the electronic device determines that the target application is started and detects that the volume of the target application is adjusted by the user, it can obtain the seventh volume after the user adjusts the volume of the target application, and adjust the second volume adjustment rule corresponding to the target application based on the seventh volume.
[0132] In one example, updating the second volume adjustment rule according to the adjusted seventh volume may be to adjust the volume corresponding to the second volume adjustment rule to the seventh volume, and the updated volume adjustment rule may be to adjust the volume of the electronic device to the seventh volume.
[0133] In an embodiment of the present application, by obtaining the seventh volume adjusted by the target application in the target scene, the second volume adjustment rule is updated based on the seventh volume, so as to ensure that when the user opens the target application again in the same target scene, the electronic device can play audio according to the seventh volume, thereby avoiding repeated adjustments by the user and improving the user's experience.
[0134] In some optional embodiments, when it is determined that the target scene where the electronic device is located has changed, a third volume adjustment rule corresponding to the changed target scene is obtained; and the volume of the electronic device is determined according to the third volume adjustment rule.
[0135] Exemplarily, the first volume adjustment rules corresponding to different target scenes may be different. Therefore, when it is determined that the target scene in which the electronic device is located has changed, the volume adjustment rule corresponding to the changed target scene, i.e., the third volume adjustment rule, may be obtained. Furthermore, when the user starts the target application in the updated target scene, the second volume adjustment rule corresponding to the target application may be obtained, and the third volume adjustment rule and the second volume adjustment rule corresponding to the target application may be determined. The target volume adjustment rule may be determined in order of priority, and the volume of the electronic device may be adjusted according to the target volume adjustment rule.
[0136] In an embodiment of the present application, by obtaining the third volume adjustment rule corresponding to the changed target scene and determining the volume of the electronic device through the third volume adjustment rule, it is ensured that the electronic device can play audio according to the volume required by the user in different scenes, thereby bringing a better user experience to the user.
[0137] For example, Figure 6 , Figure 7 The following example illustrates the volume adjustment method of the present application.
[0138] Figure 6 A flow chart of a method for formulating volume adjustment rules provided by an embodiment of the present application is shown. Figure 6 As shown, in step S610, the object for which the volume adjustment rule is formulated is determined. When it is determined that the object for which the volume adjustment rule is formulated is a scene, step S620 is executed to determine the environmental information corresponding to the scene, and to determine the volume size corresponding to the scene, that is, the volume adjustment rule corresponding to the scene. When it is determined that the object for which the volume adjustment rule is formulated is an application, step S630 is executed to determine the volume size corresponding to the application, that is, the volume adjustment rule corresponding to the application.
[0139] Furthermore, in some embodiments, the environmental information corresponding to the scene may include time, location, and WiFi connection information, and the corresponding volume adjustment rules can be formulated based on the above information. In one example, when the time range is determined to be 9:00-17:00, the location is near the workplace, and the mobile phone can recognize the WiFi name corresponding to the office, the volume adjustment rule can be set to 20%. Among them, the user can circle the company's location range on the map in the electronic device in advance. In another example, an intelligent rule generation method can be used. For example, the electronic device detects that the user often manually adjusts the volume to 70%-90% when inserting headphones at location A during the period from 7:00 to 8:00 every day. In this case, a suggestion can be actively initiated to the user, and the volume adjustment rule can be pushed to the user, and the volume adjustment rule can be used only after the user confirms. For example, the volume adjustment rule received by the user may be: "In the morning between 7:00 and 8:00, at location A, the headphone volume is 80%". Furthermore, if the user believes that the volume adjustment rule is unreasonable, the user may modify the pushed volume adjustment rule, for example, change the time of the volume adjustment rule to 7:30-8:30 and the volume to 90%, and then confirm it to take effect.
[0140] Further, Figure 7 FIG. 1 is a flow chart of a volume adjustment method provided by an embodiment of the present application. Figure 7 As shown, in step S701, after starting the application in the target scene, S702 can be executed to determine the application type. In the case where it is determined that the application type is a non-special type application, S703 can be executed to play the application according to the volume adjustment rules corresponding to the target scene. Among them, the non-special type application can be an application for which the user sets the volume adjustment rules. Further, it can be determined whether the user adjusts the volume of the electronic device after the application is started. If it is determined that the user adjusts the volume of the electronic device, step S704 is executed to update the volume adjustment rules of the target scene according to the adjusted volume. In the case where the application type is determined to be a special type application, S705 can be executed to play the application according to the volume adjustment rules corresponding to the application. Further, it can be determined whether the user adjusts the volume of the electronic device after the application is started. In the case where it is determined that the user adjusts the volume of the electronic device, step S706 is executed to update the volume adjustment rules of the application according to the adjusted volume. Further, it can be determined whether to exit the application. In the case of determining that the application is to be exited, S707 is executed to adjust the volume of the electronic device according to the volume adjustment rules corresponding to the target scene.
[0141] Based on the volume adjustment method provided in the above embodiment, the present application also provides a specific implementation of a volume adjustment device. Please refer to the following embodiment.
[0142] See first Figure 8The volume adjustment device 800 provided in the embodiment of the present application includes the following modules:
[0143] A first determining module 801 is used to determine a target scene where the electronic device is located;
[0144] A first acquisition module 802 is used to acquire a first volume adjustment rule corresponding to a target scene;
[0145] A second determining module 803 is used to adjust the volume of the electronic device according to a second volume adjustment rule when it is determined that the target application is started, where the second volume adjustment rule is a volume adjustment rule corresponding to the target application;
[0146] The third determining module 804 is configured to adjust the volume of the electronic device according to the first volume adjustment rule when it is determined that the target application is not started.
[0147] In some embodiments, the first volume adjustment rule includes: a first volume pre-set by the user; or a second volume, the second volume is determined based on the first historical volume data of the target scene; the second volume adjustment rule includes: a third volume pre-set by the user; or a fourth volume, the fourth volume is determined by the second historical volume data of the target application in the target scene.
[0148] In some embodiments, the device also includes a third determination module, which is used to obtain a first adjustment number corresponding to the first historical volume data and a fifth volume after each adjustment; when it is determined that the first adjustment number is greater than a first preset number threshold, determine the first corrected volume according to the fifth volume; when it is determined that the first corrected volume meets the first preset output condition, use the first corrected volume as the second volume; or obtain a second adjustment number corresponding to the second historical volume data and a sixth volume after each adjustment; when it is determined that the second adjustment number is greater than the second preset number threshold, determine the second corrected volume according to the sixth volume; when it is determined that the second corrected volume meets the second preset output condition, use the second corrected volume as the fourth volume.
[0149] In some embodiments, the first determination module 801 determines the target scene where the electronic device is located in the following manner: obtaining environmental information where the electronic device is located; matching the environmental information with one or more preset scenes to determine the target scene where the electronic device is located.
[0150] In some embodiments, the first determination module 801 obtains the environmental information of the electronic device in the following manner: obtaining at least one of geographic location information, time information, mobile status information, wireless connection status information, light information, and external device status information; determining the environmental information of the electronic device based on at least one of the geographic location information, time information, mobile status information, wireless connection status information, light information, and external device status information.
[0151] In some embodiments, the first determination module 801 determines the environmental information of the electronic device according to at least one of geographic location information, time information, mobile status information, wireless connection status information, light information and external device status information in the following manner: when the wireless connection status information is obtained and the target network exists in the obtained wireless connection status information, the environmental information corresponding to the target network is determined by a first preset correspondence relationship, and the first preset correspondence relationship represents the correspondence between the target wireless network and the environmental information; or when the geographic location information is obtained, the geographic location information is matched with the preset area by using the second preset correspondence relationship to determine the environmental information corresponding to the geographic location information, and the second preset correspondence relationship represents the correspondence between the preset area and the environmental information.
[0152] In some embodiments, before using the second preset correspondence to match the geographic location information with the preset area and determine the environmental information corresponding to the geographic location information, the device also includes a fourth determination module for: obtaining a custom area set by the user; and constructing a second correspondence between the custom area and the environmental information.
[0153] In some embodiments, after adjusting the volume of the electronic device according to the target volume adjustment rule, the second determination module 803 is further configured to: after determining that the target application is closed, adjust the volume of the electronic device according to the first volume adjustment rule.
[0154] In some embodiments, the second determination module 803 is further configured to: in the target scenario, when it is determined that the target application is started and it is detected that the volume of the target application is adjusted to the seventh volume, update the second volume adjustment rule according to the adjusted seventh volume.
[0155] Fig. 9 A hardware structure diagram of the volume adjustment method provided in an embodiment of the present application is shown.
[0156] The volume adjustment device may include a processor 901 and a memory 902 storing computer program instructions.
[0157] Specifically, the processor 901 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0158] The memory 902 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 902 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 902 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 902 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 902 is a non-volatile solid-state memory.
[0159] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0160] The processor 901 implements any one of the volume adjustment methods in the above embodiments by reading and executing the computer program instructions stored in the memory 902 .
[0161] In one example, the volume adjustment device may further include a communication interface 903 and a bus 910. Fig. 9 As shown, the processor 901, the memory 902, and the communication interface 903 are connected via a bus 910 and communicate with each other.
[0162] The communication interface 903 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0163] Bus 910 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 910 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0164] The volume adjustment device can execute the volume adjustment method in the embodiment of the present application according to the target scene and the target application, thereby realizing the combination of Figure 1 and Figure 8 The volume adjustment method and device described.
[0165] In addition, in combination with the volume adjustment method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the volume adjustment methods in the above embodiment is implemented.
[0166] An embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the volume adjustment methods in the above embodiments when the computer program is executed by a processor.
[0167] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0168] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0169] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0170] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0171] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A volume adjustment method, characterized in that: include: Determine the target scene where the electronic device is located; Acquire a first volume adjustment rule corresponding to the target scene; When it is determined that the target application is started, adjusting the volume of the electronic device according to a second volume adjustment rule, where the second volume adjustment rule is a volume adjustment rule corresponding to the target application; When it is determined that the target application is not started, the volume of the electronic device is adjusted according to the first volume adjustment rule.
2. The method according to claim 1, characterized in that The first volume adjustment rule includes: a first volume preset by a user; or a second volume, the second volume being determined based on first historical volume data of the target scene; The second volume adjustment rule includes: a third volume preset by a user; or a fourth volume, where the fourth volume is determined by second historical volume data of the target application in the target scenario.
3. The method according to claim 2, characterized in that The method further comprises: Obtaining a first adjustment number corresponding to the first historical volume data and a fifth volume after each adjustment; When it is determined that the first adjustment number is greater than a first preset number threshold, determining a first corrected volume according to the fifth volume; If it is determined that the first modified volume satisfies a first preset output condition, using the first modified volume as the second volume; or Obtaining a second adjustment number corresponding to the second historical volume data and a sixth volume after each adjustment; If it is determined that the second adjustment number is greater than a second preset number threshold, determining a second corrected volume according to the sixth volume; When it is determined that the second modified volume satisfies a second preset output condition, the second modified volume is used as the fourth volume.
4. The method according to claim 1, characterized in that: The determining the target scene where the electronic device is located includes: Acquire information about the environment where the electronic device is located; The environmental information is matched with one or more preset scenes to determine the target scene where the electronic device is located.
5. The method according to claim 4, characterized in that The obtaining of the environmental information of the electronic device includes: Acquiring at least one of geographic location information, time information, movement status information, wireless connection status information, light information, and external device status information; The environmental information of the electronic device is determined according to at least one of the geographical location information, time information, movement status information, wireless connection status information, light information and external device status information.
6. The method according to claim 5, characterized in that The determining of the environment information of the electronic device according to at least one of the geographical location information, time information, movement status information, wireless connection status information, light information, and external device status information includes: When the wireless connection status information is obtained and the target network exists in the obtained wireless connection status information, determining the environmental information corresponding to the target network through a first preset corresponding relationship, wherein the first preset corresponding relationship represents the corresponding relationship between the target wireless network and the environmental information; or When the geographic location information is obtained, the geographic location information is matched with a preset area by using a second preset correspondence relationship to determine environmental information corresponding to the geographic location information, wherein the second preset correspondence relationship represents a correspondence between the preset area and the environmental information.
7. The method according to claim 6, characterized in that Before matching the geographical location information with the preset area by using the second preset corresponding relationship to determine the environmental information corresponding to the geographical location information, the method further includes: Get the custom area set by the user; A second corresponding relationship between the user-defined area and the environment information is established.
8. The method according to claim 1, characterized in that After adjusting the volume of the electronic device according to the second volume adjustment rule, the method further includes: After determining that the target application is closed, adjusting the volume of the electronic device according to the first volume adjustment rule.
9. The method according to claim 1, characterized in that: The method further comprises: In the target scene, when it is determined that the target application is started and it is detected that the volume of the target application is adjusted to a seventh volume, the second volume adjustment rule is updated according to the adjusted seventh volume.
10. The method according to claim 1, characterized in that The method further comprises: When it is determined that the target scene where the electronic device is located has changed, obtaining a third volume adjustment rule corresponding to the changed target scene; The volume of the electronic device is determined according to the third volume adjustment rule.
11. The method according to claim 1, characterized in that: Before adjusting the volume of the electronic device according to the second volume adjustment rule, the method further includes: In a case where it is determined that the priority order corresponding to the first volume adjustment rule is higher than the priority order corresponding to the second volume adjustment rule, the volume of the electronic device is adjusted according to the first volume adjustment rule.
12. A volume adjustment device, characterized in that: The device comprises: A first determination module, used to determine a target scene where the electronic device is located; A first acquisition module, used to acquire a first volume adjustment rule corresponding to the target scene; A second determining module is used to adjust the volume of the electronic device according to a second volume adjustment rule when it is determined that the target application is started, where the second volume adjustment rule is a volume adjustment rule corresponding to the target application; The third determining module is configured to adjust the volume of the electronic device according to the first volume adjustment rule when it is determined that the target application is not started.
13. A volume adjustment device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the volume adjustment method according to any one of claims 1 to 11 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the volume adjustment method according to any one of claims 1 to 11 is implemented.
15. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the volume adjustment method as described in any one of claims 1 to 11.