CN103576901B - Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen - Google Patents

Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen Download PDF

Info

Publication number
CN103576901B
CN103576901B CN201210272447.5A CN201210272447A CN103576901B CN 103576901 B CN103576901 B CN 103576901B CN 201210272447 A CN201210272447 A CN 201210272447A CN 103576901 B CN103576901 B CN 103576901B
Authority
CN
China
Prior art keywords
screen
equipment
cursor
horizontal direction
vertical direction
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.)
Active
Application number
CN201210272447.5A
Other languages
Chinese (zh)
Other versions
CN103576901A (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201210272447.5A priority Critical patent/CN103576901B/en
Publication of CN103576901A publication Critical patent/CN103576901A/en
Application granted granted Critical
Publication of CN103576901B publication Critical patent/CN103576901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the implementation method that a kind of hand-hold electronic equipments enter line cursor control to screen, and methods described includes:Obtain parameter of the equipment during line cursor control is entered to screen;The parameter is handled and cursor is obtained in the positional information on the screen;The cursor is sent to screen equipment in the positional information on the screen by wireless network.The present invention also provides a kind of hand-hold electronic equipments.The present invention using obtaining parameter of the hand-hold electronic equipments during line cursor control is entered to screen, parameter is handled and obtains cursor in the positional information on screen and then cursor in the positional information on screen by wireless network is sent to screen equipment enters line cursor control to screen.Its operation is not limited by space, and the manipulation with solid space is felt.

Description

Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen
Technical field
The present invention relates to information input equipment, more particularly to a kind of handheld electronic for being used to enter screen line cursor control is set Standby and its implementation.
Background technology
With the development of science and technology, the life of people also becomes more and more intelligent.Many household electrical appliance can lead to Remote control is crossed to realize control.
Traditional remote control is mainly is operable to realization pair by user to the button of arrangement on the remote control device The selection of menu.
But, traditional remote control to space, light and operator in itself to familiarity of remote keying etc. all There is the requirement that comparison is high.For example, can be because not seeing Chu Jianpan and maloperation than user in the case of dark in light.If with Family is old man or child, as the operation of remote keying is more complicated and brings many inconvenience.In addition, traditional remote control Device is generally infrared signal transmission, and it operates the spatial relationship for being easily limited to remote control and being remotely-controlled between object.
The content of the invention
It is an object of the present invention to overcome the defect present in existing remote control, and a kind of hand-hold electronic equipments pair Screen enters the implementation method and the equipment of line cursor control, and operation is more facilitated.
The object of the invention to solve the technical problems is realized using following technical scheme.
A kind of hand-hold electronic equipments enter the implementation method of line cursor control to screen, and methods described includes:Set described in obtaining The standby parameter during line cursor control is entered to screen;The parameter is handled and cursor is obtained on the screen Positional information;The cursor is sent to screen equipment in the positional information on the screen by wireless network.
A kind of hand-hold electronic equipments, including:Sensing module, line cursor control is being entered to screen for obtaining the equipment During parameter, the parameter such as acceleration of gravity, angular speed or angle;Processing module, to the parameter Manage and obtain cursor in the positional information on the screen;Communication module, for by the cursor in the position on the screen Information is sent to screen equipment by wireless network.
The hand-hold electronic equipments that the present invention is provided enter the implementation method and the equipment of line cursor control to screen, utilize acquisition Parameter of the hand-hold electronic equipments during line cursor control is entered to screen, parameter is handled and cursor is obtained in screen On positional information then cursor in the positional information on screen by wireless network is sent to screen equipment to enter screen Line cursor is controlled.Its operation is not limited by space, and the manipulation with solid space is felt.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects, features and advantages of the present invention can Become apparent, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, describe in detail as follows.
Brief description of the drawings
Fig. 1 enters the flow of the implementation method of line cursor control for hand-hold electronic equipments in first embodiment of the invention to screen Figure;
Fig. 2 enters the specific of the implementation method of line cursor control for hand-hold electronic equipments in first embodiment of the invention to screen Flow chart;
Fig. 3 is the coordinate system schematic diagram of hand-hold electronic equipments itself in the embodiment of the present invention;
Fig. 4 is the schematic diagram of screen in the embodiment of the present invention;
Fig. 5 enters the schematic diagram of the implementation method of line cursor control for hand-hold electronic equipments in the embodiment of the present invention to screen;
Fig. 6 enters the particular flow sheet of the implementation method of line cursor control for mobile phone in second embodiment of the invention to screen;
Fig. 7 is the idiographic flow schematic diagram of the step S221 shown in Fig. 6;
Fig. 8 is the structure chart of hand-hold electronic equipments in third embodiment of the invention;
Fig. 9 is the structure chart of hand-hold electronic equipments in fourth embodiment of the invention.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined goal of the invention is taken, below in conjunction with Accompanying drawing and preferred embodiment, to according to hand-hold electronic equipments proposed by the present invention screen is entered line cursor control implementation method and The equipment its embodiment, method, step, structure, feature and its effect, are described in detail as follows.
For the present invention foregoing and other technology contents, feature and effect, in the following preferable reality coordinated with reference to schema Applying in the detailed description of example to clearly appear from.By the explanation of embodiment, when predetermined mesh can be reached to the present invention The technological means taken and effect be able to more deeply and it is specific understand, but institute's accompanying drawings are only to provide with reference to saying It is bright to be used, not for being any limitation as to the present invention.
The invention mainly relates to the implementation method and the equipment that a kind of hand-hold electronic equipments enter line cursor control to screen, hand Hold electronic equipment to can be, but not limited to as remote control, mobile phone, tablet personal computer etc., it is possible to achieve shield TV, computer monitor etc. Curtain enters line cursor control.Specifically it will be illustrated below so that hand-hold electronic equipments are mobile phone, screen is video screen as an example.
For the clearer description present invention, the coordinate system being related to is defined first.As shown in figure 3, defining hand The coordinate system of machine itself is x-y-z coordinate system, and wherein x-y plane is parallel with the operation and control interface of mobile phone.As shown in figure 4, definition electricity The horizontal direction of screen curtain 20 is h, and vertical direction is v.Other definition space coordinate system is X-Y-Z.
Embodiment 1
In first embodiment, it is assumed that during line cursor control is entered to video screen 20, user is fixed on some Position is held mobile phone or so or swung up and down, effective range and the formation of video screen 20 one that mobile phone is swung in a direction Sector region (refer to Fig. 5).Because user and the distance of video screen 20 are general bigger than the height or width of video screen 20 A lot, and user often stand video screen 20 center it is manipulated, therefore, it can be approximately considered, mobile phone away from It is from the left and right of video screen 20 or up and down equal with a distance from two borders.
Fig. 1 enters the flow of the implementation method of line cursor control for hand-hold electronic equipments in first embodiment of the invention to screen Figure, refer to Fig. 1, the implementation method mainly includes:
Step S11:Obtain parameter of the mobile phone during line cursor control is entered to screen.
Fig. 2 enters the specific of the implementation method of line cursor control for hand-hold electronic equipments in first embodiment of the invention to screen Flow chart.Fig. 2 is refer to, in the present embodiment, step S11 further comprises:
Step S11a, obtains mobile phone in the angular speed V of horizontal directionhAnd in the angular speed V of vertical directionv
In the present embodiment, for example, mobile phone can be obtained by the gyroscope being arranged in mobile phone in the angle speed of horizontal direction Spend VhAnd in the angular speed V of vertical directionv
Step S11b, obtains mobile phone component Gx, Gy, the Gz of acceleration of gravity in the axle of x, y, z three when inactive state.
In the present embodiment, for example, mobile phone can be positioned over to desktop, then obtained by the gravitational accelerometer in mobile phone Obtain mobile phone component Gx, Gy, the Gz of acceleration of gravity in the axle of x, y, z three when inactive state.
Step S12:Parameter is handled and cursor is obtained in the positional information on screen.
Fig. 2 is refer to, in the present embodiment, step S12 further comprises:
Step S121, according to mobile phone in the angular speed V of horizontal directionhAnd in the angular speed V of vertical directionvObtain mobile phone In the actual rotation angle beta of horizontal directionhAnd mobile phone is in the actual rotation angle beta of vertical directionv.Wherein, βhCan be by formula βh =Vh* 1/W is calculated, βvCan be by formula βv=Vv* 1/W is calculated.W is the sample rate of gyroscope.
Step S122, according to mobile phone in the maximum angle rotatable α of horizontal directionhReality with mobile phone in horizontal direction turns Dynamic angle betahCursor is obtained in the cursor position H on screen level direction, according to mobile phone in the rotatable angle of maximum of vertical direction Spend αvWith mobile phone in the actual rotation angle beta of vertical directionvCursor is obtained in the cursor position V on screen vertical direction.
Specifically, Fig. 5 is referred to, and in Figure 5, LhRepresent pixel count, r of the screen in horizontal directionhRepresent mobile phone to screen Distance, α in two borders of horizontal directionhRepresent mobile phone in maximum angle rotatable, the β of horizontal directionhRepresent mobile phone in water Square to actual rotation angle, H represent cursor in the cursor position on screen level direction, it can be seen that cursor is in screen Cursor position H in horizontal direction can according to screen in the pixel count of horizontal direction, mobile phone to screen in the two of horizontal direction Actual rotation angle in horizontal direction of maximum angle rotatable, mobile phone in horizontal direction of the distance on individual border, mobile phone, application Triangle sine (a/sinA=b/sinB=c/sinC=2R(R is the radius of triangle circumscribed circle)) calculate.H according to Equation one:Lh/sin(αh)=rh/sin((180-αh)/2) and equation two:rh/sin(180-βh-(180-αh)/2)=H/ sin(βh) calculate.It has been mentioned hereinbefore that the distance due to mobile phone to video screen in two borders of horizontal direction is near Patibhaga-nimitta etc., therefore here with a letter rhRepresent.
Similarly, in vertical direction, according to screen in the pixel count of vertical direction, mobile phone to screen in two of vertical direction The distance on border, mobile phone in the maximum angle rotatable of vertical direction, mobile phone in the actual rotation angle of vertical direction, using three Angular sine calculates cursor in the cursor position on screen vertical direction, that is to say, that cursor is on screen vertical direction Cursor position V can be according to equation three:Lv/sin(αv)=rv/sin((180-αv)/2) and equation four:rv/sin (180-βv-(180-αv)/2)=V/sin(βv) calculate, wherein, LvRepresent pixel count, r of the screen in vertical directionvRepresent Mobile phone is to screen in the distance on two borders of vertical direction.Mobile phone is to video screen in the distance on two borders of horizontal direction Also with a letter rvRepresent.As can be seen that the cursor obtained by the above method in the cursor position H on screen level direction with And cursor in the cursor position V on screen vertical direction be cursor in the relative position of this screen 20, the specific resolution with screen Rate and size are unrelated, therefore go for the screen of any size.
It is preferred that, step S122 take a step forward including:
Step S120:Mobile phone is calibrated in the maximum angle rotatable α of horizontal directionhAnd can turn in the maximum of vertical direction Dynamic angle [alpha]v
α in Fig. 5hBe mobile phone in the maximum angle rotatable of horizontal direction, user from be usually with a distance from TV it is fixed, This angle can be calibrated when user uses for the first time or when user feels that operation is inaccurate.
Specific calibration process includes:
Step S1201, obtains the side pointed by the equipment when cursor is directed at screen in two borders of horizontal direction To.
Specifically, refer to Fig. 4, in step S1201, TV can send prompting, point out user's cell phone, make light Mark alignment video screen is in the first border 201 of horizontal direction, while mobile phone for example obtains mobile phone meter in now by magnetometer Pointed first direction, then user's cell phone cursor is directed at video screen in the second boundary 202 of horizontal direction, together When obtain mobile phone in now pointed second direction.
Step S1202, by calculate when cursor be aligned screen in two borders of horizontal direction when mobile phone pointed by two The difference in individual direction calibrates mobile phone in the maximum angle rotatable α of horizontal directionhAnd according to mobile phone when inactive state gravity Acceleration calibrates mobile phone in the maximum angle rotatable α of vertical direction in the component of the axle of x, y, z threev
In the present embodiment, mobile phone is in the maximum angle rotatable α of horizontal direction in step S1202hEqual to when cursor pair The difference of both direction of quasi- screen when two borders of horizontal direction pointed by magnetometer, that is, above-mentioned first direction with The direction of second direction is poor.Mobile phone is in the maximum angle rotatable of vertical direction in step S1202Wherein
Step S13:Cursor is sent to screen equipment in the positional information on screen by wireless network.
According to the above method, processing module calculates cursor in cursor position H and light in video screen horizontal direction It is marked in after the cursor position V in video screen vertical direction, the communication module on mobile phone can be by cursor on video screen Positional information (H, V) video screen is sent to by wireless network, then video screen shows cursor.
The hand-hold electronic equipments that the present embodiment is provided enter the implementation method of line cursor control to screen, using obtaining hand-held electricity Parameter of the sub- equipment during line cursor control is entered to screen, parameter is handled and cursor is obtained in the position on screen Confidence ceases and then by wireless network is sent to screen equipment to enter line cursor to screen in the positional information on screen by cursor Control.Its operation is not limited by space, and the manipulation with solid space is felt.
Embodiment 2
In a second embodiment, it is assumed that user is not fixed on some position and TV is controlled, but in sky Between arbitrarily swing mobile phone, that is to say, that the sector region shown in Fig. 5 can not be formed.Fig. 6 is mobile phone in second embodiment of the invention Enter the particular flow sheet of the implementation method of line cursor control to screen, refer to Fig. 6, the implementation method mainly includes:
Step S21:Mobile phone is obtained in space coordinate X, gravitational acceleration component AX', AY' of Y-axis.
In the present embodiment, for example, sampling can be carried out by accelerometer and obtains mobile phone in space coordinate X, the weight of Y-axis Power component of acceleration AX', AY'.
Step S22:Parameter is handled and cursor is obtained in the positional information on screen.
In the present embodiment, step S22 further comprises:
Step S221, correct gravitational acceleration component AX', AY', obtain mobile phone in X, the actual acceleration component A X of Y-axis, AY。
Fig. 7 is refer to, in step S221, is further comprised:
Step S2211, calculates the angle δ and Y-Z plane and the folder of gravity of the X-Y plane and gravity in space coordinates Angle ε;
Step S2212, by angle δ, ε split gravity vector, obtain acceleration of gravity in the axle of X, Y, Z tri- component GX, GY、GZ;
Step S2213, reading AX', AY', AZ' of amendment gravitational accelerometer obtain the actual acceleration of the axle of X, Y, Z tri- AX、AY、AZ.Wherein, AX=AX'-GX, AY=AY'-GY, AZ=AZ'-GZ.
Step S222, mobile phone is calculated in X, displacement component SX, SY of Y-axis according to actual acceleration component.
Wherein, VX0=VX0'+AX " Dt, VY0=VY0'+ AY " Dt, AX ", AY " are gravitational accelerometer in the preceding acceleration once sampled, VX0′、VY0' preceding once sample is obtained Speed.
Step S223, the difference SX of the displacement component obtained according to present sample with previous samplingdAnd SYdObtain cursor In the cursor position H ' and cursor in video screen horizontal direction in the cursor position V ' on screen vertical direction.
It is appreciated that as the difference SX for obtaining displacement componentdAnd SYdAfterwards just can be according to previous cursor in TV screen The relativeness of position and X-Y-Z coordinate systems and video screen on curtain is by the difference SX of displacement componentdAnd SYdIt is mapped to Cursor in the cursor position H ' and cursor in video screen horizontal direction in the cursor position V ' on screen vertical direction, here Repeat no more.
Step S23:Cursor is sent to screen equipment in the positional information on screen by wireless network.
This step is identical with first embodiment, repeats no more here.
The hand-hold electronic equipments that the present embodiment is provided enter the implementation method of line cursor control to screen, using obtaining hand-held electricity Parameter of the sub- equipment during line cursor control is entered to screen, parameter is handled and cursor is obtained in the position on screen Confidence ceases and then by wireless network is sent to screen equipment to enter line cursor to screen in the positional information on screen by cursor Control.Its operation is not limited by space, and the manipulation with solid space is felt.
Embodiment 3
Fig. 8 is the structure chart of hand-hold electronic equipments in third embodiment of the invention.The hand-hold electronic equipments can with but not It is limited to remote control, mobile phone, tablet personal computer etc., it is possible to achieve line cursor control is entered to the screens such as TV, computer monitor 20.
Fig. 8 is refer to, the hand-hold electronic equipments 10 mainly include:Sensing module 11, processing module 12 and communication module 13。
Sensing module 11 is used to obtain parameter of the equipment during screen is entered line cursor control, such as gravity The parameters such as acceleration, angular speed or angle.
In the present embodiment, sensing module 11 further comprises that angular speed acquisition module 111 and acceleration of gravity are obtained Module 112.
Angular speed acquisition module 111 is used to obtain mobile phone in the angular speed V of horizontal directionhAnd in the angle speed of vertical direction Spend Vv.Angular speed acquisition module 111 is, for example, gyroscope.
Acceleration of gravity acquisition module 112 be used for obtain mobile phone when inactive state acceleration of gravity in the axle of x, y, z three Component Gx, Gy, Gz.Acceleration of gravity acquisition module 112 is, for example, gravitational accelerometer.
It is preferred that, sensing module 11 also includes direction acquisition module 113, for obtaining when cursor is directed at screen in level side To two borders when the equipment pointed by direction.In the present embodiment, direction acquisition module 113 is, for example, magnetometer.
Processing module 12 is used to handle the parameter and obtain cursor in the positional information on the screen.
Processing module 12 can be directly using microprocessors such as the CPU of mobile phone.
In the present embodiment, processing module 12 includes rotational angle acquisition module 121, cursor position acquisition module 122.
Rotational angle acquisition module 121 is used for according to mobile phone in the angular speed V of horizontal directionhAnd in the angle of vertical direction Speed VvMobile phone is obtained in the actual rotation angle beta of horizontal directionhAnd mobile phone is in the actual rotation angle beta of vertical directionv.Tool The description that can refer in first embodiment of body, is repeated no more here.
Cursor position acquisition module 122 is according to mobile phone in the maximum angle rotatable α of horizontal directionhWith mobile phone in level side To actual rotation angle betahCursor is obtained in the cursor position H on screen level direction, according to mobile phone in vertical direction most Big angle rotatable αvWith mobile phone in the actual rotation angle beta of vertical directionvCursor is obtained in the cursor position on screen vertical direction Put V.The specific description that can refer in first embodiment, is repeated no more here.
It is preferred that, processing module 12 also includes calibration module 120.
Calibration module 120 is used to calibrate mobile phone in the maximum angle rotatable α of horizontal directionhAnd in vertical direction most Big angle rotatable αv.By calculating two sides when cursor is directed at screen in two borders of horizontal direction pointed by mobile phone To difference calibrate mobile phone in the maximum angle rotatable α of horizontal directionhAnd gravity accelerates when inactive state according to mobile phone The component spent in the axle of x, y, z three calibrates mobile phone in the maximum angle rotatable α of vertical directionv.Specifically it can refer to the first implementation Description in example, is repeated no more here.
Communication module 13 is used to the cursor being sent to screen by wireless network in the positional information on the screen Equipment, screen equipment displays it.It is preferred that, the screen equipment such as communication module 13 and TV is connected by wireless network Connect, for example, pass through Wi-Fi connection.In Wi-Fi with net environment, it is only necessary to the electronic equipment such as mobile phone in user's movement hand Enter line cursor control to video screen, user's controlled in wireless screen under remote condition can be met, be directly realized by long-range every sky Remote control, solves the unhandy problem produced during remote viewing TV.
Embodiment 4
Fig. 9 is the structure chart of hand-hold electronic equipments in fourth embodiment of the invention.The hand-hold electronic equipments can with but not It is limited to remote control, mobile phone, tablet personal computer etc., it is possible to achieve line cursor control is entered to the screens such as TV, computer monitor 20.
Fig. 9 is refer to, the hand-hold electronic equipments 20 mainly include:Sensing module 21, processing module 22 and communication module 23。
Sensing module 21 is used to obtain parameter of the equipment during screen is entered line cursor control, such as gravity The parameters such as acceleration, angular speed or angle.
In the present embodiment, sensing module 21 further comprises acceleration of gravity acquisition module 211.
Acceleration of gravity acquisition module 211 be used for obtain mobile phone in space coordinate X, the gravitational acceleration component AX' of Y-axis, AY'.The specific associated description that can refer in second embodiment, is repeated no more here.
Processing module 22 is used to handle the parameter and obtain cursor in the positional information on the screen.
Processing module 22 can be directly using microprocessors such as the CPU of mobile phone.
In the present embodiment, processing module 22 includes correcting module 221, computing module 222, cursor position acquisition module 223。
Correcting module 221 is used to correct gravitational acceleration component AX', AY', obtains mobile phone in X, the actual acceleration of Y-axis Component A X, AY.The specific associated description that can refer in second embodiment, is repeated no more here.
Computing module 222 is used to calculate mobile phone in X, displacement component SX, SY of Y-axis according to actual acceleration component A X, AY. The specific associated description that can refer in second embodiment, is repeated no more here.
Cursor position acquisition module 223 is used for the difference SX of the displacement component obtained according to present sample with previous samplingd And SYdCursor is obtained in the cursor position H ' and cursor in video screen horizontal direction in the cursor on screen vertical direction Position V '.The specific associated description that can refer in second embodiment, is repeated no more here.
Communication module 23 is used to the cursor being sent to screen by wireless network in the positional information on the screen Equipment, screen equipment displays it.It is preferred that, the screen equipment such as communication module 23 and TV is connected by wireless network Connect, for example, pass through Wi-Fi connection.In Wi-Fi with net environment, it is only necessary to the electronic equipment such as mobile phone in user's movement hand Enter line cursor control to video screen, user's controlled in wireless screen under remote condition can be met, be directly realized by long-range every sky Remote control, solves the unhandy problem produced during remote viewing TV.
In summary, the hand-hold electronic equipments that provide of the present invention screen is entered line cursor control implementation method and this set It is standby, using obtaining parameter of the hand-hold electronic equipments during line cursor control is entered to screen, parameter handled and obtained To cursor is in the positional information on screen and then cursor is sent into screen by wireless network in the positional information on screen set It is standby to enter line cursor control to screen.Its operation is not limited by space, and the manipulation with solid space is felt.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification For the equivalent embodiment of equivalent variations, as long as being the technical spirit pair according to the present invention without departing from technical solution of the present invention content Any simple modification, equivalent variations and modification that above example is made, in the range of still falling within technical solution of the present invention.

Claims (5)

1. a kind of hand-hold electronic equipments enter the implementation method of line cursor control to screen, it is characterised in that methods described includes:
If the effective range that hand-hold electronic equipments are swung in a direction and screen one sector region of formation, methods described Comprise the following steps:
Parameter of the equipment during line cursor control is entered to screen is obtained, wherein, the equipment is obtained to screen Entering the parameter during line cursor control includes:Obtain equipment angular speed in the horizontal direction and in vertical direction Angular speed;Obtain the equipment component of acceleration of gravity in the axle of x, y, z three in inactive state;
The parameter is handled and the positional information of cursor on the screen is obtained, wherein, it is described that the parameter is entered Row is handled and included the step of obtaining the positional information of cursor on the screen:According to the angle speed of the equipment in the horizontal direction Spend VhAnd in the angular speed V of vertical directionvIt is utilized respectively formula:βh=Vh* 1/W, βv=Vv* 1/W obtains the equipment in water Square to actual rotation angle betahAnd the equipment is in the actual rotation angle beta of vertical directionv, wherein, W is gyroscope Sample rate;According to the pixel count L of the screen in the horizontal directionh, two borders of the equipment to screen in the horizontal direction Apart from the maximum angle rotatable α of rh, the equipment in the horizontal directionhWith the actual rotation angle of the equipment in the horizontal direction βh, equation below is passed through using triangle sine:Lh/sin(αh)=rh/sin ((180- αh)/2) and rh/sin (180- β H- (180- α h)/2) cursor position H of=H/sin (β h) the acquisition cursors on screen level direction;Hung down according to the screen Nogata to pixel count Lv, the equipment to screen on two borders of vertical direction apart from rv, the equipment in Vertical Square To maximum angle rotatable αvWith the equipment vertical direction actual rotation angle betav, it is public using triangle sine Formula:Lv/sin(αv)=rv/sin((180-αv)/2) and rv/sin (180- β v- (180- α v)/2)=V/sin (β v) obtain light It is marked on the cursor position V on screen vertical direction;
The positional information of the cursor on the screen is sent to screen equipment by wireless network;
If the effective range that hand-hold electronic equipments are swung in a direction can not form a sector region with screen, described Method comprises the following steps:
Obtain gravitational acceleration component of the equipment in solid axes;
Gravitational acceleration component is corrected, actual acceleration component of the equipment in solid axes is obtained;
Displacement component of the equipment in solid axes is calculated according to actual acceleration component;
Cursor is obtained on the screen level direction according to the difference of present sample and the previous displacement component sampled and obtained The cursor position of cursor position and cursor on the screen vertical direction;
Wherein, the amendment gravitational acceleration component, obtains step of the equipment in the actual acceleration component of solid axes Suddenly include:
Calculate the angle δ and Y-Z plane and the angle ε of gravity of the X-Y plane and gravity in the space coordinates;
Gravity vector is split by angle δ, ε, component GX, GY, the GZ of acceleration of gravity in the axle of X, Y, Z tri- is obtained;And
Correct the gravitational accelerometer reading AX', AY', AZ' obtain the actual acceleration AX of the axle of X, Y, Z tri-, AY, AZ, wherein, AX=AX'-GX, AY=AY'-GY, AZ=AZ'-GZ.
2. implementation method as claimed in claim 1, it is characterised in that it is described can according to the maximum of the equipment in the horizontal direction Actual rotation angle of the rotational angle with the equipment in the horizontal direction obtains cursor position of the cursor on screen level direction, Maximum angle rotatable and the equipment according to the equipment in vertical direction are obtained in the actual rotation angle of vertical direction The step of cursor position of the cursor on screen vertical direction take a step forward including:
The equipment maximum angle rotatable in the horizontal direction and the maximum angle rotatable in vertical direction are calibrated,
Wherein, the calibration equipment maximum angle rotatable in the horizontal direction and rotatable in the maximum of vertical direction The step of angle, includes:
By the difference for calculating the both direction when cursor is directed at two borders of screen in the horizontal direction pointed by the equipment The maximum angle rotatable of value calibration mobile phone in the horizontal direction;
According to the equipment, in inactive state, acceleration of gravity G utilizes equation below in component GX, GY, GZ of the axle of x, y, z three:Calibrate maximum angle rotatable α of the equipment in vertical directionv, wherein,
3. a kind of hand-hold electronic equipments, it is characterised in that including:
Sensing module, used in parameter of the equipment during line cursor control is entered to screen is obtained, the parameter includes Acceleration of gravity, angular speed or angle parameter, wherein, the sensing module includes:Angular speed acquisition module and gravity accelerate Acquisition module is spent, if effective range and screen one sector region of formation, angle that hand-hold electronic equipments are swung in a direction Speed acquiring module, for obtaining equipment angular speed in the horizontal direction and the angular speed in vertical direction;Gravity adds Speed acquiring module, for obtaining the equipment component of acceleration of gravity in the axle of x, y, z three in inactive state;
Processing module, for being handled the parameter and being obtained the positional information of cursor on the screen, wherein, it is described Processing module includes:Rotational angle acquisition module, cursor position acquisition module, correcting module, computing module, if handheld electronic is set The standby effective range swung in a direction is used for according to institute with screen one sector region of formation, rotational angle acquisition module State the angular speed V of equipment in the horizontal directionhAnd in the angular speed V of vertical directionvIt is utilized respectively formula:βh=Vh* 1/W, βv= Vv* 1/W obtains the actual rotation angle beta of the equipment in the horizontal directionhAnd the equipment is at the actual rotation angle of vertical direction Spend βv, wherein, W is the sample rate of gyroscope;Cursor position acquisition module is used for the pixel according to the screen in the horizontal direction Number Lh, two borders of the equipment to screen in the horizontal direction can turn apart from rh, the maximum of the equipment in the horizontal direction Dynamic angle [alpha]hWith the actual rotation angle beta of the equipment in the horizontal directionh, equation below is passed through using triangle sine: Lh/sin(αh)=rh/sin ((180- αh)/2) and rh/sin (180- β h- (180- α h)/2)=H/sin (β h) obtain cursor and existed Cursor position H on screen level direction, according to the pixel count L of the screen in the horizontal directionv, the equipment to screen is in water Square to two borders apart from rv, the equipment vertical direction maximum angle rotatable αvWith the equipment vertical The actual rotation angle beta in directionv, using triangle sine formula:Lv/sin(αv)=rv/sin((180-αv)/2) and rv/ Sin (180- β v- (180- α v)/2)=V/sin (β v) obtains cursor position V of the cursor on screen vertical direction;
Communication module, for cursor positional information on the screen to be sent into screen equipment by wireless network;
Wherein, if the effective range that hand-hold electronic equipments are swung in a direction can not form a sector region with screen, Acceleration of gravity acquisition module, for obtaining gravitational acceleration component of the mobile phone in solid axes;Correcting module, for calculating The angle δ and Y-Z plane and the angle ε of gravity of X-Y plane and gravity in the space coordinates, and pass through angle δ, ε Gravity vector is split, acceleration of gravity is obtained after component GX, GY, GZ of the axle of X, Y, Z tri-, corrects the gravitational accelerometer Reading AX', AY', AZ' obtain actual acceleration AX, AY, AZ of the axle of X, Y, Z tri-, wherein, AX=AX'-GX, AY= AY'-GY, AZ=AZ'-GZ;Computing module, for calculating the equipment in solid axes according to actual acceleration component Displacement component;Cursor position acquisition module, for being obtained according to present sample and the difference of the previous displacement component sampled and obtained Cursor position and cursor cursor position on the screen vertical direction of the cursor on the screen level direction.
4. equipment as claimed in claim 3, it is characterised in that the sensing module further comprises direction acquisition module, is used In direction of the acquisition when cursor is directed at two borders of screen in the horizontal direction pointed by the equipment.
5. equipment as claimed in claim 3, it is characterised in that the processing module further comprises:
Calibration module, for by calculating when cursor is directed at two borders of screen in the horizontal direction pointed by the equipment The maximum angle rotatable of the difference calibration mobile phone of both direction in the horizontal direction, and weighed according to the equipment in inactive state Power acceleration G utilizes equation below in component GX, GY, GZ of the axle of x, y, z three:The equipment is calibrated to hang down Nogata to maximum angle rotatable αv, wherein,
CN201210272447.5A 2012-08-02 2012-08-02 Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen Active CN103576901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210272447.5A CN103576901B (en) 2012-08-02 2012-08-02 Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210272447.5A CN103576901B (en) 2012-08-02 2012-08-02 Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen

Publications (2)

Publication Number Publication Date
CN103576901A CN103576901A (en) 2014-02-12
CN103576901B true CN103576901B (en) 2017-10-03

Family

ID=50048849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210272447.5A Active CN103576901B (en) 2012-08-02 2012-08-02 Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen

Country Status (1)

Country Link
CN (1) CN103576901B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970297B (en) * 2014-05-29 2017-08-08 广州视源电子科技股份有限公司 A kind of inducing method and device of space absolute displacement
CN104123015A (en) * 2014-07-18 2014-10-29 广东易凌信息科技有限公司 System for simulating laser pen through mobile phone and achieving method of system
CN104270657B (en) * 2014-09-09 2018-11-09 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105785765A (en) * 2014-12-15 2016-07-20 广州市动景计算机科技有限公司 Information processing and remote control method of smart home device, device and system
CN105681573A (en) * 2016-02-22 2016-06-15 努比亚技术有限公司 Mobile terminal and control method thereof
CN107229353B (en) * 2017-05-09 2020-05-22 歌尔科技有限公司 Empty mouse displacement acquisition method and device
CN108176044B (en) * 2017-12-29 2020-06-05 贵阳动视云科技有限公司 Method and device for acquiring virtual handle rocker signal
CN108491119B (en) * 2018-01-19 2020-06-02 昆山国显光电有限公司 Cursor control method and position detection method and system
CN109558045A (en) * 2018-11-27 2019-04-02 Oppo(重庆)智能科技有限公司 With method, apparatus, terminal and the storage medium of mobile terminal control cursor
CN110471584A (en) * 2019-07-05 2019-11-19 深圳市格上格创新科技有限公司 A kind of the cursor of mouse control method and device of handheld input device
CN112527222A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Information processing method and electronic equipment
CN111026314B (en) * 2019-10-25 2022-03-25 华为终端有限公司 Method for controlling display device and portable device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206537A (en) * 2006-12-22 2008-06-25 财团法人工业技术研究院 Inertia sensing type coordinate input device and method
CN101655737A (en) * 2008-08-19 2010-02-24 英属维京群岛速位互动股份有限公司 Inertial sensor device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535773A (en) * 2004-04-30 2007-12-06 ヒルクレスト・ラボラトリーズ・インコーポレイテッド Free space pointing device and pointing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206537A (en) * 2006-12-22 2008-06-25 财团法人工业技术研究院 Inertia sensing type coordinate input device and method
CN101655737A (en) * 2008-08-19 2010-02-24 英属维京群岛速位互动股份有限公司 Inertial sensor device

Also Published As

Publication number Publication date
CN103576901A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103576901B (en) Hand-hold electronic equipments enter the implementation method and the equipment of line cursor control to screen
CN103513894B (en) Display device, remote control equipment and its control method
CN101480061B (en) Orientation sensing in a multi part device
CN103226398B (en) Based on the data glove of micro-inertia sensor network technology
CN102664988B (en) Three-dimensional interaction method based on intelligent mobile phone and system thereof
CN104956648B (en) Method and apparatus for sensing the orientation of object in space in fixed reference frame
TWI547788B (en) Electronic device and gravity sensing calibration method thereof
CN107329671A (en) Model display methods and device
CN109952552A (en) Visual cues system
WO2012109832A1 (en) Hand-writing pen and mobile terminal
US20170068332A1 (en) Input device and control system
CN104166466A (en) Body feeling manipulating system and method provided with auxiliary control function
CN204945943U (en) For providing the remote control equipment of remote control signal for external display device
CN108882156A (en) A kind of method and device for calibrating locating base station coordinate system
US20160077552A1 (en) Wearable device and control method thereof
CN104123015A (en) System for simulating laser pen through mobile phone and achieving method of system
CN103246431B (en) A kind of regulation screen display direction method, Apparatus and system
CN102915189B (en) A kind of display processing method and electronic equipment
CN106445334A (en) Adjustment method and adjustment system for display interface
CN103116411A (en) Positioning pointer position method and system
KR20090106767A (en) Apparatus and method for pointing in three dimensions
CN103475941A (en) Interaction equipment based picture rotation control method and apparatus
CN105698733B (en) House interior shape measurement method
CN115655249A (en) Compass calibration method and device, electronic equipment and readable storage medium
CN101854415A (en) Four-dimensional operating mobile phone and information sensing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151028

Address after: Beijing 100080 Haidian District 38 Haidian Avenue branch bank building 16 1601-1608 room

Applicant after: Tencent Technology (Beijing) Co., Ltd

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

GR01 Patent grant
GR01 Patent grant