Parameter adjustment method and device, terminal equipment, electronic equipment and storage medium

By obtaining the sliding operation of the terminal device side keys, determining the direction, force and stroke, and realizing parameter adjustment, solving the problem of high difficulty in touch operation display screen and improving user experience.

CN120406758APending Publication Date: 2025-08-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410132388.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

When users use touch to operate the display screen with high accuracy requirements, the operation difficulty is high, resulting in a low operation success rate and a decrease in user experience.

Method used

By obtaining the sliding operation collected by the side keys of the terminal device, the direction, force and stroke of the sliding operation are determined, and the adjustment scene is adjusted according to the current parameter, the parameter adjustment content is determined, and the parameter adjustment is completed.

Benefits of technology

It reduces the difficulty of operation when users adjust parameters and improves user experience. Especially in operations with high accuracy requirements, it has more advantages over the touch-controlled operation of the display screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406758A_ABST
    Figure CN120406758A_ABST
Patent Text Reader

Abstract

The invention relates to a parameter adjustment method and device, terminal equipment, electronic equipment and a storage medium, and the method comprises the steps: obtaining a sliding operation collected by a side key of the terminal equipment, and determining at least one of the direction, the force and the stroke of the sliding operation; according to a current parameter adjustment scene and at least one of the direction, the force and the stroke of the sliding operation, parameter adjustment content is determined, and the parameter adjustment content comprises an adjustment direction and / or an adjustment value; and executing the parameter adjustment content in the current parameter adjustment scene to complete parameter adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of terminal devices, and particularly relates to a parameter adjustment method, apparatus, terminal device, electronic device, and storage medium. Background Art

[0002] In recent years, terminal devices such as smart phones and tablet computers have all been developing towards full-screen to varying degrees, and the screen-to-body ratio is gradually approaching 100%, which greatly improves the screen display effect and facilitates users to view the displayed content. Subsequently, almost all operations of the terminal device need to be completed by touching and operating the display screen; however, in related technologies, when performing operations with relatively high precision requirements through touching and operating the display screen, the operation difficulty is relatively high, resulting in a relatively low operation success rate of users and a decline in the user experience. Summary of the Invention

[0003] To overcome the problems existing in related technologies, embodiments of the present disclosure provide a parameter adjustment method, apparatus, terminal device, electronic device, and storage medium to solve the defects in related technologies.

[0004] According to a first aspect of an embodiment of the present disclosure, a parameter adjustment method is provided, and the method includes:

[0005] Obtain a sliding operation collected by a side key of the terminal device, and determine at least one of a direction, a force, and a stroke of the sliding operation;

[0006] According to a current parameter adjustment scenario and at least one of the direction, the force, and the stroke of the sliding operation, determine parameter adjustment content, where the parameter adjustment content includes an adjustment direction and / or an adjustment value;

[0007] Execute the parameter adjustment content within the current parameter adjustment scenario to complete parameter adjustment.

[0008] In a possible embodiment of the present disclosure, the obtaining a sliding operation collected by a side key of the terminal device includes:

[0009] In response to opposite changes in pressures collected by pressure sensors at both ends of any side key of the terminal device, obtain changes in pressure values collected by the pressure sensors at both ends of the side key.

[0010] In a possible embodiment of the present disclosure, the determining the direction of the sliding operation includes:

[0011] Determine the direction of the sliding operation according to a change trend of the pressures collected by the pressure sensors at both ends of the side key.

[0012] In a possible embodiment of the present disclosure, determining the intensity of the sliding operation includes:

[0013] Determining the intensity of the sliding operation according to the absolute value of the pressure collected by the pressure sensors at both ends of the side key.

[0014] In a possible embodiment of the present disclosure, determining the stroke of the sliding operation includes:

[0015] Determining the stroke of the sliding operation according to the number of side keys of the sliding operation continuously collected by the terminal device.

[0016] In a possible embodiment of the present disclosure, determining the parameter adjustment content according to the current parameter adjustment scenario and at least one of the direction, intensity, and stroke of the sliding operation includes at least one of the following:

[0017] Determining an adjustment value according to the adjustment value mapping relationship in the current parameter adjustment scenario and the intensity and / or stroke of the sliding operation, where the adjustment value mapping relationship includes multiple adjustment values, and the stroke and / or intensity corresponding to each adjustment value;

[0018] Determining the adjustment direction according to the direction of the sliding operation.

[0019] In a possible embodiment of the present disclosure, within the adjustment value mapping relationship, the ratio between the adjustment value and the stroke is directly or inversely proportional to the intensity.

[0020] In a possible embodiment of the present disclosure, the parameter adjustment scenario includes: a picture parameter adjustment scenario, a camera zoom scenario, and a map scale adjustment scenario.

[0021] According to a second aspect of the embodiments of the present disclosure, there is provided a parameter adjustment device, and the device includes:

[0022] An acquisition module, configured to acquire a sliding operation collected by a side key of a terminal device, and determine at least one of the direction, intensity, and stroke of the sliding operation;

[0023] A determination module, configured to determine parameter adjustment content according to the current parameter adjustment scenario and at least one of the direction, intensity, and stroke of the sliding operation, where the parameter adjustment content includes an adjustment direction and / or an adjustment value;

[0024] An adjustment module, configured to execute the parameter adjustment content within the current parameter adjustment scenario to complete parameter adjustment.

[0025] In a possible embodiment of the present disclosure, when the acquisition module is used to acquire a sliding operation collected by a side key of a terminal device, it is used for:

[0026] In response to opposite changes in the pressure trends collected by the pressure sensors at both ends of any side key of the terminal device, obtain the change in the pressure values collected by the pressure sensors at both ends of the side key.

[0027] In a possible embodiment of the present disclosure, when the obtaining module is used to determine the direction of the sliding operation, it is configured to:

[0028] Determine the direction of the sliding operation according to the change trend of the pressure collected by the pressure sensors at both ends of the side key.

[0029] In a possible embodiment of the present disclosure, when the obtaining module is used to determine the intensity of the sliding operation, it is configured to:

[0030] Determine the intensity of the sliding operation according to the absolute value of the pressure collected by the pressure sensors at both ends of the side key.

[0031] In a possible embodiment of the present disclosure, when the obtaining module is used to determine the stroke of the sliding operation, it is configured to:

[0032] Determine the stroke of the sliding operation according to the number of side keys of the sliding operation continuously collected by the terminal device.

[0033] In a possible embodiment of the present disclosure, the determining module is used for at least one of the following:

[0034] According to the adjustment value mapping relationship in the current parameter adjustment scenario, as well as the intensity and / or stroke of the sliding operation, determine the adjustment value, where the adjustment value mapping relationship includes multiple adjustment values, and the stroke and / or intensity corresponding to each adjustment value;

[0035] Determine the adjustment direction according to the direction of the sliding operation.

[0036] In a possible embodiment of the present disclosure, within the adjustment value mapping relationship, the ratio between the adjustment value and the stroke is directly or inversely proportional to the intensity.

[0037] In a possible embodiment of the present disclosure, the parameter adjustment scenarios include: picture parameter adjustment scenario, camera zoom scenario, map scale adjustment scenario.

[0038] According to the third aspect of the embodiments of the present disclosure, there is provided a terminal device, the terminal device having a side key, and the side key includes:

[0039] Keycap;

[0040] Pressure sensors provided in the keycap and located at both ends of the keycap respectively.

[0041] In a possible embodiment of the present disclosure, the arrangement directions of the two pressure sensors within the side key are the same as the arrangement directions of the multiple side keys of the terminal device.

[0042] In a possible embodiment of the present disclosure, the pressure sensor includes a piezoresistive sensor; and / or, piezoresistive material located between the two pressure sensors is further provided within the keycap, and is configured to vibrate after the pressure sensor collects an operation on the side key.

[0043] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer program product, including computer programs / instructions, and when the computer programs / instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0044] According to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, where the electronic device includes a memory and a processor, the memory is configured to store computer instructions that can run on the processor, and the processor is configured to implement the parameter adjustment method described in any of the above embodiments when executing the computer instructions.

[0045] According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method described in any of the above embodiments is implemented.

[0046] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0047] For the parameter adjustment method provided by the embodiments of the present disclosure, by obtaining a sliding operation collected by a side key of a terminal device and determining at least one of the direction, strength, and stroke of the sliding operation; the parameter adjustment content can be determined according to the current parameter adjustment scenario and at least one of the direction, strength, and stroke of the sliding operation, and the parameter adjustment content is executed within the current parameter adjustment scenario to complete the parameter adjustment. That is to say, the user can complete the parameter adjustment by applying a sliding operation to the side key of the terminal device, and can control the direction of parameter adjustment, adjustment value, etc. through the direction, strength, stroke, etc. of the sliding operation, thereby reducing the operation difficulty when the user performs parameter adjustment and improving the user experience; especially when parameter adjustment often requires high operation accuracy, that is, the operation difficulty is high when completing parameter adjustment through the touch operation of the display screen, then the operation method of adjusting parameters by this method has more obvious advantages compared with the method of touching the display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings here are incorporated into the description and form a part of this description, showing embodiments that conform to the present invention and are used together with the description to explain the principles of the present invention.

[0049] Figure 1 It is a schematic structural diagram of a side key shown in an exemplary embodiment of the present disclosure;

[0050] Figure 2 It is a flowchart of a parameter adjustment method shown in an exemplary embodiment of the present disclosure;

[0051] Figure 3 It is a schematic structural diagram of a terminal device shown in an exemplary embodiment of the present disclosure;

[0052] Figures 4A to 4D It is a schematic diagram of a picture parameter adjustment scenario shown in an exemplary embodiment of the present disclosure;

[0053] Figures 5A to 5C It is a schematic diagram of a camera zoom scenario shown in an exemplary embodiment of the present disclosure;

[0054] Figures 6A to 6C It is a schematic diagram of a map scale adjustment scenario shown in an exemplary embodiment of the present disclosure;

[0055] Figure 7 It is a schematic structural diagram of a parameter adjustment device shown in an exemplary embodiment of the present disclosure;

[0056] Figure 8 It is a structural block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. Detailed Description of the Embodiments

[0057] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0058] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a", "the", and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0059] It should be understood that although terms such as first, second, and third may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0060] In recent years, terminal devices such as smart phones and tablet computers have all been developing towards full-screen to varying degrees, and the screen-to-body ratio is gradually approaching 100%, which greatly improves the screen display effect and facilitates users' viewing of the displayed content. Subsequently, almost all operations on the terminal device need to be completed by touching and operating the display screen; however, in related technologies, when performing operations with relatively high precision requirements through touching and operating the display screen, the operation difficulty is relatively high, resulting in a relatively low operation success rate for users and a decline in the user experience.

[0061] Based on this, in a first aspect, at least one embodiment of this disclosure provides a parameter adjustment method, which can be applied to terminal devices with side keys, such as smart phones and tablet computers. Exemplarily, please refer to the attached Figure 1 , the side key includes: a key cap 101, and pressure sensors 102 disposed within the key cap 101 and located at both ends of the key cap respectively. For example, the arrangement direction of the two pressure sensors 102 within the side key is the same as the arrangement direction of multiple side keys of the terminal device. For example, the pressure sensor 102 includes a piezoresistive sensor; and / or, a piezoresistive material 103 is further disposed within the key cap 101 between the two pressure sensors 102 for vibrating after the pressure sensor 102 collects an operation on the side key. For example, an application processor or other microprocessing unit (MCU) of the terminal device sends a voltage signal and a vibration waveform signal to the piezoresistive material to make it vibrate. It should be understood that the side key can be flush with the housing of the terminal device, for example, flush with the side wall of the housing, to increase the integrity of the device appearance and avoid accidental touch of the side key; in addition, the pressure sensor 102 and the piezoresistive material 103 are also connected to other structures (not shown in these structures Figure 1 in the figure) within the terminal device, for example, other structures support the pressure sensor 102 and the piezoresistive material from the side away from the key cap.

[0062] Please refer to the attached Figure 2 , which exemplarily shows the flow of this method, including steps S201 to S203.

[0063] In step S201, obtain the sliding operation collected by the side key of the terminal device, and determine at least one of the direction, strength, and stroke of the sliding operation.

[0064] Exemplarily, obtaining the sliding operation collected by the side key of the terminal device in this step may include: in response to opposite trend changes in the pressures collected by the pressure sensors at both ends of any side key of the terminal device, obtaining the pressure value changes collected by the pressure sensors at both ends of the side key. For example, the pressure value collected by the pressure sensor at the upper end of a certain side key gradually decreases, while the pressure value collected by the pressure sensor at the lower end of this side key gradually increases, that is, the pressures collected by the pressure sensors at both ends change with opposite trends. This is because when the user slides on the side key, pressure is applied to the side key, and both end pressure sensors will collect pressure, but during the sliding process, the position where the force is applied changes, and the two end pressure sensors will change in response to the above changes.

[0065] For example, based on the above way of obtaining the sliding operation, determining the direction of the sliding operation may include: determining the direction of the sliding operation according to the change trend of the pressures collected by the pressure sensors at both ends of the side key. For example, if the pressure collected by the pressure sensor at the upper end of a certain side key gradually decreases, and the pressure value collected by the pressure sensor at the lower end of this side key gradually increases, then it can be determined that the direction of the sliding operation is from top to bottom. In other words, the direction of the sliding operation is: from the end where the pressure sensor with a pressure change trend from large to small is located to the end where the pressure sensor with a pressure change trend from small to large is located.

[0066] For example, based on the above way of obtaining the sliding operation, determining the intensity of the sliding operation may include: determining the intensity of the sliding operation according to the absolute values of the pressures collected by the pressure sensors at both ends of the side key. For example, determining the average value or the weighted summation result of the pressures collected by the pressure sensors at both ends of the side key as the intensity of the sliding operation. Among them, two weight values can be pre-constructed. When performing weighted summation, the larger weight is assigned to the pressure sensor that collects a larger pressure, and the smaller weight is assigned to the pressure sensor that collects a smaller pressure, because the pressure sensor that collects a larger pressure is closer to the pressure application position, and the pressure it collects is closer to the actually applied pressure.

[0067] For example, based on the above way of obtaining the sliding operation, determining the stroke of the sliding operation includes: determining the stroke of the sliding operation according to the number of side keys on which the terminal device continuously collects the sliding operation. It should be understood that the terminal device may have multiple side keys, such as attached Figure 3The volume up key, volume down key, and power key arranged in sequence from top to bottom as shown; thus, the number of side keys that capture a swipe operation can be used to characterize the formation of the swipe operation. It should also be understood that if the swipe directions of the swipe operations captured by two consecutive side keys are the same, the two side keys can be determined to form a swipe; if the swipe directions of the swipe operations captured by two consecutive side keys are opposite, they are respectively determined as two independent swipe operations.

[0068] In step S102, according to the current parameter adjustment scenario, and at least one of the direction, strength, and stroke of the swipe operation, determine the parameter adjustment content, where the parameter adjustment content includes an adjustment direction and / or an adjustment value.

[0069] Among them, the parameter adjustment scenario may include: a picture parameter adjustment scenario, a camera zoom scenario, a map scale adjustment scenario, etc. The picture parameters may be image sharpness, image saturation, image contrast, image brightness, etc. In the camera zoom scenario, the focal length of the camera can be adjusted. In the map scale adjustment scenario, the scale of the map can be zoomed in or out.

[0070] Exemplarily, this step can be executed in the following manner:

[0071] According to the adjustment value mapping relationship in the current parameter adjustment scenario, and the strength and / or stroke of the swipe operation, determine the adjustment value, where the adjustment value mapping relationship includes multiple adjustment values, and the stroke and / or strength corresponding to each adjustment value. Optionally, the adjustment value mapping relationship is used to characterize the ratio between the adjustment value and the stroke at different strengths; within the adjustment value mapping relationship, the ratio between the adjustment value and the stroke is directly or inversely proportional to the strength. Figuratively speaking, the adjustment value mapping relationship can include multiple gears, each gear corresponding to a different strength range, and within each gear, the adjustment value and the stroke are in a gear ratio. For example, the adjustment value mapping relationship includes two gears, respectively called the coarse adjustment gear and the fine adjustment gear. The strength range corresponding to the coarse adjustment gear is the strength range less than a certain threshold. Within the coarse adjustment gear, the adjustment value and the stroke are in a first ratio. The strength range corresponding to the fine adjustment gear is the granularity range not less than a certain threshold. Within the fine adjustment gear, the adjustment value and the stroke are in a second ratio. The first ratio is greater than the second ratio, that is, for the same stroke, the adjustment value corresponding to the coarse adjustment gear is greater than the adjustment value corresponding to the fine adjustment gear. In this way, the user can coarsely adjust the parameters by swiping with a smaller strength, and can also finely adjust the parameters by swiping with a larger strength.

[0072] Determine the adjustment direction according to the direction of the sliding operation. For example, a correspondence between the direction of the sliding operation and the adjustment direction of the parameter (i.e., adjusting larger or adjusting smaller) is pre-established, and the adjustment direction is determined according to the above correspondence in this step. To give a more specific example, in the above correspondence, sliding upward corresponds to adjusting the parameter larger, and sliding downward corresponds to adjusting the parameter smaller; then when the user slides upward, it can be determined that the adjustment direction of the parameter is to adjust larger, and when the user slides downward, it can be determined that the adjustment direction of the parameter is to adjust smaller.

[0073] It should be understood that the parameter adjustment can be achieved by obtaining the adjustment value and the adjustment direction of the parameter adjustment. Based on the above introduction, in a certain parameter adjustment scenario, the user can slide on the side key according to the sliding direction corresponding to the desired adjustment direction and using the sliding force corresponding to the coarse adjustment until approaching the parameter value that the user hopes to reach; then continue to slide on the side key according to the sliding direction corresponding to the desired adjustment direction and using the sliding force corresponding to the fine adjustment until the parameter adjustment is completed, that is, the parameter value that the user hopes to reach is achieved.

[0074] In step S203, execute the parameter adjustment content within the current parameter adjustment scenario to complete the parameter adjustment.

[0075] Exemplarily, in the picture parameter adjustment scenario, the parameters of the picture can be adjusted according to the adjustment direction and adjustment value of the parameter. For example, the picture sharpness is adjusted larger, the picture saturation is adjusted smaller, the picture contrast is adjusted larger, etc. Next, in conjunction with Attached Figure 4A to Attached Figure 4D a more detailed introduction to the specific process of this scenario will be given. Please refer to Attached Figure 4A , which presents the interface when the user views the picture. The user can call the picture beautification function by clicking the edit option in this interface, can send the picture by clicking the share option, and can delete the picture by clicking the delete option; as for the option on the left side at the top of the interface, it can return to the previous interface, and the option on the right side can view more information about the picture. Please refer to Figure 4B , which shows the interface after the user calls the picture beautification function. The user can enter the picture parameter adjustment scenario in this interface. For example, the user can enter the picture sharpness adjustment scenario by clicking the sharpness option, can enter the picture saturation adjustment scenario by clicking the saturation option, and can enter the picture contrast adjustment scenario by clicking the contrast option; as for the cancel option on the left side at the top of the interface, it can return to the previous interface and delete the picture beautification result, and the complete option on the right side can save the picture beautification result. Please refer to Attached Figure 4C , which shows the result after the user makes a coarse adjustment to the picture sharpness. Specifically, the user can slide on at least one side key with the force corresponding to the coarse adjustment, so that the picture sharpness can be adjusted in a larger range (for example, 30) to reach 50. Please refer to AttachedFigure 4D , which shows the result after the user finely tunes the picture sharpness. Specifically, the user can slide on at least one side key with the corresponding intensity of fine tuning, so that the relatively small interval of picture sharpness adjustment can reach 54 from 50.

[0076] Exemplarily again, in the camera zoom scenario, the camera's focal length can be adjusted according to the adjustment direction and adjustment value of the parameter, such as zooming in or out the focal length. Next, in combination with the attached Figure 5A to the attached Figure 5C a more detailed introduction to the specific process of this scenario will be given. Please refer to the attached Figure 5A , which presents the interface when the user starts the camera. The user can turn on / off the flash by clicking the flash option in this interface, can enter the gallery to view images by clicking the gallery option, can complete image shooting and save it to the gallery by clicking the shooting option, and can complete camera switching by clicking the rotation option; as for the options in the upper right corner, more operation options can be retrieved. Please refer to the attached Figure 5B , which presents the result after the user coarsely adjusts the zoom. Specifically, the user can slide on at least one side key with the corresponding intensity of coarse tuning, so that the camera's focal length can become larger in a relatively large interval; however, during the zooming process, the position of the focus frame shifts, so a lens left shift prompt symbol appears in the interface. Please refer to the attached Figure 5C , which presents the result after the user finely adjusts the zoom. Specifically, the user can slide on at least one side key with the corresponding intensity of fine tuning, so that the camera's focal length can become larger in a relatively small interval; at this time, the focal length is appropriate, and the user can complete image shooting by clicking the shooting option.

[0077] Exemplarily again, in the map scale adjustment scenario, the scale of the map can be scaled and adjusted according to the adjustment direction and adjustment value of the parameter, such as zooming in or out the scale between the map and the real world (i.e., zooming the interface of the map). Next, in combination with the attached Figure 6A to the attached Figure 6C a more detailed introduction to the specific process of this scenario will be given. Please refer to the attached Figure 6A , which presents the interface when the user starts the map and searches for a location. The location searched is marked on the map. Please refer to the attached Figure 6B , which presents the result graph after the user coarsely adjusts the map scale. Specifically, the user can slide on at least one side key with the corresponding intensity of coarse tuning, so that the map can be enlarged in a relatively large interval. Please refer to the attached Figure 6B , which presents the result graph after the user finely adjusts the map scale. Specifically, the user can slide on at least one side key with the corresponding intensity of fine tuning, so that the map can be enlarged in a relatively small interval.

[0078] The parameter adjustment method provided by the embodiments of the present disclosure obtains a sliding operation collected by a side key of a terminal device, and determines at least one of the direction, strength, and stroke of the sliding operation; according to the current parameter adjustment scenario and at least one of the direction, strength, and stroke of the sliding operation, the parameter adjustment content can be determined, and the parameter adjustment content is executed within the current parameter adjustment scenario to complete the parameter adjustment. That is to say, the user can complete the parameter adjustment by applying a sliding operation to the side key of the terminal device, and can control the direction of parameter adjustment, the adjustment value, etc. through the direction, strength, and stroke of the sliding operation, thereby reducing the operation difficulty when the user performs parameter adjustment and improving the user experience; especially when parameter adjustment often requires high operation accuracy, that is, the operation difficulty is high when completing parameter adjustment through the touch operation of the display screen, the operation method of adjusting parameters by this method has more obvious advantages compared with the method of touching the display screen.

[0079] In a second aspect, at least one embodiment of the present disclosure provides a terminal device, the terminal device has a side key, please refer to the attached Figure 1 , the side key includes: a keycap 101, and pressure sensors 102 disposed within the keycap 101 and located at both ends of the keycap respectively.

[0080] Exemplarily, the arrangement direction of the two pressure sensors 102 within the side key is the same as the arrangement direction of the multiple side keys of the terminal device.

[0081] Exemplarily, the pressure sensor 102 includes a piezoresistive sensor.

[0082] Exemplarily, a piezoresistive material 103 is further disposed within the keycap 101 between the two pressure sensors 102, and is used to vibrate after the pressure sensors 102 collect an operation on the side key. For example, the application processor or other microprocessing unit (MCU) of the terminal device sends a voltage signal and a vibration waveform signal to the piezoresistive material to make it vibrate.

[0083] It should be understood that the side key can be flush with the housing of the terminal device, for example, flush with the side wall of the housing, to increase the integrity of the device appearance and avoid accidental touch of the side key; in addition, the pressure sensors 102 and the piezoresistive material 103 are also connected to other structures (not shown in these structures) within the terminal device, for example, other structures support the pressure sensors 102 and the piezoresistive material from the side away from the keycap. Figure 1 in the terminal device, for example, other structures support the pressure sensors 102 and the piezoresistive material 103 from the side away from the keycap.

[0084] According to the second aspect of the embodiments of the present disclosure, a parameter adjustment device is provided, please refer to the attached Figure 7 , the device includes:

[0085] An acquisition module 701, configured to acquire a sliding operation collected by a side key of a terminal device, and determine at least one of a direction, a strength, and a stroke of the sliding operation;

[0086] A determination module 702, configured to determine parameter adjustment content according to a current parameter adjustment scenario and at least one of a direction, a strength, and a stroke of the sliding operation, where the parameter adjustment content includes an adjustment direction and / or an adjustment value;

[0087] An adjustment module 703, configured to execute the parameter adjustment content in the current parameter adjustment scenario to complete parameter adjustment.

[0088] In a possible embodiment of the present disclosure, when the acquisition module is configured to acquire a sliding operation collected by a side key of a terminal device, it is configured to:

[0089] In response to a change in the pressure collected by the pressure sensors at both ends of any side key of the terminal device, where the trends of the pressure changes are opposite, acquire the change in the pressure values collected by the pressure sensors at both ends of the side key.

[0090] In a possible embodiment of the present disclosure, when the acquisition module is configured to determine the direction of the sliding operation, it is configured to:

[0091] Determine the direction of the sliding operation according to the change trend of the pressure collected by the pressure sensors at both ends of the side key.

[0092] In a possible embodiment of the present disclosure, when the acquisition module is configured to determine the strength of the sliding operation, it is configured to:

[0093] Determine the strength of the sliding operation according to the absolute value of the pressure collected by the pressure sensors at both ends of the side key.

[0094] In a possible embodiment of the present disclosure, when the acquisition module is configured to determine the stroke of the sliding operation, it is configured to:

[0095] Determine the stroke of the sliding operation according to the number of side keys that continuously collect the sliding operation on the terminal device.

[0096] In a possible embodiment of the present disclosure, the determination module is used for at least one of the following:

[0097] Determine an adjustment value according to an adjustment value mapping relationship in the current parameter adjustment scenario and the strength and / or stroke of the sliding operation, where the adjustment value mapping relationship includes multiple adjustment values and the stroke and / or strength corresponding to each adjustment value;

[0098] Determine the adjustment direction according to the direction of the sliding operation.

[0099] In a possible embodiment of the present disclosure, within the adjustment value mapping relationship, the ratio between the adjustment value and the stroke is directly or inversely proportional to the force.

[0100] In a possible embodiment of the present disclosure, the parameter adjustment scenarios include: picture parameter adjustment scenario, camera zoom scenario, and map scale adjustment scenario.

[0101] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments of the method in the first aspect, and will not be elaborated herein.

[0102] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer program product including computer programs / instructions, which when executed by a processor implement the steps of the method described in any of the above embodiments.

[0103] According to a fifth aspect of the embodiments of the present disclosure, please refer to the attached Figure 8 , which exemplarily shows a block diagram of an electronic device. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0104] Referring to Figure 8 , the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0105] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing element 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0106] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0107] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0108] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0109] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

[0110] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0111] The sensor assembly 814 includes one or more sensors for providing a status assessment of various aspects of the device 800. For example, the sensor assembly 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0112] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0113] In an exemplary embodiment, the device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the parameter adjustment method of the above electronic device.

[0114] In a sixth aspect, in an exemplary embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, and the above instructions can be executed by a processor 820 of the device 800 to complete the parameter adjustment method of the above electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0115] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0116] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A parameter adjustment method, characterized in that, The method includes: Obtaining a sliding operation collected by a side key of a terminal device, and determining at least one of the direction, strength, and stroke of the sliding operation; Determining parameter adjustment content according to the current parameter adjustment scenario and at least one of the direction, strength, and stroke of the sliding operation, where the parameter adjustment content includes an adjustment direction and / or an adjustment value; Performing the parameter adjustment content within the current parameter adjustment scenario to complete the parameter adjustment.

2. The parameter adjustment method according to claim 1, wherein The obtaining of the sliding operation collected by the side key of the terminal device includes: In response to opposite changes in the pressure collected by the pressure sensors at both ends of any side key of the terminal device, obtaining the change in the pressure value collected by the pressure sensors at both ends of the side key.

3. The parameter adjustment method according to claim 2, characterized in that, The determining of the direction of the sliding operation includes: Determining the direction of the sliding operation according to the change trend of the pressure collected by the pressure sensors at both ends of the side key.

4. The parameter adjustment method according to claim 2, characterized in that The determining of the strength of the sliding operation includes: Determining the strength of the sliding operation according to the absolute value of the pressure collected by the pressure sensors at both ends of the side key.

5. The parameter adjustment method according to claim 2, wherein The determining of the stroke of the sliding operation includes: Determining the stroke of the sliding operation according to the number of side keys on which the sliding operation is continuously collected by the terminal device.

6. The parameter adjustment method according to claim 1, characterized in that, The determining of the parameter adjustment content according to the current parameter adjustment scenario and at least one of the direction, strength, and stroke of the sliding operation includes at least one of the following: Determining an adjustment value according to the adjustment value mapping relationship in the current parameter adjustment scenario and the strength and / or stroke of the sliding operation, where the adjustment value mapping relationship includes multiple adjustment values and the stroke and / or strength corresponding to each adjustment value; Determining the adjustment direction according to the direction of the sliding operation.

7. The parameter adjustment method according to claim 6, characterized in that Within the adjustment value mapping relationship, the ratio between the adjustment value and the stroke is directly or inversely proportional to the strength.

8. The parameter adjustment method according to any one of claims 1 to 7, characterized in that, The parameter adjustment scenario includes: a picture parameter adjustment scenario, a camera zoom scenario, and a map scale adjustment scenario.

9. A parameter adjustment device, characterized in that, The device includes: An obtaining module, configured to obtain a sliding operation collected by a side key of a terminal device, and determine at least one of the direction, strength, and stroke of the sliding operation; A determining module, configured to determine parameter adjustment content according to the current parameter adjustment scenario and at least one of the direction, strength, and stroke of the sliding operation, where the parameter adjustment content includes an adjustment direction and / or an adjustment value; An adjustment module, configured to perform the parameter adjustment content within the current parameter adjustment scenario to complete the parameter adjustment.

10. A terminal device, characterized in that, The terminal device has a side key, and the side key includes: A key cap; Pressure sensors disposed within the key cap and located at both ends of the key cap respectively.

11. The terminal device according to claim 10, characterized in that, The arrangement direction of the two pressure sensors within the side key is the same as the arrangement direction of the multiple side keys of the terminal device.

12. The terminal device according to claim 10, wherein The pressure sensor includes a piezoresistive sensor; and / or, a piezoresistive material is further disposed within the key cap between the two pressure sensors for vibrating after the pressure sensor collects an operation on the side key.

13. A computer program product, comprising a computer program / instructions, characterized in that, When the computing program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

14. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory is used to store computer instructions that can run on the processor, and the processor is used to implement the parameter adjustment method according to any one of claims 1 to 8 when executing the computer instructions.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1 to 8.