WO2022063166A1 - 参数调节方法、装置及电子设备 - Google Patents

参数调节方法、装置及电子设备 Download PDF

Info

Publication number
WO2022063166A1
WO2022063166A1 PCT/CN2021/119853 CN2021119853W WO2022063166A1 WO 2022063166 A1 WO2022063166 A1 WO 2022063166A1 CN 2021119853 W CN2021119853 W CN 2021119853W WO 2022063166 A1 WO2022063166 A1 WO 2022063166A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
touch
distance
input
change information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/119853
Other languages
English (en)
French (fr)
Inventor
潘慧宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2022063166A1 publication Critical patent/WO2022063166A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a parameter adjustment method, device and electronic device.
  • the user can perform sliding input in the video playback interface, so that the electronic device adjusts certain adjustable parameters (for example, video volume or video playback progress).
  • certain adjustable parameters for example, video volume or video playback progress.
  • the user can perform sliding input in the up and down direction on the right side of the video playback page to adjust the volume of the video; or, the user can perform sliding input in the left and right directions on the video playback page to adjust the progress of the video playback.
  • the purpose of the embodiments of the present application is to provide a parameter adjustment method, device and electronic device, so as to solve the problem that the electronic device has poor flexibility in adjusting adjustable parameters.
  • an embodiment of the present application provides a parameter adjustment method, the method includes: establishing a connection between an electronic device and a touch control device, the touch control device including at least one touch area; Adjustable parameters of the electronic device; wherein, the target change information includes at least one of distance change information and touch change information, and the distance change information is used to indicate the distance between the touch device and the target reference object within a preset time period. The distance change condition of the touch change information is used to indicate the touch input condition detected by at least one touch area.
  • an embodiment of the present application provides a parameter adjustment device, which includes: a connection module and an adjustment module.
  • the connection module is used for establishing a connection between the parameter adjustment device and the touch device
  • the touch device includes at least one touch area.
  • the adjustment module is used to adjust the adjustable parameters of the parameter adjustment device according to the target change information of the touch control device.
  • the target change information includes at least one of distance change information and touch change information
  • the distance change information is used to indicate the distance change between the touch device and the target reference object within a preset time period
  • the touch change The information is used to indicate a touch input condition detected by at least one touch area.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the electronic device can establish a connection with a touch device including at least one touch area, so that the information used to indicate at least one change in the distance between the touch device and the target reference object within a preset time period can be At least one kind of information in the touch change information of the touch input situation detected in a touch area is used to adjust the adjustable parameters of the electronic device.
  • the electronic device can establish a connection with the touch device including at least one touch area, when the user needs to adjust an adjustable parameter of the electronic device, the user can directly input the touch device, so that the electronic device can At least one of the distance change information between the control device and the target reference object, and the touch change information detected in the touch area, adjust the adjustable parameter, that is, the electronic device can A suitable parameter is determined with reference to the distance change of the object and the touch input detected by the touch area, and the adjustable parameters are adjusted. Therefore, in this application, the electronic device can trigger the adjustment of the electronic device through the target change information of the touch device.
  • the method of adjusting the parameters can avoid the problem that the user cannot trigger the electronic device to adjust the adjustable parameters because it is inconvenient for the user to input on the screen of the electronic device through fingers, so that the electronic device has better flexibility in adjusting the adjustable parameters.
  • FIG. 2 is the second schematic diagram of a parameter adjustment method provided by an embodiment of the present application.
  • FIG. 3 is a third schematic diagram of a parameter adjustment method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a touch pen provided by an embodiment of the present application.
  • FIG. 5 is a fourth schematic diagram of a parameter adjustment method provided by an embodiment of the present application.
  • FIG. 6 is one of the example schematic diagrams of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 7 is the second example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 8 is a fifth schematic diagram of a parameter adjustment method provided by an embodiment of the present application.
  • FIG. 10 is a second schematic structural diagram of a parameter adjustment device provided by an embodiment of the present application.
  • FIG. 11 is one of the schematic diagrams of the hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 12 is the second schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the electronic device may establish a connection with a touch device (such as a stylus) that includes at least one touch area, and each touch area may respectively correspond to an adjustable parameter (such as volume or screen) in the electronic device.
  • a touch device such as a stylus
  • each touch area may respectively correspond to an adjustable parameter (such as volume or screen) in the electronic device.
  • Brightness the user can input the target touch area among the multiple touch areas on the stylus, and move the stylus, so that the electronic device can obtain the touch points within a preset duration according to the user's input.
  • Changes in the distance between the stylus and a reference object (such as the user's body) and the touch input detected by the target touch area so as to determine an adjustable parameter (such as volume) corresponding to the target touch area and the corresponding
  • the control parameter for this adjustable parameter eg volume up or volume down).
  • the user can move the stylus while long pressing the target touch area to change the distance between the stylus and the user, so that the electronic device can detect through the stylus that the touch is within a preset time period
  • the change of the distance between the pen and the user, and the control parameters of the volume are determined according to the change of the distance between the stylus and the user. Therefore, it is possible to adjust the volume by sliding the finger in the video playback interface when the user is inconvenient.
  • the volume is adjusted by inputting the stylus, thereby improving the flexibility of the electronic device to adjust the adjustable parameters.
  • FIG. 1 shows a flowchart of a method for adjusting a parameter provided by an embodiment of the present application, and the method can be applied to an electronic device.
  • the parameter adjustment method provided in this embodiment of the present application may include the following steps 201 and 202 .
  • Step 201 establishing a connection between the electronic device and the touch device.
  • the electronic device can establish a connection with a touch device including at least one touch area, so that the distance between the touch device and the target reference object changes within a preset time period, and the at least one touch
  • the touch input detected by the area adjusts the adjustable parameters of the electronic device.
  • connection manner between the electronic device and the touch control device may be any of the following: wired connection, wireless connection, and the like.
  • Step 202 the electronic device adjusts the adjustable parameters of the electronic device according to the target change information of the touch control device.
  • the above-mentioned target change information includes at least one of distance change information and touch change information, and the distance change information is used to indicate the distance change between the touch device and the target reference object within a preset time period.
  • the touch change information is used to indicate the touch input situation detected by at least one touch area.
  • the electronic device may determine, according to the user's input to the touch control device, the change in the distance between the touch control device and the target reference object within a preset time period, and at least one touch area detects the change in the distance between the touch control device and the target reference object. touch input.
  • the above-mentioned distance change includes any one of the following: the distance between the touch control device and the target reference object becomes farther, the distance between the touch control device and the target reference object becomes closer, the touch The distance between the device and the target reference remains unchanged, etc.
  • the distance change information includes a target change direction and a target change amount
  • the target change direction is used to indicate that the distance between the touch control device and the target reference object increases or decreases.
  • the user can preset the correspondence between multiple distance change information and multiple parameters, so that when the electronic device obtains the distance change information, it can directly determine the target corresponding to the distance change information. parameter.
  • the electronic device may adjust the adjustable parameters of the electronic device through the target adjustment method and the target adjustment parameter value.
  • the above-mentioned adjustable parameters include at least one of the following: volume, screen brightness, screen playback progress, screen playback speed, audio playback progress, audio playback speed, and image size.
  • the above-mentioned target adjustment method may include any of the following: increase volume, decrease volume, increase screen brightness, decrease screen brightness, fast-forward screen playback, fast-forward screen playback, screen playback Speed increase, picture playback speed decrease, image increase, image decrease, etc.
  • An embodiment of the present application provides a parameter adjustment method, in which an electronic device can establish a connection with a touch device including at least one touch area, so that the information and the distance change between the touch device and a target reference object within a preset period of time can be changed. At least one kind of information in the touch change information used to indicate the touch input situation detected by the at least one touch area is used to adjust the adjustable parameters of the electronic device.
  • the electronic device can establish a connection with the touch device including at least one touch area, when the user needs to adjust an adjustable parameter of the electronic device, the user can directly input the touch device, so that the electronic device can At least one of the distance change information between the control device and the target reference object, and the touch change information detected in the touch area, adjust the adjustable parameter, that is, the electronic device can A suitable parameter is determined with reference to the distance change of the object and the touch input detected by the touch area, and the adjustable parameters are adjusted. Therefore, in this application, the electronic device can trigger the adjustment of the electronic device through the target change information of the touch device.
  • the method of adjusting the parameters can avoid the problem that the user cannot trigger the electronic device to adjust the adjustable parameters because it is inconvenient for the user to input on the screen of the electronic device through fingers, so that the electronic device has better flexibility in adjusting the adjustable parameters.
  • the parameter adjustment method provided by the embodiment of the present application may further include the following steps 301 and 302 , and the above Step 202 can be specifically implemented by the following step 202a.
  • Step 301 the electronic device receives a target input to the touch device.
  • the electronic device may receive a user's target input to the touch control device when the target application is running in the foreground.
  • the above-mentioned target input is an input by a user to a target touch area in at least one touch area, and each touch area in the at least one touch area corresponds to an electronic device or a target application respectively.
  • An adjustable parameter of the program is an adjustable parameter of the program.
  • the user may input a target touch area in at least one touch area in the touch device, so that the electronic device can determine the target touch area according to the user's input.
  • the corresponding adjustable parameters so that when the user moves the touch device, the electronic device can determine the target parameters for adjusting the adjustable parameters according to the change in the distance between the touch device and the target reference object within a preset time period.
  • the above-mentioned target application may be any one of the following: a shooting application, a video application, an audio application, and the like.
  • the above-mentioned target input may be any of the following: a user's click input on the target touch area, a user's pressing input on the target touch area, a user's sliding input on the target touch area, etc. .
  • the above target input is the user's input to one touch area in the at least one touch area. If the electronic device detects that the user's input is an input to two or more touch areas (for example, the user wrong input), it can be determined that the input is invalid.
  • the above-mentioned volume can be the volume when the electronic device plays a multimedia file (such as a video file or an audio file), and the electronic device can turn up the device volume or turn down the device volume; the above-mentioned screen playback progress can be understood as the multimedia being played by the electronic device.
  • the current duration of the file the electronic device can adjust the current duration of the multimedia file being played to adjust the screen playback progress (that is, fast-forward or fast-rewind).
  • the electronic device defines the device volume in the form of a percentage, that is, when the device volume is maximum, the device volume is 100%, and when the device is muted, the device volume is 0%; and the electronic device defines the screen brightness in the form of a percentage , that is, when the screen is the brightest, the screen brightness is 100%, and when the screen is the darkest, the screen brightness is 0%; and, the screen playback speed can be any of the following: 0.5 times the playback speed, 1 times the playback speed, 1.5 times the playback speed Playback speed, 2x playback speed, etc.
  • Step 302 The electronic device acquires target change information in response to the target input.
  • the electronic device may, in response to the target input, acquire touch change information detected in the target touch area to determine adjustable parameters corresponding to the target touch area.
  • the user may preset an adjustable parameter in the electronic device corresponding to each touch area in the at least one touch area, so that the electronic device pre-stores each touch area and an adjustable parameter in the electronic device. Correspondence of adjustable parameters.
  • the electronic device may determine the adjustable parameters corresponding to the target touch area from the above-mentioned correspondence.
  • the user when the application is run in the foreground of the electronic device, the user can set an adjustable parameter in the application corresponding to each touch area in at least one touch area, that is, The user can adjust the corresponding relationship between each touch area and an adjustable parameter according to actual needs.
  • the user when the application running in the foreground is a photography application, the user can set the adjustable parameter corresponding to the first touch area to be: image size, and the adjustable parameter corresponding to the second touch area to be: screen Brightness; when the application running in the foreground is a video application or an audio application, the user can set the adjustable parameter corresponding to the first touch area as: volume, and the adjustable parameter corresponding to the second touch area as : Screen playback progress.
  • the electronic device may determine the distance change information according to the user's movement of the touch device.
  • Step 202a the electronic device adjusts the target adjustable parameters of the electronic device according to the target change information of the target touch area.
  • the above-mentioned target adjustable parameters are adjustable parameters corresponding to the target touch area.
  • the electronic device may determine the target parameter according to the target change information, so as to adjust the adjustable parameter corresponding to the target touch area through the target parameter.
  • each touch area in the at least one touch area corresponds to an adjustable parameter of the electronic device, which can be understood as: the user can adjust the electronic
  • An adjustable parameter in the device for example: the first touch area is used to adjust the volume of the electronic device, the second touch area is used to adjust the brightness of the electronic device screen, the third touch area is used to adjust the electronic device in the screen playback progress, etc.
  • the user when the user needs to adjust a certain adjustable parameter of the electronic device, the user can directly input the target to the touch device, so that the electronic device obtains target change information according to the target input, so as to determine that the target to be adjusted can be adjusted.
  • the target adjustable parameters of the electronic device are adjusted according to the target change information, so the electronic device can flexibly and accurately determine the adjustable parameters to be adjusted according to the user's input.
  • the above-mentioned target input includes a first sub-input and a second sub-input
  • the first sub-input is an input to a target touch area in at least one touch area
  • the second sub-input is an input to a target touch area in at least one touch area.
  • the movement input to the touch device; the touch device includes a ranging sensor.
  • the above-mentioned step 302 can be specifically implemented by the following steps 302 a and 302 b.
  • Step 302a the electronic device acquires the first distance and the second distance through the ranging sensor in response to the target input.
  • the first distance is the distance between the touch-control device and the target reference object measured at the first moment
  • the second distance is the distance between the touch-control device and the target reference object measured at the second moment distance
  • the first moment is the moment when the target input is detected
  • the second moment is the moment after the preset time period from the first moment.
  • the above-mentioned ranging sensor may be any one of the following: a millimeter wave sensor, an ultrasonic sensor, an infrared sensor, and the like.
  • the timing function when the electronic device detects the user's target input, the timing function can be turned on, so as to obtain the distance between the touch device and the target reference object while the electronic device is timing.
  • the electronic device when the electronic device determines that the input feature information of the target input matches the preset feature information, the electronic device may run a ranging sensor to measure the distance between the touch device and the target reference object. .
  • the electronic device may acquire the distance acquired for the first time (that is, the first distance) among all the distances acquired by the ranging sensor within the preset duration, and the distance acquired for the last time (that is, the first distance). two distances).
  • the above-mentioned first sub-input and second sub-input may be a continuous input, and the first sub-input may be a user's long-press input on a target touch area in the touch device,
  • the second sub-input may be an input to the touch device while the user performs a long-press input on the target touch area.
  • first sub-input and second sub-input may be a continuous input, which can be understood as: between the first sub-input and the second sub-input, the user does not perform any other input.
  • the touch device is a stylus pen as an example for description.
  • the stylus 10 includes a pen tip 11 , a pen body 12 and a pen cap 13 , wherein the pen tip 11 is used for Input is performed on the screen of the electronic device.
  • the pen body 12 includes a first touch area 14 and a second touch area 15.
  • the first touch area 14 and the second touch area 15 are used for user input to trigger
  • the electronics adjust the adjustable parameters.
  • the pen body 12 includes a first pressure sensor 16 and a second pressure sensor 17 , wherein the first pressure sensor 16 and the second pressure sensor 17 are included in the pen body 12 .
  • a pressure sensor 16 corresponds to the first touch area 14
  • a second pressure sensor 17 corresponds to the second touch area 15 .
  • a third pressure sensor 18 is included in the pen tip 11, and the third pressure sensor 18 is used to obtain the input feature corresponding to the input of the pen tip 11 on the screen of the electronic device, and the pen body 12 also includes a ranging sensor 19, The distance measuring sensor 19 is used to detect the distance between the stylus 10 and the reference object.
  • Step 302b the electronic device acquires distance change information according to the first distance and the second distance.
  • the above-mentioned distance change information includes a target change direction and a target change amount, and the target change direction is used to indicate that the distance between the touch control device and the target reference object increases or decreases.
  • the electronic device may determine the difference between the first distance and the second distance, so as to determine the distance change information according to the difference.
  • the electronic device may determine that the distance between the touch control device and the target reference object increases, and when the first distance and the second distance are greater, the distance between the touch control device and the target reference object becomes larger.
  • the electronic device can determine that the distance between the touch device and the target reference object becomes smaller, and when the difference between the first distance and the second distance is zero, the electronic device can determine that the touch device The distance to the target reference does not change.
  • the above-mentioned distance change information may be any of the following: the distance between the touch device and the target reference object becomes smaller and the value of the distance change, the distance between the touch device and the target reference object. The value of the distance increases and the distance changes, and the distance between the touch device and the target reference object does not change.
  • the electronic device may determine the target adjustment method in the target parameter according to the target change direction in the distance change information, and determine the target adjustment parameter value in the target parameter according to the target change amount in the distance change information.
  • the electronic device can measure the first distance between the touch device and the target reference object at the first moment through the distance measuring sensor when the user inputs the target to the touch device, and measure the first distance between the touch device and the target reference at the second moment.
  • the second distance between the touch device and the target reference object so as to determine the distance change information according to the first distance and the second distance, so that the electronic device can accurately determine the distance between the touch device and the reference object within the preset time period. distance changes.
  • step 302 b may be specifically implemented by the following step 302 b 1 .
  • Step 302b1 the electronic device obtains the target change direction according to the magnitude relationship between the first distance and the second distance, obtains the target adjustment method according to the target change direction, and obtains the target adjustment parameter value according to the target change amount.
  • different change directions correspond to different adjustment methods
  • different change ranges correspond to different adjustment parameter values
  • one change range corresponds to at least one change
  • the electronic device determines that the target adjustment method is to increase the target parameter or decrease the target parameter; when the target changes The direction is that the distance between the touch device and the target reference object becomes smaller, and the electronic device determines that the target adjustment method is to increase the target parameter or decrease the target parameter; wherein, when the target changing direction is different, the target adjustment method is different.
  • the above target parameters for raising the target can be understood as: increasing the volume, increasing the screen brightness, fast-forwarding the screen playback, increasing the screen playback speed, increasing the image, etc.; the above-mentioned target parameters for lowering can be understood as: reducing the volume, The screen brightness decreases, the screen playback rewinds, the screen playback speed decreases, and the image decreases.
  • the above-mentioned target change amount is a numerical value of the distance change between the touch control device and the target reference object.
  • the user can preset the corresponding relationship between each change direction and an adjustment method, and the corresponding relationship between each change amount and the adjustment parameter value, so that the electronic device can determine the target adjustment according to the target change direction. method, and determine the target adjustment parameter value according to the target change amount.
  • the electronic device may perform any one of the following: increasing the distance between the touch device and the first value.
  • the volume of the corresponding second value for example, 1%
  • the progress of the screen playback fast-forwarding the second value the screen playback speed increasing by a third value (for example, 0.1 times) corresponding to the first value, the screen increasing the brightness of the second value,
  • the image is increased by a second value, etc.
  • the electronic device can perform any of the following: decrease the volume of the second value, and rewind the screen playback by the second value.
  • the progress of the numerical value, the screen playback speed is reduced by the third numerical value, the screen is reduced by the second numerical value of brightness, the image is reduced by the second numerical value, etc.
  • the electronic device is a mobile phone as an example for description.
  • the mobile phone displays the video playback interface 20
  • the user can input the first touch area 14 on the stylus 10 , so that the mobile phone can pass the first pressure
  • the sensor acquires the user's input to determine an adjustable parameter (eg, device volume) corresponding to the first touch area 14, and then the user holds the stylus 10 and keeps the stylus 10 away from the user's body (ie, perform a second sub- input) 10cm, so that the distance measuring sensor 19 can measure the distance between the stylus 10 and the user's body (that is, the reference object), so as to obtain the change of the distance between the stylus 10 and the user's body within a preset time period ( That is, the distance between the stylus 10 and the user's body is increased by 10 cm), so that the mobile phone can control the mobile phone to increase the device volume by 10% according to the distance between the stylus 10 and the user's body
  • the user when the mobile phone displays the photographing interface 30 , the user can input the second touch area 15 on the stylus 10 , so that the mobile phone can The user's input is acquired through the second pressure sensor to determine an adjustable parameter (eg image size) corresponding to the second touch area 15, and then the user holds the stylus 10 and keeps the stylus 10 away from the user's body (ie The second sub-input is performed) 10cm, so that the distance measuring sensor 19 can measure the distance between the stylus 10 and the user's body (ie, the reference object), so as to obtain the distance between the stylus 10 and the user's body within a preset time period.
  • an adjustable parameter eg image size
  • the distance changes that is, the distance between the stylus 10 and the user's body increases by 10 cm
  • the mobile phone can control the preview image displayed in the shooting interface 30 to decrease by 10 cm according to the distance between the stylus 10 and the user's body. 10% smaller.
  • the electronic device may obtain the target change direction according to the magnitude relationship between the first distance and the second distance, so as to obtain the target adjustment method of the adjustable parameters according to the target change direction, and according to the touch device and the target reference
  • the target change amount between objects can be obtained to obtain the target adjustment parameter value of the adjustable parameter, so that the target parameter can be adjusted accurately.
  • the above-mentioned touch control device includes at least one pressure sensor, and each pressure sensor corresponds to a touch control area.
  • each pressure sensor corresponds to a touch control area.
  • the above-mentioned step 302 can be specifically implemented by the following step 302c.
  • Step 302c In response to the target input, the electronic device detects that the input characteristic information of the target input matches the preset characteristic information when the target pressure sensor detects that the touch change information corresponding to the target touch area is determined.
  • the above-mentioned target pressure sensor is a sensor corresponding to the target touch area.
  • a touch area in the touch device includes a pressure sensor, so that when the user inputs an input to the touch area, the pressure sensor can detect the user's input and obtain the corresponding input from the user. input feature information.
  • the electronic device may detect the input feature information of the target input through the target pressure sensor corresponding to the target touch area.
  • the above-mentioned input feature information may include at least one of the following: an input trajectory, an input pressure value, an input duration, and the like.
  • the user may preset the preset feature information corresponding to each touch area, so that when the input feature information of the target input matches the preset feature information corresponding to the target touch area , the electronic device determines the adjustable parameters corresponding to the target touch area.
  • the input feature information of the above target input matches the preset feature information, which can be understood as: the similarity between the input trajectory of the target input and the input trajectory in the preset feature information is greater than or equal to the preset similarity, the target input The difference between the input pressure value and the input pressure value in the preset feature information is less than or equal to the preset pressure value, and the difference between the input duration of the target input and the input duration in the preset feature information is less than or equal to the preset duration.
  • the electronic device can detect the input feature information of the target input through the target pressure sensor, so as to compare the input feature information of the target input with the preset feature information, so that the input feature information of the target input can be compared with the preset feature information.
  • the electronic device can determine whether the input feature information input by the user meets the preset conditions, thereby improving the electronic device to determine the adjustable parameters. accuracy.
  • the execution body may be a parameter adjustment device, or a control module in the parameter adjustment device for executing the parameter adjustment method.
  • the parameter adjusting device provided by the embodiment of the present application is described by taking the parameter adjusting device executing the loading parameter adjusting method as an example.
  • FIG. 9 shows a possible schematic structural diagram of the parameter adjustment device involved in the embodiment of the present application.
  • the parameter adjustment device 70 may include: a connection module 71 and an adjustment module 72 .
  • the connection module 71 is used for establishing a connection between the parameter adjustment device and the touch control device, and the touch control device includes at least one touch control area.
  • the adjustment module 72 is configured to adjust the adjustable parameters of the parameter adjustment device according to the target change information of the touch control device.
  • the target change information includes at least one of distance change information and touch change information
  • the distance change information is used to indicate the distance change between the touch device and the target reference object within a preset time period
  • the touch change The information is used to indicate a touch input condition detected by at least one touch area.
  • the parameter adjustment apparatus 70 may further include: a receiving module 73 and an obtaining module 74 .
  • the receiving module 73 is used for receiving the target input to the touch device.
  • the obtaining module 74 is configured to obtain target change information in response to the target input received by the receiving module 73 .
  • the adjustment module 72 is specifically configured to adjust the target adjustable parameter of the parameter adjustment device according to the target change information of the target touch area; wherein, the target adjustable parameter is an adjustable parameter corresponding to the target touch area.
  • the target input includes a first sub-input and a second sub-input
  • the first sub-input is an input to a target touch area in the at least one touch area
  • the second sub-input is an input to a target touch area in the at least one touch area
  • the movement input of the touch device; the touch device includes a ranging sensor.
  • the obtaining module 74 is specifically configured to obtain the first distance and the second distance through the distance measuring sensor, where the first distance is the distance between the touch control device and the target reference object measured at the first moment, and the second distance is the distance between the touch device and the target reference object measured at the first moment.
  • the distance between the touch device and the target reference object measured at the second moment, the first moment is the moment when the target input is detected, and the second moment is the moment after the preset time period from the first moment; and according to the first moment A distance and a second distance are obtained to obtain distance change information, where the distance change information includes a target change direction and a target change amount, and the target change direction is used to indicate that the distance between the touch device and the target reference object increases or decreases.
  • the obtaining module 74 is specifically configured to obtain the target change direction according to the magnitude relationship between the first distance and the second distance, obtain the target adjustment method according to the target change direction, and according to the target change amount, Obtain the target adjustment parameter value; wherein, different change directions correspond to different adjustment methods, and different change ranges correspond to different adjustment parameter values, and one change range corresponds to at least one change.
  • the touch control device includes at least one pressure sensor.
  • the acquisition module 74 is specifically configured to detect that the input feature information of the target input matches the preset feature information when the target pressure sensor detects that the touch change information corresponding to the target touch area is determined, and the target pressure sensor corresponds to the target touch area. sensor.
  • the adjustable parameters include at least one of the following: volume, screen brightness, screen playback progress, screen playback speed, audio playback progress, audio playback speed, and image size.
  • the parameter adjustment device provided in the embodiment of the present application can implement each process implemented by the parameter adjustment device in the above method embodiments. To avoid repetition, the detailed description is not repeated here.
  • An embodiment of the present application provides a parameter adjustment device. Since an electronic device can establish a connection with a touch device including at least one touch area, when a user needs to adjust an adjustable parameter of the electronic device, the user can directly adjust the touch The device performs input, so that the electronic device can adjust the adjustable parameter according to at least one of the distance change information between the touch device and the target reference object and the touch change information detected by the touch area, that is, The electronic device can determine an appropriate parameter according to the change in the distance of the touch device relative to the same reference object and the touch input detected in the touch area, and adjust the adjustable parameters.
  • the electronic device uses touch
  • the target change information of the device triggers the electronic device to adjust the adjustable parameters, which can avoid the problem that the user cannot input the electronic device through the screen of the electronic device inconveniently and cannot trigger the electronic device to adjust the adjustable parameters, so that the electronic device can adjust the adjustable parameters.
  • the flexibility of adjusting parameters is better.
  • the parameter adjustment device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the parameter adjustment device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • an embodiment of the present application further provides an electronic device M00, comprising a processor M01, a memory M02, a program or instruction stored in the memory M02 and running on the processor M01,
  • an electronic device M00 comprising a processor M01, a memory M02, a program or instruction stored in the memory M02 and running on the processor M01,
  • the program or instruction is executed by the processor M01, each process of the above-mentioned embodiment of the parameter adjustment method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 12 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the radio frequency unit 101 is used for establishing a connection between an electronic device and a touch device, and the touch device includes at least one touch area.
  • the processor 110 is configured to adjust the adjustable parameters of the electronic device according to the target change information of the touch control device.
  • the target change information includes at least one of distance change information and touch change information
  • the distance change information is used to indicate the distance change between the touch device and the target reference object within a preset time period
  • the touch change The information is used to indicate a touch input condition detected by at least one touch area.
  • An embodiment of the present application provides an electronic device. Since the electronic device can establish a connection with a touch device including at least one touch area, when a user needs to adjust a certain adjustable parameter of the electronic device, the user can directly touch the touch device. Input, so that the electronic device can adjust the adjustable parameter according to at least one of the distance change information between the touch device and the target reference object and the touch change information detected by the touch area, that is, the electronic device The device can determine an appropriate parameter according to the change in the distance of the touch device relative to the same reference object and the touch input detected in the touch area, and adjust the adjustable parameters.
  • the electronic device uses the touch device
  • the method of triggering the electronic device to adjust the adjustable parameters can avoid the problem that the user cannot input the electronic device through the screen of the electronic device inconveniently and cannot trigger the electronic device to adjust the adjustable parameters, so that the electronic device can adjust the adjustable parameters.
  • the flexibility of parameters is better.
  • the user input unit 107 is configured to receive target input to the touch device.
  • the processor 110 is configured to acquire target change information in response to the target input.
  • the processor 110 is specifically configured to adjust the target adjustable parameter of the electronic device according to the target change information of the target touch area; wherein, the target adjustable parameter is an adjustable parameter corresponding to the target touch area.
  • the user when the user needs to adjust a certain adjustable parameter of the electronic device, the user can directly input the target to the touch device, so that the electronic device obtains target change information according to the target input, so as to determine that the target to be adjusted can be adjusted.
  • the target adjustable parameters of the electronic device are adjusted according to the target change information, so the electronic device can flexibly and accurately determine the adjustable parameters to be adjusted according to the user's input.
  • the sensor 105 is used to obtain the first distance and the second distance through the distance measuring sensor, where the first distance is the distance between the touch-control device and the target reference object measured at the first moment, and the second distance is the distance between the touch device and the target reference object measured at the second moment.
  • the distance between the touch device and the target reference object measured at the moment, the first moment is the moment when the target input is detected, and the second moment is the moment after the preset time period from the first moment.
  • the processor 110 is further configured to obtain distance change information according to the first distance and the second distance, where the distance change information includes a target change direction and a target change amount, and the target change direction is used to indicate the distance between the touch device and the target reference object. distance increases or decreases.
  • the electronic device can measure the first distance between the touch device and the target reference object at the first moment through the distance measuring sensor when the user inputs the target to the touch device, and measure the first distance between the touch device and the target reference at the second moment.
  • the second distance between the touch device and the target reference object so as to determine the distance change information according to the first distance and the second distance, so that the electronic device can accurately determine the distance between the touch device and the reference object within the preset time period. distance changes.
  • the processor 110 is specifically configured to obtain the target change direction according to the magnitude relationship between the first distance and the second distance, obtain the target adjustment method according to the target change direction, and obtain the target adjustment parameter value according to the target change amount;
  • the change direction of the corresponding to different adjustment methods, and different change range corresponding to different adjustment parameter values, one change range corresponds to at least one change.
  • the electronic device may obtain the target change direction according to the magnitude relationship between the first distance and the second distance, so as to obtain the target adjustment method of the adjustable parameters according to the target change direction, and according to the touch device and the target reference
  • the target change amount between objects can be obtained to obtain the target adjustment parameter value of the adjustable parameter, so that the target parameter can be adjusted accurately.
  • the processor 110 is specifically configured to detect that the input feature information of the target input matches the preset feature information when the target pressure sensor detects that the input feature information of the target input matches the preset feature information, and then determines touch change information corresponding to the target touch area, and the target pressure sensor corresponds to the target touch area. sensor.
  • the electronic device can detect the input feature information of the target input through the target pressure sensor, so as to compare the input feature information of the target input with the preset feature information, so that the input feature information of the target input can be compared with the preset feature information.
  • the electronic device can determine whether the input feature information input by the user meets the preset conditions, thereby improving the electronic device to determine the adjustable parameters. accuracy.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 is used to communicate with the image capture device (such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the parameter adjustment method can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above-mentioned parameter adjustment method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above-mentioned parameter adjustment method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种参数调节方法、装置及电子设备,属于通信技术领域。该方法包括:电子设备与触控装置建立连接,该触控装置包括至少一个触控区域;根据触控装置的目标变化信息,对电子设备的可调节参数进行调节;其中,目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。

Description

参数调节方法、装置及电子设备
相关申请的交叉引用
本申请主张在2020年09月25日在中国提交的中国专利申请号No.202011025193.8的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种参数调节方法、装置及电子设备。
背景技术
通常,用户在通过电子设备观看视频时,用户可以通过在视频播放界面中进行滑动输入,以使得电子设备调节某些可调节的参数(例如视频音量的大小或调节视频播放的进度)。具体的,用户可以在视频播放页面的右侧进行上下方向的滑动输入,以调节视频音量的大小;或者,用户可以在视频播放页面中进行左右方向的滑动输入,以调节视频播放的进度。
然而,上述方法中,用户在调节视频音量的大小或调节视频播放的进度时,用户可能不方便通过手指在视频播放界面中进行滑动输入,因此用户可能无法触发电子设备调节视频音量的大小或调节视频播放的进度,即电子设备调节应用程序的可调节参数的灵活性较差。
发明内容
本申请实施例的目的是提供一种参数调节方法、装置及电子设备,解决电子设备调节可调节参数的灵活性较差的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种参数调节方法,该方法包括:电子设备与触控装置建立连接,该触控装置包括至少一个触控区域;根据触控装置的目标变化信息,对电子设备的可调节参数进行调节;其中,目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。
第二方面,本申请实施例提供了一种参数调节装置,该装置包括:连接模块和调节模块。其中,连接模块,用于参数调节装置与触控装置建立连接,该触控装置包括至少一个触控区域。调节模块,用于根据触控装置的目标变化信息,对参数调节装置的可调节参数进行调节。其中,目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,电子设备可以与包括至少一个触控区域的触控装置建立连接,从而可以根据在预设时长内触控装置与目标参照物之间的距离变化信息和用于指示至少一个触控区域检测到的触控输入情况的触控变化信息中的至少一种信息,对电子设备的可调节参数进行调节。由于电子设备可以与包括至少一个触控区域的触控装置建立连接,从而在用户需求调节电子设备的某个可调节参数时,用户可以直接对触控装置进行输入,以使得电子设备可以根据触控装置与目标参照物之间的距离变化信息、触控区域检测到的触控变化信息中的至少一种信息,对该可调节参数进行调节,即电子设备可以根据触控装置相对于同一个参照物的距离变化情况和触控区域检测到的触控输入情况确定一个合适的参数,对可调节参数进行调节,因此本申请中电子设备通过触控装置的目标变化信息,触发电子设备调节可调节参数的方式,可以避免用户在不方便通过手指在电子设备的屏幕中进行输入,而无法触发电子设备调节可调节参数的问题,从而电子设备调节可调节参数的灵活性较好。
附图说明
图1是本申请实施例提供的一种参数调节方法的示意图之一;
图2是本申请实施例提供的一种参数调节方法的示意图之二;
图3是本申请实施例提供的一种参数调节方法的示意图之三;
图4是本申请实施例提供的一种触控笔的结构示意图;
图5是本申请实施例提供的一种参数调节方法的示意图之四;
图6是本申请实施例提供的一种手机的界面的实例示意图之一;
图7是本申请实施例提供的一种手机的界面的实例示意图之二;
图8是本申请实施例提供的一种参数调节方法的示意图之五;
图9是本申请实施例提供的一种参数调节装置的结构示意图之一;
图10是本申请实施例提供的一种参数调节装置的结构示意图之二;
图11是本申请实施例提供的一种电子设备的硬件结构示意图之一;
图12是本申请实施例提供的一种电子设备的硬件结构示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可 以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的参数调节方法进行详细地说明。
本申请实施例中,电子设备可以与包括至少一个触控区域的触控装置(例如触控笔)建立连接,每个触控区域可以分别对应电子设备中的一个可调节参数(例如音量或屏幕亮度),用户可以通过对该触控笔上的多个触控区域中的目标触控区域进行输入,并移动触控笔,以使得电子设备可以根据用户的输入,获取在预设时长内触控笔与参照物(例如用户的身体)之间的距离变化情况和目标触控区域检测到的触控输入情况,从而确定与该目标触控区域对应的一个可调节参数(例如音量)和对该可调节参数的控制参数(例如调高音量或调低音量)。具体的,用户可以在长按目标触控区域的同时移动触控笔,以改变该触控笔与用户之间的距离,从而电子设备可以通过触控笔检测到在预设时长内该触控笔与用户之间距离的变化情况,并根据触控笔与用户之间距离的变化情况,确定音量的控制参数,因此可以在用户不方便通过手指在视频播放界面中进行滑动输入以调节音量的大小时,通过对触控笔进行输入以调节音量的大小,从而提高了电子设备调节可调节参数的灵活性。
本申请实施例提供一种参数调节方法,图1示出了本申请实施例提供的一种参数调节方法的流程图,该方法可以应用于电子设备。如图1所示,本申请实施例提供的参数调节方法可以包括下述的步骤201和步骤202。
步骤201、电子设备与触控装置建立连接。
本申请实施例中,电子设备可以与包括至少一个触控区域的触控装置建立连接,从而可以根据在预设时长内触控装置与目标参照物之间的距离变化情况,和至少一个触控区域检测到的触控输入情况,对电子设备的可调节参数进行调节。
可选地,本申请实施例中,电子设备与触控装置的连接方式可以为以下任一项:有线连接、无线连接等。
步骤202、电子设备根据触控装置的目标变化信息,对电子设备的可调节参数进行调节。
本申请实施例中,上述目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。
可选地,本申请实施例中,电子设备可以根据用户对触控装置的输入,确定在预设时长内触控装置与目标参照物之间的距离变化情况,以及至少一个触控区域检测到的触控输入情况。
可选地,本申请实施例中,上述距离变化情况包括以下任一项:触控装置与目标参照物之间的距离变远、触控装置与目标参照物之间的距离变近、触控装置与目标参照物之间的距离保持不变等。
可选地,本申请实施例中,上述距离变化信息包括目标变化方向和目标变化量,该目标变化方向用于指示触控装置与目标参照物之间的距离变大或变小。
可选地,本申请实施例中,用户可以预先设置多个距离变化信息与多个参数之间的对应关系,从而在电子设备获取到距离变化信息时,可以直接确定与距离变化信息对应的目 标参数。
可选地,本申请实施例中,电子设备可以通过目标调节方式和目标调节参数值对电子设备的可调节参数进行调节。
可选地,本申请实施例中,上述可调节参数包括以下至少一项:音量、屏幕亮度、画面播放进度、画面播放速度、音频播放进度、音频播放速度、以及图像大小。
可选地,本申请实施例中,上述目标调节方式可以包括以下任一项:增大音量、减小音量、屏幕亮度增加、屏幕亮度减小、画面播放快进、画面播放快退、画面播放速度增加、画面播放速度减小、图像增大、图像减小等。
本申请实施例提供一种参数调节方法,电子设备可以与包括至少一个触控区域的触控装置建立连接,从而可以根据在预设时长内触控装置与目标参照物之间的距离变化信息和用于指示至少一个触控区域检测到的触控输入情况的触控变化信息中的至少一种信息,对电子设备的可调节参数进行调节。由于电子设备可以与包括至少一个触控区域的触控装置建立连接,从而在用户需求调节电子设备的某个可调节参数时,用户可以直接对触控装置进行输入,以使得电子设备可以根据触控装置与目标参照物之间的距离变化信息、触控区域检测到的触控变化信息中的至少一种信息,对该可调节参数进行调节,即电子设备可以根据触控装置相对于同一个参照物的距离变化情况和触控区域检测到的触控输入情况确定一个合适的参数,对可调节参数进行调节,因此本申请中电子设备通过触控装置的目标变化信息,触发电子设备调节可调节参数的方式,可以避免用户在不方便通过手指在电子设备的屏幕中进行输入,而无法触发电子设备调节可调节参数的问题,从而电子设备调节可调节参数的灵活性较好。
可选地,本申请实施例中,结合图1,如图2所示,在上述步骤202之前,本申请实施例提供的参数调节方法还可以包括下述的步骤301和步骤302,并且上述的步骤202具体可以通过下述步骤202a实现。
步骤301、电子设备接收对触控装置的目标输入。
可选地,本申请实施例中,电子设备可以在前台运行目标应用程序的情况下,接收用户对触控装置的目标输入。
可选地,本申请实施例中,上述目标输入为用户对至少一个触控区域中的目标触控区域的输入,该至少一个触控区域中的每个触控区域分别对应电子设备或目标应用程序的一个可调节参数。
可选地,本申请实施例中,用户可以通过对触控装置中的至少一个触控区域中的目标触控区域进行输入,以使得电子设备可以根据用户的输入,确定与该目标触控区域对应的可调节参数,从而在用户移动触控装置时,电子设备可以根据在预设时长内触控装置与目标参照物之间的距离变化情况,确定调节可调节参数的目标参数。
可选地,本申请实施例中,上述目标应用程序可以为以下任一项:拍摄类应用程序、视频类应用程序、音频类应用程序等。
可选地,本申请实施例中,上述目标输入可以为以下任一项:用户对目标触控区域的点击输入、用户对目标触控区域的按压输入、用户对目标触控区域的滑动输入等。
需要说明的是,上述目标输入为用户对至少一个触控区域中的一个触控区域的输入,若电子设备检测到用户的输入为对两个或两个以上的触控区域的输入(例如用户的误输入) 时,则可以确定为该输入为无效的输入。
可以理解,上述音量可以为电子设备播放多媒体文件(例如视频文件或音频文件)时的音量,电子设备可以调高设备音量或调低设备音量;上述画面播放进度可以理解为电子设备正在播放的多媒体文件的当前时长,电子设备可以调节正在播放的多媒体文件的当前时长,以调节画面播放进度(即快进或快退);上述图像大小可以理解为用户通过拍摄类应用程序进行拍摄时,拍摄物体在屏幕中显示的大小。
需要说明的是,电子设备以百分比的形式定义设备音量,即当设备音量最大时,设备音量为100%,当设备静音时,设备音量为0%;并且,电子设备以百分比的形式定义屏幕亮度,即当屏幕最亮时,屏幕亮度为100%,当屏幕最暗时,屏幕亮度为0%;以及,画面播放速度可以为以下任一项:0.5倍播放速度、1倍播放速度、1.5倍播放速度、2倍播放速度等。
步骤302、电子设备响应于目标输入,获取目标变化信息。
可选地,本申请实施例中,电子设备可以响应于目标输入,获取目标触控区域检测到的触控变化信息,以确定与目标触控区域对应的可调节参数。
可选地,本申请实施例中,用户可以预先设置至少一个触控区域中的每个触控区域对应的电子设备中的一个可调节参数,以使得电子设备预先保存每个触控区域与一个可调节参数的对应关系。
可选地,本申请实施例中,在用户对目标触控区域进行输入之后,电子设备可以从上述对应关系中确定与目标触控区域对应的可调节参数。
需要说明的是,针对不同的应用程序,在电子设备前台运行该应用程序时,用户均可以设置至少一个触控区域中的每个触控区域对应的该应用程序中的一个可调节参数,即用户可以根据实际需求调整每个触控区域与一个可调节参数的对应关系。
示例性的,在前台运行的应用程序为拍摄类应用程序时,用户可以设置第一个触控区域对应的可调节参数为:图像大小,第二个触控区域对应的可调节参数为:屏幕亮度;在前台运行的应用程序为视频类应用程序或音频类应用程序时,用户可以设置第一个触控区域对应的可调节参数为:音量,第二个触控区域对应的可调节参数为:画面播放进度。
可选地,本申请实施例中,在电子设备确定与目标触控区域对应的可调节参数之后,电子设备可以根据用户对触控装置的移动情况,确定距离变化信息。
步骤202a、电子设备根据目标触控区域的目标变化信息,对电子设备的目标可调节参数进行调节。
本申请实施例中,上述目标可调节参数为与目标触控区域对应的可调节参数。
可选地,本申请实施例中,电子设备可以根据目标变化信息确定目标参数,以通过该目标参数调节目标触控区域对应的可调节参数。
需要说明的是,至少一个触控区域中的每个触控区域分别对应电子设备的一个可调节参数,可以理解为:用户对至少一个触控区域中的一个触控区域进行输入,可以调节电子设备中的一个可调节参数,例如:第一个触控区域用于调节电子设备的音量、第二个触控区域用于调节电子设备屏幕的亮度、第三个触控区域用于调节电子设备中的画面播放进度等。
本申请实施例中,在用户需求调节电子设备的某个可调节参数时,用户可以直接对触 控装置进行目标输入,以使得电子设备根据目标输入获取目标变化信息,以确定待调节的目标可调节参数,从而根据该目标变化信息对电子设备的目标可调节参数进行调节,因此电子设备可以根据用户的输入,灵活准确的确定待调节的可调节参数。
可选地,本申请实施例中,上述目标输入包括第一子输入和第二子输入,该第一子输入为对至少一个触控区域中的目标触控区域的输入,该第二子输入对触控装置的移动输入;上述触控装置包括测距传感器。结合图2,如图3所示,上述步骤302具体可以通过下述的步骤302a和步骤302b实现。
步骤302a、电子设备响应于目标输入,通过测距传感器,获取第一距离和第二距离。
本申请实施例中,上述第一距离为在第一时刻测量的触控装置与目标参照物之间的距离,上述第二距离为在第二时刻测量的触控装置与目标参照物之间的距离,该第一时刻为检测到目标输入的时刻,该第二时刻为从第一时刻开始的预设时长后的时刻。
可选地,本申请实施例中,上述测距传感器可以为以下任一项:毫米波传感器、超声波传感器、红外线传感器等。
可选地,本申请实施例中,在电子设备检测到用户的目标输入的同时,可以开启计时功能,以在电子设备进行计时的同时获取触控装置与目标参照物之间的距离。
可选地,本申请实施例中,在电子设备确定目标输入的输入特征信息与预设特征信息相匹配时,电子设备可以运行测距传感器,以测量触控装置与目标参照物之间的距离。
可选地,本申请实施例中,电子设备可以获取在预设时长内测距传感器获取的全部距离中的第一次获取的距离(即第一距离),与最后一次获取的距离(即第二距离)。
可选地,本申请实施例中,上述第一子输入和第二子输入可以为一个连续的输入,该第一子输入可以为用户对触控装置中的目标触控区域的长按输入,该第二子输入可以为,用户在对目标触控区域进行长按输入的同时,对触控装置的输入。
需要说明的是,上述第一子输入和第二子输入可以为一个连续的输入,可以理解为:在第一子输入和第二子输入之间,用户未进行其他任意的输入。
示例性的,以触控装置为触控笔为例进行说明。如图4中的(A)所示,为本申请实施例提供的一种触控笔的外部结构示意图,触控笔10包括笔尖11、笔体12和笔帽13,其中,笔尖11用于在电子设备的屏幕中进行输入,在笔体12上包括有第一触控区域14和第二触控区域15,第一触控区域14和第二触控区域15用于用户进行输入,以触发电子设备调节可调节参数。如图4中的(B)所示,为本申请实施例提供的一种触控笔的内部结构示意图,在笔体12内包括有第一压力传感器16和第二压力传感器17,其中,第一压力传感器16对应第一触控区域14,第二压力传感器17对应第二触控区域15。并且在笔尖11内包括有第三压力传感器18,该第三压力传感器18用于获取笔尖11在电子设备的屏幕中的输入对应的输入特征,在笔体12内还包括有测距传感器19,该测距传感器19用于检测触控笔10与参照物之间的距离。
步骤302b、电子设备根据第一距离和第二距离,获取距离变化信息。
本申请实施例中,上述距离变化信息包括目标变化方向和目标变化量,该目标变化方向用于指示触控装置与目标参照物之间的距离变大或变小。
可选地,本申请实施例中,电子设备可以确定第一距离和第二距离的差值,以根据该差值确定距离变化信息。
可选地,本申请实施例中,在第一距离和第二距离的差值为正值时,电子设备可以确定触控装置与目标参照物之间的距离变大,在第一距离和第二距离的差值为负值时,电子设备可以确定触控装置与目标参照物之间的距离变小,在第一距离和第二距离的差值为零时,电子设备可以确定触控装置与目标参照物之间的距离没有变化。
可选地,本申请实施例中,上述距离变化信息可以为以下任一项:触控装置与目标参照物之间的距离变小及距离变化的数值、触控装置与目标参照物之间的距离变大及距离变化的数值、触控装置与目标参照物之间的距离无变化。
可选地,本申请实施例中,电子设备可以根据距离变化信息中的目标变化方向确定目标参数中的目标调节方式,并根据距离变化信息中的目标变化量确定目标参数中的目标调节参数值。
本申请实施例中,电子设备可以在用户对触控装置进行目标输入时,通过测距传感器,测量在第一时刻触控装置与目标参照物之间的第一距离,以及测量在第二时刻触控装置与目标参照物之间的第二距离,以根据该第一距离和第二距离确定距离变化信息,从而电子设备可以准确的确定在预设时长内触控装置与参照物之间的距离变化情况。
可选地,本申请实施例中,结合图3,如图5所示,上述步骤302b具体可以通过下述步骤302b1实现。
步骤302b1、电子设备根据第一距离和第二距离的大小关系,获取目标变化方向,并根据目标变化方向,获取目标调节方式,以及根据目标变化量,获取目标调节参数值。
本申请实施例中,不同的变化方向对应不同的调节方式,且不同的变化量范围对应不同的调节参数值,一个变化量范围对应至少一个变化量。
可选地,本申请实施例中,在目标变化方向为触控装置与目标参照物之间的距离变大时,电子设备确定目标调节方式为调高目标参数或调低目标参数;在目标变化方向为触控装置与目标参照物之间的距离变小时,电子设备确定目标调节方式为调高目标参数或调低目标参数;其中,目标变化方向不同时,目标调节方式不同。
需要说明的是,上述调高目标参数可以理解为:增大音量、屏幕亮度增加、画面播放快进、画面播放速度增加、图像增大等;上述调低目标参数可以理解为:减小音量、屏幕亮度减小、画面播放快退、画面播放速度减小、图像减小等。
可选地,本申请实施例中,上述目标变化量为触控装置与目标参照物之间的距离变化的数值。
可选地,本申请实施例中,用户可以预先设置每个变化方向与一个调节方式的对应关系,以及每个变化量与调节参数值的对应关系,从而电子设备可以根据目标变化方向确定目标调节方式,并根据目标变化量,确定目标调节参数值。
可选地,本申请实施例中,在触控装置与目标参照物之间的距离变大第一数值(例如1cm)的情况下,电子设备可以执行以下任一项:增大与第一数值对应的第二数值(例如1%)的音量、画面播放快进第二数值的进度、画面播放速度增加与第一数值对应的第三数值(例如0.1倍)、屏幕增加第二数值的亮度、图像增大第二数值等;当触控装置与目标参照物之间的距离变小第一数值时,电子设备可以执行以下任一项:减小第二数值的音量、画面播放快退第二数值的进度、画面播放速度减小第三数值、屏幕减小第二数值的亮度、图像减小第二数值等。
示例性的,以电子设备为手机为例进行说明。结合图4中的(A),如图6所示,在手机显示视频播放界面20时,用户可以对触控笔10上的第一触控区域14进行输入,以使得手机可以通过第一压力传感器获取用户的输入,以确定与该第一触控区域14对应的一个可调节参数(例如设备音量),然后用户手持触控笔10并使得触控笔10远离用户身体(即进行第二子输入)10cm,从而测距传感器19可以测量触控笔10与用户身体(即参照物)之间的距离,以获取在预设时长内,触控笔10与用户身体之间的距离变化情况(即触控笔10与用户身体之间的距离变大10cm),从而手机可以根据触控笔10与用户身体之间的距离变大10cm,控制手机增大10%的设备音量。
又示例性的,结合图4中的(A),如图7所示,在手机显示拍摄界面30时,用户可以对触控笔10上的第二触控区域15进行输入,以使得手机可以通过第二压力传感器获取用户的输入,以确定与该第二触控区域15对应的一个可调节参数(例如图像大小),然后用户手持触控笔10并使得触控笔10远离用户身体(即进行第二子输入)10cm,从而测距传感器19可以测量触控笔10与用户身体(即参照物)之间的距离,以获取在预设时长内,触控笔10与用户身体之间的距离变化情况(即触控笔10与用户身体之间的距离变大10cm),从而手机可以根据触控笔10与用户身体之间的距离变大10cm,控制拍摄界面30中显示的预览图像减小10%。
本申请实施例中,电子设备可以根据第一距离和第二距离的大小关系,获取目标变化方向,以根据该目标变化方向,获取可调节参数的目标调节方式,以及根据触控装置与目标参照物之间的目标变化量,获取可调节参数的目标调节参数值,从而可以准确的调节目标参数。
可选地,本申请实施例中,上述触控装置包括至少一个压力传感器,每个压力传感器分别对应一个触控区域。结合图2,如图8所示,上述步骤302具体可以通过下述步骤302c实现。
步骤302c、电子设备响应于目标输入,在目标压力传感器检测到目标输入的输入特征信息与预设特征信息匹配,则确定与目标触控区域对应的触控变化信息。
本申请实施例中,上述目标压力传感器为目标触控区域对应的传感器。
可选地,本申请实施例中,触控装置中的一个触控区域包括一个压力传感器,从而在用户对触控区域进行输入时,压力传感器可以检测到用户的输入,并获取用户的输入对应的输入特征信息。
可选地,本申请实施例中,在用户对目标触控区域进行目标输入时,电子设备可以通过与目标触控区域对应的目标压力传感器检测目标输入的输入特征信息。
可选地,本申请实施例中,上述输入特征信息可以包括以下至少一项:输入轨迹、输入压力值、输入时长等。
可选地,本申请实施例中,用户可以预先设置每个触控区域对应的预设特征信息,以在目标输入的输入特征信息与目标触控区域对应的预设特征信息相匹配的情况下,电子设备确定与目标触控区域对应的可调节参数。
需要说明的是,上述目标输入的输入特征信息与预设特征信息匹配,可以理解为:目标输入的输入轨迹与预设特征信息中的输入轨迹的相似度大于或等于预设相似度、目标输入的输入压力值与预设特征信息中的输入压力值的差值小于或等于预设压力值、目标输入 的输入时长与预设特征信息中的输入时长的差值小于或等于预设时长。
本申请实施例中,电子设备可以通过目标压力传感器检测目标输入的输入特征信息,以将目标输入的输入特征信息与预设特征信息作对比,从而可以在目标输入的输入特征信息与预设特征信息匹配时,确定与目标触控区域对应的触控变化信息,从而确定可调节参数,因此电子设备可以通过判断用户输入的输入特征信息是否满足预设条件,从而可以提高电子设备确定可调节参数的准确性。
需要说明的是,本申请实施例提供的参数调节方法,执行主体可以为参数调节装置,或者该参数调节装置中的用于执行参数调节方法的控制模块。本申请实施例中以参数调节装置执行加载参数调节方法为例,说明本申请实施例提供的参数调节装置。
图9示出了本申请实施例中涉及的参数调节装置的一种可能的结构示意图。如图9所示,参数调节装置70可以包括:连接模块71和调节模块72。
其中,连接模块71,用于参数调节装置与触控装置建立连接,该触控装置包括至少一个触控区域。调节模块72,用于根据触控装置的目标变化信息,对参数调节装置的可调节参数进行调节。其中,目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。
在一种可能的实现方式中,结合图9,如图10所示,本申请实施例提供的参数调节装置70还可以包括:接收模块73和获取模块74。其中,接收模块73,用于接收对触控装置的目标输入。获取模块74,用于响应于接收模块73接收的目标输入,获取目标变化信息。调节模块72,具体用于根据目标触控区域的目标变化信息,对参数调节装置的目标可调节参数进行调节;其中,目标可调节参数为与目标触控区域对应的可调节参数。
在一种可能的实现方式中,目标输入包括第一子输入和第二子输入,该第一子输入为对至少一个触控区域中的目标触控区域的输入,该第二子输入为对触控装置的移动输入;触控装置包括测距传感器。获取模块74,具体用于通过测距传感器,获取第一距离和第二距离,该第一距离为在第一时刻测量的触控装置与目标参照物之间的距离,该第二距离为在第二时刻测量的触控装置与目标参照物之间的距离,该第一时刻为检测到目标输入的时刻,该第二时刻为从第一时刻开始的预设时长后的时刻;并根据第一距离和第二距离,获取距离变化信息,该距离变化信息包括目标变化方向和目标变化量,该目标变化方向用于指示触控装置与目标参照物之间的距离变大或变小。
在一种可能的实现方式中,获取模块74,具体用于根据第一距离和第二距离的大小关系,获取目标变化方向,并根据目标变化方向,获取目标调节方式,以及根据目标变化量,获取目标调节参数值;其中,不同的变化方向对应不同的调节方式,且不同的变化量范围对应不同的调节参数值,一个变化量范围对应至少一个变化量。
在一种可能的实现方式中,触控装置包括至少一个压力传感器。获取模块74,具体用于在目标压力传感器检测到目标输入的输入特征信息与预设特征信息匹配,则确定与目标触控区域对应的触控变化信息,该目标压力传感器为目标触控区域对应的传感器。
在一种可能的实现方式中,可调节参数包括以下至少一项:音量、屏幕亮度、画面播放进度、画面播放速度、音频播放进度、音频播放速度、以及图像大小。
本申请实施例提供的参数调节装置能够实现上述方法实施例中参数调节装置实现的 各个过程,为避免重复,详细描述这里不再赘述。
本申请实施例提供一种参数调节装置,由于电子设备可以与包括至少一个触控区域的触控装置建立连接,从而在用户需求调节电子设备的某个可调节参数时,用户可以直接对触控装置进行输入,以使得电子设备可以根据触控装置与目标参照物之间的距离变化信息、触控区域检测到的触控变化信息中的至少一种信息,对该可调节参数进行调节,即电子设备可以根据触控装置相对于同一个参照物的距离变化情况和触控区域检测到的触控输入情况确定一个合适的参数,对可调节参数进行调节,因此本申请中电子设备通过触控装置的目标变化信息,触发电子设备调节可调节参数的方式,可以避免用户在不方便通过手指在电子设备的屏幕中进行输入,而无法触发电子设备调节可调节参数的问题,从而电子设备调节可调节参数的灵活性较好。
本申请实施例中的参数调节装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的参数调节装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
可选地,如图11所示,本申请实施例还提供一种电子设备M00,包括处理器M01,存储器M02,存储在存储器M02上并可在所述处理器M01上运行的程序或指令,该程序或指令被处理器M01执行时实现上述参数调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图12为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,射频单元101,用于电子设备与触控装置建立连接,该触控装置包括至少一个触控区域。
处理器110,用于根据触控装置的目标变化信息,对电子设备的可调节参数进行调节。其中,目标变化信息包括距离变化信息和触控变化信息中的至少一种,该距离变化信息用 于指示在预设时长内触控装置与目标参照物之间的距离变化情况,该触控变化信息用于指示至少一个触控区域检测到的触控输入情况。
本申请实施例提供一种电子设备,由于电子设备可以与包括至少一个触控区域的触控装置建立连接,从而在用户需求调节电子设备的某个可调节参数时,用户可以直接对触控装置进行输入,以使得电子设备可以根据触控装置与目标参照物之间的距离变化信息、触控区域检测到的触控变化信息中的至少一种信息,对该可调节参数进行调节,即电子设备可以根据触控装置相对于同一个参照物的距离变化情况和触控区域检测到的触控输入情况确定一个合适的参数,对可调节参数进行调节,因此本申请中电子设备通过触控装置的目标变化信息,触发电子设备调节可调节参数的方式,可以避免用户在不方便通过手指在电子设备的屏幕中进行输入,而无法触发电子设备调节可调节参数的问题,从而电子设备调节可调节参数的灵活性较好。
可选地,用户输入单元107,用于接收对触控装置的目标输入。
处理器110,用于响应于目标输入,获取目标变化信息。
处理器110,具体用于根据目标触控区域的目标变化信息,对电子设备的目标可调节参数进行调节;其中,目标可调节参数为与目标触控区域对应的可调节参数。
本申请实施例中,在用户需求调节电子设备的某个可调节参数时,用户可以直接对触控装置进行目标输入,以使得电子设备根据目标输入获取目标变化信息,以确定待调节的目标可调节参数,从而根据该目标变化信息对电子设备的目标可调节参数进行调节,因此电子设备可以根据用户的输入,灵活准确的确定待调节的可调节参数。
传感器105,用于通过测距传感器,获取第一距离和第二距离,该第一距离为在第一时刻测量的触控装置与目标参照物之间的距离,该第二距离为在第二时刻测量的触控装置与目标参照物之间的距离,该第一时刻为检测到目标输入的时刻,该第二时刻为从第一时刻开始的预设时长后的时刻。
处理器110,还用于根据第一距离和第二距离,获取距离变化信息,该距离变化信息包括目标变化方向和目标变化量,该目标变化方向用于指示触控装置与目标参照物之间的距离变大或变小。
本申请实施例中,电子设备可以在用户对触控装置进行目标输入时,通过测距传感器,测量在第一时刻触控装置与目标参照物之间的第一距离,以及测量在第二时刻触控装置与目标参照物之间的第二距离,以根据该第一距离和第二距离确定距离变化信息,从而电子设备可以准确的确定在预设时长内触控装置与参照物之间的距离变化情况。
处理器110,具体用于根据第一距离和第二距离的大小关系,获取目标变化方向,并根据目标变化方向,获取目标调节方式,以及根据目标变化量,获取目标调节参数值;其中,不同的变化方向对应不同的调节方式,且不同的变化量范围对应不同的调节参数值,一个变化量范围对应至少一个变化量。
本申请实施例中,电子设备可以根据第一距离和第二距离的大小关系,获取目标变化方向,以根据该目标变化方向,获取可调节参数的目标调节方式,以及根据触控装置与目标参照物之间的目标变化量,获取可调节参数的目标调节参数值,从而可以准确的调节目标参数。
处理器110,具体用于在目标压力传感器检测到目标输入的输入特征信息与预设特征 信息匹配,则确定与目标触控区域对应的触控变化信息,该目标压力传感器为目标触控区域对应的传感器。
本申请实施例中,电子设备可以通过目标压力传感器检测目标输入的输入特征信息,以将目标输入的输入特征信息与预设特征信息作对比,从而可以在目标输入的输入特征信息与预设特征信息匹配时,确定与目标触控区域对应的触控变化信息,从而确定可调节参数,因此电子设备可以通过判断用户输入的输入特征信息是否满足预设条件,从而可以提高电子设备确定可调节参数的准确性。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述参数调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述参数调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可 借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种参数调节方法,所述方法包括:
    电子设备与触控装置建立连接,所述触控装置包括至少一个触控区域;
    根据所述触控装置的目标变化信息,对所述电子设备的可调节参数进行调节;
    其中,所述目标变化信息包括距离变化信息和触控变化信息中的至少一种,所述距离变化信息用于指示在预设时长内所述触控装置与目标参照物之间的距离变化情况,所述触控变化信息用于指示所述至少一个触控区域检测到的触控输入情况。
  2. 根据权利要求1所述的方法,其中,所述根据所述触控装置的目标变化信息,对所述电子设备的可调节参数进行调节之前,所述方法还包括:
    接收对所述触控装置的目标输入;
    响应于所述目标输入,获取所述目标变化信息;
    所述根据所述触控装置的目标变化信息,对所述电子设备的可调节参数进行调节,包括:
    根据目标触控区域的所述目标变化信息,对所述电子设备的目标可调节参数进行调节;
    其中,所述目标可调节参数为与所述目标触控区域对应的可调节参数。
  3. 根据权利要求2所述的方法,其中,所述目标输入包括第一子输入和第二子输入,所述第一子输入为对所述至少一个触控区域中的目标触控区域的输入,所述第二子输入为对所述触控装置的移动输入;所述触控装置包括测距传感器;
    所述获取所述目标变化信息,包括:
    通过所述测距传感器,获取第一距离和第二距离,所述第一距离为在第一时刻测量的所述触控装置与所述目标参照物之间的距离,所述第二距离为在第二时刻测量的所述触控装置与所述目标参照物之间的距离,所述第一时刻为检测到所述目标输入的时刻,所述第二时刻为从所述第一时刻开始的所述预设时长后的时刻;
    根据所述第一距离和所述第二距离,获取所述距离变化信息,所述距离变化信息包括目标变化方向和目标变化量,所述目标变化方向用于指示所述触控装置与所述目标参照物之间的距离变大或变小。
  4. 根据权利要求3所述的方法,其中,所述获取所述距离变化信息,包括:
    根据所述第一距离和所述第二距离的大小关系,获取所述目标变化方向,并根据所述目标变化方向,获取所述目标调节方式,以及根据所述目标变化量,获取所述目标调节参数值;其中,不同的变化方向对应不同的调节方式,且不同的变化量范围对应不同的调节参数值,一个变化量范围对应至少一个变化量。
  5. 根据权利要求2至4中任一项所述的方法,其中,所述触控装置包括至少一个压力传感器;
    所述获取所述目标变化信息,包括:
    在目标压力传感器检测到所述目标输入的输入特征信息与预设特征信息匹配,则确定与所述目标触控区域对应的所述触控变化信息,所述目标压力传感器为所述目标触控区域对应的传感器。
  6. 根据权利要求1所述的方法,其中,所述可调节参数包括以下至少一项:音量、 屏幕亮度、画面播放进度、画面播放速度、音频播放进度、音频播放速度、以及图像大小。
  7. 一种参数调节装置,所述参数调节装置包括:连接模块和调节模块;
    所述连接模块,用于所述参数调节装置与触控装置建立连接,所述触控装置包括至少一个触控区域;
    所述调节模块,用于根据所述触控装置的目标变化信息,对所述参数调节装置的可调节参数进行调节;
    其中,所述目标变化信息包括距离变化信息和触控变化信息中的至少一种,所述距离变化信息用于指示在预设时长内所述触控装置与目标参照物之间的距离变化情况,所述触控变化信息用于指示所述至少一个触控区域检测到的触控输入情况。
  8. 根据权利要求7所述的参数调节装置,其中,所述参数调节装置还包括:接收模块和获取模块;
    所述接收模块,用于接收对所述触控装置的目标输入;
    所述获取模块,用于响应于所述接收模块接收的所述目标输入,获取所述目标变化信息;
    所述调节模块,具体用于根据目标触控区域的所述目标变化信息,对所述参数调节装置的目标可调节参数进行调节;
    其中,所述目标可调节参数为与所述目标触控区域对应的可调节参数。
  9. 根据权利要求8所述的参数调节装置,其中,所述目标输入包括第一子输入和第二子输入,所述第一子输入为对所述至少一个触控区域中的目标触控区域的输入,所述第二子输入为对所述触控装置的移动输入;所述触控装置包括测距传感器;
    所述获取模块,具体用于通过所述测距传感器,获取第一距离和第二距离,所述第一距离为在第一时刻测量的所述触控装置与所述目标参照物之间的距离,所述第二距离为在第二时刻测量的所述触控装置与所述目标参照物之间的距离,所述第一时刻为检测到所述目标输入的时刻,所述第二时刻为从所述第一时刻开始的所述预设时长后的时刻;并根据所述第一距离和所述第二距离,获取所述距离变化信息,所述距离变化信息包括目标变化方向和目标变化量,所述目标变化方向用于指示所述触控装置与所述目标参照物之间的距离变大或变小。
  10. 根据权利要求9所述的参数调节装置,其中,所述获取模块,具体用于根据所述第一距离和所述第二距离的大小关系,获取所述目标变化方向,并根据所述目标变化方向,获取所述目标调节方式,以及根据所述目标变化量,获取所述目标调节参数值;其中,不同的变化方向对应不同的调节方式,且不同的变化量范围对应不同的调节参数值,一个变化量范围对应至少一个变化量。
  11. 根据权利要求8至10中任一项所述的参数调节装置,其中,所述触控装置包括至少一个压力传感器;
    所述获取模块,具体用于在目标压力传感器检测到所述目标输入的输入特征信息与预设特征信息匹配,则确定与所述目标触控区域对应的所述触控变化信息,所述目标压力传感器为所述目标触控区域对应的传感器。
  12. 根据权利要求7所述的参数调节装置,其中,所述可调节参数包括以下至少 一项:音量、屏幕亮度、画面播放进度、画面播放速度、音频播放进度、音频播放速度、以及图像大小。
  13. 一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6中任一项所述的参数调节方法的步骤。
  14. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6中任一项所述的参数调节方法的步骤。
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6中任一项所述的参数调节方法的步骤。
PCT/CN2021/119853 2020-09-25 2021-09-23 参数调节方法、装置及电子设备 Ceased WO2022063166A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011025193.8 2020-09-25
CN202011025193.8A CN112162684A (zh) 2020-09-25 2020-09-25 参数调节方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2022063166A1 true WO2022063166A1 (zh) 2022-03-31

Family

ID=73863964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119853 Ceased WO2022063166A1 (zh) 2020-09-25 2021-09-23 参数调节方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN112162684A (zh)
WO (1) WO2022063166A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640873A (zh) * 2022-03-29 2022-06-17 联想(北京)有限公司 一种控制方法及装置
CN115617170A (zh) * 2022-10-14 2023-01-17 维沃移动通信有限公司 车载设备控制方法和装置
CN115834762A (zh) * 2022-11-01 2023-03-21 深圳市穗晶半导体有限公司 一种距离传感器的控制方法、系统、装置及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162684A (zh) * 2020-09-25 2021-01-01 维沃移动通信有限公司 参数调节方法、装置及电子设备
CN112732214B (zh) * 2021-01-22 2023-01-06 维沃移动通信有限公司 控制方法、电子设备和可读存储介质
CN113630689B (zh) * 2021-08-06 2022-09-16 珠海格力电器股份有限公司 音量控制方法、装置、设备及存储介质
CN113986175A (zh) * 2021-10-29 2022-01-28 北京光启元数字科技有限公司 一种颜色选取方法、装置、电子设备和可读介质
CN114995733B (zh) * 2022-05-26 2025-08-19 维沃移动通信有限公司 参数调节方法、装置、电子设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094613A (zh) * 2015-08-03 2015-11-25 努比亚技术有限公司 终端控制装置及方法
US20170078564A1 (en) * 2008-07-24 2017-03-16 Apple Inc. Image capturing device with touch screen for adjusting camera settings
CN106603906A (zh) * 2016-10-28 2017-04-26 努比亚技术有限公司 拍摄参数调整方法及穿戴式设备
CN110347244A (zh) * 2019-06-10 2019-10-18 努比亚技术有限公司 一种终端及其交互控制方法、计算机可读存储介质
CN110362369A (zh) * 2019-06-06 2019-10-22 努比亚技术有限公司 可穿戴设备操控方法、可穿戴设备及计算机可读存储介质
CN112162684A (zh) * 2020-09-25 2021-01-01 维沃移动通信有限公司 参数调节方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI576771B (zh) * 2012-05-28 2017-04-01 宏碁股份有限公司 透明顯示裝置及其透明度調整方法
CN103064535B (zh) * 2012-12-06 2016-05-11 苏州佳世达电通有限公司 触控笔、触控输入系统及更改触控操作特性的方法
CN110806832A (zh) * 2019-10-24 2020-02-18 维沃移动通信有限公司 一种参数调节方法和电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170078564A1 (en) * 2008-07-24 2017-03-16 Apple Inc. Image capturing device with touch screen for adjusting camera settings
CN105094613A (zh) * 2015-08-03 2015-11-25 努比亚技术有限公司 终端控制装置及方法
CN106603906A (zh) * 2016-10-28 2017-04-26 努比亚技术有限公司 拍摄参数调整方法及穿戴式设备
CN110362369A (zh) * 2019-06-06 2019-10-22 努比亚技术有限公司 可穿戴设备操控方法、可穿戴设备及计算机可读存储介质
CN110347244A (zh) * 2019-06-10 2019-10-18 努比亚技术有限公司 一种终端及其交互控制方法、计算机可读存储介质
CN112162684A (zh) * 2020-09-25 2021-01-01 维沃移动通信有限公司 参数调节方法、装置及电子设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640873A (zh) * 2022-03-29 2022-06-17 联想(北京)有限公司 一种控制方法及装置
CN115617170A (zh) * 2022-10-14 2023-01-17 维沃移动通信有限公司 车载设备控制方法和装置
CN115834762A (zh) * 2022-11-01 2023-03-21 深圳市穗晶半导体有限公司 一种距离传感器的控制方法、系统、装置及存储介质
CN115834762B (zh) * 2022-11-01 2024-04-05 深圳市穗晶半导体有限公司 一种距离传感器的控制方法、系统、装置及存储介质

Also Published As

Publication number Publication date
CN112162684A (zh) 2021-01-01

Similar Documents

Publication Publication Date Title
WO2022063166A1 (zh) 参数调节方法、装置及电子设备
CN106055097B (zh) 一种亮屏控制方法、装置及电子设备
CN106020670B (zh) 一种屏幕点亮控制方法、装置及电子设备
CN107580184A (zh) 一种拍摄方法及移动终端
WO2017032123A1 (zh) 一种视频播放控制方法及装置
CN110908582A (zh) 一种控制方法、触控笔及电子组件
US20240012605A1 (en) Data Processing Method and Mobile Device
CN111897480A (zh) 播放进度调节方法、装置及电子设备
WO2017161803A1 (zh) 一种设置的调节方法和终端
CN110442297A (zh) 分屏显示方法、分屏显示装置及终端设备
WO2018219275A1 (zh) 对焦方法、装置、计算机可读存储介质和移动终端
WO2022111458A1 (zh) 图像拍摄方法和装置、电子设备及存储介质
CN111338489B (zh) 参数调整方法、电子设备
CN112783406B (zh) 操作执行方法、装置和电子设备
CN111246105A (zh) 拍摄方法及电子设备
CN108121486A (zh) 一种图片显示方法及移动终端
CN110505660B (zh) 一种网络速率调整方法及终端设备
CN111443802A (zh) 测量方法及电子设备
CN111443803A (zh) 模式切换方法、装置、存储介质及移动终端
CN112416172A (zh) 电子设备控制方法、装置及电子设备
CN112346571A (zh) 设备操控方法、装置及存储介质
CN112333318A (zh) 按键功能的响应方法、装置及电子设备
CN115437488B (zh) 省电方法、装置、电子设备及介质
CN109618234A (zh) 视频播放控制方法、装置、移动终端及存储介质
CN111027406A (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: 21871535

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21871535

Country of ref document: EP

Kind code of ref document: A1

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

122 Ep: pct application non-entry in european phase

Ref document number: 21871535

Country of ref document: EP

Kind code of ref document: A1