CN-121979439-A - Parameter adjustment interaction method, device, terminal equipment and storage medium
Abstract
The application is applicable to the technical field of intelligent terminals and provides a parameter adjustment interaction method, a device, terminal equipment and a storage medium, wherein the method comprises the steps of responding to touch operation of a user in a sector interaction area and acquiring position information of a touch point; the method comprises the steps of determining a parameter value of a first parameter based on position information of a touch point and geometric attributes of a fan-shaped interaction area, updating a display state of the first parameter according to the parameter value of the first parameter, and synchronously updating a display state of a second parameter in a user interface, wherein the display state of the second parameter is related to the parameter value of the first parameter. The application can improve the precision and efficiency of parameter adjustment, realize the convenience of multi-parameter adjustment and enhance the consistency of adjustment interactive operation.
Inventors
- LI XINGHAI
Assignees
- 深圳市鸿合创新信息技术有限责任公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251223
Claims (10)
- 1. A method of parameter adjustment interaction, comprising: Responding to touch operation of a user in the sector interaction area, and acquiring position information of a touch point; determining a parameter value of a first parameter based on the position information of the touch point and the geometric attribute of the fan-shaped interaction region; updating the display state of the first parameter according to the parameter value of the first parameter; and synchronously updating the display state of the second parameter in the user interface, wherein the display state of the second parameter is associated with the parameter value of the first parameter.
- 2. The method of claim 1, wherein the geometric attributes of the sector interaction region include a region center point, a start angle, and a sweep angle; The determining the parameter value of the first parameter based on the position information of the touch point and the geometric attribute of the fan-shaped interaction region includes: calculating a connecting line angle according to the position information of the touch point and the coordinates of the central point of the area, wherein the connecting line angle is an included angle formed by a connecting line between the touch point and the central point of the area and a preset reference line; and calculating the parameter value of the first parameter based on the connecting line angle, the starting angle, the sweeping angle and a predefined angle parameter value mapping relation.
- 3. The method of claim 1, wherein the determining the parameter value of the first parameter based on the location information of the touch point and the geometric property of the sector-shaped interaction region comprises: performing boundary correction on the position information of the touch point to obtain corrected position information of the touch point; and determining a parameter value of the first parameter based on the corrected position information of the touch point and the geometric attribute of the fan-shaped interaction region.
- 4. A method according to claim 3, wherein the geometrical properties of the sector-shaped interaction area comprise an area centre point; The performing boundary correction on the position information of the touch point to obtain corrected position information of the touch point includes: Calculating an intersection point of a target ray and a boundary circle to obtain a candidate intersection point, wherein the target ray is a straight line passing through the central point of the area and the touch point at the same time, and the boundary circle is defined by the radius of the sector interaction area; And determining the correction position information of the touch point according to the coordinates of the candidate intersection point closest to a preset reference point, wherein the preset reference point is positioned on a circle taking the central point of the area as the center and the radius of a preset base line as the radius.
- 5. The method of claim 4, wherein the radius of the sector-shaped interaction region comprises an inner radius and an outer radius, and wherein the calculating the intersection of the target ray with the bounding circle comprises: when the radial distance between the touch point and the central point of the area is smaller than the inner radius, calculating an intersection point of the target ray and an inner boundary circle defined by the inner radius; and when the radial distance between the touch point and the central point of the area is larger than the outer radius, calculating the intersection point of the target ray and an outer boundary circle defined by the outer radius.
- 6. The method according to claim 1, wherein the method further comprises: Acquiring the screen size of the touch display device where the user interface is located; and dynamically adjusting the geometric attribute of the sector interaction area according to the screen size.
- 7. The method according to any one of claims 1 to 5, further comprising: And in response to the unfolding or folding triggering operation of the user on the sector interaction region, unfolding or folding the sector interaction region by adopting a smooth transition animation.
- 8. A parameter adjustment interaction device, comprising: the information acquisition unit is used for responding to the touch operation of the user in the sector interaction area and acquiring the position information of the touch point; the parameter value determining unit is used for determining a parameter value of a first parameter based on the position information of the touch point and the geometric attribute of the sector interaction area; The system comprises a first parameter, a second parameter, an adjusting interaction unit, a synchronous updating unit and a control unit, wherein the first parameter is used for updating the display state of the first parameter according to the parameter value of the first parameter, and the second parameter is synchronously updated in the display state of the user interface, and the display state of the second parameter is related to the parameter value of the first parameter.
- 9. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the parameter adjustment interaction method according to any of the claims 1 to 7 when executing the computer program.
- 10. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the parameter adjustment interaction method of any of claims 1 to 7.
Description
Parameter adjustment interaction method, device, terminal equipment and storage medium Technical Field The present application relates to the field of intelligent terminals, and in particular, to a parameter adjustment interaction method, device, terminal equipment, and storage medium. Background Along with the popularization of intelligent equipment and the continuous evolution of interaction technology, the parameter adjusting function becomes a core component part in various applications and control systems, and is widely applied to various fields such as drawing design, intelligent home control, game operation, industrial equipment regulation and control and the like. Whether the thickness and the color of the painting brushes in drawing software are regulated, or the brightness and the color temperature of the lamp in the intelligent home are controlled, the convenience and the accuracy of parameter regulation directly determine the interactive experience of the user, and the intelligent home painting system has important significance for improving the operation efficiency of the user and reducing the use threshold. However, the existing parameter adjustment interaction mode has defects that the parameter adjustment is not visual enough, and in a multi-parameter adjustment scene, interfaces are required to be frequently switched, so that the adjustment precision and efficiency are low, the interaction process lacks continuity, and the ever-increasing demands of users on smooth and integrated operation cannot be met. In view of this, how to promote parameter adjustment precision and efficiency, realize the convenience of multi-parameter adjustment, strengthen the continuity of adjusting the interactive operation, be the technical problem that needs to solve at present. Disclosure of Invention The embodiment of the application provides a parameter adjustment interaction method, a device, terminal equipment and a storage medium, which can improve the parameter adjustment precision and efficiency, realize the convenience of multi-parameter adjustment and enhance the consistency of adjustment interaction operation. In a first aspect, an embodiment of the present application provides a parameter adjustment interaction method, including: Responding to touch operation of a user in the sector interaction area, and acquiring position information of a touch point; determining a parameter value of a first parameter based on the position information of the touch point and the geometric attribute of the fan-shaped interaction region; updating the display state of the first parameter according to the parameter value of the first parameter; and synchronously updating the display state of the second parameter in the user interface, wherein the display state of the second parameter is associated with the parameter value of the first parameter. In a possible implementation manner of the first aspect, the geometric attribute of the sector-shaped interaction region includes a region center point, a start angle, and a sweep angle; The determining the parameter value of the first parameter based on the position information of the touch point and the geometric attribute of the fan-shaped interaction region includes: calculating a connecting line angle according to the position information of the touch point and the coordinates of the central point of the area, wherein the connecting line angle is an included angle formed by a connecting line between the touch point and the central point of the area and a preset reference line; and calculating the parameter value of the first parameter based on the connecting line angle, the starting angle, the sweeping angle and a predefined angle parameter value mapping relation. In a possible implementation manner of the first aspect, the determining, based on the location information of the touch point and the geometric attribute of the sector interaction area, a parameter value of the first parameter includes: performing boundary correction on the position information of the touch point to obtain corrected position information of the touch point; and determining a parameter value of the first parameter based on the corrected position information of the touch point and the geometric attribute of the fan-shaped interaction region. In a possible implementation manner of the first aspect, the geometric attribute of the sector-shaped interaction region includes a region center point; The performing boundary correction on the position information of the touch point to obtain corrected position information of the touch point includes: Calculating an intersection point of a target ray and a boundary circle to obtain a candidate intersection point, wherein the target ray is a straight line passing through the central point of the area and the touch point at the same time, and the boundary circle is defined by the radius of the sector interaction area; And determining the correction position inform