WO2018024132A1 - 一种基于终端设备的音量调节方法及系统 - Google Patents

一种基于终端设备的音量调节方法及系统 Download PDF

Info

Publication number
WO2018024132A1
WO2018024132A1 PCT/CN2017/094126 CN2017094126W WO2018024132A1 WO 2018024132 A1 WO2018024132 A1 WO 2018024132A1 CN 2017094126 W CN2017094126 W CN 2017094126W WO 2018024132 A1 WO2018024132 A1 WO 2018024132A1
Authority
WO
WIPO (PCT)
Prior art keywords
projection
sliding
volume
effective
screen operation
Prior art date
Application number
PCT/CN2017/094126
Other languages
English (en)
French (fr)
Inventor
陈健强
Original Assignee
捷开通讯(深圳)有限公司
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 捷开通讯(深圳)有限公司 filed Critical 捷开通讯(深圳)有限公司
Publication of WO2018024132A1 publication Critical patent/WO2018024132A1/zh
Priority to US16/261,560 priority Critical patent/US10656904B2/en

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a volume adjustment method and system based on a terminal device.
  • the smart terminal With the continuous development of terminal devices, more and more smart devices have a call function. In addition, in order to prevent accidental touch, the smart terminal will mostly do black screen processing and not respond to the touch. At this time, if the user wants to adjust the volume of the call, it is usually necessary to manually press the up and down volume keys, and over time, reduce the life of the volume button. At the same time, the location of the volume key setting of some terminal devices is not convenient for the user to use, and the mobile phone needs to be removed from the ear to be pressed, resulting in inconvenient call. In addition, the existing terminal device can only adjust the volume of the handset during the call, and cannot adjust the microphone volume. When the volume of the earpiece is adjusted to the maximum, it can only be heard by raising or lowering the speaking sound, and the user's use is inconvenient.
  • the technical problem to be solved by the present invention is to provide a method and system for adjusting the volume of a terminal device according to the deficiencies of the prior art, so as to solve the problem that the existing terminal device can only adjust the call volume through the volume button during the call, and the user can use the volume.
  • the problem is inconvenient.
  • a method for adjusting a volume of a terminal device comprising:
  • the real-time monitoring touch screen is triggered by the sliding screen operation.
  • the sliding screen operation is monitored, the sliding track of the sliding screen operation is acquired, and the sliding track is compared with a preset threshold. When the sliding track is greater than or equal to the preset threshold, determining that the sliding operation is an effective sliding operation;
  • the sliding track is horizontally and vertically Projecting in a straight direction, and calculating the direction and length of the horizontal and vertical projections according to the sliding trajectory;
  • the method for adjusting the volume of the terminal device according to the device, wherein when the sliding screen operation is monitored, acquiring the sliding track of the sliding screen operation specifically includes:
  • the volume adjustment method based on the terminal device wherein the volume adjustment manner corresponding to the projection is obtained according to the preset relationship between the projection and the volume, and the volume is adjusted according to the volume adjustment manner, which specifically includes:
  • the volume adjustment mode corresponding to the effective projection direction is determined according to the correspondence between the projection and the volume adjustment, and the volume is adjusted correspondingly according to the volume adjustment mode.
  • the terminal device-based volume adjustment method wherein the length of the horizontal projection is different from the length of the vertical projection, and an effective projection of the sliding trajectory is determined according to the positive and negative of the difference, wherein
  • the effective projection as a horizontal projection or a vertical projection specifically includes:
  • Determining the length of the horizontal projection from the length of the vertical projection determining that the effective projection is a horizontal projection when the difference is a positive number, and determining that the effective projection is vertical when the difference is a negative number projection.
  • Another method for adjusting the volume of a terminal device includes:
  • the real-time monitoring of the sliding screen generated by the touch screen is triggered, and determining whether the sliding screen operation is an effective sliding operation;
  • the sliding screen operation is an effective sliding screen operation, respectively, the projections of the sliding track in the horizontal direction and the vertical direction are acquired;
  • the terminal device-based volume adjustment method wherein when the terminal device is in a call state, the real-time monitoring of the sliding screen operation triggered by the touch screen being triggered, and determining whether the sliding screen operation is an effective sliding screen operation specifically includes:
  • the real-time monitoring of the touch screen generated by the touch screen is triggered;
  • the method for adjusting the volume of the terminal device according to the device, wherein when the sliding screen operation is monitored, acquiring the sliding track of the sliding screen operation specifically includes:
  • the terminal device-based volume adjustment method wherein when the sliding screen operation is an effective sliding screen operation, respectively acquiring the projection of the sliding track in the horizontal direction and the vertical direction comprises:
  • the sliding track is respectively projected in a horizontal direction and a vertical direction;
  • the direction and length of the horizontal projection and the vertical projection are calculated from the sliding trajectory.
  • the volume adjustment method based on the terminal device wherein the volume adjustment manner corresponding to the projection is obtained according to the preset relationship between the projection and the volume, and the volume is adjusted according to the volume adjustment manner, which specifically includes:
  • the volume adjustment mode corresponding to the effective projection direction is determined according to the correspondence between the projection and the volume adjustment, and the volume is adjusted correspondingly according to the volume adjustment mode.
  • the terminal device-based volume adjustment method wherein the length of the horizontal projection is The length of the vertical projection is made to be different, and the effective projection of the sliding trajectory is determined according to the positive and negative of the difference, wherein the effective projection is a horizontal projection or a vertical projection, and specifically includes:
  • Determining the length of the horizontal projection from the length of the vertical projection determining that the effective projection is a horizontal projection when the difference is a positive number, and determining that the effective projection is vertical when the difference is a negative number projection.
  • a terminal-based volume adjustment system includes:
  • a judging module configured to monitor, in real time, a sliding screen operation triggered by the triggering of the touch screen when the terminal device is in a call state, and determine whether the sliding screen operation is an effective sliding screen operation
  • An acquiring module configured to respectively obtain a projection of the sliding track in a horizontal direction and a vertical direction when the sliding screen operation is an effective sliding operation
  • the adjusting module is configured to adjust the volume according to the preset correspondence between the projection and the volume.
  • the terminal device-based volume adjustment system wherein the determining module specifically includes:
  • the monitoring unit is configured to monitor, in real time, a sliding screen operation triggered by the triggering of the touch screen when the terminal device is in a call state;
  • An acquiring unit configured to acquire a sliding track of the sliding screen operation when the sliding screen operation is monitored
  • the determining unit is configured to compare the sliding track with a preset threshold, and when the sliding track is greater than or equal to the preset threshold, determine that the sliding operation is an effective sliding operation.
  • the terminal device-based volume adjustment system wherein the acquiring unit specifically includes:
  • Obtaining a subunit configured to acquire coordinates of a touch point generated by the sliding screen operation when the sliding screen operation is monitored;
  • a calculation subunit configured to calculate a sliding track corresponding to the sliding screen operation according to the touch point coordinates, wherein the sliding track is a line segment having a starting point and a current point.
  • the terminal device-based volume adjustment system wherein the acquiring module specifically includes:
  • a projection unit configured to project the sliding track into a horizontal direction and a vertical direction respectively when the sliding screen operation is an effective sliding operation
  • a calculation unit for calculating the direction and length of the horizontal projection and the vertical projection according to the sliding trajectory.
  • the terminal device-based volume adjustment system wherein the adjustment module specifically includes:
  • a determining unit configured to make a difference between a length of the horizontal projection and a length of a vertical projection, and determine an effective projection of the sliding trajectory according to the positive or negative of the difference, wherein the effective projection is a horizontal projection or a vertical projection projection;
  • an adjusting unit configured to determine a volume adjustment manner corresponding to the effective projection direction according to a correspondence between the projection and the volume adjustment, and adjust the volume according to the volume adjustment manner.
  • the present invention provides a volume adjustment method and system based on a terminal device, when the terminal device is in a call state, real-time monitoring of the sliding screen operation triggered by the touch screen is triggered, and determining the sliding Whether the screen operation is an effective sliding operation; when the sliding operation is an effective sliding operation, respectively acquiring the projection of the sliding track in the horizontal direction and the vertical direction; according to the preset correspondence between the projection and the volume The volume is adjusted accordingly.
  • the invention adjusts the effective sliding operation by preset setting, and adjusts the volume through the trajectory of the effective sliding screen operation, thereby solving the problem that the existing terminal device can only adjust the call volume through the volume button during the call, which brings inconvenience to the user.
  • FIG. 1 is a flowchart of a preferred implementation of a method for adjusting a volume of a terminal device according to the present invention.
  • FIG. 2 is a schematic structural diagram of a volume adjustment system based on a terminal device provided by the present invention.
  • the present invention provides a method and system for adjusting the volume of a terminal device.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • modules, “components” or “unit” for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se.
  • modules, “components” or “units” can be used in combination.
  • the terminal device can be implemented in various forms.
  • the terminal described in the present invention may include Mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like, and such as digital TVs, desktop computers And so on.
  • Mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like, and such as digital TVs, desktop computers And so on.
  • PDAs Personal Digital Assistants
  • PADs tablets
  • PMPs portable multimedia players
  • navigation devices and the like, and such as digital TVs, desktop computers And so on.
  • configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a flowchart of a preferred embodiment of a method for adjusting a volume of a terminal device according to the present invention. The method includes:
  • the terminal device is in a call state, that is, the terminal device performs a call with other terminal devices having a call function through a call function.
  • the terminal device is in a call state, the slide screen operation generated by the touch screen being triggered is monitored in real time. The sliding operation is generated by a user touching the touch screen.
  • the effective operation is a triggering instruction for triggering the terminal device to perform subsequent adjustment, that is, the terminal device receives the sliding screen operation only when the sliding screen operation is an effective sliding screen operation, and according to the The sliding operation adjusts the volume accordingly.
  • the specific process of determining whether the sliding screen operation is an effective sliding screen operation may be:
  • the real-time monitoring touch flat is triggered by the generated sliding screen operation refers to a real-time monitoring of a sliding screen operation generated by the user sliding on the touch screen. That is to say, the sliding screen operation is a touch operation generated by continuously touching the touch screen.
  • Obtaining a sliding track may be performed by acquiring a touch point generated by the sliding screen, and calculating a sliding track corresponding to the sliding screen operation according to the touch point.
  • S1021 Acquire coordinate of touch point generated by the sliding operation when the sliding operation is monitored.
  • the coordinates of the touch point generated by the sliding screen operation are acquired in real time.
  • the starting point coordinates and the second point coordinates are first acquired, and the starting point coordinates and the second point coordinates are stored, and when the third point coordinates are acquired, the third point coordinates are updated.
  • the second point coordinate has been stored. That is to say, at any time of the sliding screen operation, only the coordinates of the starting point and the coordinates of the current point need to be stored, so that the storage of the corresponding touch point of the terminal device can be reduced, the use of the storage space of the terminal device can be reduced, and the energy consumption can be reduced and improved.
  • the service life of the terminal equipment is to be stored.
  • S1022 Calculate a sliding track corresponding to the sliding screen operation according to the touch point coordinates, wherein the sliding track is a line segment having a starting point and a current point.
  • calculating the sliding track corresponding to the sliding screen operation according to the touch point coordinates refers to calculating the sliding track according to the stored coordinates of the starting point and the coordinates of the current point, that is, the sliding track is a starting point and The line segment formed by the current point.
  • the starting point coordinates are (x1, y1)
  • the current point coordinates are (x2, y2)
  • the current effective sliding trajectory is:
  • comparing the sliding trajectory with the preset threshold refers to comparing the connection line L of the starting point coordinate with the current point coordinate with a preset threshold, and determining the sliding screen operation corresponding to the sliding trajectory. Whether it is an effective operation, this can avoid the erroneous operation caused by the user accidentally touching the touch screen.
  • the preset threshold is a preset threshold value for determining whether the sliding screen operation is an effective sliding screen operation, and when the sliding track is greater than or equal to the preset threshold, determining that the sliding operation is an effective sliding operation. When the sliding track is less than the preset threshold, it is determined that the sliding operation is an invalid sliding operation, and no response is made.
  • the preset threshold may be set by the system by default, or the user may pass according to his own needs. Set the interface of the terminal device to set it yourself, for example, 2.5cm.
  • the difference in the touch points generated by the sliding screen operation, the direction and length of the sliding track may also change correspondingly, and the length may also be reduced. . Therefore, in the embodiment, the determining whether the sliding operation is in the effective sliding operation, when the sliding track is greater than or equal to the preset threshold, determining that the sliding operation is an effective operation.
  • the sliding trajectory is greater than or equal to the preset threshold value, which refers to a sliding trajectory in which the storage sliding trajectory is greater than or equal to the preset threshold value during the sliding screen operation, and the sliding operation is an effective sliding operation. This can reduce the accuracy requirements of the sliding track and is convenient for the user.
  • the sliding screen operation is an effective sliding screen operation
  • the sliding screen operation is explained and the subsequent sliding operation is performed.
  • the subsequent operation is to project the sliding track in the horizontal direction and the vertical direction, and acquire the direction and length of the projection, and adjust the volume according to the direction and the length.
  • the specific can be:
  • the projecting the sliding trajectory into the horizontal direction and the vertical direction respectively refers to projecting a line segment composed of a starting point and a current point into a horizontal direction and a vertical direction, and acquiring a projection of the line segment in a horizontal direction.
  • Direction and length and the direction and length of projection of the line segment in the vertical direction refers to the direction of the projection in the horizontal direction, that is, whether the direction of the line segment obtained by the projection is leftward or rightward, and the direction of the projection in the vertical direction is the judgment. Whether the direction of the projected line segment is upward or downward.
  • the length refers to the length of the line segment resulting from the projection.
  • the volume is adjusted correspondingly according to the direction and length of the horizontal projection and the vertical projection.
  • the volume includes the volume of the earpiece and Microphone volume.
  • S300 Acquire a volume adjustment manner corresponding to the projection according to a preset correspondence between the projection and the volume, and adjust the volume according to the volume adjustment manner.
  • the volume adjustment mode corresponding to the projection corresponding to the projection and the volume is configured to obtain a volume adjustment manner corresponding to the projection according to a preset correspondence between the projection direction and the volume.
  • the volume adjustment mode corresponding to the projection corresponding to the projection and the volume is preset to be:
  • the difference between the length of the acquired horizontal projection and the length of the vertical projection refers to making the difference between the horizontal component length of the sliding trajectory and the vertical component length, and determining whether the horizontal projection is an effective projection or a vertical according to the difference.
  • Straight projection is an effective projection.
  • the horizontal component is an effective projection
  • the vertical component is an effective projection.
  • the length of the horizontal projection is different from the length of the vertical projection
  • the projection change amount of the corresponding direction is selected to perform positive and negative attribute determination, and the result is determined according to the positive and negative attribute and the volume adjustment mode is determined according to the determination result. For example, if ⁇ x is compared with 0, if ⁇ x>0, it is considered to be horizontal right slip; ⁇ x ⁇ 0, which is considered to be horizontal left slip; extraction ⁇ y is compared with 0, if ⁇ y>0, it is considered to be vertical upward slip; ⁇ y ⁇ 0, Think it is a vertical decline.
  • the volume adjustment mode corresponding to the effective projection direction is determined according to the correspondence between the projection and the volume adjustment, and the volume is adjusted correspondingly according to the volume adjustment manner.
  • the correspondence between the projection and the volume adjustment mode may be:
  • the projection is a projection of a sliding track generated by a sliding screen operation in a horizontal direction or a vertical direction, so that the corresponding relationship between the sliding screen operation and the volume adjustment mode can be obtained according to the correspondence between the projection and the volume adjustment mode.
  • it can be:
  • the volume can be adjusted correspondingly by controlling the direction of the sliding operation, such as:
  • the user currently wants to reduce the microphone volume, the user slides left in the horizontal direction, then
  • the current sliding screen of the user wants to increase the volume of the microphone, the user slides rightward in the horizontal direction, then
  • the current sliding screen of the user wants to reduce the volume of the earpiece, the user slides down in the vertical direction, then
  • the current sliding screen of the user wants to increase the volume of the earpiece, the user slides in the vertical direction, then
  • the present invention also provides a volume adjustment system based on a terminal device, as shown in FIG. 2, which includes:
  • the determining module 100 is configured to monitor, in real time, a sliding screen operation triggered by the triggering of the touch screen when the terminal device is in a call state, and determine whether the sliding screen operation is an effective sliding screen operation;
  • the obtaining module 200 is configured to respectively obtain a projection of the sliding track in a horizontal direction and a vertical direction when the sliding screen operation is an effective sliding screen operation,
  • the adjustment module 300 is configured to adjust the volume according to the preset correspondence between the projection and the volume.
  • the terminal device-based volume adjustment system wherein the determining module specifically includes:
  • the monitoring unit is configured to monitor, in real time, a sliding screen operation triggered by the triggering of the touch screen when the terminal device is in a call state;
  • An acquiring unit configured to acquire a sliding track of the sliding screen operation when the sliding screen operation is monitored
  • the determining unit is configured to compare the sliding track with a preset threshold, and when the sliding track is greater than or equal to the preset threshold, determine that the sliding operation is an effective sliding operation.
  • the terminal device-based volume adjustment system wherein the acquiring unit specifically includes:
  • Obtaining a subunit configured to acquire coordinates of a touch point generated by the sliding screen operation when the sliding screen operation is monitored;
  • a calculation subunit configured to calculate a sliding track corresponding to the sliding screen operation according to the touch point coordinates, wherein the sliding track is a line segment having a starting point and a current point.
  • the terminal device-based volume adjustment system wherein the acquiring module specifically includes:
  • a projection unit configured to project the sliding track into a horizontal direction and a vertical direction respectively when the sliding screen operation is an effective sliding operation
  • a calculation unit for calculating the direction and length of the horizontal projection and the vertical projection according to the sliding trajectory.
  • the terminal device-based volume adjustment system wherein the adjustment module specifically includes:
  • a determining unit configured to make a difference between a length of the horizontal projection and a length of a vertical projection, and determine an effective projection of the sliding trajectory according to the positive or negative of the difference, wherein the effective projection is a horizontal projection or a vertical projection projection;
  • an adjusting unit configured to determine a volume adjustment manner corresponding to the effective projection direction according to a correspondence between the projection and the volume adjustment, and adjust the volume according to the volume adjustment manner.
  • the disclosed systems and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: 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, and the like, which can store program codes. quality.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种基于终端设备的音量调节方法及系统,当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影;根据预设所述投影与音量的对应关系对音量进行相应调节。本发明通过预设设置有效滑屏操作,通过所述有效滑屏操作的轨迹调节音量,解决了现有终端设备在通话时仅能通过音量按键调节通话音量,给用户使用带来不便的问题。

Description

一种基于终端设备的音量调节方法及系统 【技术领域】
本发明涉及智能终端技术领域,特别涉及一种基于终端设备的音量调节方法及系统。
【背景技术】
随着终端设备的不断发展,越来越多的智能设备具有通话功能。并且智能终端在通话时为了防止误触,多多数会做黑屏处理,对触摸不响应。此时如果用户想要调节通话音量,通常需要通过手动按上下音量键来实现,久而久之,降低音量按键使用寿命。同时,存在某些终端设备的音量键设置的位置不便于用户使用,需要把手机从耳边拿下来才能按到,造成通话不便。另外,现有终端设备在通话过程中只能调节听筒音量,而无法调节麦克音量。当听筒音量调到最大后,仅能通过提高或降低说话声音来让对方听见,用户的使用带来不便。
因而现有技术还有待改进和提高。
【发明内容】
本发明要解决的技术问题在于,针对现有技术的不足,提供一种基于终端设备的音量调节方法及系统,以解决现有终端设备在通话时仅能通过音量按键调节通话音量,给用户使用带来不便的问题。
为了解决上述技术问题,本发明所采用的技术方案如下:
一种基于终端设备的音量调节方法,其包括:
当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹,将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作;
当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖 直方向做投影,根据滑动轨迹计算水平方向和竖直方向投影的方向和长度;
根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
所述基于终端设备的音量调节方法,其中,所述当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹具体包括:
当监听到滑屏操作时,获取所述滑屏操作产生的触摸点坐标;
根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
所述基于终端设备的音量调节方法,其中,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节具体包括:
将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
所述基于终端设备的音量调节方法,其中,所述将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影具体包括:
将所述水平投影的长度与竖直投影的长度做差,当所述差为正数时,确定所述有效投影为水平投影,当所述差为负数时,确定所述有效投影为竖直投影。
另一种基于终端设备的音量调节方法,其包括:
当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;
当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影;
根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式, 并根据所述音量调节方式对音量进行相应调节。
所述基于终端设备的音量调节方法,其中,所述当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作具体包括:
当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作;
当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹;
将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
所述基于终端设备的音量调节方法,其中,所述当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹具体包括:
当监听到滑屏操作时,获取所述滑屏操作产生的触摸点坐标;
根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
所述基于终端设备的音量调节方法,其中,所述当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影包括:
当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
根据滑动轨迹计算水平投影和竖直投影的方向和长度。
所述基于终端设备的音量调节方法,其中,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节具体包括:
将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
所述基于终端设备的音量调节方法,其中,所述将所述水平投影的长度与 竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影具体包括:
将所述水平投影的长度与竖直投影的长度做差,当所述差为正数时,确定所述有效投影为水平投影,当所述差为负数时,确定所述有效投影为竖直投影。
一种基于终端设备的音量调节系统,其包括:
判断模块,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;
获取模块,用于当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影,
调节模块,用于根据预设所述投影与音量的对应关系对音量进行相应调节。
所述基于终端设备的音量调节系统,其中,所述判断模块具体包括:
监听单元,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作;
获取单元,用于当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹;
判定单元,用于将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
所述基于终端设备的音量调节系统,其中,所述获取单元具体包括:
获取子单元,用于当监听到滑屏操作时,获取所述滑屏操作产生的触摸点的坐标;
计算子单元,用于根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
所述基于终端设备的音量调节系统,其中,所述获取模块具体包括:
投影单元,用于当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
计算单元,用于根据滑动轨迹计算水平投影和竖直投影的方向和长度。
所述基于终端设备的音量调节系统,其中,所述调节模块具体包括:
确定单元,用于将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
调节单元,用于根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
有益效果:与现有技术相比,本发明提供了一种基于终端设备的音量调节方法及系统当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影;根据预设所述投影与音量的对应关系对音量进行相应调节。本发明通过预设设置有效滑屏操作,通过所述有效滑屏操作的轨迹调节音量,解决了现有终端设备在通话时仅能通过音量按键调节通话音量,给用户使用带来不便的问题。
【附图说明】
图1为本发明提供的基于终端设备的音量调节方法较佳实施的流程图。
图2为本发明提供的基于终端设备的音量调节系统的结构原理图。
【具体实施方式】
本发明提供一种基于终端设备的音量调节方法及系统,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
本发明中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,模块”、“部件”或“单元”可以混合地使用。
终端设备可以以各种形式来实施。例如,本发明中描述的终端可以包括诸 如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
下面结合附图,通过对实施例的描述,对发明内容作进一步说明。
请参照图1,图1为本发明提供的基于终端设备的音量调节方法的较佳实施例的流程图。所述方法包括:
S100、当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作。
具体地,所述终端设备处于通话状态指的是终端设备通过通话功能与其他具有通话功能的终端设备进行通话。在终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作。所述滑屏操作为用户触摸触摸屏所产生的。
由于终端设备处于通话状态时普遍处于黑屏状态,对于触摸屏被触摸而产生的滑屏操作不进行响应,从而当监听到所述滑屏操作时,还应该判断所述滑屏操作是否为有效操作。所述有效操作为触发所述终端设备进行后续调节的触发指令,也就是说,只有当所述滑屏操作为有效滑屏操作时,所述终端设备才会接收所述滑屏操作,并根据所述滑屏操作对音量进行相应调节。所述判断滑屏操作是否为有效滑屏操作的具体过程可以为:
S101、当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作。
具体地,所述实时监听触摸平被触发所述产生的滑屏操作指的是实时监听用户在触摸屏上滑动而产生的滑屏操作。也就是说,所述滑屏操作为连续触摸触摸屏而产生的触摸操作。
S102、当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹。
具体地,当监听到滑屏操作时,获取所述滑屏操作在触摸屏上形成的滑动 轨迹,所述滑动轨迹为触摸触摸屏形成的触摸轨迹。获取滑动轨迹可以通过获取滑屏所产生的触摸点,根据所述触摸点计算所述滑屏操作对应的滑动轨迹。其具体可以通过如下过程实现:
S1021、当监听到滑屏操作时,获取所述滑屏操作产生的触摸点坐标。
具体,当监听到滑屏操作时,实时获取所述滑屏操作所产生的触摸点的坐标。在实际应用中,当监听到滑屏操作时,首先获取起始点坐标以及第二点坐标,并存储所述起点坐标以及第二点坐标,当获取第三点坐标时,采用第三点坐标更新已存储第二点坐标。也就是说,滑屏操作的任意时刻,仅需存储起始点坐标以及当前点坐标,这样可以减少终端设备对应触摸点的存储,降低对终端设备存储空间的使用,同时还可以降低能耗,提高终端设备的使用寿命。
S1022、根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
具体地,根据所述触摸点坐标计算滑屏操作对应的滑动轨迹指的是根据存储的起始点的坐标和当前点的坐标计算所述滑动轨迹,也就是说,所述滑动轨迹为起始点和当前点构成的线段。这里设起始点坐标为(x1,y1),当前点坐标为(x2,y2),那么当前有效滑动轨迹为:
Figure PCTCN2017094126-appb-000001
S103、将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
具体地,所述将滑动轨迹与预设阈值进行比较指的是将所述起始点坐标与当前点坐标的连线L与预设阈值进行比较,用以判断所述滑动轨迹对应的滑屏操作是否为有效操作,这样可以避免由于用户误碰触摸屏而产生的误操作。
所述预设阈值为预先设置用于判断所述滑屏操作是否为有效滑屏操作的门限值,当滑动轨迹大于等于所述预设阈值时,判定所述滑动操作为有效滑动操作。当滑动轨迹小于预设阈值时,判断所述滑动操作为无效滑动操作,则不做任何响应。所述预设阈值可以是系统默认设置的,也可是用户根据自身需要通 过终端设备的设置界面自行设置的,如,2.5cm等。
进一步,根据滑动轨迹的计算方式中可以看出,所述滑屏操作所产生的触摸点的不同,所述滑动轨迹的方向以及长度也会发生相应的变化,并且所述长度也可能会减小。因此,在本实施例中,所述判断滑动操作是否有效滑动操作中,当滑动轨迹大于等于预设阈值时,则判断滑动操作为有效操作。这里滑动轨迹大于等于预设阈值指的是在滑屏操作过程中存储滑动轨迹大于等于预设阈值的滑动轨迹,则说明所述滑动操作为有效滑动操作。这样可以减少滑动轨迹的精确性要求,方便用户使用。
S200、当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影。
具体地,当所述滑屏操作为有效滑屏操作时,解释所述滑屏操作并对所述滑屏操作进行后续操作。所述后续操作为将所述滑动轨迹在水平方向和竖直方向做投影,并获取所述投影的方向与长度,根据方向与长度对音量进行相应调节。其具体可以为:
S201、当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
S202、根据滑动轨迹计算水平投影和竖直投影的方向和长度。
所述将所述滑动轨迹分别想水平方向和竖直方向做投影指的是将起始点和当前点构成的线段向水平方向和竖直方向做投影,获取所述线段在水平方向上的投影的方向和长度以及所述线段在竖直方向上的投影的方向和长度。这里,所述方向指的投影所得线段的方向,水平方向上的投影的方向即为判断所述投影所得线段的方向为向左还是向右,所述竖直方向上的投影的方向即为判断所述投影所得线段的方向为向上还是向下。所述长度指的是所述投影所得的线段的长度。
在获取到滑动轨迹的水平投影和竖直投影的方向和长度后,根据所述水平投影和竖直投影的方向和长度对音量进行相应调节。所述音量包括听筒音量和 麦克风音量。
S300、根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
具体地,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式指的是根据预设所述投影方向与音量的对应关系获取所述投影对应的音量调节方式。
示例性的,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式具体可以为:
S301、将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影。
具体地,将获取的水平投影的长度与竖直投影的长度做差指的是将所滑动轨迹的水平分量长度与竖直分量长度做差,根据所述差来判断水平投影为有效投影还是竖直投影为有效投影。当所述差为正数时,说明所述水平分量为有效投影,当差为负数时,说明所述竖直分量为有效投影。
进一步,所述水平投影的长度与竖直投影的长度做差可以通过如下过程实现读取存储的起始点坐标和当前点坐标,根据所述起始点坐标和当前点坐标获取滑动轨迹线段,将所述线段在水平和垂直方向上的投影变化量Δx和Δy,其中,所述Δx=x2-x1,Δy=y2-y1。对Δx和Δy取绝对值后进行做差,得到水平投影的长度与竖直投影的进行比较,若|Δx|>|Δy|,认为是水平左右滑;若|Δy|≥|Δx|,认为是垂直上下滑。
进一步,根据比较结果选取对应方向的投影变化量进行正负属性判断,并根据正负属性判断结果并根据所述判断结果确定音量调节方式。例如,提取Δx与0比较,若Δx>0,认为是水平右滑;Δx<0,认为是水平左滑;提取Δy与0比较,若Δy>0,认为是垂直上滑;Δy<0,认为是垂直下滑。
S302、根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
具体地,当确定所述有效投影的方向后,根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
示例性的,所述根据投影与音量调节方式的对应关系可以为:
当投影为水平向左时,减小麦克音量;
当投影为水平向右时,加大麦克音量;
当投影为垂直向下时,减小听筒音量;
当投影为垂直向上时,加大听筒音量。
相应的,所述投影为滑屏操作所产生的滑动轨迹向水平方向或竖直方向的投影,从而根据投影与音量调节方式的对应关系可以得出滑屏操作与音量调节方式的对应关系,其具体可以为:
当水平向左滑动时,减小麦克音量;
当水平向右滑动时,加大麦克音量;
当垂直向下滑动时,减小听筒音量;
当垂直向上滑动时,加大听筒音量。
从而在实际应用中,可以通过控制滑屏操作的方向对音量进行相应的调节,如:
若用户当前滑屏是想减小麦克音量,则用户沿水平方向左滑,则|Δx|>|Δy|,且Δx<0;那么根据滑动轨迹的有效投影方向可以判断是减小麦克音量的需求,故执行减小麦克音量的操作。
若用户当前滑屏是想加大麦克音量,则用户沿水平方向右滑,则|Δx|>|Δy|,且Δx>0;那么根据滑动轨迹的有效投影方向可以判断是加大麦克音量的需求,故执行加大麦克音量的操作。
若用户当前滑屏是想减小听筒音量,则用户沿垂直方向下滑,则|Δy|≥|Δx|,且Δy<0;那么根据滑动轨迹的有效投影方向可以判断是减小听筒音量的需求,故执行减小听筒音量的操作。
若用户当前滑屏是想加大听筒音量,则用户沿垂直方向上滑,则|Δy|≥|Δx|,且Δy>0;那么根据滑动轨迹的有效投影方向可以判断是加大听筒音量的需求,故执行加大听筒音量的操作。
本发明还提供了一种基于终端设备的音量调节系统,如图2所示,其包括:
判断模块100,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;
获取模块200,用于当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影,
调节模块300,用于根据预设所述投影与音量的对应关系对音量进行相应调节。
所述基于终端设备的音量调节系统,其中,所述判断模块具体包括:
监听单元,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作;
获取单元,用于当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹;
判定单元,用于将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
所述基于终端设备的音量调节系统,其中,所述获取单元具体包括:
获取子单元,用于当监听到滑屏操作时,获取所述滑屏操作产生的触摸点的坐标;
计算子单元,用于根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
所述基于终端设备的音量调节系统,其中,所述获取模块具体包括:
投影单元,用于当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
计算单元,用于根据滑动轨迹计算水平投影和竖直投影的方向和长度。
所述基于终端设备的音量调节系统,其中,所述调节模块具体包括:
确定单元,用于将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
调节单元,用于根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
在本发明所提供的实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (15)

  1. 一种基于终端设备的音量调节方法,其中,包括:
    当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹,将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作;
    当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影,根据滑动轨迹计算水平方向和竖直方向投影的方向和长度;
    根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
  2. 根据权利要求1所述基于终端设备的音量调节方法,其中,所述当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹具体包括:
    当监听到滑屏操作时,获取所述滑屏操作产生的触摸点坐标;
    根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
  3. 根据权利要求1所述基于终端设备的音量调节方法,其中,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节具体包括:
    将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
    根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
  4. 根据权利要求3所述基于终端设备的音量调节方法,其中,所述将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影具体包括:
    将所述水平投影的长度与竖直投影的长度做差,当所述差为正数时,确定所述有效投影为水平投影,当所述差为负数时,确定所述有效投影为竖直投影。
  5. 一种基于终端设备的音量调节方法,其中,其包括:
    当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;
    当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影;
    根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
  6. 根据权利要求5所述基于终端设备的音量调节方法,其中,所述当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作具体包括:
    当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作;
    当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹;
    将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
  7. 根据权利要求6所述基于终端设备的音量调节方法,其中,所述当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹具体包括:
    当监听到滑屏操作时,获取所述滑屏操作产生的触摸点坐标;
    根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
  8. 根据权利要求5所述基于终端设备的音量调节方法,其中,所述当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影包括:
    当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
    根据滑动轨迹计算水平投影和竖直投影的方向和长度。
  9. 根据权利要求8所述基于终端设备的音量调节方法,其中,所述根据预设所述投影与音量的对应关系获取所述投影对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节具体包括:
    将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
    根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
  10. 根据权利要求9所述基于终端设备的音量调节方法,其中,所述将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影具体包括:
    将所述水平投影的长度与竖直投影的长度做差,当所述差为正数时,确定所述有效投影为水平投影,当所述差为负数时,确定所述有效投影为竖直投影。
  11. 一种基于终端设备的音量调节系统,其中,包括:
    判断模块,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作,并判断所述滑屏操作是否为有效滑屏操作;
    获取模块,用于当所述滑屏操作为有效滑屏操作时,分别获取所述滑动轨迹在水平方向和竖直方向的投影,
    调节模块,用于根据预设所述投影与音量的对应关系对音量进行相应调节。
  12. 根据权利要求11所述基于终端设备的音量调节系统,其中,所述判断模块具体包括:
    监听单元,用于当终端设备处于通话状态时,实时监听触摸屏被触发所产生的滑屏操作;
    获取单元,用于当监听到滑屏操作时,获取所述滑屏操作的滑动轨迹;
    判定单元,用于将所述滑动轨迹与预设阈值进行比较,当所述滑动轨迹大于等于所述预设阈值时,判定所述滑屏操作为有效滑屏操作。
  13. 根据权利要求12所述基于终端设备的音量调节系统,其中,所述获取单元具体包括:
    获取子单元,用于当监听到滑屏操作时,获取所述滑屏操作产生的触摸点的坐标;
    计算子单元,用于根据所述触摸点坐标计算滑屏操作对应的滑动轨迹,其中,所述滑动轨迹为有起始点与当前点构成的线段。
  14. 根据权利要求11所述基于终端设备的音量调节系统,其中,所述获取模块具体包括:
    投影单元,用于当所述滑屏操作为有效滑屏操作时,将所述滑动轨迹分别向水平方向和竖直方向做投影;
    计算单元,用于根据滑动轨迹计算水平投影和竖直投影的方向和长度。
  15. 根据权利要求14所述基于终端设备的音量调节系统,其中,所述调节模块具体包括:
    确定单元,用于将所述水平投影的长度与竖直投影的长度做差,并根据所述差的正负确定所述滑动轨迹的有效投影,其中,所述有效投影为水平投影或竖直投影;
    调节单元,用于根据投影与音量调节的对应关系确定所述有效投影方向对应的音量调节方式,并根据所述音量调节方式对音量进行相应调节。
PCT/CN2017/094126 2016-08-01 2017-07-24 一种基于终端设备的音量调节方法及系统 WO2018024132A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/261,560 US10656904B2 (en) 2016-08-01 2019-01-29 Method for adjusting sound volume of terminal, terminal, and non-transitory tangible computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610617852.4 2016-08-01
CN201610617852.4A CN106231098B (zh) 2016-08-01 2016-08-01 一种基于终端设备的音量调节方法及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/261,560 Continuation US10656904B2 (en) 2016-08-01 2019-01-29 Method for adjusting sound volume of terminal, terminal, and non-transitory tangible computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2018024132A1 true WO2018024132A1 (zh) 2018-02-08

Family

ID=57535535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094126 WO2018024132A1 (zh) 2016-08-01 2017-07-24 一种基于终端设备的音量调节方法及系统

Country Status (3)

Country Link
US (1) US10656904B2 (zh)
CN (1) CN106231098B (zh)
WO (1) WO2018024132A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231098B (zh) * 2016-08-01 2019-06-04 Tcl移动通信科技(宁波)有限公司 一种基于终端设备的音量调节方法及系统
CN106790935B (zh) * 2016-12-21 2020-05-01 上海斐讯数据通信技术有限公司 一种曲面侧屏手机的音量调控方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931694A (zh) * 2010-07-28 2010-12-29 宇龙计算机通信科技(深圳)有限公司 一种在通话过程中通话音量的控制方法、系统及移动终端
CN103076979A (zh) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 一种在视频播放界面中调节音量的方法、系统及移动终端
CN103558970A (zh) * 2013-10-29 2014-02-05 广东欧珀移动通信有限公司 音量调节方法
US20140253775A1 (en) * 2008-11-28 2014-09-11 Lg Electronics Inc. Control of input/output through touch
CN106231098A (zh) * 2016-08-01 2016-12-14 Tcl移动通信科技(宁波)有限公司 一种基于终端设备的音量调节方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140099992A1 (en) * 2012-10-09 2014-04-10 Qualcomm Mems Technologies, Inc. Ear position and gesture detection with mobile device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140253775A1 (en) * 2008-11-28 2014-09-11 Lg Electronics Inc. Control of input/output through touch
CN101931694A (zh) * 2010-07-28 2010-12-29 宇龙计算机通信科技(深圳)有限公司 一种在通话过程中通话音量的控制方法、系统及移动终端
CN103076979A (zh) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 一种在视频播放界面中调节音量的方法、系统及移动终端
CN103558970A (zh) * 2013-10-29 2014-02-05 广东欧珀移动通信有限公司 音量调节方法
CN106231098A (zh) * 2016-08-01 2016-12-14 Tcl移动通信科技(宁波)有限公司 一种基于终端设备的音量调节方法及系统

Also Published As

Publication number Publication date
CN106231098B (zh) 2019-06-04
US10656904B2 (en) 2020-05-19
US20190155567A1 (en) 2019-05-23
CN106231098A (zh) 2016-12-14

Similar Documents

Publication Publication Date Title
US20220155919A1 (en) Method for Displaying Different Application Shortcuts on Different Screens
JP6251352B2 (ja) 話中回線を処理する方法、装置、およびシステム
US20130194172A1 (en) Disabling automatic display shutoff function using face detection
CN110007816B (zh) 一种显示区域确定方法、终端及计算机可读存储介质
CN107196372B (zh) 充电方法及装置
WO2020098388A1 (zh) 电磁干扰的调整方法及相关产品
WO2020077510A1 (zh) 一种音频业务的参数调整方法和终端
WO2020007116A1 (zh) 分屏窗口调节方法、装置、存储介质和电子设备
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
WO2014086205A1 (zh) 一种触摸屏响应的方法及终端
CN109495573A (zh) 数据传输方法、装置、存储介质及终端
JP6491237B2 (ja) タッチスクリーンのポイント報告を処理するための方法、装置、プログラム、及び記録媒体
WO2018024132A1 (zh) 一种基于终端设备的音量调节方法及系统
CN106293608B (zh) 一种基于移动终端触摸屏的音量控制方法及系统
WO2019072169A1 (zh) 防误触检测方法、装置及终端
US20170147134A1 (en) Method and apparatus for controlling touch-screen sensitivity
CN107645489B (zh) 用于装置之间的呼叫转移的方法及电子装置
WO2021092806A1 (zh) 一种屏幕参数调整方法、装置及终端设备
US20220210260A1 (en) Volume Adjustment Method and Apparatus, Terminal Device, and Storage Medium
CN114996186B (zh) 扩展坞视频输出方法、装置、终端及计算机可读存储介质
CN107704489B (zh) 读写超时的处理方法、装置及计算机可读存储介质
CN107613119B (zh) 一种防止终端误操作的方法、设备及计算机存储介质
CN108092986B (zh) 移动终端的数据传输方法及装置
WO2018201988A1 (zh) 系统信息传输方法、终端及基站
US10540085B2 (en) Microphone control via contact patch

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: 17836314

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 28.06.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17836314

Country of ref document: EP

Kind code of ref document: A1