CN113138663A - Device adjustment method, device adjustment apparatus, electronic device, and storage medium - Google Patents

Device adjustment method, device adjustment apparatus, electronic device, and storage medium Download PDF

Info

Publication number
CN113138663A
CN113138663A CN202110335548.1A CN202110335548A CN113138663A CN 113138663 A CN113138663 A CN 113138663A CN 202110335548 A CN202110335548 A CN 202110335548A CN 113138663 A CN113138663 A CN 113138663A
Authority
CN
China
Prior art keywords
gesture
adjustment
movement
adjusting
determining
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.)
Pending
Application number
CN202110335548.1A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110335548.1A priority Critical patent/CN113138663A/en
Publication of CN113138663A publication Critical patent/CN113138663A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

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

The disclosure relates to a device adjustment method, a device adjustment apparatus, an electronic device, and a storage medium. The equipment adjusting method is applied to electronic equipment and comprises the following steps: in response to the gesture being acquired and the gesture being determined to have a gesture shape that adjusts the device parameter, an adjustment control for the device parameter corresponding to the gesture shape is displayed on the electronic device. And determining a scale mapping relation between the gesture shape and the adjustment interval of the adjustment control. And under the condition that the gesture moves, adjusting the value of the equipment parameter based on the movement variation of the gesture and the scale mapping relation. Through the equipment adjusting method provided by the disclosure, the numerical value of the equipment parameter can be accurately adjusted based on the scale mapping relation between the gesture shape and size and the adjusting interval of the adjusting control and the movement variable quantity of the gesture, the operation is simple, and the use experience of a user is enhanced.

Description

Device adjustment method, device adjustment apparatus, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of human-computer interaction technologies, and in particular, to an apparatus adjusting method, an apparatus adjusting device, an electronic apparatus, and a storage medium.
Background
With the vigorous development of the smart home industry, electronic devices have also evolved from traditional devices to electronic devices. Meanwhile, the demand of users for electronic devices is also increasing, the traditional control mode is not satisfied, and more hopes are made to add some functions capable of interacting with the electronic devices.
In the related art, when adjusting the values of the device parameters in the electronic device, the adjustment is usually performed by using physical keys, a remote controller or voice, and a user needs to perform multiple operations or issue multiple commands, which results in poor user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a device adjustment method, a device adjustment apparatus, an electronic device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a device adjustment method applied to an electronic device, the device adjustment method including: in response to acquiring a gesture and determining that the gesture has a gesture shape that adjusts a device parameter, an adjustment control for the device parameter corresponding to the gesture shape is displayed on the electronic device. And determining a scale mapping relation between the gesture shape size and the adjusting interval of the adjusting control. And when the gesture moves, adjusting the value of the equipment parameter based on the movement change amount of the gesture and the scale mapping relation.
In some embodiments, the determining a scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control comprises: and determining the movement distance of the adjustment interval corresponding to the gesture shape size based on the gesture shape size and the mapping number of the gesture shape size in the adjustment interval. And determining a unit adjustment amount corresponding to the unit movement distance based on the adjustment section and the movement distance. And mapping the unit adjustment amount and the unit movement distance, and determining a scale mapping relation between the gesture shape size and the adjustment interval.
In other embodiments, the adjusting the value of the device parameter based on the amount of change in the movement of the gesture and the scale mapping relationship includes: corresponding the initial position of the gesture movement to the initial parameter value of the device parameter. Determining the direction of the movement of the gesture, and determining the movement variation of the gesture in the direction relative to the initial position. And determining the adjustment variable quantity corresponding to the movement variable quantity based on the movement variable quantity and the proportional scale mapping relation. And adjusting the adjustment variable quantity on the basis of the initial parameter value in the direction matched with the gesture movement based on the corresponding relation between the gesture movement direction and the progress bar adjustment direction.
In still other embodiments, before adjusting the value of the device parameter based on the amount of change in movement of the gesture and the scale mapping relationship, the device adjustment method further comprises: determining that the gesture moves within a valid range of movement.
In still other embodiments, the device adjustment method further comprises: suspending adjusting the value of the device parameter in response to the gesture moving within the non-valid range of movement.
In still other embodiments, after suspending adjusting the value of the plant parameter, the plant adjustment method further comprises: if the gesture is monitored to move in the effective moving range within the effective time range, on the basis of the current adjusting progress, the numerical value of the equipment parameter is continuously adjusted on the basis of the movement variation of the gesture and the scale mapping relation.
In still other embodiments, the adjustment control comprises: a progress bar; displaying, on the electronic device, an adjustment control for the device parameter corresponding to the gesture shape, including: and determining and displaying the progress bar of the equipment parameters corresponding to the gesture shape on the electronic equipment according to the moving direction of the gesture based on the mapping relation between the moving direction and the progress bar type, wherein different moving directions correspond to different progress bar types.
According to a second aspect of the embodiments of the present disclosure, there is provided a device adjustment apparatus applied to an electronic device, the device adjustment apparatus including: the display module is used for responding to the acquired gesture, determining that the gesture has a gesture shape for adjusting the equipment parameter, and displaying an adjusting control of the equipment parameter corresponding to the gesture shape on the electronic equipment. And the determining module is used for determining a scale mapping relation between the gesture shape and the adjusting range of the adjusting control. And the adjusting module is used for adjusting the numerical value of the equipment parameter based on the movement variation of the gesture and the scale mapping relation under the condition that the gesture moves.
In some embodiments, the determination module determines a scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control by: and determining the movement distance of the adjustment interval corresponding to the gesture shape size based on the gesture shape size and the mapping number of the gesture shape size in the adjustment interval. And determining a unit adjustment amount corresponding to the unit movement distance based on the adjustment section and the movement distance. And mapping the unit adjustment amount and the unit movement distance, and determining a scale mapping relation between the gesture shape size and the adjustment interval.
In other embodiments, the adjusting module adjusts the value of the device parameter based on the amount of change in the movement of the gesture and the scale mapping relationship by: corresponding the initial position of the gesture movement to the initial parameter value of the device parameter. Determining the direction of the movement of the gesture, and determining the movement variation of the gesture in the direction relative to the initial position. And determining the adjustment variable quantity corresponding to the movement variable quantity based on the movement variable quantity and the proportional scale mapping relation. And adjusting the adjustment variable quantity on the basis of the initial parameter value in the direction matched with the gesture movement based on the corresponding relation between the gesture movement direction and the progress bar adjustment direction.
In still other embodiments, the determining module is further configured to: determining that the gesture moves within a valid range of movement.
In still other embodiments, the adjusting module is further configured to: suspending adjusting the value of the device parameter in response to the gesture moving within the non-valid range of movement.
In still other embodiments, the adjusting module is further configured to: if the gesture is monitored to move in the effective moving range within the effective time range, on the basis of the current adjusting progress, the numerical value of the equipment parameter is continuously adjusted on the basis of the movement variation of the gesture and the scale mapping relation.
In still other embodiments, the adjustment control comprises: a progress bar; the display module displays an adjustment control of the device parameter corresponding to the gesture shape on the electronic device in the following manner: and determining and displaying the progress bar of the equipment parameters corresponding to the gesture shape on the electronic equipment according to the moving direction of the gesture based on the mapping relation between the moving direction and the progress bar type, wherein different moving directions correspond to different progress bar type bars.
In still other embodiments, the electronic device includes at least an image capture device for capturing the gesture.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a memory to store instructions. And the processor is used for calling the instructions stored in the memory to execute any one of the equipment adjusting methods.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions that, when executed by a processor, perform any one of the above-mentioned device adjustment methods.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: through the equipment adjusting method provided by the disclosure, the scale mapping relation between the shape and the size of the gesture and the adjusting interval of the adjusting control can be determined based on the acquired gesture, and then the equipment parameters can be accurately adjusted based on the displacement variation and the scale mapping relation of the gesture when progress adjustment is performed, so that a user does not need to perform multiple actions in the process of adjusting the equipment parameters, and the equipment adjusting method is convenient and fast to operate and is beneficial to enhancing the use experience of the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a device adjustment method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic diagram of an electronic device shown in accordance with an exemplary embodiment of the present disclosure.
FIG. 3 is a diagram illustrating the effects of device adjustment according to an exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a method of determining a scale mapping relationship according to an exemplary embodiment of the present disclosure.
FIG. 5 is a schematic diagram illustrating one type of sizing of shapes according to an exemplary embodiment of the present disclosure.
FIG. 6a is an interaction diagram illustrating a device adjustment according to an exemplary embodiment of the present disclosure.
FIG. 6b is an interaction diagram illustrating another device adjustment according to an exemplary embodiment of the present disclosure.
FIG. 7 is a schematic diagram illustrating a process for determining an amount of change in adjustment of a device parameter according to an exemplary embodiment of the present disclosure.
Fig. 8 is a flow chart illustrating another method of device adjustment according to an exemplary embodiment of the present disclosure.
Fig. 9 is a schematic diagram illustrating an effective range of motion according to an exemplary embodiment of the present disclosure.
Fig. 10 is a schematic diagram illustrating yet another method of device adjustment according to an exemplary embodiment of the present disclosure.
Fig. 11 is a block diagram illustrating a device adjustment apparatus according to an exemplary embodiment of the present disclosure.
Fig. 12 is a block diagram illustrating another device adjustment apparatus according to an exemplary embodiment of the present disclosure.
Fig. 13 is a block diagram illustrating yet another device adjustment apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The utility model provides an equipment adjusting method, can confirm the scale mapping relation between gesture shape size and progress bar regulation interval based on the gesture shape of gathering, and then when adjusting the equipment parameter of adjusting the controlling part, need not the user and adopt great action range, can carry out accurate regulation, the practicality is strong, and the accommodation process is convenient, helps promoting user's use and experiences.
In some examples, the device adjustment method provided by the present disclosure can be applied to an electronic device. In some embodiments, the categories of electronic devices may include: the mobile phone comprises a mobile phone, a tablet, an intelligent television, an intelligent sound box with a screen, an intelligent watch with a screen, an ipod and the like. In other embodiments, the structure of the terminal may include: a double-sided screen electronic device, a folding screen electronic device, a full-screen electronic device, a curved-surface screen electronic device, and the like.
FIG. 1 is a flow chart illustrating a method of device tuning according to an exemplary embodiment. As shown in fig. 1, the progress bar adjustment includes the following steps S11 to S13.
In step S11, in response to the gesture being captured and the gesture being determined to have a gesture shape for adjusting the device parameter, an adjustment control for the device parameter corresponding to the gesture shape is displayed on the electronic device.
In the embodiment of the disclosure, during the use of the electronic device, the gesture in front of the electronic device is collected so as to determine whether the current user needs to adjust the device parameter. In some examples, the gesture may be captured by other terminal devices in communicative connection with the electronic device or captured by an electronic device having an image capture apparatus. If the gesture is collected through other terminal equipment in communication connection with the electronic equipment, the collected gesture information can be sent to the electronic equipment through the other terminal equipment, so that the electronic equipment can obtain the gesture. In some implementation scenarios, the electronic device may take a television as an example, and if the television does not have an image acquisition device, the gesture may be acquired by a home camera in communication connection with the television, and then the acquired gesture information is sent to the television by the home camera, so that the gesture that the television can acquire determines whether the gesture has a gesture shape for adjusting a parameter of the device. If the gesture is collected through the electronic equipment with the image collecting device, the gesture can be collected through the image collecting device or the image sensor in the electronic equipment when being collected. Wherein, the image acquisition device can include: a camera or an Artificial Intelligence (AI) camera. FIG. 2 is a schematic diagram of an electronic device shown in accordance with an exemplary embodiment. In some implementation scenarios, as shown in fig. 2, taking an example where the electronic device is a television with an image capture device, the image capture device may be a camera, the camera is disposed above a display panel of the television facing a user, and then when capturing a gesture, the gesture within the wide-angle range can be captured based on the wide-angle range of the camera, so as to timely capture a requirement that the user needs to adjust a progress bar. In some examples, the wide angle of the camera may be 120 degrees. In other implementations, the electronic device includes a lift camera through which gestures may be captured. Before gesture collection is carried out, the electronic equipment can be controlled to start the lifting type camera in advance, and a gesture recognition function in the lifting type camera is started. And if the lifting camera is opened, lifting the lifting camera to perform gesture collection. And if the lifting camera is closed, lowering the lifting camera. In some implementation scenarios, in order to protect the security and privacy of the electronic device, before the lifting camera is started, the camera function may be started in advance, the identity of the current user is determined, and then the lifting camera is started to perform gesture recognition. In some examples, the lift camera may also be employed to take photographs when the lift camera is turned on. In other examples, when the gesture recognition function in the lifting camera is started, the electronic device can be triggered to control through gestures.
In the process of acquiring the gesture, when the currently acquired gesture is determined to have the gesture shape for adjusting the equipment parameters, an adjusting control of the equipment parameters corresponding to the gesture shape is displayed on the electronic equipment. Wherein the adjustment control may include: a progress bar, progress box, or resizable application widget capable of adjusting device parameters, the gesture shape may include: a fist, an upright palm, or a "jeer" where the adjustment control is displayed may be located anywhere in the electronic device display screen and is not limited in this disclosure. In order to not shield the original display interface of the electronic device when the adjustment control is displayed, the displayed picture of the adjustment control can be set to float on the original display interface, and the displayed picture of the adjustment control is set to have higher transparency and lower saturation. In some examples, if the adjustment control is a progress bar, the corresponding device parameter may include volume, playing progress, or brightness. The determination of the device parameters may be determined according to the kind of the progress bar. That is, if the type of the progress bar is a volume progress bar, the corresponding device parameter is a volume. And if the type of the progress bar is the playing progress bar, the corresponding equipment parameter is the playing progress. And if the type of the progress bar is a brightness progress bar, the corresponding equipment parameter is brightness. In other examples, adjusting the shape of the control may include: elongated, circular, or other shapes. In some implementation scenarios, if the adjustment control is a progress bar, the adjustment control displayed on the electronic device may be in a long bar shape. In other implementation scenarios, the display position of the adjustment control may be located in a left half display area, a right half display area, an upper half display area, a lower half display area, or a middle display area of the display screen of the electronic device.
In step S12, a scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control is determined.
In the embodiment of the present disclosure, the collected gesture shapes and sizes are different for different users. For guaranteeing that different users all can obtain the same use experience, when adjusting the device parameter of adjusting the controlling part, can be based on the scale principle, confirm the gesture shape size of gathering and adjust the controlling part and adjust the scale mapping relation between the interval, and then when adjusting the adjusting part, need not to consider other regulatory factors, according to the removal variable quantity of gesture, the definite correspondence the device parameter's that adjusts numerical value can, help intelligent terminal to remove according to user's gesture, respond fast, carry out accurate regulation, and then promote user's use experience.
In some implementation scenarios, if a plurality of gestures having gesture shapes for adjusting values of device parameters occur during gesture acquisition, a scale mapping relationship between the gesture shape size and an adjustment interval of the adjustment control may be determined according to a gesture shape size having a gesture shape for adjusting device parameters, which is determined first.
In step S13, when the gesture moves, the value of the device parameter is adjusted based on the amount of movement change of the gesture and the scale mapping relationship.
In the disclosed embodiment, the gesture moves and the initial parameter values that characterize the device parameters need to be adjusted. Based on the determined scale mapping relation, the value of the initial parameter value of the equipment parameter required to be adjusted can be determined based on the movement variation of the gesture, and then the value of the equipment parameter can be adjusted in real time under the condition that the gesture moves, so that the adjusting process is more convenient and faster, the interaction between human and machines is increased, and the use experience of a user is improved.
Through the embodiment, the collected adjusting interval for adjusting the shape and the size of the gesture and adjusting the control part is used for establishing the proportional scale mapping relation based on the proportional scale principle, and then when the device parameters corresponding to the control part are adjusted, the numerical values of the device parameters can be accurately adjusted in real time according to the movement of the gesture, so that the process of adjusting the device parameters is more convenient and more practical, the use experience of a user is promoted, and the interactivity between people and electronic equipment is enhanced.
In some implementation scenarios, as shown in fig. 3, for the user to confirm that the gesture for adjusting the device parameter has been successfully acquired by the electronic device, the gesture shape may be displayed together while the electronic device displays the adjustment control for adjusting the gesture shape, so that the indication information of the gesture recognized by the electronic device can be effectively output by displaying the gesture shape. Fig. 3 is a diagram illustrating the effect of a progress bar adjustment according to an exemplary embodiment.
The following embodiments will specifically describe the determination of the scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control.
FIG. 4 is a flow chart illustrating a method of determining a scale mapping relationship in accordance with an exemplary embodiment. As shown in fig. 4, the determination process of the scale mapping relationship includes the following steps.
In step S21, the movement distance of the adjustment section corresponding to the gesture shape size is determined based on the gesture shape size and the number of mappings of the gesture shape size within the adjustment section.
In the embodiment of the present disclosure, in order to clarify a corresponding relationship between a movement distance of a gesture and an adjustment interval, so as to clarify an adjustment variation corresponding to an adjustment device parameter in a gesture movement process, a movement distance of the gesture shape size corresponding to the adjustment interval is determined based on a gesture shape size and a mapping number of the gesture shape size in the adjustment interval. The adjustment interval refers to an interval range within which the numerical value of the equipment parameter can be adjusted. For example: the size of the gesture shape is 10 centimeters (cm), the mapping number of the gesture shape in the progress bar adjusting interval is 5, and the moving distance of the gesture shape size corresponding to the adjusting interval is 5 × 10 cm-50 cm. If the adjusting interval is [0,100], when the numerical value of the equipment parameter is adjusted from 0 to 100, the moving distance corresponding to the gesture shape size is 50 cm.
In some embodiments, since the gesture shapes and sizes of different users are different, in order to make the device parameters more targeted in the adjustment process and better meet the sensitivity adjustment requirement of the current user, the mapping number of the gesture shapes and sizes in the adjustment interval may be a default number or a designated number. For example: taking the gesture shape size as 10cm and the adjustment interval as [0,100], if the number of mappings of the gesture shape size in the adjustment interval is 5, the moving distance of the gesture shape size corresponding to the adjustment interval is 5 × 10cm to 50cm, and when the numerical value of the device parameter is adjusted from 0 to 100, the moving distance corresponding to the gesture shape size is 50 cm. If the mapping number of the gesture shape in the adjustment interval is 8, the moving distance of the gesture shape size corresponding to the adjustment interval is 8 × 10cm to 80 cm. When the value of the device parameter is adjusted from 0 to 100, the movement distance corresponding to the gesture shape size is 80 cm. The greater the number of mappings, the lower the sensitivity of the adjustment of the value of the device parameter during the movement of the gesture, and the slower the speed of the adjustment. Conversely, the smaller the mapping number, the higher the adjustment sensitivity of the numerical value of the device parameter and the faster the adjustment speed in the gesture movement process.
In step S22, a unit adjustment amount corresponding to the unit movement distance is determined based on the adjustment section and the movement distance.
In the embodiment of the disclosure, based on the determined moving distance and the determined adjusting interval of the progress bar, the unit adjusting amount corresponding to the unit moving distance can be determined, and then when the gesture moves within the moving distance, the adjusting variation of the device parameter value can be determined in real time, so that the real-time adjustment of the device parameter value is facilitated. For example: when the moving distance is 50cm and the adjustment interval is [0,100], the unit adjustment amount corresponding to the unit moving distance is 50 cm: 100-1 cm: 2. i.e. for every 1cm of movement, the corresponding unit adjustment amount is 2.
In step S23, the unit adjustment amount and the unit movement distance are mapped, and a scale mapping relationship between the gesture shape size and the adjustment section is determined.
In the embodiment of the disclosure, the unit adjustment amount and the unit movement distance are mapped, so that the corresponding relationship between the unit movement distance and the unit adjustment amount can be determined, and further, according to the gesture shape size, the scale mapping relationship between the gesture shape size and the adjustment interval can be determined. For example: according to the mapping relation between the unit adjustment amount and the unit movement distance, when the unit movement distance is 1cm, the corresponding unit adjustment amount is a, and further when the gesture shape size is 5cm, the gesture shape size corresponds to the adjustment amount of the device parameter value and is 5 a. That is, the scale mapping relationship between the gesture shape size and the adjustment interval is that the gesture shape size corresponds to the adjustment device parameter with a value of 5 a.
In some implementation scenarios, after the gesture is determined to have the gesture shape for adjusting the device parameter through the collected gesture, a rectangular coordinate system may be established by using a vertical plane parallel to the display interface of the electronic device where the gesture is currently located, and then a plurality of coordinates of the gesture shape may be obtained. Through a plurality of coordinates, the size of the gesture shape can be determined, further the mapping number of the gesture shape in the progress bar adjusting interval can be determined, and the moving distance of the gesture shape and the gesture shape corresponding to the adjusting progress bar adjusting interval can be determined. For example: take the gesture shape as a fist. As shown in fig. 5, the vertical coordinates of the fist can be determined to be 5 and 15 respectively by a rectangular coordinate system, and then the height of the fist can be determined to be 15cm-5 cm-10 cm, that is, the fist size is 10 cm. Wherein, the horizontal axis unit and the vertical axis unit are both cm. FIG. 5 is a schematic diagram illustrating one type of sizing of shapes according to an exemplary embodiment. If the number of the mappings is 5 and the progress bar adjustment interval is [0,100], when the user adjusts the progress of the progress bar from 0 to 100, the distance that the user needs to move is 10 × 5 to 50 cm.
In some examples, a rectangular coordinate system including the gesture may be established according to a vertical plane parallel to a display interface of the electronic device in which the gesture is currently located. In order to make clear the moving distance of the gesture, the value of the device parameter can be adjusted in real time in the moving process of the gesture, the total adjusting interval of the gesture in the horizontal and vertical directions can depend on the size of the electronic device, the total adjusting interval of the horizontal axis of the rectangular coordinate system can be the same as the length of the electronic device, and the total adjusting interval of the vertical axis can be the same as the height of the electronic device. The central point of the rectangular coordinate system may be the current position of the gesture, or may be determined based on the initial parameter value of the device parameter and the maximum value of the adjustment interval. In some implementation scenarios, when the central point of the rectangular coordinate system is determined based on the initial parameter value of the device parameter and the maximum value of the adjustment interval, the maximum increase amount of the device parameter value can be determined according to the difference between the maximum value of the adjustment interval and the initial parameter value of the device parameter. And determining the maximum moving distance of the gesture moving along the positive direction according to the scale mapping relation between the shape and the size of the gesture and the adjusting interval of the adjusting control and the maximum increment. And determining the central point of the rectangular coordinate system according to the maximum moving distance moving along the forward direction.
In some embodiments, in the case that the gesture moves, when the value of the device parameter is adjusted based on the movement change amount of the gesture and the scale mapping relationship, the initial position of the gesture movement is corresponding to the initial parameter value of the device parameter, so that when the value of the device parameter is adjusted according to the movement change amount of the gesture, the adjustment can be performed based on the displayed initial parameter value of the device parameter. According to the moving direction of the gesture, the movement variation of the gesture relative to the initial position in the moving direction in the moving process can be determined, and then the adjustment variation of the device parameter corresponding to the movement variation can be determined based on the movement variation and the scale mapping relation. And the gesture moving direction and the initial parameter value adjusting direction have a corresponding relation, and the adjusting variable quantity can be increased or decreased on the basis of the initial parameter value in the process of adjusting the equipment parameter according to the gesture moving direction, so that the equipment parameter can be effectively adjusted. In some examples, the positive direction of the gesture movement corresponds to a positive adjustment of the device parameter, i.e., when the gesture moves up or right based on the initial position of the gesture, an adjustment change amount corresponding to the gesture movement change amount is correspondingly increased in adjusting the value of the device parameter. And when the gesture moves downwards or leftwards, correspondingly reducing the adjustment variable quantity corresponding to the gesture movement variable quantity in the process of adjusting the numerical value of the equipment parameter.
In some implementations, after determining, from the captured gesture, that the gesture has a gesture shape that adjusts a value of a device parameter, a spatial location of the gesture is determined as an initial location of movement of the gesture. In order to determine the movement variation of the gesture under the condition of movement, a rectangular coordinate system may be established by using a vertical plane where the gesture is currently located, and then the movement direction of the gesture is determined based on the initial position where the gesture is located. And if the gesture moves along the y axis in the positive direction or moves along the x axis in the positive direction, correspondingly increasing the adjustment variable quantity corresponding to the gesture movement variable quantity. If the gesture moves along the y-axis negative direction or moves along the x-axis negative direction, the adjustment variation corresponding to the gesture movement variation is correspondingly reduced. For example: take the gesture shape as a fist. The initial position of the fist corresponds to the initial parameter value 1 of the device parameter. As shown in fig. 6a, if the fist is moved in the positive y-axis direction, the value of the device parameter is incremented upwards. FIG. 6a is an interaction diagram illustrating a method of device tuning, according to an example embodiment. If the fist is moved in the negative y-axis direction, the value of the device parameter is decremented downwards, as shown in figure 6 b. FIG. 6b is an interaction diagram illustrating another method of device adjustment according to an example embodiment.
In other embodiments, the process of determining the adjustment variance may be as shown in FIG. 7. FIG. 7 is a schematic diagram illustrating a process for determining an amount of adjustment change in accordance with an exemplary embodiment. Taking the gesture shape as a fist, the coordinates corresponding to the initial position of the fist can be determined to be (x, 5) and (x, 15) respectively based on a rectangular coordinate system. If the gesture moves in the positive direction along the y axis, and it is determined that the coordinates corresponding to the current position are (x, 30) and (x, 40), the movement variation of the fist can be determined according to the up-and-down movement distance of the fist, and then the adjustment variation corresponding to the movement variation is determined based on the proportional scale mapping relationship. For example: according to the scale mapping relationship, the numerical value of the device parameter adjusted corresponding to one fist can be determined to be 20, and the adjustment change amount determined according to the movement change amount of the fist is (40-15)/(15-5) × 20 is 50. I.e. the fist is moved from the initial position in the positive y-axis direction to the current position, the value of the required adjusted device parameter is 50.
In other embodiments, the scale mapping relationship between the gesture shape and the adjustment interval can be set by user according to the requirements of the user, so that the requirements of different users on different sensitivities of the values of the parameters of the adjustment device are met. Namely, the percentage of the gesture shape and size corresponding to the adjustment interval can be set in advance in a user-defined manner, and then after the gesture shape and size are determined, the mapping number can be determined according to the gesture shape and size and the percentage of the gesture shape and size corresponding to the adjustment interval, so that the moving distance can be determined. For example: the percentage of the adjustment interval corresponding to the size of one gesture shape is preset to be 20%, and then the mapping number can be determined to be 5. That is, the value of the device parameter can be adjusted from 0 to 100 by 5 gesture shape sizes.
Based on the same concept, the embodiment of the disclosure also provides another device adjusting method. Through the effective moving range of the limited gesture movement, the gesture is prevented from suddenly increasing or decreasing in the moving process, and the adjustment variation of the progress bar is also suddenly increased or decreased, so that the current use experience of a user is influenced.
FIG. 8 is a flow chart illustrating another method of device adjustment according to an exemplary embodiment. As shown in fig. 8, the device adjustment method includes the following steps.
In step S31, in response to the gesture being acquired and the gesture being determined to have a gesture shape for adjusting the device parameter, displaying an adjustment control for the device parameter corresponding to the gesture shape on the electronic device;
in step S32, determining a scale mapping relationship between the gesture shape and the adjustment range of the adjustment control;
in step S33, when the gesture moves, it is determined that the gesture moves within the valid movement range.
In the embodiment of the disclosure, in order to avoid a situation that a value suddenly changes in the process of adjusting the device parameter value, in the process of moving a gesture, an effective moving range of the gesture is determined based on the current position of the gesture, so as to ensure user experience of a user in adjusting the progress.
FIG. 9 is a schematic diagram illustrating an effective range of motion according to an exemplary embodiment. As shown in fig. 9, when the gesture moves, if it is determined that the gesture moves within the effective movement range, it is determined that the current movement is the effective movement, and the movement variation of the gesture can be determined in real time, so as to determine the adjustment variation in real time and adjust the value of the device parameter in time.
In some embodiments, the effective movement range may be a circular area formed by taking the position of the gesture at the previous time as a center and taking the designated length as a radius. The specified length may be determined according to a scale mapping relationship. In some examples, the specified length may be a specified number of gesture shape sizes. For example: if the gesture shape size is 4cm and the number is 2, the length is specified to be 2 × 4cm — 8 cm.
In step S34, the value of the device parameter is adjusted based on the movement variation of the gesture and the scale mapping relationship.
In some embodiments, adjusting the value of the device parameter is suspended if the device moves within the inactive range of motion in response to the gesture. That is, in the process of gesture movement, the gesture exceeds the effective movement range, and when the gesture moves in the ineffective movement range, the current movement is considered as an ineffective movement. If the movement variation of the gesture is continuously determined under the condition of moving in the non-effective movement range, the numerical value of the equipment parameter is prone to suddenly change, and in order to avoid influencing the use experience of the user, the numerical value of the equipment parameter is temporarily stopped and adjusted.
In other embodiments, based on the amount of movement change of the gesture and the scale mapping relationship, before adjusting the value of the device parameter, it may be determined whether a valid movement range currently exists. And if the effective movement range exists and the gesture moves in the effective movement range, determining the movement variation of the gesture in real time and determining the value of the parameter of the adjusting device. And if the effective movement range exists, the gesture does not move in the effective movement range or the gesture moves out of the effective movement range in the moving process, and the value of the equipment parameter is temporarily stopped being adjusted. If the effective movement range does not exist, the effective movement range can be determined by the initial position of the gesture movement. In some possible embodiments, if there is an effective movement range, and the gesture does not move within the effective movement range or moves out of the effective movement range during the movement, the electronic device may output a prompt message to prompt the user to adjust the value of the device parameter within the effective movement range, where the prompt message may be output by displaying the effective movement range on a display interface of the electronic device, or prompting the user to move the direction in real time through voice or text, so that the user moves to the effective movement range to adjust the value of the device parameter.
In still other embodiments, after the adjustment of the value of the device parameter is suspended, if it is monitored that the gesture moves within the valid movement range again within the valid time range, it may be determined that the user still has a requirement for adjusting the value of the device parameter, and then the value of the device parameter is adjusted based on the movement variation of the gesture and the scale mapping relationship on the basis of the current device parameter.
In still other embodiments, if the gesture moves within the valid movement range all the time, the values of the device parameters may be adjusted in real time based on the scale mapping relationship. If the gesture is static in the moving process in the effective moving range, whether the equipment parameters are continuously adjusted or not can be determined according to the static duration of the gesture. If the static duration is less than the effective time range, the value of the equipment parameter can be continuously adjusted on the basis of the movement variation of the gesture and the scale mapping relation on the basis of the current equipment parameter. If the static duration is longer than or within the effective time range, representing that the user does not have the requirement of continuously adjusting the equipment parameters, and further terminating the adjustment of the numerical values of the equipment parameters.
In still other embodiments, in the smart terminal, a gesture shape having a progress bar progress adjustment is previously stored through a preset model. After the gesture is collected by the image collecting device, the gesture is matched with a gesture shape prestored in a preset model, and if the gesture is successfully matched, the collected gesture is determined to have the gesture shape for adjusting the progress of the progress bar. Preferably, the preset model may be an AI model.
In still other embodiments, the adjustment control may include: a progress bar. And the type of the progress bar displayed on the electronic device has a corresponding relationship with the moving direction of the gesture having the gesture shape for adjusting the device parameter. Different moving directions correspond to different types of progress bars. When it is determined that the current gesture has a gesture shape for adjusting the progress of the progress bar, the progress bar of the corresponding category may be determined and displayed according to the moving direction of the gesture. In some possible embodiments, the type of progress bar displayed by the electronic device is associated with an application scenario used by the electronic device. For example: taking the electronic device as a television as an example, when the television device is in the process of playing the multimedia file, the types of the progress bar may include a playing progress bar and a volume progress bar. The corresponding relation between the gesture moving along the horizontal direction and the playing progress bar can be established, and then when the gesture moves towards the horizontal direction, the progress of the playing progress bar is adjusted. And establishing a corresponding relation between the gesture moving along the vertical direction and the volume progress bar, and further playing the progress of the volume progress bar when the gesture moves towards the vertical direction.
In some implementation scenarios, taking the shape of the gesture with progress bar progress adjustment as a fist and the corresponding type of progress bar adjustment as a volume progress bar as an example, the progress bar progress adjustment process may be as shown in fig. 10. FIG. 10 is a schematic diagram illustrating yet another method of device adjustment according to an exemplary embodiment.
The method comprises the steps of collecting human body data through an image collecting device of the electronic equipment, and analyzing whether gestures are collected in the human body data. After the gesture is determined to be collected, whether the collected gesture is in a gesture shape with progress bar adjusting progress is judged through the AI model. That is, it is determined whether the captured gesture includes a fist. If it is determined that a fist is acquired, the size (height and/or width) of the fist is calculated. In the case where the movement of the fist occurs, and it is determined that the fist moves within the valid movement range, the movement variation amount of the fist is determined based on the initial position of the movement of the fist. And determining the progress adjustment variable quantity corresponding to the movement variable quantity based on the proportional scale mapping relation between the size of the fist and the adjustment interval of the volume progress bar, and then adjusting the progress of the volume progress bar. And if the fist moves in the invalid movement range under the condition that the fist moves, suspending the progress of adjusting the volume progress bar and not processing.
Based on the same conception, the embodiment of the disclosure also provides an equipment adjusting device applied to electronic equipment. In some possible embodiments, the electronic device may include an image capture device.
It is understood that the device adjusting apparatus provided by the embodiments of the present disclosure includes hardware structures and/or software modules for performing the functions described above. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary modules and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
FIG. 11 is a block diagram illustrating a device adjustment apparatus according to an exemplary embodiment. Referring to fig. 11, the device adjusting apparatus 100 includes a data acquisition module 101, a data analysis module 102, a data processing module 103, and an instruction execution module 104.
And the data acquisition module 101 is used for acquiring human body data in front of the electronic equipment. In some embodiments, the data acquisition module 101 can determine and acquire human body data in front of the electronic device through the image acquired by the image acquisition device.
And the data analysis module 102 is configured to match the acquired human body data with a gesture shape existing in a preset model, and determine that the current gesture of the user is a gesture shape with a progress bar adjusting progress. The preset model may be an Artificial Intelligence (AI) model.
The data processing module 103 is configured to determine, by using any one of the above-mentioned progress bar control methods, a scale mapping relationship between a gesture shape and a progress bar adjustment interval, and a progress adjustment variation of the progress bar corresponding to a movement variation of the gesture.
And the instruction execution module 104 is used for adjusting the progress of the progress bar.
FIG. 12 is a block diagram illustrating another device adjustment apparatus according to an exemplary embodiment. Referring to fig. 12, the device adjusting apparatus 200 includes a display module 201, a determination module 202, and an adjustment module 203.
And the display module 201 is used for responding to the acquired gesture, determining that the gesture has a gesture shape for adjusting the equipment parameter, and displaying an adjusting control of the equipment parameter corresponding to the gesture shape on the electronic equipment.
The determining module 202 is configured to determine a scale mapping relationship between the gesture shape and the adjustment range of the adjustment control.
And the adjusting module 203 is used for adjusting the numerical value of the equipment parameter based on the movement variation of the gesture and the scale mapping relation under the condition that the gesture moves.
In some embodiments, the determination module 202 determines the scale mapping relationship between the gesture shape size and the adjustment interval of the adjustment control in the following manner: and determining the movement distance of the adjusting interval corresponding to the gesture shape size based on the gesture shape size and the mapping number of the gesture shape size in the adjusting interval. And determining a unit adjustment amount corresponding to the unit movement distance based on the adjustment section and the movement distance. And mapping the unit adjustment amount and the unit movement distance, and determining a scale mapping relation between the gesture shape and the adjustment interval.
In other embodiments, the adjusting module 203 adjusts the value of the device parameter based on the amount of change in the movement of the gesture and the scale mapping relationship by: the initial position of the gesture movement is corresponded to the initial parameter value of the device parameter. The direction of the movement of the gesture is determined, and the movement change amount of the gesture in the direction relative to the initial position is determined. And determining the adjustment variable quantity corresponding to the movement variable quantity based on the movement variable quantity and the proportional scale mapping relation. And adjusting the adjustment variable quantity on the basis of the initial parameter value in the direction of the movement of the matched gesture based on the corresponding relation between the movement direction of the gesture and the adjustment direction of the progress bar.
In still other embodiments, the determining module 202 is further configured to: determining that the gesture moves within the valid range of movement.
In still other embodiments, the adjusting module 203 is further configured to: in response to the gesture moving within the non-valid range of movement, pausing adjusting the value of the device parameter.
In still other embodiments, the adjusting module 203 is further configured to: if the gesture is monitored to move within the effective moving range within the effective time range, on the basis of the current adjusting progress, the numerical value of the equipment parameter is continuously adjusted on the basis of the movement variation of the gesture and the mapping relation of the scale.
In still other embodiments, the adjustment control comprises: a progress bar; the display module 201 displays the adjustment control of the device parameter corresponding to the gesture shape on the electronic device in the following manner: and determining and displaying a progress bar of the device parameters corresponding to the gesture shape on the electronic device according to the moving direction of the gesture based on the mapping relation between the moving direction and the progress bar type, wherein different moving directions correspond to different progress bar types.
In still other embodiments, the electronic device includes at least an image capture device for capturing gestures.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 13, electronic device 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the electronic device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the electronic device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, 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, magnetic or optical disks.
The power components 306 provide power to the various components of the electronic device 300. Power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 300.
The multimedia component 308 comprises a screen providing an output interface between the electronic device 300 and a 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 may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for electronic device 300. For example, sensor assembly 314 may detect an open/closed state of electronic device 300, the relative positioning of components, such as a display and keypad of electronic device 300, sensor assembly 314 may also detect a change in the position of electronic device 300 or a component of electronic device 300, the presence or absence of user contact with electronic device 300, the orientation or acceleration/deceleration of electronic device 300, and a change in the temperature of electronic device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the electronic device 300 and other devices. The electronic device 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 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 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 300 may 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, micro-controllers, microprocessors or other electronic components for performing any of the above-described device adjustment methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 304, that are executable by the processor 320 of the electronic device 300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. An apparatus adjustment method applied to an electronic apparatus, the apparatus adjustment method comprising:
in response to acquiring a gesture and determining that the gesture has a gesture shape that adjusts a device parameter, displaying an adjustment control for the device parameter on the electronic device that corresponds to the gesture shape;
determining a scale mapping relation between the gesture shape and the adjustment interval of the adjustment control;
and when the gesture moves, adjusting the value of the equipment parameter based on the movement change amount of the gesture and the scale mapping relation.
2. The device adjustment method of claim 1, wherein the determining a scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control comprises:
determining a movement distance of the adjustment interval corresponding to the gesture shape size based on the gesture shape size and the mapping number of the gesture shape size in the adjustment interval;
determining a unit adjustment amount corresponding to a unit movement distance based on the adjustment interval and the movement distance;
and mapping the unit adjustment amount and the unit movement distance, and determining a scale mapping relation between the gesture shape size and the adjustment interval.
3. The device adjustment method according to claim 1, wherein the adjusting the value of the device parameter based on the amount of change in the movement of the gesture and the scale mapping relationship comprises:
corresponding an initial position of the gesture movement to an initial parameter value of the device parameter;
determining the direction of the movement of the gesture, and determining the movement variation of the gesture in the direction relative to the initial position;
determining an adjustment variable corresponding to the movement variable based on the movement variable and the scale mapping relation;
and adjusting the adjustment variable quantity on the basis of the initial parameter value in the direction matched with the gesture movement based on the corresponding relation between the gesture movement direction and the progress bar adjustment direction.
4. The device adjustment method according to any one of claims 1 to 3, wherein before adjusting the value of the device parameter based on the amount of change in movement of the gesture and the scale mapping relationship, the device adjustment method further comprises:
determining that the gesture moves within a valid range of movement.
5. The device adjustment method according to any one of claims 1 to 3, characterized in that the device adjustment method further comprises:
suspending adjusting the value of the device parameter in response to the gesture moving within the non-valid range of movement.
6. The plant adjustment method of claim 5, wherein after suspending adjusting the value of the plant parameter, the plant adjustment method further comprises:
if the gesture is monitored to move in the effective moving range within the effective time range, on the basis of the current adjusting progress, the numerical value of the equipment parameter is continuously adjusted on the basis of the movement variation of the gesture and the scale mapping relation.
7. The device adjustment method of claim 1, wherein the adjustment control comprises: a progress bar;
displaying, on the electronic device, an adjustment control for the device parameter corresponding to the gesture shape, including:
and determining and displaying the progress bar of the equipment parameters corresponding to the gesture shape on the electronic equipment according to the moving direction of the gesture based on the mapping relation between the moving direction and the progress bar type, wherein different moving directions correspond to different progress bar types.
8. An apparatus adjusting device, applied to an electronic apparatus, the apparatus adjusting device comprising:
the display module is used for responding to the acquired gesture, determining that the gesture has a gesture shape for adjusting the equipment parameter, and displaying an adjusting control of the equipment parameter corresponding to the gesture shape on the electronic equipment;
the determining module is used for determining a scale mapping relation between the gesture shape and the adjusting range of the adjusting control;
and the adjusting module is used for adjusting the numerical value of the equipment parameter based on the movement variation of the gesture and the scale mapping relation under the condition that the gesture moves.
9. The device adjustment apparatus of claim 8, wherein the determination module determines the scale mapping relationship between the gesture shape size and the adjustment zone of the adjustment control by:
determining a movement distance of the adjustment interval corresponding to the gesture shape size based on the gesture shape size and the mapping number of the gesture shape size in the adjustment interval;
determining a unit adjustment amount corresponding to a unit movement distance based on the adjustment interval and the movement distance;
and mapping the unit adjustment amount and the unit movement distance, and determining a scale mapping relation between the gesture shape size and the adjustment interval.
10. The device adjustment apparatus according to claim 9, wherein the adjustment module adjusts the value of the device parameter based on the amount of change in the movement of the gesture and the scale mapping relationship by:
corresponding an initial position of the gesture movement to an initial parameter value of the device parameter;
determining the direction of the movement of the gesture, and determining the movement variation of the gesture in the direction relative to the initial position;
determining an adjustment variable corresponding to the movement variable based on the movement variable and the scale mapping relation;
and adjusting the adjustment variable quantity on the basis of the initial parameter value in the direction matched with the gesture movement based on the corresponding relation between the gesture movement direction and the progress bar adjustment direction.
11. The device adjustment apparatus according to any one of claims 8 to 10, wherein the determining module is further configured to:
determining that the gesture moves within a valid range of movement.
12. The device adjustment apparatus according to any one of claims 8 to 10, wherein the adjustment module is further configured to:
suspending adjusting the value of the device parameter in response to the gesture moving within the non-valid range of movement.
13. The equipment adjustment device of claim 12, wherein the adjustment module is further configured to:
if the gesture is monitored to move in the effective moving range within the effective time range, on the basis of the current adjusting progress, the numerical value of the equipment parameter is continuously adjusted on the basis of the movement variation of the gesture and the scale mapping relation.
14. The device adjustment apparatus of claim 8, wherein the adjustment control comprises: a progress bar; the display module displays an adjustment control of the device parameter corresponding to the gesture shape on the electronic device in the following manner:
and determining and displaying the progress bar of the equipment parameters corresponding to the gesture shape on the electronic equipment according to the moving direction of the gesture based on the mapping relation between the moving direction and the progress bar type, wherein different moving directions correspond to different progress bar types.
15. Device adjustment apparatus according to claim 8, characterized in that the electronic device comprises at least an image acquisition device for acquiring the gesture.
16. An electronic device, characterized in that the electronic device comprises:
a memory to store instructions; and
a processor for invoking the memory-stored instructions to perform the device adjustment method of any one of claims 1-7.
17. A computer-readable storage medium storing instructions which, when executed by a processor, perform the device adjustment method of any one of claims 1-7.
CN202110335548.1A 2021-03-29 2021-03-29 Device adjustment method, device adjustment apparatus, electronic device, and storage medium Pending CN113138663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110335548.1A CN113138663A (en) 2021-03-29 2021-03-29 Device adjustment method, device adjustment apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110335548.1A CN113138663A (en) 2021-03-29 2021-03-29 Device adjustment method, device adjustment apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN113138663A true CN113138663A (en) 2021-07-20

Family

ID=76810098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110335548.1A Pending CN113138663A (en) 2021-03-29 2021-03-29 Device adjustment method, device adjustment apparatus, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN113138663A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120268373A1 (en) * 2011-04-21 2012-10-25 Samsung Electronics Co., Ltd. Method for recognizing user's gesture in electronic device
CN104937522A (en) * 2013-01-22 2015-09-23 科智库公司 Improved feedback in touchless user interface
CN105027032A (en) * 2013-01-22 2015-11-04 科智库公司 Scalable input from tracked object
CN109885174A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 Gesture control method, device, mobile terminal and storage medium
CN110275611A (en) * 2019-05-27 2019-09-24 联想(上海)信息技术有限公司 A kind of parameter adjusting method, device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120268373A1 (en) * 2011-04-21 2012-10-25 Samsung Electronics Co., Ltd. Method for recognizing user's gesture in electronic device
CN104937522A (en) * 2013-01-22 2015-09-23 科智库公司 Improved feedback in touchless user interface
CN105027032A (en) * 2013-01-22 2015-11-04 科智库公司 Scalable input from tracked object
CN109885174A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 Gesture control method, device, mobile terminal and storage medium
CN110275611A (en) * 2019-05-27 2019-09-24 联想(上海)信息技术有限公司 A kind of parameter adjusting method, device and electronic equipment

Similar Documents

Publication Publication Date Title
US10564833B2 (en) Method and apparatus for controlling devices
CN107817939B (en) Image processing method and mobile terminal
CN111182205B (en) Photographing method, electronic device, and medium
CN108471498B (en) Shooting preview method and terminal
US10705676B2 (en) Method and device for interacting with button
CN107580143B (en) A kind of display methods and mobile terminal
US10025393B2 (en) Button operation processing method in single-hand mode
CN106791893A (en) Net cast method and device
EP3136793A1 (en) Method and apparatus for awakening electronic device
CN104850329A (en) Method and device for adjusting parameters
CN111880757A (en) Screen projection method, screen projection device and storage medium
CN106527682B (en) Method and device for switching environment pictures
US11372516B2 (en) Method, device, and storage medium for controlling display of floating window
CN107529699A (en) Control method of electronic device and device
CN107797662B (en) Viewing angle control method and device and electronic equipment
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN111522498A (en) Touch response method and device and storage medium
EP3511865A1 (en) Imaging processing method for smart mirror, and smart mirror
CN111988522B (en) Shooting control method and device, electronic equipment and storage medium
CN112269525A (en) Small screen window display method and device and storage medium
CN113311984A (en) Touch screen track data processing method and device, mobile terminal and electronic equipment
CN111538451A (en) Weather element display method and device and storage medium
CN113138663A (en) Device adjustment method, device adjustment apparatus, electronic device, and storage medium
CN112040059B (en) Application control method, application control device and storage medium
CN114384848A (en) Interaction method, interaction device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination