CN116939089A - Mobile phone volume adjustment control method and device, storage medium and computer equipment - Google Patents

Mobile phone volume adjustment control method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN116939089A
CN116939089A CN202210341713.9A CN202210341713A CN116939089A CN 116939089 A CN116939089 A CN 116939089A CN 202210341713 A CN202210341713 A CN 202210341713A CN 116939089 A CN116939089 A CN 116939089A
Authority
CN
China
Prior art keywords
volume
mobile phone
volume change
value
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210341713.9A
Other languages
Chinese (zh)
Inventor
田君
邹志杰
王晓博
刘世标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ontim Technology Co Ltd
Original Assignee
Beijing Ontim Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ontim Technology Co Ltd filed Critical Beijing Ontim Technology Co Ltd
Priority to CN202210341713.9A priority Critical patent/CN116939089A/en
Publication of CN116939089A publication Critical patent/CN116939089A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a mobile phone volume adjustment control method, a device, a storage medium and computer equipment, wherein the mobile phone volume adjustment control method comprises the following steps: acquiring current audio playing equipment of mobile phone equipment; acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range; and when the current audio playing device is an earphone device, comparing the number of the volume change instructions with a preset volume instruction number threshold, and if the number of the volume change instructions exceeds the volume instruction number threshold, limiting the volume change value of the mobile phone device in response to the volume change instruction received in the duration range. The mobile phone volume adjustment control method, the mobile phone volume adjustment control device, the storage medium and the computer equipment can prevent a user from greatly changing the playing volume of the earphone in a short time due to mistakenly touching the mobile phone volume key, thereby improving the experience of enjoying audio playing of the user and being beneficial to protecting the hearing health of the user.

Description

Mobile phone volume adjustment control method and device, storage medium and computer equipment
Technical Field
The application relates to the technical field of mobile phone volume adjustment, in particular to a mobile phone volume adjustment control method, a mobile phone volume adjustment control device, a storage medium and computer equipment.
Background
When listening to music played by the mobile phone device through the earphone device, a plurality of volume change instructions can be continuously generated by pressing the volume key of the mobile phone for a long time, so that the volume can be quickly increased or decreased. However, when the earphone is connected to listen to music, the mobile phone device may be put into the pocket, and when the user needs to operate the mobile phone, the mobile phone device needs to be drawn out of the pocket, and at this time, the volume key of the mobile phone is easily touched by mistake, so that the volume is rapidly increased or decreased in a short time, and the user experience of enjoying music and even the hearing health of the user are seriously affected.
Disclosure of Invention
The application aims to overcome the defects and shortcomings in the prior art and provides a mobile phone volume adjustment control method, a mobile phone volume adjustment control device, a storage medium and computer equipment, which can prevent a user from greatly changing the playing volume of an earphone in a short time due to mistaken touch of a mobile phone volume key, thereby improving the experience of enjoying audio playing of the user and being beneficial to protecting the hearing health of the user.
One embodiment of the present application provides a method for controlling volume adjustment of a mobile phone, including:
acquiring current audio playing equipment of mobile phone equipment;
when the current audio playing device is an earphone device, acquiring the quantity of volume change instructions received by the mobile phone device within a preset duration range;
and comparing the quantity of the volume change instructions with a preset volume instruction quantity threshold, and limiting the volume change value of the mobile phone equipment in response to the volume change instructions received in the duration range if the quantity of the volume change instructions exceeds the volume instruction quantity threshold.
Compared with the prior art, when the current audio playing device is the earphone device, the mobile phone volume adjustment control method compares the number of volume change instructions received by the mobile phone device within a preset duration range with the preset volume instruction number threshold, if the number of the volume change instructions exceeds the volume instruction number threshold, the volume change value of the mobile phone device in response to the volume change instructions received within the duration range is limited, and the playing volume of the earphone can be prevented from being greatly changed in a short time by mistakenly touching the earphone volume key, so that the experience of enjoying audio playing by the user is improved, and particularly, the hearing health of the user is prevented from being influenced by greatly increasing the playing volume of the earphone, so that the hearing health of the user is protected.
In one embodiment, the step of limiting the volume change value of the mobile phone device in response to the volume change instruction received in the duration range includes:
acquiring a current volume value of the mobile phone equipment and pre-storing a healthy volume value of the mobile phone equipment;
determining a difference between the healthy volume value and the current volume value as a volume increase upper limit;
obtaining a volume change value according to the number of volume change instructions received in the duration range;
if the volume change value is larger than the volume increase upper limit value, deleting the volume change value, determining the volume increase upper limit value as a new volume change value, otherwise, reserving the volume change value;
and changing the current volume value of the mobile phone equipment according to the volume change value.
The volume change value can be limited by the volume increase upper limit value, so that the playing volume of the earphone is prevented from being changed greatly in a short time.
In one embodiment, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range, the method further includes:
acquiring the screen state of the mobile phone equipment;
if the screen state of the mobile phone equipment is a screen locking state, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
Because the screen state of the mobile phone device is generally a screen locking state when the user places the mobile phone device in the pocket, the user can be effectively prevented from mistakenly pressing the trigger volume key for a long time when the user contacts the mobile phone device in the pocket by acquiring the quantity of volume change instructions received by the mobile phone device within a preset duration range when the screen state of the mobile phone device is the screen locking state.
In one embodiment, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range, the method further includes:
if the screen state of the mobile phone equipment is a screen locking state, acquiring an environment brightness value of the mobile phone equipment through an optical sensor of the mobile phone equipment;
and if the ambient brightness value is smaller than a preset brightness threshold value, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
When the mobile phone device is placed in the pocket, the mobile phone device is in an environment with a low ambient brightness value, so that the number of volume change instructions received by the mobile phone device in a preset duration range is acquired when the screen state of the mobile phone device is a screen locking state and the ambient brightness value is smaller than a preset brightness threshold value, and the operation of mistakenly pressing a volume triggering key for a long time when the user contacts the mobile phone device in the pocket can be more effectively avoided.
In one embodiment, the headset device is a wired headset or a bluetooth headset. The method can prevent the user from greatly changing the playing volume of the earphone in a short time because the user touches the mobile phone volume key by mistake when wearing the wired earphone or the Bluetooth earphone.
One embodiment of the present application also provides a mobile phone volume adjustment control system, including:
the audio playing device acquisition module is used for acquiring the current audio playing device of the mobile phone device;
the volume change instruction acquisition module is used for acquiring the quantity of volume change instructions received by the mobile phone equipment in a preset duration range when the current audio playing equipment is earphone equipment;
and the volume limiting module is used for comparing the number of the volume change instructions with a preset volume instruction number threshold, and limiting the volume change value of the mobile phone equipment in response to the volume change instruction received in the duration range if the number of the volume change instructions exceeds the volume instruction number threshold.
Compared with the prior art, when the current audio playing device is the earphone device, the mobile phone volume adjustment control system compares the number of volume change instructions received by the mobile phone device within a preset duration range with the preset volume instruction number threshold, if the number of the volume change instructions exceeds the volume instruction number threshold, the volume change value of the mobile phone device in response to the volume change instructions received within the duration range is limited, and the playing volume of the earphone can be prevented from being greatly changed in a short time by mistakenly touching the earphone volume key, so that the experience of enjoying audio playing by the user is improved, and particularly, the hearing health of the user is prevented from being influenced by greatly increasing the playing volume of the earphone, so that the hearing health of the user is protected.
In one embodiment, the volume limiting module includes:
the volume acquisition module is used for acquiring the current volume value of the mobile phone equipment and the healthy volume value pre-stored in the mobile phone equipment;
a volume increase upper limit value acquisition module for determining a difference value between the healthy volume value and the current volume value as a volume increase upper limit value;
the volume change value acquisition module is used for acquiring a volume change value according to the number of the volume change instructions received in the duration range;
the volume change value updating module is used for deleting the volume change value if the volume change value is larger than the volume increase upper limit value, determining the volume increase upper limit value as a new volume change value, and otherwise, reserving the volume change value;
and the volume value changing module is used for changing the current volume value of the mobile phone equipment according to the volume change value.
The volume change value can be limited by the volume increase upper limit value, so that the playing volume of the earphone is prevented from being changed greatly in a short time.
An embodiment of the present application also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the handset volume adjustment control method as described above.
An embodiment of the present application also provides a computer apparatus including a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the method for controlling volume adjustment of a mobile phone as described above when executing the computer program.
In order that the application may be more clearly understood, specific embodiments thereof will be described below with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart of a mobile phone volume adjustment control method according to an embodiment of the present application.
Fig. 2 is a flowchart of steps S301-S305 of a mobile phone volume adjustment control method according to an embodiment of the present application.
Fig. 3 is a block diagram of a mobile phone volume adjustment control system according to an embodiment of the present application.
1. An audio playing device acquisition module; 2. a volume change instruction acquisition module; 3. and a volume limiting module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are intended to be within the scope of the embodiments of the present application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination".
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a flowchart of a mobile phone volume adjustment control method according to an embodiment of the application includes:
s1: and acquiring the current audio playing equipment of the mobile phone equipment.
The mobile phone equipment is intelligent communication equipment with an audio playing function, and the audio playing equipment comprises a loudspeaker arranged on the mobile phone equipment, and earphone equipment, sound box equipment and the like connected with an audio output module of the mobile phone equipment.
S2: and when the current audio playing device is the earphone device, acquiring the quantity of volume change instructions received by the mobile phone device within a preset duration range.
The duration range is set by the user himself in seconds, for example 2 seconds, 3 seconds, 4 seconds, etc.
The volume change instruction comprises a volume increase instruction and a volume decrease instruction, and is generated according to the fact that a user triggers a volume key of the mobile phone device. When a user presses a volume button of the mobile phone device for a long time, the mobile phone device continuously generates the volume change instructions, so that the number of the volume change instructions in the duration range is increased.
S3: and comparing the quantity of the volume change instructions with a preset volume instruction quantity threshold, and limiting the volume change value of the mobile phone equipment in response to the volume change instructions received in the duration range if the quantity of the volume change instructions exceeds the volume instruction quantity threshold.
Compared with the prior art, when the current audio playing device is the earphone device, the mobile phone volume adjustment control method compares the number of volume change instructions received by the mobile phone device within a preset duration range with the preset volume instruction number threshold, if the number of the volume change instructions exceeds the volume instruction number threshold, the volume change value of the mobile phone device in response to the volume change instructions received within the duration range is limited, and the playing volume of the earphone can be prevented from being greatly changed in a short time by mistakenly touching the earphone volume key, so that the experience of enjoying audio playing by the user is improved, and particularly, the hearing health of the user is prevented from being influenced by greatly increasing the playing volume of the earphone, so that the hearing health of the user is protected.
The following illustrates the role of this embodiment in some practical application scenarios:
scene one: when the mobile phone device is placed in a pocket or a backpack, a user needs to find an object in the pocket or the backpack (the object includes but is not limited to the mobile phone device), and may touch a mobile phone volume key (such as a long-time press of a mobile phone volume key) by mistake, so that a plurality of volume change instructions are generated in a short time.
Scene II: under the condition that Bluetooth headphones are popular, A users listen to songs by using mobile phone equipment A and Bluetooth equipment A, B users listen to songs by using mobile phone equipment B and Bluetooth equipment B, the mobile phone equipment A and the mobile phone equipment B are identical in appearance, the B users mistakenly consider the mobile phone equipment A as own mobile phone equipment B and trigger a volume button to adjust the volume, at the moment, the B users possibly trigger the mobile phone volume button for multiple times in a short time to generate multiple volume change instructions, and through the technical scheme of the embodiment, the volume change value of the volume change instructions received by the mobile phone equipment in response to the duration range can be limited, the experience of enjoying audio playing of the users is improved, and hearing health of the users is protected.
Referring to fig. 2, in a possible embodiment, the step of limiting the volume change value of the mobile phone device in response to the volume change command received in the duration range includes:
s301: obtaining a current volume value of the mobile phone device and pre-storing a health volume value of the mobile phone device.
S302: and determining a difference value between the healthy volume value and the current volume value as a volume increase upper limit value.
S303: and obtaining a volume change value according to the number of the volume change instructions received in the duration range.
S304: and deleting the volume change value if the volume change value is larger than the volume increase upper limit value, determining the volume increase upper limit value as a new volume change value, otherwise, reserving the volume change value.
S305: and changing the current volume value of the mobile phone equipment according to the volume change value.
In this embodiment, the volume change value may be limited by the volume increase upper limit value, so as to prevent the play volume of the earphone from being changed greatly in a short time.
In a possible embodiment, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range, the method further includes:
s201: and acquiring the screen state of the mobile phone equipment.
The screen state comprises a screen locking state and a screen unlocking state, wherein when the screen state of the mobile phone equipment is the screen locking state, the operation of a user on the mobile phone equipment is limited, but the operation of a volume key of the mobile phone equipment is not limited by the screen locking state; when the screen state of the mobile phone device is the screen unlocking state, the operation of the mobile phone device by a user is not limited.
S202: if the screen state of the mobile phone equipment is a screen locking state, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
In this embodiment, since the screen state of the mobile phone device is generally a screen locking state when the user places the mobile phone device in the pocket, by acquiring the number of volume change instructions received by the mobile phone device within a preset duration range when the screen state of the mobile phone device is the screen locking state, the user can be effectively prevented from pressing the volume key for a long time by mistake when contacting the mobile phone device in the pocket.
In a possible embodiment, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range, the method further includes:
s211: and if the screen state of the mobile phone equipment is a screen locking state, acquiring the ambient brightness value of the mobile phone equipment through the light sensor of the mobile phone equipment.
S212: and if the ambient brightness value is smaller than a preset brightness threshold value, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
In this embodiment, when the user places the mobile phone device in the pocket, the mobile phone device is in an environment with a low ambient brightness value, so that when the screen state of the mobile phone device is a screen locking state and the ambient brightness value is smaller than a preset brightness threshold, the number of volume change instructions received by the mobile phone device within a preset duration range is obtained, and the user can be more effectively prevented from mistakenly pressing a volume triggering key for a long time when contacting the mobile phone device in the pocket.
In a possible embodiment, the earphone device is a wired earphone or a bluetooth earphone. The method can prevent the user from greatly changing the playing volume of the earphone in a short time because the user touches the mobile phone volume key by mistake when wearing the wired earphone or the Bluetooth earphone.
Referring to fig. 3, an embodiment of the present application further provides a system for controlling volume adjustment of a mobile phone, including:
the audio playing device acquisition module 1 is used for acquiring the current audio playing device of the mobile phone device;
the volume change instruction acquisition module 2 acquires the quantity of volume change instructions received by the mobile phone equipment within a preset duration range when the current audio playing equipment is earphone equipment;
and the volume limiting module 3 compares the number of the volume change instructions with a preset volume instruction number threshold, and limits the volume change value of the mobile phone equipment in response to the volume change instruction received in the duration range if the number of the volume change instructions exceeds the volume instruction number threshold.
Compared with the prior art, when the current audio playing device is the earphone device, the mobile phone volume adjustment control system compares the number of volume change instructions received by the mobile phone device within a preset duration range with the preset volume instruction number threshold, if the number of the volume change instructions exceeds the volume instruction number threshold, the volume change value of the mobile phone device in response to the volume change instructions received within the duration range is limited, and the playing volume of the earphone can be prevented from being greatly changed in a short time by mistakenly touching the earphone volume key, so that the experience of enjoying audio playing by the user is improved, and particularly, the hearing health of the user is prevented from being influenced by greatly increasing the playing volume of the earphone, so that the hearing health of the user is protected.
In a possible embodiment, the volume limiting module 3 comprises:
the volume acquisition module is used for acquiring the current volume value of the mobile phone equipment and the healthy volume value pre-stored in the mobile phone equipment;
a volume increase upper limit value acquisition module for determining a difference value between the healthy volume value and the current volume value as a volume increase upper limit value;
the volume change value acquisition module is used for acquiring a volume change value according to the number of the volume change instructions received in the duration range;
the volume change value updating module is used for deleting the volume change value if the volume change value is larger than the volume increase upper limit value, determining the volume increase upper limit value as a new volume change value, and otherwise, reserving the volume change value;
and the volume value changing module is used for changing the current volume value of the mobile phone equipment according to the volume change value.
The volume change value can be limited by the volume increase upper limit value, so that the playing volume of the earphone is prevented from being changed greatly in a short time.
An embodiment of the present application also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the handset volume adjustment control method as described above.
An embodiment of the present application also provides a computer apparatus including a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the method for controlling volume adjustment of a mobile phone as described above when executing the computer program.
The above-described apparatus embodiments are merely illustrative, wherein the components illustrated as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present application without undue burden.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (9)

1. The mobile phone volume adjustment control method is characterized by being applied to mobile phone equipment and comprising the following steps:
acquiring current audio playing equipment of mobile phone equipment;
when the current audio playing device is an earphone device, acquiring the quantity of volume change instructions received by the mobile phone device within a preset duration range;
and comparing the quantity of the volume change instructions with a preset volume instruction quantity threshold, and limiting the volume change value of the mobile phone equipment in response to the volume change instructions received in the duration range if the quantity of the volume change instructions exceeds the volume instruction quantity threshold.
2. The method of claim 1, wherein limiting the volume change value of the volume change command received by the mobile device in response to the duration range comprises:
acquiring a current volume value of the mobile phone equipment and pre-storing a healthy volume value of the mobile phone equipment;
determining a difference between the healthy volume value and the current volume value as a volume increase upper limit;
obtaining a volume change value according to the number of volume change instructions received in the duration range;
if the volume change value is larger than the volume increase upper limit value, deleting the volume change value, determining the volume increase upper limit value as a new volume change value, otherwise, reserving the volume change value;
and changing the current volume value of the mobile phone equipment according to the volume change value.
3. The method for controlling volume adjustment of a mobile phone according to claim 1, further comprising, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range:
acquiring the screen state of the mobile phone equipment;
if the screen state of the mobile phone equipment is a screen locking state, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
4. The method for controlling volume adjustment of a mobile phone according to claim 3, further comprising, before the step of obtaining the number of volume change instructions received by the mobile phone device within the preset duration range:
if the screen state of the mobile phone equipment is a screen locking state, acquiring an environment brightness value of the mobile phone equipment through an optical sensor of the mobile phone equipment;
and if the ambient brightness value is smaller than a preset brightness threshold value, acquiring the quantity of volume change instructions received by the mobile phone equipment within a preset duration range.
5. The method for controlling volume adjustment of a mobile phone according to claim 1, wherein: the earphone device is a wired earphone or a Bluetooth earphone.
6. A mobile phone volume adjustment control system, comprising:
the audio playing device acquisition module is used for acquiring the current audio playing device of the mobile phone device;
the volume change instruction acquisition module is used for acquiring the quantity of volume change instructions received by the mobile phone equipment in a preset duration range when the current audio playing equipment is earphone equipment;
and the volume limiting module is used for comparing the number of the volume change instructions with a preset volume instruction number threshold, and limiting the volume change value of the mobile phone equipment in response to the volume change instruction received in the duration range if the number of the volume change instructions exceeds the volume instruction number threshold.
7. The system of claim 6, wherein the volume limiting module comprises:
the volume acquisition module is used for acquiring the current volume value of the mobile phone equipment and the healthy volume value pre-stored in the mobile phone equipment;
a volume increase upper limit value acquisition module for determining a difference value between the healthy volume value and the current volume value as a volume increase upper limit value;
the volume change value acquisition module is used for acquiring a volume change value according to the number of the volume change instructions received in the duration range;
the volume change value updating module is used for deleting the volume change value if the volume change value is larger than the volume increase upper limit value, determining the volume increase upper limit value as a new volume change value, and otherwise, reserving the volume change value;
and the volume value changing module is used for changing the current volume value of the mobile phone equipment according to the volume change value.
8. A computer-readable storage medium storing a computer program, characterized in that: the computer program when executed by a processor implements the steps of the method for controlling volume adjustment of a mobile phone according to any one of claims 1 to 5.
9. A computer device, characterized by: comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the method for controlling volume adjustment of a mobile phone according to any one of claims 1 to 5 when the computer program is executed.
CN202210341713.9A 2022-04-02 2022-04-02 Mobile phone volume adjustment control method and device, storage medium and computer equipment Pending CN116939089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210341713.9A CN116939089A (en) 2022-04-02 2022-04-02 Mobile phone volume adjustment control method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210341713.9A CN116939089A (en) 2022-04-02 2022-04-02 Mobile phone volume adjustment control method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN116939089A true CN116939089A (en) 2023-10-24

Family

ID=88383096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210341713.9A Pending CN116939089A (en) 2022-04-02 2022-04-02 Mobile phone volume adjustment control method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN116939089A (en)

Similar Documents

Publication Publication Date Title
US11632621B2 (en) Method for controlling volume of wireless headset, and computer-readable storage medium
US20170126192A1 (en) Method, device, and computer-readable medium for adjusting volume
US20180336005A1 (en) Sound effect processing method, and terminal device
US11234089B2 (en) Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone
WO2019033987A1 (en) Prompting method and apparatus, storage medium, and terminal
WO2019033986A1 (en) Sound playback device detection method, apparatus, storage medium, and terminal
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
EP3429175B1 (en) Volume processing method and user terminal
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
CN106331338A (en) Volume adjusting method and device
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN107241511B (en) Music playing method, device, storage medium and terminal
JP2020042799A (en) Ear set control method and system
WO2017032012A1 (en) Volume adjusting method and user terminal
TWI724507B (en) Voice processing method and device
CN109672961B (en) Volume adjusting method, device and storage medium
CN110730946B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN112258809B (en) Loss detection method and device of wireless earphone and earphone
KR102110515B1 (en) Hearing aid device of playing audible advertisement or audible data
EP3815246B1 (en) Background level dependent dynamic volume levels
CN109600470B (en) Mobile terminal and sound production control method thereof
CN104735249A (en) Information processing method and electronic equipment
CN107483732A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN116939089A (en) Mobile phone volume adjustment control method and device, storage medium and computer equipment
CN109119101B (en) Audio data processing method and device and mobile terminal

Legal Events

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