WO2017185702A1 - 基于压力传感器进行音量控制的方法及系统 - Google Patents
基于压力传感器进行音量控制的方法及系统 Download PDFInfo
- Publication number
- WO2017185702A1 WO2017185702A1 PCT/CN2016/104019 CN2016104019W WO2017185702A1 WO 2017185702 A1 WO2017185702 A1 WO 2017185702A1 CN 2016104019 W CN2016104019 W CN 2016104019W WO 2017185702 A1 WO2017185702 A1 WO 2017185702A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pressure sensor
- volume
- pressure
- value
- user
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L5/00—Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
Definitions
- the present disclosure relates to the technical field of volume control, for example, to a method and system for volume control based on a pressure sensor.
- the intelligent terminal has an independent operating system, and can install and run third-party programs by itself, and also has functions of playing video, music, and answering and talking. Among them, the control of the volume on the smart terminal is a very important function, which can provide the adjustment function of the volume according to the user's needs.
- the intelligent terminal of the related technology (such as a smart phone) can also automatically switch the volume control according to the environment change of the terminal. The mode, for example, changes from the normal mode to the pocket mode, and the terminal automatically adjusts the volume to facilitate the user to perceive the sound prompt of the terminal.
- the volume adjustment of the smart terminal is a method of triggering the volume adjustment by sensing the depression of the physical button, and the electrical signal generated by the pressing of the physical button is transmitted to the operating system, and after processing, an operation command for controlling the volume is formed, thereby adjusting the volume.
- the physical button affects the design and ease of use of the terminal.
- the volume button is always designed. The location that is easier to touch not only limits the aesthetics of the terminal design, but also causes the user to accidentally touch the button; the physical button triggers the electrical signal after physical sensing, and there is a certain delay and physical contact due to physical perception.
- Perceptual insensitivity problems can affect the user's sensitivity to volume control operations; existing physical buttons are mechanical buttons that have a certain lifetime and wear on physical buttons during user operation, which can easily cause physics The button is damaged. Moreover, the physical button must be used to open a hole in the terminal housing, and a part of the physical button is placed outside the terminal for the user to perform physical pressing of the volume control; and another part of the physical button is placed in the terminal housing to be electrically connected to the operating system. It is used to convert the mechanical operation of the user pressing the physical button into an electrical signal and transmit it to the operating system. This requires that holes must be placed in the terminal housing. In addition to affecting the appearance of the terminal, it will inevitably cause externalities such as dust and water stains. The substance enters the terminal from the gap of the hole and affects the operational performance of the terminal.
- the present disclosure proposes a method for volume control based on a pressure sensor, including:
- the pressure sensor comprises: an increase volume pressure sensor and a volume reduction pressure sensor;
- comparing the difference between the operating pressure detected by the increased volume pressure sensor and the reduced volume pressure sensor with a pressing threshold, and controlling the adjustment of the volume according to the comparison result further comprising:
- the control increases the volume
- the continuously collecting the latter operating pressure value is compared with the previous operating pressure value, and adjusting the volume level according to the comparison result, further comprising:
- the method further comprises:
- a close command is generated to control the detection of the pressure sensor being turned off.
- the user pressing the operation information detected by the receiving pressure sensor further includes:
- the pressure sensor is controlled to stop the detection of the user pressing the operation information.
- the present disclosure further provides a system for performing volume control based on a pressure sensor, including: a receiving module, a detecting module, and a processing module, where
- the receiving module is configured to receive user pressing operation information detected by the pressure sensor, and parse out an operating pressure value of the user on the pressure sensor, wherein the pressure sensor comprises: increasing a volume pressure sensor and reducing Volume pressure sensor;
- the detecting module includes: a first detecting unit and a second detecting unit, where
- the first detecting unit is configured to detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a pressing type, the increased pressure sensor and the operating pressure detected by the volume pressure sensor are reduced. The difference is compared with the pressing threshold;
- the second detecting unit is configured to detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a spiral type, continuously collect the operating pressure on the pressure sensor within a preset collection interval time. a value, the continuously collected subsequent operating pressure value is compared with the previous operating pressure value;
- the processing module is configured to receive a comparison result of the difference between the operating pressure detected by the increased volume pressure sensor and the reduced volume pressure sensor and the pressing threshold, and control the adjustment of the volume according to the comparison result; and/or,
- processing module is further configured to:
- controlling increases the volume
- processing module is further configured to:
- the pressure value continuously collected on the increased volume pressure sensor is that the latter pressure value is less than the previous pressure value, and/or the pressure value continuously collected on the volume reduction pressure sensor is the latter pressure
- the value is greater than the previous pressure value and the control reduces the volume.
- processing module is further configured to:
- a close command is generated to control the detection of the pressure sensor being turned off.
- the system further includes: a wake-up module, where
- the wake-up module is configured to wake up the pressure sensor to perform user press operation information detection when detecting a user pressing operation
- the pressure sensor is controlled to stop the detection of the user pressing the operation information.
- the present disclosure also provides a non-transitory storage medium storing computer executable instructions arranged to perform the above-described method of volume control based on a pressure sensor.
- the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions when the program instructions are When the computer is executed, the computer is caused to perform the above-described method of volume control based on the pressure sensor.
- the present disclosure also provides an electronic device including at least one processor and At least one processor communicatively coupled to a memory for storing instructions executable by the at least one processor, the instructions being executed by the at least one processor, causing the at least one processor to perform the A method of volume control based on a pressure sensor.
- the method and system for volume control based on a pressure sensor is used to control the volume operation, the pressure sensor can simulate the function of the smart button, and the volume control in the non-pocket mode is performed. Customize a variety of volume control methods and manually turn off the volume control to enhance the user's operating experience.
- FIG. 1 is a schematic flow chart of an alternative embodiment of a method for volume control based on a pressure sensor of the present disclosure
- FIG. 2 is a schematic flow chart of an optional method for volume control based on a pressure sensor according to Embodiment 2 of the present disclosure
- FIG. 3 is a schematic structural diagram of a pressure sensor disposed on a terminal in Embodiment 3 of the present disclosure
- FIG. 4 is a schematic diagram of an interface for selecting an operation mode on a terminal and opening and closing based on a pressure sensor volume control according to Embodiment 3 of the present disclosure
- FIG. 5 is a schematic flowchart of turning off volume control based on a pressure sensor on a terminal in Embodiment 3 of the present disclosure
- FIG. 6 is a schematic flowchart of determining whether a pocket mode is determined on a terminal in Embodiment 3 of the present disclosure
- FIG. 7 is a schematic flowchart of performing volume control based on a pressure sensor on a terminal in Embodiment 3 of the present disclosure
- FIG. 8 is a schematic structural diagram of an alternative embodiment of a system for volume control based on a pressure sensor according to the present disclosure
- FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
- FIG. 1 is a schematic flow chart of an alternative embodiment of a method for volume control based on a pressure sensor of the present disclosure.
- the present disclosure utilizes the user's pressing operation information collected by the received pressure sensor, and analyzes and determines the corresponding volume control operation, thereby improving the user's operation experience on the terminal volume control.
- the method for volume control based on a pressure sensor in this embodiment includes the following steps:
- Step 101 Receive user-pressed operation information detected by the pressure sensor, and parse out an operation pressure value of the user on the pressure sensor, wherein the pressure sensor includes: an increase volume pressure sensor and a volume reduction pressure sensor.
- a pressure sensor is a sensor that senses pressure changes and collects pressure change information and converts it into a pressure change signal output.
- the pressure sensor is composed of a sensing module, an identification module, and an output module.
- the working principle is as follows: first, the sensing module located at the front end senses the physical quantity caused by the pressure, generates an analog signal, and the analog signal is amplified by the amplifier and then converted by analog to digital. For the digital signal, the digital signal is controlled by the calibration and judgment algorithm in the processor, and then controls the output of the collected pressure change signal.
- the operating system of the embodiment receives the collection information by setting two pressure sensors, and the two pressure sensors include: an increase volume pressure sensor and a volume reduction pressure sensor, respectively, for collecting the pressure of the user actually performing volume addition and subtraction on the terminal.
- the operation information is transmitted to the operating system for the corresponding judgment operation.
- Step 102 Detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a press type, compare the difference between the operating pressure detected by the increased volume pressure sensor and the reduced volume pressure sensor with a pressing threshold .
- the volume increase and decrease operations performed by people on the terminal are performed based on the non-pocket mode.
- the volume increase/decrease operation in the pocket mode is generally an erroneous operation, and therefore, the setting of this step can avoid the volume operation caused by the volume control area of the wrong touch pressure in the pocket mode.
- the method for performing volume control based on the pressure sensor of the present embodiment does not provide a physical mechanical button, the pressing manner of the user's button operation can also determine whether it is a push operation on the volume pressure sensor and the volume pressure sensor. In order to determine the choice of processing methods.
- Step 103 Control the adjustment of the volume level according to a result of comparing the operating pressure difference on the increased volume pressure sensor and the reduced volume pressure sensor with the pressing threshold.
- Step 104 Detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a spiral type, continuously collect the operating pressure value on the pressure sensor within a preset collection interval time, and continuously collect the The latter operating pressure value is compared to the previous operating pressure value.
- the so-called spiral control method is to control the volume by turning up and down.
- Step 105 Control the adjustment of the volume level according to the comparison result of the continuously collected subsequent operation pressure value and the previous operation pressure value.
- the method for volume control based on the pressure sensor uses the pressure sensor technology to realize the control of the volume operation, and the pressure sensor can simulate the function of the smart button, and the volume control in the non-pocket mode can also be performed. Customize a variety of volume control methods and manually turn off the volume control to enhance the user's operating experience.
- FIG. 2 it is an optional schematic flowchart of a method for performing volume control based on a pressure sensor according to Embodiment 2 of the present disclosure.
- a specific method for performing corresponding processing according to the pressure signal collected by the pressure sensor in the volume control based on the pressure sensor is provided.
- the method for performing volume control based on a pressure sensor in this embodiment includes the following steps:
- Step 201 When detecting a user pressing operation, wake up the pressure sensor to perform user pressing operation information detection;
- the control pressure sensor stops the detection of the user pressing the operation information.
- the pressure sensor detects the pressure change by continuously detecting the change of the pressure in the sensing area.
- the pressure sensor works, it takes energy.
- the pressure sensor is used to wake up the pressure sensor, which can reduce the overall operating system function of the terminal. Consumption, saving resources.
- Step 202 Receive user-pressed operation information detected by the pressure sensor, and parse out an operation pressure value of the user on the pressure sensor, wherein the pressure sensor includes: an increase volume pressure sensor and a volume reduction pressure sensor.
- Step 203 Detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a press type, compare the difference between the operating pressure detected by the increased volume pressure sensor and the reduced volume pressure sensor with a pressing threshold .
- Step 204 Control the adjustment of the volume level according to a result of comparing the operating pressure difference on the increased volume pressure sensor and the reduced volume pressure sensor with the pressing threshold.
- the method further includes: when it is determined that the operating pressure difference is greater than the pressing threshold, controlling to increase the volume;
- the pressing threshold may be preset by the user according to the need, and the user may set the pressing threshold according to the actual experience, thereby improving the user experience.
- Step 205 Detect and determine that the non-pocket operation mode is, and the pressing operation of the user is a spiral
- the operating pressure value on the pressure sensor is continuously collected in a preset collection interval, and the continuously collected subsequent operating pressure value is compared with the previous operating pressure value.
- Step 206 Control the adjustment of the volume level according to the comparison result of the continuously collected subsequent operation pressure value and the previous operation pressure value.
- the method further comprises: when it is determined that the pressure values continuously collected on the increased volume pressure sensor are both the latter pressure value being greater than the previous pressure value, and/or continuously collecting on the reduced volume pressure sensor The pressure value is the latter pressure value is less than the previous pressure value, and the control increases the volume;
- the preset collection interval may be set to not exceed 20 ms.
- Step 207 When it is detected that the volume control request is turned off, generating a close command control to turn off the detection of the pressure sensor.
- the operating system receives the system's turn-off volume control request, and controls the detection of the pressure sensor to turn off the volume control function of the terminal, thereby satisfying the user's customization.
- the demand has improved the user's operating experience.
- FIG. 3 is a schematic structural diagram of a pressure sensor disposed on a terminal;
- FIG. 4 is a schematic diagram of The operation mode of the terminal and the interface diagram based on the pressure sensor volume control are opened and closed;
- FIG. 5 is a schematic diagram of closing the volume control based on the pressure sensor on the terminal;
- FIG. 6 is a schematic diagram of determining whether the pocket mode is determined on the terminal;
- Figure 7 is based on the terminal A schematic diagram of the flow control of the pressure sensor.
- the terminal device 301 detects the pressing operation information of the user for the volume control through the increased volume pressure sensor 303 and the reduced volume pressure sensor 304 installed in the pressure sensor mounting area 302, and transmits the information to the operating system of the terminal.
- the volume control function of the terminal is controlled to be turned on or off by the pressure sensor in the terminal interface; the mode of the terminal device volume control is selected by the pocket mode selection box 402; the terminal device can be selected by the control mode selection area 403. The way the volume is controlled.
- the operating system of the terminal receives these operational function requests set through the terminal interface, and performs corresponding processing of the pressure sensor control volume.
- FIG. 5 a schematic diagram of a process for shutting down after the pressure sensor controls the volume function is turned on in the terminal device, and the process steps include:
- Step 501 The pressure sensor that is turned on by the terminal device controls the volume function.
- Step 502 Click the pressure sensor to control the volume function off button in the terminal operation interface, and generate an operation instruction for controlling the volume function to be turned off by the terminal operating system.
- Step 503 The pressure sensor receives an operation instruction that the operating system controls the volume function to be turned off, performs a pressure sensor power-off operation, and turns off the pressure sensor to stop the operation.
- the process steps include:
- Step 601 The pressure sensor that is turned on by the terminal device controls the volume function.
- Step 602 The operating system of the terminal determines whether the terminal is in a pocket mode.
- Step 603 When it is determined that the terminal pocket mode is, the pressure sensor of this time is discarded to control the volume operation.
- Step 604 When it is determined that the terminal is in the non-pocket mode, continue to determine the operation mode of the pressure sensor to control the volume.
- a flow chart for performing volume control based on a pressure sensor on a terminal the process steps of which include:
- Step 701 The pressure sensor that is turned on by the terminal device controls the volume function.
- Step 702 Detect whether there is a user pressing the operating pressure value by the pressure sensor.
- Step 703 The operating system of the terminal determines whether the terminal is in a pocket mode.
- Step 704 When it is determined that the terminal pocket mode is, discard the current pressure sensor to control the volume operation.
- Step 705 When it is determined that the terminal is in the non-pocket mode, the current terminal volume adjustment is controlled according to the detected user pressing operation pressure value.
- the volume pressure sensor 303 and the volume reduction pressure sensor 304 detect that the pressing pressure values of the user for the volume control are P1 and P2, respectively, and ⁇ v is the pressing threshold.
- the logic for performing the determination processing is as follows: :
- the user operating pressure values of the increased volume pressure sensor 303 and the reduced volume pressure sensor 304 are simultaneously acquired, respectively P1 and P2, and the acquisition interval time is ⁇ t. Collected 5 times in a row,
- the pressure value pair set ⁇ (P11, P21), (P12, P22), (P13, P23), (P14, P24), (P15, P25) ⁇ ;
- FIG. 8 is a schematic structural diagram of an alternative embodiment of a system for volume control based on a pressure sensor disclosed in the embodiment.
- the system for performing volume control based on the pressure sensor described in this embodiment includes: a receiving module 801, a detecting module 802, and a processing module 803.
- the receiving module 801 is coupled to the detecting module 802, and configured to receive user pressing operation information detected by the pressure sensor, and parse out an operating pressure value of the user on the pressure sensor, where the The pressure sensor includes an increased volume pressure sensor and a reduced volume pressure sensor.
- the detecting module 802 is coupled to the receiving module 801 and the processing module 803, and includes: a first detecting unit 821 and a second detecting unit 822.
- the first detecting unit 821 is configured to detect and determine that the non-pocket operation mode is, and when the pressing operation of the user is a pressing type, the operating pressure detected by the increased volume pressure sensor and the reduced volume pressure sensor is The difference is compared to the pressing threshold;
- the second detecting unit 822 is configured to detect and determine that the non-pocket operation mode is performed, and when the pressing operation of the user is a spiral type, the operation on the pressure sensor is continuously collected in a preset collection interval time. The pressure value, the continuously collected subsequent operating pressure value is compared with the previous operating pressure value;
- the processing module 803 is coupled to the detecting module 802, and configured to receive a comparison result between the difference between the operating pressure of the increased volume pressure sensor and the reduced volume pressure sensor and the pressing threshold, and is controlled according to the comparison result. Volume adjustment; and / or,
- the processing module 803 is further configured to: when the operating pressure difference is greater than the pressing threshold, control to increase the volume;
- the pressing threshold is preset by the user as needed.
- the processing module 803 is further configured to: when the pressure value continuously collected on the increased volume pressure sensor is the latter pressure value is greater than the previous pressure value, and/or, the volume pressure is reduced The pressure values continuously collected on the sensor are all the latter pressure value is less than the previous pressure value, and the control increases the volume;
- the preset collection interval does not exceed 20 ms.
- the processing module 803 is further configured to: when the volume control request is turned off, generate a shutdown command to control the detection of the pressure sensor to be turned off.
- the system further includes: a wake-up module 804 coupled to the processing module 803, configured to wake up the pressure sensor to perform user press operation information detection when detecting a user pressing operation;
- the pressure sensor is controlled to stop the detection of the user pressing the operation information.
- the present disclosure also provides a non-transitory storage medium storing computer executable instructions
- the computer executable instructions are set to perform the method of volume control based on the pressure sensor of the above embodiment.
- the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the method of volume control based on the pressure sensor of the above embodiment.
- FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
- the electronic device may include a processor 901 and a memory 903, and may further include a communication interface 902 and a bus 904.
- the processor 901, the communication interface 902, and the memory 903 can complete communication with each other through the bus 904.
- Communication interface 902 can be used for information transmission.
- the processor 901 can call logic instructions in the memory 903 to perform the volume control based method of the above-described embodiment.
- the logic instructions in the memory 903 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
- the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
- the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- a method and system for volume control based on a pressure sensor according to the present disclosure using pressure
- the sensor technology realizes the control of the volume operation.
- the pressure sensor can simulate the function of the smart button, control the volume in the non-pocket mode, customize various volume control modes and manually turn off the volume control, etc., which improves the user's operating experience.
- the method and system for volume control based on a pressure sensor of the present disclosure utilizes a pressure sensor technology to realize control of a volume operation, and a pressure sensor can simulate a function of a smart button, perform volume control in a non-pocket mode, and customize a plurality of volumes. Control mode and manual turn off volume control enhance the user's operating experience.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了基于压力传感器进行音量控制的方法,包括:接收压力传感器检测到的用户按压操作信息,并解析出用户在压力传感器上的操作压力值,其中,压力传感器包括:增加音量压力传感器及减小音量压力传感器;检测并判断到为非口袋操作模式,且用户的按压操作为按压式时,将增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较,根据比较结果控制音量大小的调节;检测并判断到为非口袋操作模式,且用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值比较,根据比较结果控制音量大小的调节。本发明提高了音量按键的寿命及安全度。
Description
本申请要求在2016年4月29日提交中国专利局、申请号为201610285375.6、发明名称为“基于压力传感器进行音量控制的方法及系统”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本公开涉及音量控制的技术领域,例如涉及一种基于压力传感器进行音量控制的方法及系统。
随着计算机科技的进步以及人们对生活品质的提升,智能终端以其强大的市场需求进一步走进了人们的生活。智能终端具有独立的操作系统,可以自行安装、运行第三方程序,还具有播放视频、音乐以及进行接听、通话等功能。而其中,智能终端上音量的控制调节就是一个很重要的功能,能够根据用户需要提供音量大小的调节功能,相关技术的智能终端(如智能手机)还能够根据终端的环境变化自动切换音量的控制模式,比如,从正常模式变换为口袋模式,终端自动调大音量,以方便用户感知终端的声音提示。
目前,智能终端的音量调节是通过感知物理按键的下压来触发音量调节的方式,通过物理按键下压产生的电信号传输至操作系统,经过处理后形成控制音量的操作指令,进而调控音量。但是,在使用终端设备时,这种物理按键会影响终端的设计及使用的方便性,为了方便终端的操作,音量按键总是设计在
比较容易触摸到的位置,不仅限制了终端设计的美观性,还容易造成用户误触碰到按键的情况;物理按键通过物理感知后触发产生电信号,由于物理感知会有一定的延迟以及物理接触感知不灵敏的问题,会影响用户对音量控制的操作的灵敏性;现有的物理按键属于机械按键,都具有一定的使用寿命加上用户操作过程中对物理按键造成的磨损,很容易致使物理按键损坏掉。而且使用物理按键必须在终端外壳上开孔,将物理按键的一部分置于终端之外以便用户进行物理按压记性音量调控;并将物理按键的另一部分置于终端外壳内与操作系统进行电连接,用于将用户按下物理按键的机械操作转换为电信号传输至操作系统,这就要求必须在终端外壳上设置孔洞,除了影响终端外观美观性之外,还必然会造成灰尘及水渍等外部物质从孔洞缝隙进入终端,影响终端的操作性能。
因此,提供一种灵敏感知用户控制终端音量操作而不影响终端整体性的方法是本领域亟待解决的问题。
发明内容
有鉴于此,本公开提出一种基于压力传感器进行音量控制的方法,包括:
接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器;
检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较,根据比较结果控制音量大小的调节;以及
检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采
集到的后一操作压力值与前一操作压力值比较,根据比较结果控制音量大小的调节。
可选地,其中,所述将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较,根据比较结果控制音量大小的调节,进一步包括:
当判断到所述操作压力差值大于所述按压阈值时,控制增加音量;
当判断到所述操作压力差值小于所述按压阈值的负值时,控制减少音量;
当判断到所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作。
可选地,其中,所述将连续采集到的后一操作压力值与前一操作压力值进行比较,根据比较结果控制音量大小的调节,进一步包括:
当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,控制增加音量;
当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量。
可选地,其中,该方法进一步包括:
当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
可选地,其中,所述接收压力传感器检测到的用户按压操作信息,进一步包括:
检测到用户按压操作时,唤醒所述压力传感器进行用户按压操作信息检测;
检测到用户按压操作完成时,控制所述压力传感器停止用户按压操作信息的检测。
另一方面,本公开还提供一种基于压力传感器进行音量控制的系统,包括:接收模块、检测模块及处理模块,其中,
所述接收模块,设置为接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器;
所述检测模块,包括:第一检测单元与第二检测单元,其中,
所述第一检测单元,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较;
所述第二检测单元,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值进行比较;
所述处理模块,设置为接收所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值的比较结果,根据比较结果控制音量大小的调节;和/或,
接收所述连续采集到的后一操作压力值与前一操作压力值的比较结果,根据比较结果控制音量大小的调节。
可选地,其中,所述处理模块,进一步设置为:
当所述操作压力差值大于所述按压阈值时,控制增加音量;
当所述操作压力差值小于所述按压阈值的负值时,控制减少音量;
当所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作。
可选地,其中,所述处理模块,进一步设置为:
当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,控制增加音量;
当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量。
可选地,其中,所述处理模块,进一步设置为:
当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
可选地,其中,该系统还包括:唤醒模块,其中,
所述唤醒模块,设置为检测到用户按压操作时,唤醒所述压力传感器进行用户按压操作信息检测;
检测到用户按压操作完成时,控制所述压力传感器停止用户按压操作信息的检测。
又一方面,本公开还提供了一种非暂态存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述的基于压力传感器进行音量控制的方法。
又一方面,本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述的基于压力传感器进行音量控制的方法。
又一方面,本公开还提供了一种电子设备,包括至少一个处理器和与所述
至少一个处理器通信连接的存储器,所述存储器用于存储可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行时,使所述至少一个处理器执行上述的基于压力传感器进行音量控制的方法。
本公开的基于压力传感器进行音量控制的方法及系统具有如下的有益效果:
(1)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力传感器技术实现对音量操作的控制,通过压力传感器能够模拟出智能按键的功能,进行非口袋模式下音量的控制、自定义多种音量控制方式以及手动关闭音量控制等,提升了用户的操作体验。
(2)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力传感器替代传统控制终端音量的物理机械按键,提高了音量按键的寿命、安全度及使用的灵敏度。
(3)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力传感器替代传统控制终端音量的物理机械按键,不需要在终端外壳上设置孔洞,有利于终端设计美观性的同时避免了外部物质进入终端内对终端操作造成的影响。
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本公开的基于压力传感器进行音量控制的方法的一个可选实施例的流程示意图;
图2为本公开实施例2的基于压力传感器进行音量控制的方法的一个可选流程示意图;
图3为本公开实施例3中在终端上设置压力传感器的结构示意图;
图4为本公开实施例3中在终端上选择操作模式及基于压力传感器音量控制开启及关闭的界面示意图;
图5为本公开实施例3中在终端上关闭基于压力传感器进行音量控制的流程示意图;
图6为本公开实施例3中在终端上判断是否为口袋模式的流程示意图;
图7为本公开实施例3中在终端上进行基于压力传感器进行音量控制的流程示意图;
图8为本公开公开的基于压力传感器进行音量控制的系统的一个可选实施例的结构示意图;
图9为本公开实施例提供的电子设备的结构框图。
如在说明书及权利要求当中使用了某些词汇来指称特定组件。本领域技术人员应可理解,硬件制造商可能会用不同名词来称呼同一个组件。本说明书及权利要求并不以名称的差异来作为区分组件的方式,而是以组件在功能上的差异来作为区分的准则。如在通篇说明书及权利要求当中所提及的“包含”为一开放式用语,故应解释成“包含但不限定于”。“大致”是指在可接收的误差范围内,本领域技术人员能够在一定误差范围内解决所述技术问题,基本达到所述技术效果。说明书后续描述为实施本公开的较佳实施方式,然所述描述乃以说明本公开的一般原则为目的,并非用以限定本公开的范围。本公开的保护范围当视所
附权利要求所界定者为准。
<实施例1>
如图1所示,为本公开的基于压力传感器进行音量控制的方法的一个可选实施例的流程示意图。本公开利用接收到的压力传感器采集到的用户按压操作信息,并解析判断做出相应的音量控制操作,提升了用户对终端音量控制的操作体验。本实施例中所述基于压力传感器进行音量控制的方法包括以下步骤:
步骤101、接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器。
压力传感器,是一种感知压力变化,并采集压力变化信息后转化为压力变化信号输出的一种传感器。通常地,压力传感器由感知模块、识别模块、输出模块三部分组成,其工作原理是:首先位于前端的感知模块感知压力引起的物理量,生成模拟信号,模拟信号经放大器放大后,经模数转换为数字信号,数字信号在处理器内经校准和判断算法判别后,控制输出采集到的压力变化信号。
本实施例的操作系统接收通过设置两个压力传感器的采集信息,该两个压力传感器包括:增加音量压力传感器及减小音量压力传感器,分别用于采集用户实际在终端上进行音量加减的压力操作信息,并将采集到的压力操作信息传递至操作系统进行相应的判断操作。
步骤102、检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较。
通常地,人们在终端上进行音量的增减操作是基于非口袋模式下进行的,
在口袋模式下的音量增减操作一般是误操作,因此,通过本步骤的设置能够避免在口袋模式下误触碰压力的音量控制区域造成的音量操作。
本实施例的基于压力传感器进行音量控制的方法虽然没设置物理机械按键,但是通过用户按键操作的按压方式也能判断出是否为分别在增加音量压力传感器及减小音量压力传感器上的按压式操作,以便后续的判断处理方式的选择。
步骤103、根据在所述增加音量压力传感器及减小音量压力传感器上的操作压力差值与按压阈值比较的结果控制音量大小的调节。
步骤104、检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值进行比较。
所谓的螺旋式控制方式是通过上下拨动来控制音量。
步骤105、根据连续采集到的后一操作压力值与前一操作压力值的比较结果控制音量大小的调节。
在本实施例中,所述的基于压力传感器进行音量控制的方法利用压力传感器技术实现对音量操作的控制,通过压力传感器能够模拟出智能按键的功能,进行非口袋模式下音量的控制、还可以自定义多种音量控制方式以及手动关闭音量控制等,提升了用户的操作体验。
<实施例2>
如图2所示,为本公开实施例2的基于压力传感器进行音量控制的方法的一个可选流程示意图。在本实施例中,设置了基于压力传感器进行音量控制中根据压力传感器采集到压力信号进行相应处理的具体方法。本实施例中基于压力传感器进行音量控制的方法包括以下步骤:
步骤201、检测到用户按压操作时,唤醒压力传感器进行用户按压操作信息检测;
检测到用户按压操作完成时,控制压力传感器停止用户按压操作信息的检测。
压力传感器是通过不断检测感知区域压力的变化来检测压力变化的,在压力传感器工作时需要耗费能量,本实施例采用需要采集压力信息时才唤醒压力传感器的形式,可以降低终端的整个操作系统功耗,节约资源。
步骤202、接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器。
步骤203、检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较。
步骤204、根据在所述增加音量压力传感器及减小音量压力传感器上的操作压力差值与按压阈值比较的结果控制音量大小的调节。
优选地,进一步包括:当判断到所述操作压力差值大于所述按压阈值时,控制增加音量;
当判断到所述操作压力差值小于所述按压阈值的负值时,控制减少音量;
当判断到所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作;其中,
所述按压阈值可以为用户根据需要预先设置的,用户可以根据实际体验设置按压阈值,提升了用户的使用体验。
步骤205、检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋
式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值进行比较。
步骤206、根据连续采集到的后一操作压力值与前一操作压力值的比较结果控制音量大小的调节。
优选地,进一步包括:当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,控制增加音量;
当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量;
所述预设的采集间隔时间可以设定为不超过20ms。
步骤207、当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
当用户根据自身需求不使用该压力传感器进行音量控制时,操作系统接收系统的关闭音量控制请求,并控制关闭压力传感器的检测即可关闭终端的音量控制功能,按此方式可以满足用户的自定义需求,提升了用户的操作体验。
<实施例3>
本实施例为本公开的基于压力传感器进行音量控制的方法在终端上的一个应用实施例,结合图1-图7所示,图3为在终端上设置压力传感器的结构示意图;图4为在终端上选择操作模式及基于压力传感器音量控制开启及关闭的界面示意图;图5为在终端上关闭基于压力传感器进行音量控制的流程示意图;图6为在终端上判断是否为口袋模式的流程示意图;图7为在终端上进行基于
压力传感器进行音量控制的流程示意图。
在图3中,终端设备301通过压力传感器安装区域302内安装的增加音量压力传感器303及减小音量压力传感器304检测用户对音量控制的按压操作信息,并传输至终端的操作系统。
在图4中,通过终端界面中的压力传感器控制音量开关401开启或关闭终端的音量控制功能;通过口袋模式选择框402选择终端设备音量控制的模式;利用控制方式选择区域403可以选择对终端设备音量控制的方式。而终端的操作系统接收通过终端界面设置的这些操作功能请求,进行压力传感器控制音量相应的处理。
如图5中所示,为在终端设备开启压力传感器控制音量功能后进行关闭的流程示意图,其流程步骤包括:
步骤501、终端设备开启的压力传感器控制音量功能。
步骤502、在终端操作界面点击压力传感器控制音量功能关闭按钮,通过终端操作系统生成控制音量功能关闭的操作指令。
步骤503、压力传感器接收操作系统的控制音量功能关闭的操作指令,进行压力传感器下电操作,关闭压力传感器,使其停止工作。
如图6中所示,为在终端上判断是否为口袋模式的流程示意图,其流程步骤包括:
步骤601、终端设备开启的压力传感器控制音量功能。
步骤602、终端的操作系统判断终端是否为口袋模式。
步骤603、判断到为终端口袋模式时,舍弃此次的压力传感器控制音量操作。
步骤604、判断到为终端非口袋模式时,继续判断压力传感器控制音量的操作方式。
如图7中所示,为在终端上进行基于压力传感器进行音量控制的流程示意图,其流程步骤包括:
步骤701、终端设备开启的压力传感器控制音量功能。
步骤702、通过压力传感器检测是否存在用户按压操作压力值。
步骤703、终端的操作系统判断终端是否为口袋模式。
步骤704、判断到为终端口袋模式时,舍弃此次的压力传感器控制音量操作。
步骤705、判断到为终端非口袋模式时,根据检测到的用户按压操作压力值控制当前的终端音量调节。
在本实施例中,增加音量压力传感器303及减小音量压力传感器304检测用户对音量控制的按压压力值分别为P1和P2,Δv为按压阈值,根据按压式控制方式,进行判断处理的逻辑如下:
当判断到P1-P2>Δv时,控制音量增加;
当判断到P1-P2<-(Δv)时,控制音量减小;
当判断到-Δv<(P1-P2)<Δv时,放弃该次时间。
根据螺旋式控制方式时,同时采集增加音量压力传感器303及减小音量压力传感器304的用户操作压力值,分别为P1和P2,采集间隔时间为Δt。连续采集5次,
即获得压力值对集合{(P11,P21),(P12,P22),(P13,P23),(P14,P24),(P15,P25)};
当判断到(P12-P11)>0且(P13-P12)>0且(P14-P13)>0且(P15-P14)>0或者(P22-P21)<0且(P23-P22)<0且(P24-P23)<0且(P25-P24)<0时,控制音量增加。
当判断到(P12-P11)<0且(P13-P12)<0且(P14-P13)<0且(P15-P14)<0或者
(P22-P21)>0且(P23-P22)>0且(P24-P23)>0且(P25-P24)>0时,控制音量减小。
<实施例4>
如图8所示,为本实施例中公开的基于压力传感器进行音量控制的系统的一个可选实施例的结构示意图。本实施例中所述的基于压力传感器进行音量控制的系统包括:接收模块801、检测模块802及处理模块803。
所述接收模块801,与所述检测模块802相耦接,设置为接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器。
所述检测模块802,与所述接收模块801及处理模块803相耦接,包括:第一检测单元821与第二检测单元822。
所述第一检测单元821,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较;
所述第二检测单元822,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值进行比较;
所述处理模块803,与所述检测模块802相耦接,设置为接收所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值的比较结果,根据比较结果控制音量大小的调节;和/或,
接收所述连续采集到的后一操作压力值与前一操作压力值的比较结果,根
据比较结果控制音量大小的调节。
在本实施例中,所述处理模块803,进一步设置为:当所述操作压力差值大于所述按压阈值时,控制增加音量;
当所述操作压力差值小于所述按压阈值的负值时,控制减少音量;
当所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作;其中,
所述按压阈值为用户根据需要预先设置的。
其中,所述处理模块803,进一步还设置为:当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,控制增加音量;
当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量;
所述预设的采集间隔时间不超过20ms。
所述处理模块803,进一步还设置为:当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
可选地,该系统进一步还包括:唤醒模块804,与所述处理模块803相耦接,设置为检测到用户按压操作时,唤醒所述压力传感器进行用户按压操作信息检测;
检测到用户按压操作完成时,控制所述压力传感器停止用户按压操作信息的检测。
本公开还提供了一种非暂态存储介质,存储有计算机可执行指令,所述计
算机可执行指令设置为执行上述实施例的基于压力传感器进行音量控制的方法。
本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例的基于压力传感器进行音量控制的方法。
本公开还提供了一种电子设备。图9是本公开实施例提供的电子设备的结构框图。该电子设备可以包括:处理器(processor)901和存储器(memory)903,还可以包括通信接口(Communications Interface)902和总线904。其中,处理器901、通信接口902、存储器903可以通过总线904完成相互间的通信。通信接口902可以用于信息传输。处理器901可以调用存储器903中的逻辑指令,以执行上述实施例的基于压力传感器进行音量控制的方法。
此外,上述的存储器903中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。
本公开的基于压力传感器进行音量控制的方法及系统具有以下有益效果:
(1)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力
传感器技术实现对音量操作的控制,通过压力传感器能够模拟出智能按键的功能,进行非口袋模式下音量的控制、自定义多种音量控制方式以及手动关闭音量控制等,提升了用户的操作体验。
(2)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力传感器替代传统控制终端音量的物理机械按键,提高了音量按键的寿命、安全度及使用的灵敏度。
(3)本公开所述的基于压力传感器进行音量控制的方法及系统,利用压力传感器替代传统控制终端音量的物理机械按键,不需要在终端外壳上设置孔洞,有利于终端设计美观性的同时避免了外部物质进入终端内对终端操作造成的影响。
以上仅为本公开的部分实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。
本公开的基于压力传感器进行音量控制的方法及系统,利用压力传感器技术实现对音量操作的控制,通过压力传感器能够模拟出智能按键的功能,进行非口袋模式下音量的控制、自定义多种音量控制方式以及手动关闭音量控制等,提升了用户的操作体验。
Claims (13)
- 一种基于压力传感器进行音量控制的方法,包括:接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器;检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较,根据比较结果控制音量大小的调节;检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值比较,根据比较结果控制音量大小的调节。
- 根据权利要求1所述的基于压力传感器进行音量控制的方法,其中,所述将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较,根据比较结果控制音量大小的调节,进一步包括:当判断到所述操作压力差值大于所述按压阈值时,控制增加音量;当判断到所述操作压力差值小于所述按压阈值的负值时,控制减少音量;当判断到所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作。
- 根据权利要求1所述的基于压力传感器进行音量控制的方法,其中,所述将连续采集到的后一操作压力值与前一操作压力值进行比较,根据比较结果控制音量大小的调节,进一步包括:当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,控制增加音量;当判断到在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量。
- 根据权利要求1所述的基于压力传感器进行音量控制的方法,进一步包括:当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
- 根据权利要求1-4中任一项所述的基于压力传感器进行音量控制的方法,其中,所述接收压力传感器检测到的用户按压操作信息,进一步包括:检测到用户按压操作时,唤醒所述压力传感器进行用户按压操作信息检测;检测到用户按压操作完成时,控制所述压力传感器停止用户按压操作信息的检测。
- 一种基于压力传感器进行音量控制的系统,包括:接收模块、检测模块及处理模块,其中,所述接收模块,设置为接收压力传感器检测到的用户按压操作信息,并解析出所述用户在所述压力传感器上的操作压力值,其中,所述压力传感器包括:增加音量压力传感器及减小音量压力传感器;所述检测模块,包括:第一检测单元与第二检测单元,其中,所述第一检测单元,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为按压式时,将所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值比较;所述第二检测单元,设置为检测并判断到为非口袋操作模式,且所述用户的按压操作为螺旋式时,在预设的采集间隔时间内连续采集在所述压力传感器上的操作压力值,将连续采集到的后一操作压力值与前一操作压力值进行比较;所述处理模块,设置为接收所述增加音量压力传感器及减小音量压力传感器检测到的操作压力的差值与按压阈值的比较结果,根据比较结果控制音量大小的调节;和/或,接收所述连续采集到的后一操作压力值与前一操作压力值的比较结果,根据比较结果控制音量大小的调节。
- 根据权利要求6所述的基于压力传感器进行音量控制的系统,其中,所述处理模块,进一步设置为:当所述操作压力差值大于所述按压阈值时,控制增加音量;当所述操作压力差值小于所述按压阈值的负值时,控制减少音量;当所述操作压力差值在所述按压阈值及其负值之间时,放弃此次操作。
- 根据权利要求6所述的基于压力传感器进行音量控制的系统,其中,所述处理模块,进一步设置为:当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后 一压力值小于前一压力值,控制增加音量;当在所述增加音量压力传感器上连续采集到的压力值均为后一压力值小于前一压力值,和/或,在所述减少音量压力传感器上连续采集到的压力值均为后一压力值大于前一压力值,控制减小音量。
- 根据权利要求6所述的基于压力传感器进行音量控制的系统,其中,所述处理模块,进一步设置为:当检测到关闭音量控制请求时,生成关闭指令控制关闭所述压力传感器的检测。
- 根据权利要求6-9中任一项所述的基于压力传感器进行音量控制的系统,其中,还包括:唤醒模块,其中,所述唤醒模块,设置为检测到用户按压操作时,唤醒所述压力传感器进行用户按压操作信息检测;检测到用户按压操作完成时,控制所述压力传感器停止用户按压操作信息的检测。
- 一种非暂态存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5任一项所述的基于压力传感器进行音量控制的方法。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一项所述的基于压力传感器进行音量控制的方法。
- 一种电子设备,包括至少一个处理器和与所述至少一个处理器通信连接的存储器,所述存储器用于存储可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行时,使所述至少一个处理器执行权利要求1-5任一项所述的基于压力传感器进行音量控制的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610285375.6A CN105791595A (zh) | 2016-04-29 | 2016-04-29 | 基于压力传感器进行音量控制的方法及系统 |
CN201610285375.6 | 2016-04-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017185702A1 true WO2017185702A1 (zh) | 2017-11-02 |
Family
ID=56400390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/104019 WO2017185702A1 (zh) | 2016-04-29 | 2016-10-31 | 基于压力传感器进行音量控制的方法及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105791595A (zh) |
WO (1) | WO2017185702A1 (zh) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106873889A (zh) * | 2017-01-14 | 2017-06-20 | 珠海格力电器股份有限公司 | 一种指纹操作方法、装置及电子设备 |
CN107071646A (zh) * | 2017-06-08 | 2017-08-18 | 林启东 | 一种数字麦克风及其控制方法 |
CN107528941A (zh) * | 2017-08-30 | 2017-12-29 | 努比亚技术有限公司 | 卡连接组件、移动终端及操作响应方法 |
KR20190027553A (ko) * | 2017-09-07 | 2019-03-15 | 주식회사 하이딥 | 측면에 터치 압력 감지부를 구비한 휴대용 단말기 |
CN110266854B (zh) * | 2019-06-28 | 2021-06-15 | Oppo广东移动通信有限公司 | 电子设备及其摄像头的控制方法 |
CN111528796A (zh) * | 2020-04-07 | 2020-08-14 | 芯海科技(深圳)股份有限公司 | 生理信息测量方法、生理信息测量装置以及电子设备 |
CN112214194B (zh) * | 2020-10-21 | 2024-01-30 | 北京元心科技有限公司 | 音量调节方法、装置、电子设备及计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902478A (zh) * | 2012-09-10 | 2013-01-30 | 北京小米科技有限责任公司 | 一种防止误触发的方法、装置及设备 |
CN104902097A (zh) * | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | 移动终端参数的调节方法、装置及移动终端 |
CN104917890A (zh) * | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | 一种移动终端及其音量调节方法 |
CN105407222A (zh) * | 2015-11-23 | 2016-03-16 | 东莞市金铭电子有限公司 | 一种音量调节方法及终端 |
CN205121520U (zh) * | 2015-11-06 | 2016-03-30 | 惠州Tcl移动通信有限公司 | 显示装置及具有该显示装置的电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102479040B (zh) * | 2010-11-25 | 2015-06-24 | 联想(北京)有限公司 | 一种触摸处理方法及便携移动终端 |
CN104378484B (zh) * | 2013-08-15 | 2017-12-29 | 联想(北京)有限公司 | 一种音量控制的方法及电子设备 |
CN104503889B (zh) * | 2014-12-22 | 2017-09-29 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN105357367B (zh) * | 2015-09-30 | 2018-09-25 | 努比亚技术有限公司 | 基于压力传感器的按键识别装置及方法 |
-
2016
- 2016-04-29 CN CN201610285375.6A patent/CN105791595A/zh active Pending
- 2016-10-31 WO PCT/CN2016/104019 patent/WO2017185702A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902478A (zh) * | 2012-09-10 | 2013-01-30 | 北京小米科技有限责任公司 | 一种防止误触发的方法、装置及设备 |
CN104902097A (zh) * | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | 移动终端参数的调节方法、装置及移动终端 |
CN104917890A (zh) * | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | 一种移动终端及其音量调节方法 |
CN205121520U (zh) * | 2015-11-06 | 2016-03-30 | 惠州Tcl移动通信有限公司 | 显示装置及具有该显示装置的电子设备 |
CN105407222A (zh) * | 2015-11-23 | 2016-03-16 | 东莞市金铭电子有限公司 | 一种音量调节方法及终端 |
Also Published As
Publication number | Publication date |
---|---|
CN105791595A (zh) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017185702A1 (zh) | 基于压力传感器进行音量控制的方法及系统 | |
US8972252B2 (en) | Signal processing apparatus having voice activity detection unit and related signal processing methods | |
EP3522153B1 (en) | Voice control system, wakeup method and wakeup apparatus therefor, electrical appliance and co-processor | |
JP5620928B2 (ja) | 装置をアクティブモードにするシステム、方法及び装置 | |
CN107765891B (zh) | 一种麦克风的控制方法及麦克风 | |
US20210318743A1 (en) | Sensing audio information and footsteps to control power | |
US20220021965A1 (en) | Earphone and worn detection device thereof | |
EP2849041A1 (en) | Wakeup method and system for touch terminal and touch terminal | |
JP2008009120A (ja) | リモートコントローラ並びに家電機器 | |
US9532309B2 (en) | Control methods and apparatuses of mobile terminals | |
CN107317924B (zh) | 移动终端和移动终端的休眠方法 | |
CN109756673B (zh) | 一种控制显示状态的方法和终端 | |
CN105468217A (zh) | 一种通过电容传感器替代电源键的移动终端及实现方法 | |
US20120033533A1 (en) | Electronic device with alarm mode and alarm method thereof | |
TW201626153A (zh) | 智慧電子裝置、智慧電子裝置喚醒螢幕的系統與方法 | |
CN114373462A (zh) | 语音交互设备及其控制方法、控制装置 | |
CN108700926A (zh) | 基于环境噪声唤醒计算设备 | |
CN106791120A (zh) | 移动终端熄屏的控制方法和装置 | |
TWI639153B (zh) | 電子裝置及其透過語音辨識喚醒的方法 | |
CN110933345B (zh) | 一种降低电视待机功耗的方法、电视机及存储介质 | |
CN104991625B (zh) | 电子设备及其复位方法及装置 | |
CN112932225A (zh) | 智能唤醒枕头以及基于智能唤醒枕头的唤醒方法 | |
JP5627908B2 (ja) | 電子機器、閾値調整方法及びプログラム | |
KR101636021B1 (ko) | 모바일 디바이스들에서의 의도되지 않은 아웃고잉 통신의 금지 | |
CN109976819A (zh) | 设备唤醒方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16900210 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16900210 Country of ref document: EP Kind code of ref document: A1 |