CN106020666A - Mouse function realization method and apparatus - Google Patents

Mouse function realization method and apparatus Download PDF

Info

Publication number
CN106020666A
CN106020666A CN201610327259.6A CN201610327259A CN106020666A CN 106020666 A CN106020666 A CN 106020666A CN 201610327259 A CN201610327259 A CN 201610327259A CN 106020666 A CN106020666 A CN 106020666A
Authority
CN
China
Prior art keywords
mouse
order
user operation
button
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610327259.6A
Other languages
Chinese (zh)
Inventor
刘方宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610327259.6A priority Critical patent/CN106020666A/en
Publication of CN106020666A publication Critical patent/CN106020666A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

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

The invention discloses a mouse function realization method and apparatus, which is used for solving the problem of increased cost and reduced user experience caused by integrating or adding an auxiliary device to a terminal so as to realize a mouse function. The method comprises the steps of determining a mouse operation command corresponding to a user operation according to a corresponding relationship between a mouse operation command and the user operation if the effective user operation is detected when the terminal is in a mouse function mode; and sending the mouse operation command to a controlled device by the terminal according to a set communication protocol.

Description

A kind of mouse function implementation method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of mouse function implementation method and device.
Background technology
Personal computer is more prevalent in the routine work of people is lived, and mouse is personal computer user frequency One of equipment of numerous use.When mouse cannot use, such as mouse fault or be inconvenient to use mouse, can give User brings great inconvenience.And mobile phone is the necessary in the modern life, realize mouse function by mobile phone, Convenient and practical.
At present, based on mobile phone realize mouse function mainly by other auxiliary equipments integrated in mobile phone (as Optical sensor, gyroscope, roller etc.), or on mobile phone, add the auxiliary equipment such as mouse pad, cell-phone cover. Wherein, mobile phone adds mouse pad and realizes the principle of mouse function, adds cell-phone cover with mobile phone and realizes mouse function Principle identical, this illustrates as a example by sentencing mouse pad.Mouse pad is integrated with sensor, as pressure passes Sensor, range sensor etc..Mobile phone moves on mouse pad, obtains the information of sensor in mouse pad, and Calculated the movement locus of mouse according to the information simulation of sensor by the application program of installation, and by being somebody's turn to do Application program analog mouse click function, is sent to the movement locus of mouse and the information of mouse click function Computer, thus realize mouse function.
But, integrated or add other auxiliary equipments the weight of mobile phone or thickness are increased on mobile phone, increase Add cost and reduced Consumer's Experience.
Summary of the invention
The invention provides a kind of mouse function implementation method and device, in order to solve integrated in terminal or to add Auxiliary equipment realizes mouse function and causes the problem that cost increases and Consumer's Experience reduces.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, embodiments provides a kind of mouse function implementation method, including:
Terminal is under mouse functionality mode, if effective user operation being detected, according to mouse action order with Corresponding relation between user operation, determines the mouse action order that described user operation is corresponding;
Described mouse action order is sent to controlled plant by described terminal according to the communication protocol set.
In possible embodiment, described terminal is according to the corresponding pass between mouse action order and user operation System, before determining the mouse action order that described user operation is corresponding, described method also includes:
Described terminal sets up the corresponding relation between described mouse action order and user operation.
In possible embodiment, described terminal is successfully established at least one described mouse action order and user After corresponding relation between operation, however, it is determined that exceed setting duration and be not detected by user operation, or detection To the instruction of the described mouse action command definition process of end, terminate described mouse action command definition process.
In possible embodiment, described mouse action order includes left mouse button one-touch commands, left mouse button Double-click order, right mouse button one-touch commands, right mouse button double-click order and mouse slide order in one or Multiple.
In possible embodiment, described user operation includes gesture operation and/or button operation;
Described mouse slide order with the corresponding relation of described user operation particularly as follows:
The lateral displacement of the mouse slip that described mouse slides indicated by order is relative according to slip gesture terminal Lateral displacement in slip gesture starting point determines, the longitudinal direction that the mouse indicated by the slip order of described mouse slides Displacement determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and described mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of described slip gesture operation;Or
The glide direction that described mouse slides indicated by order is determined by the button operation preset, and described mouse is sliding Displacement indicated by dynamic order is the constant set.
Second aspect, embodiments provides a kind of mouse function and realizes device, including:
Processing module, under mouse functionality mode, if effective user operation being detected, according to mouse Corresponding relation between operational order and user operation, determines the mouse action life that described user operation is corresponding Order;
Sending module, for the described mouse action described processing module determined according to the communication protocol set Order sends to controlled plant.
In possible embodiment, processing module is additionally operable to according between mouse action order and user operation Corresponding relation, before determining the mouse action order that described user operation is corresponding, sets up described mouse action life Corresponding relation between order and user operation.
In possible embodiment, processing module is additionally operable to be successfully established at least one described mouse action order And after the corresponding relation between user operation, however, it is determined that exceed setting duration and be not detected by user operation, or Person detects the instruction terminating described mouse action command definition process, terminates described mouse action command definition Process.
In possible embodiment, described mouse action order includes left mouse button one-touch commands, left mouse button Double-click order, right mouse button one-touch commands, right mouse button double-click order and mouse slide order in one or Multiple.
In possible embodiment, described user operation includes gesture operation and/or button operation;
Described mouse slide order with the corresponding relation of described user operation particularly as follows:
The lateral displacement of the mouse slip that described mouse slides indicated by order is relative according to slip gesture terminal Lateral displacement in slip gesture starting point determines, the longitudinal direction that the mouse indicated by the slip order of described mouse slides Displacement determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and described mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of described slip gesture operation;Or
The glide direction that described mouse slides indicated by order is determined by the button operation preset, and described mouse is sliding Displacement indicated by dynamic order is the constant set.
Based on above technical scheme, in the embodiment of the present invention, terminal is after user operation being detected, according to Mus Corresponding relation between mark operational order and user operation, it is possible to determine the mouse action that this user operation is corresponding Order, thus achieve mouse function in terminal, and terminal will determine according to default communication protocol Mouse action order is sent to controlled plant, enabling use terminal to grasp controlled plant as mouse Make, and need not integrated auxiliary equipment in terminal, reduce and realize cost, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is that in the embodiment of the present invention, mouse function realizes process schematic;
Fig. 2 is mouse action command definition process schematic in the embodiment of the present invention;
Fig. 3 is the flow chart that in the embodiment of the present invention, mouse function uses;
Fig. 4 is that in the embodiment of the present invention, mouse function realizes apparatus structure schematic diagram.
Detailed description of the invention
In order to solve integrated in terminal or add auxiliary equipment realize mouse function cause cost increase and user Experiencing the problem reduced, present example provides a kind of mouse function implementation method.
In the embodiment of the present invention, terminal can be mobile phone, panel computer, wearable device etc., for all The terminal with input equipment and communication function belongs to protection scope of the present invention.
In the embodiment of the present invention, controlled plant includes that mouse all can set as what input equipment carried out operating Standby, such as personal computer.
Below in conjunction with the accompanying drawings embodiments of the present invention are described in detail.
As it is shown in figure 1, in the embodiment of the present invention, the method detailed flow process that mouse function realizes is as follows:
Step 101: terminal is under mouse functionality mode, if effective user operation being detected, according to mouse Corresponding relation between operational order and user operation, determines the mouse action life that described user operation is corresponding Order.
In enforcement, between terminal and controlled plant, the communication mode by making an appointment communicates.
Specifically, if terminal detects the instruction starting mouse functionality mode, mouse functionality mode is entered.Example As, if terminal detects specific keys operation or detects that startup is for realizing the application program of mouse function Entering mouse functionality mode after operation, wherein, specific keys is default for starting mouse functionality mode Button or key combination.
In enforcement, the corresponding relation between mouse action order and user operation includes but not limited to following two Acquisition pattern:
First, the corresponding pass that terminal was pre-configured with between mouse action order and user operation before dispatching from the factory System, or, the default configuration in the application program realize mouse function that terminal is installed has mouse action Corresponding relation between order and user operation.
Second, the corresponding relation between mouse action order and user operation is built according to user operation by terminal Vertical.
In application, terminal detects the instruction starting mouse functionality mode first, prompts the user whether to use in advance Corresponding relation between the mouse action order and the user operation that first configure.If it is pre-that terminal determines that user does not use Corresponding relation between the mouse action order and the user operation that first configure, then set up mouse according to user operation Corresponding relation between operational order and user operation.Further, terminal can also be according to the operational order of user Mouse action instruction and the user operation relation having built up is modified.
Wherein, user operation includes gesture operation and/or button operation.
Specifically, mouse action instruction includes that left mouse button one-touch commands, left mouse button double-click order, mouse Right button one-touch commands, right mouse button double-click one or more in order and mouse slip order.
Specifically, include but not limited to following for mouse slide order with the corresponding relation of user operation Two kinds of definition modes:
First, the lateral displacement of the mouse slip that described mouse slides indicated by order is according to slip gesture terminal Determining relative to the lateral displacement of slip gesture starting point, described mouse slides what the mouse indicated by order slided Length travel determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of slip gesture operation.
In application, in order to improve efficiency, multiple points in the sliding trace of slip gesture operation can be gathered, according to In the sliding trace of the slip gesture operation gathered, multiple points determine that the mouse indicated by mouse slip order is sliding Dynamic track.Preferably, in the sliding trace of the slip gesture operation of collection, multiple points are uniformly distributed.
Second, the glide direction that mouse slides indicated by order is determined by the button operation preset, and mouse slides Displacement indicated by order is the constant set.
After the corresponding relation that terminal is successfully established between at least one mouse action order and user operation, If it is determined that exceed setting duration to be not detected by user operation, or detect that the described mouse action order of end is fixed The instruction of justice process, terminates mouse action command definition process.
Step 102: described mouse action order is sent to controlled plant by terminal according to the communication protocol set.
In enforcement, the used communication protocol that communicates between terminal with controlled plant includes but is not limited to bluetooth and leads to Letter agreement, infrared communication protocol and network communication protocol.It should be noted that be only for example herein, should Only need terminal to arrange the supported communication protocol of both of which with controlled plant in, be not limiting as concrete Use for which kind of communication protocol.
In enforcement, controlled plant receives the mouse action order that terminal uses the communication protocol of agreement to send, and Perform the instruction of this mouse action, thus realize the mouse function corresponding to the instruction of this mouse action.
In the embodiment of the present invention, if terminal according to preserve mouse action order and user operation between corresponding Relation, it is impossible to find the mouse action order corresponding to the user operation detected, it is determined that detect should User operation undefined mouse action order, abandons this user operation, continues detection user operation.
Below by way of specific embodiment, mouse function is realized process to be illustrated, and real in detail below Execute in example with terminal as mobile phone, controlled plant as personal computer as a example by illustrate.
As in figure 2 it is shown, the method detailed flow process of mouse action command definition is as follows:
Step 201: after the instruction of the mouse mode opened in mobile phone that mobile phone receives user's input, enter Mouse functionality mode, according to gesture or the button operation of user's input, sets up mouse action order and grasps with user The corresponding relation made.
Such as, gesture function definition mouse action order, the mouse action that definable click gesture is corresponding are used Order is left button single-click operation order, double-clicks mouse action instruction corresponding to gesture for left double click operation life Order, mouse action instruction corresponding to long-pressing gesture is for right button single-click operation order.User is sequentially input by mobile phone Click gesture, double-click gesture, long-pressing gesture and be stored as 1,2,3, wherein, 1 represents that left mouse button clicks behaviour Instructing, 2 represent the instruction of left mouse button double click operation, and 3 represent the instruction of right mouse button single-click operation.
Such as, using the definition mouse action order of mobile phone key function, mouse action order may be defined as: single Hit corresponding the operating for button a of left button operational order, double-click corresponding the operating for button b of left button operational order, Click corresponding the operating for button c of right button operational order.
If the gesture being currently entered or button operation are identical with the gesture inputted or button operation, the most currently Gesture or the button operation of input are invalid, re-enter.
Mobile phone determines that exceeding setting duration t is not detected by new gesture or button operation, then terminate mouse action Command definition process.Or, mobile phone is detecting the operation or instruction terminating mouse action command definition process After, terminate mouse function definition procedure.
Step 202: after mobile phone determines that the corresponding relation of mouse action order and user operation has been set up, with The form prompting user of word confirms the gesture of input or the corresponding relation of button operation and mouse action order, Determine after the confirmation instruction that user inputs being detected, preserve between mouse action order and gesture or button operation Corresponding relation.
Such as, for definition of gesture, the word content that mobile phone shows is that click gesture is set to left button and clicks behaviour Order+double-click gesture to be set to left double click operational order+Chang'an gesture and be set to right button single-click operation life Order.
In application, under mouse with mobile telephone set shape functional mode, detect that user inputs check instruction after, pass through user The corresponding relation of the most defined gesture of interface display or button operation and mouse action order.
As shown in Figure 3, the method detailed flow process that mouse function uses is as follows:
Step 301: mobile phone has detected whether that effective gesture or button operation occur, if it is, perform step Rapid 302, otherwise, repeated execution of steps 301;
Step 302: if mobile phone detects effective gesture or button operation, it is judged that this gesture or button operation The gesture the most corresponding with certain mouse action order the most defined or button operation are identical, if it is, hold Row step 303, if not performing step 301;
Step 303: mobile phone is logical by set by the mouse action order corresponding to this gesture or button operation Letter agreement is sent to personal computer, it is achieved corresponding mouse function.
Wherein, mobile phone can pass through bluetooth, Wireless Fidelity agreement (WIreless Fidelity, WiFi), red Outer grade and personal computer communication.
Such as, mobile phone sets up communication connection with personal computer by bluetooth, then mobile phone is by mouse action order It is sent to personal computer by Bluetooth communication view.
Such as, mobile phone sets up communication connection with personal computer by WiFi, then mouse action is ordered by mobile phone Order is by transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) or HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, HTTP) It is sent to personal computer Deng network communication protocol.
The definition and the use that realize as a example by mouse sliding function mouse function by mobile phone below carry out illustrating Bright.
First, during for using gesture operation definition mouse action order:
Mobile phone detects the mouse mode instruction opening mobile phone that user inputs, and enters mouse functionality mode, really (press-move-lift) definition of gesture that fixed will slide is mouse slide order.
When mobile phone has monitored gesture operation generation, this gesture operation is identified, if this gesture operation is Effectively operation and for slip gesture, according to starting point coordinate (10,100) and this slip gesture of this slip gesture Terminal point coordinate (500,600), calculate the horizontal position that mouse indicated by mouse slide order slides Shifting i.e. x direction displacement is 490, the length travel i.e. y that the mouse indicated by mouse slide order slides Direction displacement is 500.Gather equally distributed multiple coordinate points in slip gesture sliding trace, and calculating is adopted Each coordinate points of collection is relative to the lateral displacement of slip gesture starting point and length travel.
Mobile phone by slip gesture terminal relative to the lateral displacement of starting point and length travel, and gather each Coordinate points relative to the lateral displacement of slip gesture starting point and length travel, by TCP/IP host-host protocol or The network transmission protocols such as http protocol are sent to personal computer, thus realize mouse sliding function.
Alternatively, mobile phone by slip gesture terminal relative to the lateral displacement of starting point and length travel and collection Each coordinate points relative to each value in the lateral displacement of slip gesture starting point and length travel, take advantage of respectively With the amplification coefficient set, slip gesture terminal is slided relative to value of magnification, the general of the lateral displacement of starting point Gesture terminal is relative to the value of magnification of the length travel of starting point, and each coordinate points gathered is relative to slip The value of magnification of the lateral displacement of gesture starting point and the value of magnification of length travel are sent to personal computer, so that The sliding distance obtaining mouse can adapt to the screen size of personal computer.
Or, horizontal relative to starting point of the slip gesture terminal that the mobile phone that receives is sent by personal computer Each coordinate points of displacement and length travel and collection is relative to the lateral displacement of slip gesture starting point and vertical Each value in displacement is multiplied by the amplification coefficient of setting respectively, carries out mouse according to the value of gained after amplifying sliding It is dynamic, so that the sliding distance of mouse can adapt to the screen size of personal computer.
Second, the corresponding situation using button operation definition mouse action order:
Mobile phone detects the mouse functionality mode instruction opening mobile phone that user inputs, and enters mouse function mould Formula, sets up and preserves mouse action order pass corresponding with button operation according to the button operation of user's input System, particularly as follows: A key operation is mouse shift left operation order, D key operation is that mouse moves to right operational order, W key operation is shifting operational order on mouse, and S key operation is that mouse moves down operational order.
Mobile phone monitors effective button operation, and this button operation is left and right, upper and lower with the mouse of definition Mobile certain button operation corresponding to operational order is identical, then moved by the mouse corresponding to this button operation The displacement constant L of direction and setting is sent to personal computer by Bluetooth communication protocol, thus realizes Mouse sliding function.
Alternatively, mobile phone can be by being multiplied by the amplification coefficient of setting by the distance constant of setting, after amplifying Displacement be sent to personal computer, so that the sliding distance of mouse can adapt to personal computer Screen size.Or, the displacement received is multiplied by the magnification ratio coefficient of setting by personal computer, So that the sliding distance of mouse can adapt to the screen size of personal computer.
Based on same inventive concept, the embodiment of the present invention provides a kind of mouse function and realizes device, this dress Put and can dispose in the terminal, this device be embodied as can be found in the description of embodiment of the method part, repeat Part repeats no more, and as shown in Figure 4, this device specifically includes that
Processing module 401, under mouse functionality mode, if effective user operation being detected, according to Corresponding relation between mouse action order and user operation, determines the mouse action that described user operation is corresponding Order;
Sending module 402, for the described mouse described processing module determined according to the communication protocol set Operational order sends to controlled plant.
In possible embodiment, processing module 401 be additionally operable to according to mouse action order and user operation it Between corresponding relation, before determining the mouse action order that described user operation is corresponding, set up described mouse behaviour Order the corresponding relation between user operation.
In possible embodiment, processing module 401 is additionally operable to be successfully established at least one described mouse action After corresponding relation between order and user operation, however, it is determined that exceed setting duration and be not detected by user behaviour Make, or the instruction terminating described mouse action command definition process detected, terminate described mouse action life Make definition procedure.
In possible embodiment, described mouse action order includes left mouse button one-touch commands, left mouse button Double-click order, right mouse button one-touch commands, right mouse button double-click order and mouse slide order in one or Multiple.
In possible embodiment, described user operation includes gesture operation and/or button operation;
Described mouse slide order with the corresponding relation of described user operation particularly as follows:
The lateral displacement of the mouse slip that described mouse slides indicated by order is relative according to slip gesture terminal Lateral displacement in slip gesture starting point determines, the longitudinal direction that the mouse indicated by the slip order of described mouse slides Displacement determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and described mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of described slip gesture operation;Or
The glide direction that described mouse slides indicated by order is determined by the button operation preset, and described mouse is sliding Displacement indicated by dynamic order is the constant set.
Based on above technical scheme, in the embodiment of the present invention, terminal is after user operation being detected, according to Mus Corresponding relation between mark operational order and user operation, it is possible to determine the mouse action that this user operation is corresponding Order, thus achieve mouse function in terminal, and terminal will determine according to default communication protocol Mouse action order is sent to controlled plant, enabling use terminal to grasp controlled plant as mouse Make, and need not integrated auxiliary equipment in terminal, reduce and realize cost, improve Consumer's Experience.
Further, terminal sets up mouse action order pass corresponding with user operation according to the input operation of user System so that user can define mouse action order, and amendment mouse according to the mode of operation of personal habits Operational order and the corresponding relation of user operation.Therefore, the embodiment of the present invention has convenience, flexibly feature.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a mouse function implementation method, including:
Terminal is under mouse functionality mode, if effective user operation being detected, according to mouse action order with Corresponding relation between user operation, determines the mouse action order that described user operation is corresponding;
Described mouse action order is sent to controlled plant by described terminal according to the communication protocol set.
2. want the method as described in 1 such as right, it is characterised in that described terminal according to mouse action order with Corresponding relation between user operation, before determining the mouse action order that described user operation is corresponding, described Method also includes:
Described terminal sets up the corresponding relation between described mouse action order and user operation.
3. method as claimed in claim 2, it is characterised in that described method also includes:
The corresponding pass that described terminal is successfully established between at least one described mouse action order and user operation After system, however, it is determined that exceed setting duration and be not detected by user operation, or end described mouse behaviour detected Make the instruction of command definition process, terminate described mouse action command definition process.
4. the method as described in claim 1,2 or 3, it is characterised in that described mouse action order bag Include left mouse button one-touch commands, left mouse button double-clicks order, right mouse button one-touch commands, right mouse button are double-clicked One or more in order and mouse slip order.
5. method as claimed in claim 4, it is characterised in that described user operation includes gesture operation And/or button operation;
Described mouse slide order with the corresponding relation of described user operation particularly as follows:
The lateral displacement of the mouse slip that described mouse slides indicated by order is relative according to slip gesture terminal Lateral displacement in slip gesture starting point determines, the longitudinal direction that the mouse indicated by the slip order of described mouse slides Displacement determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and described mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of described slip gesture operation;Or
The glide direction that described mouse slides indicated by order is determined by the button operation preset, and described mouse is sliding Displacement indicated by dynamic order is the constant set.
6. a mouse function realizes device, it is characterised in that including:
Processing module, under mouse functionality mode, if effective user operation being detected, according to mouse Corresponding relation between operational order and user operation, determines the mouse action life that described user operation is corresponding Order;
Sending module, for the described mouse action described processing module determined according to the communication protocol set Order sends to controlled plant.
7. device as claimed in claim 6, it is characterised in that described processing module is additionally operable to:
According to the corresponding relation between mouse action order and user operation, determine that described user operation is corresponding Before mouse action order, set up the corresponding relation between described mouse action order and user operation.
8. device as claimed in claim 7, it is characterised in that described processing module is additionally operable to:
After being successfully established the corresponding relation between at least one described mouse action order and user operation, if Determine that exceeding setting duration is not detected by user operation, or the described mouse action command definition of end detected The instruction of process, terminates described mouse action command definition process.
9. the device as described in claim 6,7 or 8, it is characterised in that described mouse action order bag Include left mouse button one-touch commands, left mouse button double-clicks order, right mouse button one-touch commands, right mouse button are double-clicked One or more in order and mouse slip order.
10. device as claimed in claim 9, it is characterised in that described user operation includes gesture operation And/or button operation;
Described mouse slide order with the corresponding relation of described user operation particularly as follows:
The lateral displacement of the mouse slip that described mouse slides indicated by order is relative according to slip gesture terminal Lateral displacement in slip gesture starting point determines, the longitudinal direction that the mouse indicated by the slip order of described mouse slides Displacement determines relative to the length travel of slip gesture starting point according to slip gesture terminal, and described mouse slides and orders The sliding trace of the mouse indicated by order determines according to the sliding trace of described slip gesture operation;Or
The glide direction that described mouse slides indicated by order is determined by the button operation preset, and described mouse is sliding Displacement indicated by dynamic order is the constant set.
CN201610327259.6A 2016-05-17 2016-05-17 Mouse function realization method and apparatus Pending CN106020666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610327259.6A CN106020666A (en) 2016-05-17 2016-05-17 Mouse function realization method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610327259.6A CN106020666A (en) 2016-05-17 2016-05-17 Mouse function realization method and apparatus

Publications (1)

Publication Number Publication Date
CN106020666A true CN106020666A (en) 2016-10-12

Family

ID=57097328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610327259.6A Pending CN106020666A (en) 2016-05-17 2016-05-17 Mouse function realization method and apparatus

Country Status (1)

Country Link
CN (1) CN106020666A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078071A (en) * 2019-11-29 2020-04-28 联想(北京)有限公司 Information display method and information display device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510125A (en) * 2009-03-30 2009-08-19 东南大学 Method for implementing computer keyboard mouse action control using mobile phone by bluetooth
CN101924807A (en) * 2010-07-23 2010-12-22 康佳集团股份有限公司 Touch-screen mobile phone and mouse input method
CN102479043A (en) * 2010-11-29 2012-05-30 联想(北京)有限公司 Method for realizing mouse event on touch screen, touch screen and electronic equipment
CN102662556A (en) * 2012-03-07 2012-09-12 中兴通讯股份有限公司 Control method, apparatus and system for computer terminal
CN103259914A (en) * 2012-02-20 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Implement method of mobile terminal with wireless mouse function and mobile terminal
CN103324348A (en) * 2013-06-28 2013-09-25 华南理工大学 Windows desktop control method based on intelligent mobile terminals
CN103517111A (en) * 2012-06-29 2014-01-15 上海广电电子科技有限公司 Television remote control method based on touch remote control device and television system
CN103645847A (en) * 2013-12-02 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for simulating mouse to control intelligent television through mobile terminal
CN103914249A (en) * 2013-01-02 2014-07-09 三星电子株式会社 Mouse Function Provision Method And Terminal For Implementing The Same
CN103942002A (en) * 2014-05-13 2014-07-23 上海天奕达电子科技有限公司 Method and device for controlling virtual mouse based on mobile terminal
US20150138089A1 (en) * 2013-11-15 2015-05-21 TabiTop, LLC Input devices and methods
CN105988572A (en) * 2015-02-16 2016-10-05 株式会社理光 Method for operating device by using mobile terminal to simulate mouse, mobile terminal and demonstration system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510125A (en) * 2009-03-30 2009-08-19 东南大学 Method for implementing computer keyboard mouse action control using mobile phone by bluetooth
CN101924807A (en) * 2010-07-23 2010-12-22 康佳集团股份有限公司 Touch-screen mobile phone and mouse input method
CN102479043A (en) * 2010-11-29 2012-05-30 联想(北京)有限公司 Method for realizing mouse event on touch screen, touch screen and electronic equipment
CN103259914A (en) * 2012-02-20 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Implement method of mobile terminal with wireless mouse function and mobile terminal
CN102662556A (en) * 2012-03-07 2012-09-12 中兴通讯股份有限公司 Control method, apparatus and system for computer terminal
CN103517111A (en) * 2012-06-29 2014-01-15 上海广电电子科技有限公司 Television remote control method based on touch remote control device and television system
CN103914249A (en) * 2013-01-02 2014-07-09 三星电子株式会社 Mouse Function Provision Method And Terminal For Implementing The Same
CN103324348A (en) * 2013-06-28 2013-09-25 华南理工大学 Windows desktop control method based on intelligent mobile terminals
US20150138089A1 (en) * 2013-11-15 2015-05-21 TabiTop, LLC Input devices and methods
CN103645847A (en) * 2013-12-02 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for simulating mouse to control intelligent television through mobile terminal
CN103942002A (en) * 2014-05-13 2014-07-23 上海天奕达电子科技有限公司 Method and device for controlling virtual mouse based on mobile terminal
CN105988572A (en) * 2015-02-16 2016-10-05 株式会社理光 Method for operating device by using mobile terminal to simulate mouse, mobile terminal and demonstration system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078071A (en) * 2019-11-29 2020-04-28 联想(北京)有限公司 Information display method and information display device

Similar Documents

Publication Publication Date Title
CN104035677B (en) The display methods and device of prompt message
CN107077295A (en) A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen
EP3194316B1 (en) System and method of initiating elevator service by entering an elevator call
CN104571852A (en) Icon moving method and device
KR20140089224A (en) Device and method for executing operation based on touch-input
CN108089789A (en) The method of adjustment and terminal that icon is shown
CN110471588B (en) Application icon sorting method and device and mobile terminal
CN106201067A (en) Contactor control device, display control method, display control unit and terminal
CN106959746A (en) The processing method and processing device of speech data
CN110795189A (en) Application starting method and electronic equipment
CN102915193B (en) Method, device and intelligent terminal for browsing web pages
CN105739700A (en) Notice opening method and apparatus
CN103677600B (en) Input method and electronic equipment
CN109165033A (en) A kind of application update method and mobile terminal
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN108509108A (en) A kind of application icon aligning method and mobile terminal
CN103809894B (en) A kind of recognition methods of gesture and electronic equipment
CN107656686A (en) Profile switching method and device
CN107577404A (en) Information processing method, device and electronic equipment
CN103902064A (en) Information processing method, electronic device and input device
CN106020666A (en) Mouse function realization method and apparatus
CN105760077A (en) Game control method and device
CN106775406A (en) A kind of false-touch prevention control method of mobile terminal touch screen, device and mobile terminal
CN105159555B (en) A kind of customer equipment controlling method and user equipment
CN110879678A (en) Icon display method, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012