WO2017133498A1 - Intelligent device and intelligent device control method - Google Patents

Intelligent device and intelligent device control method Download PDF

Info

Publication number
WO2017133498A1
WO2017133498A1 PCT/CN2017/071948 CN2017071948W WO2017133498A1 WO 2017133498 A1 WO2017133498 A1 WO 2017133498A1 CN 2017071948 W CN2017071948 W CN 2017071948W WO 2017133498 A1 WO2017133498 A1 WO 2017133498A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart device
operation instruction
coordinate
preset
motion
Prior art date
Application number
PCT/CN2017/071948
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 林勇
Publication of WO2017133498A1 publication Critical patent/WO2017133498A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Definitions

  • the present invention relates to the field of motion detection technologies, and in particular, to a smart device and a smart device control method.
  • buttons or touch screens for interactive operation.
  • Most of the smart devices on the market today (such as smart watches) use buttons or touch screens for interactive operation.
  • Most of the smart devices are small in size, and the screens they set are relatively small, which is inconvenient when the user performs a pressing operation or a touch operation by hand.
  • the user when the user interacts with the smart device, most of them need to work with both hands, which is very inconvenient.
  • an object of the embodiments of the present invention is to provide a smart device and a smart device control method.
  • the smart device provided by the embodiment of the invention includes a sensor and a control system, and the control system includes:
  • a coordinate acquiring module configured to acquire spatial coordinates of the smart device in a three-dimensional coordinate system; wherein the method for acquiring the spatial coordinates is: acquiring the first in the three-dimensional coordinate system when the smart device is in the first position a coordinate; a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; and a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
  • An operation action judging module configured to calculate a first difference between the first coordinate and the second coordinate, determine whether the first difference is greater than a preset first distance threshold, and if yes, calculate the first coordinate and Determining, by the second difference of the third coordinate, whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device moves from the first position to the second position And the process of moving from the second position to the third position is an operation action;
  • An effective action judging module configured to calculate a motion time of the operation action, determine whether the motion time is less than a preset first time threshold, and if yes, determine that the operation action is a valid operation;
  • An operation instruction acquiring module configured to obtain a motion trajectory corresponding to the first difference value according to the first difference, and obtain the motion according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device The operation instruction corresponding to the track;
  • the operation instruction execution module is configured to send the obtained operation instruction to an operating system of the smart device, so that the operating system executes the operation instruction.
  • the operation instruction acquisition module is further configured to: obtain two motion trajectories that are continuously obtained in an interval time less than a preset second time threshold, and obtain a combined correspondence of the two motion trajectories according to the mapping relationship table. Operation instructions.
  • the operation instruction acquisition module is further configured to obtain a corresponding operation instruction according to the current operation interface of the smart device and the motion track.
  • control system further comprises:
  • a direction obtaining module configured to obtain a direction state of the smart device according to a direction in which the smart device is subjected to gravity
  • a direction trajectory calculation module configured to calculate a direction trajectory of the smart device according to a change in a direction state of the smart device
  • the operation instruction acquisition module is further configured to obtain an operation instruction corresponding to the direction track according to a mapping relationship table between a preset direction trajectory and an operation instruction of an operating system of the smart device.
  • the operation instruction acquisition module is further configured to: obtain two directional trajectories that are continuously obtained in an interval time less than a preset third time threshold, and obtain a combined correspondence of the two directional trajectories according to the mapping relationship table. Operation instructions.
  • An intelligent device control method provided by an embodiment of the present invention is applied to a smart device including a sensor, where the smart device control method includes:
  • a coordinate obtaining step of acquiring a spatial coordinate of the smart device in a three-dimensional coordinate system wherein the method for acquiring the spatial coordinate is: acquiring a first coordinate in the three-dimensional coordinate system when the smart device is in the first position; Obtaining a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; acquiring a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
  • An effective action determining step of calculating a motion time of the operation action determining whether the exercise time is less than a preset first time threshold, and if yes, determining that the operation action is a valid operation
  • An operation instruction obtaining step obtaining a motion trajectory corresponding to the first difference according to the first difference, and obtaining a correspondence corresponding to the motion trajectory according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device Operation instruction
  • the operation instruction execution step sends the obtained operation instruction to an operating system of the smart device to cause the operating system to execute the operation instruction.
  • the operation instruction obtaining step further includes:
  • the operation instruction obtaining step further includes:
  • Corresponding operation instructions are obtained according to the current operation interface of the smart device and the motion track.
  • the method further includes:
  • the operation instruction acquisition step further includes:
  • the operation instruction obtaining step further includes:
  • the smart device and the smart device control method captured the spatial coordinates of the smart device by using the sensor disposed on the smart device, calculate the motion track of the smart device, and generate different operation instructions. Control of smart devices. The user only needs to operate with one hand, and can send a variety of different operation instructions to the smart device, which is very convenient.
  • FIG. 1 is a block diagram of a smart device according to a preferred embodiment of the present invention.
  • FIG. 2 is a schematic diagram of functional modules of a control system of the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
  • FIG. 3 is a flowchart of a smart device control method applied to the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
  • FIG. 4 is a flowchart of another smart device control method applied to the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
  • FIG. 1 is a block schematic diagram of a smart device 100 according to a preferred embodiment of the present invention.
  • the smart device 100 can be a smart mobile terminal, such as a mobile phone, or a smart wearable device, such as a smart watch.
  • the smart device 100 includes a control system 10, a sensor 20, a memory 30, and a processor 40.
  • the components of the sensor 20, the memory 30, and the processor 40 are electrically connected directly or indirectly to each other to implement data transmission or interaction.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • the control system 10 includes at least one software function module that can be stored in the memory 30 or in an operating system (OS) of the smart device 100 in the form of software or firmware.
  • the processor 40 is configured to execute executable modules stored in the memory 30, such as software functional modules or computer programs included in the control system 10.
  • the sensor 20 may be, but is not limited to, an accelerometer, a gyroscope, a direction sensor, and the like.
  • the sensor 20 can sense changes in parameters such as position, acceleration, and center of gravity of the smart device 100, and generate corresponding electrical signals.
  • the memory 30 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read only memory (PROM), and can be erased. Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EPROM Electric Erasable Programmable Read-Only Memory
  • the memory 30 is used to store a program, and the processor 40 executes the program after receiving the execution instruction.
  • the method executed by the smart device 100 defined by the flow process disclosed in any embodiment of the present invention may be It is applied to processor 40 or implemented by processor 40.
  • the Processor 40 may be an integrated circuit chip with signal processing capabilities.
  • the processor 40 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • NP Processor network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit.
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • FIG. 3 is a schematic diagram of functional modules of the control system 10 of the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention.
  • the control system 10 includes a coordinate acquisition module 101, an operation action determination module 102, an effective action determination module 103, an operation instruction acquisition module 104, an operation instruction execution module 105, a direction acquisition module 106, and a direction trajectory calculation module 107.
  • the coordinate acquisition module 101 is configured to acquire the spatial coordinates of the smart device 100 in a three-dimensional coordinate system.
  • the method for acquiring the spatial coordinates is: acquiring the three-dimensional coordinates when the smart device 100 is located at the first position. a first coordinate in the system; acquiring a second coordinate in the three-dimensional coordinate system when the smart device 100 moves to the second position; and acquiring the smart device 100 in the three-dimensional coordinate system when moving to the third position The third coordinate.
  • a hand motion in which the user controls the movement of the smart device 100 is determined by three positions.
  • the first position is the starting position of the action
  • the second position is the middle position of the action
  • the third position is the end position of the action.
  • the three-dimensional coordinate system can be established with the coordinates corresponding to the first position as the origin, or any one of the points can be selected as the origin. When the origin is determined, the coordinates of the three positions in the three-dimensional coordinate system are also determined.
  • the operation action judging module 102 is configured to calculate a first difference between the first coordinate and the second coordinate, determine whether the first difference is greater than a preset first distance threshold, and if yes, calculate the first Determining whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device 100 moves from the first position to the The second position, the movement from the second position to the third position is an operational action.
  • the user controls the hand of the smart device 100 to start moving to return to the initial position, which is an operation action. Therefore, if the user's hand motion is an operational action, two processes are performed, first moving from the first position to the second position, and then moving from the second position to the third position. position.
  • the distance between the second position and the first position is sufficiently large, and the first distance threshold is preset according to the accuracy of the recognition. Only the action whose first difference is greater than the first distance threshold will be recognized, and then the next step will be judged. If the hand is to return to the initial position after the exercise, the obtained first and third coordinates should be equal.
  • the operation action is judged that a fuzzy interval is set, that is, if the second difference between the first coordinate and the third coordinate is smaller than the preset At the second distance threshold, it is judged that the hand performs an operation action. For example, if the user's hand with a smart watch swings forward and then returns to the original position, it can be judged that it has performed an operation.
  • the effective action determining module 103 is configured to calculate a motion time of the operation action, determine whether the motion time is less than a preset first time threshold, and if yes, determine that the operation action is a valid operation.
  • the user does not perform the same action as the operation action for the purpose of controlling the smart device 100.
  • the activity of the user's hand is recognized as an operation operation, and the movement time at which the user completes the operation is also determined.
  • the exercise time is less than the preset first time threshold, the user is considered to be an operation action completed in a short time, that is, the user performs the hand action for the purpose of controlling the smart device 100 at his own will.
  • the operation action is determined to be a valid operation, and conversely, it is considered to be an invalid operation.
  • the operation instruction acquisition module 104 is configured to obtain, according to the first difference, a motion trajectory corresponding to the first difference value, and a mapping relationship between the preset motion trajectory and an operation instruction of the operating system of the smart device 100, An operation instruction corresponding to the motion track is obtained.
  • the motion trajectory of the operation action can be obtained by the first difference between the first coordinate and the second coordinate, that is, the distance and direction from the initial position to the intermediate position.
  • Different motion trajectories correspond to different value spaces of the first difference, and in which value space the calculated first difference falls, it can be determined how the motion trajectory is.
  • the recognition result of the motion trajectory includes: the arm swings forward, the arm swings backward, the arm swings upward, and the arm swings downward.
  • a mapping relationship table between the preset motion trajectory and the operation instruction of the operating system of the smart device 100 is also stored on the smart device 100.
  • Each operation instruction in the mapping relationship table has a corresponding motion track, and one operation instruction may correspond to one motion track, or may correspond to a combination composed of two consecutive motion tracks.
  • Users can be at one time (E.g., the second time threshold), two effective operation actions are continuously performed, and the two motion trajectories continuously obtained by the operation command acquisition module 104 within an interval time less than the preset second time threshold. Then, an operation instruction corresponding to the combination of the two motion trajectories is obtained according to the mapping relationship table.
  • the second time threshold is typically set to a smaller value.
  • the mapping relationship table further defines a motion track under different operation interfaces of the smart device 100.
  • Corresponding operation instructions For example, in the menu selection interface, the corresponding operation command of “arm swing up” is to scroll up the menu. In the short message viewing interface, the corresponding operation command of “arm swing up” is to view the previous message.
  • the operation instruction execution module 105 is configured to send the obtained operation instruction to an operating system of the smart device 100 to cause the operating system to execute the operation instruction.
  • the operation instruction is obtained according to the motion trajectory, the operation instruction is executed by the operating system of the smart device 100, and the control of the smart device 100 by the hand motion is realized.
  • the direction obtaining module 106 is configured to obtain a direction state of the smart device 100 according to a direction in which the smart device 100 is subjected to gravity.
  • the corresponding operation can be realized by the change of the directional state of the smart device 100.
  • the direction sensor disposed on the smart device 100 can sense the change of the center of gravity of the smart device 100, and determine the direction of the smart device 100, that is, at what angle the smart device 100 is placed, whether it is face up or reverse.
  • the directional trajectory calculation module 107 is configured to calculate a directional trajectory of the smart device 100 according to a change in a directional state of the smart device 100.
  • the direction state changes (such as flipping forward, flipping backward, etc.), and the direction trajectory is calculated according to the change of the direction state.
  • Different directions of change correspond to different directional trajectories.
  • the operation instruction acquisition module 104 is further configured to obtain an operation instruction corresponding to the direction track according to a mapping relationship table between a preset direction trajectory and an operation instruction of an operating system of the smart device 100.
  • the mapping relationship between the direction track and the operation instruction is also saved in the mapping relationship table. According to the calculation of the direction trajectory, the corresponding operation instruction can be obtained. Like the motion trajectory, an operation command may correspond to one direction trajectory or a combination of two consecutive directional trajectories.
  • the operation instruction acquisition module 104 continuously obtains two directional trajectories in an interval time less than a preset third time threshold, the operation instruction corresponding to the combination of the two directional trajectories is obtained according to the mapping relationship table.
  • the third time threshold is typically set to a smaller value.
  • the operation instruction corresponding to the direction trajectory is determined, in addition to considering the motion trajectory itself, and according to the current operation interface of the smart device 100, the mapping relationship table further defines a directional path under different operation interfaces of the smart device 100. Corresponding operation instructions.
  • the user realizes the control of the smart device 100 by the action of the one-handed hand through the motion trajectory and the directional trajectory.
  • FIG. 3 is a flowchart of a method for controlling the smart device 100 applied to the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 3 will be described in detail below.
  • Step S101 Acquire spatial coordinates of the smart device 100 in a three-dimensional coordinate system.
  • the method for acquiring the spatial coordinates is: acquiring the first coordinate in the three-dimensional coordinate system when the smart device 100 is in the first position; Taking the second coordinate in the three-dimensional coordinate system when the smart device 100 moves to the second position; acquiring the third coordinate in the three-dimensional coordinate system when the smart device 100 moves to the third position.
  • Step S101 can be performed by the coordinate acquisition module 101 of the control system 10 in conjunction with the sensor 20.
  • the above description of the coordinate acquisition module 101 can be specifically referred to.
  • Step S102 the first difference between the first coordinate and the second coordinate.
  • Step S103 determining whether the first difference is greater than a preset first distance threshold, and if yes, executing step S104.
  • Step S104 calculating a second difference between the first coordinate and the third coordinate.
  • Step S105 determining whether the second difference is less than a preset second distance threshold, and if yes, executing step S106.
  • Step S106 determining that the smart device 100 moves from the first position to the second position, and then moves from the second position to the third position is an operation action.
  • Steps S102 to S106 may be performed by the operation action judging module 102 of the control system 10.
  • the description of the step S102 to the step S106 may specifically refer to the above description of the operation action judging module 102.
  • step S107 the exercise time of the operation action is calculated.
  • Step S108 determining whether the exercise time is less than a preset first time threshold, and if yes, executing step S109.
  • step S109 it is determined that the operation action is a valid operation.
  • Steps S107 to S109 can be performed by the effective action judging module 103 of the control system 10.
  • the description of the step S107 to the step S109 can specifically refer to the above description of the effective action judging module 103.
  • Step S110 calculating a motion trajectory corresponding to the first difference according to the first difference.
  • Step S111 Obtain an operation instruction corresponding to the motion track according to a mapping relationship table between a preset motion track and an operation instruction of an operating system of the smart device 100.
  • Steps S110 to S111 may be performed by the operation instruction acquisition module 104 of the control system 10.
  • the above description of the operation instruction acquisition module 104 can be specifically referred to.
  • Step S112 the obtained operation instruction is sent to an operating system of the smart device 100, so that the operating system executes the operation instruction.
  • Step S112 can be performed by the operation instruction execution module 105 of the control system 10.
  • the description of the step S112 may specifically refer to the above description of the operation instruction execution module 105.
  • FIG. 4 is a flowchart of another method for controlling the smart device 100 applied to the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 4 will be described in detail below.
  • step S201 the direction state of the smart device 100 is obtained according to the direction in which the smart device 100 is subjected to gravity.
  • Step S201 can be performed by the direction acquisition module 106 of the control system 10 in conjunction with the sensor 20.
  • the above description of the direction obtaining module 106 can be specifically referred to.
  • Step S202 Calculate a direction trajectory of the smart device 100 according to a change in a direction state of the smart device 100.
  • Step S202 can be performed by the direction trajectory calculation module 107 of the control system 10 in conjunction with the sensor 20.
  • the description of the direction trajectory calculation module 107 described above may be specifically referred to.
  • Step S203 according to a preset direction trajectory and an operation instruction of the operating system of the smart device 100
  • the relationship table is obtained, and an operation instruction corresponding to the direction track is obtained.
  • Step S203 can be performed by the operation instruction acquisition module 104 of the control system 10.
  • the above description of the operation instruction acquisition module 104 can be specifically referred to.
  • the smart device and the smart device control method captured the spatial coordinates of the smart device by using the sensor disposed on the smart device, calculate the motion track of the smart device, and generate different operation commands to implement the smart function. Control of the device. The user only needs to operate with one hand, and can send a variety of different operation instructions to the smart device, which is very convenient.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

The invention relates to the technical field of motion detection. Provided in an embodiment of the invention are an intelligent device and an intelligent device control method. A sensor disposed in an intelligent device is used to acquire a spatial coordinate of the intelligent device and calculate a motion track of the intelligent device, thereby generating various operation commands, and accordingly realizing control of the intelligent device. The invention enables a user to issue, to an intelligent device, various operation commands with only one hand, and is very convenient.

Description

智能设备以及智能设备控制方法Intelligent device and intelligent device control method 技术领域Technical field
本发明涉及动作检测技术领域,具体而言,涉及一种智能设备以及智能设备控制方法。The present invention relates to the field of motion detection technologies, and in particular, to a smart device and a smart device control method.
背景技术Background technique
目前市面上大部分的智能设备(如智能手表)都是采用按键或触摸屏幕进行交互操作。多数的智能设备由于体积较小,其设置的屏幕也比较小,导致用户用手进行按压操作或者触摸操作时,很不方便。而且用户在与智能设备进行交互操作时,多数需要双手配合操作,非常不方便。Most of the smart devices on the market today (such as smart watches) use buttons or touch screens for interactive operation. Most of the smart devices are small in size, and the screens they set are relatively small, which is inconvenient when the user performs a pressing operation or a touch operation by hand. Moreover, when the user interacts with the smart device, most of them need to work with both hands, which is very inconvenient.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的在于提供了一种智能设备以及智能设备控制方法。In view of this, an object of the embodiments of the present invention is to provide a smart device and a smart device control method.
本发明实施例提供的一种智能设备,包括传感器及控制系统,所述控制系统包括:The smart device provided by the embodiment of the invention includes a sensor and a control system, and the control system includes:
坐标获取模块,用于获取智能设备在一三维坐标系中的空间坐标;其中,获取所述空间坐标的方法为:获取所述智能设备位于第一位置时,在该三维坐标系中的第一坐标;获取所述智能设备运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备运动到第三位置时,在该三维坐标系中的第三坐标;a coordinate acquiring module, configured to acquire spatial coordinates of the smart device in a three-dimensional coordinate system; wherein the method for acquiring the spatial coordinates is: acquiring the first in the three-dimensional coordinate system when the smart device is in the first position a coordinate; a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; and a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
操作动作判断模块,用于计算所述第一坐标与第二坐标的第一差值,判断所述第一差值是否大于预设的第一距离阈值,如果是,计算所述第一坐标与所述第三坐标的第二差值,判断所述第二差值是否小于预设的第二距离阈值,如果是,则判定所述智能设备从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作;An operation action judging module, configured to calculate a first difference between the first coordinate and the second coordinate, determine whether the first difference is greater than a preset first distance threshold, and if yes, calculate the first coordinate and Determining, by the second difference of the third coordinate, whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device moves from the first position to the second position And the process of moving from the second position to the third position is an operation action;
有效动作判断模块,用于计算所述操作动作的运动时间,判断所述运动时间是否小于预设的第一时间阈值,如果是,则判定该操作动作为有效操作;An effective action judging module, configured to calculate a motion time of the operation action, determine whether the motion time is less than a preset first time threshold, and if yes, determine that the operation action is a valid operation;
操作指令获取模块,用于根据所述第一差值得到第一差值对应的运动轨迹,根据预设的运动轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令;An operation instruction acquiring module, configured to obtain a motion trajectory corresponding to the first difference value according to the first difference, and obtain the motion according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device The operation instruction corresponding to the track;
操作指令执行模块,用于将得到的操作指令发送到智能设备的操作系统,以使所述操作系统执行该操作指令。The operation instruction execution module is configured to send the obtained operation instruction to an operating system of the smart device, so that the operating system executes the operation instruction.
优选地,所述操作指令获取模块还用于,在小于预设的第二时间阈值的间隔时间内连续得到的两个运动轨迹,根据所述映射关系表得到所述两个运动轨迹的组合对应的操作指令。Preferably, the operation instruction acquisition module is further configured to: obtain two motion trajectories that are continuously obtained in an interval time less than a preset second time threshold, and obtain a combined correspondence of the two motion trajectories according to the mapping relationship table. Operation instructions.
优选地,所述操作指令获取模块还用于根据所述智能设备当前的操作界面以及所述运动轨迹,得到对应的操作指令。Preferably, the operation instruction acquisition module is further configured to obtain a corresponding operation instruction according to the current operation interface of the smart device and the motion track.
优选地,所述控制系统还包括: Preferably, the control system further comprises:
方向获取模块,用于根据所述智能设备受到重力作用的方向得到智能设备的方向状态;a direction obtaining module, configured to obtain a direction state of the smart device according to a direction in which the smart device is subjected to gravity;
方向轨迹计算模块,用于根据所述智能设备的方向状态的变化,计算所述智能设备的方向轨迹;a direction trajectory calculation module, configured to calculate a direction trajectory of the smart device according to a change in a direction state of the smart device;
所述操作指令获取模块还用于根据预设的方向轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述方向轨迹对应的操作指令。The operation instruction acquisition module is further configured to obtain an operation instruction corresponding to the direction track according to a mapping relationship table between a preset direction trajectory and an operation instruction of an operating system of the smart device.
优选地,所述操作指令获取模块还用于,在小于预设的第三时间阈值的间隔时间内连续得到的两个方向轨迹,根据所述映射关系表得到所述两个方向轨迹的组合对应的操作指令。Preferably, the operation instruction acquisition module is further configured to: obtain two directional trajectories that are continuously obtained in an interval time less than a preset third time threshold, and obtain a combined correspondence of the two directional trajectories according to the mapping relationship table. Operation instructions.
本发明实施例提供的一种智能设备控制方法,应用于包括传感器的智能设备,所述智能设备控制方法包括:An intelligent device control method provided by an embodiment of the present invention is applied to a smart device including a sensor, where the smart device control method includes:
坐标获取步骤,获取智能设备在一三维坐标系中的空间坐标;其中,获取所述空间坐标的方法为:获取所述智能设备位于第一位置时,在该三维坐标系中的第一坐标;获取所述智能设备运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备运动到第三位置时,在该三维坐标系中的第三坐标;a coordinate obtaining step of acquiring a spatial coordinate of the smart device in a three-dimensional coordinate system; wherein the method for acquiring the spatial coordinate is: acquiring a first coordinate in the three-dimensional coordinate system when the smart device is in the first position; Obtaining a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; acquiring a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
操作动作判断步骤,计算所述第一坐标与第二坐标的第一差值,判断所述第一差值是否大于预设的第一距离阈值,如果是,计算所述第一坐标与所述第三坐标的第二差值,判断所述第二差值是否小于预设的第二距离阈值,如果是,则判定所述智能设备从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作;An operation action determining step of calculating a first difference between the first coordinate and the second coordinate, determining whether the first difference is greater than a preset first distance threshold, and if so, calculating the first coordinate and the Determining, by the second difference of the third coordinate, whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device moves from the first position to the second position, and then The process of moving from the second position to the third position is an operational action;
有效动作判断步骤,计算所述操作动作的运动时间,判断所述运动时间是否小于预设的第一时间阈值,如果是,则判定该操作动作为有效操作;An effective action determining step of calculating a motion time of the operation action, determining whether the exercise time is less than a preset first time threshold, and if yes, determining that the operation action is a valid operation;
操作指令获取步骤,根据所述第一差值得到第一差值对应的运动轨迹,根据预设的运动轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令;An operation instruction obtaining step, obtaining a motion trajectory corresponding to the first difference according to the first difference, and obtaining a correspondence corresponding to the motion trajectory according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device Operation instruction
操作指令执行步骤,将得到的操作指令发送到智能设备的操作系统,以使所述操作系统执行该操作指令。The operation instruction execution step sends the obtained operation instruction to an operating system of the smart device to cause the operating system to execute the operation instruction.
优选地,所述操作指令获取步骤还包括:Preferably, the operation instruction obtaining step further includes:
在小于预设的第二时间阈值的间隔时间内连续得到的两个运动轨迹,根据所述映射关系表得到所述两个运动轨迹的组合对应的操作指令Obtaining two motion trajectories continuously obtained in an interval time less than a preset second time threshold, and obtaining an operation instruction corresponding to the combination of the two motion trajectories according to the mapping relationship table
优选地,所述操作指令获取步骤还包括:Preferably, the operation instruction obtaining step further includes:
根据所述智能设备当前的操作界面以及所述运动轨迹,得到对应的操作指令。Corresponding operation instructions are obtained according to the current operation interface of the smart device and the motion track.
优选地,所述方法还包括:Preferably, the method further includes:
方向获取步骤,根据所述智能设备受到重力作用的方向得到智能设备的方向状态;a direction obtaining step of obtaining a direction state of the smart device according to a direction in which the smart device is subjected to gravity;
方向轨迹计算步骤,根据所述智能设备的方向状态的变化,计算所述智能设备的方向轨迹;a direction trajectory calculation step of calculating a direction trajectory of the smart device according to a change in a direction state of the smart device;
所述操作指令获取步骤还包括:The operation instruction acquisition step further includes:
根据预设的方向轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述方向轨迹对应的操作指令。 Obtaining an operation instruction corresponding to the direction trajectory according to a mapping relationship between a preset direction trajectory and an operation instruction of an operating system of the smart device.
优选地,所述操作指令获取步骤还包括:Preferably, the operation instruction obtaining step further includes:
在小于预设的第三时间阈值的间隔时间内连续得到的两个方向轨迹,根据所述映射关系表得到所述两个方向轨迹的组合对应的操作指令Obtaining two direction trajectories that are continuously obtained in an interval time less than a preset third time threshold, and obtaining an operation instruction corresponding to the combination of the two directional tracks according to the mapping relationship table
与现有技术相比,本发明实施例提供的智能设备以及智能设备控制方法,通过设置于智能设备的传感器捕捉智能设备的空间坐标,计算智能设备的运动轨迹,进而生成不同的操作指令,实现对智能设备的控制。用户只需要通过一只手进行操作,就能向智能设备发出多种不同的操作指令,非常的方便。Compared with the prior art, the smart device and the smart device control method provided by the embodiments of the present invention capture the spatial coordinates of the smart device by using the sensor disposed on the smart device, calculate the motion track of the smart device, and generate different operation instructions. Control of smart devices. The user only needs to operate with one hand, and can send a variety of different operation instructions to the smart device, which is very convenient.
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。The above described objects, features and advantages of the present invention will become more apparent from the aspects of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It should be understood that the following drawings show only certain embodiments of the present invention, and therefore It should be seen as a limitation on the scope, and those skilled in the art can obtain other related drawings according to these drawings without any creative work.
图1为本发明较佳实施例提供的智能设备的方框示意图。FIG. 1 is a block diagram of a smart device according to a preferred embodiment of the present invention.
图2为本发明较佳实施例提供的图1所示智能设备的控制系统的功能模块示意图。FIG. 2 is a schematic diagram of functional modules of a control system of the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
图3为本发明较佳实施例提供的应用于图1所示的智能设备的智能设备控制方法的流程图。FIG. 3 is a flowchart of a smart device control method applied to the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
图4为本发明较佳实施例提供的另一种应用于图1所示的智能设备的智能设备控制方法的流程图。FIG. 4 is a flowchart of another smart device control method applied to the smart device shown in FIG. 1 according to a preferred embodiment of the present invention.
主要元件符号说明Main component symbol description
智能设备 smart device 100100
控制系统 Control System 1010
传感器 sensor 2020
存储器 Memory 3030
处理器 processor 4040
坐标获取模块 Coordinate acquisition module 101101
操作动作判断模块Operational action judgment module 102102
有效动作判断模块Effective action judgment module 103103
操作指令获取模块Operation instruction acquisition module 104104
操作指令执行模块Operation instruction execution module 105105
方向获取模块 Direction acquisition module 106106
方向轨迹计算模块Directional trajectory calculation module 107107
具体实施方式detailed description
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在 此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。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, and not all of the embodiments. Usually in The components of the embodiments of the invention described and illustrated in the figures herein may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims 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.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Also, in the description of the present invention, the terms "first", "second", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
如图1所示,本发明较佳实施例提供的智能设备100的方框示意图。所述智能设备100可以是智能移动终端,如手机,也可以是智能穿戴设备,如智能手表。所述智能设备100包括控制系统10、传感器20、存储器30以及处理器40。FIG. 1 is a block schematic diagram of a smart device 100 according to a preferred embodiment of the present invention. The smart device 100 can be a smart mobile terminal, such as a mobile phone, or a smart wearable device, such as a smart watch. The smart device 100 includes a control system 10, a sensor 20, a memory 30, and a processor 40.
所述传感器20、存储器30以及处理器40各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。所述控制系统10包括至少一个可以软件或固件(firmware)的形式存储于所述存储器30中或固化在所述智能设备100的操作系统(operating system,OS)中的软件功能模块。所述处理器40用于执行存储器30中存储的可执行模块,例如所述控制系统10包括的软件功能模块或计算机程序。The components of the sensor 20, the memory 30, and the processor 40 are electrically connected directly or indirectly to each other to implement data transmission or interaction. For example, the components can be electrically connected to one another via one or more communication buses or signal lines. The control system 10 includes at least one software function module that can be stored in the memory 30 or in an operating system (OS) of the smart device 100 in the form of software or firmware. The processor 40 is configured to execute executable modules stored in the memory 30, such as software functional modules or computer programs included in the control system 10.
其中,传感器20可以是,但是不限于,加速计,陀螺仪,方向感应器等。传感器20可以感应智能设备100位置、加速度、重心等参数的变化,并生成对应的电信号。The sensor 20 may be, but is not limited to, an accelerometer, a gyroscope, a direction sensor, and the like. The sensor 20 can sense changes in parameters such as position, acceleration, and center of gravity of the smart device 100, and generate corresponding electrical signals.
存储器30可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EPROM)等。其中,存储器30用于存储程序,所述处理器40在接收到执行指令后,执行所述程序,下述本发明实施例任一实施例揭示的流过程定义的智能设备100所执行的方法可以应用于处理器40中,或者由处理器40实现。The memory 30 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read only memory (PROM), and can be erased. Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EPROM), and the like. The memory 30 is used to store a program, and the processor 40 executes the program after receiving the execution instruction. The method executed by the smart device 100 defined by the flow process disclosed in any embodiment of the present invention may be It is applied to processor 40 or implemented by processor 40.
处理器40可能是一种集成电路芯片,具有信号的处理能力。上述的处理器40可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 Processor 40 may be an integrated circuit chip with signal processing capabilities. The processor 40 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
请参阅图3,是本发明较佳实施例提供的图1所示智能设备100的控制系统10的功能模块示意图。所述控制系统10包括坐标获取模块101、操作动作判断模块102、有效动作判断模块103、操作指令获取模块104、操作指令执行模块105、方向获取模块106以及方向轨迹计算模块107。Please refer to FIG. 3 , which is a schematic diagram of functional modules of the control system 10 of the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The control system 10 includes a coordinate acquisition module 101, an operation action determination module 102, an effective action determination module 103, an operation instruction acquisition module 104, an operation instruction execution module 105, a direction acquisition module 106, and a direction trajectory calculation module 107.
所述坐标获取模块101模块用于获取智能设备100在一三维坐标系中的空间坐标;其中,获取所述空间坐标的方法为:获取所述智能设备100位于第一位置时,在该三维坐标系中的第一坐标;获取所述智能设备100运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备100运动到第三位置时,在该三维坐标系中的第三坐标。 The coordinate acquisition module 101 is configured to acquire the spatial coordinates of the smart device 100 in a three-dimensional coordinate system. The method for acquiring the spatial coordinates is: acquiring the three-dimensional coordinates when the smart device 100 is located at the first position. a first coordinate in the system; acquiring a second coordinate in the three-dimensional coordinate system when the smart device 100 moves to the second position; and acquiring the smart device 100 in the three-dimensional coordinate system when moving to the third position The third coordinate.
本实施例中,通过三个位置来确定用户控制智能设备100运动的一个手部动作。第一位置为动作的起始位置,第二位置为动作的中间位置,第三位置为动作的结束位置。通过分别获得三个位置在三维坐标系中的空间坐标,即可对用户的动作进行判定,并获得该动作的相关信息。In this embodiment, a hand motion in which the user controls the movement of the smart device 100 is determined by three positions. The first position is the starting position of the action, the second position is the middle position of the action, and the third position is the end position of the action. By obtaining the spatial coordinates of the three positions in the three-dimensional coordinate system respectively, the user's motion can be determined, and the related information of the action can be obtained.
三维坐标系的建立可以第一位置对应的坐标为原点,也可以选择任意一个点为原点。当原点确定后,三个位置分别在三维坐标系中的坐标也就确定了。The three-dimensional coordinate system can be established with the coordinates corresponding to the first position as the origin, or any one of the points can be selected as the origin. When the origin is determined, the coordinates of the three positions in the three-dimensional coordinate system are also determined.
所述操作动作判断模块102用于计算所述第一坐标与第二坐标的第一差值,判断所述第一差值是否大于预设的第一距离阈值,如果是,计算所述第一坐标与所述第三坐标的第二差值,判断所述第二差值是否小于预设的第二距离阈值,如果是,则判定所述智能设备100从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作。The operation action judging module 102 is configured to calculate a first difference between the first coordinate and the second coordinate, determine whether the first difference is greater than a preset first distance threshold, and if yes, calculate the first Determining whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device 100 moves from the first position to the The second position, the movement from the second position to the third position is an operational action.
在本实施例中,规定由用户控制智能设备100的手部开始运动到返回初始位置,为一个操作动作。因此,如果用户的手部动作是一个操作动作,就会经历两个过程,首先是从所述第一位置运动到所述第二位置,然后是从所述第二位置运动到所述第三位置。为了防止手部的小范围抖动被识别为操作动作,第二位置与第一位置的距离要足够大,根据识别的精准度预先设定第一距离阈值。只有第一差值大于第一距离阈值的动作才会被识别出,然后进行下一步的判断。如果手部在运动后要返回初始位置,则获得的第一坐标和第三坐标应该相等。考虑到手部返回时不可能完全精确回到开始运动的初始位置,在对操作动作进行判断是,设置了一个模糊区间,即第一坐标和第三坐标的第二差值如果小于预设的第二距离阈值,就判断是手部执行了一个操作动作。例如,用户带有智能手表的手向前挥动,然后又回到原位置,即可判断其执行了一个操作动作。In the present embodiment, it is prescribed that the user controls the hand of the smart device 100 to start moving to return to the initial position, which is an operation action. Therefore, if the user's hand motion is an operational action, two processes are performed, first moving from the first position to the second position, and then moving from the second position to the third position. position. In order to prevent the small-range shake of the hand from being recognized as an operation action, the distance between the second position and the first position is sufficiently large, and the first distance threshold is preset according to the accuracy of the recognition. Only the action whose first difference is greater than the first distance threshold will be recognized, and then the next step will be judged. If the hand is to return to the initial position after the exercise, the obtained first and third coordinates should be equal. Considering that it is impossible to return to the initial position of the starting motion completely when the hand returns, the operation action is judged that a fuzzy interval is set, that is, if the second difference between the first coordinate and the third coordinate is smaller than the preset At the second distance threshold, it is judged that the hand performs an operation action. For example, if the user's hand with a smart watch swings forward and then returns to the original position, it can be judged that it has performed an operation.
所述有效动作判断模块103用于计算所述操作动作的运动时间,判断所述运动时间是否小于预设的第一时间阈值,如果是,则判定该操作动作为有效操作。The effective action determining module 103 is configured to calculate a motion time of the operation action, determine whether the motion time is less than a preset first time threshold, and if yes, determine that the operation action is a valid operation.
在正常生活中,存在用户并非以控制智能设备100为目的,而做出了以操作动作相同动作的情况。为了防止该情况发生时,将用户手部的活动的识别为操作动作,还要对用户完成该操作动作的运动时间进行判断。当运动时间小于预设的第一时间阈值时,认为用户是在一个较短的时间内完成的操作动作,即用户是以自身意愿,出于控制智能设备100的目的,执行的手部动作。将该操作动作判定为有效操作,反之,则认为是无效操作。In normal life, there is a case where the user does not perform the same action as the operation action for the purpose of controlling the smart device 100. In order to prevent this from happening, the activity of the user's hand is recognized as an operation operation, and the movement time at which the user completes the operation is also determined. When the exercise time is less than the preset first time threshold, the user is considered to be an operation action completed in a short time, that is, the user performs the hand action for the purpose of controlling the smart device 100 at his own will. The operation action is determined to be a valid operation, and conversely, it is considered to be an invalid operation.
所述操作指令获取模块104用于根据所述第一差值得到第一差值对应的运动轨迹,,根据预设的运动轨迹与智能设备100的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令。The operation instruction acquisition module 104 is configured to obtain, according to the first difference, a motion trajectory corresponding to the first difference value, and a mapping relationship between the preset motion trajectory and an operation instruction of the operating system of the smart device 100, An operation instruction corresponding to the motion track is obtained.
由于第二位置是操作动作的中间位置,通过所述第一坐标与第二坐标的第一差值,即初始位置到中间位置的距离和方向,即可得到该操作动作的运动轨迹。不同的运动轨迹对应了第一差值不同的取值空间,计算出的第一差值落在哪一个取值空间内,就可以判断出运动轨迹具体是怎么样的。在本实施例中,运动轨迹的识别结果包括:手臂向前摆动、手臂向后摆动、手臂向上摆动、手臂向下摆动。Since the second position is an intermediate position of the operation action, the motion trajectory of the operation action can be obtained by the first difference between the first coordinate and the second coordinate, that is, the distance and direction from the initial position to the intermediate position. Different motion trajectories correspond to different value spaces of the first difference, and in which value space the calculated first difference falls, it can be determined how the motion trajectory is. In the present embodiment, the recognition result of the motion trajectory includes: the arm swings forward, the arm swings backward, the arm swings upward, and the arm swings downward.
在智能设备100上还保存有预设的运动轨迹与智能设备100的操作系统的操作指令之间的映射关系表。映射关系表中每个操作指令都有对应运动轨迹,一个操作指令可以对应一个运动轨迹,也可以对应由两个连续的运动轨迹构成的组合。用户可以在一个时间 (如第二时间阈值)内,连续做出两个有效的操作动作,操作指令获取模块104在小于预设的第二时间阈值的间隔时间内连续得到的两个运动轨迹。然后根据所述映射关系表得到所述两个运动轨迹的组合对应的操作指令。为了将单个运动轨迹和两个运动轨迹的组合进行区分,第二时间阈值通常设置为一个较小的值。A mapping relationship table between the preset motion trajectory and the operation instruction of the operating system of the smart device 100 is also stored on the smart device 100. Each operation instruction in the mapping relationship table has a corresponding motion track, and one operation instruction may correspond to one motion track, or may correspond to a combination composed of two consecutive motion tracks. Users can be at one time (E.g., the second time threshold), two effective operation actions are continuously performed, and the two motion trajectories continuously obtained by the operation command acquisition module 104 within an interval time less than the preset second time threshold. Then, an operation instruction corresponding to the combination of the two motion trajectories is obtained according to the mapping relationship table. In order to distinguish between a single motion trajectory and a combination of two motion trajectories, the second time threshold is typically set to a smaller value.
进一步地,判定运动轨迹对应的操作指令,除了考虑运动轨迹本身,还要根据所述智能设备100当前的操作界面,所述映射关系表还定义了在智能设备100的不同操作界面下,运动轨迹对应的操作指令。例如,在菜单选择界面,“手臂向上摆动”对应的操作指令是菜单向上翻页,在短信查看界面,“手臂向上摆动”对应的操作指令是查看上一条短信。Further, determining an operation instruction corresponding to the motion track, in addition to considering the motion track itself, according to the current operation interface of the smart device 100, the mapping relationship table further defines a motion track under different operation interfaces of the smart device 100. Corresponding operation instructions. For example, in the menu selection interface, the corresponding operation command of “arm swing up” is to scroll up the menu. In the short message viewing interface, the corresponding operation command of “arm swing up” is to view the previous message.
所述操作指令执行模块105用于将得到的操作指令发送到智能设备100的操作系统,以使所述操作系统执行该操作指令。The operation instruction execution module 105 is configured to send the obtained operation instruction to an operating system of the smart device 100 to cause the operating system to execute the operation instruction.
根据运动轨迹得到操作指令后,将该操作指令交由智能设备100的操作系统执行,实现通过手部动作对智能设备100的控制。After the operation instruction is obtained according to the motion trajectory, the operation instruction is executed by the operating system of the smart device 100, and the control of the smart device 100 by the hand motion is realized.
所述方向获取模块106用于根据所述智能设备100受到重力作用的方向得到智能设备100的方向状态。The direction obtaining module 106 is configured to obtain a direction state of the smart device 100 according to a direction in which the smart device 100 is subjected to gravity.
除了根据获得操作动作的运动轨迹对智能设备100的控制之外,还可以通过智能设备100的方向状态的改变实现相应的操作。设置于智能设备100的方向感应器可以感应智能设备100重心的变化,判断智能设备100的方向,即智能设备100是何种角度放置的,是正面向上,还是反面向上等。In addition to the control of the smart device 100 according to the motion trajectory from which the operational action is obtained, the corresponding operation can be realized by the change of the directional state of the smart device 100. The direction sensor disposed on the smart device 100 can sense the change of the center of gravity of the smart device 100, and determine the direction of the smart device 100, that is, at what angle the smart device 100 is placed, whether it is face up or reverse.
方向轨迹计算模块107用于根据所述智能设备100的方向状态的变化,计算所述智能设备100的方向轨迹。The directional trajectory calculation module 107 is configured to calculate a directional trajectory of the smart device 100 according to a change in a directional state of the smart device 100.
当智能设备100在用户手部的带动下,方向状态发生变化(如向前翻转、向后翻转等),根据方向状态的变化计算方向轨迹。不同的变化方式对应的不同的方向轨迹。When the smart device 100 is driven by the user's hand, the direction state changes (such as flipping forward, flipping backward, etc.), and the direction trajectory is calculated according to the change of the direction state. Different directions of change correspond to different directional trajectories.
所述操作指令获取模块104还用于根据预设的方向轨迹与智能设备100的操作系统的操作指令之间的映射关系表,得到所述方向轨迹对应的操作指令。The operation instruction acquisition module 104 is further configured to obtain an operation instruction corresponding to the direction track according to a mapping relationship table between a preset direction trajectory and an operation instruction of an operating system of the smart device 100.
映射关系表中还保存了方向轨迹与操作指令之间的映射关系。根据计算得到方向轨迹即可获得对应的操作指令。与运动轨迹相同,一个操作指令可以对应一个方向轨迹,也可以对应由两个连续的方向轨迹构成的组合。当所述操作指令获取模块104在小于预设的第三时间阈值的间隔时间内连续得到的两个方向轨迹,根据所述映射关系表得到所述两个方向轨迹的组合对应的操作指令。为了将单个方向轨迹和两个方向轨迹的组合进行区分,第三时间阈值通常设置为一个较小的值。The mapping relationship between the direction track and the operation instruction is also saved in the mapping relationship table. According to the calculation of the direction trajectory, the corresponding operation instruction can be obtained. Like the motion trajectory, an operation command may correspond to one direction trajectory or a combination of two consecutive directional trajectories. When the operation instruction acquisition module 104 continuously obtains two directional trajectories in an interval time less than a preset third time threshold, the operation instruction corresponding to the combination of the two directional trajectories is obtained according to the mapping relationship table. In order to distinguish between a single directional trajectory and a combination of two directional trajectories, the third time threshold is typically set to a smaller value.
进一步地,判定方向轨迹对应的操作指令,除了考虑运动轨迹本身,还要根据所述智能设备100当前的操作界面,所述映射关系表还定义了在智能设备100的不同操作界面下,方向轨迹对应的操作指令。Further, the operation instruction corresponding to the direction trajectory is determined, in addition to considering the motion trajectory itself, and according to the current operation interface of the smart device 100, the mapping relationship table further defines a directional path under different operation interfaces of the smart device 100. Corresponding operation instructions.
在本实施例中,用户通过运动轨迹和方向轨迹,实现了通过单手手部的动作,对智能设备100的控制。In the present embodiment, the user realizes the control of the smart device 100 by the action of the one-handed hand through the motion trajectory and the directional trajectory.
请参阅图3,是本发明较佳实施例提供的应用于图1所示的智能设备100的智能设备100控制方法的流程图。下面将对图3所示的具体流程进行详细阐述。Please refer to FIG. 3 , which is a flowchart of a method for controlling the smart device 100 applied to the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 3 will be described in detail below.
步骤S101,获取智能设备100在一三维坐标系中的空间坐标。其中,获取所述空间坐标的方法为:获取所述智能设备100位于第一位置时,在该三维坐标系中的第一坐标;获 取所述智能设备100运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备100运动到第三位置时,在该三维坐标系中的第三坐标。Step S101: Acquire spatial coordinates of the smart device 100 in a three-dimensional coordinate system. The method for acquiring the spatial coordinates is: acquiring the first coordinate in the three-dimensional coordinate system when the smart device 100 is in the first position; Taking the second coordinate in the three-dimensional coordinate system when the smart device 100 moves to the second position; acquiring the third coordinate in the three-dimensional coordinate system when the smart device 100 moves to the third position.
步骤S101可由所述控制系统10的坐标获取模块101配合所述传感器20执行。关于步骤S101的描述具体可参对上述对坐标获取模块101的描述。Step S101 can be performed by the coordinate acquisition module 101 of the control system 10 in conjunction with the sensor 20. For the description of step S101, the above description of the coordinate acquisition module 101 can be specifically referred to.
步骤S102,所述第一坐标与第二坐标的第一差值。Step S102, the first difference between the first coordinate and the second coordinate.
步骤S103,判断所述第一差值是否大于预设的第一距离阈值,如果是则执行步骤S104。Step S103, determining whether the first difference is greater than a preset first distance threshold, and if yes, executing step S104.
步骤S104,计算所述第一坐标与所述第三坐标的第二差值。Step S104, calculating a second difference between the first coordinate and the third coordinate.
步骤S105,判断所述第二差值是否小于预设的第二距离阈值,如果是则执行步骤S106。Step S105, determining whether the second difference is less than a preset second distance threshold, and if yes, executing step S106.
步骤S106,判定所述智能设备100从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作。Step S106, determining that the smart device 100 moves from the first position to the second position, and then moves from the second position to the third position is an operation action.
步骤S102至步骤S106可由所述控制系统10的操作动作判断模块102执行。关于步骤S102至步骤S106的描述具体可参对上述对操作动作判断模块102的描述。Steps S102 to S106 may be performed by the operation action judging module 102 of the control system 10. The description of the step S102 to the step S106 may specifically refer to the above description of the operation action judging module 102.
步骤S107,计算所述操作动作的运动时间。In step S107, the exercise time of the operation action is calculated.
步骤S108,判断所述运动时间是否小于预设的第一时间阈值,如果是则执行步骤S109。Step S108, determining whether the exercise time is less than a preset first time threshold, and if yes, executing step S109.
步骤S109,判定该操作动作为有效操作。In step S109, it is determined that the operation action is a valid operation.
步骤S107至步骤S109可由所述控制系统10的有效动作判断模块103执行。关于步骤S107至步骤S109的描述具体可参对上述对有效动作判断模块103的描述。Steps S107 to S109 can be performed by the effective action judging module 103 of the control system 10. The description of the step S107 to the step S109 can specifically refer to the above description of the effective action judging module 103.
步骤S110,计算根据所述第一差值得到第一差值对应的运动轨迹。Step S110, calculating a motion trajectory corresponding to the first difference according to the first difference.
步骤S111,根据预设的运动轨迹与智能设备100的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令。Step S111: Obtain an operation instruction corresponding to the motion track according to a mapping relationship table between a preset motion track and an operation instruction of an operating system of the smart device 100.
步骤S110至步骤S111可由所述控制系统10的操作指令获取模块104执行。关于步骤S110至步骤S111的描述具体可参对上述对操作指令获取模块104的描述。Steps S110 to S111 may be performed by the operation instruction acquisition module 104 of the control system 10. For the description of step S110 to step S111, the above description of the operation instruction acquisition module 104 can be specifically referred to.
步骤S112,将得到的操作指令发送到智能设备100的操作系统,以使所述操作系统执行该操作指令。Step S112, the obtained operation instruction is sent to an operating system of the smart device 100, so that the operating system executes the operation instruction.
步骤S112可由所述控制系统10的操作指令执行模块105执行。关于步骤S112的描述具体可参对上述对操作指令执行模块105的描述。Step S112 can be performed by the operation instruction execution module 105 of the control system 10. The description of the step S112 may specifically refer to the above description of the operation instruction execution module 105.
请参阅图4,是本发明较佳实施例提供的另一种应用于图1所示的智能设备100的智能设备100控制方法的流程图。下面将对图4所示的具体流程进行详细阐述。Please refer to FIG. 4 , which is a flowchart of another method for controlling the smart device 100 applied to the smart device 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 4 will be described in detail below.
步骤S201,根据智能设备100受到重力作用的方向得到智能设备100的方向状态。In step S201, the direction state of the smart device 100 is obtained according to the direction in which the smart device 100 is subjected to gravity.
步骤S201可由所述控制系统10的方向获取模块106配合所述传感器20执行。关于步骤S201的描述具体可参对上述对方向获取模块106的描述。Step S201 can be performed by the direction acquisition module 106 of the control system 10 in conjunction with the sensor 20. For the description of step S201, the above description of the direction obtaining module 106 can be specifically referred to.
步骤S202,根据智能设备100的方向状态的变化,计算所述智能设备100的方向轨迹。Step S202: Calculate a direction trajectory of the smart device 100 according to a change in a direction state of the smart device 100.
步骤S202可由所述控制系统10的方向轨迹计算模块107配合所述传感器20执行。关于步骤S202的描述具体可参对上述对方向轨迹计算模块107的描述。Step S202 can be performed by the direction trajectory calculation module 107 of the control system 10 in conjunction with the sensor 20. For the description of step S202, the description of the direction trajectory calculation module 107 described above may be specifically referred to.
步骤S203,根据预设的方向轨迹与智能设备100的操作系统的操作指令之间的映 射关系表,得到所述方向轨迹对应的操作指令。Step S203, according to a preset direction trajectory and an operation instruction of the operating system of the smart device 100 The relationship table is obtained, and an operation instruction corresponding to the direction track is obtained.
步骤S203可由所述控制系统10的操作指令获取模块104执行。关于步骤S203的描述具体可参对上述对操作指令获取模块104的描述。Step S203 can be performed by the operation instruction acquisition module 104 of the control system 10. For the description of step S203, the above description of the operation instruction acquisition module 104 can be specifically referred to.
综上所述,本发明实施例提供的智能设备以及智能设备控制方法,通过设置于智能设备的传感器捕捉智能设备的空间坐标,计算智能设备的运动轨迹,进而生成不同的操作指令,实现对智能设备的控制。用户只需要通过一只手进行操作,就能向智能设备发出多种不同的操作指令,非常的方便。In summary, the smart device and the smart device control method provided by the embodiments of the present invention capture the spatial coordinates of the smart device by using the sensor disposed on the smart device, calculate the motion track of the smart device, and generate different operation commands to implement the smart function. Control of the device. The user only needs to operate with one hand, and can send a variety of different operation instructions to the smart device, which is very convenient.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and functionality of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. operating. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。The functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. . It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何 熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any It is to be understood that those skilled in the art are susceptible to variations and substitutions within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (10)

  1. 一种智能设备,包括传感器及控制系统,其特征在于,所述控制系统包括:A smart device, comprising a sensor and a control system, wherein the control system comprises:
    坐标获取模块,用于获取智能设备在一三维坐标系中的空间坐标;其中,获取所述空间坐标的方法为:获取所述智能设备位于第一位置时,在该三维坐标系中的第一坐标;获取所述智能设备运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备运动到第三位置时,在该三维坐标系中的第三坐标;a coordinate acquiring module, configured to acquire spatial coordinates of the smart device in a three-dimensional coordinate system; wherein the method for acquiring the spatial coordinates is: acquiring the first in the three-dimensional coordinate system when the smart device is in the first position a coordinate; a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; and a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
    操作动作判断模块,用于计算所述第一坐标与第二坐标的第一差值,判断所述第一差值是否大于预设的第一距离阈值,如果是,计算所述第一坐标与所述第三坐标的第二差值,判断所述第二差值是否小于预设的第二距离阈值,如果是,则判定所述智能设备从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作;An operation action judging module, configured to calculate a first difference between the first coordinate and the second coordinate, determine whether the first difference is greater than a preset first distance threshold, and if yes, calculate the first coordinate and Determining, by the second difference of the third coordinate, whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device moves from the first position to the second position And the process of moving from the second position to the third position is an operation action;
    有效动作判断模块,用于计算所述操作动作的运动时间,判断所述运动时间是否小于预设的第一时间阈值,如果是,则判定该操作动作为有效操作;An effective action judging module, configured to calculate a motion time of the operation action, determine whether the motion time is less than a preset first time threshold, and if yes, determine that the operation action is a valid operation;
    操作指令获取模块,用于根据所述第一差值得到第一差值对应的运动轨迹,根据预设的运动轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令;An operation instruction acquiring module, configured to obtain a motion trajectory corresponding to the first difference value according to the first difference, and obtain the motion according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device The operation instruction corresponding to the track;
    操作指令执行模块,用于将得到的操作指令发送到智能设备的操作系统,以使所述操作系统执行该操作指令。The operation instruction execution module is configured to send the obtained operation instruction to an operating system of the smart device, so that the operating system executes the operation instruction.
  2. 根据权利要求1所述的智能设备,其特征在于,所述操作指令获取模块还用于,在小于预设的第二时间阈值的间隔时间内连续得到的两个运动轨迹,根据所述映射关系表得到所述两个运动轨迹的组合对应的操作指令。The smart device according to claim 1, wherein the operation instruction acquisition module is further configured to: continuously obtain two motion trajectories in an interval time less than a preset second time threshold, according to the mapping relationship The table obtains an operation instruction corresponding to the combination of the two motion trajectories.
  3. 根据权利要求1所述的智能设备,其特征在于,所述操作指令获取模块还用于根据所述智能设备当前的操作界面以及所述运动轨迹,得到对应的操作指令。The smart device according to claim 1, wherein the operation instruction acquisition module is further configured to obtain a corresponding operation instruction according to the current operation interface of the smart device and the motion track.
  4. 根据权利要求1所述的智能设备,其特征在于,所述控制系统还包括:The smart device according to claim 1, wherein the control system further comprises:
    方向获取模块,用于根据所述智能设备受到重力作用的方向得到智能设备的方向状态;a direction obtaining module, configured to obtain a direction state of the smart device according to a direction in which the smart device is subjected to gravity;
    方向轨迹计算模块,用于根据所述智能设备的方向状态的变化,计算所述智能设备的方向轨迹;a direction trajectory calculation module, configured to calculate a direction trajectory of the smart device according to a change in a direction state of the smart device;
    所述操作指令获取模块还用于根据预设的方向轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述方向轨迹对应的操作指令。The operation instruction acquisition module is further configured to obtain an operation instruction corresponding to the direction track according to a mapping relationship table between a preset direction trajectory and an operation instruction of an operating system of the smart device.
  5. 根据权利要求4所述的智能设备,其特征在于,所述操作指令获取模块还用于,在小于预设的第三时间阈值的间隔时间内连续得到的两个方向轨迹,根据所述映射关系表得到所述两个方向轨迹的组合对应的操作指令。The smart device according to claim 4, wherein the operation instruction acquisition module is further configured to: continuously obtain two directional trajectories in an interval time less than a preset third time threshold, according to the mapping relationship The table obtains an operation instruction corresponding to the combination of the two directional trajectories.
  6. 一种智能设备控制方法,应用于包括传感器的智能设备,其特征在于,所述智能设备控制方法包括:An intelligent device control method is applied to a smart device including a sensor, wherein the smart device control method includes:
    坐标获取步骤,获取智能设备在一三维坐标系中的空间坐标;其中,获取所述空间坐标的方法为:获取所述智能设备位于第一位置时,在该三维坐标系中的第一坐标;获取所述智能设备运动到第二位置时,在该三维坐标系中的第二坐标;获取所述智能设备运动到第三位置时,在该三维坐标系中的第三坐标;a coordinate obtaining step of acquiring a spatial coordinate of the smart device in a three-dimensional coordinate system; wherein the method for acquiring the spatial coordinate is: acquiring a first coordinate in the three-dimensional coordinate system when the smart device is in the first position; Obtaining a second coordinate in the three-dimensional coordinate system when the smart device moves to the second position; acquiring a third coordinate in the three-dimensional coordinate system when the smart device moves to the third position;
    操作动作判断步骤,计算所述第一坐标与第二坐标的第一差值,判断所述第一差值是否大于预设的第一距离阈值,如果是,计算所述第一坐标与所述第三坐标的第二差值,判断 所述第二差值是否小于预设的第二距离阈值,如果是,则判定所述智能设备从所述第一位置运动到所述第二位置,再从所述第二位置运动到所述第三位置的过程为操作动作;An operation action determining step of calculating a first difference between the first coordinate and the second coordinate, determining whether the first difference is greater than a preset first distance threshold, and if so, calculating the first coordinate and the The second difference of the third coordinate is judged Whether the second difference is less than a preset second distance threshold, and if yes, determining that the smart device moves from the first position to the second position, and then moves from the second position to the The process of the third position is an operation action;
    有效动作判断步骤,计算所述操作动作的运动时间,判断所述运动时间是否小于预设的第一时间阈值,如果是,则判定该操作动作为有效操作;An effective action determining step of calculating a motion time of the operation action, determining whether the exercise time is less than a preset first time threshold, and if yes, determining that the operation action is a valid operation;
    操作指令获取步骤,根据所述第一差值得到第一差值对应的运动轨迹,根据预设的运动轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述运动轨迹对应的操作指令;An operation instruction obtaining step, obtaining a motion trajectory corresponding to the first difference according to the first difference, and obtaining a correspondence corresponding to the motion trajectory according to a mapping relationship between a preset motion trajectory and an operation instruction of an operating system of the smart device Operation instruction
    操作指令执行步骤,将得到的操作指令发送到智能设备的操作系统,以使所述操作系统执行该操作指令。The operation instruction execution step sends the obtained operation instruction to an operating system of the smart device to cause the operating system to execute the operation instruction.
  7. 根据权利要求6所述的智能设备控制方法,其特征在于,所述操作指令获取步骤还包括:The smart device control method according to claim 6, wherein the operation instruction acquisition step further comprises:
    在小于预设的第二时间阈值的间隔时间内连续得到的两个运动轨迹,根据所述映射关系表得到所述两个运动轨迹的组合对应的操作指令。The two motion trajectories obtained continuously in the interval time less than the preset second time threshold value are obtained according to the mapping relationship table to obtain an operation instruction corresponding to the combination of the two motion trajectories.
  8. 根据权利要求6所述的智能设备控制方法,其特征在于,所述操作指令获取步骤还包括:The smart device control method according to claim 6, wherein the operation instruction acquisition step further comprises:
    根据所述智能设备当前的操作界面以及所述运动轨迹,得到对应的操作指令。Corresponding operation instructions are obtained according to the current operation interface of the smart device and the motion track.
  9. 根据权利要求6所述的智能设备控制方法,其特征在于,所述方法还包括:The smart device control method according to claim 6, wherein the method further comprises:
    方向获取步骤,根据所述智能设备受到重力作用的方向得到智能设备的方向状态;a direction obtaining step of obtaining a direction state of the smart device according to a direction in which the smart device is subjected to gravity;
    方向轨迹计算步骤,根据所述智能设备的方向状态的变化,计算所述智能设备的方向轨迹;a direction trajectory calculation step of calculating a direction trajectory of the smart device according to a change in a direction state of the smart device;
    所述操作指令获取步骤还包括:The operation instruction acquisition step further includes:
    根据预设的方向轨迹与智能设备的操作系统的操作指令之间的映射关系表,得到所述方向轨迹对应的操作指令。Obtaining an operation instruction corresponding to the direction trajectory according to a mapping relationship between a preset direction trajectory and an operation instruction of an operating system of the smart device.
  10. 根据权利要求9所述的智能设备控制方法,其特征在于,所述操作指令获取步骤还包括:The smart device control method according to claim 9, wherein the operation instruction obtaining step further comprises:
    在小于预设的第三时间阈值的间隔时间内连续得到的两个方向轨迹,根据所述映射关系表得到所述两个方向轨迹的组合对应的操作指令。 The two directional trajectories that are continuously obtained in the interval time less than the preset third time threshold value are obtained according to the mapping relationship table to obtain an operation instruction corresponding to the combination of the two directional trajectories.
PCT/CN2017/071948 2016-02-03 2017-01-20 Intelligent device and intelligent device control method WO2017133498A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610075797.0 2016-02-03
CN201610075797.0A CN105759961A (en) 2016-02-03 2016-02-03 Intelligent device and intelligent device control method

Publications (1)

Publication Number Publication Date
WO2017133498A1 true WO2017133498A1 (en) 2017-08-10

Family

ID=56329932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071948 WO2017133498A1 (en) 2016-02-03 2017-01-20 Intelligent device and intelligent device control method

Country Status (2)

Country Link
CN (1) CN105759961A (en)
WO (1) WO2017133498A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976326A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Control method, device, terminal device and the medium of wheeled robot
CN110502118A (en) * 2019-08-28 2019-11-26 武汉宇宙寓言影视发展有限公司 A kind of control method, system and the device of the somatosensory device of motional induction control
CN112327739A (en) * 2020-10-16 2021-02-05 兖州煤业股份有限公司 Method and system for training operational skills of fully-mechanized excavating machine
CN112685826A (en) * 2021-02-03 2021-04-20 西南交通大学 Foundation structure construction method, device, equipment and readable storage medium
CN113269483A (en) * 2021-04-09 2021-08-17 和美(深圳)信息技术股份有限公司 Management method, device, medium and electronic equipment of intelligent vault system
CN113573203A (en) * 2021-09-26 2021-10-29 广州朗国电子科技股份有限公司 Control method of non-contact earphone, intelligent earphone and storage medium
CN114501183A (en) * 2022-01-26 2022-05-13 西安艾润物联网技术服务有限责任公司 Intelligent control method and device for electronic equipment and equipment control platform
CN114666379A (en) * 2022-03-04 2022-06-24 中国建设银行股份有限公司 Control method and device of intelligent equipment, computer equipment and storage medium
WO2022236937A1 (en) * 2021-05-14 2022-11-17 歌尔股份有限公司 Device operating method, system, and device
CN116923988A (en) * 2023-09-19 2023-10-24 杭州集英智慧农业装备有限公司 Intelligent remote control monorail conveyor, control method and medium
CN114666379B (en) * 2022-03-04 2024-04-30 中国建设银行股份有限公司 Control method and device of intelligent device, computer device and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133063A1 (en) * 2017-01-22 2018-07-26 深圳华盛昌机械实业有限公司 Motion gesture recognition based measurement instrument control method and measurement instrument
CN112269471B (en) * 2020-11-06 2022-05-13 朴淳技术(深圳)有限公司 Intelligent wrist strap equipment and single-hand control method, device, system and storage medium thereof
CN112905101A (en) * 2021-02-02 2021-06-04 惠州Tcl移动通信有限公司 Touch control method, system, mobile terminal and computer readable storage medium
CN114422762B (en) * 2021-12-25 2023-10-13 深圳市幕工坊科技有限公司 Projection screen motion control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103858085A (en) * 2013-10-31 2014-06-11 华为技术有限公司 Processing method and device by suspension operation or operating from a distance
CN104869258A (en) * 2015-06-09 2015-08-26 张维秀 Automatic hang-up method and device for mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7688306B2 (en) * 2000-10-02 2010-03-30 Apple Inc. Methods and apparatuses for operating a portable device based on an accelerometer
CN103077170A (en) * 2011-10-26 2013-05-01 腾讯科技(深圳)有限公司 Method and device for browsing webpage based on physical movement
CN102915184B (en) * 2012-09-18 2017-04-05 百度在线网络技术(北京)有限公司 For the interaction control method of mobile terminal, device and mobile terminal
CN102981740A (en) * 2012-11-13 2013-03-20 广东欧珀移动通信有限公司 Changing-over method of mobile terminal input method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103858085A (en) * 2013-10-31 2014-06-11 华为技术有限公司 Processing method and device by suspension operation or operating from a distance
CN104869258A (en) * 2015-06-09 2015-08-26 张维秀 Automatic hang-up method and device for mobile terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976326B (en) * 2017-12-27 2022-05-10 深圳市优必选科技有限公司 Wheeled robot control method and device, terminal device and medium
CN109976326A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 Control method, device, terminal device and the medium of wheeled robot
CN110502118A (en) * 2019-08-28 2019-11-26 武汉宇宙寓言影视发展有限公司 A kind of control method, system and the device of the somatosensory device of motional induction control
CN112327739A (en) * 2020-10-16 2021-02-05 兖州煤业股份有限公司 Method and system for training operational skills of fully-mechanized excavating machine
CN112685826A (en) * 2021-02-03 2021-04-20 西南交通大学 Foundation structure construction method, device, equipment and readable storage medium
CN113269483A (en) * 2021-04-09 2021-08-17 和美(深圳)信息技术股份有限公司 Management method, device, medium and electronic equipment of intelligent vault system
CN113269483B (en) * 2021-04-09 2023-09-01 和美(深圳)信息技术股份有限公司 Management method and device of intelligent vault system, medium and electronic equipment
WO2022236937A1 (en) * 2021-05-14 2022-11-17 歌尔股份有限公司 Device operating method, system, and device
CN113573203A (en) * 2021-09-26 2021-10-29 广州朗国电子科技股份有限公司 Control method of non-contact earphone, intelligent earphone and storage medium
CN114501183A (en) * 2022-01-26 2022-05-13 西安艾润物联网技术服务有限责任公司 Intelligent control method and device for electronic equipment and equipment control platform
CN114666379A (en) * 2022-03-04 2022-06-24 中国建设银行股份有限公司 Control method and device of intelligent equipment, computer equipment and storage medium
CN114666379B (en) * 2022-03-04 2024-04-30 中国建设银行股份有限公司 Control method and device of intelligent device, computer device and storage medium
CN116923988A (en) * 2023-09-19 2023-10-24 杭州集英智慧农业装备有限公司 Intelligent remote control monorail conveyor, control method and medium
CN116923988B (en) * 2023-09-19 2023-12-15 杭州集英智慧农业装备有限公司 Intelligent remote control monorail conveyor, control method and medium

Also Published As

Publication number Publication date
CN105759961A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2017133498A1 (en) Intelligent device and intelligent device control method
US10394443B2 (en) Method for viewing message and user terminal
JP6087349B2 (en) Mobile terminal and method for realizing cursor movement thereof
US10185433B2 (en) Method and apparatus for touch responding of wearable device as well as wearable device
TWI474001B (en) Methods, non-transitory storage devices, and fyftem of motion-based device operations
US9213436B2 (en) Fingertip location for gesture input
CN109361985B (en) TWS earphone wearing detection method and system, electronic device and storage medium
US9846529B2 (en) Method for processing information and electronic device
EP3677987A1 (en) Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium
CN106681636B (en) Method and device for preventing false touch and mobile terminal
EP2984545B1 (en) Virtual touch screen
WO2013115991A1 (en) Latency measurement
US9262012B2 (en) Hover angle
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
US9400575B1 (en) Finger detection for element selection
WO2013082954A1 (en) Man machine interaction detection and processing method based on gyroscope in smart terminal
WO2018177156A1 (en) Method for operating mobile terminal, and mobile terminal
TWI547831B (en) An input device with a Bluetooth module and a method of operating the same
US10564719B1 (en) Augmenting the functionality of user input devices using a digital glove
WO2019149123A1 (en) Control execution method, device, storage medium and electronic device
US20170090744A1 (en) Virtual reality headset device with front touch screen
CN106598446B (en) Screenshot method and device
TWI681316B (en) Electronic device and navigation method
WO2016206438A1 (en) Touch screen control method and device and mobile terminal
US10620760B2 (en) Touch motion tracking and reporting technique for slow touch movements

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: 17746818

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: 17746818

Country of ref document: EP

Kind code of ref document: A1