CN108255317A - Method and device for controlling cursor - Google Patents

Method and device for controlling cursor Download PDF

Info

Publication number
CN108255317A
CN108255317A CN201810131566.6A CN201810131566A CN108255317A CN 108255317 A CN108255317 A CN 108255317A CN 201810131566 A CN201810131566 A CN 201810131566A CN 108255317 A CN108255317 A CN 108255317A
Authority
CN
China
Prior art keywords
coordinate
cursor
control
coordinate system
induction region
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.)
Granted
Application number
CN201810131566.6A
Other languages
Chinese (zh)
Other versions
CN108255317B (en
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.)
Beijing Shell Technology Co Ltd
Original Assignee
Beijing Shell 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 Beijing Shell Technology Co Ltd filed Critical Beijing Shell Technology Co Ltd
Priority to CN201810131566.6A priority Critical patent/CN108255317B/en
Publication of CN108255317A publication Critical patent/CN108255317A/en
Application granted granted Critical
Publication of CN108255317B publication Critical patent/CN108255317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

This application involves a kind of method and device for controlling cursor.Wherein method includes:Detect the hovering operation or touch operation that object is controlled on induction region;According to hovering operation or touch operation generation control instruction, include in control instruction comprising coordinate information, coordinate information:The coordinate at the control point that hovering operates or touch operation is targeted, or, the cursor coordinates obtained according to the coordinate of default mapped mode and control point, the coordinate at control point is coordinate of the control point in the first coordinate system, first coordinate is the coordinate system where induction region, cursor coordinates are coordinate of the cursor in the second coordinate system, and the second coordinate system is the coordinate system shown where the display area of equipment, and mapped mode is mapped mode of first coordinate system to the second coordinate system;Control instruction is sent to display equipment, so that display equipment obtains coordinate information, and determine cursor coordinates according to coordinate information from control instruction, cursor is included at the position indicated by the cursor coordinates in display area.

Description

Method and device for controlling cursor
Technical field
This application involves cursor control technical field more particularly to a kind of method and device for controlling cursor.
Background technology
In the relevant technologies, there is the big screen display device of a large amount of similar intelligent TV set, since screen is larger, viewer It needs to watch at a distance, since distance shows equipment farther out, inconvenience directly controls cursor to move by way of touch screen, generally, The equipment such as corresponding remote controler or air mouse are equipped with for this big screen display device, to control the light in display device screen Mark movement.
Traditional remote control control mode, can only by upper and lower, left and right press key control cursor movement, need mostly through Multiple button operation is crossed, cursor could be controlled to be moved to target location, it is inconvenient.
This control mode of air mouse typically relies on acceleration transducer and carries out accumulation calculating to spatial position, really Determine relative displacement, cursor to be controlled to move, after quick movement or long-time use, position can occur because of reasons such as sampling precisions Put drift, the accuracy of cursor positioning.
Invention content
To solve the problems, such as the relevant technologies at least to a certain extent, the application provides a kind of cursor control method And device.
According to the embodiment of the present application in a first aspect, provide a kind of cursor control method, including:
The hovering operation or touch operation of control object of the detection on induction region;
According to the hovering operation or touch operation generation control instruction, coordinate information is included in the control instruction, The coordinate information includes:The coordinate at control point that the hovering operates or touch operation is targeted, alternatively, being reflected according to default The cursor coordinates that emission mode and the coordinate at the control point obtain, the coordinate at the control point are control points in the first coordinate system Coordinate, first coordinate is the coordinate system where the induction region, and the cursor coordinates are cursors in the second coordinate system In coordinate, second coordinate system is the coordinate system shown where the display area of equipment, and the mapped mode is described One coordinate system is to the mapped mode of second coordinate system;
The control instruction is sent to display equipment so that it is described display equipment obtained from the control instruction described in Coordinate information, and according to the coordinate information determine cursor coordinates and, by cursor include the display area the light It marks at the position indicated by coordinate.
Preferably, when the coordinate information is the cursor coordinates, the method further includes:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the method further includes:
Detect the touch pressing operation that is generated on the induction region of control object, and detect it is described touch by After press operation, send cursor to the display equipment and choose instruction;And
That detects that the control object generates on the induction region lifts operation, and lifts operation described in detect Afterwards, cursor is sent to the display equipment to release order.
It lifts operation preferably, described and includes:
It is described control object is generated on the induction region touch pressing operation be converted to it is described control object hover over described in The top of induction region;Alternatively,
The control object generates touch pressing operation on the induction region and is converted to the control object touch described On induction region.
Preferably, the control object includes:
Finger, alternatively, felt pen.
According to the second aspect of the embodiment of the present application, a kind of cursor control method is provided, including:
The control instruction that controller is sent is received, is included in the control instruction comprising coordinate information, the coordinate information: The hovering operation of control object on the induction region of the controller or the coordinate at the targeted control point of touch operation or The cursor coordinates that person obtains according to the cursor of default mapped mode and the control point, the coordinate at the control point is the control Coordinate o'clock in the first coordinate system, first coordinate system are the coordinate systems where the induction region, the cursor coordinates It is coordinate of the cursor in the second coordinate system, second coordinate system is the coordinate system shown where the display area of equipment, institute It is mapped mode of first coordinate system to second coordinate system to state mapped mode;
The coordinate information is obtained from the control instruction, and cursor coordinates are determined according to the coordinate information;
Cursor is included at the position indicated by the cursor coordinates in the display area.
Preferably, described determine cursor coordinates according to the coordinate information, including:
It is true according to the coordinate at the control point when the coordinate that the coordinate information included in the control instruction is put in order to control The fixed cursor coordinates;Alternatively,
When the coordinate information included in the control instruction is cursor coordinates, the coordinate information is directly determined as light Mark coordinate.
Preferably, the cursor coordinates are determined according to the coordinate at the control point, including:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the method further includes:
It receives the cursor that the controller is sent and chooses instruction, it is that the controller is sensing that the cursor, which chooses instruction, It is generated after the touch pressing operation that the control object generates on the induction region, instruction is chosen according to the cursor, is controlled System chooses cursor;And
It receives the cursor that the controller is sent to release order, it is that the controller is sensing that the cursor, which releases order, It generates, is released order according to the cursor, control is released after what the control object generated on the induction region lift operation It gives out light mark.
According to the third aspect of the embodiment of the present application, a kind of cursor control device is provided, including:
Detection module, for detecting the hovering operation or touch operation of the control object on induction region;
Generation module, for generating control instruction according to the hovering operation or touch operation, in the control instruction Comprising coordinate information, the coordinate information includes:The coordinate at the hovering operation or the targeted control point of touch operation or Person, according to the cursor coordinates that the coordinate of default mapped mode and the control point obtains, the coordinate at the control point is control point Coordinate in the first coordinate system, first coordinate are the coordinate systems where the induction region, and the cursor coordinates are light The coordinate being marked in the second coordinate system, second coordinate system is the coordinate system shown where the display area of equipment, described to reflect Emission mode is mapped mode of first coordinate system to second coordinate system;
Sending module, for the control instruction to be sent to display equipment, so that described show equipment from the control Obtain the coordinate information in instruction, and according to the coordinate information determine cursor coordinates and, cursor is included described aobvious Show at the position indicated by the cursor coordinates in region.
Preferably, when the coordinate information is the cursor coordinates, the generation module is additionally operable to:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the detection module, is additionally operable to:The touch that the control object generates on the induction region is detected to press Press operation;The sending module is additionally operable in the detection module after the touch pressing operation is detected, to the display Equipment sends cursor and chooses instruction;And
The detection module, is additionally operable to detect that the control object generates on the induction region lifts operation;It is described Sending module, be additionally operable to the detection module detect it is described lift operation after, send cursor release to the display equipment Instruction.
It lifts operation preferably, described and includes:
It is described control object is generated on the induction region touch pressing operation be converted to it is described control object hover over described in The top of induction region;Alternatively,
The control object generates touch pressing operation on the induction region and is converted to the control object touch described On induction region.
Preferably, the control object includes:
Finger, alternatively, felt pen.
According to the fourth aspect of the embodiment of the present application, a kind of cursor control device is provided, including:
Receiving module for receiving the control instruction of controller transmission, includes coordinate information in the control instruction, described Coordinate information includes:The control that the hovering of control object on the induction region of the controller operates or touch operation is targeted The cursor coordinates made the coordinate of point or obtained according to the cursor of default mapped mode and the control point, the control point Coordinate is coordinate of the control point in the first coordinate system, and first coordinate system is the coordinate where the induction region System, the cursor coordinates are coordinate of the cursor in the second coordinate system, and second coordinate system is the display area for showing equipment The coordinate system at place, the mapped mode are mapped mode of first coordinate system to second coordinate system;
Determining module for obtaining the coordinate information from the control instruction, and is determined according to the coordinate information Cursor coordinates;
Control module, for including cursor at the position indicated by the cursor coordinates in the display area.
Preferably, described when determining cursor coordinates according to the coordinate information, the determining module is specifically used for:
It is true according to the coordinate at the control point when the coordinate that the coordinate information included in the control instruction is put in order to control The fixed cursor coordinates;Alternatively,
When the coordinate information included in the control instruction is cursor coordinates, the coordinate information is directly determined as light Mark coordinate.
Preferably, when determining the cursor coordinates according to the coordinate at the control point, the determining module is specifically used for:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the receiving module, is additionally operable to:It receives the cursor that the controller is sent and chooses instruction, the cursor It is that the controller produces after the touch pressing operation that the control object generates on the induction region is sensed to choose instruction Raw;The control module is additionally operable to choose instruction according to the cursor, and cursor is chosen in control;And
The receiving module, the cursor for being additionally operable to receive the controller transmission release order, and the cursor releases order It is generated after to be the controller lift operation sense that the control object generates on the induction region;The control Module is additionally operable to be released order according to the cursor, control release cursor.
According to the 5th of the embodiment of the present application the aspect, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is performed by the processor of controller so that controller side is able to carry out a kind of cursor control method, The method includes:
The hovering operation or touch operation of control object of the detection on induction region;
According to the hovering operation or touch operation generation control instruction, coordinate information is included in the control instruction, The coordinate information includes:The coordinate at control point that the hovering operates or touch operation is targeted, alternatively, being reflected according to default The cursor coordinates that emission mode and the coordinate at the control point obtain, the coordinate at the control point are control points in the first coordinate system Coordinate, first coordinate is the coordinate system where the induction region, and the cursor coordinates are cursors in the second coordinate system In coordinate, second coordinate system is the coordinate system shown where the display area of equipment, and the mapped mode is described One coordinate system is to the mapped mode of second coordinate system;
The control instruction is sent to display equipment so that it is described display equipment obtained from the control instruction described in Coordinate information, and according to the coordinate information determine cursor coordinates and, by cursor include the display area the light It marks at the position indicated by coordinate.
Preferably, when the coordinate information is the cursor coordinates, the method further includes:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the method further includes:
Detect the touch pressing operation that is generated on the induction region of control object, and detect it is described touch by After press operation, send cursor to the display equipment and choose instruction;And
That detects that the control object generates on the induction region lifts operation, and lifts operation described in detect Afterwards, cursor is sent to the display equipment to release order.
It lifts operation preferably, described and includes:
It is described control object is generated on the induction region touch pressing operation be converted to it is described control object hover over described in The top of induction region;Alternatively,
The control object generates touch pressing operation on the induction region and is converted to the control object touch described On induction region.
Preferably, the control object includes:
Finger, alternatively, felt pen.
According to the 6th of the embodiment of the present application the aspect, a kind of cursor control device is provided, including:Processor;For storing The memory of processor-executable instruction;Wherein, the processor is configured as:
The hovering operation or touch operation of control object of the detection on induction region;
According to the hovering operation or touch operation generation control instruction, coordinate information is included in the control instruction, The coordinate information includes:The coordinate at control point that the hovering operates or touch operation is targeted, alternatively, being reflected according to default The cursor coordinates that emission mode and the coordinate at the control point obtain, the coordinate at the control point are control points in the first coordinate system Coordinate, first coordinate is the coordinate system where the induction region, and the cursor coordinates are cursors in the second coordinate system In coordinate, second coordinate system is the coordinate system shown where the display area of equipment, and the mapped mode is described One coordinate system is to the mapped mode of second coordinate system;
The control instruction is sent to display equipment so that it is described display equipment obtained from the control instruction described in Coordinate information, and according to the coordinate information determine cursor coordinates and, by cursor include the display area the light It marks at the position indicated by coordinate.
Preferably, when the coordinate information is the cursor coordinates, the processor is additionally configured to:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the processor is additionally configured to:
Detect the touch pressing operation that is generated on the induction region of control object, and detect it is described touch by After press operation, send cursor to the display equipment and choose instruction;And
That detects that the control object generates on the induction region lifts operation, and lifts operation described in detect Afterwards, cursor is sent to the display equipment to release order.
It lifts operation preferably, described and includes:
It is described control object is generated on the induction region touch pressing operation be converted to it is described control object hover over described in The top of induction region;Alternatively,
The control object generates touch pressing operation on the induction region and is converted to the control object touch described On induction region.
Preferably, the control object includes:
Finger, alternatively, felt pen.
According to the 7th of the embodiment of the present application the aspect, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is performed by the processor of display equipment so that display equipment side is able to carry out a kind of cursor control side Method, the method includes:The control instruction that controller is sent is received, coordinate information, the coordinate are included in the control instruction Information includes:The control point that the hovering of control object on the induction region of the controller operates or touch operation is targeted Coordinate or the cursor coordinates that are obtained according to the cursor of default mapped mode and the control point, the coordinate at the control point It is coordinate of the control point in the first coordinate system, first coordinate system is the coordinate system where the induction region, institute It is coordinate of the cursor in the second coordinate system to state cursor coordinates, and second coordinate system is where showing the display area of equipment Coordinate system, the mapped mode are mapped mode of first coordinate system to second coordinate system;
The coordinate information is obtained from the control instruction, and cursor coordinates are determined according to the coordinate information;
Cursor is included at the position indicated by the cursor coordinates in the display area.
Preferably, described determine cursor coordinates according to the coordinate information, including:
It is true according to the coordinate at the control point when the coordinate that the coordinate information included in the control instruction is put in order to control The fixed cursor coordinates;Alternatively,
When the coordinate information included in the control instruction is cursor coordinates, the coordinate information is directly determined as light Mark coordinate.
Preferably, the cursor coordinates are determined according to the coordinate at the control point, including:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the method further includes:
It receives the cursor that the controller is sent and chooses instruction, it is that the controller is sensing that the cursor, which chooses instruction, It is generated after the touch pressing operation that the control object generates on the induction region, instruction is chosen according to the cursor, is controlled System chooses cursor;And
It receives the cursor that the controller is sent to release order, it is that the controller is sensing that the cursor, which releases order, It generates, is released order according to the cursor, control is released after what the control object generated on the induction region lift operation It gives out light mark.
According to the eighth aspect of the embodiment of the present application, a kind of cursor control device is provided, including:Processor;For storing The memory of processor-executable instruction;Wherein, the processor is configured as:Receive the control instruction that controller is sent, institute It states in control instruction and includes comprising coordinate information, the coordinate information:Control object on the induction region of the controller Hovering operates the either coordinate at the targeted control point of touch operation or according to default mapped mode and the light at the control point Obtained cursor coordinates are marked, the coordinate at the control point is coordinate of the control point in the first coordinate system, and described first sits Mark system is coordinate system where the induction region, and the cursor coordinates are coordinate of the cursor in the second coordinate system, described the Two coordinate systems are the coordinate systems shown where the display area of equipment, and the mapped mode is first coordinate system to described The mapped mode of two coordinate systems;
The coordinate information is obtained from the control instruction, and cursor coordinates are determined according to the coordinate information;
Cursor is included at the position indicated by the cursor coordinates in the display area.
Preferably, described when determining cursor coordinates according to the coordinate information, the processor is specifically configured to:
It is true according to the coordinate at the control point when the coordinate that the coordinate information included in the control instruction is put in order to control The fixed cursor coordinates;Alternatively,
When the coordinate information included in the control instruction is cursor coordinates, the coordinate information is directly determined as light Mark coordinate.
Preferably, when determining the cursor coordinates according to the coordinate at the control point, the processor is specifically configured For:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, The zoom factor is the coordinate according to maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on each number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
Preferably, the processor is additionally configured to:
It receives the cursor that the controller is sent and chooses instruction, it is that the controller is sensing that the cursor, which chooses instruction, It is generated after the touch pressing operation that the control object generates on the induction region, instruction is chosen according to the cursor, is controlled System chooses cursor;And
It receives the cursor that the controller is sent to release order, it is that the controller is sensing that the cursor, which releases order, It generates, is released order according to the cursor, control is released after what the control object generated on the induction region lift operation It gives out light mark.
The technical solution that embodiments herein provides can include the following benefits:
Where the hovering operation of control object or the coordinate at the targeted control point of touch operation are induction region Coordinate in first coordinate system, therefore the coordinate at control point is absolute coordinate, and because cursor coordinates are according to default mapping mould What the coordinate at formula and control point obtained, since mapped mode and the coordinate at control point are all absolute references, so cursor coordinates It is absolute coordinate, compared with the relative positioning of air mouse in the relevant technologies, the accuracy higher of cursor positioning.Based on this, often The coordinate at a absolute control point all correspondences obtain an absolute cursor coordinates, so the coordinate when control point changes When, correspondingly, cursor coordinates also change therewith, and since control object can be moved arbitrarily from a position on induction region Another position is moved, so the coordinate at the control point of control object changes also with the random movement of control object, accordingly , cursor coordinates change also with the coordinate at control point and are changed, therefore, when controlling object when being moved on induction region, accordingly , on the display area of display equipment, cursor is moved to separately also with the movement of control object from a position of display area One position, compared with the button operation positioning of remote controler in the relevant technologies, cursor positioning more rapid and convenient.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not The application can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the application Example, and for explaining the principle of the application together with specification.
Fig. 1 is a kind of flow diagram for cursor control method that the application one embodiment provides.
Fig. 2 is a kind of flow diagram of cursor control method of the application another embodiment offer.
Fig. 3 is a kind of flow diagram of cursor control method of the application another embodiment offer.
Fig. 4 is a kind of structure diagram for cursor control device that the application one embodiment provides.
Fig. 5 is a kind of structure diagram of cursor control device of the application another embodiment offer.
Fig. 6 is a kind of structure diagram of cursor control device of the application another embodiment offer.
Fig. 7 is a kind of structure diagram of cursor control device of the application another embodiment offer.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is the flow chart for the cursor control method that the application one embodiment provides.The present embodiment is with controller side For execution.Referring to Fig. 1, the method for the present embodiment can include:
The hovering operation or touch operation of the control object of step 110, detection on induction region.
Step 120 generates control instruction according to hovering operation or touch operation, and coordinate information is included in control instruction, Coordinate information includes:Hovering operation or the coordinate at the targeted control point of touch operation, alternatively, according to default mapped mode and The cursor coordinates that the coordinate at control point obtains, the coordinate at control point are coordinate of the control point in the first coordinate system, the first coordinate It is the coordinate system where induction region, cursor coordinates are coordinate of the cursor in the second coordinate system, and the second coordinate system is that display is set Coordinate system where standby display area, mapped mode are mapped mode of first coordinate system to the second coordinate system.
In this step, above-mentioned control point refers to control in the hovering operation or the induction region that touch operation is targeted of object Target point.Wherein, the detection mode at control point can refer to the relevant technologies and implement.
Control instruction is sent to display equipment by step 130, so that display equipment obtains coordinate letter from control instruction Breath, and according to coordinate information determine cursor coordinates and, cursor is included into the position indicated by cursor coordinates in display area Place.
The executive agent of the cursor control method of the present embodiment can be the function mould in controller or controller Block.
In the present embodiment, since the coordinate at the targeted control point of the hovering operation or touch operation of control object is sensing The coordinate in the first coordinate system where region, therefore the coordinate at control point is absolute coordinate, and because cursor coordinates are bases What default mapped mode and the coordinate at control point obtained, since mapped mode and the coordinate at control point are all absolute references, so Cursor coordinates are also absolute coordinate, compared with the relative positioning of air mouse in the relevant technologies, the accuracy higher of cursor positioning. Based on this, the coordinate correspondence at each absolute control point obtains an absolute cursor coordinates, so when the coordinate at control point When changing, correspondingly, cursor coordinates also change therewith, and since control object can be arbitrarily from one on induction region A position is moved to another position, so the coordinate at the control point of control object changes also with the random movement of control object Become, correspondingly, cursor coordinates change also with the coordinate at control point and changed, therefore, when control object moves on induction region When, correspondingly, on the display area of display equipment, cursor is moved also with the movement of control object from a position of display area Another position is moved, compared with the button operation positioning of remote controler in the relevant technologies, cursor positioning more rapid and convenient.
In addition, in the present embodiment, cursor can also be controlled to move by touch manner by the mode of hovering.
Wherein, control object can be, but not limited to include:Finger, alternatively, felt pen.In implementation, a cursor can be controlled, Correspondingly, control object is one;Multiple cursors can also be controlled, correspondingly, control object is multiple, in this way, can control simultaneously Realize multiple operations.
Wherein, display equipment can be, but not limited to include:Intelligent TV set, alternatively, splicing large-size screen monitors.
In general, display area refers to show the region in equipment where the physical unit of necessary being, for example, intelligence Display area on the display screen of television set.
In practical application scene, not only need to control cursor movement, it is also necessary to control choosing and discharging for cursor.It is based on This, preferably, cursor control method provided in this embodiment, can also include:Detection control object generates on induction region Pressing operation is touched, and after touch pressing operation is detected, sending cursor to display equipment chooses instruction;And detection control Operation that object processed generated on induction region lift, and after detecting and lifting operation, send cursor release to display equipment and refer to It enables.
Wherein, operation is lifted, can be included:Control object generates on induction region touches pressing operation conversion object in order to control Hover over the top of induction region;Alternatively, control object generates on induction region touches pressing operation conversion object touch in order to control On induction region.
In the present embodiment, cursor is controlled to choose by touching pressing mode, operation control is lifted accordingly by touching pressing Cursor release processed.
It should be noted that the surging of above-mentioned touch pressing operation is more than the surging of above-mentioned touch operation.
Above-mentioned induction region can set touch screen, for example, pressure type touch screen can be set, with touching for detection control object It touches, touch pressing.Above-mentioned induction region can set the sensors such as infrared distance measurement or thermoinduction ranging, with detection control object Hovering.Certainly, above-mentioned induction region, which can also be set, not only has the function of to detect touch function but also with the sensor of detection hovering.
When cursor is controlled to choose and cursor is controlled to move by touch manner by touching pressing mode, due to control Object is required to contact with induction region, and the dynamics for only touching pressing is different from the dynamics touched, in use, operation is more just It is prompt.
When cursor is controlled to choose and cursor is controlled to move by hovering mode by touching pressing mode, the former needs Control object is contacted with induction region, and the latter does not need to contact with induction region, and each since this is two kinds of antipodal operations Kind operation is more prone to distinguish, the accuracy higher of cursor control compared with induction region contacts.
There are many above-mentioned mapped modes, for example, it may be scaling mapped mode, alternatively, translation mapped mode, etc..
For scaling mapped mode, when coordinate information is cursor coordinates, the cursor control method of controller side may be used also To include:Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Wherein, zoom factor includes the zoom factor of each number axis.The zoom factor of number axis be display area coordinate with The ratio of maximum value of the coordinate of induction region on identical number axis.
Assuming that above-mentioned induction region and display area are rectangular area, using a vertex of induction region as origin o, with Two sides intersected with origin o are x-axis and y-axis, establish the first coordinate system xoy, the coordinate of the point in the first coordinate system for (x, Y), equally using a vertex of display area as origin o ', using two sides intersected with origin o ' as x-axis and y-axis, is established Two coordinate system x ' o ' y ', the coordinate of the point in the second coordinate system are (x ', y ').
Correspondingly, above-mentioned zoom factor includes the zoom factor Dx of x-axis and the zoom factor Dy of y-axis.
Wherein, Dx is according to maximum value Xmax of the coordinate of induction region in the x-axis of the first coordinate system and display area Maximum value X ' max of the coordinate in the x-axis of the second coordinate system obtain.Wherein, Xmax is maximum ruler of the induction region in x-axis It is very little.X ' max are full-size of the display area in x-axis.
Wherein, Dy is according to maximum value Ymax of the coordinate of induction region in the y-axis of the first coordinate system and display area Maximum value Y ' max of the coordinate in the y-axis of the second coordinate system obtain.Wherein, Ymax is maximum ruler of the induction region in y-axis It is very little.Y ' max are full-size of the display area in y-axis.
Based on this, according to the coordinate (x at control points, ys) and equation below, determine cursor coordinates:
X '=x*Dx;(1)
Y '=y*Dy;(2)
Dx=X ' max/Xmax;(3)
Dy=Y ' max/Ymax;(4)
By the coordinate (x at control points, ys), it substitutes into above formula (1)~(4), obtains cursor coordinates as (x 's, y 's)= (xs* X ' max/Xmax, ys*Y’max/Ymax)。
For the display area of rectangle, the full-size in x-axis and the full-size in y-axis are exactly display area Length and width.For the induction region of rectangle, the full-size in x-axis and the full-size in y-axis exactly sense The length and width in region.
The length and width of more than induction region directly can locally obtain in controller is locally stored.With The length and width of upper display area can be obtained by being manually entered, and can also establish communication in controller and display equipment During connection, obtained from display equipment, so that controller is adapted to various sizes of display equipment.
In view of in practical application, controller is usually hand-held remote control device, structure design is simple, memory is smaller, operation Ability is poor, calculates above-mentioned cursor coordinates in controller side, may reduce the control efficiency of controller, and controller can be sent out Heat it is therefore desirable to include the coordinate at control point in the coordinate information of above-mentioned control instruction, is sent to display equipment side, by Show that equipment side calculates cursor coordinates.It correspondingly, can be when controller and display equipment establish communication connection, by above-mentioned sensing The length and width in region is sent to display equipment or when sending control instruction every time, in the coordinate information of control instruction In include the length and width of induction region.
Fig. 2 is the flow diagram of the cursor control method of the application another embodiment offer.The present embodiment is to show For the execution of equipment side.Referring to Fig. 2, the method for the present embodiment can include:
Step 210 receives the control instruction that controller is sent, and includes in control instruction comprising coordinate information, coordinate information: The coordinate at control point that the hovering of control object on the induction region of controller operates or touch operation is targeted, Huo Zhegen According to the cursor coordinates that the cursor of default mapped mode and control point obtains, the coordinate at control point is control point in the first coordinate system Coordinate, the first coordinate system is the coordinate system where induction region, and cursor coordinates are coordinate of the cursor in the second coordinate system, Two coordinate systems are the coordinate systems shown where the display area of equipment, and mapped mode is the first coordinate system reflecting to the second coordinate system Emission mode.
In this step, above-mentioned control point refers to control in the hovering operation or the induction region that touch operation is targeted of object Target point.Wherein, the detection mode at control point can refer to the relevant technologies and implement.
Step 220 obtains coordinate information from control instruction, and determines cursor coordinates according to coordinate information.
Step 230 is included cursor at position indicated by cursor coordinates in display area.
The executive agent of the cursor control method of the present embodiment can be the work(shown in equipment or display equipment It can module.
In the present embodiment, since the coordinate at the targeted control point of the hovering operation or touch operation of control object is sensing The coordinate in the first coordinate system where region, therefore the coordinate at control point is absolute coordinate, and because cursor coordinates are bases What default mapped mode and the coordinate at control point obtained, since mapped mode and the coordinate at control point are all absolute references, so Cursor coordinates are also absolute coordinate, compared with the relative positioning of air mouse in the relevant technologies, the accuracy higher of cursor positioning. Based on this, the coordinate correspondence at each absolute control point obtains an absolute cursor coordinates, so when the coordinate at control point When changing, correspondingly, cursor coordinates also change therewith, and since control object can be arbitrarily from one on induction region A position is moved to another position, so the coordinate at the control point of control object changes also with the random movement of control object Become, correspondingly, cursor coordinates change also with the coordinate at control point and changed, therefore, when control object moves on induction region When, correspondingly, on the display area of display equipment, cursor is moved also with the movement of control object from a position of display area Another position is moved, compared with the button operation positioning of remote controler in the relevant technologies, cursor positioning more rapid and convenient.
There are many specific implementations of above-mentioned steps 220.Preferably, the specific implementation of above-mentioned steps 220 can be with It is:When the coordinate that the coordinate information included in control instruction is put in order to control, cursor coordinates are determined according to the coordinate at control point;Or Coordinate information when the coordinate information included in control instruction is cursor coordinates, is directly determined as cursor coordinates by person.
Wherein, cursor coordinates are determined according to the coordinate at control point, specific implementation can be:Mapped mode is obtained, is reflected Emission mode is scaling mapped mode, and scaling mapped mode includes zoom factor, and zoom factor is existed according to the coordinate of display area Maximum value calculation of the coordinate of maximum value and induction region on each number axis on each number axis obtains;It is mapped according to scaling Pattern and the coordinate at control point, are calculated cursor coordinates.
Wherein, according to scaling mapped mode and the coordinate at control point, the specific implementation of cursor coordinates, which is calculated, to be joined According to the related embodiment of more than controller side, details are not described herein again.During realization, the length and width of involved display area, It can be locally stored, directly locally obtain, the length and width of involved above-mentioned induction region can in display equipment To be obtained by being manually entered, can also be obtained when showing that equipment establishes communication connection with controller side from controller side, also The length and width of induction region can be carried in control instruction by controller side, every time from the control instruction received It obtains.
Generally, it shows that the operational capability of equipment is stronger than the operational capability of controller, in the present embodiment, is showing equipment side, Faster, control efficiency is high for the speed of calculating cursor coordinates.
In some embodiments, the cursor control method of display equipment side can also include:
It receives the cursor that controller is sent and chooses instruction, cursor chooses instruction to be controller object to be controlled to sense sensing It is generated after the touch pressing operation generated on region, instruction is chosen according to the cursor, cursor is chosen in control;And
It receives the cursor that controller is sent to release order, cursor releases order, and to be controller sensing that control object sensing It generates after what is generated on region lift operation, is released order according to the cursor, control release cursor.
Fig. 3 is the flow diagram of the cursor control method of the application another embodiment offer.The present embodiment is to control For the interaction of device and display equipment performs.
Further, the concrete application scene of the present embodiment is described as follows:
In the scene of the present embodiment, the controller including display equipment and for being controlled showing the cursor of equipment. Display equipment can include but is not limited to the big screen display device including intelligent TV set etc., due to the display of big screen display device Screen is larger, and viewer is needed to watch at a distance, when needing mobile cursor, due to viewer apart from screen farther out, be not suitable for Cursor is directly moved on the display screen using touch screen, thus is needed by controller long-distance remote control positioning cursor, and due to There are various defects for solution in the relevant technologies, based on this, present embodiments provide a kind of corresponding new cursor control Scheme.In the present embodiment, controller includes induction region, and touch screen, such as pressure type can be set to touch on induction region Screen, the touch of detection control object can set the sensors such as infrared distance measurement or thermoinduction ranging, the hovering of detection control object. It can be specially finger or stylus etc. to control object.By taking finger as an example, finger can hover over induction region, and controller can be with The hovering operation of detection finger in real time, and obtain the coordinate that hovering operates targeted control point;Alternatively, finger can also touch On induction region, controller can detect the touch operation of finger in real time, and obtain the coordinate at the control point of touch operation.This In embodiment, a cursor can be shown by showing on the display area of equipment, can also show more than two cursors.To show For region shows two cursors, in use, can be placed on above induction region with both hands hand held controller, the thumb of both hands, Control two cursors.
Referring to Fig. 3, the method for the present embodiment includes:
The hovering operation or touch operation of the control object of step 310, controller detection on induction region.
Step 320, controller generate control instruction according to hovering operation or touch operation, and coordinate is included in control instruction Information, coordinate information include:The coordinate at the control point that hovering operates or touch operation is targeted, alternatively, according to default mapping The cursor coordinates that the coordinate at pattern and control point obtains, the coordinate at control point is coordinate of the control point in the first coordinate system, the One coordinate is the coordinate system where induction region, and cursor coordinates are coordinate of the cursor in the second coordinate system, and the second coordinate system is Show the coordinate system where the display area of equipment, mapped mode is mapped mode of first coordinate system to the second coordinate system.
Assuming that induction region be rectangular area, the first coordinate system xoy using the upper left corner of induction region as origin o, with this Two sides that origin o intersects are x-axis and y-axis.The coordinate of point in first coordinate system is (x, y).Based on this, the control detected The coordinate of point is (xs, ys)。
In this step, when coordinate information is cursor coordinates, controller is according to the Coordinate generation control instruction at control point In the process, it is also necessary to which cursor coordinates are obtained according to the coordinate of default mapped mode and control point in accordance with the following steps:Obtain mapping Pattern, mapped mode are scaling mapped mode, and scaling mapped mode includes zoom factor, and zoom factor is according to display area Maximum value calculation of the coordinate of maximum value and induction region of the coordinate on each number axis on each number axis obtains;According to contracting Emission mode and the coordinate at control point are shown, cursor coordinates are calculated.Can be specifically:
Assuming that display area be rectangular area, the second coordinate system x ' o ' y ' using the upper left corner of display area as origin o ', with Two sides intersected with origin o ' are x ' axis and y ' axis.The coordinate of point in second coordinate system is (x ', y ').
Above-mentioned zoom factor includes the zoom factor Dx of x-axis and the zoom factor Dy of y-axis.
Wherein, Dx is according to maximum value Xmax of the coordinate of induction region in the x-axis of the first coordinate system and display area Coordinate obtain in the upper maximum value X ' max of the x-axis of the second coordinate system.Wherein, Xmax is maximum of the induction region in x-axis Size.X ' max are full-size of the display area in x-axis.
Wherein, Dy is according to the upper maximum value Ymax of the coordinate of induction region in the y-axis of the first coordinate system and viewing area Maximum value Y ' max of the coordinate in domain in the y-axis of the second coordinate system is obtained.Wherein, Ymax is maximum of the induction region in y-axis Size.Y ' max are full-size of the display area in y-axis.
For display area, the full-size in x-axis and the full-size in y-axis, be exactly display area length And width, it can be obtained by being manually entered, it can also be when controller and display equipment establish communication connection, from display equipment It obtains.For induction region, the full-size in x-axis and the full-size in y-axis, be exactly induction region length and width Degree can locally be obtained in controller.
Based on this, according to the coordinate (x at control points, ys) and formula (1)~(4), determine cursor coordinates:By control point Coordinate (xs, ys), it substitutes into formula (1)~(4), obtains cursor coordinates as (x 's, y 's)=(xs* X ' max/Xmax, ys*Y’ max/Ymax)。
Control instruction is sent to display equipment by step 330, controller.
Step 340, display equipment receive the control instruction that controller is sent.
Step 350, display equipment obtain coordinate information, and determine cursor coordinates according to coordinate information from control instruction.
In this step, cursor coordinates, Ke Yishi are determined according to coordinate information:When the coordinate information included in control instruction is During the coordinate at control point, cursor coordinates are determined according to the coordinate at control point;Alternatively, when the coordinate information included in control instruction is During cursor coordinates, coordinate information is directly determined as cursor coordinates.
Wherein, the realization method for determining cursor coordinates according to the coordinate at control point can be:Mapped mode is obtained, maps mould Formula is scaling mapped mode, and scaling mapped mode includes zoom factor, and zoom factor is the coordinate according to display area each Maximum value calculation of the coordinate of maximum value and induction region on number axis on each number axis obtains;According to scaling mapped mode With the coordinate at control point, cursor coordinates are calculated.
Wherein, according to scaling mapped mode and the coordinate at control point, the specific implementation of cursor coordinates, which is calculated, to be joined According to the related embodiment in above step 320, details are not described herein again.During realization, the length and width of involved display area, It can be locally stored, directly locally obtain, the length and width of involved above-mentioned induction region can in display equipment To be obtained by being manually entered, can also be obtained when showing that equipment establishes communication connection with controller side from controller side, also The length and width of induction region can be carried in control instruction by controller side, every time from the control instruction received It obtains.
Step 360, display equipment are included cursor at the position indicated by the cursor coordinates in display area.
The touch pressing operation that step 370, controller detection control object generate on induction region, and touched detecting After pressing operation, send cursor to display equipment and choose instruction.
Step 380, display equipment receive the cursor that controller is sent and choose instruction.
Step 390, display equipment choose instruction control to choose cursor according to cursor.
What step 3100, controller detection control object generated on induction region lifts operation, and lift behaviour detecting After work, send cursor to display equipment and release order.
In this step, operation is lifted, can be included:Control object generates touch pressing operation on induction region and is converted to control Object processed hovers over the top of induction region;Alternatively, control object generates on induction region touches pressing operation conversion object in order to control It touches on induction region.
Step 3110, display equipment receive the cursor that controller is sent and release order.
Step 3120, display equipment release order according to cursor controls release cursor.
In the present embodiment, since the coordinate at the targeted control point of the hovering operation or touch operation of control object is sensing The coordinate in the first coordinate system where region, therefore the coordinate at control point is absolute coordinate, and because cursor coordinates are bases What default mapped mode and the coordinate at control point obtained, since mapped mode and the coordinate at control point are all absolute references, so Cursor coordinates are also absolute coordinate, compared with the relative positioning of air mouse in the relevant technologies, the accuracy higher of cursor positioning. Based on this, the coordinate correspondence at each absolute control point obtains an absolute cursor coordinates, so when the coordinate at control point When changing, correspondingly, cursor coordinates also change therewith, and since control object can be arbitrarily from one on induction region A position is moved to another position, so the coordinate at the control point of control object changes also with the random movement of control object Become, correspondingly, cursor coordinates change also with the coordinate at control point and changed, therefore, when control object moves on induction region When, correspondingly, on the display area of display equipment, cursor is moved also with the movement of control object from a position of display area Another position is moved, compared with the button operation positioning of remote controler in the relevant technologies, cursor positioning more rapid and convenient.And It can control the Hovering control cursor of object mobile in the present embodiment by detection and the touch control cursor of object is controlled by detection It chooses, the accuracy higher of cursor control.
Fig. 4 is the structure diagram of the cursor control device of the application another embodiment offer.Referring to Fig. 4, this implementation The device of example includes detection module 401, generation module 402 and sending module 403.Wherein:
Detection module 401, for detecting the hovering operation or touch operation of the control object on induction region;
For generating control instruction according to hovering operation or touch operation, seat is included in control instruction for generation module 402 Information is marked, coordinate information includes:The coordinate at the control point that hovering operates or touch operation is targeted, alternatively, being reflected according to default The cursor coordinates that emission mode and the coordinate at control point obtain, the coordinate at control point is coordinate of the control point in the first coordinate system, First coordinate is the coordinate system where induction region, and cursor coordinates are coordinate of the cursor in the second coordinate system, the second coordinate system It is the coordinate system shown where the display area of equipment, mapped mode is mapped mode of first coordinate system to the second coordinate system;
Sending module 403, for control instruction to be sent to display equipment, so that display equipment is obtained from control instruction Coordinate information, and according to coordinate information determine cursor coordinates and, cursor is included indicated by cursor coordinates in display area Position at.
Preferably, when coordinate information is cursor coordinates, generation module 402 is additionally operable to:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, detection module 401, is additionally operable to:The touch pressing operation that detection control object generates on induction region;Hair Module 403 is sent, is additionally operable in detection module after touch pressing operation is detected, sending cursor to display equipment chooses instruction; And
Detection module 401, be additionally operable to detection control object generated on induction region lift operation;Sending module 403, also For after detection module detects and lifts operation, sending cursor to display equipment and releasing order.
Include preferably, lifting operation:
Control object generates touch pressing operation on induction region and converts the top that object in order to control hovers over induction region;Or Person,
Control object generates the conversion of touch pressing operation on induction region, and object is touched on induction region in order to control.
Preferably, control object includes:
Finger, alternatively, felt pen.
Fig. 5 is the structure diagram of the cursor control device of the application another embodiment offer.Referring to Fig. 5, this implementation The device of example includes receiving module 501, determining module 502 and control module 503.Wherein:
For receiving the control instruction of controller transmission, coordinate information, coordinate are included in control instruction for receiving module 501 Information includes:The seat at control point that the hovering of control object on the induction region of controller operates or touch operation is targeted Mark or according to the cursor coordinates that the cursor of default mapped mode and control point obtains, the coordinate at control point are control points the Coordinate in one coordinate system, the first coordinate system are the coordinate systems where induction region, and cursor coordinates are cursors in the second coordinate system In coordinate, the second coordinate system is the coordinate system shown where the display area of equipment, and mapped mode is the first coordinate system to The mapped mode of two coordinate systems;
Determining module 502 for obtaining coordinate information from control instruction, and determines cursor coordinates according to coordinate information;
Control module 503, for including cursor at the position indicated by the cursor coordinates in display area.
Preferably, when determining cursor coordinates according to coordinate information, determining module 502 is specifically used for:
When the coordinate that the coordinate information included in control instruction is put in order to control, determine that cursor is sat according to the coordinate at control point Mark;Alternatively,
When the coordinate information included in control instruction is cursor coordinates, coordinate information is directly determined as cursor coordinates.
Preferably, when the coordinate according to control point determines cursor coordinates, determining module 502 is specifically used for:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, receiving module 501, is additionally operable to:It receives the cursor that controller is sent and chooses instruction, cursor chooses the instruction to be What controller generated after the touch pressing operation that control object generates on induction region is sensed;Control module 503, is additionally operable to Instruction is chosen according to cursor, cursor is chosen in control;And
Receiving module 501, the cursor for being additionally operable to receive controller transmission release order, and it is that controller exists that cursor, which releases order, It is generated after sense that control object generates on induction region lift operation;Control module 503 is additionally operable to be discharged according to cursor Instruction, control release cursor.
The application one embodiment provides a kind of non-transitorycomputer readable storage medium, when the instruction in storage medium When being performed by the processor of controller so that controller side is able to carry out a kind of cursor control method, the method packet of the present embodiment It includes:
The hovering operation or touch operation of control object of the detection on induction region;
According to hovering operation or touch operation generation control instruction, coordinate information, coordinate information are included in control instruction Including:Hovering operation or the coordinate at the targeted control point of touch operation, alternatively, according to default mapped mode and control point The cursor coordinates that coordinate obtains, the coordinate at control point is coordinate of the control point in the first coordinate system, and the first coordinate is induction zone Coordinate system where domain, cursor coordinates are coordinate of the cursor in the second coordinate system, and the second coordinate system is the display for showing equipment Coordinate system where region, mapped mode are mapped mode of first coordinate system to the second coordinate system;
Control instruction is sent to display equipment, so that display equipment obtains coordinate information from control instruction, and according to Coordinate information determine cursor coordinates and, cursor is included at the position indicated by cursor coordinates in display area.
Preferably, when coordinate information is cursor coordinates, the method for the present embodiment further includes:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, the method for the present embodiment further includes:
The touch pressing operation that detection control object generates on induction region, and after touch pressing operation is detected, to Display equipment sends cursor and chooses instruction;And
What detection control object generated on induction region lifts operation, and after detecting and lifting operation, to showing equipment Cursor is sent to release order.
Include preferably, lifting operation:
Control object generates touch pressing operation on induction region and converts the top that object in order to control hovers over induction region;Or Person,
Control object generates the conversion of touch pressing operation on induction region, and object is touched on induction region in order to control.
Preferably, control object includes:
Finger, alternatively, felt pen.
The specific implementation of the present embodiment may refer to the related description in the embodiment of the method for above controller side, this Place repeats no more.
Another embodiment of the application provides a kind of non-transitorycomputer readable storage medium, when the finger in storage medium When enabling the processor execution by display equipment so that display equipment side is able to carry out a kind of cursor control method, the present embodiment Method includes:The control instruction that controller is sent is received, is included in control instruction comprising coordinate information, coordinate information:It is controlling The hovering of control object on the induction region of device operates the either coordinate at the targeted control point of touch operation or according to default The cursor coordinates that mapped mode and the cursor at control point obtain, the coordinate at control point is seat of the control point in the first coordinate system Mark, the first coordinate system are the coordinate systems where induction region, and cursor coordinates are coordinate of the cursor in the second coordinate system, and second sits Mark system is the coordinate system shown where the display area of equipment, and mapped mode is the mapping mould of the first coordinate system to the second coordinate system Formula;
Coordinate information is obtained from control instruction, and cursor coordinates are determined according to coordinate information;
Cursor is included at the position indicated by the cursor coordinates in display area.
Preferably, cursor coordinates are determined according to coordinate information, including:
When the coordinate that the coordinate information included in control instruction is put in order to control, determine that cursor is sat according to the coordinate at control point Mark;Alternatively,
When the coordinate information included in control instruction is cursor coordinates, coordinate information is directly determined as cursor coordinates.
Preferably, the coordinate according to control point determines cursor coordinates, including:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, the method for the present embodiment further includes:
It receives the cursor that controller is sent and chooses instruction, cursor chooses instruction to be controller object to be controlled to sense sensing It is generated after the touch pressing operation generated on region, instruction is chosen according to cursor, cursor is chosen in control;And
It receives the cursor that controller is sent to release order, cursor releases order, and to be controller sensing that control object sensing It generates after what is generated on region lift operation, is released order according to cursor, control release cursor.
The specific implementation of the present embodiment may refer to the related description in the embodiment of the method for above-mentioned display equipment side, Details are not described herein again.
Fig. 6 is a kind of structure diagram of cursor control device of the application another embodiment offer.Referring to Fig. 6, sheet The device of embodiment includes:Processor 601;For storing the memory 602 of processor-executable instruction;Wherein, processor 601 It is configured as:
The hovering operation or touch operation of control object of the detection on induction region;
According to hovering operation or touch operation generation control instruction, coordinate information, coordinate information are included in control instruction Including:Hovering operation or the coordinate at the targeted control point of touch operation, alternatively, according to default mapped mode and control point The cursor coordinates that coordinate obtains, the coordinate at control point is coordinate of the control point in the first coordinate system, and the first coordinate is induction zone Coordinate system where domain, cursor coordinates are coordinate of the cursor in the second coordinate system, and the second coordinate system is the display for showing equipment Coordinate system where region, mapped mode are mapped mode of first coordinate system to the second coordinate system;
Control instruction is sent to display equipment, so that display equipment obtains coordinate information from control instruction, and according to Coordinate information determine cursor coordinates and, cursor is included at the position indicated by cursor coordinates in display area.
Preferably, when coordinate information is cursor coordinates, processor 601 is additionally configured to:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, processor 601 is additionally configured to:
The touch pressing operation that detection control object generates on induction region, and after touch pressing operation is detected, to Display equipment sends cursor and chooses instruction;And
What detection control object generated on induction region lifts operation, and after detecting and lifting operation, to showing equipment Cursor is sent to release order.
Include preferably, lifting operation:
Control object generates touch pressing operation on induction region and converts the top that object in order to control hovers over induction region;Or Person,
Control object generates the conversion of touch pressing operation on induction region, and object is touched on induction region in order to control.
Preferably, control object includes:
Finger, alternatively, felt pen.
Fig. 7 is the structure diagram of a kind of cursor control device that another embodiment of the application provides.Referring to Fig. 7, this reality The device for applying example includes:Processor 701;For storing the memory 702 of processor-executable instruction;Wherein, 701 quilt of processor It is configured to:The control instruction that controller is sent is received, is included in control instruction comprising coordinate information, coordinate information:In controller Induction region on the hovering operation of control object either the coordinate at the targeted control point of touch operation or reflected according to default The cursor coordinates that emission mode and the cursor at control point obtain, the coordinate at control point is coordinate of the control point in the first coordinate system, First coordinate system is the coordinate system where induction region, and cursor coordinates are coordinate of the cursor in the second coordinate system, the second coordinate System is the coordinate system shown where the display area of equipment, and mapped mode is the mapping mould of the first coordinate system to the second coordinate system Formula;
Coordinate information is obtained from control instruction, and cursor coordinates are determined according to coordinate information;
Cursor is included at the position indicated by the cursor coordinates in display area.
Preferably, when determining cursor coordinates according to coordinate information, processor 701 is specifically configured to:
When the coordinate that the coordinate information included in control instruction is put in order to control, determine that cursor is sat according to the coordinate at control point Mark;Alternatively,
When the coordinate information included in control instruction is cursor coordinates, coordinate information is directly determined as cursor coordinates.
Preferably, when the coordinate according to control point determines cursor coordinates, processor 701 is specifically configured to:
Mapped mode is obtained, mapped mode is scaling mapped mode, and scaling mapped mode includes zoom factor, zoom factor It is maximum value of the coordinate of the maximum value and induction region according to the coordinate of display area on each number axis on each number axis It is calculated;
According to scaling mapped mode and the coordinate at control point, cursor coordinates are calculated.
Preferably, processor 701, is additionally configured to:
It receives the cursor that controller is sent and chooses instruction, cursor chooses instruction to be controller object to be controlled to sense sensing It is generated after the touch pressing operation generated on region, instruction is chosen according to cursor, cursor is chosen in control;And
It receives the cursor that controller is sent to release order, cursor releases order, and to be controller sensing that control object sensing It generates after what is generated on region lift operation, is released order according to cursor, control release cursor.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments Unspecified content may refer to the same or similar content in other embodiment.
It should be noted that in the description of the present application, term " first ", " second " etc. are only used for description purpose, without It is understood that indicate or implying relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple " Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the application can be integrated in a processing module, it can also That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments " The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to the limitation to the application is interpreted as, those of ordinary skill in the art within the scope of application can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (11)

1. a kind of cursor control method, which is characterized in that including:
The hovering operation or touch operation of control object of the detection on induction region;
According to the hovering operation or touch operation generation control instruction, coordinate information is included in the control instruction, it is described Coordinate information includes:The coordinate at control point that the hovering operates or touch operation is targeted, alternatively, according to default mapping mould The cursor coordinates that the coordinate at formula and the control point obtains, the coordinate at the control point is seat of the control point in the first coordinate system Mark, first coordinate is the coordinate system where the induction region, and the cursor coordinates are cursors in the second coordinate system Coordinate, second coordinate system are the coordinate systems shown where the display area of equipment, and the mapped mode is first seat Mark system arrives the mapped mode of second coordinate system;
The control instruction is sent to display equipment, so that the display equipment obtains the coordinate from the control instruction Information, and according to the coordinate information determine cursor coordinates and, by cursor include the display area the cursor sit At the indicated position of mark.
2. according to the method described in claim 1, it is characterized in that, when the coordinate information be the cursor coordinates when, it is described Method further includes:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, described Zoom factor is every according to the coordinate of maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on a number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
3. it according to the method described in claim 1, it is characterized in that, further includes:
The touch pressing operation that the control object generates on the induction region is detected, and is detecting the touch pressing behaviour After work, send cursor to the display equipment and choose instruction;And
That detects that the control object generates on the induction region lifts operation, and after operation is lifted described in detecting, to The display equipment sends cursor and releases order.
4. according to the method described in claim 3, it is characterized in that, described lift operation and include:
It is described control object is generated on the induction region touch pressing operation be converted to it is described control object hover over the sensing The top in region;Alternatively,
The control object generates touch pressing operation on the induction region and is converted to the control object touch in the sensing On region.
5. according to claim 1-4 any one of them methods, which is characterized in that the control object includes:
Finger, alternatively, felt pen.
6. a kind of cursor control method, which is characterized in that including:
The control instruction that controller is sent is received, is included in the control instruction comprising coordinate information, the coordinate information:Institute State the coordinate at control point that the hovering for controlling object on the induction region of controller operates or touch operation is targeted, Huo Zhegen According to the cursor coordinates that the cursor of default mapped mode and the control point obtains, the coordinate at the control point is that the control point exists Coordinate in first coordinate system, first coordinate system are the coordinate systems where the induction region, and the cursor coordinates are light The coordinate being marked in the second coordinate system, second coordinate system is the coordinate system shown where the display area of equipment, described to reflect Emission mode is mapped mode of first coordinate system to second coordinate system;
The coordinate information is obtained from the control instruction, and cursor coordinates are determined according to the coordinate information;
Cursor is included at the position indicated by the cursor coordinates in the display area.
7. according to the method described in claim 6, it is characterized in that, described determine cursor coordinates according to the coordinate information, packet It includes:
When the coordinate that the coordinate information included in the control instruction is put in order to control, institute is determined according to the coordinate at the control point State cursor coordinates;Alternatively,
When the coordinate information included in the control instruction is cursor coordinates, the coordinate information is directly determined as cursor and is sat Mark.
8. the method according to the description of claim 7 is characterized in that determine that the cursor is sat according to the coordinate at the control point Mark, including:
Mapped mode is obtained, the mapped mode is scaling mapped mode, and the scaling mapped mode includes zoom factor, described Zoom factor is every according to the coordinate of maximum value of the coordinate of the display area on each number axis and the induction region What the maximum value calculation on a number axis obtained;
According to the scaling mapped mode and the coordinate at the control point, the cursor coordinates are calculated.
9. according to claim 6-8 any one of them methods, which is characterized in that further include:
It receives the cursor that the controller is sent and chooses instruction, it is the controller described in sense that the cursor, which chooses instruction, It is generated after the touch pressing operation that control object generates on the induction region, instruction, control choosing is chosen according to the cursor Middle cursor;And
The cursor that the controller is sent is received to release order, the cursor releases order be the controller sense it is described It generates after what control object generated on the induction region lift operation, is released order according to the cursor, control release light Mark.
10. a kind of cursor control device, which is characterized in that including:
Detection module, for detecting the hovering operation or touch operation of the control object on induction region;
Generation module for generating control instruction according to the hovering operation or touch operation, includes in the control instruction Coordinate information, the coordinate information include:The coordinate at control point that the hovering operates or touch operation is targeted, alternatively, According to the cursor coordinates that the coordinate of default mapped mode and the control point obtains, the coordinate at the control point is control point Coordinate in one coordinate system, first coordinate are the coordinate systems where the induction region, and the cursor coordinates are that cursor exists Coordinate in second coordinate system, second coordinate system are the coordinate systems shown where the display area of equipment, the mapping mould Formula is mapped mode of first coordinate system to second coordinate system;
Sending module, for the control instruction to be sent to display equipment, so that described show equipment from the control instruction It is middle to obtain the coordinate information, and according to the coordinate information determine cursor coordinates and, cursor is included in the viewing area At position indicated by the cursor coordinates in domain.
11. a kind of cursor control device, which is characterized in that including:
For receiving the control instruction of controller transmission, coordinate information, the coordinate are included in the control instruction for receiving module Information includes:The control point that the hovering of control object on the induction region of the controller operates or touch operation is targeted Coordinate or the cursor coordinates that are obtained according to the cursor of default mapped mode and the control point, the coordinate at the control point It is coordinate of the control point in the first coordinate system, first coordinate system is the coordinate system where the induction region, institute It is coordinate of the cursor in the second coordinate system to state cursor coordinates, and second coordinate system is where showing the display area of equipment Coordinate system, the mapped mode are mapped mode of first coordinate system to second coordinate system;
Determining module for obtaining the coordinate information from the control instruction, and determines cursor according to the coordinate information Coordinate;
Control module, for including cursor at the position indicated by the cursor coordinates in the display area.
CN201810131566.6A 2018-02-08 2018-02-08 Cursor control method and device Active CN108255317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810131566.6A CN108255317B (en) 2018-02-08 2018-02-08 Cursor control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810131566.6A CN108255317B (en) 2018-02-08 2018-02-08 Cursor control method and device

Publications (2)

Publication Number Publication Date
CN108255317A true CN108255317A (en) 2018-07-06
CN108255317B CN108255317B (en) 2021-09-17

Family

ID=62744874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810131566.6A Active CN108255317B (en) 2018-02-08 2018-02-08 Cursor control method and device

Country Status (1)

Country Link
CN (1) CN108255317B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760513A (en) * 2022-04-22 2022-07-15 海信电子科技(武汉)有限公司 Display device and cursor positioning method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634639A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Television control method and television remote control
US20140116321A1 (en) * 2012-10-25 2014-05-01 Denso Corporation Meter with pointer
CN103995592A (en) * 2014-05-21 2014-08-20 上海华勤通讯技术有限公司 Wearable equipment and terminal information interaction method and terminal
CN104598035A (en) * 2015-02-27 2015-05-06 北京极维客科技有限公司 Cursor display method based on 3D image display, intelligent equipment and intelligent system
CN105929954A (en) * 2016-04-19 2016-09-07 京东方科技集团股份有限公司 Cursor control method and apparatus as well as display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140116321A1 (en) * 2012-10-25 2014-05-01 Denso Corporation Meter with pointer
CN103634639A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Television control method and television remote control
CN103995592A (en) * 2014-05-21 2014-08-20 上海华勤通讯技术有限公司 Wearable equipment and terminal information interaction method and terminal
CN104598035A (en) * 2015-02-27 2015-05-06 北京极维客科技有限公司 Cursor display method based on 3D image display, intelligent equipment and intelligent system
CN105929954A (en) * 2016-04-19 2016-09-07 京东方科技集团股份有限公司 Cursor control method and apparatus as well as display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760513A (en) * 2022-04-22 2022-07-15 海信电子科技(武汉)有限公司 Display device and cursor positioning method

Also Published As

Publication number Publication date
CN108255317B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN108431729B (en) Three-dimensional object tracking to increase display area
US9400570B2 (en) Stylus with inertial sensor
JP5552772B2 (en) Information processing apparatus, information processing method, and computer program
US20130207937A1 (en) Optical Stylus Interaction
US20110187647A1 (en) Method and apparatus for virtual keyboard interactions from secondary surfaces
US20150261330A1 (en) Method of using finger surface area change on touch-screen devices - simulating pressure
KR101019254B1 (en) apparatus having function of space projection and space touch and the controlling method thereof
US9213440B2 (en) System and method for remote touch detection
SI20774A (en) 3D sensitive board
JP2012069095A (en) Information processing device and control method thereof
JP2009276819A (en) Method for controlling pointing device, pointing device and computer program
CN111587414A (en) Multifunctional touch control pen
TWI553508B (en) Apparatus and method for object sensing
CN106406572A (en) Cursor control method and apparatus
CN108255317A (en) Method and device for controlling cursor
CN108227968A (en) Method and device for controlling cursor
JP2010267245A (en) Control method for sensor system
US20170075453A1 (en) Terminal and terminal control method
KR101102996B1 (en) Remote control device for diplay
JP2020052681A (en) Operation processing device
KR101116414B1 (en) Handwriting input device using for capacitive touch pannel
KR100682579B1 (en) Pointing device
KR100573895B1 (en) User interface method using 3dimension displaying picture and display device using that method
JP2009205609A (en) Pointing device
WO2019177849A1 (en) Enhance 2d/3d mouse for computer display interactions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant