WO2019104696A1 - Angle adjusting method, smart seat and computer storage medium - Google Patents

Angle adjusting method, smart seat and computer storage medium Download PDF

Info

Publication number
WO2019104696A1
WO2019104696A1 PCT/CN2017/114086 CN2017114086W WO2019104696A1 WO 2019104696 A1 WO2019104696 A1 WO 2019104696A1 CN 2017114086 W CN2017114086 W CN 2017114086W WO 2019104696 A1 WO2019104696 A1 WO 2019104696A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart seat
operation gesture
gesture
pitch angle
coordinates
Prior art date
Application number
PCT/CN2017/114086
Other languages
French (fr)
Chinese (zh)
Inventor
王乐
韩超
Original Assignee
深圳市柔宇科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to CN201780096880.9A priority Critical patent/CN111356970A/en
Priority to PCT/CN2017/114086 priority patent/WO2019104696A1/en
Publication of WO2019104696A1 publication Critical patent/WO2019104696A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60NSEATS SPECIALLY ADAPTED FOR VEHICLES; VEHICLE PASSENGER ACCOMMODATION NOT OTHERWISE PROVIDED FOR
    • B60N2/00Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles
    • B60N2/02Seats specially adapted for vehicles; Arrangement or mounting of seats in vehicles the seat or part thereof being movable, e.g. adjustable
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to an angle adjustment method, a smart seat, and a computer storage medium.
  • the angle adjustment scheme of the existing smart sofa is operated by the user to adjust the pitch angle of the sofa by operating a physical button or a touch screen installed on the armrest of the sofa.
  • the armrest is fixed, and the relative position of the user and the armrest (ie, the physical button or the touch screen) changes. Therefore, if the pitch angle of the sofa backrest is large, the difficulty of the user's adjustment operation is increased, and the operation is inconvenient.
  • the relative position of the user and the armrest changes, the user needs to change the corresponding angle adjustment manner to achieve the user's comfortable sitting posture, increase the user's memory burden, and the user's operation is not convenient.
  • the technical problem to be solved by the embodiments of the present invention is to provide an angle adjustment method, which can improve the convenience and practicability of the angle adjustment.
  • an embodiment of the present invention provides an angle adjustment method, where the method includes:
  • the smart seat acquires a first operation gesture input by the user
  • the smart seat is controlled according to the indication of the second operational gesture.
  • the correcting the first operation gesture according to the obtained current pitch angle of the smart seat, so that obtaining the second operation gesture comprises:
  • the compensation coefficient is a preset conversion matrix or a preset compensation factor.
  • the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point,
  • Determining, according to the compensation coefficient, the first operation gesture, so that obtaining the second operation gesture includes:
  • the first operation gesture is for requesting adjustment of a pitch angle of the smart seat
  • the second operation gesture includes an operation direction and/or an operation distance
  • Instructing to control the smart seat includes:
  • the operation direction of the second operation gesture when the operation direction of the second operation gesture is the first operation direction, increasing a pitch angle of the smart seat; when the operation direction of the second operation gesture is a second operation In the direction, the pitch angle of the smart seat is reduced.
  • the magnitude of the pitch angle of the smart seat is also varied.
  • adjusting a pitch angle of the smart seat is a first angle size; when the second When the operation distance of the operation gesture is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, The first angle size is greater than the second angle size.
  • the obtaining the first operation gesture of the user input comprises:
  • the first operational gesture input by the user is obtained by a sensor including, but not limited to, any of the following: a distance sensor, an infrared sensor, a magnetic levitation sensor, a pressure sensor, a displacement sensor, and the like.
  • the obtaining the first operation gesture of the user input comprises:
  • the first operation gesture input through the user's finger is acquired.
  • embodiments of the present invention disclose a smart seat comprising the functional unit of the method of the first aspect described above.
  • an embodiment of the present invention provides another smart seat, including a processor, an input device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used for A computer program for performing the above method on a storage support terminal, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of the first aspect above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
  • the smart seat can acquire the first operation gesture input by the user, and then correct the first operation gesture according to the obtained pitch angle of the smart seat, thereby obtaining the second operation gesture, so as to obtain the second operation gesture,
  • the smart seat is adjusted according to the indication of the second operation gesture.
  • the change of the current pitch angle of the smart seat can be taken into consideration, the adaptability can correct the user's operation gesture, and the modified operation gesture can be used to adjust or control the smart seat, so that the smart seat can be intelligently and conveniently
  • the chair is adjusted and controlled, and the user's memory burden is reduced, and the number of user operation gestures is reduced, thereby improving the convenience and practicability of the device adjustment.
  • FIG. 1 is a schematic diagram of a seat adjustment according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of another scene of seat adjustment according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a reference coordinate system change according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of an angle adjustment method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a smart seat according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a smart seat according to another embodiment of the present invention.
  • the smart seat is in a normal state (i.e., the seat back 1 is not tilted, and the pitch angle ⁇ is 0).
  • the smart seat includes a processor, a control module 10, and a motor module.
  • the FS control module can be installed outside the left/right side armrest 2 of the smart seat for acquiring an operation gesture input by the user for controlling the smart seat.
  • the manner in which the control module 10 obtains the operation gesture is not limited in the present application, for example, by using a sensor, or receiving an operation gesture sent by another device through a network.
  • the sensor includes, but is not limited to, a combination of any one or more of the following: a flexible sensor, a distance sensor, an infrared sensor, a magnetic levitation sensor, a pressure sensor, a displacement sensor, a position sensor, a speed sensor, and the like.
  • the user inputting the operation gesture may be contact or non-contact (suspended), which is not limited in the application.
  • the control module 10 includes a Totu Panel (TP), and the user can input a corresponding operation gesture on the TP to control the pitch angle of the smart seat back.
  • the control module 10 can detect and acquire the coordinates of the touch point of the user on the TP, so that the coordinates of the acquired touch point are reported to the processor in real time/periodically.
  • the processor receives these touches The coordinates of the point are analyzed and the operation gesture input by the user on the TP is obtained.
  • control module 10 includes a magnetic levitation sensor, and the control module 10 can detect that the user's finger is above the TP by using the magnetic levitation sensor, and can acquire operation data of the user's finger in the space above the TP, and send it to the processor CPU, so that the CPU analyzes the The data is manipulated to obtain an operation gesture input by the user.
  • control module 10 includes a flexible sensor, and the control module 10 can detect and acquire the coordinates of the touch point generated by the user in the TP pressing through the flexible sensor, and report the coordinates to the CPU in real time or periodically, so that the CPU analyzes the touch. The coordinates of the point to obtain the operation gesture input by the user.
  • the pitch angle refers to an angle formed by the seat back and the reference axis Y when the smart seat is tilted
  • FIG. 2 shows the seat back and the reference axis Y when the smart seat is tilted backward.
  • the motor module is used to control the forward or reverse rotation of the motor to increase or decrease the pitch angle of the smart seat back.
  • the motor module controls the forward rotation of the motor to increase the pitch angle ⁇ of the seat back; accordingly, controlling the motor reversal can reduce the pitch angle ⁇ of the seat back.
  • the motor module ie, the motor
  • the motor module can be mounted under the seat of the smart seat, not shown.
  • the processor is mainly responsible for the calculation of coordinates, the control of the motor module, etc., and will not be described in detail here.
  • the second reference coordinate system X'OY' is a reference coordinate system correspondingly created when the user is tilted (i.e., the seat back is tilted and the pitch angle ⁇ is not 0).
  • the pitch angle ⁇ of the smart seat here, the pitch angle of the seat back
  • the user's body is also tilted/changed as the pitch angle changes, and the operation is input with reference to the user's body.
  • Gestures also change. That is, the operation gesture that the user inputs the operation gesture on the first reference coordinate system and the second reference coordinate system may be different.
  • the sensor senses that the current operation direction of the corresponding input is at an angle of ⁇ with the horizontal direction.
  • Direction 1 and direction 2 respectively indicate the direction of the operation gesture that the user should input in different states.
  • the smart seat involved in the present application includes, but is not limited to, a massage device, a smart sofa, a smart chair, or other smart device that supports angle adjustment, which is not limited herein.
  • FIG. 4 is a schematic flowchart of an angle adjustment method according to an embodiment of the present invention.
  • the method shown in FIG. 4 includes the following implementation steps:
  • Step S102 The smart seat acquires a first operation gesture input by the user.
  • the first operation gesture may be an operation gesture that is customized for the user side or the terminal side, and the operation gesture is used to request adjustment and control of the smart seat, for example, requesting adjustment of the pitch angle of the smart seat.
  • the operation gestures include, but are not limited to, a click operation gesture, a slide operation gesture, and the like.
  • the application is not limited.
  • Step S104 The smart seat corrects the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture.
  • Step S106 The smart seat controls the smart seat according to the indication of the second operation gesture.
  • step S102 First, several specific embodiments involved in step S102 are introduced.
  • the smart seat can acquire a first operational gesture input by the user via the sensor. Specifically, the coordinate position of each initial touch point generated by the user touch TP (touch screen) is detected and acquired by the sensor. Correspondingly, the smart seat can know the first operation gesture input by the user by analyzing the coordinates of the initial touch points.
  • the sensor For the description of the sensor, refer to the related description in the foregoing embodiment, and details are not described herein again.
  • the operation data of the user's finger in the space above the screen may be acquired, and the first operation gesture input by the user is obtained by analyzing the operation data.
  • the smart seat can detect the user's finger through the magnetic levitation sensor Located above it, it is further possible to collect operational data generated by the user's finger in the upper space. The first operational gesture entered by the user can then be known by analyzing the operational data.
  • the first operational gesture may include coordinates of a plurality of operating points (also referred to herein as touch points).
  • the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point.
  • (X 1 , Y 1 ) may be the coordinates of the initial touch point when the user first starts to input the first operation gesture
  • (X 2 , Y 2 ) may be the end touch when the user finishes inputting the first operation gesture.
  • the coordinates of the point may also be coordinates of a touch point generated by an intermediate process when the user inputs the first operation gesture, which is not limited in this application.
  • step S104 the smart seat can acquire the current pitch angle ⁇ of the smart seat through a sensor such as an angle sensor. Further, the smart seat may correct the first operation gesture according to the pitch angle ⁇ , thereby obtaining the corrected second operation gesture.
  • the smart seat may obtain a corresponding compensation coefficient ⁇ according to the pitch angle ⁇ , and then correct the first operation gesture by using ⁇ .
  • the smart seat uses ⁇ to correct the coordinates of each initial touch point constituting the first operation gesture, thereby obtaining coordinates of each target touch point constituting the second operation gesture. .
  • the smart seat uses the compensation coefficient ⁇ to correct the coordinates of each initial touch point that is originally collected in the first reference coordinate system XOY and constitute the first operation gesture to the smart seat.
  • the coordinates of the respective target touch points may constitute/determine the second operation gesture.
  • the compensation coefficient ⁇ is a custom-set conversion matrix set on the user side or the smart seat side.
  • the conversion matrix is
  • the first operation gesture includes an example of the coordinates (X 1 , Y 1 ) of the first initial touch point A and the coordinates (X 2 , Y 2 ) of the second initial touch point B, and illustrates a specific implementation manner of step S104.
  • the touch points A and B are respectively touch points corresponding to the start time and the end time when the user inputs the first operation gesture.
  • the smart seat can calculate (X 1 , Y 1 ) and (X 2 , Y 2 ) into the following formula (1), respectively, thereby obtaining the coordinates of the corrected first target touch point A′ (X). ' 1 , Y' 1 ) and the coordinates of the second target touch point B'(X' 2 , Y' 2 ). Where A corresponds to A' and B corresponds to B'.
  • the compensation coefficient ⁇ is a user-side or smart seat side custom-set compensation factor.
  • a compensation factor (compensation coefficient ⁇ ) corresponding to the ⁇ may be searched from a database.
  • the smart seat may pre-create a database including a mapping relationship between a plurality of pitch angles ⁇ and a plurality of compensation factors.
  • the database includes a mapping relationship between a plurality of pitch angle intervals and a plurality of compensation factors.
  • the compensation factor corresponding to the threshold interval may be obtained from the database according to the threshold interval in which the current pitch angle ⁇ of the smart seat is located, as the corresponding compensation coefficient ⁇ .
  • a database is given below in which the compensation factor is acos ⁇ .
  • a is a custom constant, such as 0.35, 1.0, 1.8, and so on.
  • is the current pitch angle of the smart seat.
  • the compensation factor is acos ⁇
  • the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point A and coordinates (X 2 , Y 2 ) of the second initial touch point B.
  • the touch points A and B are respectively touch points corresponding to the start time and the end time when the user inputs the first operation gesture.
  • the smart seat can calculate (X 1 , Y 1 ) and (X 2 , Y 2 ) into the following formula (2), respectively, thereby obtaining the coordinates of the corrected first target touch point A′ (X). ' 1 , Y' 1 ) and the coordinates of the second target touch point B'(X' 2 , Y' 2 ). Where A corresponds to A' and B corresponds to B'.
  • acos ⁇ is the compensation factor, that is, the compensation coefficient.
  • the smart seat can correct the coordinates of each initial touch point of the first operation gesture by using the compensation coefficient ⁇ , thereby correspondingly obtaining the corrected second motion gesture.
  • the coordinates of each target touch point can be corrected.
  • the smart seat may obtain operation information of the second operation gesture according to the corrected coordinates of the respective target touch points constituting the second operation gesture, such as an operation direction and/or Operating distance and so on.
  • the operation direction of the second operation gesture may be
  • the operating distance may represent the distance ⁇ X on the X' axis, the distance ⁇ Y on the Y' axis, and the distance in the X'OY' coordinate system, using any of the following Wait.
  • ⁇ X
  • , ⁇ Y
  • the smart seat may also determine an operational direction of the second operational gesture based on a magnitude of ⁇ X or ⁇ Y.
  • the operation direction of the second operation gesture may be a first operation direction (such as sliding to the right or sliding upward); correspondingly, when ⁇ X or ⁇ Y is less than or equal to the preset
  • the operation direction of the second operation gesture may be a second operation direction (eg, sliding to the left or sliding down), and the like.
  • the preset threshold is a custom setting on the user side or the smart seat side. This application is not limited.
  • the smart seat can adjust and control the smart seat accordingly according to the indication of the second operation gesture. For example, the pitch angle of the smart seat is controlled, and the like.
  • the smart seat may be corrected according to the indication of the second operation gesture in step S106.
  • the current pitch angle ⁇ of the smart seat may be corrected according to the indication of the second operation gesture in step S106.
  • a mapping relationship between the plurality of operation gestures and the plurality of pitch angles may be pre-stored in the smart seat.
  • the smart seat may acquire a target pitch angle corresponding to the second operation gesture according to the second operation gesture, and then adjust a pitch angle ⁇ of the smart seat to the target pitch angle.
  • the smart seat may correct the pitch angle ⁇ according to an operation direction and/or an operation distance indicated by the second operation gesture. Specifically, the following two specific implementation manners exist.
  • the smart seat may change the trend/direction of the pitch angle ⁇ according to the operation direction indicated by the second operation gesture, specifically, increase/decrease the pitch angle ⁇ . .
  • the operation direction indicated by the second operation gesture is the first operation direction (sliding in the direction of the reference axis OX′ in the illustration, which may also be referred to as sliding to the right), and then the motor is controlled to rotate forward to increase The pitch angle ⁇ of the smart seat.
  • the operation direction indicated by the second operation gesture is the second operation direction (as shown in the figure, sliding along the reference axis X'O direction, which may also be referred to as sliding to the left), then the motor is reversed to The pitch angle ⁇ or the like of the smart seat is reduced.
  • the first operation direction and the second operation direction are directions defined by the user side or the smart seat side, which is not limited in the application.
  • the smart seat may change a change in the pitch angle ⁇ according to an operation distance indicated by the second operation gesture.
  • the smart seat side may preset a correspondence between the operating distance and the adjusted pitch angle ⁇ . For example, every 100 mm change, change 10° and so on.
  • the magnitude of the pitch angle ⁇ also changes.
  • the magnitude of the pitch angle of the smart seat is adjusted to be a first angle size ⁇ 1 ;
  • the operation distance of the second operation gesture is When the distance is two, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size ⁇ 2 ; wherein, when the first operating distance is greater than the second operating distance, the first angle size ⁇ 1 Greater than the second angular size ⁇ 2 .
  • the smart The seat can also continue to adjust the pitch angle ⁇ of the smart seat, such as increasing/decreasing ⁇ according to a preset angular velocity, and the like.
  • the FS control module may report the coordinates of the set of initial touch points to the processor CPU.
  • the CPU can control the current pitch angle of the smart seat to be -60°, thereby obtaining the conversion matrix. Further, the CPU may calculate the left side of each initial touch point included in the first operation gesture into the following formula (3) to obtain the corrected target touches of the second operation gesture. The coordinates of the handle.
  • the coordinates of A' are (630, 170), and the coordinates of B' are (748, 167).
  • the smart seat can determine the sliding direction and the sliding distance of the second operation gesture according to the coordinates of A' and B'.
  • the pitch angle ⁇ of the smart seat is then adjusted according to the sliding direction and the sliding distance.
  • the second operational gesture can be obtained from the coordinate calculations of A' and B', respectively.
  • the operation gesture for adjusting the pitch angle input by the user can be intelligently corrected in the case where the pitch angle of the smart seat is not 0, so as to facilitate user operation, compared with the prior art.
  • the number of user gestures can be reduced, the memory burden of the user can be reduced, and the convenience and practicability of the angle adjustment can be improved.
  • An embodiment of the present invention also provides a smart seat for performing the unit of the method of any of the preceding claims.
  • FIG. 5 it is a schematic block diagram of a smart seat provided by an embodiment of the present invention.
  • the smart seat 300 of the present embodiment includes: an obtaining unit 302, a processing unit 304, and a control unit 306, where
  • the obtaining unit 302 is configured to acquire a first operation gesture input by a user
  • the processing unit 304 is configured to correct the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture;
  • the control unit 306 is configured to control the smart seat according to the indication of the second operation gesture.
  • the acquiring unit is further configured to acquire a current pitch angle of the smart seat
  • the processing unit is configured to determine a corresponding compensation coefficient according to a current pitch angle of the smart seat
  • the processing unit is further configured to correct the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
  • the compensation coefficient is a preset conversion matrix or a preset compensation Compensation factor.
  • the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point,
  • the processing unit is configured to correct (X 1 , Y 1 ) and (X 2 , Y 2 ) respectively according to the compensation coefficient, thereby correspondingly obtaining coordinates of the first target touch point in the second operation gesture (X' 1 , Y' 1 ) and coordinates of the second target touch point (X' 2 , Y' 2 );
  • the processing unit is further configured to obtain an operation direction and/or an operation distance of the second operation gesture according to (X′ 1 , Y′ 1 ) and (X′ 2 , Y′ 2 ).
  • the second operational gesture includes an operational direction and/or an operational distance
  • the control unit is configured to adjust a direction of change of a pitch angle of the smart seat according to an operation direction in the second operation gesture; and/or,
  • the control unit is configured to adjust a change in a pitch angle of the smart seat according to an operation distance in the second operation gesture.
  • the operation direction of the second operation gesture when the operation direction of the second operation gesture is the first operation direction, increasing the pitch angle of the smart seat; when the operation direction of the second operation gesture is the second operation direction At the time, the pitch angle of the smart seat is reduced.
  • the magnitude of the pitch angle of the smart seat when the operation distance of the second operation gesture is the first operation distance, adjusting the magnitude of the pitch angle of the smart seat to be a first angle size; when the operation of the second operation gesture When the distance is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, the first angle size is greater than The second angle size.
  • the acquiring unit is configured to acquire a first operation gesture input by the user finger when detecting that the user's finger is suspended above the touch screen of the smart seat.
  • FIG. 6 is a schematic block diagram of a smart seat according to another embodiment of the present invention.
  • the smart seat 400 in this embodiment as shown may include: one or more processors 401; one or more Input device 402, one or more output devices 403, one or more drive devices 406 and memory 404.
  • the above processor 401, input device 402, output device 403, and memory 404 are connected by a bus 405.
  • the memory 402 is used to store a computer program, the computer program including program instructions, and the processor 401 is configured to execute program instructions stored in the memory 402.
  • the processor 401 is configured to invoke the program instruction to execute:
  • the smart seat is controlled according to the indication of the second operational gesture.
  • the correcting the first operation gesture according to the obtained current pitch angle of the smart seat, so that obtaining the second operation gesture comprises: acquiring a current pitch angle of the smart seat And determining a corresponding compensation coefficient; correcting the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
  • the compensation coefficient is a preset conversion matrix or a preset compensation factor.
  • the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point, where the Determining the compensation coefficient, the first operation gesture is corrected, so that obtaining the second operation gesture comprises: correcting (X 1 , Y 1 ) and (X 2 , Y 2 ) based on the compensation coefficient, respectively Correspondingly, obtaining coordinates (X' 1 , Y' 1 ) of the first target touch point and coordinates (X' 2 , Y' 2 ) of the second target touch point in the second operation gesture; further comprising: according to (X' 1 , Y' 1 ) and (X' 2 , Y' 2 ), obtaining an operation direction and/or an operation distance of the second operation gesture.
  • the second operation gesture includes an operation direction and/or an operation distance
  • the controlling the smart seat according to the indication of the second operation gesture comprises: according to the second operation An operation direction in the gesture, adjusting a direction of change of a pitch angle of the smart seat; and/or, according to an operation distance in the second operation gesture, performing a change in a pitch angle of the smart seat Adjustment.
  • the operation direction of the second operation gesture when the operation direction of the second operation gesture is the first operation direction, increasing the pitch angle of the smart seat; when the operation direction of the second operation gesture is the second operation direction At the time, the pitch angle of the smart seat is reduced.
  • the magnitude of the pitch angle of the smart seat when the operation distance of the second operation gesture is the first operation distance, adjusting the magnitude of the pitch angle of the smart seat to be a first angle size; when the operation of the second operation gesture When the distance is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, the first angle size is greater than The second angle size.
  • the acquiring the first operation gesture of the user input comprises: acquiring a first operation gesture input by the user finger when detecting that the user's finger is suspended above the touch screen of the smart seat.
  • the smart seat further includes a driving module 406.
  • the drive module 406 includes, but is not limited to, a motor, a driver, a controller, and the like.
  • the processor 401 controls the smart seat according to the indication of the second operation gesture
  • the smart seat can be controlled by the driving module 406 (such as a motor).
  • the processor 401 can send a control command to the drive module 406 (here, the motor).
  • the motor receives the control command, and according to the instruction of the control instruction, drives the motor to rotate forward to increase a pitch angle of the smart seat; and the drive motor reverses to reduce the smart seat Pitch angle and so on.
  • the processor 401 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 402 can include a touchpad, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, etc.
  • the output device 403 can include a display (LCD or the like), a speaker, and the like.
  • the memory 404 can include read only memory and random access memory and provides instructions and data to the processor 401.
  • a portion of memory 404 may also include non-volatile random access memory. example
  • the memory 404 can also store information of the device type.
  • the processor 401, the input device 402, the output device 403, and the driving device 406, which are described in the embodiments of the present invention, may be implemented in the method embodiment provided by the embodiment of the present invention, and may also be implemented.
  • the implementation manners of the terminal described in this embodiment of the present invention are not described herein again.
  • a computer readable storage medium is stored, the computer readable storage medium storing a computer program, the computer program comprising program instructions, which are executed by a processor as described above All or part of the embodiments or implementation steps of the method embodiments.
  • the computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal.
  • the computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the terminal.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

Disclosed are an angle adjusting method, a smart seat and a computer storage medium. The method comprises: acquiring a first operation gesture input by a user (S102); modifying the first operation gesture according to the obtained current pitch angle of the smart seat to obtain a second operation gesture (S104); and controlling the smart seat according to indication of the second operation gesture (S106). According to the method, the smart seat can be intelligently and conveniently adjusted or controlled, and the user's memory load and the number of set user operation gestures can be reduced, thereby improving the convenience and practicability of the device adjustment.

Description

角度调整方法、智能座椅及计算机存储介质Angle adjustment method, smart seat and computer storage medium 技术领域Technical field
本发明涉及终端技术领域,尤其涉及角度调整方法、智能座椅及计算机存储介质。The present invention relates to the field of terminal technologies, and in particular, to an angle adjustment method, a smart seat, and a computer storage medium.
背景技术Background technique
随着科技的进步以及人们生活水平的提高,越来越多的智能产品出现在人们的日常使用中,特别是按摩设备、智能沙发等。然而在实践中发现,目前针对这些智能产品的角度调整不够便捷、用户操作难度较大。With the advancement of technology and the improvement of people's living standards, more and more intelligent products appear in people's daily use, especially massage equipment, smart sofas and so on. However, in practice, it has been found that the current angle adjustment for these smart products is not convenient enough, and the user operation is difficult.
以智能沙发为例,现有智能沙发的角度调整方案是通过用户对沙发扶手上安装的物理按键或触摸屏进行操作,以对应调整沙发的俯仰角度。然而,在改变沙发靠背的俯仰角度时,扶手是固定不动的,此时用户和扶手(即物理按键或触摸屏)的相对位置发生变化。因此,如果沙发靠背的俯仰角度较大,将会增加用户调整操作的难度、操作不方便。同时,由于用户与扶手相对位置发生了变化,用户需改变相应地的角度调整方式,以达到用户舒适的坐姿角度,增加用户记忆负担、用户操作不便捷。Taking a smart sofa as an example, the angle adjustment scheme of the existing smart sofa is operated by the user to adjust the pitch angle of the sofa by operating a physical button or a touch screen installed on the armrest of the sofa. However, when changing the pitch angle of the sofa back, the armrest is fixed, and the relative position of the user and the armrest (ie, the physical button or the touch screen) changes. Therefore, if the pitch angle of the sofa backrest is large, the difficulty of the user's adjustment operation is increased, and the operation is inconvenient. At the same time, since the relative position of the user and the armrest changes, the user needs to change the corresponding angle adjustment manner to achieve the user's comfortable sitting posture, increase the user's memory burden, and the user's operation is not convenient.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种角度调整方法,能够提升角度调整的便捷性和实用性。The technical problem to be solved by the embodiments of the present invention is to provide an angle adjustment method, which can improve the convenience and practicability of the angle adjustment.
第一方面,本发明实施例公开提供了一种角度调整方法,所述方法包括:In a first aspect, an embodiment of the present invention provides an angle adjustment method, where the method includes:
智能座椅获取用户输入的第一操作手势;The smart seat acquires a first operation gesture input by the user;
根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势;And correcting the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture;
根据所述第二操作手势的指示,对所述智能座椅进行控制。The smart seat is controlled according to the indication of the second operational gesture.
在一些可能的实施例中,所述根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势包括:In some possible embodiments, the correcting the first operation gesture according to the obtained current pitch angle of the smart seat, so that obtaining the second operation gesture comprises:
获取所述智能座椅当前的俯仰角度,并确定对应的补偿系数; Obtaining a current pitch angle of the smart seat and determining a corresponding compensation coefficient;
根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势。And correcting the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
在一些可能的实施例中,所述补偿系数为预先设置的转换矩阵或者预先设置的补偿因子。In some possible embodiments, the compensation coefficient is a preset conversion matrix or a preset compensation factor.
在一些可能的实施例中,所述第一操作手势包括第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2),In some possible embodiments, the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point,
所述根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势包括:Determining, according to the compensation coefficient, the first operation gesture, so that obtaining the second operation gesture includes:
基于所述补偿系数,分别对(X1,Y1)和(X2,Y2)进行修正,从而对应获得所述第二操作手势中第一目标触控点的坐标(X'1,Y'1)和第二目标触控点的坐标(X'2,Y'2);还包括:Correcting (X 1 , Y 1 ) and (X 2 , Y 2 ) respectively according to the compensation coefficient, thereby correspondingly obtaining coordinates of the first target touch point in the second operation gesture (X′ 1 , Y ' 1 ) and the coordinates of the second target touch point (X' 2 , Y' 2 ); also includes:
根据(X'1,Y'1)和(X'2,Y'2),获得所述第二操作手势的操作方向和/或操作距离。According to (X' 1 , Y' 1 ) and (X' 2 , Y' 2 ), an operation direction and/or an operation distance of the second operation gesture are obtained.
在一些可能的实施例中,所述第一操作手势用于请求调整智能座椅的俯仰角度,所述第二操作手势包括操作方向和/或操作距离,所述根据所述第二操作手势的指示,对所述智能座椅进行控制包括:In some possible embodiments, the first operation gesture is for requesting adjustment of a pitch angle of the smart seat, and the second operation gesture includes an operation direction and/or an operation distance, according to the second operation gesture Instructing to control the smart seat includes:
根据所述第二操作手势中的操作方向,对所述智能座椅的俯仰角度的变化方向进行调整;和/或,Adjusting a direction of change of a pitch angle of the smart seat according to an operation direction in the second operation gesture; and/or,
根据所述第二操作手势中的操作距离,对所述智能座椅的俯仰角度的变化大小进行调整。Adjusting a change in a pitch angle of the smart seat according to an operation distance in the second operation gesture.
在一些可能的实施例中,当所述第二操作手势的操作方向为第一操作方向时,增大所述智能座椅的俯仰角度;当所述第二操作手势的操作方向为第二操作方向时,减小所述智能座椅的俯仰角度。In some possible embodiments, when the operation direction of the second operation gesture is the first operation direction, increasing a pitch angle of the smart seat; when the operation direction of the second operation gesture is a second operation In the direction, the pitch angle of the smart seat is reduced.
在一些可能的实施例中,随着所述第二操作手势的操作距离的变化,调整所述智能座椅的俯仰角度的大小也变化。In some possible embodiments, as the operating distance of the second operational gesture changes, the magnitude of the pitch angle of the smart seat is also varied.
具体的,在一些可能的实施例中,当所述第二操作手势的操作距离为第一操作距离时,调整所述智能座椅的俯仰角度的大小为第一角度大小;当所述第二操作手势的操作距离为第二操作距离时,调整所述智能座椅的俯仰角度的大小为第二角度大小;其中,当所述第一操作距离大于所述第二操作距离时,所 述第一角度大小大于所述第二角度大小。Specifically, in some possible embodiments, when the operation distance of the second operation gesture is the first operation distance, adjusting a pitch angle of the smart seat is a first angle size; when the second When the operation distance of the operation gesture is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, The first angle size is greater than the second angle size.
在一些可能的实施例中,所述获取用户输入的第一操作手势包括:In some possible embodiments, the obtaining the first operation gesture of the user input comprises:
通过传感器获取用户输入的第一操作手势,所述传感器包括但不限于以下中的任一项:距离传感器、红外线传感器、磁悬浮传感器、压力传感器、位移传感器等。The first operational gesture input by the user is obtained by a sensor including, but not limited to, any of the following: a distance sensor, an infrared sensor, a magnetic levitation sensor, a pressure sensor, a displacement sensor, and the like.
在一些可能的实施例中,所述获取用户输入的第一操作手势包括:In some possible embodiments, the obtaining the first operation gesture of the user input comprises:
当检测到用户手指悬浮于所述智能座椅的屏幕上方时,获取通过所述用户手指输入的第一操作手势。When it is detected that the user's finger is suspended above the screen of the smart seat, the first operation gesture input through the user's finger is acquired.
第二方面,本发明实施例公开提供了一种智能座椅,所述智能座椅包括如上所述第一方面所述的方法的功能单元。In a second aspect, embodiments of the present invention disclose a smart seat comprising the functional unit of the method of the first aspect described above.
第三方面,本发明实施例提供了另一种智能座椅,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。In a third aspect, an embodiment of the present invention provides another smart seat, including a processor, an input device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used for A computer program for performing the above method on a storage support terminal, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of the first aspect above.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
本发明实施例中智能座椅可获取用户输入的第一操作手势,然后根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势,以根据所述第二操作手势的指示,对所述智能座椅进行调整。采用本发明实施例,能够考虑到智能座椅当前的俯仰角度的变化,适应性对用户的操作手势进行修正,利用修正后的操作手势调整或控制智能座椅,可智能、便捷地对智能座椅进行调整和控制,同时也减轻了用户的记忆负担、减少用户操作手势的设置数量等,从而提升了设备调整的便捷性和实用性。In the embodiment of the present invention, the smart seat can acquire the first operation gesture input by the user, and then correct the first operation gesture according to the obtained pitch angle of the smart seat, thereby obtaining the second operation gesture, so as to obtain the second operation gesture, The smart seat is adjusted according to the indication of the second operation gesture. By adopting the embodiment of the invention, the change of the current pitch angle of the smart seat can be taken into consideration, the adaptability can correct the user's operation gesture, and the modified operation gesture can be used to adjust or control the smart seat, so that the smart seat can be intelligently and conveniently The chair is adjusted and controlled, and the user's memory burden is reduced, and the number of user operation gestures is reduced, thereby improving the convenience and practicability of the device adjustment.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the art.
图1是本发明实施例提供的一种座椅调整的场景示意图;1 is a schematic diagram of a seat adjustment according to an embodiment of the present invention;
图2是本发明实施例提供的又一种座椅调整的场景示意图;2 is a schematic diagram of another scene of seat adjustment according to an embodiment of the present invention;
图3是本发明实施例提供的一种参考坐标系变化的示意图;3 is a schematic diagram of a reference coordinate system change according to an embodiment of the present invention;
图4是本发明实施例提供的一种角度调整方法的流程示意图;4 is a schematic flow chart of an angle adjustment method according to an embodiment of the present invention;
图5是本发明实施例提供的一种智能座椅的结构示意图;FIG. 5 is a schematic structural diagram of a smart seat according to an embodiment of the present invention; FIG.
图6是本发明另一实施例提供的智能座椅的结构示意图。FIG. 6 is a schematic structural diagram of a smart seat according to another embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
下面以终端设备为智能座椅为例,阐述本发明实施例适用的应用场景。如图1示出智能座椅处于正常状态(即座椅靠背1无倾斜、俯仰角度θ为0)的示意图。如图1,智能座椅包括处理器、控制模块10以及电机模块。其中,FS控制模块可安装在智能座椅左侧/右侧扶手2的外部,以用于获取用户输入的操作手势,该操作手势用于控制智能座椅。The application scenario of the embodiment of the present invention is described below by taking the terminal device as a smart seat as an example. As shown in Fig. 1, the smart seat is in a normal state (i.e., the seat back 1 is not tilted, and the pitch angle θ is 0). As shown in FIG. 1, the smart seat includes a processor, a control module 10, and a motor module. Wherein, the FS control module can be installed outside the left/right side armrest 2 of the smart seat for acquiring an operation gesture input by the user for controlling the smart seat.
具体的,控制模块10获取所述操作手势的方式本申请并不做限定,例如通过传感器获取,或者通过网络接收其他设备发送的操作手势等。所述传感器包括但不限于以下中的任一项或多项的组合:柔性传感器、距离传感器、红外线传感器、磁悬浮传感器、压力传感器、位移传感器、位置传感器、速度传感器等等。Specifically, the manner in which the control module 10 obtains the operation gesture is not limited in the present application, for example, by using a sensor, or receiving an operation gesture sent by another device through a network. The sensor includes, but is not limited to, a combination of any one or more of the following: a flexible sensor, a distance sensor, an infrared sensor, a magnetic levitation sensor, a pressure sensor, a displacement sensor, a position sensor, a speed sensor, and the like.
可选地,用户输入所述操作手势可以是接触式或非接触式(悬浮)的,本申请不做限定。可选地,控制模块10包括有触摸屏(Toutch Panel,TP),用户可在TP上输入相应地的操作手势,以控制调整智能座椅靠背的俯仰角度。可选地,控制模块10可检测并获取用户在TP上的触控点的坐标,以将获取的触控点的坐标实时/周期性地上报给处理器。相应地,处理器接收这些触控 点的坐标,并分析从而获取用户在TP上输入的操作手势。Optionally, the user inputting the operation gesture may be contact or non-contact (suspended), which is not limited in the application. Optionally, the control module 10 includes a Totu Panel (TP), and the user can input a corresponding operation gesture on the TP to control the pitch angle of the smart seat back. Optionally, the control module 10 can detect and acquire the coordinates of the touch point of the user on the TP, so that the coordinates of the acquired touch point are reported to the processor in real time/periodically. Correspondingly, the processor receives these touches The coordinates of the point are analyzed and the operation gesture input by the user on the TP is obtained.
可选地,控制模块10包括磁悬浮传感器,控制模块10可通过磁悬浮传感器检测到用户手指在TP上方,可获取用户手指在TP上方空间中的操作数据,并发送给处理器CPU,以便CPU分析该操作数据,从而获取用户输入的操作手势。Optionally, the control module 10 includes a magnetic levitation sensor, and the control module 10 can detect that the user's finger is above the TP by using the magnetic levitation sensor, and can acquire operation data of the user's finger in the space above the TP, and send it to the processor CPU, so that the CPU analyzes the The data is manipulated to obtain an operation gesture input by the user.
可选地,控制模块10包括柔性传感器,控制模块10可通过柔性传感器检测并获取用户在TP按压所产生的触控点的坐标,并实时或周期性地上报给CPU,以便CPU分析这些触控点的坐标,从而获得用户输入的操作手势。Optionally, the control module 10 includes a flexible sensor, and the control module 10 can detect and acquire the coordinates of the touch point generated by the user in the TP pressing through the flexible sensor, and report the coordinates to the CPU in real time or periodically, so that the CPU analyzes the touch. The coordinates of the point to obtain the operation gesture input by the user.
应理解的,所述俯仰角度是指智能座椅发生倾斜时,座椅靠背与参考轴Y所形成的夹角,如图2示出智能座椅向后倾斜时座椅靠背与参考轴Y所形成的夹角θ。It should be understood that the pitch angle refers to an angle formed by the seat back and the reference axis Y when the smart seat is tilted, and FIG. 2 shows the seat back and the reference axis Y when the smart seat is tilted backward. The angle θ formed.
电机模块用于控制电机正转或反转,以增大或减小智能座椅靠背的俯仰角度。例如,电机模块控制电机正转可增大座椅靠背的俯仰角度θ;相应地,控制电机反转可减小座椅靠背的俯仰角度θ。The motor module is used to control the forward or reverse rotation of the motor to increase or decrease the pitch angle of the smart seat back. For example, the motor module controls the forward rotation of the motor to increase the pitch angle θ of the seat back; accordingly, controlling the motor reversal can reduce the pitch angle θ of the seat back.
可选地,电机模块(即电机)可安装在智能座椅的座椅下面,图未示。处理器主要负责坐标的计算、电机模块的控制等等,这里不做过多详述。Alternatively, the motor module (ie, the motor) can be mounted under the seat of the smart seat, not shown. The processor is mainly responsible for the calculation of coordinates, the control of the motor module, etc., and will not be described in detail here.
如图2示出智能座椅的靠背发生倾斜(即座椅靠背的俯仰角度θ不为0)的示意图。相应地,如图3示出智能座椅未发生倾斜以及发生倾斜后所对应的参考坐标系的示意图。其中,第一参考坐标系XOY为用户正常坐姿(即座椅靠背未倾斜、俯仰角度θ=0)时所对应的参考坐标系。第二参考坐标系X’OY’为用户发生倾斜(即座椅靠背发生倾斜、俯仰角度θ不为0)时所对应创建的参考坐标系。2 is a schematic view showing the inclination of the backrest of the smart seat (ie, the pitch angle θ of the seat back is not 0). Correspondingly, as shown in FIG. 3, a schematic diagram of the reference coordinate system corresponding to the smart seat without tilting and tilting is shown. The first reference coordinate system XOY is a reference coordinate system corresponding to the normal sitting posture of the user (ie, the seat back is not tilted, and the pitch angle θ=0). The second reference coordinate system X'OY' is a reference coordinate system correspondingly created when the user is tilted (i.e., the seat back is tilted and the pitch angle θ is not 0).
应理解的,当智能座椅的俯仰角度θ(这里即座椅靠背的俯仰角度)改变时,用户身体也会随着俯仰角度的变化而发生倾斜/改变,以用户身体为参考而输入的操作手势也会发生变化。即是,用户输入的操作手势在上述第一参考坐标系以及第二参考坐标系上被识别到的操作手势会存在不同。It should be understood that when the pitch angle θ of the smart seat (here, the pitch angle of the seat back) is changed, the user's body is also tilted/changed as the pitch angle changes, and the operation is input with reference to the user's body. Gestures also change. That is, the operation gesture that the user inputs the operation gesture on the first reference coordinate system and the second reference coordinate system may be different.
例如,用户在智能座椅上以正常坐姿(即俯仰角度θ=0,第一参考坐标下)时输入的操作手势为左右水平滑动,以调整座椅靠背的俯仰角度θ。然而,换成用户以平躺/倾斜姿势下(即俯仰角度θ≠0,第二参考坐标下)时传感器感应到当前所对应输入的操作手势方向与水平方向呈θ的夹角。具体如图3所示, 方向1和方向2分别表示用户在不同状态下所应输入的操作手势方向。For example, the operation gesture input by the user in the normal sitting posture (ie, the pitch angle θ=0, the first reference coordinate) on the smart seat is horizontally sliding to adjust the pitch angle θ of the seat back. However, when the user switches to the lying/tilting posture (ie, the pitch angle θ≠0, the second reference coordinate), the sensor senses that the current operation direction of the corresponding input is at an angle of θ with the horizontal direction. Specifically, as shown in Figure 3, Direction 1 and direction 2 respectively indicate the direction of the operation gesture that the user should input in different states.
因此,用户倾斜状态下输入的操作手势与在正常状态下所输入的操作手势存在一定的偏差。如果智能座椅还是按照原来正常状态下所采集的操作手势来调整俯仰角度,容易产生误差,与实际不吻合。Therefore, there is a certain deviation between the operation gesture input in the user tilt state and the operation gesture input in the normal state. If the smart seat still adjusts the pitch angle according to the operation gestures collected under the normal state, it is easy to produce an error, which does not coincide with the actual situation.
需要说明的是,本申请涉及的智能座椅包括但不限于按摩设备、智能沙发、智能靠椅、或其他支持角度调节的智能设备,本申请不做限定。下面将阐述本申请涉及的一些实施例。It should be noted that the smart seat involved in the present application includes, but is not limited to, a massage device, a smart sofa, a smart chair, or other smart device that supports angle adjustment, which is not limited herein. Some embodiments related to the present application are set forth below.
为解决上述问题,请参见图4,是本发明实施例提供的一种角度调整方法的流程示意图。如图4所示的方法包括如下实施步骤:To solve the above problem, please refer to FIG. 4 , which is a schematic flowchart of an angle adjustment method according to an embodiment of the present invention. The method shown in FIG. 4 includes the following implementation steps:
步骤S102、智能座椅获取用户输入的第一操作手势。Step S102: The smart seat acquires a first operation gesture input by the user.
所述第一操作手势可为用户侧或终端侧自定义设置的操作手势,该操作手势用于请求对智能座椅进行调整和控制,例如请求调整智能座椅的俯仰角度。所述操作手势包括但不限于点击操作手势、滑动操作手势等等。关于所述第一操作手势的获取方式,本申请不做限定。The first operation gesture may be an operation gesture that is customized for the user side or the terminal side, and the operation gesture is used to request adjustment and control of the smart seat, for example, requesting adjustment of the pitch angle of the smart seat. The operation gestures include, but are not limited to, a click operation gesture, a slide operation gesture, and the like. Regarding the manner of acquiring the first operation gesture, the application is not limited.
步骤S104、所述智能座椅根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势。Step S104: The smart seat corrects the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture.
步骤S106、所述智能座椅根据所述第二操作手势的指示,对所述智能座椅进行控制。Step S106: The smart seat controls the smart seat according to the indication of the second operation gesture.
下面介绍本申请涉及的一些具体实施例和可选实施例。Some specific embodiments and alternative embodiments related to the present application are described below.
首先,介绍步骤S102涉及的几种具体实施方式。First, several specific embodiments involved in step S102 are introduced.
在一种实施方式中,智能座椅通过传感器可获取用户输入的第一操作手势。具体的,通过传感器检测并获取用户触控TP(触摸屏)所产生的各个初始触控点的坐标位置。相应地,所述智能座椅可通过分析这些初始触控点的坐标,获知用户输入的第一操作手势。关于所述传感器可参见前述实施例中的相关描述,这里不再赘述。In one embodiment, the smart seat can acquire a first operational gesture input by the user via the sensor. Specifically, the coordinate position of each initial touch point generated by the user touch TP (touch screen) is detected and acquired by the sensor. Correspondingly, the smart seat can know the first operation gesture input by the user by analyzing the coordinates of the initial touch points. For the description of the sensor, refer to the related description in the foregoing embodiment, and details are not described herein again.
在又一种实施方式中,智能座椅在检测到用户手指悬浮于屏幕上方时,可获取用户手指在所述屏幕上方空间中的操作数据,通过分析该操作数据获得用户输入的第一操作手势。具体的,智能座椅可通过磁悬浮传感器检测用户手指 位于其上方,进一步可采集用户手指在上方空间中产生的操作数据。然后通过分析这些操作数据可获知用户输入的第一操作手势。In another embodiment, when the smart seat detects that the user's finger is suspended above the screen, the operation data of the user's finger in the space above the screen may be acquired, and the first operation gesture input by the user is obtained by analyzing the operation data. . Specifically, the smart seat can detect the user's finger through the magnetic levitation sensor Located above it, it is further possible to collect operational data generated by the user's finger in the upper space. The first operational gesture entered by the user can then be known by analyzing the operational data.
应理解的,也即是所述第一操作手势可包括多个操作点(本申请也称为触控点)的坐标。It should be understood that the first operational gesture may include coordinates of a plurality of operating points (also referred to herein as touch points).
在可选实施例中,所述第一操作手势包括第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2)。其中,(X1,Y1)可为用户刚开始输入第一操作手势时的起始触控点的坐标,(X2,Y2)可为用户结束输入第一操作手势时的结束触控点的坐标。可选地,它们也可为用户输入第一操作手势时中间过程所产生的触控点的坐标,本申请不做限定。In an optional embodiment, the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point. (X 1 , Y 1 ) may be the coordinates of the initial touch point when the user first starts to input the first operation gesture, and (X 2 , Y 2 ) may be the end touch when the user finishes inputting the first operation gesture. The coordinates of the point. Optionally, they may also be coordinates of a touch point generated by an intermediate process when the user inputs the first operation gesture, which is not limited in this application.
步骤S104中,智能座椅可通过传感器(如角度传感器)获取所述智能座椅当前的俯仰角度θ。进一步地,所述智能座椅可根据俯仰角度θ来修正所述第一操作手势,从而获得修正后的第二操作手势。下面介绍步骤S104涉及的一些具体实施例。In step S104, the smart seat can acquire the current pitch angle θ of the smart seat through a sensor such as an angle sensor. Further, the smart seat may correct the first operation gesture according to the pitch angle θ, thereby obtaining the corrected second operation gesture. Some specific embodiments involved in step S104 are described below.
具体实现中,所述智能座椅可根据俯仰角度θ获得对应的补偿系数γ,然后利用γ来修正所述第一操作手势。在实际应用中,也即是所述智能座椅利用γ来对构成所述第一操作手势的各个初始触控点的坐标进行修正,从而获得构成第二操作手势的各个目标触控点的坐标。In a specific implementation, the smart seat may obtain a corresponding compensation coefficient γ according to the pitch angle θ, and then correct the first operation gesture by using γ. In practical applications, the smart seat uses γ to correct the coordinates of each initial touch point constituting the first operation gesture, thereby obtaining coordinates of each target touch point constituting the second operation gesture. .
结合前述实施例,也即是所述智能座椅利用补偿系数γ,将原本在第一参考坐标系XOY下采集的构成所述第一操作手势的各个初始触控点的坐标,修正至智能座椅发生倾斜(即存在俯仰角度θ)时所对应的第二参考坐标系X’OY’下所对应的各个目标触控点的坐标。其中,所述各个目标触控点的坐标可构成/确定所述第二操作手势。In combination with the foregoing embodiment, that is, the smart seat uses the compensation coefficient γ to correct the coordinates of each initial touch point that is originally collected in the first reference coordinate system XOY and constitute the first operation gesture to the smart seat. The coordinates of the respective target touch points corresponding to the second reference coordinate system X'OY' corresponding to the inclination of the chair (that is, the pitch angle θ). The coordinates of the respective target touch points may constitute/determine the second operation gesture.
在一种实施方式中,所述补偿系数γ为用户侧或智能座椅侧自定义设置好的转换矩阵。下面以所述转换矩阵为
Figure PCTCN2017114086-appb-000001
所述第一操作手势包括第一初始触控点A的坐标(X1,Y1)和第二初始触控点B的坐标(X2,Y2)为例,阐述步骤S104的具体实施方式。其中,触控点A、B分别为用户输入所述第一操作手势时开始时刻和结束时刻所对应产生的触控点。
In an embodiment, the compensation coefficient γ is a custom-set conversion matrix set on the user side or the smart seat side. The conversion matrix is
Figure PCTCN2017114086-appb-000001
The first operation gesture includes an example of the coordinates (X 1 , Y 1 ) of the first initial touch point A and the coordinates (X 2 , Y 2 ) of the second initial touch point B, and illustrates a specific implementation manner of step S104. . The touch points A and B are respectively touch points corresponding to the start time and the end time when the user inputs the first operation gesture.
具体的,智能座椅可将(X1,Y1)和(X2,Y2)分别代入以下公式(1)中计算,从而获得修正后的第一目标触控点A’的坐标(X'1,Y'1)和第二目标触控点B’的坐标(X'2,Y'2)。其中,A与A’对应,B与B’对应。Specifically, the smart seat can calculate (X 1 , Y 1 ) and (X 2 , Y 2 ) into the following formula (1), respectively, thereby obtaining the coordinates of the corrected first target touch point A′ (X). ' 1 , Y' 1 ) and the coordinates of the second target touch point B'(X' 2 , Y' 2 ). Where A corresponds to A' and B corresponds to B'.
Figure PCTCN2017114086-appb-000002
Figure PCTCN2017114086-appb-000002
公式(1)中:
Figure PCTCN2017114086-appb-000003
为转换矩阵、
Figure PCTCN2017114086-appb-000004
为所述第一操作手势中包含的初始触控点的坐标、
Figure PCTCN2017114086-appb-000005
为所述第二操作手势中包含的目标触控点的坐标。
In formula (1):
Figure PCTCN2017114086-appb-000003
For the transformation matrix,
Figure PCTCN2017114086-appb-000004
The coordinates of the initial touch point included in the first operation gesture,
Figure PCTCN2017114086-appb-000005
The coordinates of the target touch point included in the second operation gesture.
在又一种实施方式中,所述补偿系数γ为用户侧或智能座椅侧自定义设置好的补偿因子。In still another embodiment, the compensation coefficient γ is a user-side or smart seat side custom-set compensation factor.
具体的,在获取到所述智能座椅当前的俯仰角度θ后,可从数据库中查找与所述θ对应的补偿因子(补偿系数γ)。在可选实施例中,所述智能座椅可预先创建数据库,所述数据库中包括有多个俯仰角度θ和多个补偿因子之间的映射关系。或者,所述数据库中包括有多个俯仰角度区间与多个补偿因子之间的映射关系。相应地在获取补偿因子时,可根据所述智能座椅当前的俯仰角度θ所处的阈值区间,从数据库中获取该阈值区间所对应的补偿因子,以作为对应的补偿系数γ。Specifically, after acquiring the current pitch angle θ of the smart seat, a compensation factor (compensation coefficient γ) corresponding to the θ may be searched from a database. In an alternative embodiment, the smart seat may pre-create a database including a mapping relationship between a plurality of pitch angles θ and a plurality of compensation factors. Alternatively, the database includes a mapping relationship between a plurality of pitch angle intervals and a plurality of compensation factors. Correspondingly, when the compensation factor is obtained, the compensation factor corresponding to the threshold interval may be obtained from the database according to the threshold interval in which the current pitch angle θ of the smart seat is located, as the corresponding compensation coefficient γ.
示例性地,下面给出一个数据库,该数据库中所述补偿因子为acosθ。其中,a为自定义的常数,例如0.35、1.0、1.8等等。θ为智能座椅当前的俯仰角度。Illustratively, a database is given below in which the compensation factor is acos θ. Where a is a custom constant, such as 0.35, 1.0, 1.8, and so on. θ is the current pitch angle of the smart seat.
表1Table 1
俯仰角度(θ)Pitch angle (θ) 补偿因子Compensation factor
30°30° 0.866a0.866a
45°45° 0.707a0.707a
60°60° 0.5a0.5a
... ...
下面以所述补偿因子为acosθ,所述第一操作手势包括第一初始触控点A的坐标(X1,Y1)和第二初始触控点B的坐标(X2,Y2)为例,阐述步骤S104的具体实施方式。其中,触控点A、B分别为用户输入所述第一操作手势时开始时刻和结束时刻所对应产生的触控点。The compensation factor is acos θ, and the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point A and coordinates (X 2 , Y 2 ) of the second initial touch point B. For example, the specific implementation of step S104 is explained. The touch points A and B are respectively touch points corresponding to the start time and the end time when the user inputs the first operation gesture.
具体的,智能座椅可将(X1,Y1)和(X2,Y2)分别代入以下公式(2)中计算,从而获得修正后的第一目标触控点A’的坐标(X'1,Y'1)和第二目标触控点B’的坐标(X'2,Y'2)。其中,A与A’对应,B与B’对应。Specifically, the smart seat can calculate (X 1 , Y 1 ) and (X 2 , Y 2 ) into the following formula (2), respectively, thereby obtaining the coordinates of the corrected first target touch point A′ (X). ' 1 , Y' 1 ) and the coordinates of the second target touch point B'(X' 2 , Y' 2 ). Where A corresponds to A' and B corresponds to B'.
Figure PCTCN2017114086-appb-000006
Figure PCTCN2017114086-appb-000006
公式(2)中:acosθ为补偿因子,即补偿系数。
Figure PCTCN2017114086-appb-000007
为所述第一操作手势中包含的初始触控点的坐标、
Figure PCTCN2017114086-appb-000008
为所述第二操作手势中包含的目标触控点的坐标。
In formula (2): acos θ is the compensation factor, that is, the compensation coefficient.
Figure PCTCN2017114086-appb-000007
The coordinates of the initial touch point included in the first operation gesture,
Figure PCTCN2017114086-appb-000008
The coordinates of the target touch point included in the second operation gesture.
应理解的,上述触控点A和B、补偿因子acosθ以及补偿矩阵
Figure PCTCN2017114086-appb-000009
仅为示例,并不构成限定。相应地,按照上述坐标修正原理,所述智能座椅可利用补偿系数γ对所述第一操作手势的各个初始触控点的坐标进行修正,从而对应获得修正后构成所述第二操作手势的各个目标触控点的坐标。
It should be understood that the above touch points A and B, the compensation factor acos θ, and the compensation matrix
Figure PCTCN2017114086-appb-000009
It is merely an example and is not limiting. Correspondingly, according to the above-mentioned coordinate correction principle, the smart seat can correct the coordinates of each initial touch point of the first operation gesture by using the compensation coefficient γ, thereby correspondingly obtaining the corrected second motion gesture. The coordinates of each target touch point.
在可选实施例中,所述智能座椅可根据修正后的构成所述第二操作手势的各个目标触控点的坐标,获得所述第二操作手势的操作信息,例如操作方向和/或操作距离等等。In an optional embodiment, the smart seat may obtain operation information of the second operation gesture according to the corrected coordinates of the respective target touch points constituting the second operation gesture, such as an operation direction and/or Operating distance and so on.
例如,引用上述触控点A’的坐标(X'1,Y'1)和B’的坐标(X'2,Y'2),相应地所述第二操作手势的操作方向可为
Figure PCTCN2017114086-appb-000010
操作距离可用以下中的任一项表示在X’轴上的距离ΔX、在Y’轴上的距离ΔY以及在X’OY’坐标系中的距离
Figure PCTCN2017114086-appb-000011
等。其中:ΔX=|X'1-X'2|,ΔY=|Y'1-Y'2|。
For example, referring to the coordinates (X' 1 , Y' 1 ) of the touch point A' and the coordinates (X' 2 , Y' 2 ) of the B', the operation direction of the second operation gesture may be
Figure PCTCN2017114086-appb-000010
The operating distance may represent the distance ΔX on the X' axis, the distance ΔY on the Y' axis, and the distance in the X'OY' coordinate system, using any of the following
Figure PCTCN2017114086-appb-000011
Wait. Where: ΔX=|X' 1 -X' 2 |, ΔY=|Y' 1 -Y' 2 |.
在可选实施例中,所述智能座椅还可根据ΔX或ΔY的大小确定所述第二操作手势的操作方向。具体的,当ΔX或ΔY大于预设阈值时,所述第二操作手势的操作方向可为第一操作方向(如向右滑动或向上滑动);相应地,当ΔX或ΔY小于或等于预设阈值时,所述第二操作手势的操作方向可为第二操作方向(如向左滑动或向下滑动)等等。所述预设阈值为用户侧或智能座椅侧自定义设置 的,本申请不做限定。In an alternative embodiment, the smart seat may also determine an operational direction of the second operational gesture based on a magnitude of ΔX or ΔY. Specifically, when ΔX or ΔY is greater than a preset threshold, the operation direction of the second operation gesture may be a first operation direction (such as sliding to the right or sliding upward); correspondingly, when ΔX or ΔY is less than or equal to the preset At the threshold, the operation direction of the second operation gesture may be a second operation direction (eg, sliding to the left or sliding down), and the like. The preset threshold is a custom setting on the user side or the smart seat side. This application is not limited.
步骤S106中,所述智能座椅可根据所述第二操作手势的指示对所述智能座椅进行相应地的调整和控制。例如对所述智能座椅的俯仰角度进行控制等等。In step S106, the smart seat can adjust and control the smart seat accordingly according to the indication of the second operation gesture. For example, the pitch angle of the smart seat is controlled, and the like.
应理解的,当S102中所述第一操作手势用于请求调整所述智能座椅的俯仰角度时,则相应地步骤S106中所述智能座椅可根据所述第二操作手势的指示修正所述智能座椅当前的俯仰角度θ。It should be understood that, when the first operation gesture in S102 is used to request adjustment of the pitch angle of the smart seat, the smart seat may be corrected according to the indication of the second operation gesture in step S106. The current pitch angle θ of the smart seat.
在一种实施方式中,所述智能座椅中可预先存储有多个操作手势和多个俯仰角度之间的映射关系。相应地,所述智能座椅可根据所述第二操作手势,获取所述第二操作手势所对应的目标俯仰角度,然后将所述智能座椅的俯仰角度θ调整至所述目标俯仰角度。In an embodiment, a mapping relationship between the plurality of operation gestures and the plurality of pitch angles may be pre-stored in the smart seat. Correspondingly, the smart seat may acquire a target pitch angle corresponding to the second operation gesture according to the second operation gesture, and then adjust a pitch angle θ of the smart seat to the target pitch angle.
在又一种实施方式中,所述智能座椅可根据所述第二操作手势所指示的操作方向和/或操作距离来修正俯仰角度θ。具体存在以下两种具体实施方式。In still another embodiment, the smart seat may correct the pitch angle θ according to an operation direction and/or an operation distance indicated by the second operation gesture. Specifically, the following two specific implementation manners exist.
在一种具体实施方式中,所述智能座椅可根据所述第二操作手势所指示的操作方向,来改变俯仰角度θ的变化趋势/方向,具体的即为增大/减小俯仰角度θ。In a specific embodiment, the smart seat may change the trend/direction of the pitch angle θ according to the operation direction indicated by the second operation gesture, specifically, increase/decrease the pitch angle θ. .
例如,所述第二操作手势所指示的操作方向为第一操作方向(如图示中沿着参考轴OX’方向滑动,也可称为向右滑动),则控制电机正转,以增大所述智能座椅的俯仰角度θ。相应地,所述第二操作手势所指示的操作方向为第二操作方向(如图示中沿着参考轴X’O方向滑动,也可称为向左滑动),则控制电机反转,以减小所述智能座椅的俯仰角度θ等。可选地,所述第一操作方向和所述第二操作方向为用户侧或智能座椅侧定义设置的方向,本申请不做限定。For example, the operation direction indicated by the second operation gesture is the first operation direction (sliding in the direction of the reference axis OX′ in the illustration, which may also be referred to as sliding to the right), and then the motor is controlled to rotate forward to increase The pitch angle θ of the smart seat. Correspondingly, the operation direction indicated by the second operation gesture is the second operation direction (as shown in the figure, sliding along the reference axis X'O direction, which may also be referred to as sliding to the left), then the motor is reversed to The pitch angle θ or the like of the smart seat is reduced. Optionally, the first operation direction and the second operation direction are directions defined by the user side or the smart seat side, which is not limited in the application.
在又一种具体实施方式中,所述智能座椅可根据所述第二操作手势所指示的操作距离,来改变俯仰角度θ的变化大小。可选地,智能座椅侧可预先设置所述操作距离与调整俯仰角度θ大小的对应关系。例如,每变化100mm时,改变10°等等。In still another specific embodiment, the smart seat may change a change in the pitch angle θ according to an operation distance indicated by the second operation gesture. Optionally, the smart seat side may preset a correspondence between the operating distance and the adjusted pitch angle θ. For example, every 100 mm change, change 10° and so on.
即是随着所述操作距离的变化,俯仰角度θ大小也在变化。例如,当所述 第二操作手势的操作距离为第一操作距离时,调整所述智能座椅的俯仰角度的大小为第一角度大小θ1;当所述第二操作手势的操作距离为第二操作距离时,调整所述智能座椅的俯仰角度的大小为第二角度大小θ2;其中,当所述第一操作距离大于所述第二操作距离时,所述第一角度大小θ1大于所述第二角度大小θ2That is, as the operating distance changes, the magnitude of the pitch angle θ also changes. For example, when the operation distance of the second operation gesture is the first operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a first angle size θ 1 ; when the operation distance of the second operation gesture is When the distance is two, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size θ 2 ; wherein, when the first operating distance is greater than the second operating distance, the first angle size θ 1 Greater than the second angular size θ 2 .
在可选实施例中,当所述智能座椅检测到所述第二操作手势所指示的操作距离不发生变化,且用户并未结束针对所述第一操作手势的输入动作时,所述智能座椅还可继续调整所述智能座椅的俯仰角度θ,例如按照预设角速度来增大/减小θ等等。In an optional embodiment, when the smart seat detects that the operating distance indicated by the second operation gesture does not change, and the user does not end the input action for the first operation gesture, the smart The seat can also continue to adjust the pitch angle θ of the smart seat, such as increasing/decreasing θ according to a preset angular velocity, and the like.
为帮助用户理解下面以补偿系数
Figure PCTCN2017114086-appb-000012
为例,详细阐述本发明实施例。具体的,参见图1B,如果用户当前调整智能座椅靠椅向后倾斜60°,即智能座椅可通过角度传感器可采集到所述智能座椅当前的俯仰角度θ=-60°。进一步地,用户在FSS控制模块中的TP上进行第一操作手势所对应的触控操作,其产生对应一组初始触控点的坐标分别为:(139,645)(140,646)(144,649)(149,653)(155,658)….(219,723)(227,730)。可选地,所述FS控制模块可将该组初始触控点的坐标上报给处理器CPU。
To help users understand the following compensation factors
Figure PCTCN2017114086-appb-000012
For example, the embodiments of the present invention are explained in detail. Specifically, referring to FIG. 1B, if the user currently adjusts the smart seat chair to tilt backward by 60°, the smart seat can collect the current pitch angle θ=−60° of the smart seat through the angle sensor. Further, the user performs a touch operation corresponding to the first operation gesture on the TP in the FSS control module, and the coordinates of the corresponding initial touch point are: (139, 645) (140, 646) (144, 649) (149, 653) (155, 658).... (219, 723) (227, 730). Optionally, the FS control module may report the coordinates of the set of initial touch points to the processor CPU.
相应地,所述CPU可控制获取所述智能座椅当前的俯仰角度-60°,进而获知到转换矩阵
Figure PCTCN2017114086-appb-000013
进一步地,所述CPU可将所述第一操作手势所包含的各个初始触控点的左边带入以下公式(3)进行计算,从而获得修正后的构成所述第二操作手势的各个目标触控点的坐标。
Correspondingly, the CPU can control the current pitch angle of the smart seat to be -60°, thereby obtaining the conversion matrix.
Figure PCTCN2017114086-appb-000013
Further, the CPU may calculate the left side of each initial touch point included in the first operation gesture into the following formula (3) to obtain the corrected target touches of the second operation gesture. The coordinates of the handle.
Figure PCTCN2017114086-appb-000014
Figure PCTCN2017114086-appb-000014
其中,下面以所述第一操作手势的起始初始触控点A的坐标(139,645)以及结束初始触控点B的坐标(227,730)为例,获得构成所述第二操作手势中起始目标触控点A’的坐标和结束目标触控点B’的坐标。For example, taking the coordinates (139, 645) of the initial initial touch point A of the first operation gesture and the coordinates (227, 730) of ending the initial touch point B as an example, obtaining a starting target in the second operation gesture is obtained. The coordinates of the touch point A' and the coordinates of the end target touch point B'.
具体的,
Figure PCTCN2017114086-appb-000015
也即是A’的坐标为(630,170)、B’的坐标为(748,167)。
specific,
Figure PCTCN2017114086-appb-000015
That is, the coordinates of A' are (630, 170), and the coordinates of B' are (748, 167).
进一步地,所述智能座椅可根据A’和B’的坐标,确定所述第二操作手势的滑动方向以及滑动距离。然后根据该滑动方向和滑动距离调整所述智能座椅的俯仰角度θ。例如,这里可根据A’和B’的坐标计算获得第二操作手势分别 在XY轴方向上的位移分别为:ΔX=748-630=118,ΔY=167-170=3。由于ΔX=118>100(预设阈值),可知所述第二操作手势的操作方向为向右滑动。相应地,根据滑动距离118,获知到需调整的俯仰角度θ的大小为118/10=11.8°。因此,所述智能座椅的处理器可控制电机正转,将智能座椅的俯仰角度向前调整11.8°,也即是将所述智能座椅的俯仰角度θ调整至-60°+11.8°=-48.2°。Further, the smart seat can determine the sliding direction and the sliding distance of the second operation gesture according to the coordinates of A' and B'. The pitch angle θ of the smart seat is then adjusted according to the sliding direction and the sliding distance. For example, the second operational gesture can be obtained from the coordinate calculations of A' and B', respectively. The displacements in the XY axis direction are: ΔX = 748 - 630 = 118, and ΔY = 167 - 170 = 3. Since ΔX=118>100 (preset threshold), it can be seen that the operation direction of the second operation gesture is sliding to the right. Accordingly, according to the sliding distance 118, it is known that the magnitude of the pitch angle θ to be adjusted is 118/10=11.8°. Therefore, the processor of the smart seat can control the forward rotation of the motor to adjust the pitch angle of the smart seat forward by 11.8°, that is, adjust the pitch angle θ of the smart seat to -60°+11.8°. = -48.2 °.
通过实施本发明实施例,能够在智能座椅的俯仰角度不为0的情况下,智能地对用户输入的用于调整俯仰角度的操作手势进行修正,以方便用户操作,相对于现有技术而言,能够减少用户操作手势的设置数量、减轻用户的记忆负担,还能提升角度调整的便捷性和实用性。By implementing the embodiment of the present invention, the operation gesture for adjusting the pitch angle input by the user can be intelligently corrected in the case where the pitch angle of the smart seat is not 0, so as to facilitate user operation, compared with the prior art. In other words, the number of user gestures can be reduced, the memory burden of the user can be reduced, and the convenience and practicability of the angle adjustment can be improved.
上述详细阐述了本发明实施例的方法,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关设备。The foregoing describes the method of the embodiment of the present invention in detail. In the following, in order to facilitate the implementation of the above solution of the embodiment of the present invention, correspondingly, the related device for implementing the above solution is provided below.
本发明实施例还提供一种智能座椅,该智能座椅用于执行前述任一项所述的方法的单元。具体地,参见图5,是本发明实施例提供的一种智能座椅的示意框图。本实施例的智能座椅300包括:获取单元302、处理单元304以及控制单元306,其中,An embodiment of the present invention also provides a smart seat for performing the unit of the method of any of the preceding claims. Specifically, referring to FIG. 5, it is a schematic block diagram of a smart seat provided by an embodiment of the present invention. The smart seat 300 of the present embodiment includes: an obtaining unit 302, a processing unit 304, and a control unit 306, where
所述获取单元302用于获取用户输入的第一操作手势;The obtaining unit 302 is configured to acquire a first operation gesture input by a user;
所述处理单元304用于根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势;The processing unit 304 is configured to correct the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture;
所述控制单元306用于根据所述第二操作手势的指示,对所述智能座椅进行控制。The control unit 306 is configured to control the smart seat according to the indication of the second operation gesture.
在可选实施例中,In an alternative embodiment,
所述获取单元还用于获取所述智能座椅当前的俯仰角度;The acquiring unit is further configured to acquire a current pitch angle of the smart seat;
所述处理单元用于根据所述智能座椅当前的俯仰角度,确定对应的补偿系数;The processing unit is configured to determine a corresponding compensation coefficient according to a current pitch angle of the smart seat;
所述处理单元还用于根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势。The processing unit is further configured to correct the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
在可选实施例中,所述补偿系数为预先设置的转换矩阵或者预先设置的补 偿因子。In an optional embodiment, the compensation coefficient is a preset conversion matrix or a preset compensation Compensation factor.
在可选实施例中,所述第一操作手势包括第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2),In an optional embodiment, the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point,
所述处理单元用于基于所述补偿系数,分别对(X1,Y1)和(X2,Y2)进行修正,从而对应获得所述第二操作手势中第一目标触控点的坐标(X'1,Y'1)和第二目标触控点的坐标(X'2,Y'2);The processing unit is configured to correct (X 1 , Y 1 ) and (X 2 , Y 2 ) respectively according to the compensation coefficient, thereby correspondingly obtaining coordinates of the first target touch point in the second operation gesture (X' 1 , Y' 1 ) and coordinates of the second target touch point (X' 2 , Y' 2 );
所述处理单元还用于根据(X'1,Y'1)和(X'2,Y'2),获得所述第二操作手势的操作方向和/或操作距离。The processing unit is further configured to obtain an operation direction and/or an operation distance of the second operation gesture according to (X′ 1 , Y′ 1 ) and (X′ 2 , Y′ 2 ).
在可选实施例中,所述第二操作手势包括操作方向和/或操作距离,In an alternative embodiment, the second operational gesture includes an operational direction and/or an operational distance,
所述控制单元用于根据所述第二操作手势中的操作方向,对所述智能座椅的俯仰角度的变化方向进行调整;和/或,The control unit is configured to adjust a direction of change of a pitch angle of the smart seat according to an operation direction in the second operation gesture; and/or,
所述控制单元用于根据所述第二操作手势中的操作距离,对所述智能座椅的俯仰角度的变化大小进行调整。The control unit is configured to adjust a change in a pitch angle of the smart seat according to an operation distance in the second operation gesture.
在可选实施例中,当所述第二操作手势的操作方向为第一操作方向时,增大所述智能座椅的俯仰角度;当所述第二操作手势的操作方向为第二操作方向时,减小所述智能座椅的俯仰角度。In an optional embodiment, when the operation direction of the second operation gesture is the first operation direction, increasing the pitch angle of the smart seat; when the operation direction of the second operation gesture is the second operation direction At the time, the pitch angle of the smart seat is reduced.
在可选实施例中,当所述第二操作手势的操作距离为第一操作距离时,调整所述智能座椅的俯仰角度的大小为第一角度大小;当所述第二操作手势的操作距离为第二操作距离时,调整所述智能座椅的俯仰角度的大小为第二角度大小;其中,当所述第一操作距离大于所述第二操作距离时,所述第一角度大小大于所述第二角度大小。In an optional embodiment, when the operation distance of the second operation gesture is the first operation distance, adjusting the magnitude of the pitch angle of the smart seat to be a first angle size; when the operation of the second operation gesture When the distance is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, the first angle size is greater than The second angle size.
在可选实施例中,In an alternative embodiment,
所述获取单元用于当检测到用户手指悬浮于所述智能座椅的触摸屏上方时,获取通过所述用户手指输入的第一操作手势。The acquiring unit is configured to acquire a first operation gesture input by the user finger when detecting that the user's finger is suspended above the touch screen of the smart seat.
本发明实施例中未示出或未描述的内容可具体参见前述图2所述实施例中的相关描述,这里不再赘述。The content that is not shown or described in the embodiment of the present invention may be specifically referred to the related description in the foregoing embodiment of FIG. 2, and details are not described herein again.
参见图6,是本发明另一实施例提供的一种智能座椅示意框图。如图所示的本实施例中的智能座椅400可以包括:一个或多个处理器401;一个或多个 输入设备402,一个或多个输出设备403,一个或多个驱动设备406和存储器404。上述处理器401、输入设备402、输出设备403和存储器404通过总线405连接。存储器402用于存储计算机程序,所述计算机程序包括程序指令,处理器401用于执行存储器402存储的程序指令。其中,处理器401被配置用于调用所述程序指令执行:FIG. 6 is a schematic block diagram of a smart seat according to another embodiment of the present invention. The smart seat 400 in this embodiment as shown may include: one or more processors 401; one or more Input device 402, one or more output devices 403, one or more drive devices 406 and memory 404. The above processor 401, input device 402, output device 403, and memory 404 are connected by a bus 405. The memory 402 is used to store a computer program, the computer program including program instructions, and the processor 401 is configured to execute program instructions stored in the memory 402. The processor 401 is configured to invoke the program instruction to execute:
获取用户输入的第一操作手势;Obtaining a first operation gesture input by the user;
根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势;And correcting the first operation gesture according to the obtained current pitch angle of the smart seat, thereby obtaining a second operation gesture;
根据所述第二操作手势的指示,对所述智能座椅进行控制。The smart seat is controlled according to the indication of the second operational gesture.
在可选实施例中,所述根据获取的所述智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势包括:获取所述智能座椅当前的俯仰角度,并确定对应的补偿系数;根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势。In an optional embodiment, the correcting the first operation gesture according to the obtained current pitch angle of the smart seat, so that obtaining the second operation gesture comprises: acquiring a current pitch angle of the smart seat And determining a corresponding compensation coefficient; correcting the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
在可选实施例中,所述补偿系数为预先设置的转换矩阵或者预先设置的补偿因子。In an optional embodiment, the compensation coefficient is a preset conversion matrix or a preset compensation factor.
在可选实施例中,所述第一操作手势包括第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2),所述根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势包括:基于所述补偿系数,分别对(X1,Y1)和(X2,Y2)进行修正,从而对应获得所述第二操作手势中第一目标触控点的坐标(X'1,Y'1)和第二目标触控点的坐标(X'2,Y'2);还包括:根据(X'1,Y'1)和(X'2,Y'2),获得所述第二操作手势的操作方向和/或操作距离。In an optional embodiment, the first operation gesture includes coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates (X 2 , Y 2 ) of the second initial touch point, where the Determining the compensation coefficient, the first operation gesture is corrected, so that obtaining the second operation gesture comprises: correcting (X 1 , Y 1 ) and (X 2 , Y 2 ) based on the compensation coefficient, respectively Correspondingly, obtaining coordinates (X' 1 , Y' 1 ) of the first target touch point and coordinates (X' 2 , Y' 2 ) of the second target touch point in the second operation gesture; further comprising: according to (X' 1 , Y' 1 ) and (X' 2 , Y' 2 ), obtaining an operation direction and/or an operation distance of the second operation gesture.
在可选实施例中,所述第二操作手势包括操作方向和/或操作距离,所述根据所述第二操作手势的指示,对所述智能座椅进行控制包括:根据所述第二操作手势中的操作方向,对所述智能座椅的俯仰角度的变化方向进行调整;和/或,根据所述第二操作手势中的操作距离,对所述智能座椅的俯仰角度的变化大小进行调整。In an optional embodiment, the second operation gesture includes an operation direction and/or an operation distance, and the controlling the smart seat according to the indication of the second operation gesture comprises: according to the second operation An operation direction in the gesture, adjusting a direction of change of a pitch angle of the smart seat; and/or, according to an operation distance in the second operation gesture, performing a change in a pitch angle of the smart seat Adjustment.
在可选实施例中,当所述第二操作手势的操作方向为第一操作方向时,增大所述智能座椅的俯仰角度;当所述第二操作手势的操作方向为第二操作方向 时,减小所述智能座椅的俯仰角度。In an optional embodiment, when the operation direction of the second operation gesture is the first operation direction, increasing the pitch angle of the smart seat; when the operation direction of the second operation gesture is the second operation direction At the time, the pitch angle of the smart seat is reduced.
在可选实施例中,当所述第二操作手势的操作距离为第一操作距离时,调整所述智能座椅的俯仰角度的大小为第一角度大小;当所述第二操作手势的操作距离为第二操作距离时,调整所述智能座椅的俯仰角度的大小为第二角度大小;其中,当所述第一操作距离大于所述第二操作距离时,所述第一角度大小大于所述第二角度大小。In an optional embodiment, when the operation distance of the second operation gesture is the first operation distance, adjusting the magnitude of the pitch angle of the smart seat to be a first angle size; when the operation of the second operation gesture When the distance is the second operation distance, the magnitude of the pitch angle of the smart seat is adjusted to be a second angle size; wherein, when the first operation distance is greater than the second operation distance, the first angle size is greater than The second angle size.
在可选实施例中,所述获取用户输入的第一操作手势包括:当检测到用户手指悬浮于所述智能座椅的触摸屏上方时,获取通过所述用户手指输入的第一操作手势。In an optional embodiment, the acquiring the first operation gesture of the user input comprises: acquiring a first operation gesture input by the user finger when detecting that the user's finger is suspended above the touch screen of the smart seat.
可选地,所述智能座椅还包括驱动模块406。所述驱动模块406包括但不限于电机、驱动器、控制器等。具体的,所述处理器401在根据所述第二操作手势的指示对所述智能座椅进行控制时,可通过所述驱动模块406(如电机)来控制所述智能座椅。以利用电机调整所述智能座椅的俯仰角度为例,所述处理器401可向所述驱动模块406(这里即为电机)发送控制指令。相应地,所述电机接收所述控制指令,并根据所述控制指令的指示,驱动电机正转以增大所述智能座椅的俯仰角度;驱动电机反转以减小所述智能座椅的俯仰角度等等。Optionally, the smart seat further includes a driving module 406. The drive module 406 includes, but is not limited to, a motor, a driver, a controller, and the like. Specifically, when the processor 401 controls the smart seat according to the indication of the second operation gesture, the smart seat can be controlled by the driving module 406 (such as a motor). Taking the motor to adjust the pitch angle of the smart seat as an example, the processor 401 can send a control command to the drive module 406 (here, the motor). Correspondingly, the motor receives the control command, and according to the instruction of the control instruction, drives the motor to rotate forward to increase a pitch angle of the smart seat; and the drive motor reverses to reduce the smart seat Pitch angle and so on.
应当理解,在本发明实施例中,所述处理器401可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 401 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
输入设备402可以包括触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备403可以包括显示器(LCD等)、扬声器等。The input device 402 can include a touchpad, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, etc., and the output device 403 can include a display (LCD or the like), a speaker, and the like.
该存储器404可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器404的一部分还可以包括非易失性随机存取存储器。例 如,存储器404还可以存储设备类型的信息。The memory 404 can include read only memory and random access memory and provides instructions and data to the processor 401. A portion of memory 404 may also include non-volatile random access memory. example For example, the memory 404 can also store information of the device type.
具体实现中,本发明实施例中所描述的处理器401、输入设备402、输出设备403、驱动设备406可执行本发明实施例提供的所述方法实施例中所描述的实现方式,也可执行本发明实施例所描述的终端的实现方式,在此不再赘述。In a specific implementation, the processor 401, the input device 402, the output device 403, and the driving device 406, which are described in the embodiments of the present invention, may be implemented in the method embodiment provided by the embodiment of the present invention, and may also be implemented. The implementation manners of the terminal described in this embodiment of the present invention are not described herein again.
在本发明的另一实施例中提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时实现如上所述方法实施例中的所有或部分实施方式或实施步骤。In another embodiment of the present invention, a computer readable storage medium is stored, the computer readable storage medium storing a computer program, the computer program comprising program instructions, which are executed by a processor as described above All or part of the embodiments or implementation steps of the method embodiments.
所述计算机可读存储介质可以是前述任一实施例所述的终端的内部存储单元,例如终端的硬盘或内存。所述计算机可读存储介质也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc. Further, the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer readable storage medium is for storing the computer program and other programs and data required by the terminal. The computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above disclosure is only a preferred embodiment of the present invention, and of course, the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the present invention. The equivalent changes required are still within the scope of the invention.

Claims (15)

  1. 一种角度调整方法,其特征在于,所述方法包括:An angle adjustment method, characterized in that the method comprises:
    获取用户输入的第一操作手势;Obtaining a first operation gesture input by the user;
    根据获取的智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势;Correcting the first operation gesture according to the current pitch angle of the acquired smart seat, thereby obtaining a second operation gesture;
    根据所述第二操作手势的指示,对所述智能座椅进行控制。The smart seat is controlled according to the indication of the second operational gesture.
  2. 根据权利要求1所述的方法,其特征在于,所述根据获取的智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势包括:The method according to claim 1, wherein the correcting the first operation gesture according to the current pitch angle of the acquired smart seat, thereby obtaining the second operation gesture comprises:
    获取智能座椅当前的俯仰角度,并确定对应的补偿系数;Obtain the current pitch angle of the smart seat and determine the corresponding compensation coefficient;
    根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势。And correcting the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
  3. 根据权利要求2所述的方法,其特征在于,所述补偿系数为预先设置的转换矩阵或者预先设置的补偿因子。The method according to claim 2, wherein the compensation coefficient is a preset conversion matrix or a preset compensation factor.
  4. 根据权利要求2所述的方法,其特征在于,所述第一操作手势包括但不限于第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2),The method according to claim 2, wherein the first operation gesture comprises, but is not limited to, coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates of the second initial touch point (X 2 , Y 2 ),
    所述根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势包括:Determining, according to the compensation coefficient, the first operation gesture, so that obtaining the second operation gesture includes:
    基于所述补偿系数,分别对(X1,Y1)和(X2,Y2)进行修正,从而对应获得所述第二操作手势中第一目标触控点的坐标(X′1,Y1')和第二目标触控点的坐标(X'2,Y′2);还包括:Correcting (X 1 , Y 1 ) and (X 2 , Y 2 ) respectively according to the compensation coefficient, thereby correspondingly obtaining coordinates of the first target touch point in the second operation gesture (X′ 1 , Y 1 ') and the coordinates of the second target touch point (X' 2 , Y' 2 ); also includes:
    根据(X′1,Y1')和(X'2,Y′2),获得所述第二操作手势的操作方向和/或操作距离。According to (X' 1 , Y 1 ') and (X' 2 , Y' 2 ), an operation direction and/or an operation distance of the second operation gesture are obtained.
  5. 根据权利要求1所述的方法,其特征在于,所述第一操作手势用于请求调整智能座椅的俯仰角度,所述第二操作手势包括操作方向和/或操作距离,所述根据所述第二操作手势的指示,对所述智能座椅进行控制包括:The method of claim 1 wherein said first operational gesture is for requesting adjustment of a pitch angle of a smart seat, said second operational gesture comprising an operational direction and/or an operational distance, said The indication of the second operation gesture, the controlling the smart seat comprises:
    根据所述第二操作手势中的操作方向,对所述智能座椅的俯仰角度的变化趋势进行调整;和/或,Adjusting a trend of a change in a pitch angle of the smart seat according to an operation direction in the second operation gesture; and/or,
    根据所述第二操作手势中的操作距离,对所述智能座椅的俯仰角度的变化 大小进行调整。Changing the pitch angle of the smart seat according to the operating distance in the second operation gesture Size is adjusted.
  6. 根据权利要求5所述的方法,其特征在于,The method of claim 5 wherein:
    当所述第二操作手势的操作方向为第一操作方向时,增大所述智能座椅的俯仰角度;Increasing a pitch angle of the smart seat when an operation direction of the second operation gesture is a first operation direction;
    当所述第二操作手势的操作方向为第二操作方向时,减小所述智能座椅的俯仰角度。When the operation direction of the second operation gesture is the second operation direction, the pitch angle of the smart seat is reduced.
  7. 根据权利要求5所述的方法,其特征在于,随着所述第二操作手势的操作距离的变化,调整所述智能座椅的俯仰角度的大小也变化。The method according to claim 5, wherein the magnitude of the pitch angle of the smart seat is also changed as the operating distance of the second operation gesture changes.
  8. 一种智能座椅,包括处理器、输入设备、输出设备、驱动设备和存储器,所述处理器、输入设备、输出设备、驱动设备和存储器相互连接,其特征在于,所述存储器用于存储支持终端执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如下操作:A smart seat includes a processor, an input device, an output device, a drive device, and a memory, the processor, the input device, the output device, the drive device, and the memory being interconnected, wherein the memory is used for storage support The terminal executes a computer program of the above method, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the following operations:
    获取用户输入的第一操作手势;Obtaining a first operation gesture input by the user;
    根据获取的智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势;Correcting the first operation gesture according to the current pitch angle of the acquired smart seat, thereby obtaining a second operation gesture;
    根据所述第二操作手势的指示,对所述智能座椅进行控制。The smart seat is controlled according to the indication of the second operational gesture.
  9. 根据权利要求8所述的智能座椅,其特征在于,所述根据获取的智能座椅当前的俯仰角度,对所述第一操作手势进行修正,从而获得第二操作手势包括:The smart seat according to claim 8, wherein the correcting the first operation gesture according to the current pitch angle of the acquired smart seat, thereby obtaining the second operation gesture comprises:
    获取智能座椅当前的俯仰角度,并确定对应的补偿系数;Obtain the current pitch angle of the smart seat and determine the corresponding compensation coefficient;
    根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势。And correcting the first operation gesture according to the compensation coefficient, thereby obtaining the second operation gesture.
  10. 根据权利要求9所述的智能座椅,其特征在于,所述补偿系数为预先设置的转换矩阵或者预先设置的补偿因子。The smart seat according to claim 9, wherein the compensation coefficient is a preset conversion matrix or a preset compensation factor.
  11. 根据权利要求9所述的智能座椅,其特征在于,所述第一操作手势包括第一初始触控点的坐标(X1,Y1)以及第二初始触控点的坐标(X2,Y2),The smart seat according to claim 9, wherein the first operation gesture comprises coordinates (X 1 , Y 1 ) of the first initial touch point and coordinates of the second initial touch point (X 2 , Y 2 ),
    所述根据所述补偿系数,对所述第一操作手势进行修正,从而获得所述第二操作手势包括:Determining, according to the compensation coefficient, the first operation gesture, so that obtaining the second operation gesture includes:
    基于所述补偿系数,分别对(X1,Y1)和(X2,Y2)进行修正,从而对应 获得所述第二操作手势中第一目标触控点的坐标(X′1,Y1')和第二目标触控点的坐标(X'2,Y′2);还包括:Correcting (X 1 , Y 1 ) and (X 2 , Y 2 ) respectively according to the compensation coefficient, thereby correspondingly obtaining coordinates of the first target touch point in the second operation gesture (X′ 1 , Y 1 ') and the coordinates of the second target touch point (X' 2 , Y' 2 ); also includes:
    根据(X′1,Y1')和(X'2,Y′2),获得所述第二操作手势的操作方向和/或操作距离。According to (X' 1 , Y 1 ') and (X' 2 , Y' 2 ), an operation direction and/or an operation distance of the second operation gesture are obtained.
  12. 根据权利要求8所述的智能座椅,其特征在于,所述第一操作手势用于请求调整智能座椅的俯仰角度,所述第二操作手势包括操作方向和/或操作距离,所述根据所述第二操作手势的指示,对所述智能座椅进行控制包括:The smart seat according to claim 8, wherein the first operation gesture is for requesting adjustment of a pitch angle of the smart seat, and the second operation gesture includes an operation direction and/or an operation distance, the basis The indication of the second operation gesture, the controlling the smart seat comprises:
    根据所述第二操作手势中的操作方向,对所述智能座椅的俯仰角度的变化方向进行调整;和/或,Adjusting a direction of change of a pitch angle of the smart seat according to an operation direction in the second operation gesture; and/or,
    根据所述第二操作手势中的操作距离,对所述智能座椅的俯仰角度的变化大小进行调整。Adjusting a change in a pitch angle of the smart seat according to an operation distance in the second operation gesture.
  13. 根据权利要求12所述的智能座椅,其特征在于,A smart seat according to claim 12, wherein
    当所述第二操作手势的操作方向为第一操作方向时,增大所述智能座椅的俯仰角度;Increasing a pitch angle of the smart seat when an operation direction of the second operation gesture is a first operation direction;
    当所述第二操作手势的操作方向为第二操作方向时,减小所述智能座椅的俯仰角度。When the operation direction of the second operation gesture is the second operation direction, the pitch angle of the smart seat is reduced.
  14. 根据权利要求12所述的智能座椅,其特征在于,随着所述第二操作手势的操作距离的变化,调整所述智能座椅的俯仰角度的大小也变化。The smart seat according to claim 12, wherein the magnitude of the pitch angle of the smart seat is also changed as the operating distance of the second operation gesture changes.
  15. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如上权利要求1-7中任一项所述的方法。 A computer readable storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform the above claim 1 The method of any of -7.
PCT/CN2017/114086 2017-11-30 2017-11-30 Angle adjusting method, smart seat and computer storage medium WO2019104696A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780096880.9A CN111356970A (en) 2017-11-30 2017-11-30 Angle adjusting method, intelligent seat and computer storage medium
PCT/CN2017/114086 WO2019104696A1 (en) 2017-11-30 2017-11-30 Angle adjusting method, smart seat and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/114086 WO2019104696A1 (en) 2017-11-30 2017-11-30 Angle adjusting method, smart seat and computer storage medium

Publications (1)

Publication Number Publication Date
WO2019104696A1 true WO2019104696A1 (en) 2019-06-06

Family

ID=66664301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114086 WO2019104696A1 (en) 2017-11-30 2017-11-30 Angle adjusting method, smart seat and computer storage medium

Country Status (2)

Country Link
CN (1) CN111356970A (en)
WO (1) WO2019104696A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113320448A (en) * 2021-06-01 2021-08-31 智己汽车科技有限公司 Seat adjusting method and device and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291785A (en) * 2022-08-25 2022-11-04 慕思健康睡眠股份有限公司 Touch control method and device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205198904U (en) * 2015-10-27 2016-05-04 山西睿智健科技有限公司 Adjustable chair
US20160132124A1 (en) * 2013-08-02 2016-05-12 Mitsubishi Electric Corporation Gesture determination apparatus and method, gesture operation apparatus, program, and recording medium
CN105979391A (en) * 2016-06-02 2016-09-28 苏州乐米信息科技有限公司 Intelligent television game gesture identification method
CN107107793A (en) * 2014-12-19 2017-08-29 奥迪股份公司 Control according to seat inclination angle to equipment
CN107357457A (en) * 2017-06-29 2017-11-17 上海与德科技有限公司 A kind of display methods and display system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200967A (en) * 2016-07-09 2016-12-07 东莞市华睿电子科技有限公司 The method that a kind of terminal projection gesture controls

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160132124A1 (en) * 2013-08-02 2016-05-12 Mitsubishi Electric Corporation Gesture determination apparatus and method, gesture operation apparatus, program, and recording medium
CN107107793A (en) * 2014-12-19 2017-08-29 奥迪股份公司 Control according to seat inclination angle to equipment
CN205198904U (en) * 2015-10-27 2016-05-04 山西睿智健科技有限公司 Adjustable chair
CN105979391A (en) * 2016-06-02 2016-09-28 苏州乐米信息科技有限公司 Intelligent television game gesture identification method
CN107357457A (en) * 2017-06-29 2017-11-17 上海与德科技有限公司 A kind of display methods and display system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113320448A (en) * 2021-06-01 2021-08-31 智己汽车科技有限公司 Seat adjusting method and device and computer readable storage medium
WO2022253140A1 (en) * 2021-06-01 2022-12-08 智己汽车科技有限公司 Seat adjustment method and device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN111356970A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
US10052147B2 (en) Touch free operation of ablator workstation by use of depth sensors
JP2020078666A (en) Technique for adjusting posture of seated person
JP6134963B2 (en) Screen capture method, apparatus, and terminal device
JP6619003B2 (en) Removable input / output module with adjustment mechanism
US10346027B2 (en) Information processing apparatus, information processing method, and program
US20170052517A1 (en) Desk Adjusting Method and Desk
US20170280889A1 (en) Office chair system and method for adjusting and using an office chair system
CN104898822B (en) A kind of control method and electronic equipment
WO2019104696A1 (en) Angle adjusting method, smart seat and computer storage medium
KR20150128377A (en) Method for processing fingerprint and electronic device thereof
TWI557637B (en) Method for adjusting screen displaying mode and electronic device
TW201435715A (en) Method and system for operating portable devices
WO2017185459A1 (en) Method and apparatus for moving icons
CN105988483A (en) Mechanical arm driving system, mechanical arm and mechanical arm driving method
US20170131893A1 (en) Terminal control method and device
US10296079B2 (en) Display device and adjustment method thereof
EP2418573A2 (en) Display apparatus and method for moving displayed object
US20130176214A1 (en) Touch control method
JP5403522B2 (en) Control device, robot, control method, and program
US20110216022A1 (en) Display input apparatus and display input method
WO2015067023A1 (en) Motion control method, terminal and system for video conference
WO2013177761A1 (en) Display control method and device
CN114911384B (en) Mirror display and remote control method thereof
US11550430B2 (en) Information processing apparatus, information processing method, and recording medium
JP7214887B2 (en) Nursing care bed system and nursing care bed position changing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17933438

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17933438

Country of ref document: EP

Kind code of ref document: A1