WO2017080194A1 - 空鼠的工作模式切换方法及装置 - Google Patents

空鼠的工作模式切换方法及装置 Download PDF

Info

Publication number
WO2017080194A1
WO2017080194A1 PCT/CN2016/084534 CN2016084534W WO2017080194A1 WO 2017080194 A1 WO2017080194 A1 WO 2017080194A1 CN 2016084534 W CN2016084534 W CN 2016084534W WO 2017080194 A1 WO2017080194 A1 WO 2017080194A1
Authority
WO
WIPO (PCT)
Prior art keywords
mouse
empty
offset
empty mouse
working mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/084534
Other languages
English (en)
French (fr)
Inventor
柯杰燕
曹小梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Publication of WO2017080194A1 publication Critical patent/WO2017080194A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [2D] relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks

Definitions

  • the present invention relates to the field of remote control technology, and in particular, to a method and apparatus for switching an operating mode of an air mouse.
  • the empty mouse as a type of mouse, because of its flexible use, has been loved by users, making the use of empty mice more and more popular.
  • the hand is suspended, there is no positioning surface, and some subtle or precise operations cannot be performed, and the mouse implementation can conveniently perform subtle or precise operations such as pause, drag, and nudge. If the user wants to use a normal mouse, it can only be switched by an external connection, and automatic switching cannot be achieved.
  • the invention provides a method and a device for switching the working mode of an air mouse, and the main purpose thereof is to solve the technical problem that the automatic mouse mode and the normal mouse mode cannot be automatically switched in the prior art.
  • the present invention provides a method for switching an operating mode of an air mouse, and the working mode switching method of the air mouse includes:
  • the positional deviation of the empty mouse in the vertical direction and the positional offset in the preset horizontal direction are extracted from the acquired displacement information. the amount;
  • the empty mouse is Switch to mouse mode
  • the positional offset of the empty rat in the vertical direction is less than the first offset, and the position offset in the preset horizontal direction is greater than
  • the empty mouse is switched to the mouse mode
  • the working mode of the empty mouse is switched to the empty mouse mode when the positional deviation of the empty mouse in the vertical direction is greater than the first offset within a preset duration.
  • the working mode switching method of the empty mouse further includes:
  • the prompt information is output to prompt the user that the working mode of the empty mouse has been successfully switched.
  • the present invention provides a method for switching an operating mode of an air mouse, and the working mode switching method of the air mouse includes:
  • the positional deviation of the empty mouse in the vertical direction and the positional offset in the preset horizontal direction are extracted from the acquired displacement information. the amount;
  • the empty mouse is Switch to mouse mode.
  • the positional offset of the empty mouse in the vertical direction is extracted from the acquired displacement information
  • the working mode of the empty mouse is switched to the empty mouse mode.
  • the steps of switching the empty mouse to the mouse mode include:
  • the positional offset of the empty rat in the vertical direction is less than the first offset, and the positional offset in the preset horizontal direction is greater than the first At the second offset, the empty mouse is switched to the mouse mode.
  • the step of switching the working mode of the empty mouse to the empty mouse mode comprises:
  • the working mode of the empty mouse is switched to the empty mouse mode when the positional deviation of the empty mouse in the vertical direction is greater than the first offset within a preset duration.
  • the working mode switching method of the empty mouse further includes:
  • the prompt information is output to prompt the user that the working mode of the empty mouse has been successfully switched.
  • the present invention further provides an operating mode switching device for an air and mouse, wherein the working mode switching device of the air mouse includes:
  • An information receiving module configured to acquire displacement information of the empty mouse from the operation instruction when receiving an operation instruction of an empty mouse
  • An offset extraction module configured to: when the current working mode of the empty mouse is an empty mouse mode, extract the positional offset of the empty mouse in the vertical direction from the acquired displacement information and Set the position offset in the horizontal direction;
  • a mode switching module configured to: when the positional deviation of the empty mouse in the vertical direction is less than a first offset, and the positional offset in the preset horizontal direction is greater than a second offset , the empty mouse is switched to the mouse mode.
  • the offset extraction module is further configured to: when the current working mode of the empty mouse is a mouse mode, extract the positional deviation of the empty mouse in the vertical direction from the acquired displacement information. Transfer amount
  • the mode switching module is further configured to switch the working mode of the empty mouse to the empty mouse mode when the positional deviation of the empty mouse in the vertical direction is greater than the first offset.
  • the mode switching module is further configured to: when the preset mouse is in the vertical direction, the position offset of the empty mouse is less than the first offset, at the preset When the positional shift amount in the horizontal direction is greater than the second offset amount, the empty mouse is switched to the mouse mode.
  • the mode switching module is further configured to: when the positional deviation of the empty mouse in the vertical direction is greater than the first offset within a preset duration, the empty The mouse's working mode is switched to the empty mouse mode.
  • the working mode switching device of the empty mouse further comprises:
  • the information prompting module is configured to output prompt information to prompt the user that the working mode of the empty mouse has been successfully switched.
  • the method and device for switching the working mode of the empty mouse extracts the displacement information of the empty mouse when receiving the operation instruction of the empty mouse. If the empty mouse is in the empty mouse mode, the empty mouse is extracted from the displacement information. a positional shift amount in the vertical direction and a positional shift amount in a preset horizontal direction, when the positional deviation of the empty rat in the vertical direction is smaller than the first offset amount and the positional deviation in the preset horizontal direction. The displacement is greater than the second offset, indicating that the empty mouse has no displacement in the vertical direction, and there is displacement in the preset horizontal direction, indicating that the empty mouse needs to perform mode switching, and does not need an external mouse or button adjustment operation, and automatically takes the empty mouse. Switching to the mouse mode solves the technical problem that the automatic mouse mode and the normal mouse mode cannot be automatically switched in the prior art.
  • FIG. 1 is a flow chart of a first embodiment of a working mode switching method for an air mouse according to the present invention
  • FIG. 2 is a flow chart of a third embodiment of a working mode switching method for an air mouse according to the present invention.
  • FIG. 3 is a schematic diagram of functional modules of a first embodiment of an operating mode switching device for an air mouse according to the present invention.
  • the invention provides a working mode switching method for an empty mouse.
  • FIG. 1 a flow chart of a first embodiment of a working mode switching method for an air mouse according to the present invention is shown.
  • the working mode switching method of the air mouse includes:
  • Step S10 when receiving an operation instruction of the empty mouse, acquiring displacement information of the empty mouse from the operation instruction.
  • the coordinates of the empty mouse in the X (left and right) direction, the Y (up and down) direction, and the Z (front and rear) direction will be shifted, that is, it will be in X (left and right).
  • the direction, the Y (upper and lower) direction, and the Z (front and rear) direction produce a positional shift amount, and mainly the movement of the X (left and right) direction and the Y (up and down) direction coordinates, and the controlled terminal uses the two displacement data.
  • the Z (front and rear) direction displacement data is discarded.
  • the mouse When the user uses an ordinary mouse, since the mouse is placed on a plane, the mouse is mainly in the X (left and right) direction, the Z (front and rear) direction has a displacement, and the displacement in the Y (up and down) direction is small, wherein the above and below,
  • the front, back, and left and right directions are directions defined relative to the empty mouse.
  • the vertical direction corresponds to the Y (up and down) direction
  • the preset horizontal direction corresponds to the Z (front and rear) direction
  • the mouse mode is an ordinary mouse mode that operates on a plane.
  • the wireless mouse After the wireless mouse establishes a wireless connection with the controlled terminal, when some subtle or precise operations need to be implemented, the working mode of the empty mouse can be switched to realize the use of the empty mouse as a normal mouse, which is used as a normal mouse at this time.
  • the empty rat has a table top or other contact surface as a support surface for some precise operation.
  • the controlled terminal After acquiring the coordinate information of the empty mouse, the controlled terminal analyzes the displacement in the X (left and right) direction and the Z (front and rear) direction, and discards the displacement in the Y (up and down) direction.
  • Step S20 when the current working mode of the empty mouse is an empty mouse mode, extracting the positional offset of the empty mouse in the vertical direction and the preset horizontal direction from the acquired displacement information. Position offset.
  • Step S30 when the positional deviation of the empty mouse in the vertical direction is less than the first offset, and the positional offset in the preset horizontal direction is greater than the second offset, The empty mouse is switched to the mouse mode.
  • the empty mouse since the empty mouse may have a positional offset in the positive or negative direction in the X, Y or Z direction, it is null when compared with the first offset and the second offset.
  • the absolute value of the positional shift amount of the mouse in the X, Y or Z direction is compared, that is, the positional deviation of the empty mouse in the vertical direction and the offset in the preset horizontal direction are both positive numbers.
  • the controlled terminal After the controlled terminal obtains the displacement information, it determines the current working mode of the empty mouse. If the current working mode of the empty mouse is the empty mouse mode, the Y is extracted. The position offset amount of the direction and the Z direction is used as a determination criterion, and the first offset amount and the second offset amount are preset fixed values, which can be obtained according to the collected multiple simulation operation data results, when the empty mouse is in Y The positional offset in the direction is less than the first offset and is in Z When the positional offset in the direction is greater than the second offset, it means that the empty mouse has no displacement in the Y direction and there is a displacement in the Z direction, then it is determined that the user's current operation is to use the empty mouse as a normal mouse, and work it.
  • the mode is switched to the normal mouse mode, and the displacements in the X (left and right) direction and the Z (front and rear) direction are used for analysis, and the displacement in the Y (up and down) direction is discarded. If the above conditions are not met, the current mouse mode is continued to operate. No mode switching is performed.
  • the working mode switching method of the empty mouse proposed in this embodiment extracts the displacement information of the empty mouse when receiving the operation instruction of the empty mouse. If the empty mouse is in the empty mouse mode, the empty mouse is extracted from the displacement information.
  • the positional shift amount in the straight direction and the positional shift amount in the preset horizontal direction when the positional shift amount of the squirrel in the vertical direction is smaller than the first offset amount and the positional shift in the preset horizontal direction
  • the amount is greater than the second offset, indicating that the empty mouse has no displacement in the vertical direction and has a displacement in the preset horizontal direction, indicating that the empty mouse needs to perform mode switching. Therefore, when the user needs to switch the empty mouse from the empty mouse mode to the normal mouse mode, it is only necessary to move the mouse back and forth on the plane.
  • the operation of automatically switching the empty mouse to the mouse mode without the need of an external mouse or button adjustment solves the technical problem that the automatic mouse mode and the normal mouse mode cannot be automatically switched in the prior art.
  • a second embodiment of the working mode switching method of the empty mouse according to the present invention is proposed based on the first embodiment of the working mode switching method of the invention.
  • the method is different from the first embodiment in that after the step S20, the working mode switching method of the air mouse further includes:
  • the working mode of the empty mouse is switched to the empty mouse mode.
  • the Y (up and down) direction generally has no displacement or the displacement is very small. Therefore, when it is judged that the current working mode of the empty mouse is the normal mouse mode, only the X (left and right) direction of the empty mouse is The displacement is analyzed. If it is detected that the positional deviation of the empty mouse in the Y (up and down) direction is greater than the first offset, it is judged that the user uses the empty mouse in the empty mouse mode at this time, and switches the working mode to the empty mouse. mode.
  • the working mode switching method of the squirrel and the mouse proposed in this embodiment, when the squirrel is working in the normal mouse mode, if it detects that there is a large positional offset in the vertical direction, the working mode is switched to the empty mouse mode. In this way, when the user needs to switch the empty mouse from the normal mouse mode to the empty mouse mode, only the empty rat needs to be swung in the air.
  • step S30 includes the following steps:
  • Step S31 when the preset position is long, the positional deviation of the empty mouse in the vertical direction is smaller than the first offset, and the position offset in the preset horizontal direction is greater than The second mouse shifts the mouse to the mouse mode.
  • the preset duration is increased as a further criterion to increase the accuracy of the user behavior judgment.
  • the timing is started, and the controlled terminal receives the displacement as long as the empty mouse moves.
  • the information is cleared if the obtained positional shift in the Y direction is greater than or equal to the first offset, or the acquired positional offset in the Z direction is less than or equal to the second offset. If the position offset in the Y direction is smaller than the first offset and the position offset in the Z direction is greater than the second offset, it is determined whether the time length obtained by the timing is greater than or equal to the preset duration, if less than the pre-predetermined If the duration is set, it is considered that the switching condition is not reached. At this time, the mode switching is not performed.
  • step S40 includes the following steps:
  • the working mode of the empty mouse is switched to the empty mouse mode when the positional deviation of the empty mouse in the vertical direction is greater than the first offset within a preset duration.
  • the preset duration is also used as an additional criterion for judging.
  • the principle is the same as above, when the obtained positional shift in the Y direction is greater than the first offset, the timing is started. As long as the empty mouse moves, the controlled terminal receives the displacement information. If the acquired position offset in the Y direction is less than or equal to the first offset, the timing is cleared, if the Y direction is detected. When the position offset is greater than the first offset, it is determined whether the time length obtained by the timing is greater than or equal to the preset duration. If it is less than the preset duration, it is considered that the handover condition is not reached. At this time, the mode is not switched. .
  • the working mode switching method of the empty mouse further includes:
  • the prompt information is output to prompt the user that the working mode of the empty mouse has been successfully switched.
  • a prompt message may be sent, which may be an audible prompt, a light prompt or a vibration prompt, or a message is displayed on the controlled terminal having a realistic interface to inform the user that the working mode of the empty mouse has been Successfully switched.
  • the preset duration is added as an additional user behavior judgment criterion, and the user avoids the erroneous operation, so that the mode switching occurs when the switching is not needed, and the accuracy of the mode switching judgment is improved.
  • the invention also provides an operating mode switching device for an empty mouse.
  • FIG. 3 it is a schematic diagram of functional modules of a first embodiment of an operating mode switching device for an air mouse according to the present invention.
  • the working mode switching device of the empty mouse includes:
  • the information receiving module 10 is configured to acquire the displacement information of the empty mouse from the operation instruction when receiving an operation instruction of the empty mouse.
  • the coordinates of the empty mouse in the X (left and right) direction, the Y (up and down) direction, and the Z (front and rear) direction will be shifted, that is, it will be in X (left and right).
  • the direction, the Y (upper and lower) direction, and the Z (front and rear) direction produce a positional shift amount, and mainly the movement of the X (left and right) direction and the Y (up and down) direction coordinates, and the controlled terminal uses the two displacement data.
  • the Z (front and rear) direction displacement data is discarded.
  • the mouse When the user uses an ordinary mouse, since the mouse is placed on a plane, the mouse is mainly in the X (left and right) direction, the Z (front and rear) direction has a displacement, and the displacement in the Y (up and down) direction is small, wherein the above and below,
  • the front, back, and left and right directions are directions defined relative to the empty mouse.
  • the vertical direction corresponds to the Y (up and down) direction
  • the preset horizontal direction corresponds to the Z (front and rear) direction
  • the mouse mode is an ordinary mouse mode that operates on a plane.
  • the wireless mouse After the wireless mouse establishes a wireless connection with the controlled terminal, when some subtle or precise operations need to be implemented, the working mode of the empty mouse can be switched to realize the use of the empty mouse as a normal mouse, which is used as a normal mouse at this time.
  • the empty rat has a table top or other contact surface as a support surface for some precise operation.
  • the controlled terminal After acquiring the coordinate information of the empty mouse in the information receiving module 10, the controlled terminal analyzes the displacement in the X (left and right) direction and the Z (front and rear) direction, and discards the displacement in the Y (up and down) direction.
  • the offset extraction module 20 is configured to: when the current working mode of the empty mouse is an empty mouse mode, extract the positional offset of the empty mouse in the vertical direction from the acquired displacement information and The position offset in the horizontal direction is preset.
  • the mode switching module 30 is configured to: when the positional deviation of the empty mouse in the vertical direction is less than a first offset, and the position offset in the preset horizontal direction is greater than a second offset When the mouse is switched to the mouse mode.
  • the empty mouse since the empty mouse may have a positional offset in the positive or negative direction in the X, Y or Z direction, it is null when compared with the first offset and the second offset.
  • the absolute value of the positional shift amount of the mouse in the X, Y or Z direction is compared, that is, the positional deviation of the empty mouse in the vertical direction and the offset in the preset horizontal direction are both positive numbers.
  • the information receiving module 10 After the information receiving module 10 obtains the displacement information, it determines the current working mode of the empty mouse. If the current working mode of the empty mouse is the empty mouse mode, the offset extraction module 20 extracts the Y therein. The position offset amount of the direction and the Z direction is used as a determination criterion, and the first offset amount and the second offset amount are preset fixed values, which can be obtained according to the collected multiple simulation operation data results, when the empty mouse is in Y The positional offset in the direction is less than the first offset and is in Z When the position offset in the direction is greater than the second offset, it means that the empty mouse has no displacement in the Y direction and there is a displacement in the Z direction, then it is determined that the current operation of the user is to use the empty mouse as a normal mouse, the mode switching module 30 Switch its working mode to the normal mouse mode, analyze the displacement in the X (left and right) direction and Z (front and rear) direction, and discard the displacement in the Y (up and down) direction. If the above conditions are not
  • the working mode switching device of the air mouse extracts the displacement information of the empty mouse when receiving the operation instruction of the empty mouse. If the empty mouse is in the empty mouse mode, the empty mouse is extracted from the displacement information.
  • the positional shift amount in the straight direction and the positional shift amount in the preset horizontal direction when the positional shift amount of the squirrel in the vertical direction is smaller than the first offset amount and the positional shift in the preset horizontal direction
  • the amount is greater than the second offset, indicating that the empty mouse has no displacement in the vertical direction, and there is displacement in the preset horizontal direction, indicating that the empty mouse needs to perform mode switching, so that the user needs to switch the empty mouse from the empty mouse mode to In the normal mouse mode, you only need to move the mouse back and forth on the plane.
  • the operation of automatically switching the empty mouse to the mouse mode without the need of an external mouse or button adjustment solves the technical problem that the automatic mouse mode and the normal mouse mode cannot be automatically switched in the prior art.
  • a second embodiment of the working mode switching device of the present invention is proposed based on the first embodiment of the working mode switching device for inventing an empty mouse.
  • the device differs from the first embodiment in that:
  • the offset extraction module 20 is further configured to: when the current working mode of the empty mouse is a mouse mode, extract a position offset of the empty mouse in a vertical direction from the acquired displacement information;
  • the mode switching module 30 is further configured to switch the working mode of the empty mouse to the air mouse mode when the positional deviation of the empty mouse in the vertical direction is greater than the first offset.
  • the device of this embodiment is a device that switches the empty mouse to the empty mouse mode according to the corresponding operation of the user when the empty mouse operates in the normal mouse mode.
  • the Y (up and down) direction generally has no displacement or the displacement is very small. Therefore, when it is judged that the current working mode of the empty mouse is the normal mouse mode, only the X (left and right) direction of the empty mouse is The displacement is analyzed. If it is detected that the positional deviation of the empty mouse in the Y (up and down) direction is greater than the first offset, it is determined that the user uses the empty mouse in the empty mouse mode at this time, and the mode switching module 30 operates its mode. Switch to the empty mouse mode.
  • the working mode switching device of the squirrel and the mouse proposed in this embodiment, when the squirrel is working in the normal mouse mode, if it detects that there is a large positional offset in the vertical direction, the working mode is switched to the empty mouse mode. In this way, when the user needs to switch the empty mouse from the normal mouse mode to the empty mouse mode, only the empty rat needs to be swung in the air.
  • a third embodiment of the working mode switching device of the present invention is proposed based on the second embodiment of the working mode switching device for inventing an empty mouse.
  • the device differs from the second embodiment in that:
  • the mode switching module 30 is further configured to: when the preset time is long, the positional deviation of the empty mouse in the vertical direction is smaller than the first offset, and the position in the preset horizontal direction When the offset is greater than the second offset, the empty mouse is switched to the mouse mode.
  • the preset duration is increased as a further criterion to increase the accuracy of the user behavior judgment.
  • the timing is started, and the controlled terminal receives the displacement as long as the empty mouse moves.
  • the information is cleared if the obtained positional shift in the Y direction is greater than or equal to the first offset, or the acquired positional offset in the Z direction is less than or equal to the second offset. If the position offset in the Y direction is smaller than the first offset and the position offset in the Z direction is greater than the second offset, determine whether the time length obtained by the timing is greater than or equal to the preset duration, if greater than or
  • the mode switching module 30 performs mode switching, and if it is less than the preset time length, it is considered that the switching condition is not reached. At this time, the mode switching is not performed.
  • the mode switching module 30 is further configured to: when the positional offset of the empty mouse in the vertical direction is greater than the first offset within a preset duration, the empty mouse The working mode is switched to the empty mouse mode.
  • the preset duration is also used as an additional criterion for judging.
  • the principle is the same as above, when the obtained positional shift in the Y direction is greater than the first offset, the timing is started. As long as the empty mouse moves, the controlled terminal receives the displacement information. If the acquired position offset in the Y direction is less than or equal to the first offset, the timing is cleared, if the Y direction is detected. When the position offset is greater than the first offset, it is determined whether the time length obtained by the timing is greater than or equal to the preset duration. If the preset duration is greater than or equal to the preset duration, the mode switching module 30 performs mode switching, if less than the preset duration, It is considered that the switching condition is not reached, and at this time, the mode switching is not performed.
  • the working mode switching device of the air mouse further includes:
  • the information prompting module is configured to output prompt information to prompt the user that the working mode of the empty mouse has been successfully switched.
  • the information prompting module may issue a prompt message, which may be an audible prompt, a light prompt or a vibration prompt, or display a message on the controlled terminal having a realistic interface to prompt the user to inform the user of the empty mouse.
  • a prompt message which may be an audible prompt, a light prompt or a vibration prompt, or display a message on the controlled terminal having a realistic interface to prompt the user to inform the user of the empty mouse.
  • the working mode has been successfully switched.
  • the preset time length is added as an additional user behavior judgment criterion, and the user avoids the erroneous operation, so that the mode switching occurs when the switching is not needed, and the accuracy of the mode switching judgment is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

一种空鼠的工作模式切换方法和切换装置,该方法流程包括:在接收到空鼠的操作指令时,从操作指令中获取空鼠的位移信息(S10);当空鼠当前的工作模式为空鼠模式时,从获取到的位移信息中提取空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量(S20);当空鼠在竖直方向上的位置偏移量小于第一偏移量、在预设水平方向上的位置偏移量大于第二偏移量时,将空鼠切换为鼠标模式(S30)。解决了现有技术中无法实现空鼠模式与普通鼠标模式自动切换的技术问题。

Description

空鼠的工作模式切换方法及装置
技术领域
本发明涉及遥控控制技术领域,尤其涉及一种空鼠的工作模式切换方法及装置。
背景技术
在智能电视的使用中,空鼠作为鼠标的一种类型,由于其使用灵活方便,得到了用户的喜爱,使得空鼠的使用越来越普及。但是,用户在使用空鼠的时候手是悬空的,没有一个定位面,无法做一些细微或者精确的操作,而鼠标实现则可以很方便地进行停顿、拖拉、微移等细微或者精确操作。用户如果想使用普通鼠标,只能通过外接的方式进行切换,无法实现自动切换。
发明内容
本发明提供一种空鼠的工作模式切换方法及装置,其主要目的在于解决现有技术中无法实现空鼠模式与普通鼠标模式自动切换的技术问题。
为实现上述目的,本发明提供一种空鼠的工作模式切换方法,该空鼠的工作模式切换方法包括:
在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式;
其中,当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式;
当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
优选地,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
为实现上述目的,本发明提供一种空鼠的工作模式切换方法,该空鼠的工作模式切换方法包括:
在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
优选地,当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
优选地,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤包括:
当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
优选地,所述当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式的步骤包括:
当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
优选地,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
此外,为实现上述目的,本发明还提供一种空鼠的工作模式切换装置,所述空鼠的工作模式切换装置包括:
信息接收模块,用于在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
偏移量提取模块,用于当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
模式切换模块,用于当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
优选地,所述偏移量提取模块,还用于当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
所述模式切换模块,还用于当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
优选地,所述模式切换模块,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
优选地,所述模式切换模块,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
优选地,所述空鼠的工作模式切换装置还包括:
信息提示模块,用于输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
本发明提出的空鼠的工作模式切换方法及装置,在接收到空鼠的操作指令时,提取空鼠的位移信息,若此时空鼠为空鼠模式,则从该位移信息中提取空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量,当空鼠在竖直方向上的位置偏移量小于第一偏移量且在预设水平方向上的位置偏移量大于第二偏移量,说明空鼠在竖直方向上没有位移,在预设水平方向上有位移,说明空鼠需要进行模式切换,无需外接鼠标或者按键调节等操作,自动将空鼠切换为鼠标模式,解决了现有技术中无法实现空鼠模式与普通鼠标模式自动切换的技术问题。
附图说明
图1为本发明空鼠的工作模式切换方法第一实施例的流程图;
图2为本发明空鼠的工作模式切换方法第三实施例的流程图;
图3为本发明空鼠的工作模式切换装置第一实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种空鼠的工作模式切换方法。
参照图1所示,为本发明空鼠的工作模式切换方法第一实施例的流程图。
在第一实施例中,该空鼠的工作模式切换方法包括:
步骤S10,在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息。
一般情况下,当用户使用空鼠对被控终端发送操作指令时,空鼠在X(左右)方向、Y(上下)方向、Z(前后)方向的坐标都会有位移,即会在X(左右)方向、Y(上下)方向、Z(前后)方向产生位置偏移量,而且主要以X(左右)方向和Y(上下)方向坐标的移动为主,被控终端采用这两个位移数据,而丢掉Z(前后)方向位移数据。用户在使用普通鼠标时,由于鼠标是放在一个平面上,因此鼠标主要是X(左右)方向、Z(前后)方向有位移,而Y(上下)方向的位移很小,其中,上述上下、前后、左右方向是相对于空鼠来定义的方向。在本实施例中,竖直方向对应上述Y(上下)方向,预设水平方向对应上述Z(前后)方向,鼠标模式为在平面上操作的普通鼠标模式。
在空鼠与被控终端建立无线连接之后,当需要实现一些细微或精确的操作时,可以将空鼠的工作模式进行切换,以实现将空鼠作为普通鼠标使用,此时作为普通鼠标使用的空鼠有桌面或者其他的接触面作为支撑面,能够进行一些精确的操作。被控终端在获取到空鼠的坐标信息后,采用X(左右)方向、Z(前后)方向的位移进行分析,而丢弃Y(上下)方向的位移。
因此,在本实施例中通过检测到空鼠在上下方向和前后方向上的位置偏移量来判断空鼠当前是否需要进行工作模式的切换。
步骤S20,当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量。
步骤S30,当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
需要说明的是,由于空鼠可能是在X、Y或Z方向上的正向或者负向有位置偏移,因此在与第一偏移量和第二偏移量进行比较时,均取空鼠在X、Y或Z方向上的位置偏移量的绝对值进行比较,即空鼠在竖直方向上的位置偏移量和在预设水平方向上的偏移量均为正数。
被控终端在获取到位移信息后,判断空鼠当前的工作模式,若当前空鼠的工作模式为空鼠模式,提取其中的Y 方向和Z方向的位置偏移量作为判断基准,上述第一偏移量和第二偏移量为预设的固定值,可以根据采集到的多次模拟操作数据结果获得,当空鼠在Y 方向上的位置偏移量小于第一偏移量且在Z 方向上的位置偏移量大于第二偏移量时,说明空鼠在Y方向没有位移,在Z方向上有位移,则判断用户当前的操作是将当空鼠当作普通鼠标使用,将其工作模式切换为普通鼠标模式,采用X(左右)方向、Z(前后)方向的位移进行分析,而丢弃Y(上下)方向的位移,若未达到上述条件,则继续按照当前的空鼠模式工作,不进行模式的切换。
本实施例提出的空鼠的工作模式切换方法,在接收到空鼠的操作指令时,提取空鼠的位移信息,若此时空鼠为空鼠模式,则从该位移信息中提取空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量,当空鼠在竖直方向上的位置偏移量小于第一偏移量且在预设水平方向上的位置偏移量大于第二偏移量,说明空鼠在竖直方向上没有位移,在预设水平方向上有位移,说明空鼠需要进行模式切换。因此,用户需要将空鼠由空鼠模式切换为普通鼠标模式时,只需要拿着空鼠在平面上来回移动即可。无需外接鼠标或者按键调节等操作,自动将空鼠切换为鼠标模式,解决了现有技术中无法实现空鼠模式与普通鼠标模式自动切换的技术问题。
基于发明空鼠的工作模式切换方法的第一实施例提出本发明空鼠的工作模式切换方法的第二实施例。在本实施例中,所述方法与第一实施例的区别在于,在步骤S20之后,该空鼠的工作模式切换方法还包括:
当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
由于空鼠在以普通鼠标模式工作时,Y(上下)方向一般没有位移或者位移非常小,因此当判断空鼠当前的工作模式为普通鼠标模式时,只对空鼠的X(左右)方向的位移进行分析,如果检测到空鼠在Y(上下)方向上的位置偏移量大于第一偏移量时,判断用户此时将空鼠以空鼠模式使用,将其工作模式切换为空鼠模式。
本实施例提出的空鼠的工作模式切换方法,当空鼠在以普通鼠标模式工作时,若检测到其在竖直方向有较大的位置偏移量时,即将其工作模式切换为空鼠模式,这样,用户需要将空鼠由普通鼠标模式切换为空鼠模式时,只需要拿着空鼠在空中挥动即可。
参照图2所示,基于发明空鼠的工作模式切换方法的第二实施例提出本发明空鼠的工作模式切换方法的第三实施例。在本实施例中,所述方法与第二实施例的区别在于,步骤S30包括以下步骤:
步骤S31,当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
在本实施例中,为了避免用户误操作导致的错误切换,基于上述实施例,增加预设时长作为进一步的判断基准,以增加用户行为判断的准确性。
在Y方向上的位置偏移量小于第一偏移量且Z方向上的位置偏移量大于第二偏移量时,开始计时,由于只要空鼠发生移动,被控终端就会接收到位移信息,若获取到的Y方向上的位置偏移量大于或者等于第一偏移量,或者获取到的Z方向上的位置偏移量小于或等于第二偏移量时,将计时清零,若Y方向上的位置偏移量小于第一偏移量且Z方向上的位置偏移量大于第二偏移量时,此时确定计时得到的时长是否大于或者等于预设时长,如果小于预设时长,则认为没有达到切换的条件,此时,不进行模式的切换。
进一步地,步骤S40包括以下步骤:
当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
在由普通鼠标模式切换为空鼠模式时,同样利用预设时长作为附加的判断基准,其原理同上,在获取到的Y方向上的位置偏移量大于第一偏移量时,开始计时,由于只要空鼠发生移动,被控终端就会接收到位移信息,若获取到的Y方向上的位置偏移量小于或者等于第一偏移量,则将计时清零,若检测到Y方向上的位置偏移量大于第一偏移量时,此时确定计时得到的时长是否大于或者等于预设时长,如果小于预设时长,则认为没有达到切换的条件,此时,不进行模式的切换。
进一步地,在步骤S30之后,该空鼠的工作模式切换方法还包括:
输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
在空鼠的工作模式成功切换之后,可以发出提示信息,可以是声音提示、灯光提示或者震动提示,或者在具有现实界面的被控终端上显示信息进行提示,以告知用户空鼠的工作模式已经成功切换。
本实施例提出的空鼠的工作模式切换方法,增加预设时长作为附加的用户行为判断基准,避免用户误操作导致在不需要切换的时候发生了模式切换,提高了模式切换判断的准确性。
本发明还提出一种空鼠的工作模式切换装置。
参照图3所示,为本发明空鼠的工作模式切换装置第一实施例的功能模块示意图。
在该实施例中,该空鼠的工作模式切换装置包括:
信息接收模块10,用于在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息。
一般情况下,当用户使用空鼠对被控终端发送操作指令时,空鼠在X(左右)方向、Y(上下)方向、Z(前后)方向的坐标都会有位移,即会在X(左右)方向、Y(上下)方向、Z(前后)方向产生位置偏移量,而且主要以X(左右)方向和Y(上下)方向坐标的移动为主,被控终端采用这两个位移数据,而丢掉Z(前后)方向位移数据。用户在使用普通鼠标时,由于鼠标是放在一个平面上,因此鼠标主要是X(左右)方向、Z(前后)方向有位移,而Y(上下)方向的位移很小,其中,上述上下、前后、左右方向是相对于空鼠来定义的方向。在本实施例中,竖直方向对应上述Y(上下)方向,预设水平方向对应上述Z(前后)方向,鼠标模式为在平面上操作的普通鼠标模式。
在空鼠与被控终端建立无线连接之后,当需要实现一些细微或精确的操作时,可以将空鼠的工作模式进行切换,以实现将空鼠作为普通鼠标使用,此时作为普通鼠标使用的空鼠有桌面或者其他的接触面作为支撑面,能够进行一些精确的操作。被控终端在信息接收模块10获取到空鼠的坐标信息后,采用X(左右)方向、Z(前后)方向的位移进行分析,而丢弃Y(上下)方向的位移。
因此,在本实施例中通过检测到空鼠在上下方向和前后方向上的位置偏移量来判断空鼠当前是否需要进行工作模式的切换。
偏移量提取模块20,用于当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量。
模式切换模块30,用于当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
需要说明的是,由于空鼠可能是在X、Y或Z方向上的正向或者负向有位置偏移,因此在与第一偏移量和第二偏移量进行比较时,均取空鼠在X、Y或Z方向上的位置偏移量的绝对值进行比较,即空鼠在竖直方向上的位置偏移量和在预设水平方向上的偏移量均为正数。
信息接收模块10获取到位移信息后,判断空鼠当前的工作模式,若当前空鼠的工作模式为空鼠模式,偏移量提取模块20提取其中的Y 方向和Z方向的位置偏移量作为判断基准,上述第一偏移量和第二偏移量为预设的固定值,可以根据采集到的多次模拟操作数据结果获得,当空鼠在Y 方向上的位置偏移量小于第一偏移量且在Z 方向上的位置偏移量大于第二偏移量时,说明空鼠在Y方向没有位移,在Z方向上有位移,则判断用户当前的操作是将当空鼠当作普通鼠标使用,模式切换模块30将其工作模式切换为普通鼠标模式,采用X(左右)方向、Z(前后)方向的位移进行分析,而丢弃Y(上下)方向的位移,若未达到上述条件,则继续按照当前的空鼠模式工作,不进行模式的切换。
本实施例提出的空鼠的工作模式切换装置,在接收到空鼠的操作指令时,提取空鼠的位移信息,若此时空鼠为空鼠模式,则从该位移信息中提取空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量,当空鼠在竖直方向上的位置偏移量小于第一偏移量且在预设水平方向上的位置偏移量大于第二偏移量,说明空鼠在竖直方向上没有位移,在预设水平方向上有位移,则说明空鼠需要进行模式切换,这样,用户需要将空鼠由空鼠模式切换为普通鼠标模式时,只需要拿着空鼠在平面上来回移动即可。无需外接鼠标或者按键调节等操作,自动将空鼠切换为鼠标模式,解决了现有技术中无法实现空鼠模式与普通鼠标模式自动切换的技术问题。
基于发明空鼠的工作模式切换装置的第一实施例提出本发明空鼠的工作模式切换装置的第二实施例。在本实施例中,所述装置与第一实施例的区别在于:
偏移量提取模块20,还用于当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
模式切换模块30,还用于当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
本实施例的装置是在空鼠以普通鼠标模式工作时,根据用户的对应操作将其切换为空鼠模式的装置。
由于空鼠在以普通鼠标模式工作时,Y(上下)方向一般没有位移或者位移非常小,因此当判断空鼠当前的工作模式为普通鼠标模式时,只对空鼠的X(左右)方向的位移进行分析,如果检测到空鼠在Y(上下)方向上的位置偏移量大于第一偏移量时,判断用户此时将空鼠以空鼠模式使用,模式切换模块30将其工作模式切换为空鼠模式。
本实施例提出的空鼠的工作模式切换装置,当空鼠在以普通鼠标模式工作时,若检测到其在竖直方向有较大的位置偏移量时,即将其工作模式切换为空鼠模式,这样,用户需要将空鼠由普通鼠标模式切换为空鼠模式时,只需要拿着空鼠在空中挥动即可。
基于发明空鼠的工作模式切换装置的第二实施例提出本发明空鼠的工作模式切换装置的第三实施例。在本实施例中,所述装置与第二实施例的区别在于:
模式切换模块30,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
在本实施例中,为了避免用户误操作导致的错误切换,基于上述实施例,增加预设时长作为进一步的判断基准,以增加用户行为判断的准确性。
在Y方向上的位置偏移量小于第一偏移量且Z方向上的位置偏移量大于第二偏移量时,开始计时,由于只要空鼠发生移动,被控终端就会接收到位移信息,若获取到的Y方向上的位置偏移量大于或者等于第一偏移量,或者获取到的Z方向上的位置偏移量小于或等于第二偏移量时,将计时清零,若Y方向上的位置偏移量小于第一偏移量且Z方向上的位置偏移量大于第二偏移量时,此时确定计时得到的时长是否大于或者等于预设时长,若大于或者等于预设时长,模式切换模块30进行模式切换,如果小于预设时长,则认为没有达到切换的条件,此时,不进行模式的切换。
进一步地,模式切换模块30,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
在由普通鼠标模式切换为空鼠模式时,同样利用预设时长作为附加的判断基准,其原理同上,在获取到的Y方向上的位置偏移量大于第一偏移量时,开始计时,由于只要空鼠发生移动,被控终端就会接收到位移信息,若获取到的Y方向上的位置偏移量小于或者等于第一偏移量,则将计时清零,若检测到Y方向上的位置偏移量大于第一偏移量时,此时确定计时得到的时长是否大于或者等于预设时长,若大于或者等于预设时长,模式切换模块30进行模式切换,如果小于预设时长,则认为没有达到切换的条件,此时,不进行模式的切换。
进一步地,该空鼠的工作模式切换装置还包括:
信息提示模块,用于输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
在空鼠的工作模式成功切换之后,信息提示模块可以发出提示信息,可以是声音提示、灯光提示或者震动提示,或者在具有现实界面的被控终端上显示信息进行提示,以告知用户空鼠的工作模式已经成功切换。
本实施例提出的空鼠的工作模式切换装置,增加预设时长作为附加的用户行为判断基准,避免用户误操作导致在不需要切换的时候发生了模式切换,提高了模式切换判断的准确性。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (18)

  1. 一种空鼠的工作模式切换方法,其特征在于,所述空鼠的工作模式切换方法包括:
    在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
    当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
    当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式;
    其中,当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式;
    当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
    当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
  2. 根据权利要求1所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
    输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  3. 一种空鼠的工作模式切换方法,其特征在于,所述空鼠的工作模式切换方法包括:
    在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
    当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
    当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
  4. 根据权利要求3所述的空鼠的工作模式切换方法,其特征在于,所述在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息的步骤之后,所述空鼠的工作模式切换方法还包括:
    当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
    当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
  5. 根据权利要求3所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤包括:
    当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
  6. 根据权利要求4所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式的步骤包括:
    当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
  7. 根据权利要求3所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
    输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  8. 根据权利要求4所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤包括:
    当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
  9. 根据权利要求4所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
    输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  10. 根据权利要求5所述的空鼠的工作模式切换方法,其特征在于,所述当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式的步骤之后,所述空鼠的工作模式切换方法还包括:
    输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  11. 一种空鼠的工作模式切换装置,其特征在于,所述空鼠的工作模式切换装置包括:
    信息接收模块,用于在接收到空鼠的操作指令时,从所述操作指令中获取所述空鼠的位移信息;
    偏移量提取模块,用于当所述空鼠当前的工作模式为空鼠模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量和在预设水平方向上的位置偏移量;
    模式切换模块,用于当所述空鼠在所述竖直方向上的位置偏移量小于第一偏移量、在所述预设水平方向上的位置偏移量大于第二偏移量时,将所述空鼠切换为鼠标模式。
  12. 根据权利要求11所述的空鼠的工作模式切换装置,其特征在于,所述偏移量提取模块,还用于当所述空鼠当前的工作模式为鼠标模式时,从获取到的所述位移信息中提取所述空鼠在竖直方向上的位置偏移量;
    所述模式切换模块,还用于当所述空鼠在所述竖直方向上的位置偏移量大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
  13. 根据权利要求11所述的空鼠的工作模式切换装置,其特征在于,所述模式切换模块,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
  14. 根据权利要求12所述的空鼠的工作模式切换装置,其特征在于,所述模式切换模块,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均大于所述第一偏移量时,将所述空鼠的工作模式切换为空鼠模式。
  15. 根据权利要求11所述的空鼠的工作模式切换装置,其特征在于,所述空鼠的工作模式切换装置还包括:
    信息提示模块,用于输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  16. 根据权利要求12所述的空鼠的工作模式切换装置,其特征在于,所述模式切换模块,还用于当在预设时长内,所述空鼠在所述竖直方向上的位置偏移量均小于所述第一偏移量、在所述预设水平方向的位置偏移量均大于所述第二偏移量时,将所述空鼠切换为鼠标模式。
  17. 根据权利要求12所述的空鼠的工作模式切换装置,其特征在于,所述空鼠的工作模式切换装置还包括:
    信息提示模块,用于输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
  18. 根据权利要求13所述的空鼠的工作模式切换装置,其特征在于,所述空鼠的工作模式切换装置还包括:
    信息提示模块,用于输出提示信息,以提示用户所述空鼠的工作模式已成功切换。
PCT/CN2016/084534 2015-11-09 2016-06-02 空鼠的工作模式切换方法及装置 Ceased WO2017080194A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510758051.5 2015-11-09
CN201510758051.5A CN105278700A (zh) 2015-11-09 2015-11-09 空鼠的工作模式切换方法及装置

Publications (1)

Publication Number Publication Date
WO2017080194A1 true WO2017080194A1 (zh) 2017-05-18

Family

ID=55147850

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084534 Ceased WO2017080194A1 (zh) 2015-11-09 2016-06-02 空鼠的工作模式切换方法及装置

Country Status (2)

Country Link
CN (1) CN105278700A (zh)
WO (1) WO2017080194A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148136A (zh) * 2019-06-26 2020-12-29 浙江广厦建设职业技术学院 一种直立式计算机输入设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278700A (zh) * 2015-11-09 2016-01-27 深圳Tcl新技术有限公司 空鼠的工作模式切换方法及装置
CN110152201A (zh) * 2019-06-25 2019-08-23 武汉光盾科技有限公司 一种激光理疗腕表
CN113542834B (zh) * 2021-07-13 2023-03-07 北京字节跳动网络技术有限公司 遥控装置的控制方法、装置、电子设备和存储介质
CN115357164A (zh) * 2022-08-16 2022-11-18 四川长虹电器股份有限公司 空鼠操作方法、装置及移动终端
CN116048314B (zh) * 2022-08-25 2024-04-09 荣耀终端有限公司 一种光标控制方法、光标控制设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206536A (zh) * 2006-12-22 2008-06-25 财团法人工业技术研究院 惯性感测六轴向输入装置及其使用方法
WO2009059716A1 (en) * 2007-11-05 2009-05-14 Sebastian Repetzki Pointing device and method for operating the pointing device
CN102902372A (zh) * 2011-07-25 2013-01-30 索尼公司 信息处理装置、信息处理方法和输入装置
CN104769522A (zh) * 2012-09-28 2015-07-08 莫韦公司 具有3d 指向和手势识别功能的远程控制器
CN105278700A (zh) * 2015-11-09 2016-01-27 深圳Tcl新技术有限公司 空鼠的工作模式切换方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201025527Y (zh) * 2007-03-02 2008-02-20 吴常熙 整合型输入装置
CN101606119B (zh) * 2007-12-07 2016-03-16 索尼株式会社 输入装置、控制装置、控制系统、控制方法及手持装置
CN104238770B (zh) * 2014-09-09 2018-01-23 联想(北京)有限公司 一种控制方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206536A (zh) * 2006-12-22 2008-06-25 财团法人工业技术研究院 惯性感测六轴向输入装置及其使用方法
WO2009059716A1 (en) * 2007-11-05 2009-05-14 Sebastian Repetzki Pointing device and method for operating the pointing device
CN102902372A (zh) * 2011-07-25 2013-01-30 索尼公司 信息处理装置、信息处理方法和输入装置
CN104769522A (zh) * 2012-09-28 2015-07-08 莫韦公司 具有3d 指向和手势识别功能的远程控制器
CN105278700A (zh) * 2015-11-09 2016-01-27 深圳Tcl新技术有限公司 空鼠的工作模式切换方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148136A (zh) * 2019-06-26 2020-12-29 浙江广厦建设职业技术学院 一种直立式计算机输入设备
CN112148136B (zh) * 2019-06-26 2022-06-14 浙江广厦建设职业技术学院 一种直立式计算机输入设备

Also Published As

Publication number Publication date
CN105278700A (zh) 2016-01-27

Similar Documents

Publication Publication Date Title
WO2017080194A1 (zh) 空鼠的工作模式切换方法及装置
WO2017028601A1 (zh) 智能终端的语音控制方法、装置及电视机系统
WO2018068411A1 (zh) 智能电视远程调试方法及智能电视远程调试系统
WO2017036204A1 (zh) 应用程序切换时的焦点定位方法及装置
WO2017201913A1 (zh) 一种精准语音控制方法及装置
WO2017036203A1 (zh) 媒体应用的播放控制方法、遥控装置及电视系统
WO2017084303A1 (zh) 电视桌面系统的切换方法及切换控制系统
WO2018016731A1 (en) Electronic device and method for controlling the same
WO2017215187A1 (zh) 遥控方法及遥控器
WO2016178465A1 (en) Mobile terminal
WO2017028613A1 (zh) 基于遥控器app控制终端的方法及装置
WO2018143634A1 (en) Cleaner
WO2017016262A1 (zh) 一种智能手表的控制方法及智能手表
WO2017084301A1 (zh) 音频数据播放方法、装置及智能电视机
WO2015058570A1 (zh) 自动识别网络运营商以实现数据配置的方法及装置
WO2016058258A1 (zh) 终端远程控制方法和系统
WO2016082611A1 (zh) 视频接口通道检测的方法及系统
WO2019061042A1 (zh) 曝光补偿的方法、装置及计算机可读存储介质
WO2017215233A1 (zh) 一种终端电源键控制方法及系统
WO2017191894A1 (en) Electronic device and controlling method thereof
WO2016101252A1 (zh) 智能电视的频道信息显示方法及装置
WO2017084305A1 (zh) 终端控制方法及系统
WO2017032060A1 (zh) 一种界面操作方法、装置以及智能手表
WO2019080401A1 (zh) 脚本语句转换方法、装置及计算机可读存储介质
WO2018153120A1 (zh) 显示面板的检测方法及检测装置

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

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

Country of ref document: EP

Kind code of ref document: A1