WO2014180065A1 - 空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法 - Google Patents

空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法 Download PDF

Info

Publication number
WO2014180065A1
WO2014180065A1 PCT/CN2013/078660 CN2013078660W WO2014180065A1 WO 2014180065 A1 WO2014180065 A1 WO 2014180065A1 CN 2013078660 W CN2013078660 W CN 2013078660W WO 2014180065 A1 WO2014180065 A1 WO 2014180065A1
Authority
WO
WIPO (PCT)
Prior art keywords
mouse
data
space
trigger signal
terminal
Prior art date
Application number
PCT/CN2013/078660
Other languages
English (en)
French (fr)
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 WO2014180065A1 publication Critical patent/WO2014180065A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Definitions

  • the air mouse is an input device that operates the mouse pointer (screen cursor) like a traditional mouse, but does not need to be placed on any plane. In the air, it can directly control the mouse pointer by relying on the perception of the air movement posture.
  • the space mouse When using, first open the power of the space mouse, establish a connection with the terminal through the wireless data interface, and then the space mouse can directly send the spatial coordinate data to the terminal to complete the positioning of the mouse pointer by the terminal, or complete the positioning of the mouse pointer before Send to the terminal. It can be seen that the birth of the space mouse makes the user get rid of the connection between the traditional mouse and the terminal and the constraint of the operation plane, which greatly expands the use space of the mouse. However, there is a situation in the application that the user has reached a certain extreme position during the operation (for example, the user extends the arm completely and cannot extend in the predetermined direction), but still wants to continue moving the mouse pointer in the original direction. .
  • the existing solution is that after the user re-initializes the space mouse, the space mouse is moved at a faster speed than before to move the mouse pointer to the desired position, for example, after the space mouse is powered off again. Power up or initialize it by shaking the space mouse.
  • the disadvantage of this method is that the continuous control of the mouse pointer in a special application scenario cannot be realized, which brings inconvenience to the user.
  • a related art can be referred to the international patent application with the publication number WO2005108119 (A2), which discloses a specific implementation of spatial positioning.
  • WO2005108119 A2
  • the present invention provides a method for a mouse to transmit mouse data, including: after receiving a first trigger signal, transmitting mouse data to a terminal until receiving a second trigger signal, the first trigger signal and The second trigger signal is generated based on a button operation on the space mouse; after receiving the second trigger signal, stopping sending mouse data to the terminal until receiving the first trigger signal; wherein, the mouse data is Spatial mouse data or mouse pointer data, the spatial mouse data including at least one of a spatial coordinate of the spatial mouse and a change amount of the spatial coordinate, the mouse pointer data being a mouse displayed on a screen of the terminal At least one of a plane coordinate of the pointer and a variation amount of the plane coordinate.
  • the first trigger signal and the second trigger signal are generated based on a touch operation on the touch button.
  • the mouse data is mouse pointer data
  • the space mouse data is a change amount of spatial coordinates of the space mouse
  • the method for transmitting mouse data further includes: when receiving the second trigger signal, recording Current mouse pointer data; After the sending of the mouse data to the terminal, when the first trigger signal is received, the sending the mouse data to the terminal includes: updating the mouse pointer data according to the current space mouse data and the recorded mouse pointer data; Mouse pointer data is sent to the terminal.
  • the mouse data is spatial mouse data.
  • the method for transmitting mouse data further includes: when receiving the second trigger signal, sending a control signal to the terminal, where the control signal is used to control the
  • the terminal records the current mouse pointer data.
  • the spatial mouse data is obtained based on an output of the inertial device of the space mouse.
  • the technical solution of the present invention further provides a device for transmitting mouse data by a space mouse, comprising: a first control unit, configured to: after receiving the first trigger signal, send mouse data to the terminal until Receiving a second trigger signal, the first trigger signal and the second trigger signal are generated based on a button operation on the space mouse; the second control unit is adapted to stop after receiving the second trigger signal
  • the terminal sends the mouse data until the first trigger signal is received; wherein the mouse data is space mouse data or mouse pointer data, and the space mouse data includes a space coordinate of the space mouse and a change amount of the space coordinate At least one of the mouse pointer data is at least one of a plane coordinate of a mouse pointer displayed on a screen of the terminal and a variation amount of the plane coordinate.
  • the first trigger signal and the second trigger signal are generated based on a touch operation on the touch button.
  • the mouse data is mouse pointer data
  • the space mouse data is a change amount of spatial coordinates of the space mouse;
  • the device for transmitting mouse data further includes: a recording unit, configured to record current mouse pointer data when receiving the second trigger signal; and after receiving the mouse data to the terminal, receiving the first trigger When the signal is received, the first control unit is adapted to update the mouse pointer data according to the current spatial mouse data and the recorded mouse pointer data.
  • the mouse data is spatial mouse data; the device for transmitting mouse data further includes: a signal sending unit, configured to send a control signal to the terminal when receiving the second trigger signal, The control signal is used to control the terminal to record current mouse pointer data.
  • the technical solution of the present invention further provides a space mouse, including an inertial device, further comprising: any one of the above devices for transmitting mouse data, wherein the space mouse data is based on an inertial device of the space mouse Obtained by the output.
  • the inertial device is a gravity accelerometer or a gyroscope.
  • the technical solution of the present invention further provides a method for controlling movement of a mouse pointer, comprising: a spatial mouse transmitting mouse data by using the method for transmitting mouse data; and receiving, by the terminal, mouse data sent by the space mouse; Controls the movement of the mouse pointer on the screen based on the received mouse data.
  • the mouse data is spatial mouse data; and the controlling, by the terminal, the movement of the mouse pointer on the screen based on the received mouse data comprises: updating the mouse pointer data according to the received spatial mouse data and the current mouse pointer data; Controls the movement of the mouse pointer on the screen based on the updated mouse pointer data.
  • FIG. 1 is a schematic diagram of a user moving a mouse pointer using spatial coordinates
  • FIG. 2 is a schematic flow chart of a method for controlling movement of a mouse pointer according to a technical solution of the present invention
  • FIG. 3 is a schematic diagram of a space mouse transmitting spatial mouse data to a terminal according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic flow chart of a method for transmitting mouse data by a space mouse according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic diagram of a flow of controlling a movement of a mouse pointer by a terminal according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic diagram of a space mouse transmitting spatial mouse data to a terminal according to Embodiment 2 of the present invention
  • FIG. 7 is a schematic flow chart of a method for transmitting mouse data by a space mouse according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic flowchart of controlling movement of a mouse pointer by a terminal according to Embodiment 2 of the present invention.
  • the power switch of the space mouse and the terminal must be first turned on.
  • the space mouse enters the working state.
  • the space mouse data is first obtained based on the inertial device, and the space mouse data may be a space coordinate of the space mouse and a change of the space coordinate or any one of the items, and then the space mouse data is transmitted through the wireless interface. Send to the terminal.
  • the inertial device is a gyroscope or a gravity accelerometer.
  • the terminal After receiving the space mouse data, the terminal converts it into mouse pointer data by conversion calculation, that is, on the display screen. The amount of change in the plane coordinates or plane coordinates of the mouse pointer completes the control of the mouse pointer by the space mouse. If the memory of the space mouse is allowed, the conversion process of the space coordinate data to the mouse pointer data can be performed inside the space mouse, and then the mouse pointer data is directly sent to the terminal, and then the terminal completes the movement of the mouse pointer on the display screen. control. As shown in FIG. 1, a schematic diagram of realizing mouse pointer control for a user using a space mouse.
  • the mouse pointer moves on the screen at a corresponding speed and direction, and the movement range is the entire screen.
  • the mouse pointer can be moved from point A to point B according to the transformation of the user's gesture.
  • problems may occur. For example, when the mouse pointer moves from point A to point B, the arm of the user holding the space mouse is completely extended, but the mouse pointer has not moved to the expected position C point. At this time, the user can only reinitialize the space mouse by shaking the space mouse, etc., and then move the mouse pointer to the C point position by the faster moving speed.
  • the technical solution provides a method for controlling the movement of the mouse pointer.
  • the method includes the following steps: Step S1: After receiving the first trigger signal, send mouse data to the terminal until the second data is received. a trigger signal, the first trigger signal and the second trigger signal being generated based on a key operation on the space mouse. Step S2: After receiving the second trigger signal, stop sending mouse data to the terminal until the first trigger signal is received.
  • the mouse data is space mouse data or mouse pointer data
  • the space mouse data includes a space sitting of the space mouse And at least one of a variation amount of the space coordinates, the mouse pointer data being at least one of a plane coordinate of a mouse pointer displayed on a screen of the terminal and a variation amount of the plane coordinates.
  • Step S3 The terminal receives the mouse data sent by the space mouse.
  • Step S4 The terminal controls the movement of the mouse pointer on the screen based on the received mouse data.
  • step S1 and step S2 are performed by a space mouse.
  • Embodiment 1 As shown in FIG. 3, a schematic diagram of a space mouse transmitting spatial mouse data to a terminal according to a first embodiment of the present invention, wherein a space mouse is used to acquire spatial mouse data, and is sent to a terminal through a wireless interface between a space mouse and a terminal. After receiving the space mouse data sent by the space mouse, the terminal converts the plane coordinate data of the mouse pointer on the screen to control the continuous movement of the mouse pointer.
  • the inventor proposes a method for transmitting mouse data by a space mouse. As shown in FIG.
  • Step S41 Turn on the power switch of the space mouse to enter the working state. Generally, after the power switch is turned on, the space mouse will complete the initialization of each component, including the inertial device, the internal chip, and the wireless interface with the terminal, so that the space mouse enters the working state and waits for the user to further operate. Similarly, when the power switch is turned off, the space mouse can no longer be used.
  • Step S42 It is judged whether the first trigger signal is received. It should be noted that the first trigger signal is used to enable the data sending function of the wireless interface of the space mouse, and does not affect other components of the space mouse, and triggers generated when the power switch is turned on in step S41. The signals are different.
  • the inventor proposes to add a button for generating a first trigger signal on the space mouse, and the user generates a first trigger signal after the button operation.
  • the button can be a mechanical button or a touch switch.
  • a first trigger signal is generated when the button is pressed, or a first trigger signal is generated when the button is turned on;
  • a first trigger may be defined when the user touches The signal, or the first trigger signal is generated when there is no user touch.
  • it can be set according to user usage habits and application scenarios.
  • Step S43 Send spatial mouse data to the terminal.
  • the space mouse starts the data transmission function of the wireless interface of the space mouse, and then the space mouse data obtained by the space mouse-based inertial device can be sent to the terminal, where The spatial mouse data can be the spatial coordinate of the spatial mouse or the spatial coordinate of the spatial mouse, or both.
  • the terminal converts the real-time space mouse data into the plane coordinate data of the mouse pointer on the screen to complete the movement control of the mouse pointer.
  • Step S44 It is judged whether the second trigger signal is received.
  • the second trigger signal is used to disable the data transmission function of the wireless interface of the space mouse, and is different from the trigger signal generated when the power switch is turned off in step S41.
  • the power switch is turned off, all parts of the space mouse will stop working, and in most cases the mouse pointer on the display will disappear; when the space mouse receives the second trigger signal, only the data transmission of the wireless interface is turned off.
  • Function, other components of the space mouse such as inertial devices, chips, including the wireless interface itself, are working, and can still acquire spatial mouse data, perform related processing, and maintain communication with the terminal.
  • the generation of the second trigger signal is also based on the user's operation of the button.
  • the button for generating the first trigger signal and the button for generating the second trigger signal may be the same button or different buttons.
  • the definition of the second trigger signal should correspond to the definition of the first trigger signal, for example, when the button is mechanically pressed
  • the button is defined, if the signal generated when the button is pressed is the first trigger signal, then the signal generated when the button is released can be defined as the second trigger signal; if the signal generated when the button is released is defined as the first trigger Signal, then the corresponding signal can be defined as the second trigger signal when the button is pressed.
  • Step S45 Stop sending spatial mouse data to the terminal. As described in step S44, after receiving the second trigger signal, the space mouse turns off the data transmission function of the wireless interface of the space mouse.
  • the space mouse stops sending mouse data to the terminal until the first trigger signal is received again.
  • the transmission of the start space mouse data is reproduced, that is, after the execution of step S45, the process returns to the determination step of step S42.
  • the control signal may be sent to the terminal for controlling the terminal to record the current mouse pointer data, so that the terminal is based on the record after receiving the first trigger signal again.
  • the mouse pointer data controls the movement of the mouse pointer.
  • the space mouse completes the transmission control of the mouse data.
  • FIG. 5 shows the processing flow of the terminal side while the space mouse performs data transmission, including: Step S51: Establish a wireless connection with the space mouse.
  • Step S51 Establish a wireless connection with the space mouse.
  • the terminal needs to establish a wireless connection with the space mouse. Under normal circumstances, when the terminal is opened, the wireless interface between it and the space mouse is opened.
  • the terminal can detect and establish a connection with the space mouse.
  • Step S52 It is judged whether the space mouse data is received.
  • the terminal needs to complete the movement control of the mouse pointer, and based on the mouse data sent by the space mouse, the terminal first determines whether the space mouse data is received.
  • step S53 is performed, otherwise step S54 is performed.
  • step S53 Convert the spatial mouse data into mouse pointer data, and perform movement control on the mouse pointer.
  • the method includes: if the space mouse data is received for the first time, the position of the mouse pointer is initialized first, that is, the spatial mouse data received for the first time is corresponding to a certain position on the screen, and then received.
  • the real-time spatial coordinate data is converted into the amount of change in the plane coordinates of the mouse pointer, and then the mouse pointer is moved based on the initial position of the mouse pointer.
  • a certain position can be any point on the screen, generally selecting the midpoint position of the screen plane.
  • Step S54 Control the mouse pointer to stay at the current position.
  • the space mouse performs step S45, the space mouse data is stopped, and accordingly, the terminal does not receive the space mouse data, and the terminal stops the mouse pointer at the current position. If the space mouse sends a control signal for controlling the terminal to record the current mouse pointer data while stopping the data transmission, the terminal also records the current mouse pointer data in this step.
  • the embodiment further provides an apparatus for spatial mouse data transmission, including: a first control unit, a second control unit, and a signal sending unit.
  • the first control unit is adapted to send the mouse data to the terminal after receiving the first trigger signal until receiving the second a trigger signal, the first trigger signal and the second trigger signal being generated based on a key operation on the space mouse.
  • the second control unit is adapted to stop transmitting mouse data to the terminal until receiving the first trigger signal after receiving the second trigger signal.
  • the signal sending unit is configured to send a control signal to the terminal when the second trigger signal is received, where the control signal is used to control the terminal to record current mouse pointer data.
  • the spatial mouse data includes at least one of a spatial coordinate of the spatial mouse and a change amount of the spatial coordinate, the mouse pointer data being a plane coordinate of the mouse pointer displayed on a screen of the terminal, and the plane At least one of the amount of change in the coordinates, the first trigger signal and the second trigger signal being generated based on a touch operation on the touch key.
  • the space mouse of the embodiment of the present invention as shown in FIG. 3 includes the device and the inertial device for transmitting the mouse data by the space mouse, and the space mouse obtains the space mouse data through the data of the inertial device.
  • the inertial device can be a gyroscope or a gravity accelerometer.
  • the working principle of inertial devices has been discussed in many documents, and will not be described here.
  • Embodiment 2 As shown in FIG. 6 , a schematic diagram of a space mouse transmitting spatial mouse data to a terminal according to Embodiment 2 of the present invention, wherein a space mouse is used to acquire spatial mouse data, and the space mouse data is converted into mouse pointer data, and then passed.
  • the wireless interface between the space mouse and the terminal is sent to the terminal; the terminal is used to directly control the movement of the mouse pointer after receiving the mouse pointer data sent by the space mouse.
  • the difference between the embodiment and the first embodiment of the present invention is that the conversion of the space mouse data to the mouse pointer data is performed on the space mouse side, and the terminal can directly according to the received mouse. Pointer data to move the mouse pointer, which makes the space mouse compatible with more terminals.
  • the implementation of the first embodiment of the present invention can save memory resources of the space mouse and reduce the cost thereof. Users can determine which solution to use based on different needs. Corresponding to the process of transmitting the space mouse data to the terminal by the space mouse shown in FIG.
  • Step S71 Turn on the power switch of the space mouse to make it enter the working state.
  • step S41 of Embodiment 1 of the present invention Step S72: determining whether the first trigger signal is received. If the result of the determination is yes, then step S73 is performed, otherwise, the process returns to step S72 to continue the determination.
  • step S42 of Embodiment 1 of the present invention Step S73: Acquire spatial mouse data, and convert the data into mouse pointer and send the data to the terminal.
  • step S43 of the embodiment of the present invention for a specific implementation, reference may be made to step S43 of the embodiment of the present invention.
  • Step S74 It is judged whether the second trigger signal is received. For specific implementation, reference may be made to step S44 of Embodiment 1 of the present invention. If the result of the determination is yes, step S75 is performed; if the result of the determination is no, the process returns to step S73 to continue transmitting spatial mouse data to the terminal.
  • Step S75 Recording mouse pointer data. Since the conversion of the space mouse data to the mouse pointer data is completed in the space mouse, in order to achieve continuous control of the mouse pointer, when the space mouse receives the second trigger signal to stop transmitting data, the mouse when the transmission is interrupted should be recorded.
  • Step S76 Stop sending mouse pointer data to the terminal.
  • Step S45 of Embodiment 1 of the present invention Step S77: It is judged whether the first trigger signal is received.
  • step S72 The first trigger signal in step S72 is the first trigger signal received after the space mouse is powered on, and the first trigger signal in this step is the first received after receiving the second trigger signal.
  • the trigger signal is the first trigger signal received after the interruption of the mouse data transmission.
  • step S78 Acquiring spatial mouse data, and calculating based on the recorded mouse pointer data New mouse pointer data is sent to the terminal.
  • the space mouse acquires the spatial mouse data again, and then converts the spatial mouse data into the amount of change of the mouse pointer in the plane coordinate of the screen, and then receives the second based on the record recorded in step S75.
  • the mouse pointer is in the plane coordinate data of the screen, and the new mouse pointer data is calculated and then sent to the terminal.
  • the space mouse completes the transmission control of the mouse data.
  • FIG. 8 shows the processing flow of the terminal side while the space mouse performs data transmission, including: Step S81: Establish a wireless connection with the space mouse. For specific implementation, reference may be made to step S51 of the first embodiment of the present invention. Step S82: It is judged whether the mouse pointer data is received. For details, refer to step S52 of the first embodiment of the present invention, except that the object to be judged is mouse pointer data instead of spatial mouse data.
  • Step S83 Perform movement control on the mouse pointer based on the received mouse pointer data.
  • the space mouse performs step S73 and step S78, the conversion of the space mouse data to the mouse pointer data is completed. Therefore, after receiving the data sent by the space mouse, the terminal can directly control the movement of the mouse pointer.
  • Step S84 Control the mouse pointer to stay at the current position. After the terminal does not receive the mouse pointer data sent by the space mouse, it controls the mouse pointer to stay, and continues to control the movement of the mouse pointer after receiving the mouse data sent by the space mouse again. Since the terminal performs dynamic control of the mouse pointer based on the real-time spatial mouse data sent by the space mouse, step S82 is returned after performing steps S83 and S84.
  • the embodiment further provides an apparatus for transmitting mouse pointer data, including: a first control unit, a second control unit, and a recording unit.
  • the first control unit is adapted to: after receiving the first trigger signal, send the mouse data to the terminal until the second trigger signal is received, and update the mouse pointer data according to the current space mouse data and the recorded mouse pointer data;
  • the first trigger signal and the second trigger signal are generated based on a key operation on the space mouse.
  • the second control unit is adapted to stop transmitting mouse data to the terminal until receiving the first trigger signal after receiving the second trigger signal.
  • the recording unit is adapted to record the current mouse pointer data upon receiving the second trigger signal.
  • the spatial mouse data includes at least one of a spatial coordinate of the spatial mouse and a change amount of the spatial coordinate, the mouse pointer data being a plane coordinate of the mouse pointer displayed on a screen of the terminal, and the plane At least one of the amount of change in the coordinates, the first trigger signal and the second trigger signal being generated based on a touch operation on the touch key.
  • the apparatus for transmitting the mouse data by the space mouse reference may be made to the method for transmitting the mouse data by the space mouse in the second embodiment, and details are not described herein again.
  • the space mouse of the embodiment shown in FIG. 6 includes an inertial device and a device for transmitting mouse data by the space mouse described in this embodiment.
  • the space mouse obtains its spatial mouse data through the data of the inertial device, and the inertial device can be a gyroscope or a gravity force velocity meter.
  • the inertial device can be a gyroscope or a gravity force velocity meter.
  • a person skilled in the art may understand that all or part of the foregoing technical solutions may be implemented by a program to instruct related hardware, and the program may be stored in a readable storage medium, and the storage medium may be a ROM or a RAM. Disk, CD, etc.

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

一种空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法,其中所述控制鼠标指针移动的方法包括:当接收到第一触发信号后,向终端发送鼠标数据直至接收到第二触发信号,所述第一触发信号和第二触发信号基于所述空间鼠标上的按键操作而产生;当接收到所述第二触发信号后,停止向所述终端发送鼠标数据直至接收到第一触发信号;终端接收所述空间鼠标发送的鼠标数据;所述终端基于接收到的鼠标数据控制屏幕上的鼠标指针的移动。其中,所述鼠标数据为空间鼠标数据或鼠标指针数据。基于控制鼠标指针移动的方法,空间鼠标可以实现在任意场景中对鼠标指针的连续控制,更加便于用户的实际使用。

Description

空间鼠标发送鼠标数据的方法、 控制鼠标指针移动的方法 本申请要求 2013 年 05 月 06 日提交中国专利局、 申请号为 201310164004.9、 发明名称为 "空间鼠标发送鼠标数据的方法、 控制 鼠标指针移动的方法 "的中国专利申请的优先权, 其全部内容通过引 用结合在本申请中。 技术领域 本发明涉及定位技术领域,尤其涉及一种空间鼠标及发送鼠标数 据的方法、 控制鼠标指针移动的方法。 背景技术 目前,计算机鼠标指针的定位大多数都依靠光学传感器或激光传 感器来实现, 这些传感器都基于物理光学原理, 使得传感器需要依靠 桌面等平台来实现。 但是在很多场合, 例如在计算机多媒体教学中, 用户想在空中操控鼠标指针或是通过在空中操控鼠标指针来实现多 媒体电视播放、 网页浏览等应用, 仅使用传统的传感器就无法实现, 于是空中鼠标应运而生。 空中鼠标是一种输入设备, 像传统鼠标一样 操作鼠标指针(屏幕光标), 但却不需要放在任何平面上, 在空中晃 动就能直接依靠空中运动姿态的感知实现对鼠标指针的控制。 使用 时, 先打开空间鼠标的电源, 通过无线数据接口与终端建立连接, 然 后空间鼠标可以将直接将空间坐标数据发送给终端由终端完成鼠标 指针的定位, 也可以先完成鼠标指针的定位后再发送给终端。 可见, 空间鼠标的诞生,使得用户摆脱了传统鼠标与终端之间的连线以及操 作平面的束缚, 大大扩展了鼠标的使用空间。 但是在应用中会存在一种情况,就是用户在操作过程中已经达到 某一种极限位置 (例如, 用户将手臂完全伸展无法再沿预定方向延 伸), 但仍希望沿原来的方向继续移动鼠标指针。 目前已有的解决方 法, 就是用户重新初始化空间鼠标后, 以比原先更快的速度移动空 间鼠标以使鼠标指针移动到预想的位置,比如重新对空间鼠标断电后 再上电或者通过摇晃空间鼠标使其完成初始化。这种方法的缺点就是 无法实现鼠标指针在特殊应用场景中的连续控制,给用户使用带来了 不便。 相关技术可参考公开号为 WO2005108119(A2) 的国际专利申请, 该专利申请公开了一种空间定位的具体实现。 发明内容 本发明解决的问题是在特殊应用场景中空间鼠标无法实现对鼠 标指针的连续控制。 为解决上述技术问题,本发明提供一种空间鼠标发送鼠标数据的 方法, 包括: 当接收到第一触发信号后,向终端发送鼠标数据直至接收到第二 触发信号,所述第一触发信号和第二触发信号基于所述空间鼠标上的 按键操作而产生; 当接收到所述第二触发信号后,停止向所述终端发送鼠标数据直 至接收到第一触发信号; 其中, 所述鼠标数据为空间鼠标数据或鼠标指针数据, 所述空间 鼠标数据包括所述空间鼠标的空间坐标和所述空间坐标的变化量中 的至少一个,所述鼠标指针数据为显示在所述终端的屏幕上的鼠标指 针的平面坐标和所述平面坐标的变化量中的至少一个。 可选的,所述第一触发信号和第二触发信号基于对触摸按键的触 摸操作而产生。 可选的, 所述鼠标数据为鼠标指针数据, 所述空间鼠标数据为空 间鼠标的空间坐标的变化量; 所述发送鼠标数据的方法还包括: 在接收到所述第二触发信号 时, 记录当前的鼠标指针数据; 当停止向所述终端发送鼠标数据后, 在接收到第一触发信号时, 所述向终端发送鼠标数据包括:根据当前的空间鼠标数据和所记录的 鼠标指针数据更新鼠标指针数据;将更新后的鼠标指针数据发送至所 述终端。 可选的, 所述鼠标数据为空间鼠标数据; 所述发送鼠标数据的方法还包括: 在接收到所述第二触发信号 时, 向所述终端发送控制信号, 所述控制信号用于控制所述终端记录 当前的鼠标指针数据。 可选的,所述空间鼠标数据基于所述空间鼠标的惯性器件的输出 而获得。 为了解决上述技术问题,本发明技术方案还提供一种空间鼠标发 送鼠标数据的装置, 其特征在于, 包括: 第一控制单元, 适于当接收到第一触发信号后, 向终端发送鼠标 数据直至接收到第二触发信号,所述第一触发信号和第二触发信号基 于所述空间鼠标上的按键操作而产生; 第二控制单元, 适于当接收到所述第二触发信号后, 停止向所述 终端发送鼠标数据直至接收到第一触发信号; 其中, 所述鼠标数据为空间鼠标数据或鼠标指针数据, 所述空间 鼠标数据包括所述空间鼠标的空间坐标和所述空间坐标的变化量中 的至少一个,所述鼠标指针数据为显示在所述终端的屏幕上的鼠标指 针的平面坐标和所述平面坐标的变化量中的至少一个。 可选的,所述第一触发信号和第二触发信号基于对触摸按键的触 摸操作而产生。 可选的, 所述鼠标数据为鼠标指针数据, 所述空间鼠标数据为空 间鼠标的空间坐标的变化量; 所述发送鼠标数据的装置还包括: 记录单元, 适于在接收到所述 第二触发信号时, 记录当前的鼠标指针数据; 当停止向所述终端发送鼠标数据后, 在接收到第一触发信号时, 所述第一控制单元适于根据当前的空间鼠标数据和所记录的鼠标指 针数据更新鼠标指针数据。 可选的, 所述鼠标数据为空间鼠标数据; 所述发送鼠标数据的装置还包括: 信号发送单元, 适于在接收到 所述第二触发信号时, 向所述终端发送控制信号, 所述控制信号用于 控制所述终端记录当前的鼠标指针数据。 为了解决上述技术问题, 本发明技术方案还提供一种空间鼠标, 包括惯性器件,其特征在于,还包括上述任一项发送鼠标数据的装置, 所述空间鼠标数据基于所述空间鼠标的惯性器件的输出而获得。 可选的, 所述惯性器件为重力加速度仪或者陀螺仪。 为解决上述技术问题,本发明技术方案还提供一种控制鼠标指针 移动的方法, 包括: 空间鼠标采用上述发送鼠标数据的方法发送鼠标数据; 终端接收所述空间鼠标发送的鼠标数据; 所述终端基于接收到的鼠标数据控制屏幕上的鼠标指针的移动。 可选的, 所述鼠标数据为空间鼠标数据; 所述终端基于接收到的鼠标数据控制屏幕上的鼠标指针的移动 包括:根据接收到的空间鼠标数据和当前的鼠标指针数据更新鼠标指 针数据; 基于更新后的鼠标指针数据控制屏幕上的鼠标指针的移动。 与现有技术相比, 本发明的技术方案具有以下优点: 通过用户对按键的筒单操作,控制打开或关闭空间鼠标和终端之 间的鼠标数据的发送,即空间鼠标收到第一触发信号后向终端发送鼠 标数据, 收到第二触发信号后停止向终端发送鼠标数据。 对应的, 终 端再次接收到空间鼠标发送的鼠标数据后,就能在中断发送鼠标数据 时鼠标指针所在的位置的基础上继续控制鼠标指针的移动,以完成对 鼠标指针的连续控制。 这样, 能使用户更加高效、 便捷的使用空间鼠 标。 附图说明 图 1是用户使用空间坐标移动鼠标指针的示意图;
图 2是本发明技术方案的控制鼠标指针移动的方法的流程示意 图;
图 3 是本发明实施例一的空间鼠标向终端发送空间鼠标数据的 示意图;
图 4是本发明实施例一的空间鼠标发送鼠标数据的方法的流程 示意图;
图 5是本发明实施例一的终端控制鼠标指针移动的流程示意图; 图 6是本发明实施例二的空间鼠标向终端发送空间鼠标数据的 示意图;
图 7 是本发明实施例二的空间鼠标发送鼠标数据的方法的流程 示意图;
图 8是本发明实施例二的终端控制鼠标指针移动的流程示意图。 具体实施方式 空间鼠标在正常使用时, 要先打开空间鼠标和终端的电源开关, 待空间鼠标和终端之间的无线通信链路建立后,空间鼠标就进入了工 作状态。 具体的, 空间鼠标进入工作状态后首先基于惯性器件得到空 间鼠标数据,所述空间鼠标数据可以是空间鼠标的空间坐标和空间坐 标的变化量或者其中任意一项,然后通过无线接口将空间鼠标数据发 送给终端。 其中惯性器件是陀螺仪或重力加速度仪。 终端接收到空间 鼠标数据后, 通过转换计算将其转换为鼠标指针数据, 即显示屏幕上 的鼠标指针的平面坐标或平面坐标的变化量,就完成了空间鼠标对鼠 标指针的控制。 如果空间鼠标的内存允许, 还可以将空间坐标数据到 鼠标指针数据的转换过程放在空间鼠标内部执行,然后直接将鼠标指 针数据发送给终端,再由终端完成对鼠标指针在显示屏幕上的移动控 制。 如图 1所示, 为用户使用空间鼠标实现鼠标指针控制的示意图。 用户手持空间鼠标, 在有限空间内以任意速度、 任意方向进行移动, 鼠标指针则在屏幕上以相应的速度和方向移动,其移动范围为整个屏 幕。 例如, 鼠标指针可以根据用户手势的变换从 A点移动到 B点。 但在实际应用中, 可能会出现这样的问题, 比如当鼠标指针从 A点 移动到 B点后,用户手持空间鼠标的手臂已经完全伸直,但是鼠标指 针还未移动到预想位置 C点,此时,用户只能通过摇晃空间鼠标等手 段重新初始化空间鼠标,然后通过更快的移动速度使得鼠标指针移动 到 C点位置。再比如, 在多媒体教学中, 当用户控制空间鼠标使鼠标 指针从 A点移动到 B点后, 可能会对 B点所在位置对应的显示内容 进行详细讲解,待讲解完成之后再沿虚线箭头移动至 C点,在此过程 中用户往往会发生移动或改变姿态,因此很难保持空间鼠标使鼠标指 针停留在 B点位置并在讲解完后将鼠标指针从 B点连续的移动到 C 点, 一般也是需要重新操作空间鼠标使鼠标指针指向 C点。 可见, 通 过现有技术中空间鼠标控制鼠标指针移动的方法,不能实现在这样的 一些特殊应用场景中对鼠标指针的连续控制, 为用户使用带来不便。 为了解决上述技术问题,本技术方案提供了一种控制鼠标指针移 动的方法, 如图 2所示, 包括: 步骤 S1: 当接收到第一触发信号后, 向终端发送鼠标数据直至 接收到第二触发信号,所述第一触发信号和第二触发信号基于所述空 间鼠标上的按键操作而产生。 步骤 S2: 当接收到所述第二触发信号后, 停止向所述终端发送 鼠标数据直至接收到第一触发信号。 其中, 所述鼠标数据为空间鼠标 数据或鼠标指针数据,所述空间鼠标数据包括所述空间鼠标的空间坐 标和所述空间坐标的变化量中的至少一个,所述鼠标指针数据为显示 在所述终端的屏幕上的鼠标指针的平面坐标和所述平面坐标的变化 量中的至少一个。 步骤 S3: 终端接收所述空间鼠标发送的鼠标数据。 步骤 S4: 所述终端基于接收到的鼠标数据控制屏幕上的鼠标指 针的移动。 其中, 步骤 S1和步骤 S2由空间鼠标来执行。 通过上述步骤, 空 间鼠标可以在任意使用场景中实现对鼠标指针的连续控制,更加便于 用户使用, 提高了用户使用过程中的体验度。 为使本发明的上述目的、特征和优点能够更为明显易懂, 下面结合附 图对本发明的具体实施例做详细的说明。 实施例一 如图 3所示,为本发明实施例一的空间鼠标向终端发送空间鼠标 数据的示意图, 其中空间鼠标用于获取空间鼠标数据, 并通过空间鼠 标和终端中间的无线接口发送至终端;终端接收到空间鼠标发送的空 间鼠标数据后, 转换为鼠标指针在屏幕上的平面坐标数据, 以控制鼠 标指针的连续移动。 为了实现上述目的,发明人提出了一种空间鼠标发送鼠标数据的 方法, 如图 4所示, 包括: 步骤 S41 : 打开空间鼠标的电源开关, 使其进入工作态。 一般, 电源开关打开后,空间鼠标会完成各个部件的初始化,包括惯性器件、 内部芯片、 与终端之间的无线接口等, 使空间鼠标进入工作态, 等待 用户进一步操作。 同理, 当电源开关关闭后, 空间鼠标就无法再使用。 步骤 S42: 判断是否接收到第一触发信号。 需要说明, 第一触发 信号是用来开启空间鼠标的无线接口的数据发送功能的,对空间鼠标 的其他部件并不产生作用,与步骤 S41中电源开关打开时产生的触发 信号是不同的。 对应的, 发明人提出在空间鼠标上增加一个用来产生 第一触发信号的按键, 用户对按键操作后, 产生第一触发信号。 该按 键可以是机械式按鈕, 也可以是触摸式开关。 举例来说, 当按键为机 械式按鈕时, 可以定义按下按鈕时产生第一触发信号, 或者打开按鈕 时产生第一触发信号; 当按键为触摸开关时, 可以定义用户触摸时产 生第一触发信号, 或者没有用户触摸时产生第一触发信号。 具体的, 可以根据用户使用***面坐标数 据, 以完成对鼠标指针的移动控制。 然后执行步骤 S44。 步骤 S44: 判断是否接收到第二触发信号。 与步骤 S42中的第一 触发信号相对应的,第二触发信号是用来关闭空间鼠标的无线接口的 数据发送功能的,它与步骤 S41中电源开关关闭时产生的触发信号也 是不同的。 当电源开关关闭后, 空间鼠标的所有部件都会停止工作, 且多数情况下显示屏上的鼠标指针也会消失;而当空间鼠标收到第二 触发信号后, 关闭的仅仅是无线接口的数据发送功能, 空间鼠标的其 他部件, 例如惯性器件、 芯片、 包括无线接口本身都是出于工作状态 的, 仍能获取空间鼠标数据、 并进行相关处理、 与终端保持通讯等。 与第一触发信号一样,第二触发信号的产生也是基于用户对按键的操 作产生。 其中, 产生第一触发信号的按键和产生第二触发信号的按键 可以为同一按键, 也可以是不同按键。 当为同一按键时, 第二触发信 号的定义应与第一触发信号的定义相对应, 比如, 当按键为机械式按 鈕时, 若定义按下按鈕时产生的信号为第一触发信号, 那么就可以相 应的定义放开按鈕时产生的信号为第二触发信号;若定义放开按鈕时 产生的信号为第一触发信号,那么就可以相应的定义按下按鈕时产生 的信号为第二触发信号。 当按键为触摸式开关时, 若定义用户触摸时 产生第一触发信号,那么相应的就定义没有用户触摸时产生第二触发 信号; 若定义没有用户触摸时产生第一触发信号, 那么相应的就定义 用户触摸时产生第二触发信号。若步骤 S44的判断结果为是, 即收到 第二触发信号, 则接着执行步骤 S45; 若判断结果为否, 即未收到第 二触发信号, 则返回步骤 S43 , 继续发送空间鼠标数据给终端。 步骤 S45: 停止向终端发送空间鼠标数据。 如步骤 S44所述, 空 间鼠标收到第二触发信号后,就关闭了空间鼠标的无线接口的数据发 送功能, 此时, 空间鼠标就停止向终端发送鼠标数据, 直到再次接收 到第一触发信号后, 才会重现开始空间鼠标数据的发送, 即步骤 S45 执行后返回步骤 S42的判断步骤。在其他实施例中, 在停止发送空间 鼠标数据的同时, 还可以向终端发送控制信号, 用来控制终端记录当 前的鼠标指针数据, 以便于终端在再次接收到第一触发信号后,基于 记录的鼠标指针数据对鼠标指针进行移动控制。 至此, 空间鼠标就完成鼠标数据的发送控制。 可以看出, 与现有 技术相比, 本发明实施例的发送鼠标数据的方法, 通过用户对按键的 筒单操作, 就可灵活的实现空间鼠标数据的发送控制, 以便于空间鼠 标能在任意应用场景中实现对鼠标指针的连续控制。 为了使上述过程更加清楚,图 5示出了在空间鼠标进行数据发送 的同时, 终端侧的处理流程, 包括: 步骤 S51 : 与空间鼠标建立无线连接。 首先, 终端需要和空间鼠 标建立无线连接。 一般情况下, 终端打开的同时就会打开它与空间鼠 标之间的无线接口,当空间鼠标完成了如步骤 S41所述的上电初始化 后, 终端就能检测到空间鼠标并与之建立连接, 建立的无线连接链路 用来传送空间鼠标数据。 步骤 S52: 判断是否接收到空间鼠标数据。 本实施例中, 终端要 完成对鼠标指针的移动控制, 要基于空间鼠标发送的鼠标数据, 因此 终端首先要判断是否接收到空间鼠标数据。 当判断结果为是, 即终端 就接收到空间鼠标数据, 则执行步骤 S53 , 否则执行步骤 S54。 对应 的, 结合图 4, 当空间鼠标执行步骤 S43时, 本步骤的判断结果就为 是; 当空间鼠标执行步骤 S45时, 本步骤的判断结果为否。 步骤 S53: 将空间鼠标数据转换为鼠标指针数据, 对鼠标指针进 行移动控制。 具体的, 包括: 如果是第一次收到空间鼠标数据, 则先 初始化鼠标指针的位置,也就是将第一次收到的空间鼠标数据对应到 屏幕的某一个位置上,然后再将接收到的实时空间坐标数据转换为鼠 标指针的平面坐标的变化量,再基于鼠标指针的初始位置开始移动鼠 标指针。 其中, 某一位置可以是屏幕上任意一点, 一般选择屏幕平面 的中点位置。 如果终端是接收中断后再次接收到了空间鼠标数据, 那 么此时终端就将接收到的实时空间鼠标数据转换成鼠标指针的平面 坐标的变化量,然后基于接收中断时的鼠标指针的位置开始继续移动 鼠标指针。 步骤 S54: 控制鼠标指针停留在当前位置。 空间鼠标在执行步骤 S45的时候, 停止了空间鼠标数据的发送, 相应的, 终端也就就收不 到空间鼠标数据了, 此时终端就将鼠标指针停留在当前位置。 如果空 间鼠标在停止发送数据的同时还发送了用来控制终端记录当前鼠标 指针数据的控制信号, 则终端在本步骤中还要记录当前鼠标指针数 据。 由于终端是基于空间鼠标发送的实时空间鼠标数据完成对鼠标指针 的动态控制的, 因此执行步骤 S53和 S54后还会返回步骤 S52, 实时 判断是否接收到空间鼠标数据。 另外, 本实施例还提供了一种空间鼠标数据发送的装置, 包括: 第一控制单元、 第二控制单元和信号发送单元。 其中, 第一控制单元 适于当接收到第一触发信号后,向终端发送鼠标数据直至接收到第二 触发信号,所述第一触发信号和第二触发信号基于所述空间鼠标上的 按键操作而产生。 第二控制单元适于当接收到所述第二触发信号后, 停止向所述终端发送鼠标数据直至接收到第一触发信号。信号发送单 元, 适于在接收到所述第二触发信号时, 向所述终端发送控制信号, 所述控制信号用于控制所述终端记录当前的鼠标指针数据。所述空间 鼠标数据包括所述空间鼠标的空间坐标和所述空间坐标的变化量中 的至少一个,所述鼠标指针数据为显示在所述终端的屏幕上的鼠标指 针的平面坐标和所述平面坐标的变化量中的至少一个,所述第一触发 信号和第二触发信号基于对触摸按键的触摸操作而产生。所述空间鼠 标发送鼠标数据的装置的具体实施可参考本实施例一中空间鼠标发 送鼠标数据的方法, 在此不再赘述。 如图 3中所示的本发明实施例的空间鼠标, 则包含上述空间鼠标 发送鼠标数据的装置和惯性器件,空间鼠标通过惯性器件的数据得到 其空间鼠标数据。 惯性器件可以是陀螺仪或者重力加速度仪。 惯性器 件的工作原理已有很多文献有相关论述, 此处不再赘述。 实施例二 如图 6所示,为本发明实施例二的空间鼠标向终端发送空间鼠标 数据的示意图, 其中空间鼠标用于获取空间鼠标数据, 并将空间鼠标 数据转换为鼠标指针数据后,通过空间鼠标和终端中间的无线接口发 送至终端; 终端用于接收到空间鼠标发送的鼠标指针数据后, 直接控 制鼠标指针的移动。 结合图 3 , 可以看出, 本实施例与本发明实施例 一的不同之处在于,将空间鼠标数据到鼠标指针数据的转换工作放到 了空间鼠标侧来完成,终端可以直接根据接收到的鼠标指针数据来移 动鼠标指针, 这样就能使空间鼠标兼容更多的终端。 而本发明实施例 一的实现方案, 则能节省空间鼠标的内存资源, 降低其的成本。 用户 可以根据不同的需求来确定具体使用哪种方案。 与图 6所示的空间鼠标向终端发送空间鼠标数据的过程对应的, 发明人提出了一种空间鼠标发送鼠标数据的方法,如图 7所示,包括: 步骤 S71 : 打开空间鼠标的电源开关, 使其进入工作态。 具体实 施可参考本发明实施一的步骤 S41。 步骤 S72: 判断是否接收到第一触发信号。 若判断结果为是, 则 执行步骤 S73 , 否则返回步骤 S72, 继续判断。 具体实施可参考本发 明实施一的步骤 S42。 步骤 S73: 获取空间鼠标数据, 并转换为鼠标指针数据发送给终 端。 具体实施仍可参考本发明实施例一步骤 S43 , 不同的是, 空间鼠 标获取到空间鼠标数据后, 还要将其转换为鼠标指针数据后, 才发送 给终端。 步骤 S74: 判断是否接收到第二触发信号。 具体实施可参考本发 明实施例一的步骤 S44。 当判断结果为是, 则执行步骤 S75; 若判断 结果为否, 则返回步骤 S73 , 继续发送空间鼠标数据给终端。 步骤 S75: 记录鼠标指针数据。 由于空间鼠标数据到鼠标指针数 据的转换工作放到了空间鼠标中来完成,为了实现对鼠标指针的连续 控制, 当空间鼠标收到停止发送数据的第二触发信号后, 应当记录发 送中断时的鼠标指针数据,以便当再次收到第一触发信号后将记录的 鼠标指针数据对应的位置作为再次移动的起始位置。 步骤 S76: 停止向终端发送鼠标指针数据。 具体实施参考本发明 实施例一的步骤 S45。 步骤 S77: 判断是否接收到第一触发信号。 具体实施可参考本发 明实施的步骤 S72。 不同的是, 步骤 S72中的第一触发信号为空间鼠 标上电后首次收到的第一触发信号,而本步骤中的第一触发信号则为 收到第二触发信号之后收到的第一触发信号,即是在鼠标数据发送中 断后收到的第一触发信号。 若判断结果为是, 则执行步骤 S78, 否则 返回步骤 S74, 继续判断。 步骤 S78: 获取空间鼠标数据, 并基于记录的鼠标指针数据计算 新的鼠标指针数据,发送给终端。 当步骤 S77判断收到第一触发信号 后, 则空间鼠标再次获取空间鼠标数据, 然后将空间鼠标数据转换为 鼠标指针在屏幕的平面坐标的变化量,然后基于步骤 S75中记录的收 到第二触发信号时的鼠标指针在屏幕的平面坐标数据,计算新的鼠标 指针数据, 然后发送给终端。 至此, 空间鼠标就完成鼠标数据的发送控制。 可以看出, 与现有 技术相比, 本实施例的发送鼠标数据的方法, 通过用户对按键的筒单 操作, 灵活的实现空间鼠标数据的发送控制, 使空间鼠标能在任意应 用场景中实现对鼠标指针的连续控制。 为了使上述过程更加清楚,图 8示出了在空间鼠标进行数据发送的同 时, 终端侧的处理流程, 包括: 步骤 S81 : 与空间鼠标建立无线连接。 具体实施可参考本发明实 施例一的步骤 S51。 步骤 S82: 判断是否接收到鼠标指针数据。 具体实施可参考本发 明实施例一的步骤 S52,不同之处在于,判断的对象为鼠标指针数据, 而不是空间鼠标数据。 步骤 S83: 基于接收到的鼠标指针数据, 对鼠标指针进行移动控 制。 当空间鼠标执行步骤 S73和步骤 S78时,就完成了空间鼠标数据 到鼠标指针数据的转换, 因此终端收到空间鼠标发送的数据后, 可以 直接对鼠标指针进行移动控制。 步骤 S84: 控制鼠标指针停留在当前位置。 当终端收不到空间鼠 标发送的鼠标指针数据后, 则控制鼠标指针停留, 直到再次接收到空 间鼠标发送的鼠标数据后, 继续控制鼠标指针的移动。 由于终端是基于空间鼠标发送的实时空间鼠标数据完成对鼠标 指针的动态控制的, 因此执行步骤 S83和 S84后还会返回步骤 S82, 另外, 本实施例还提供了一种鼠标指针数据发送的装置, 包括: 第一控制单元、 第二控制单元和记录单元。 其中, 第一控制单元适于 当接收到第一触发信号后,向终端发送鼠标数据直至接收到第二触发 信号,并且根据当前的空间鼠标数据和所记录的鼠标指针数据更新鼠 标指针数据;所述第一触发信号和第二触发信号基于所述空间鼠标上 的按键操作而产生。 第二控制单元适于当接收到所述第二触发信号 后, 停止向所述终端发送鼠标数据直至接收到第一触发信号。 记录单 元适于在接收到所述第二触发信号时, 记录当前的鼠标指针数据。 所 述空间鼠标数据包括所述空间鼠标的空间坐标和所述空间坐标的变 化量中的至少一个,所述鼠标指针数据为显示在所述终端的屏幕上的 鼠标指针的平面坐标和所述平面坐标的变化量中的至少一个,所述第 一触发信号和第二触发信号基于对触摸按键的触摸操作而产生。所述 空间鼠标发送鼠标数据的装置的具体实施可参考本实施例二中空间 鼠标发送鼠标数据的方法, 在此不再赘述。 相应的, 图 6中所示的本实施例的空间鼠标, 则包含惯性器件和 本实施例所述的空间鼠标发送鼠标数据的装置。其中空间鼠标通过惯 性器件的数据得到其空间鼠标数据,惯性器件可以是陀螺仪或者重力 力口速度仪。 本领域技术人员可以理解,实现上述技术方案的全部或部分是可 以通过程序来指令相关的硬件来完成,所述的程序可以存储于可读存 储介质中, 所述存储介质可以是 ROM、 RAM, 磁碟、 光盘等。 虽然本发明披露如上, 但本发明并非限定于此。 任何本领域技术 人员, 在不脱离本发明的精神和范围内, 均可作各种更动与修改, 因 此本发明的保护范围应当以权利要求所限定的范围为准。

Claims

权 利 要 求
1. 一种空间鼠标发送鼠标数据的方法, 其特征在于, 包括: 当接收到第一触发信号后,向终端发送鼠标数据直至接收到第二触发 信号,所述第一触发信号和第二触发信号基于所述空间鼠标上的按键 操作而产生; 当接收到所述第二触发信号后,停止向所述终端发送鼠标数据直至接 收到第一触发信号; 其中, 所述鼠标数据为空间鼠标数据或鼠标指针数据, 所述空间鼠标 数据包括所述空间鼠标的空间坐标和所述空间坐标的变化量中的至 少一个,所述鼠标指针数据为显示在所述终端的屏幕上的鼠标指针的 平面坐标和所述平面坐标的变化量中的至少一个。
2. 如权利要求 1所述的空间鼠标发送鼠标数据的方法,其特征在于, 所述第一触发信号和第二触发信号基于对触摸按键的触摸操作而产 生。
3. 如权利要求 1所述的空间鼠标发送鼠标数据的方法,其特征在于, 所述鼠标数据为鼠标指针数据,所述空间鼠标数据为空间鼠标的空间 坐标的变化量; 所述发送鼠标数据的方法还包括: 在接收到所述第二触发信号时, 记 录当前的鼠标指针数据; 当停止向所述终端发送鼠标数据后, 在接收到第一触发信号时, 所述 向终端发送鼠标数据包括:根据当前的空间鼠标数据和所记录的鼠标 指针数据更新鼠标指针数据;将更新后的鼠标指针数据发送至所述终 端。
4. 如权利要求 1所述的空间鼠标发送鼠标数据的方法,其特征在于, 所述鼠标数据为空间鼠标数据; 所述发送鼠标数据的方法还包括: 在接收到所述第二触发信号时, 向 所述终端发送控制信号,所述控制信号用于控制所述终端记录当前的 鼠标指针数据。
5. 如权利要求 1所述的空间鼠标发送鼠标数据的方法,其特征在于, 所述空间鼠标数据基于所述空间鼠标的惯性器件的输出而获得。
6. 一种空间鼠标发送鼠标数据的装置, 其特征在于, 包括: 第一控制单元, 适于当接收到第一触发信号后, 向终端发送鼠标数据 直至接收到第二触发信号,所述第一触发信号和第二触发信号基于所 述空间鼠标上的按键操作而产生; 第二控制单元, 适于当接收到所述第二触发信号后, 停止向所述终端 发送鼠标数据直至接收到第一触发信号; 其中, 所述鼠标数据为空间鼠标数据或鼠标指针数据, 所述空间鼠标 数据包括所述空间鼠标的空间坐标和所述空间坐标的变化量中的至 少一个,所述鼠标指针数据为显示在所述终端的屏幕上的鼠标指针的 平面坐标和所述平面坐标的变化量中的至少一个。
7. 如权利要求 6所述的空间鼠标发送鼠标数据的装置,其特征在于, 所述第一触发信号和第二触发信号基于对触摸按键的触摸操作而产 生。
8. 如权利要求 6所述的空间鼠标发送鼠标数据的装置,其特征在于, 所述鼠标数据为鼠标指针数据,所述空间鼠标数据为空间鼠标的空间 坐标的变化量; 所述发送鼠标数据的装置还包括: 记录单元, 适于在接收到所述第二 触发信号时, 记录当前的鼠标指针数据; 当停止向所述终端发送鼠标数据后, 在接收到第一触发信号时, 所述 第一控制单元适于根据当前的空间鼠标数据和所记录的鼠标指针数 据更新鼠标指针数据。
9. 如权利要求 6所述的空间鼠标发送鼠标数据的装置,其特征在于, 所述鼠标数据为空间鼠标数据; 所述发送鼠标数据的装置还包括: 信号发送单元, 适于在接收到所述 第二触发信号时, 向所述终端发送控制信号, 所述控制信号用于控制 所述终端记录当前的鼠标指针数据。
10.—种空间鼠标, 包括惯性器件, 其特征在于, 还包括权利要求 6 至 9任一项所述的发送鼠标数据的装置,所述空间鼠标数据基于所述 空间鼠标的惯性器件的输出而获得。
11.如权利要求 10所述的空间鼠标, 其特征在于, 所述惯性器件为重 力加速度仪或者陀螺仪。
12.—种控制鼠标指针移动的方法, 其特征在于, 包括: 空间鼠标采用权利要求 1至 5任一项所述的发送鼠标数据的方法发送 鼠标数据; 终端接收所述空间鼠标发送的鼠标数据; 所述终端基于接收到的鼠标数据控制屏幕上的鼠标指针的移动。
13.如权利要求 12所述的控制鼠标指针移动的方法, 其特征在于, 所 述鼠标数据为空间鼠标数据; 所述终端基于接收到的鼠标数据控制屏幕上的鼠标指针的移动包括: 根据接收到的空间鼠标数据和当前的鼠标指针数据更新鼠标指针数 据; 基于更新后的鼠标指针数据控制屏幕上的鼠标指针的移动。
+
PCT/CN2013/078660 2013-05-06 2013-07-02 空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法 WO2014180065A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310164004.9A CN103257710B (zh) 2013-05-06 2013-05-06 空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法
CN201310164004.9 2013-05-06

Publications (1)

Publication Number Publication Date
WO2014180065A1 true WO2014180065A1 (zh) 2014-11-13

Family

ID=48961666

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078660 WO2014180065A1 (zh) 2013-05-06 2013-07-02 空间鼠标发送鼠标数据的方法、控制鼠标指针移动的方法

Country Status (2)

Country Link
CN (1) CN103257710B (zh)
WO (1) WO2014180065A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824425A (zh) * 2016-03-31 2016-08-03 联想(北京)有限公司 信息处理方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620464A (zh) * 2008-07-02 2010-01-06 英华达(上海)电子有限公司 实现光标控制的方法和终端
CN101825960A (zh) * 2010-04-23 2010-09-08 潘天华 基于鼠标的3点状态信息实现电脑功能控制的方法
CN102117131A (zh) * 2009-12-30 2011-07-06 联想(北京)有限公司 一种输入设备及其控制指针移动的方法
US20110169734A1 (en) * 2010-01-12 2011-07-14 Cho Sanghyun Display device and control method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005012433A (ja) * 2003-06-18 2005-01-13 Innotech Corp 電子番組ガイドの画面操作システム及びその操作方法
JP2007104567A (ja) * 2005-10-07 2007-04-19 Sharp Corp 電子機器
CN100589069C (zh) * 2008-09-23 2010-02-10 杨杰 一种计算机控制方法及装置
CN102262460B (zh) * 2011-08-29 2013-05-29 江苏惠通集团有限责任公司 空中鼠标及控制鼠标指针移动的方法与装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620464A (zh) * 2008-07-02 2010-01-06 英华达(上海)电子有限公司 实现光标控制的方法和终端
CN102117131A (zh) * 2009-12-30 2011-07-06 联想(北京)有限公司 一种输入设备及其控制指针移动的方法
US20110169734A1 (en) * 2010-01-12 2011-07-14 Cho Sanghyun Display device and control method thereof
CN101825960A (zh) * 2010-04-23 2010-09-08 潘天华 基于鼠标的3点状态信息实现电脑功能控制的方法

Also Published As

Publication number Publication date
CN103257710B (zh) 2017-03-15
CN103257710A (zh) 2013-08-21

Similar Documents

Publication Publication Date Title
TWI573074B (zh) 用以提供自鎖定螢幕對功能取用的方法與裝置以及相關電腦程式產品
US20230221856A1 (en) System and method of controlling devices using motion gestures
JP5790238B2 (ja) 情報処理装置、情報処理方法及びプログラム
TWI454966B (zh) 手勢控制方法及手勢控制裝置
WO2020042785A1 (zh) 应用显示方法和移动终端
US10572017B2 (en) Systems and methods for providing dynamic haptic playback for an augmented or virtual reality environments
WO2015024252A1 (zh) 一种遥控器、信息处理方法及***
US9880642B2 (en) Mouse function provision method and terminal implementing the same
WO2014032431A1 (zh) 终端设备及快速启动程序的方法
WO2020181955A1 (zh) 界面控制方法及终端设备
JP6371485B2 (ja) エアマウスリモコンの最適化方法、装置、端末機器、プログラム、及び記録媒体
WO2014044185A1 (zh) 基于移动终端的应用程序控制方法、装置和一种移动终端
JPWO2014155730A1 (ja) 表示処理装置、及び表示処理方法
EP2713606B1 (en) Method for controlling camera and mobile device
WO2015027856A1 (zh) 信息反馈方法、装置及终端
WO2017193496A1 (zh) 应用数据的处理方法、装置和终端设备
WO2020211596A1 (zh) 控制方法及终端设备
WO2020134743A1 (zh) 图标移动方法及终端
WO2014036974A1 (zh) 一种终端设备、同屏显示方法和***
WO2019154360A1 (zh) 界面切换方法及移动终端
WO2019206226A1 (zh) 屏幕操作控制方法及移动终端
WO2017215671A1 (zh) 接入设备的控制方法、装置及***
WO2018137276A1 (zh) 数据处理的方法及移动设备
WO2021104268A1 (zh) 内容分享方法及电子设备
WO2020151675A1 (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: 13884235

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

Country of ref document: EP

Kind code of ref document: A1