CN112162722B - Volume adjusting method and device and electronic device - Google Patents

Volume adjusting method and device and electronic device Download PDF

Info

Publication number
CN112162722B
CN112162722B CN202011034490.9A CN202011034490A CN112162722B CN 112162722 B CN112162722 B CN 112162722B CN 202011034490 A CN202011034490 A CN 202011034490A CN 112162722 B CN112162722 B CN 112162722B
Authority
CN
China
Prior art keywords
fingerprint
volume
change
fingerprint image
small
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.)
Active
Application number
CN202011034490.9A
Other languages
Chinese (zh)
Other versions
CN112162722A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011034490.9A priority Critical patent/CN112162722B/en
Publication of CN112162722A publication Critical patent/CN112162722A/en
Application granted granted Critical
Publication of CN112162722B publication Critical patent/CN112162722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Image Input (AREA)

Abstract

The invention discloses a volume adjusting method and device and an electronic device. Wherein, the method comprises the following steps: acquiring a current fingerprint image of a user; analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area; and when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area. The invention solves the technical problem that the volume can not be adjusted by adopting fingerprint information in the prior art.

Description

Volume adjusting method and device and electronic device
Technical Field
The invention relates to the field of equipment control, in particular to a volume adjusting method and device and an electronic device.
Background
Because the volume adjustment key of the existing terminal device is usually arranged on the side of the device, when a user wants to adjust the volume of the terminal device, the volume up key and the volume down key of the volume adjustment key need to be distinguished, and the volume needs to be adjusted by pressing for multiple times, that is, the volume cannot be adjusted by adopting fingerprint information in the prior art, which is inconvenient for adjusting the volume.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a volume adjusting method and device and an electronic device, and at least solves the technical problem that the volume cannot be adjusted by adopting fingerprint information in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a volume adjustment method including: acquiring a current fingerprint image of a user; analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area; and when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area.
Optionally, the fingerprint type includes a first fingerprint type, the pre-stored fingerprint image is a first fingerprint image corresponding to the first fingerprint type, and when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, the volume adjustment according to the change of the fingerprint area includes: and when the current fingerprint image is matched with the first fingerprint image, determining to adjust the volume up, and adjusting the volume according to the change of the fingerprint area.
Optionally, the adjusting the volume according to the change of the fingerprint area includes: determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume increasing treatment according to the change of the pressing force from large to small.
Optionally, the adjusting the volume according to the change of the fingerprint area includes: determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large; and carrying out volume increasing treatment according to the change of the pressing force degree from small to large.
Optionally, the fingerprint type includes a second fingerprint type, the pre-stored fingerprint image is a second fingerprint image corresponding to the second fingerprint type, and when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area includes: and when the current fingerprint image is matched with the second fingerprint image, determining to reduce the volume, and adjusting the volume according to the change of the fingerprint area.
Optionally, the adjusting the volume according to the change of the fingerprint area includes: determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume reduction processing according to the change of the pressing force degree from large to small.
Optionally, the adjusting the volume according to the change of the fingerprint area includes: determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large; and carrying out volume reduction processing according to the change of the pressing force degree from small to large.
Optionally, the method further includes: when the volume is adjusted from the first volume to the second volume according to the change of the fingerprint area, if the fingerprint area is not changed any more, the second volume is determined to be kept unchanged.
According to another aspect of the embodiments of the present invention, there is also provided a volume adjusting apparatus, including: the acquisition module is used for acquiring a current fingerprint image of a user; an analysis module, configured to analyze the current fingerprint image to obtain an analysis result, where the analysis result at least includes: fingerprint type and fingerprint area; and the adjusting module is used for adjusting the volume according to the change of the fingerprint area when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to execute the volume adjusting method described in any one of the above when running.
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, wherein the program is configured to execute the volume adjusting method described in any one of the above when executed.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory and a processor, the memory storing a computer program therein, and the processor being configured to execute the computer program to perform any one of the volume adjusting methods described above.
In the embodiment of the invention, the current fingerprint image of the user is obtained; analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area; when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, volume adjustment is carried out according to the change of the fingerprint area, and the purpose of volume adjustment by adopting user fingerprint information is achieved, so that the technical effect of improving the intelligent level of the volume adjustment mode of the terminal equipment is achieved, and the technical problem that volume adjustment cannot be carried out by adopting the fingerprint information in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flow chart of a volume adjustment method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative volume adjustment method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a volume adjustment method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that herein.
Fig. 1 is a flowchart of a volume adjustment method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, acquiring a current fingerprint image of a user;
step S104, analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area;
and step S106, when the current fingerprint image is matched with a prestored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area.
In the embodiment of the invention, the current fingerprint image of the user is obtained; analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area; when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, volume adjustment is carried out according to the change of the fingerprint area, and the purpose of volume adjustment by adopting user fingerprint information is achieved, so that the technical effect of improving the intelligent level of the volume adjustment mode of the terminal equipment is achieved, and the technical problem that volume adjustment cannot be carried out by adopting the fingerprint information in the prior art is solved.
The embodiment of the volume adjusting method provided by the embodiment of the application can be applied to a volume adjusting scene of a terminal device (for example, a smart phone, an iPAD, a smart wearable device, and the like), for example, in an application scene of adjusting music playing volume, video playing volume, call volume, and the like of the smart phone.
As an alternative embodiment, by detecting a touch position on the terminal device where a press touch operation of the user is received, a current fingerprint image of the user at the touch position is acquired by a sensor built in the terminal device.
It should be noted that the execution main body in the embodiment of the present application may be a terminal device, and may be specifically implemented by an operating system in the terminal device, where the operating system analyzes a current fingerprint image of a user acquired by detecting a sensor built in the terminal device to obtain a fingerprint type and a fingerprint area of the current fingerprint image; and matching the current fingerprint image with a prestored fingerprint image corresponding to the fingerprint type, and adjusting the volume according to the change of the fingerprint area when the current fingerprint image is matched with the prestored fingerprint image.
In this embodiment, the fingerprint area may be determined based on the number of fingerprint pixel points of the current fingerprint image, and the fingerprint type may be determined based on the fingerprint texture information of the current fingerprint image. Optionally, the fingerprint types include: an index finger fingerprint type (first finger fingerprint type), a thumb fingerprint type (second finger fingerprint type).
Optionally, in this embodiment of the application, when the user adjusts the volume through the fingerprint information, the volume may be continuously adjusted up or down, the continuous adjustment may provide convenience for the user, and the adjustment operation time of the user is saved, so that the operation experience of the user when adjusting the volume is improved.
In an optional embodiment, the fingerprint type includes a first fingerprint type, the pre-stored fingerprint image is a first fingerprint image corresponding to the first fingerprint type, and when the current fingerprint image matches the pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area includes:
step S202, when the current fingerprint image is matched with the first fingerprint image, the volume is determined to be increased, and the volume is adjusted according to the change of the fingerprint area.
As an alternative embodiment, the adjusting the volume according to the change of the fingerprint area includes:
step S204, determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small;
and step S206, carrying out volume increasing processing according to the change of the pressing force from large to small.
Optionally, the first finger fingerprint type is an index finger fingerprint type, and the pre-stored fingerprint image is a first fingerprint image corresponding to the first finger fingerprint type, that is, a pre-stored index finger fingerprint image.
In the above optional embodiment, when it is determined that the current fingerprint image matches the preset index finger fingerprint image, it is determined to perform an increase processing on the volume; determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume increasing treatment according to the change of the pressing force from large to small. That is, when the current fingerprint image is matched with the preset index finger fingerprint image, it is determined that the volume is all adjusted to be larger, if the area of the fingerprint changes from large to small, the volume is adjusted to be larger according to the change of the pressing force degree from large to small, for example, the volume is adjusted more slowly as the area is smaller, or the volume is adjusted to be smaller as the area is smaller.
As another alternative embodiment, the adjusting the volume according to the change of the fingerprint area includes:
step S304, determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large;
and step S306, carrying out volume increasing processing according to the change of the pressing force degree from small to large.
Optionally, the first finger fingerprint type is an index finger fingerprint type, and the pre-stored fingerprint image is a first fingerprint image corresponding to the first finger fingerprint type, that is, a pre-stored index finger fingerprint image.
In the above optional embodiment, when it is determined that the current fingerprint image matches the preset index finger fingerprint image, it is determined to perform an increase processing on the volume; determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume increasing treatment according to the change of the pressing force from large to small. That is, when the current fingerprint image is matched with the preset index finger fingerprint image, it is determined that the volume is all turned up, if the area of the fingerprint changes from small to large, the volume is turned up according to the change of the pressing force degree from small to large, for example, the volume is turned up more quickly if the area is larger, or the volume is turned up more if the area is larger.
In an optional embodiment, the fingerprint type includes a second fingerprint type, the pre-stored fingerprint image is a second fingerprint image corresponding to the second fingerprint type, and when the current fingerprint image matches the pre-stored fingerprint image corresponding to the fingerprint type, performing the volume adjustment according to the change of the fingerprint area includes:
step S402, when the current fingerprint image is matched with the second fingerprint image, the volume is determined to be adjusted to be small, and the volume is adjusted according to the change of the fingerprint area.
As an optional embodiment, the adjusting the volume according to the change of the fingerprint area includes:
step S404, determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small;
in step S406, volume reduction processing is performed according to the change of the pressing force from large to small.
Optionally, the second fingerprint type is a thumb fingerprint type, and the pre-stored fingerprint image is a second fingerprint image corresponding to the second fingerprint type, that is, a preset thumb fingerprint image.
In the above optional embodiment, when it is determined that the current fingerprint image matches the preset thumb fingerprint image, it is determined to perform a volume reduction process; determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume reduction processing according to the change of the pressing force degree from large to small. That is, when the current fingerprint image is matched with the preset thumb fingerprint image, it is determined that the volume is all turned down, if the area of the fingerprint changes from large to small, the volume is turned down according to the change of the pressing force degree from large to small, for example, the volume is adjusted more slowly as the area is smaller, or the volume is turned down less as the area is smaller.
In another optional embodiment, the adjusting the volume according to the change of the fingerprint area includes:
step S504, determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large;
in step S506, the volume is decreased according to the change of the pressing force from small to large.
Optionally, the second fingerprint type is a thumb fingerprint type, and the pre-stored fingerprint image is a second fingerprint image corresponding to the second fingerprint type, that is, a preset thumb fingerprint image.
In the above optional embodiment, when it is determined that the current fingerprint image matches the preset thumb fingerprint image, it is determined to perform a volume reduction process; determining the change of the pressing force degree of the user from small to large according to the change of the fingerprint area from small to large; and carrying out volume reduction processing according to the change of the pressing force degree from small to large. That is, when the current fingerprint image is matched with the preset thumb fingerprint image, it is determined that the volume is all turned down, and if the area of the fingerprint changes from small to large, the volume is turned down according to the change of the pressing force degree from small to large, for example, the volume is adjusted more quickly if the area is larger, or the volume is adjusted more if the area is larger.
In an optional embodiment, the method further includes:
step S602, when the volume is adjusted from the first volume to the second volume according to the change of the fingerprint area, if the fingerprint area is not changed any more, it is determined that the volume is kept unchanged at the second volume.
In the above optional embodiment, if the adjusted second volume meets the user requirement, the pressing force of the user's finger on the touch display screen keeps the current pressure value unchanged, and at this time, the fingerprint area does not change any more; or, if the adjusted second volume meets the user requirement, the finger of the user directly leaves the touch display screen, and the area of the fingerprint is not changed any more. Thus, the mobile terminal determines that the second volume is kept unchanged, and stops volume adjustment.
In the above optional embodiment provided by the present application, as shown in fig. 2, a current fingerprint image of a user is obtained, and the current fingerprint image is analyzed to obtain an analysis result, where the analysis result at least includes: fingerprint type and fingerprint area; and judging whether the current fingerprint image is matched with a first fingerprint image corresponding to the first fingerprint type, and when the current fingerprint image is matched with the first fingerprint image, adjusting the volume according to the change of the fingerprint area.
As shown in fig. 2, when it is determined that the current fingerprint image does not match the first fingerprint image, determining whether the current fingerprint image matches a second fingerprint image corresponding to the second fingerprint type, and when it is determined that the current fingerprint image matches the second fingerprint image, adjusting the volume according to the change of the fingerprint area; and when the current fingerprint image is determined not to be matched with the second fingerprint image, keeping the current volume unchanged and stopping volume adjustment.
As shown in fig. 2, when the volume is adjusted from the first volume to the second volume according to the change of the fingerprint area, if the fingerprint area is not changed any more, it is determined that the volume is kept unchanged at the second volume and the volume adjustment is stopped.
Through the above-mentioned alternative that this application embodiment provided, can adjust terminal equipment's volume conveniently and continuously, can replace traditional volume key adjustment mode, bring convenient volume control operation for the user, when promoting user's experience, owing to adopt the touch screen to replace the mode of traditional volume key and carry out volume control, can also optimize terminal equipment's outward appearance.
Example 2
According to an embodiment of the present invention, there is further provided an apparatus embodiment for implementing the volume adjusting method, fig. 3 is a schematic structural diagram of a volume adjusting apparatus according to an embodiment of the present invention, and as shown in fig. 3, the volume adjusting apparatus includes: an acquisition module 30, an analysis module 32, and an adjustment module 34, wherein:
the acquisition module 30 is used for acquiring a current fingerprint image of a user; an analysis module 32, configured to analyze the current fingerprint image to obtain an analysis result, where the analysis result at least includes: fingerprint type and fingerprint area; and an adjusting module 34, configured to adjust a volume according to a change of the fingerprint area when the current fingerprint image matches a pre-stored fingerprint image corresponding to the fingerprint type.
In an optional embodiment, the fingerprint types include a first fingerprint type, the pre-stored fingerprint image is a first fingerprint image corresponding to the first fingerprint type, and the adjusting module is further configured to determine to adjust the volume when the current fingerprint image matches the first fingerprint image, and adjust the volume according to a change in the fingerprint area.
In an optional embodiment, the adjusting module is further configured to determine that the pressing force of the user changes from large to small according to a change of the fingerprint area from large to small; and carrying out volume increasing treatment according to the change of the pressing force from large to small.
In an optional embodiment, the adjusting module is further configured to determine that the pressing force of the user changes from small to large according to a change of the fingerprint area from small to large; and carrying out volume increasing treatment according to the change of the pressing force degree from small to large.
In an optional embodiment, the fingerprint types include a first fingerprint type, the pre-stored fingerprint image is a first fingerprint image corresponding to the first fingerprint type, and the adjusting module is further configured to determine to perform a reduction process on the volume when the current fingerprint image is matched with the second fingerprint image, and perform a volume adjustment according to a change in the fingerprint area.
In an optional embodiment, the adjusting module is further configured to determine that the pressing force of the user changes from large to small according to a change of the fingerprint area from large to small; and carrying out volume reduction processing according to the change of the pressing force degree from large to small.
In an optional embodiment, the adjusting module is further configured to determine that the pressing force of the user changes from small to large according to a change of the fingerprint area from small to large; and carrying out volume reduction processing according to the change of the pressing force degree from small to large.
In an alternative embodiment, the apparatus is further configured to determine that the second volume is maintained if the fingerprint area is no longer changed when the fingerprint area is adjusted from the first volume to the second volume according to the change in the fingerprint area.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the above-mentioned acquisition module 30, analysis module 32 and adjustment module 34 correspond to steps S102 to S106 in embodiment 1, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The volume adjusting device may further include a processor and a memory, the acquisition module 30, the analysis module 32, the adjusting module 34, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the application, the embodiment of the nonvolatile storage medium is also provided. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and the apparatus in which the nonvolatile storage medium is located is controlled to execute any one of the volume adjusting methods when the program runs.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring a current fingerprint image of a user; analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area; and when the current fingerprint image is matched with the pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and when the current fingerprint image is matched with the first fingerprint image, determining to adjust the volume up, and adjusting the volume according to the change of the fingerprint area.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume increasing treatment according to the change of the pressing force from large to small.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large; and carrying out volume increasing treatment according to the change of the pressing force degree from small to large.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and when the current fingerprint image is matched with the second fingerprint image, determining to reduce the volume, and adjusting the volume according to the change of the fingerprint area.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small; and carrying out volume reduction processing according to the change of the pressing force degree from large to small.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large; and carrying out volume reduction processing according to the change of the pressing force degree from small to large.
According to the embodiment of the application, the embodiment of the processor is also provided. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the volume adjusting methods.
According to an embodiment of the present application, there is also provided an electronic apparatus embodiment, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the volume adjustment methods.
There is further provided, in accordance with an embodiment of the present application, a computer program product embodiment, which is adapted to execute a program, when executed on a data processing device, for initializing a step of a volume adjustment method of any one of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A method of adjusting volume, comprising:
acquiring a current fingerprint image of a user;
analyzing the current fingerprint image to obtain an analysis result, wherein the analysis result at least comprises: fingerprint type and fingerprint area;
and when the current fingerprint image is matched with a pre-stored fingerprint image corresponding to the fingerprint type, adjusting the volume according to the change of the fingerprint area.
2. The method of claim 1, wherein the fingerprint type comprises a first fingerprint type, wherein the pre-stored fingerprint image is a first fingerprint image corresponding to the first fingerprint type, and wherein when the current fingerprint image matches the pre-stored fingerprint image, performing the volume adjustment according to the change in the fingerprint area comprises:
and when the current fingerprint image is matched with the first fingerprint image, determining to adjust the volume up, and adjusting the volume according to the change of the fingerprint area.
3. The method of claim 2, wherein adjusting the volume according to the change in the fingerprint area comprises:
determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small;
and carrying out volume increasing treatment according to the change of the pressing force degree from large to small.
4. The method of claim 2, wherein adjusting the volume according to the change in the fingerprint area comprises:
determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large;
and carrying out volume increasing treatment according to the change of the pressing force degree from small to large.
5. The method of claim 1, wherein the fingerprint type comprises a second fingerprint type, wherein the pre-stored fingerprint image is a second fingerprint image corresponding to the second fingerprint type, and wherein when the current fingerprint image matches the pre-stored fingerprint image, adjusting the volume based on the change in fingerprint area comprises:
and when the current fingerprint image is matched with the second fingerprint image, determining to reduce the volume, and adjusting the volume according to the change of the fingerprint area.
6. The method of claim 5, wherein adjusting the volume according to the change in the fingerprint area comprises:
determining that the pressing force degree of the user changes from large to small according to the change of the fingerprint area from large to small;
and carrying out volume reduction treatment according to the change of the pressing force degree from large to small.
7. The method of claim 5, wherein adjusting the volume according to the change in the fingerprint area comprises:
determining that the pressing force degree of the user changes from small to large according to the change of the fingerprint area from small to large;
and carrying out volume reduction treatment according to the change of the pressing force degree from small to large.
8. The method of claim 1, further comprising:
when the volume is adjusted from the first volume to the second volume according to the change of the fingerprint area, if the fingerprint area is not changed any more, the second volume is determined to be kept unchanged.
9. A volume adjustment device, comprising:
the acquisition module is used for acquiring a current fingerprint image of a user;
an analysis module, configured to analyze the current fingerprint image to obtain an analysis result, where the analysis result at least includes: fingerprint type and fingerprint area;
and the adjusting module is used for adjusting the volume according to the change of the fingerprint area when the current fingerprint image is determined to be matched with the pre-stored fingerprint image based on the fingerprint type.
10. A non-volatile storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the volume adjustment method according to any one of claims 1 to 8 when running.
11. A processor for running a program, wherein the program is arranged to execute the volume adjustment method of any one of claims 1 to 8 when running.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the volume adjustment method of any one of claims 1 to 8.
CN202011034490.9A 2020-09-27 2020-09-27 Volume adjusting method and device and electronic device Active CN112162722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034490.9A CN112162722B (en) 2020-09-27 2020-09-27 Volume adjusting method and device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034490.9A CN112162722B (en) 2020-09-27 2020-09-27 Volume adjusting method and device and electronic device

Publications (2)

Publication Number Publication Date
CN112162722A CN112162722A (en) 2021-01-01
CN112162722B true CN112162722B (en) 2022-04-05

Family

ID=73860522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034490.9A Active CN112162722B (en) 2020-09-27 2020-09-27 Volume adjusting method and device and electronic device

Country Status (1)

Country Link
CN (1) CN112162722B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404002A (en) * 2001-08-31 2003-03-19 日本电气株式会社 Fingerprint inputting apparatus and identification method of the living utilizing fingerprint
CN105068660A (en) * 2015-09-02 2015-11-18 广东欧珀移动通信有限公司 Method for controlling increase and decrease of sound volume by means of fingerprint recognition and mobile terminal
CN105407222A (en) * 2015-11-23 2016-03-16 东莞市金铭电子有限公司 Volume adjustment method and terminal
CN106873889A (en) * 2017-01-14 2017-06-20 珠海格力电器股份有限公司 Fingerprint operation method and device and electronic equipment
CN108021252A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Adjust the method and touch control terminal of volume

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205139837U (en) * 2015-11-18 2016-04-06 南昌欧菲生物识别技术有限公司 Volume controlling means and mobile terminal
CN105955658A (en) * 2016-05-23 2016-09-21 广东欧珀移动通信有限公司 Method and apparatus for interaction by curved surface screen and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404002A (en) * 2001-08-31 2003-03-19 日本电气株式会社 Fingerprint inputting apparatus and identification method of the living utilizing fingerprint
CN105068660A (en) * 2015-09-02 2015-11-18 广东欧珀移动通信有限公司 Method for controlling increase and decrease of sound volume by means of fingerprint recognition and mobile terminal
CN105407222A (en) * 2015-11-23 2016-03-16 东莞市金铭电子有限公司 Volume adjustment method and terminal
CN108021252A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Adjust the method and touch control terminal of volume
CN106873889A (en) * 2017-01-14 2017-06-20 珠海格力电器股份有限公司 Fingerprint operation method and device and electronic equipment

Also Published As

Publication number Publication date
CN112162722A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN105825109B (en) The method and terminal of a kind of terminal unlocking
CN110020622B (en) Fingerprint identification method and related product
CN109032470B (en) Screenshot method, screenshot device, terminal and computer-readable storage medium
CN105913514A (en) Fingerprint unlocking method and terminal
CN109089043B (en) Shot image preprocessing method and device, storage medium and mobile terminal
CN105843681B (en) Mobile terminal and operating system switching method thereof
CN108549518B (en) Music information display method and device and terminal equipment
CN105407222A (en) Volume adjustment method and terminal
WO2022041606A1 (en) Method and apparatus for adjusting display position of control
CN104853223B (en) The inserting method and terminal device of video flowing
CN106940618A (en) The player method and device of a kind of voice messaging
CN106528163A (en) Page switching method and device
CN112184540A (en) Image processing method, image processing device, electronic equipment and storage medium
CN107797749A (en) Message method and device, storage medium, processor, terminal
CN104980582B (en) The switching method and mobile terminal of a kind of screen
CN112162722B (en) Volume adjusting method and device and electronic device
CN108268291A (en) A kind of application program delet method and terminal device
CN105068660A (en) Method for controlling increase and decrease of sound volume by means of fingerprint recognition and mobile terminal
CN108960213A (en) Method for tracking target, device, storage medium and terminal
CN105094682A (en) Weather information prompting method and apparatus
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN115293985A (en) Super-resolution noise reduction method and device for image optimization
CN111161741B (en) Personalized information identification method and device, electronic equipment and storage medium
CN110688053A (en) Key configuration method and device, electronic equipment and storage medium
CN108898081B (en) Picture processing method and device, mobile terminal and computer readable storage medium

Legal Events

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