WO2022001305A1 - 一种音量调节方法、装置及计算机可读存储介质 - Google Patents

一种音量调节方法、装置及计算机可读存储介质 Download PDF

Info

Publication number
WO2022001305A1
WO2022001305A1 PCT/CN2021/088691 CN2021088691W WO2022001305A1 WO 2022001305 A1 WO2022001305 A1 WO 2022001305A1 CN 2021088691 W CN2021088691 W CN 2021088691W WO 2022001305 A1 WO2022001305 A1 WO 2022001305A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume adjustment
touch operation
volume
parameter
swipe
Prior art date
Application number
PCT/CN2021/088691
Other languages
English (en)
French (fr)
Inventor
张中山
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Publication of WO2022001305A1 publication Critical patent/WO2022001305A1/zh

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

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a volume adjustment method, device, and computer-readable storage medium.
  • the curved screen electronic devices are very popular among users due to their high screen ratio and aesthetics.
  • the display screen of the curved screen electronic device extends all the way to the side of the electronic device, there is no redundant position on both sides of the electronic device to place the physical volume adjustment buttons, so the user can only call out the shortcut operation bar on the display interface and pass through the buttons.
  • the volume adjustment operation item is used to adjust the volume, and the convenience of the volume adjustment operation is still low.
  • the embodiments of the present application provide a volume adjustment method, a device, and a computer-readable storage medium, which can at least solve the problem of the volume adjustment caused by the volume adjustment operation items in the shortcut operation bar of the curved screen electronic device in the related art.
  • the convenience of the adjustment operation is low.
  • a first aspect of an embodiment of the present application provides a volume adjustment method, which is applied to an electronic device having a curved screen, where the curved screen includes a flat area and a curved area extending outward from the flat area, including:
  • the curved area of the curved screen receives a touch operation, acquiring a pressing type corresponding to the touch operation, and acquiring a swipe vector value corresponding to the touch operation;
  • the volume adjustment is performed on the volume adjustment object according to the volume adjustment parameter.
  • a second aspect of an embodiment of the present application provides a volume adjustment device, which is applied to an electronic device having a curved screen, the curved screen includes a flat area and a curved area extending outward from the flat area, including:
  • an acquisition module configured to acquire a pressing type corresponding to the touch operation and a swipe vector value corresponding to the touch operation when a touch operation is received in the curved area of the curved screen;
  • a determination module configured to determine a corresponding volume adjustment object according to the pressing type, and determine a corresponding volume adjustment parameter according to the stroke vector value;
  • An adjustment module configured to adjust the volume of the volume adjustment object according to the volume adjustment parameter.
  • a third aspect of the embodiments of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program, the above-mentioned first embodiment of the present application is implemented.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements each step in the volume adjustment method provided by the first aspect of the embodiments of the present application. .
  • the volume adjustment method, device and computer-readable storage medium provided by the solution of the present application, when a touch operation is received in the curved area of the curved screen, the pressing type corresponding to the touch operation is obtained, and the corresponding touch operation is obtained. determine the corresponding volume adjustment object according to the pressing type, and determine the corresponding volume adjustment parameter according to the stroke vector value; perform volume adjustment on the volume adjustment object according to the volume adjustment parameter.
  • the volume adjustment response is performed according to the touch operation input by the user on the curved surface area of the curved screen, which can effectively improve the convenience of the volume adjustment operation; in addition, according to the different types of touch operations, different volume adjustment objects can be adjusted adjustment, which improves the flexibility and variety of volume adjustment.
  • FIG. 1 is a schematic diagram of an electronic device with a curved screen according to a first embodiment of the present application
  • FIG. 2 is a schematic flow chart of a basic flow of a volume adjustment method provided by the first embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for re-adjusting a volume according to the first embodiment of the present application
  • FIG. 4 is a schematic diagram of another curved screen electronic device provided by the first embodiment of the application.
  • FIG. 5 is a schematic flowchart of a refinement of the volume adjustment method provided by the second embodiment of the present application.
  • FIG. 6 is a schematic diagram of a program module of a volume adjustment device provided by the third embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
  • FIG. 1 is a schematic diagram of a curved screen electronic device provided in this embodiment.
  • the display screen extends all the way to the side of the electronic device, wherein A and B in the figure represent the curved areas on both sides of the electronic device, which show a certain radian, and C represents the flat area of the electronic device.
  • the first embodiment of the present application provides a volume adjustment method. As shown in FIG. 2 , the basic flow chart of the volume adjustment method provided by the present embodiment includes the following steps:
  • Step 201 When a touch operation is received in the curved area of the curved screen, obtain a pressing type corresponding to the touch operation, and obtain a swipe vector value corresponding to the touch operation.
  • this embodiment detects the touch operation input by the user on the curved surface area of the electronic device.
  • the touch operation in this embodiment may be a continuous action, that is, pressing and swiping are performed simultaneously, or may be a separate action , for example, the pressing sub-operation is input first and then the swiping sub-operation is input, or the swiping sub-operation is input first and then the pressing sub-operation is input.
  • the pressing type in this embodiment may include light pressure, medium pressure, heavy pressure, etc., and the stroke vector value is used to indicate the direction and distance of the stroke.
  • the method before acquiring the pressing type corresponding to the touch operation and acquiring the swipe vector value corresponding to the touch operation, the method further includes: judging whether the volume adjustment control of the curved surface area is currently satisfied. Activation condition; if so, the volume control in the surface area will be activated.
  • the volume adjustment control of this embodiment is used to receive touch operations.
  • the volume adjustment control When the volume adjustment control is activated, the user's touch operation on the curved surface area will be responded, and the electronic device will trigger the volume adjustment. Therefore, when the user touches the curved surface area unintentionally, the electronic device can erroneously perform volume adjustment response.
  • the activation conditions of the volume adjustment control in this embodiment may include: receiving a control activation instruction input by the user, or the user usage event currently executed by the electronic device is a preset event, and the like.
  • the above steps may specifically include: acquiring the user usage event currently executed by the electronic device; judging whether the user usage event is a voice call; when the user usage event is a voice call, activating the volume adjustment control in the curved area.
  • this embodiment will target the volume adjustment controls in the curved area when entering the usage scenario.
  • sexual activation is convenient for users to operate, and it can effectively prevent volume adjustment response to false touch behavior errors.
  • the volume adjustment control in this embodiment may be a volume progress bar displayed in the curved surface area.
  • Step 202 Determine the corresponding volume adjustment object according to the pressing type, and determine the corresponding volume adjustment parameter according to the stroke vector value.
  • volume adjustment objects are set for different pressing types during a touch operation.
  • the volume adjustment objects may include a microphone and an earpiece, and in a standby scene as an example, the volume adjustment objects may include Alarm ringing, incoming ringing or other types of prompt sounds; and volume adjustment parameters include parameter adjustment value/adjustment percentage and adjustment direction (up, down).
  • the method further includes: obtaining a reasonable volume parameter range corresponding to the current use environment of the electronic device; determining whether the target volume parameter exceeds the volume adjustment parameter based on the volume adjustment parameter.
  • Reasonable volume parameter range if yes, control the electronic device to output a reminder.
  • the target volume parameters that the user expects to adjust to are compared with those in the current environment. Compare the range of reasonable volume parameters, and if it exceeds the range of reasonable volume parameters, output a reminder (such as vibration or prompt tone) to the user to instruct the user to pay attention to protect hearing or re-input the touch operation.
  • a reminder such as vibration or prompt tone
  • Step 203 Adjust the volume of the volume adjustment object according to the volume adjustment parameter.
  • this embodiment adopts a virtualized volume adjustment method, so that the physical buttons for volume adjustment can be eliminated, making the electronic device more integrated and beautiful, and more convenient than operating the volume adjustment operation item in the shortcut operation bar; and , according to the different pressing types of the volume adjustment operation, the volume adjustment of different objects is triggered, and the operation flexibility is high; in addition, considering that when the user holds the electronic device, the space available for the operation in the curved area is limited, this embodiment allows the limited operation The volume adjustment operation of different objects in the space is more practical. It should be noted that, in this embodiment, before performing the volume adjustment operation on the volume adjustment object, an operation trigger confirmation may also be performed. If so, trigger to execute the above steps of performing volume adjustment on the volume adjustment object according to the volume adjustment parameters.
  • the touch operation includes a pressing sub-operation and a swiping sub-operation performed in sequence; correspondingly, when acquiring the pressing type corresponding to the touch operation and acquiring the swipe vector value corresponding to the touch operation , which specifically includes: acquiring pressure characterization parameters corresponding to the pressing sub-operation, and determining the corresponding pressing type based on the pressure characterization parameters; acquiring the stroke distance and stroke direction corresponding to the stroke sub-operation, and based on the stroke distance and stroke The direction determines the corresponding swipe vector value.
  • the touch operation in this embodiment is implemented in steps, for example, pressing first and then swiping.
  • the pressure characterizing parameter in this embodiment may be a pressure value or a pressure diffusion range.
  • the touch operation can also be implemented continuously, that is, the touch operation only includes the swipe operation.
  • the touch operation During the process of swiping the curved surface area, the user's finger contacts the curved surface area to generate pressure, so that the The pressure continuously input during the entire stroke operation corresponds to the detection of its pressure characterization parameters, and the average value of all the detected pressure characterization parameters is calculated, and then the corresponding pressing type is determined based on the average value of the pressure characterization parameters.
  • the determination of the value can be the same as the above, and will not be repeated here.
  • FIG. 3 is a schematic flowchart of a volume re-adjustment method provided in this embodiment. Further, in some implementations of this embodiment, after volume adjustment is performed on the volume adjustment object according to the volume adjustment parameters, the specific Include the following steps:
  • Step 301 monitoring the use environment of the electronic device
  • Step 302 If the use environment changes, when receiving the pressing sub-operation, determine the corresponding volume quick adjustment parameter based on the noise difference index between the use environments;
  • Step 303 Adjust the volume of the volume adjustment object based on the volume shortcut adjustment parameter.
  • the use environment of the user may change during the use of the electronic device, and the requirements for the volume of the electronic device are different in different use environments.
  • the user uses a mobile phone to talk as an example
  • the volume needs to be adjusted back.
  • the use environment changes and the volume needs to be adjusted again, it is cumbersome to completely repeat the previous adjustment operation (combined operation of pressing and swiping).
  • a volume adjustment parameter is automatically determined according to the noise difference index of the front and rear environments, without the user performing the swipe operation, which can effectively simplify the subsequent volume adjustment. operational complexity.
  • the monitoring of changes in the use environment may be implemented by means of positioning, noise monitoring, and the like.
  • the pressing type when the use environment changes, the pressing type can be obtained for the received pressing sub-operation, and if the pressing type is consistent with the pressing type when the volume adjustment was performed before, the subsequent process is executed; In other implementations, the pressing type may not be acquired for the pressing sub-operation, that is, only the pressing sub-operation needs to be recognized, and the previous volume adjustment object is directly used as the post-adjustment object.
  • acquiring the pressing type corresponding to the touch operation includes: acquiring the pressure diffusion range of the pressure generated by the touch operation in the plane area; and determining the corresponding pressing type based on the pressure diffusion range.
  • the curved surface area will evenly evacuate the downward pressure, and it is difficult to accurately support the pressure within a limited range.
  • the pressure judgment effect of the 3Dtouch technology used in the flat screen makes it impossible to effectively identify the pressure if it is detected directly in this area.
  • the pressure generated by the touch operation on the curved area on the flat area is used to detect the pressure spread range, and the pressing type is determined accordingly.
  • the pressure diffusion range in the plane region can be realized by the existing capacitive detection method or electromagnetic detection method, which will not be repeated here.
  • acquiring the pressure diffusion range of the pressure generated by the touch operation in the plane area includes: selecting a pressure determination reference area from the plane area based on the action area of the touch operation; The generated pressure is within the pressure dispersion range of the pressure judgment reference area.
  • determining the corresponding pressing type based on the pressure diffusion range includes: acquiring the area ratio of the pressure diffusion range in the pressure determination reference region; and determining the corresponding pressing type according to the area ratio.
  • the The pressure determination reference area is shown in FIG. 4 as a schematic diagram of another curved screen electronic device provided in this embodiment.
  • a and B represent the curved area on both sides of the electronic device
  • C represents the plane area of the electronic device
  • b is the For the touch operation area on the curved surface area
  • c is the pressure determination reference area, that is, an area of a certain size on the flat area adjacent to the touch operation area on the curved surface area is determined as the pressure determination reference area.
  • the pressing type can be determined according to the area ratio of the calculated pressure diffusion range in the pressure determination reference area, wherein, when the area ratio is greater than the preset value, the pressing type is determined to be heavy pressure, and when the area ratio is less than When the default value is set, it is determined that the pressing type is light pressing.
  • determining the corresponding volume adjustment parameter according to the swipe vector value includes: determining the corresponding volume adjustment parameter index table according to the volume adjustment object; wherein the swipe vector value in the different volume adjustment parameter index tables is the same as the The mapping relationships of the volume adjustment parameters are different; the corresponding volume adjustment parameters are queried in the volume adjustment parameter index table according to the swipe vector value.
  • corresponding volume adjustment parameter index tables are respectively set for different volume adjustment objects, and the volume adjustment response sensitivities of different volume adjustment parameter index tables are different.
  • object 1 its volume adjustment In the parameter index table, the sliding vector value +0.5cm (that is, swiping up 0.5cm), the corresponding volume adjustment parameter is +20%, and for object 2, the volume adjustment parameter corresponding to the sliding vector value +0.5cm can be 10 %, which can improve the variety, accuracy and friendliness of volume adjustment.
  • a volume adjustment index table with low volume adjustment response sensitivity is set for the earpiece, and a volume adjustment index table with relatively high volume adjustment response sensitivity is set for the microphone, so that fine adjustment of the earpiece and major adjustment of the microphone can be realized.
  • a True Wireless Stereo (TWS, True Wireless Stereo) headset can also be used as an example.
  • the volume adjustment object is a single headset, and a volume adjustment response sensitivity can be set correspondingly.
  • a volume adjustment index table For the lower volume adjustment index table, if the user wears headphones with both ears, and the volume adjustment objects are two headphones, a volume adjustment index table with a relatively high volume adjustment response sensitivity can be correspondingly set.
  • the corresponding volume adjustment parameter index table may also be determined according to the use environment of the electronic device.
  • the volume adjustment response is performed according to the touch operation input by the user on the curved surface area of the curved screen, which can effectively improve the convenience of the volume adjustment operation; in addition, according to the different types of touch operations, different volume adjustment objects can be adjusted adjustment, which improves the flexibility and variety of volume adjustment.
  • the method in FIG. 5 is a refined volume adjustment method provided by the second embodiment of the application, and is applied to an electronic device with a curved screen.
  • the curved screen includes a flat area and a curved area extending outward from the flat area. Adjustment methods include:
  • Step 501 Activate the volume adjustment control in the curved area on the display screen of the electronic device.
  • the volume adjustment control may be activated based on a user instruction, or may be activated automatically by determining a usage scenario of the electronic device (eg, use of a call).
  • Step 502 When receiving the pressing sub-operation through the volume adjustment control, obtain the pressure diffusion range of the pressure generated by the pressing sub-operation in the plane area on the display screen of the electronic device, and determine the corresponding pressing type based on the pressure diffusion range.
  • the pressure generated by the touch operation on the curved area on the flat area is used to detect the pressure spread range, and the pressure type is determined accordingly.
  • Step 503 When the swipe sub-operation is received through the volume adjustment control, obtain the swipe distance and swipe direction corresponding to the swipe sub-operation, and determine the corresponding swipe vector value based on the swipe distance and the swipe direction.
  • the swipe sub-operation and the pressing sub-operation constitute a complete volume adjustment operation.
  • the size can be unrelated to the volume adjustment operation.
  • Step 504 Determine the corresponding volume adjustment object according to the pressing type, and determine the corresponding volume adjustment parameter according to the stroke vector value.
  • the volume adjustment objects in this embodiment may include microphones, earpieces, etc., and the volume adjustment parameters include parameter adjustment values/adjustment percentages and adjustment directions.
  • Step 505 Adjust the volume of the volume adjustment object according to the volume adjustment parameter.
  • Step 506 If the use environment of the electronic device changes, when receiving the pressing sub-operation, determine the corresponding volume quick adjustment parameter based on the noise difference index between the use environments.
  • the use environment of the user may change during the use of the electronic device, and the requirements for the volume of the electronic device are different in different use environments, so the user has a demand for the volume to be recalled.
  • This embodiment monitors the use of Changes in the environment can be achieved through positioning, noise monitoring, etc.
  • Step 507 Re-adjust the volume of the volume adjustment object according to the volume shortcut adjustment parameters.
  • this embodiment takes into account that when the user needs to adjust the volume again when the use environment changes during the use of the electronic device, it is cumbersome to completely repeat the previous adjustment operation (the composite operation of pressing and swiping).
  • a volume adjustment parameter can be automatically determined according to the noise difference index of the front and rear environments after the user inputs a pressing operation, without requiring the user to perform a swipe operation, which can effectively simplify the subsequent need to be performed again. Operational complexity when adjusting volume.
  • the embodiment of the present application discloses a volume adjustment method.
  • a pressing sub-operation is received in a curved area of a curved screen, a corresponding pressing type is determined based on the pressure diffusion range of the pressing sub-operation in the flat area of the display screen; , determine the corresponding stroke vector value based on the stroke distance and stroke direction of the stroke sub-operation; determine the corresponding volume adjustment object according to the pressing type, and determine the corresponding volume adjustment parameter according to the stroke vector value; according to the volume adjustment parameter Adjust the volume of the volume adjustment object; if the use environment of the electronic device changes, when receiving the pressing sub-operation, determine the corresponding volume quick adjustment parameter based on the noise difference index between the use environments, and use the volume quick adjustment parameter to adjust the volume.
  • the volume adjustment object performs volume adjustment again.
  • the volume adjustment response is carried out according to the operation input by the user on the curved surface area of the curved screen, which can effectively improve the convenience of the volume adjustment operation; and the volume adjustment can be performed on different volume adjustment objects according to different types of touch operations. , which improves the flexibility and diversity of volume adjustment; in addition, when the use environment changes, the volume can be re-adjusted only by pressing the operation, which improves the convenience of volume adjustment.
  • FIG. 6 is a volume adjustment device provided by a third embodiment of the present application.
  • the volume adjustment device is applied to an electronic device with a curved screen.
  • the curved screen includes a flat area and a curved area extending outward from the flat area.
  • the volume adjustment device mainly includes:
  • the obtaining module 601 is configured to obtain a pressing type corresponding to the touch operation and a swipe vector value corresponding to the touch operation when a touch operation is received in the curved area of the curved screen;
  • a determination module 602 configured to determine the corresponding volume adjustment object according to the pressing type, and determine the corresponding volume adjustment parameter according to the stroke vector value;
  • the adjustment module 603 is configured to adjust the volume of the volume adjustment object according to the volume adjustment parameter.
  • the volume adjustment device further includes: an activation module, configured to obtain the current state of the electronic device before obtaining the pressing type corresponding to the touch operation and obtaining the swipe vector value corresponding to the touch operation.
  • the executed user usage event when the user usage event is a voice call, the volume adjustment control in the surface area is activated; wherein, the volume adjustment control is used to receive a touch operation.
  • the touch operation includes a pressing sub-operation and a swiping sub-operation performed in sequence.
  • the acquiring module 601 is specifically configured to: acquire a pressure characterizing parameter corresponding to the pressing sub-operation, and based on the pressure The characterization parameter determines the corresponding pressing type; acquires the swipe distance and swipe direction corresponding to the swipe sub-operation, and determines the corresponding swipe vector value based on the swipe distance and the swipe direction.
  • the adjustment module 603 is further configured to monitor the use environment of the electronic device after adjusting the volume of the volume adjustment object according to the volume adjustment parameters; When the pressing sub-operation is received, the corresponding volume quick adjustment parameter is determined based on the noise difference index between the usage environments; the volume of the volume adjustment object is adjusted based on the volume quick adjustment parameter.
  • the acquiring module 601 when acquiring the pressing type corresponding to the touch operation, is specifically configured to: acquire the pressure diffusion range of the pressure generated by the touch operation in the plane area; determine the corresponding pressure based on the pressure diffusion range type of compression.
  • the obtaining module 601 is specifically configured to: select a reference area for pressure determination from a plane area based on the action area of the touch operation; obtain the pressure generated by the touch operation in the pressure determination reference area Pressure diffusion range; obtain the area ratio of the pressure diffusion range in the pressure determination reference area; determine the corresponding pressing type according to the area ratio.
  • the determining module 602 when determining the corresponding volume adjustment parameter according to the swipe vector value, is specifically configured to: determine the corresponding volume adjustment parameter index table according to the volume adjustment object, wherein different volume adjustment parameters The mapping relationship between the stroke vector value and the volume adjustment parameter in the index table is different; the corresponding volume adjustment parameter is queried in the volume adjustment parameter index table according to the stroke vector value.
  • volume adjustment methods in the first and second embodiments can be implemented based on the volume adjustment device provided in this embodiment, and those of ordinary skill in the art can clearly understand that for the convenience and simplicity of description, this implementation For the specific working process of the volume adjustment device described in the example, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.
  • volume adjustment device when a touch operation is received on the curved surface area of the curved screen, a pressing type corresponding to the touch operation is obtained, and a swipe vector value corresponding to the touch operation is obtained; the corresponding pressing type is determined according to the pressing type.
  • the volume adjustment object, and the corresponding volume adjustment parameter is determined according to the swipe vector value; the volume adjustment object is adjusted according to the volume adjustment parameter.
  • FIG. 7 is an electronic device according to a fourth embodiment of the present application.
  • the electronic device can be used to implement the volume adjustment method in the foregoing embodiments.
  • the electronic device mainly includes:
  • the memory 701 , the processor 702 , the bus 703 and the computer program stored on the memory 701 and executable on the processor 702 are connected by the bus 703 .
  • the processor 702 executes the computer program, the volume adjustment method in the foregoing embodiment is implemented.
  • the number of processors may be one or more.
  • the memory 701 may be a high-speed random access memory (RAM, Random Access Memory) memory, or may be a non-volatile memory (non-volatile memory), such as a disk memory.
  • RAM Random Access Memory
  • non-volatile memory non-volatile memory
  • the memory 701 is used to store executable program codes, and the processor 702 is coupled to the memory 701 .
  • an embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium may be provided in the electronic device in the above-mentioned embodiments, and the computer-readable storage medium may be the above-mentioned FIG. 7 . memory in the example embodiment.
  • a computer program is stored on the computer-readable storage medium, and when the program is executed by the processor, the volume adjustment method in the foregoing embodiment is implemented.
  • the computer-storable medium may also be a USB flash drive, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a RAM, a magnetic disk, or an optical disk and other media that can store program codes.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of modules is only a logical function division.
  • there may be other division methods for example, multiple modules or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
  • Modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the integrated modules if implemented in the form of software functional modules and sold or used as independent products, can be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a readable storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned readable storage medium includes: U disk, removable hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种音量调节方法、装置及计算机可读存储介质,该音量调节方法包括:在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值(201);根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数(202);按照音量调节参数对音量调节对象进行音量调节(203)。通过该方法,根据用户在曲面屏的曲面区域输入的触摸操作进行音量调节响应,可以有效提升音量调节操作的便捷性;另外,根据触摸操作类型的不同可对不同音量调节对象进行音量调节,提高了音量调节的灵活性和多样性。

Description

一种音量调节方法、装置及计算机可读存储介质 技术领域
本申请涉及电子技术领域,尤其涉及一种音量调节方法、装置及计算机可读存储介质。
背景技术
随着终端技术的快速发展,手机等电子装置在用户的工作和生活中使用频率越来越高,例如用户会使用电子装置进行音视频通话、音视频播放、闹铃提醒等功能,而在使用这些功能时用户通常会具备音量调节需求。
随着电子装置的不断更新换代,电子装置的屏幕形态也不断变化,曲面屏电子装置由于其较高的屏占比及美观度深受用户喜爱。然而由于曲面屏电子装置的显示屏一直延伸至电子装置侧面,从而使得电子装置两侧并没有多余的位置放置实体音量调节按键,从而用户只能在显示界面上唤出快捷操作栏后通过其中的音量调节操作项来进行音量调节,音量调节操作的便捷性依旧较低。
发明内容
本申请实施例提供了一种音量调节方法、装置及计算机可读存储介质,至少能够解决相关技术中的曲面屏电子装置通过快捷操作栏中的音量调节操作项来进行音量调节,所导致的音量调节操作的便捷性较低的问题。
本申请实施例第一方面提供了一种音量调节方法,应用于具有曲面屏的电子装置,所述曲面屏包括平面区域和从所述平面区域向外延伸的曲面区域,包括:
在所述曲面屏的所述曲面区域接收到触摸操作时,获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值;
根据所述按压类型确定对应的音量调节对象,以及根据所述划动矢量值确定对应的音量调节参数;
按照所述音量调节参数对所述音量调节对象进行音量调节。
本申请实施例第二方面提供了一种音量调节装置,应用于具有曲面屏的电子装置,所述曲面屏包括平面区域和从所述平面区域向外延伸的曲面区域,包括:
获取模块,用于在所述曲面屏的所述曲面区域接收到触摸操作时,获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值;
确定模块,用于根据所述按压类型确定对应的音量调节对象,以及根据所述划动矢量值确定对应的音量调节参数;
调节模块,用于按照所述音量调节参数对所述音量调节对象进行音量调节。
本申请实施例第三方面提供了一种电子装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时,实现上述本申请实施例第一方面提供的音量调节方法中的各步骤。
本申请实施例第四方面提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时,实现上述本申请实施例第一方面提供的音量调节方法中的各步骤。
由上可见,根据本申请方案所提供的音量调节方法、装置及计算机可读存储介质,在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值;根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数;按照音量调节参数对音量调节对象进行音量调节。通过本申请方案的实施,根据用户在曲面屏的曲面区域输入的触摸操作进行音量调节响应,可以有效提升音量调节操作的便捷性;另外,根据触摸操作类型的不同可对不同音量调节对象进行音量调节,提高了音量调节的灵活性和多样性。
附图说明
图1为本申请第一实施例提供的一种曲面屏电子装置的示意图;
图2为本申请第一实施例提供的音量调节方法的基本流程示意图;
图3为本申请第一实施例提供的一种音量重新调节方法的流程示意图;
图4为本申请第一实施例提供的另一种曲面屏电子装置的示意图;
图5为本申请第二实施例提供的音量调节方法的细化流程示意图;
图6为本申请第三实施例提供的一种音量调节装置的程序模块示意图;
图7为本申请第四实施例提供的电子装置的结构示意图。
具体实施方式
为使得本申请的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而非全部实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了解决相关技术中的曲面屏电子装置通过快捷操作栏中的音量调节操作项来进行音量调节,所导致的音量调节操作的便捷性较低的缺陷,应用于具有曲面屏的电子装置,电子装置可以包括:手机、平板电脑等,在本实施例中,曲面屏包括平面区域和从平面区域向外延伸的曲面区域,如图1所示为本实施例提供的一种曲面屏电子装置的示意图,显示屏一直延伸至电子装置的侧面,其中,图中A和B表示电子装置两侧的曲面区域,该曲面区域从呈现出一定的弧度,而C则表示电子装置的平面区域。
本申请第一实施例提供了一种音量调节方法,如图2为本实施例提供的音量调节方法的基本流程图,该音量调节方法包括以下的步骤:
步骤201、在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值。
具体的,本实施例对用户在电子装置的曲面区域输入的触摸操作进行检测,本实施例的触摸操作可以是一个连贯动作,也即按压和划动是同时进行的,也可以是一个分离动作,例如先输入按压子操作再输入划动子操作或先输入划动子操作再输入按压子操作。应当理解的是,本实施例的按压类型可以包括轻压、中压、重压等,而划动矢量值用于指示划动时的方向和距离。
应当说明的是,在本实施例一些实施方式中,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值之前,还包括:判断当前是否满足曲面区域的音量调节控件的激活条件;若是,则将将曲面区域的音量调节控件进行激活。
具体的,本实施例的音量调节控件用于接收触摸操作,当音量调节控件被激活之后,用户在曲面区域的触摸操作才会被响应,进而电子装置才会触发音量调节。由此,可以避免用户无意识触碰到曲面区域时,电子装置错误进行音量调节响应。在实际应用中,本实施例的音量调节控件的激活条件可以包括:接收到用户输入的控件激活指令,或,电子装置当前所执行的用户使用事件为预设事件等。
进一步地,以上步骤具体可以包括:获取电子装置当前所执行的用户使用事件;判断用户使用事件是否为语音通话;在用户使用事件为语音通话时,将曲面区域的音量调节控件进行激活。
具体的,在本实施例中,考虑到用户在语音通话场景下,用户通常具备听筒和/或话筒的音量调节需求,从而本实施例在进入该使用场景时对曲面区域的音量调节控件进行针对性激活,以方便用户进行操作,并可有效防止对误触行为错误进行音量调节响应。应当说明的是,本实施例的音量调节控件可以为曲面区域所显示的音量进度条。
步骤202、根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数。
具体的,本实施例的针对触摸操作时按压类型的不同设置不同的音量调节对象,以语音通话场景为例,音量调节对象可以包括话筒、听筒,而以待机场景为例,音量调节对象可以包括闹钟响铃、来电响铃或其它类型的提示音;而音量调节参数则包括参数调整值/调整百分比以及调节方向(调高、调低)。
在本实施例一些实施方式中,在根据划动矢量值确定对应的音量调节参数之后,还包括:获取对应于电子装置当前使用环境的合理音量参数范围;基于音量调节参数判断目标音量参数是否超出合理音量参数范围;若是,则控制电子装置输出提醒。
具体的,在实际应用中,从用户听力健康方面考虑,音量过大可能对用户听力产生负面影响,本实施例在确定音量调节参数之后,将用户以期调整至的目标音量参数与当前环境下的合理音量参数范围进行比较,若超出合理音量参数范围则向用户输出提醒(例如振动或提示音),以指示用户注意保护听力或重新输入触摸操作。
步骤203、按照音量调节参数对音量调节对象进行音量调节。
具体的,本实施例采用虚拟化的音量调节方式,从而可以取消音量调节的物理按键,使得电子装置更为一体化和美观,并且相对于在快捷操作栏操作音量调节操作项更为便捷;并且,根据音量调节操作的按压类型不同,触发不同对象的音量调节,操作灵活性高;另外,考虑到用户握持电子装置时,曲面区域可用于进行操作的空间有限,本实施例允许在有限操作空间内进行不同对象的音量调节操作,实用性更强。应当说明的是,本实施例在对音量调节对象进行音量调节操作之前,还可以进行操作触发确认,例如判断用户完成触摸操作的输入后,判断触摸终止位置的触摸保持时长是否到达预设时长,若是,则触发执行上述按照音量调节参数对音量调节对象进行音量调节的步骤。
在本实施例一些实施方式中,触摸操作包括顺序执行的按压子操作和划动子操作;相对应的,在获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值时,具体包括:获取对应于按压子操作的压力表征参数,并基于压力表征参数确定对应的按压类型;获取对应于划动子操作的划动距离和划动方向,并基于划动距离和划动方向确定对应的划动矢量值。
具体的,本实施例的触摸操作分步实现,例如先按压后划动,另外,本实施例的压力表征参数可以为压力值或压力扩散范围。当然,在实际应用中,该触摸操作也可以连贯实现,也即触摸操作仅包括划动操作,由于在曲面区域划动的过程中,用户手指与曲面区域相接触而会产生压力,从而可以针对整个划动操作过程中所持续输入的压力对应检测其压力表征参数,并计算检测到的所有压力表征参数的平均值,然后基于压力表征参数的平均值确定对应的按压类型,而关于划动矢量值的确定则可以同上,在此不再赘述。
如图3所示为本实施例提供的一种音量重新调节方法的流程示意图,进一步地,在本实施例的一些实施方式中,在按照音量调节参数对音量调节对象进行音量调节之后,还具体包括以下步骤:
步骤301、对电子装置的使用环境进行监控;
步骤302、若使用环境发生变化,则在接收到按压子操作时,基于使用环境之间的噪声差异指标确定对应的音量快捷调节参数;
步骤303、基于音量快捷调节参数对音量调节对象进行音量调节。
具体的,在实际应用中,用户使用电子装置的过程中其使用环境可能会发生变化,而在不同使用环境下其对电子装置音量大小的需求有所不同,以用户使用手机通话的场景为例,此前用户在吵闹环境由于环境噪音较大而需要调高音量,若后续用户进入安静环境则需要回调音量。本实施例考虑到用户使用电子装置过程中,在使用环境发生变化而需要再次调节音量时,若完全重复执行此前的调节操作(按压和划动的复合操作)则较为繁琐,本方案可以在确定电子装置使用环境发生变化时,在用户输入按压操作后即自动根据前后环境的噪声差异指标来确定一音量调节参数,而不需要用户再执行划动操作,可有效简化后续再次需要进行音量调节时的操作复杂度。应当理解的是,本实施例监控使用环境的变化可以通过定位、噪声监测等方式实现。
还应当说明的是,本实施例在使用环境发生变化时,可以针对所接收到的按压子操作进行按压类型获取,若按压类型与此前进行音量调节时的按压类型相符,则执行后续流程;在另一些实施方式中,也可以不针对按压子操作进行按压类型获取,也即只需要识别出按压子操作即直接将此前的音量调节对象作为后调节对象。
在本实施例的另一些实施方式中,获取对应于触摸操作的按压类型包括:获取触摸操作所产生的压力在平面区域的压力扩散范围;基于压力扩散范围确定对应的按压类型。
具体的,在本实施例中,考虑到呈弧状的曲面区域的结构特殊性,用户在曲面区域输入触摸操作时,曲面区域会对向下压力平均疏散,压力在有限范围内难以准确支持类似目前平面屏中所使用的3Dtouch技术的压力判定效果,从而若直接在该区域进行检测则无法有效识别压力轻重。然而,当用户对曲面区域进行触摸时,压力会向平面区域扩散,本实施例通过曲面区域的触摸操作在平面区域所间接产生的压力进行压力扩散范围检测,并以此来对应确定按压类型。应当说明的是,在实际应用中,平面区域的压力扩散范围可以通过现有的电容检测方式或电磁检测方式来实现,在此不再赘述。
进一步地,在本实施例的一些实施方式中,获取触摸操作所产生的压力在平面区域的压力扩散范围包括:基于触摸操作的作用区域从平面区域上选定压力判定基准区域;获取触摸操作所产生的压力在压力判定基准区域的压力扩散 范围。相对应的,基于压力扩散范围确定对应的按压类型包括:获取压力扩散范围在压力判定基准区域的面积占比;根据面积占比确定对应的按压类型。
具体的,为了进一步提高压力扩散范围检测的结果准确性和效率,区别于检测整个平面区域的压力扩散范围,本实施例可以根据触摸操作在曲面区域上的作用区域,在平面区域上选定以压力判定基准区域,如图4所示为本实施例提供的另一种曲面屏电子装置的示意图,图中A和B表示电子装置两侧的曲面区域,C表示电子装置的平面区域,b为曲面区域上的触摸操作区域,c为压力判定基准区域,也即将平面区域上临近于曲面区域上触摸操作区域的特定大小的区域确定为压力判定基准区域。相应的,可以根据所计算的压力扩散范围在压力判定基准区域的面积占比大小来对应确定按压类型,其中,面积占比大于预设值时确定按压类型为重压,而在面积占比小于预设值时则确定按压类型为轻压。
在本实施例的一些实施方式中,根据划动矢量值确定对应的音量调节参数包括:根据音量调节对象确定对应的音量调节参数索引表;其中,不同音量调节参数索引表中划动矢量值与音量调节参数的映射关系不同;根据划动矢量值在音量调节参数索引表中查询对应的音量调节参数。
具体的,在本实施例中,针对不同音量调节对象分别设置其对应的音量调节参数索引表,而不同音量调节参数索引表的音量调节响应敏感度有所不同,例如对于对象1,其音量调节参数索引表中滑动矢量值+0.5cm(即向上划动0.5cm),对应的音量调节参数为+20%,而对于对象2,其滑动矢量值+0.5cm对应的音量调节参数则可以为10%,从而可以提高音量调节的多样性、准确性和友好性。在一种示例中,以音量调节对象为听筒和话筒为例,通常听筒声音调节跨度过大可能会导致本方刺耳,而话筒调节跨度再大通常也不会导致对方刺耳,本实施例可以针对听筒设置一音量调节响应敏感度较低的音量调节索引表,并针对话筒设置一音量调节响应敏感度相对较高的音量调节索引表,从而可以实现听筒的微调和话筒的大调。而在另一种示例中,还可以以真无线立体声(TWS,True Wireless Stereo)耳机为例,若用户单耳佩戴,则音量调节对象为单只耳机,则可以对应设置一音量调节响应敏感度较低的音量调节索引表,若用户双耳佩戴耳机,则音量调节对象为两只耳机,则可以对应设置一音量调 节响应敏感度相对较高的音量调节索引表。当然,在本实施例其它实施方式中,也可以根据电子装置的使用环境确定对应的音量调节参数索引表。
基于上述本申请实施例的技术方案,在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值;根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数;按照音量调节参数对音量调节对象进行音量调节。通过本申请方案的实施,根据用户在曲面屏的曲面区域输入的触摸操作进行音量调节响应,可以有效提升音量调节操作的便捷性;另外,根据触摸操作类型的不同可对不同音量调节对象进行音量调节,提高了音量调节的灵活性和多样性。
图5中的方法为本申请第二实施例提供的一种细化的音量调节方法,应用于具有曲面屏的电子装置,曲面屏包括平面区域和从平面区域向外延伸的曲面区域,该音量调节方法包括:
步骤501、对电子装置显示屏上曲面区域的音量调节控件进行激活。
在本实施例中,音量调节控件可以基于用户指令激活,也可以通过判定电子装置使用场景(例如通话使用)来自动进行激活。
步骤502、在通过音量调节控件接收到按压子操作时,获取按压子操作所产生的压力在电子装置显示屏上平面区域的压力扩散范围,并基于压力扩散范围确定对应的按压类型。
具体的,当用户对曲面区域进行触摸时,压力会向平面区域扩散,本实施例通过曲面区域的触摸操作在平面区域所间接产生的压力进行压力扩散范围检测,并以此来对应确定按压类型。
步骤503、在通过音量调节控件接收到划动子操作时,获取对应于划动子操作的划动距离和划动方向,并基于划动距离和划动方向确定对应的划动矢量值。
具体的,在本实施例中,划动子操作和按压子操作组成一个完整的音量调节操作,优选地,划动子操作的执行时序可以在按压子操作之后,划动子操作所对应的压力大小对音量调节操作可以无关联。
步骤504、根据按压类型确定对应的音量调节对象,以及根据划动矢量值 确定对应的音量调节参数。
本实施例的音量调节对象可以包括话筒、听筒等,而音量调节参数则包括参数调整值/调整百分比以及调节方向。
步骤505、按照音量调节参数对音量调节对象进行音量调节。
步骤506、若电子装置的使用环境发生变化,则在接收到按压子操作时,基于使用环境之间的噪声差异指标确定对应的音量快捷调节参数。
具体的,用户使用电子装置的过程中其使用环境可能会发生变化,而在不同使用环境下其对电子装置音量大小的需求有所不同,从而用户对音量有回调的需求,本实施例监控使用环境的变化可以通过定位、噪声监测等方式实现。
步骤507、按照音量快捷调节参数对音量调节对象重新进行音量调节。
具体的,本实施例考虑到用户使用电子装置过程中,在使用环境发生变化而需要再次调节音量时,若完全重复执行此前的调节操作(按压和划动的复合操作)则较为繁琐,本方案可以在确定电子装置使用环境发生变化时,在用户输入按压操作后即自动根据前后环境的噪声差异指标来确定一音量调节参数,而不需要用户再执行划动操作,可有效简化后续再次需要进行音量调节时的操作复杂度。
应当理解的是,本实施例中各步骤的序号的大小并不意味着步骤执行顺序的先后,各步骤的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成唯一限定。
本申请实施例公开了一种音量调节方法,在曲面屏的曲面区域接收到按压子操作时,基于按压子操作在显示屏平面区域压力扩散范围确定对应的按压类型;在接收到划动子操作时,基于划动子操作的划动距离和划动方向确定对应的划动矢量值;根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数;按照音量调节参数对音量调节对象进行音量调节;若电子装置的使用环境发生变化,则在接收到按压子操作时,基于使用环境之间的噪声差异指标确定对应的音量快捷调节参数,并通过音量快捷调节参数对音量调节对象再次进行音量调节。通过本申请方案的实施,根据用户在曲面屏的曲面区域输入的操作进行音量调节响应,可以有效提升音量调节操作的便捷性;并且,根据触摸操作类型的不同可对不同音量调节对象进行音量调节,提 高了音量调节的灵活性和多样性;此外,在使用环境发生变化时,仅通过按压操作即可实现音量重调,提升了音量调节的便捷性。
图6为本申请第三实施例提供的一种音量调节装置,该音量调节装置应用于具有曲面屏的电子装置,曲面屏包括平面区域和从平面区域向外延伸的曲面区域。如图6所示,该音量调节装置主要包括:
获取模块601,用于在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值;
确定模块602,用于根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数;
调节模块603,用于按照音量调节参数对音量调节对象进行音量调节。
在本实施例的一些实施方式中,该音量调节装置还包括:激活模块,用于在获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值之前,获取电子装置当前所执行的用户使用事件;在用户使用事件为语音通话时,将曲面区域的音量调节控件进行激活;其中,音量调节控件用于接收触摸操作。
在本实施例的一些实施方式中,触摸操作包括顺序执行的按压子操作和划动子操作,相对应的,获取模块601具体用于:获取对应于按压子操作的压力表征参数,并基于压力表征参数确定对应的按压类型;获取对应于划动子操作的划动距离和划动方向,并基于划动距离和划动方向确定对应的划动矢量值。
进一步地,在本实施例一些实施方式中,调节模块603还用于:在按照音量调节参数对音量调节对象进行音量调节之后,对电子装置的使用环境进行监控;若使用环境发生变化,则在接收到按压子操作时,基于使用环境之间的噪声差异指标确定对应的音量快捷调节参数;基于音量快捷调节参数对音量调节对象进行音量调节。
在本实施例的另一些实施方式中,获取模块601在获取对应于触摸操作的按压类型时,具体用于:获取触摸操作所产生的压力在平面区域的压力扩散范围;基于压力扩散范围确定对应的按压类型。
进一步地,在本实施例的一些实施方式中,获取模块601具体用于:基于 触摸操作的作用区域从平面区域上选定压力判定基准区域;获取触摸操作所产生的压力在压力判定基准区域的压力扩散范围;获取压力扩散范围在压力判定基准区域的面积占比;根据面积占比确定对应的按压类型。
在本实施例的一些实施方式中,确定模块602在根据划动矢量值确定对应的音量调节参数时,具体用于:根据音量调节对象确定对应的音量调节参数索引表,其中,不同音量调节参数索引表中划动矢量值与音量调节参数的映射关系不同;根据划动矢量值在音量调节参数索引表中查询对应的音量调节参数。
应当说明的是,第一、二实施例中的音量调节方法均可基于本实施例提供的音量调节装置实现,所属领域的普通技术人员可以清楚的了解到,为描述的方便和简洁,本实施例中所描述的音量调节装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
根据本实施例所提供的音量调节装置,在曲面屏的曲面区域接收到触摸操作时,获取对应于触摸操作的按压类型,以及获取对应于触摸操作的划动矢量值;根据按压类型确定对应的音量调节对象,以及根据划动矢量值确定对应的音量调节参数;按照音量调节参数对音量调节对象进行音量调节。通过本申请方案的实施,根据用户在曲面屏的曲面区域输入的触摸操作进行音量调节响应,可以有效提升音量调节操作的便捷性;另外,根据触摸操作类型的不同可对不同音量调节对象进行音量调节,提高了音量调节的灵活性和多样性。
请参阅图7,图7为本申请第四实施例提供的一种电子装置。该电子装置可用于实现前述实施例中的音量调节方法。如图7所示,该电子装置主要包括:
存储器701、处理器702、总线703及存储在存储器701上并可在处理器702上运行的计算机程序,存储器701和处理器702通过总线703连接。处理器702执行该计算机程序时,实现前述实施例中的音量调节方法。其中,处理器的数量可以是一个或多个。
存储器701可以是高速随机存取记忆体(RAM,Random Access Memory)存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。存储器701用于存储可执行程序代码,处理器702与存储器701耦合。
进一步的,本申请实施例还提供了一种计算机可读存储介质,该计算机可 读存储介质可以是设置于上述各实施例中的电子装置中,该计算机可读存储介质可以是前述图7所示实施例中的存储器。
该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现前述实施例中的音量调节方法。进一步的,该计算机可存储介质还可以是U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的可读存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以 存储程序代码的介质。
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。
以上为对本申请所提供的音量调节方法、装置及计算机可读存储介质的描述,对于本领域的技术人员,依据本申请实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种音量调节方法,应用于具有曲面屏的电子装置,所述曲面屏包括平面区域和从所述平面区域向外延伸的曲面区域,其特征在于,包括:
    在所述曲面屏的所述曲面区域接收到触摸操作时,获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值;
    根据所述按压类型确定对应的音量调节对象,以及根据所述划动矢量值确定对应的音量调节参数;
    按照所述音量调节参数对所述音量调节对象进行音量调节。
  2. 根据权利要求1所述的音量调节方法,其特征在于,所述获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值之前,还包括:
    获取所述电子装置当前所执行的用户使用事件;
    在所述用户使用事件为语音通话时,将所述曲面区域的音量调节控件进行激活;其中,所述音量调节控件用于接收所述触摸操作。
  3. 根据权利要求1所述的音量调节方法,其特征在于,所述触摸操作包括顺序执行的按压子操作和划动子操作,所述获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值包括:
    获取对应于所述按压子操作的压力表征参数,并基于所述压力表征参数确定对应的按压类型;
    获取对应于所述划动子操作的划动距离和划动方向,并基于所述划动距离和所述划动方向确定对应的划动矢量值。
  4. 根据权利要求3所述的音量调节方法,其特征在于,所述按照所述音量调节参数对所述音量调节对象进行音量调节之后,还包括:
    对所述电子装置的使用环境进行监控;
    若所述使用环境发生变化,则在接收到所述按压子操作时,基于所述使用环境之间的噪声差异指标确定对应的音量快捷调节参数;
    基于所述音量快捷调节参数对所述音量调节对象进行音量调节。
  5. 根据权利要求1所述的音量调节方法,其特征在于,所述获取对应于所述触摸操作的按压类型包括:
    获取所述触摸操作所产生的压力在所述平面区域的压力扩散范围;
    基于所述压力扩散范围确定对应的按压类型。
  6. 根据权利要求5所述的音量调节方法,其特征在于,所述获取所述触摸操作所产生的压力在所述平面区域的压力扩散范围包括:
    基于所述触摸操作的作用区域从所述平面区域上选定压力判定基准区域;
    获取所述触摸操作所产生的压力在所述压力判定基准区域的压力扩散范围;
    所述基于所述压力扩散范围确定对应的按压类型包括:
    获取所述压力扩散范围在所述压力判定基准区域的面积占比;
    根据所述面积占比确定对应的按压类型。
  7. 根据权利要求1至6中任意一项所述的音量调节方法,其特征在于,所述根据所述划动矢量值确定对应的音量调节参数包括:
    根据所述音量调节对象确定对应的音量调节参数索引表;其中,不同音量调节参数索引表中划动矢量值与音量调节参数的映射关系不同;
    根据所述划动矢量值在所述音量调节参数索引表中查询对应的音量调节参数。
  8. 根据权利要求1至6中任意一项所述的音量调节方法,其特征在于,在所述根据划动矢量值确定对应的音量调节参数之后,还包括:
    获取对应于所述电子装置当前使用环境的合理音量参数范围;
    基于音量调节参数判断目标音量参数是否超出所述合理音量参数范围;若是,则控制所述电子装置输出提醒。
  9. 根据权利要求1至6中任意一项所述的音量调节方法,其特征在于,还包括:
    判断用户完成触摸操作的输入后,判断触摸终止位置的触摸保持时长是否到达预设时长,若是,则执行所述按照音量调节参数对音量调节对象进行音量调节的步骤。
  10. 一种音量调节装置,应用于具有曲面屏的电子装置,所述曲面屏包括平面区域和从所述平面区域向外延伸的曲面区域,其特征在于,包括:
    获取模块,用于在所述曲面屏的所述曲面区域接收到触摸操作时,获取对 应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值;
    确定模块,用于根据所述按压类型确定对应的音量调节对象,以及根据所述划动矢量值确定对应的音量调节参数;
    调节模块,用于按照所述音量调节参数对所述音量调节对象进行音量调节。
  11. 根据权利要求10所述的音量调节装置,其特征在于,所述音量调节装置还包括:激活模块,所述获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值之前,所述装置还具体用于:
    获取所述电子装置当前所执行的用户使用事件;
    在所述用户使用事件为语音通话时,将所述曲面区域的音量调节控件进行激活;其中,所述音量调节控件用于接收所述触摸操作。
  12. 根据权利要求10所述的音量调节装置,其特征在于,所述触摸操作包括顺序执行的按压子操作和划动子操作,所述获取对应于所述触摸操作的按压类型,以及获取对应于所述触摸操作的划动矢量值,所述获取模块具体用于:
    获取对应于所述按压子操作的压力表征参数,并基于所述压力表征参数确定对应的按压类型;
    获取对应于所述划动子操作的划动距离和划动方向,并基于所述划动距离和所述划动方向确定对应的划动矢量值。
  13. 根据权利要求12所述的音量调节装置,其特征在于,在所述按照所述音量调节参数对所述音量调节对象进行音量调节之后,所述调节模还用于:
    对所述电子装置的使用环境进行监控;
    若所述使用环境发生变化,则在接收到所述按压子操作时,基于所述使用环境之间的噪声差异指标确定对应的音量快捷调节参数;
    基于所述音量快捷调节参数对所述音量调节对象进行音量调节。
  14. 根据权利要求10所述的音量调节装置,其特征在于,所述获取对应于所述触摸操作的按压类型,所述获取模块具体用于:
    获取所述触摸操作所产生的压力在所述平面区域的压力扩散范围;
    基于所述压力扩散范围确定对应的按压类型。
  15. 根据权利要求14所述的音量调节装置,其特征在于,所述获取所述触摸操作所产生的压力在所述平面区域的压力扩散范围,所述获取模块具体用于:
    基于所述触摸操作的作用区域从所述平面区域上选定压力判定基准区域;
    获取所述触摸操作所产生的压力在所述压力判定基准区域的压力扩散范围;
    所述基于所述压力扩散范围确定对应的按压类型包括:
    获取所述压力扩散范围在所述压力判定基准区域的面积占比;
    根据所述面积占比确定对应的按压类型。
  16. 根据权利要求10至15中任意一项所述的音量调节装置,其特征在于,所述根据所述划动矢量值确定对应的音量调节参数,所述获取单元具体用于:
    根据所述音量调节对象确定对应的音量调节参数索引表;其中,不同音量调节参数索引表中划动矢量值与音量调节参数的映射关系不同;
    根据所述划动矢量值在所述音量调节参数索引表中查询对应的音量调节参数。
  17. 根据权利要求10至15中任意一项所述的音量调节装置,其特征在于,在所述根据划动矢量值确定对应的音量调节参数之后,所述装置还具体用于:
    获取对应于所述电子装置当前使用环境的合理音量参数范围;
    基于音量调节参数判断目标音量参数是否超出所述合理音量参数范围;若是,则控制所述电子装置输出提醒。
  18. 根据权利要求10至15中任意一项所述的音量调节装置,其特征在于,所述装置还具体用于:
    判断用户完成触摸操作的输入后,判断触摸终止位置的触摸保持时长是否到达预设时长,若是,则执行所述按照音量调节参数对音量调节对象进行音量调节的步骤。
  19. 一种电子装置,其特征在于,包括:存储器、处理器及总线;
    所述总线用于实现所述存储器、处理器之间的连接通信;
    所述处理器用于执行存储在所述存储器上的计算机程序;
    所述处理器执行所述计算机程序时,实现权利要求1至9中任意一项所述方法中的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时,实现权利要求1至7中的任意一项所述方法中 的步骤。
PCT/CN2021/088691 2020-06-29 2021-04-21 一种音量调节方法、装置及计算机可读存储介质 WO2022001305A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010602935.2A CN111782173A (zh) 2020-06-29 2020-06-29 一种音量调节方法、装置及计算机可读存储介质
CN202010602935.2 2020-06-29

Publications (1)

Publication Number Publication Date
WO2022001305A1 true WO2022001305A1 (zh) 2022-01-06

Family

ID=72760291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/088691 WO2022001305A1 (zh) 2020-06-29 2021-04-21 一种音量调节方法、装置及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN111782173A (zh)
WO (1) WO2022001305A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782173A (zh) * 2020-06-29 2020-10-16 深圳市欢太科技有限公司 一种音量调节方法、装置及计算机可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095378A (zh) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 一种音量调节方法及装置
CN106201311A (zh) * 2016-06-30 2016-12-07 维沃移动通信有限公司 一种调节音量的方法及移动终端
CN106293608A (zh) * 2016-08-24 2017-01-04 惠州Tcl移动通信有限公司 一种基于移动终端触摸屏的音量控制方法及系统
CN106790935A (zh) * 2016-12-21 2017-05-31 上海斐讯数据通信技术有限公司 一种曲面侧屏手机的音量调控方法及系统
CN106850953A (zh) * 2016-12-19 2017-06-13 广东欧珀移动通信有限公司 音量调节方法、装置及终端
CN111782173A (zh) * 2020-06-29 2020-10-16 深圳市欢太科技有限公司 一种音量调节方法、装置及计算机可读存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110095875A1 (en) * 2009-10-23 2011-04-28 Broadcom Corporation Adjustment of media delivery parameters based on automatically-learned user preferences
KR102384284B1 (ko) * 2015-04-01 2022-04-08 삼성전자주식회사 터치스크린을 이용한 볼륨 제어 방법 및 장치
CN105262883A (zh) * 2015-08-31 2016-01-20 努比亚技术有限公司 一种移动终端及其音量调节方法
EP3188501A3 (en) * 2015-12-29 2017-09-20 Beijing Xiaoniao Tingting Technology Co., LTD Method for adjusting ambient sound for earphone, earphone and terminal
CN107277216A (zh) * 2017-05-16 2017-10-20 努比亚技术有限公司 一种音量调节方法、终端以及计算机可读存储介质
CN108650399A (zh) * 2018-03-23 2018-10-12 努比亚技术有限公司 一种音量调节方法、移动终端及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095378A (zh) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 一种音量调节方法及装置
CN106201311A (zh) * 2016-06-30 2016-12-07 维沃移动通信有限公司 一种调节音量的方法及移动终端
CN106293608A (zh) * 2016-08-24 2017-01-04 惠州Tcl移动通信有限公司 一种基于移动终端触摸屏的音量控制方法及系统
CN106850953A (zh) * 2016-12-19 2017-06-13 广东欧珀移动通信有限公司 音量调节方法、装置及终端
CN106790935A (zh) * 2016-12-21 2017-05-31 上海斐讯数据通信技术有限公司 一种曲面侧屏手机的音量调控方法及系统
CN111782173A (zh) * 2020-06-29 2020-10-16 深圳市欢太科技有限公司 一种音量调节方法、装置及计算机可读存储介质

Also Published As

Publication number Publication date
CN111782173A (zh) 2020-10-16

Similar Documents

Publication Publication Date Title
US11632621B2 (en) Method for controlling volume of wireless headset, and computer-readable storage medium
US11706577B2 (en) Systems and methods for equalizing audio for playback on an electronic device
CN110493678B (zh) 耳机的控制方法、装置、耳机和存储介质
JP7290749B2 (ja) 音声通話方法並びにその、装置、電子機器及びコンピュータプログラム
CN110166890B (zh) 音频的播放采集方法、设备及存储介质
WO2017032030A1 (zh) 一种音量调节方法及用户终端
TW200922269A (en) Portable hands-free device with sensor
CN111508510B (zh) 音频处理方法、装置、存储介质及电子设备
CN103929522A (zh) 一种电子设备的控制方法、控制装置及电子设备
CN107483735A (zh) 移动终端的音量控制方法、装置及存储介质和移动终端
EP3044942B1 (en) Determination of ambient sound processed audio information
WO2022001305A1 (zh) 一种音量调节方法、装置及计算机可读存储介质
WO2021098604A1 (zh) 参数调整方法及电子设备
WO2020118496A1 (zh) 音频通路切换方法和装置、可读存储介质、电子设备
CN106101409A (zh) 一种移动终端及控制方法
WO2017032031A1 (zh) 一种音量调节方法及用户终端
CN112394901A (zh) 音频输出模式调整方法、装置及电子设备
JP6408032B2 (ja) 中心に位置するイヤピースを含むモバイルデバイス
CN115379432A (zh) 一种通话控制方法、系统及通信终端
CN105450871A (zh) 一种移动终端通话模式的切换方法和装置
WO2020097927A1 (zh) 通话控制方法和装置、计算机可读存储介质、电子设备
WO2019061292A1 (zh) 一种终端降噪方法及终端
KR20230006494A (ko) 오디오 출력 모드의 전환 방법 및 전자 장비
JP5528570B2 (ja) テレフォニー・アプリケーションを備えるオフィス・システム
CN108377298B (zh) 一种切换接听模式的方法、装置、移动终端和计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21833546

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21833546

Country of ref document: EP

Kind code of ref document: A1