CN107707955A - Cursor control method and smart machine on a kind of display - Google Patents
Cursor control method and smart machine on a kind of display Download PDFInfo
- Publication number
- CN107707955A CN107707955A CN201710761264.2A CN201710761264A CN107707955A CN 107707955 A CN107707955 A CN 107707955A CN 201710761264 A CN201710761264 A CN 201710761264A CN 107707955 A CN107707955 A CN 107707955A
- Authority
- CN
- China
- Prior art keywords
- value
- smart machine
- angle
- display
- cursor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000004891 communication Methods 0.000 claims abstract description 12
- 238000001514 detection method Methods 0.000 claims description 23
- 230000001133 acceleration Effects 0.000 claims description 22
- 238000006073 displacement reaction Methods 0.000 claims description 5
- 230000005484 gravity Effects 0.000 claims description 5
- 230000005055 memory storage Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 11
- 238000004519 manufacturing process Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 14
- 230000035945 sensitivity Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000000205 computational method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- BYACHAOCSIPLCM-UHFFFAOYSA-N 2-[2-[bis(2-hydroxyethyl)amino]ethyl-(2-hydroxyethyl)amino]ethanol Chemical compound OCCN(CCO)CCN(CCO)CCO BYACHAOCSIPLCM-UHFFFAOYSA-N 0.000 description 1
- 241000375392 Tana Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The present embodiments relate to communication technical field, discloses the cursor control method on a kind of display and a kind of smart machine.The cursor control method on display in the present invention includes:Establish and communicate to connect with the terminal provided with display;Detect the position zinformation of smart machine;According to position zinformation, the cursor on indication display moves;Wherein, cursor follows the movement of smart machine position and moved.Established by smart machine with the terminal provided with display and communicate to connect the function of making smart machine that there is remote control, it is not necessary to special remote control is used, so as to save the cost of manufacture of remote control.User need to only move the smart machine carried with regard to the cursor on display can be made to be moved to the desired region of user, so that operating process is more conveniently and quickly, Consumer's Experience is substantially increased while remote control original function is realized.
Description
Technical field
The present embodiments relate to communication technical field, cursor control method and intelligence on more particularly to a kind of display
Equipment.
Background technology
Intelligent television is to impact the new product to be formed based on internet tide, and the purpose is to bring user's more easily body
Test, have become the trend trend of TV at present.Intelligent television has open platform, is equipped with operating system, user is glad
While appreciating general television content, types of applications software can be voluntarily installed and uninstalled, persistently function is expanded and upgraded
New tv product.Intelligent television can constantly bring to user and be different from, using wired digital teleset (set top box),
Abundant individualized experience.
However, it is found by the inventors that at least there is problems with prior art:Intelligent television by remote control up and down
Key is not convenient enough and quick to control the cursor on display to move.And need to configure special remote control to operate, operate
It is less convenient to get up.
The content of the invention
The purpose of embodiment of the present invention is to provide cursor control method, smart machine and end on a kind of display
End so that it is more convenient by controlling the cursor on the i.e. controllable display of the smart machine carried with to move, significantly
Consumer's Experience is improved, while also eliminates the cost for making special remote control.
In order to solve the above technical problems, embodiments of the present invention provide the cursor control method on a kind of display,
Applied to smart machine, comprise the following steps:
Establish and communicate to connect with the terminal provided with display;
Detect the position zinformation of smart machine;
According to position zinformation, the cursor on indication display moves;Wherein, cursor follows the shifting of smart machine position
Move and move.
Embodiments of the present invention additionally provide a kind of smart machine, including:At least one processor;And
The memory being connected with least one processor communication;Wherein,
Memory storage, which has, to be instructed by the instruction of at least one computing device by least one computing device, with
It is able to carry out at least one processor:
Establish and communicate to connect with the terminal provided with display;
Detect the position zinformation of smart machine;
According to position zinformation, the cursor on indication display moves;Wherein, cursor follows the shifting of smart machine position
Move and move.
Embodiment of the present invention in terms of existing technologies, by by smart machine with provided with display terminal establish
Communicate to connect the function of making smart machine that there is remote control, it is not necessary to special remote control is used, so as to save the system of remote control
Make cost.By detecting the position zinformation of smart machine and according to the position zinformation detected, on indication display
Cursor movement;Wherein, cursor follows the movement of smart machine position and moved, and smart machine is reached the effect of remote control
Fruit.User need to only move the smart machine carried with regard to the cursor on display can be made to be moved to the region that user specifies, from
And make operating process more conveniently and quickly, substantially increase Consumer's Experience while remote control original function is realized.
In addition, according to position zinformation, the cursor movement on indication display, specifically include:By position zinformation
Terminal is sent to, for terminal according to position zinformation, calculates the moving direction of cursor and light corresponding with position zinformation
Mark displacement.By calculating the moving direction of cursor corresponding with position zinformation and cursor displacement, so as to more smart
True obtains the particular location of cursor over the display, while making operating process more convenient, improves operation
Accuracy.
In addition, the position zinformation of detection smart machine, is specifically included:Detect first jiao swung in vertical direction
Angle value and the second angle value swung in the horizontal direction;The first ratio value is obtained, the first ratio value is for first angle value and in advance
If ordinate angle threshold ratio;The second ratio value is obtained, the second ratio value is second angle value and default abscissa
The ratio of angle threshold;Using the first ratio value and the second ratio value as position zinformation.Have by calculating two ratio values
Beneficial to the coordinate value of cursor in the display is calculated, so that the more accurately movement of control cursor, convenient for users to use.
In addition, obtaining the first ratio value, specifically include:When first angle value is more than ordinate angle threshold, by first
Angle value is arranged to ordinate angle threshold;According to the first angle value after setting and ordinate angle threshold, the first ratio is obtained
Example value;The second ratio value is obtained, is specifically included:When second angle value is more than abscissa angle threshold, second angle value is set
It is set to abscissa angle threshold;According to the second angle value after setting and abscissa angle threshold, the second ratio value is obtained.Avoid
User by the angle swinging of smart machine it is excessive when, the ordinate value that is calculated exceedes that maximum on display is vertical to sit
Scale value, it is not inconsistent with actual conditions, i.e., exceedes default angle threshold when the angle value that user swings smart machine arrives greatly, counting
Angle value is arranged to default angle threshold when calculating ratio value, is user-friendly, substantially increases Consumer's Experience.
In addition, the detection first angle value swung in vertical direction and the second angle value swung in the horizontal direction,
Specifically include:The first angle value swung in vertical direction is detected using the gravity sensor for being built in smart machine;Using
It is built in the second angle value of the swing of the geomagnetic sensors detection of smart machine in the horizontal direction.By using built-in biography
Sensor, be advantageous to obtain accurately angle value, so that the distance for the cursor movement being calculated is more accurate.
In addition, before the first ratio value is obtained, in addition to:Whether detection first angle value is more than the first predetermined threshold value;
If first angle value is more than the first predetermined threshold value, then performs and obtain the first ratio value;Before the second ratio value is obtained, also
Including:Whether detection second angle value is more than the second predetermined threshold value;If second angle value is more than the second predetermined threshold value, then holds
Row obtains the second ratio value.By the way that first angle value and the first predetermined threshold value are contrasted and second angle value and second are preset into threshold
Value contrast, i.e., only just think that user wants to control the cursor on display to move by swinging smart machine when more than threshold value
It is dynamic.Because user may also cause smart machine small angle oscillation in normal operating, therefore, preset by setting first respectively
Threshold value and the second predetermined threshold value, be advantageous to avoid user from being not intended to control display using smart machine is swung in normal operating
On cursor movement situation, so as to convenient for users to use, substantially increase Consumer's Experience.
In addition, position zinformation includes:The direction of smart machine movement and acceleration;With the terminal provided with display
Establish after communication connection, in addition to:Detect the anglec of rotation of smart machine;If the anglec of rotation is more than the 3rd predetermined threshold value,
Then instruction terminal performs clicking operation.By by the anglec of rotation of the smart machine detected compared with the 3rd predetermined threshold value, such as
The fruit anglec of rotation is more than the 3rd predetermined threshold value, it indicates that terminal performs clicking operation, and further perfect smart machine is as distant
The function of device is controlled, makes operating process more convenient.
In addition, the position zinformation of detection smart machine, is specifically included:Passed using the gyroscope for being built in smart machine
The direction of sensor detection smart machine movement;Smart machine movement is detected using the acceleration transducer for being built in smart machine
Acceleration.The direction of smart machine movement can be accurately detected by built-in gyro sensor, and by built-in
Acceleration transducer can accurately detect smart machine movement acceleration.Therefore, smart machine movement direction and
Mobile acceleration can the preferably movement of indicating cursor over the display, make operating process more convenient, carry significantly
Consumer's Experience is risen.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in accompanying drawing are expressed as similar element, removed
Non- have a special statement, and composition does not limit the figure in accompanying drawing.
Fig. 1 is the schematic flow sheet of the cursor control method on the display according to first embodiment of the invention;
Fig. 2 is the signal of first angle value in the cursor control method on the display according to first embodiment of the invention
Figure;
Fig. 3 is the signal of second angle value in the cursor control method on the display according to first embodiment of the invention
Figure;
Fig. 4 is the schematic flow sheet of the cursor control method on the display according to second embodiment of the invention;
Fig. 5 is the schematic flow sheet of the cursor control method on the display according to third embodiment of the invention;
Fig. 6 is the schematic diagram according to the smart machine of four embodiment of the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order that reader more fully understands the application and proposes many ins and outs.But even if without these ins and outs
With many variations based on following embodiment and modification, the application technical scheme claimed can also be realized.
The first embodiment of the present invention is related to the cursor control method on a kind of display.The core of present embodiment exists
Establish and communicate to connect with the terminal provided with display in smart machine;Detect the position zinformation of smart machine;According to position
Mobile message, the cursor movement on indication display;Wherein, cursor follows the movement of smart machine position and moved.Passing through will
Smart machine is established with the terminal provided with display and communicates to connect the function of making smart machine have remote control, it is not necessary to using special
Remote control, so as to save the cost of manufacture of remote control.By detecting the position zinformation of smart machine and according to detection
The position zinformation arrived, the cursor movement on indication display;Wherein, cursor follows the movement of smart machine position and moved
It is dynamic, smart machine is reached the effect of remote control.User need to only move the smart machine carried with regard to that can make display
On the region specified to user of cursor move so that operating process is more conveniently and quickly, realizing the original work(of remote control
Consumer's Experience is substantially increased while energy.Details is realized to the cursor control method on the display of present embodiment below
It is specifically described, herein below only realizes details for convenience of what understanding provided, and not the present embodiment is necessary.
The flow chart of the cursor control method on display in present embodiment is as shown in figure 1, specifically include:
Step 101:Smart machine is established with the terminal provided with display and communicated to connect.
Specifically, smart machine can be mobile phone, tablet personal computer, and the intelligence that the user such as Wearable carries with is set
Standby, the terminal provided with display can be intelligent television, computer etc..Smart machine in present embodiment by taking mobile phone as an example, if
There is the terminal of display by taking intelligent television as an example, but be not limited thereto in actual applications.Mobile phone can lead to intelligent television
Cross the short range transmission such as WIFI, bluetooth, near-field communication agreement and establish communication connection, such as, established in mobile phone and intelligent television
After communication connection, user can open the remote-controller function of mobile phone by the button on mobile phone, now mobile phone state in which
For original state.
Step 102:Detect the first angle value swung in vertical direction and the second angle swung in the horizontal direction
Value.Specifically, the first angle value A swung in vertical direction is detected using the gravity sensor for being built in mobile phone, first
Angle value A schematic diagram is as shown in Figure 2.Because gravity sensor can directly obtain mobile phone in the space corresponding to current location
Transverse axis x, longitudinal axis y, vertical pivot z numerical value in rectangular coordinate system, it is possible to which first angle is calculated by formula tanA=z/y
Value A.Using the second angle value B for being built in the swing of the geomagnetic sensors detection of mobile phone in the horizontal direction, second angle value B
Schematic diagram it is as shown in Figure 3.Because geomagnetic sensor can directly obtain three data, respectively azimuth Azimuth, x-axis
With the angle pitch and y-axis of horizontal plane and the angle roll of horizontal plane.Magnetic north pole and Y-axis when Azimuth value is returns to horizontal
Angle, read the angle value B1 of the current upper deflecting in the horizontal direction of the mobile phone that arrives of geomagnetic sensors detection, now Azimuth
Value is the angle value B1 of horizontal direction upper deflecting.The angle value B1 and reference angle values B0 of deflection difference, as acquisition
Second angle the value B, i.e. B=B0-B1 of swing in the horizontal direction.Wherein, the initial value of reference angle values senses for earth magnetism
In original state, the angle value of upper deflecting, the i.e. initial value of reference angle values are the smart machine that device detects in the horizontal direction
The value for the Azimuth that geomagnetic sensor obtains in original state.
Step 103:Obtain ratio value.
Specifically, it can be to obtain the first ratio value and the second ratio value to obtain ratio value.First ratio value is first
The ratio of angle value and default ordinate angle threshold, corresponding cursor are located at the ratio of the ordinate on the display of intelligent television
Example.It can be appreciated that if rectangular coordinate system is established as the origin of coordinates using the point in the display lower left corner, it may be determined that cursor is being shown
The abscissa and ordinate of position correspondence on device.User sets when default ordinate angle threshold can be ordinate maximum
The angle that is swung up of Vertical Square, ordinate maximum can be understood as the height of the display in above-mentioned rectangular coordinate system.The
Two ratio values are second angle value and the ratio of default abscissa angle threshold, and corresponding cursor is located at the display of intelligent television
On abscissa ratio.Put in the horizontal direction that user sets when default abscissa angle threshold can be abscissa maximum
Dynamic angle, abscissa maximum can be understood as the length of the display in above-mentioned rectangular coordinate system.
Assuming that first angle value is A, second angle value is B, and ordinate angle threshold is C, and abscissa angle threshold is D,
First ratio value is K1, and the second ratio value is K2, then:K1=A/C, K2=B/D.In order to make it easy to understand, present embodiment provides
Calculate the example of the first ratio:Such as user is using mobile phone as remote control in use, sensitivity, sensitivity can be set
1/2/3 grade can be divided into, it is specific as shown in table 1:
Table 1
Assuming that sensitivity is 1 grade, the first angle value detected is 20 °, the first ratio value K1 be first angle value A with
Ordinate angle threshold C ratio, i.e., K1=20 °/30 °=2/3.When first angle value is more than ordinate angle threshold, it is assumed that
When sensitivity is 1 grade, first angle value is 40 °, i.e. 40 ° of first angle value is more than 30 ° of ordinate angle threshold, in calculating the
First angle value is arranged to the ordinate angle threshold during one ratio value, that is to say, that when first angle value is more than vertical sit
The first ratio value is 1 when marking angle threshold.Because corresponding to ordinate angle threshold it is the ordinate maximum on display, such as
Fruit first angle value has been above ordinate angle threshold, illustrates that the cursor on display is moved into upper and lower edge,
It can not be moved again to both sides.Second ratio value is similar with the computational methods of the first ratio value, will not be repeated here.
It should be noted that table 1 is merely given as an example, user can set according to the custom of oneself in actual applications
Corresponding threshold value is put, ordinate angle threshold and abscissa angle threshold can be the same or different, and user can root
Change the setting to above-mentioned two threshold value at any time according to demand, any method that mobile positional information is obtained based on angle is at this
Within embodiment protection domain.
It is noted that reference angle values are updated to the intelligence that current geomagnetic sensor detects when meeting preparatory condition
Can equipment upper deflecting in the horizontal direction angle value;Preparatory condition is in nearest preset duration, and first angle value continues small
In the first predetermined threshold value and second angle value is continuously less than the second predetermined threshold value.Such as reference angle values during original state
For 0 °, original state can be that user presses button and opens handset remote controller after mobile phone and intelligent television establish communication connection
At the time of function.In 5 seconds (preset duration), if first angle value continues continuously less than the first predetermined threshold value and second angle value
Less than the second predetermined threshold value, illustrate that user did not want to be moved with mobile phone control cursor in 5 seconds, it is also possible to which user is in mobile light
Stopped on position after mark 5 seconds, reference angle values are now then updated to current geomagnetic sensor inspection from 0 ° of original state
The angle value of the smart machine measured upper deflecting in the horizontal direction.It should be noted that preset time can be according to the habit of user
Used to carry out personal settings, the present embodiment is simply exemplified by 5 seconds, not limited to this in actual applications.Pass through the benchmark that upgrades in time
Angle value, the second angle value under current state is conveniently drawn, so as to conveniently obtain more accurate position zinformation, Jin Ergeng
The cursor on display is controlled to move well.
Position zinformation using the first ratio value of acquisition and the second ratio value as smart machine;That is, inspection
Survey the position zinformation of smart machine, position zinformation here is exactly final the first ratio according to acquired in swing angle
Example value and the second ratio value.
Step 104:According to position zinformation, the cursor on indication display moves;Wherein, cursor follows smart machine
The movement of position and move.
Specifically, position zinformation is sent to terminal, for terminal according to position zinformation, calculates and moved with position
The corresponding moving direction of cursor of dynamic information and cursor displacement, position zinformation here is to be obtained in step 103
The first ratio value and the second ratio value.Such as the first ratio value and the second ratio value are sent to intelligent television by mobile phone, because
Ordinate that cursor is located on the display of intelligent television and abscissa are corresponded to respectively for the first ratio value and the second ratio value
Ratio, it is possible to according to the maximum ordinate of the first ratio value and the second ratio value in conjunction with display and maximum abscissa meter
Calculation obtains the physical location that cursor is located at display.Maximum abscissa and maximum ordinate can be:With the display lower left corner
Point establishes rectangular coordinate system, the value of a length of maximum abscissa of display, a height of maximum ordinate of display for the origin of coordinates
Value.
Such as, it is assumed that first angle value is A, and second angle value is B, and ordinate angle threshold is C, abscissa angle threshold
It is worth for D, maximum ordinate E, maximum abscissa is F, the abscissa of cursor over the display is X, and cursor is over the display
Ordinate is Y, then between above-mentioned each variable, following proportionate relationship A/C=X/E, B/D=Y/F be present.Again because the first ratio
It is K2=B/D to be worth for K1=A/C, the second ratio value, it is possible to calculates cursor respectively in display by aforementioned proportion relation
On abscissa be X and ordinate Y, i.e. X=K1 × E, Y=K2 × F.In order to make it easy to understand, present embodiment provides an example
Son illustrates specific computational methods:Assuming that the sensitivity that user is set is 1 grade in table 1, it is related on the calculating of ordinate
The value difference of data is as shown in table 2:
Table 2
On the calculating of abscissa, the value difference of related data is as shown in table 3:
Table 3
In terms of existing technologies, first embodiment of the invention by by smart machine with provided with display terminal
Establish the function that communication connection makes smart machine have remote control, it is not necessary to special remote control is used, so as to save remote control
Cost of manufacture.By detecting the position zinformation of smart machine and according to the position zinformation detected, instruction display
Cursor movement on device;Wherein, cursor follows the movement of smart machine position and moved, and smart machine is reached remote control
Effect.User need to only move the smart machine carried with regard to the cursor on display can be made to be moved to the region that user specifies
It is dynamic, so that operating process is more conveniently and quickly, Consumer's Experience is substantially increased while remote control original function is realized.
By calculating the moving direction of cursor corresponding with position zinformation and cursor displacement, so as to more accurately obtain cursor
Particular location over the display, while making operating process more convenient, improve the accuracy of operation.
Second embodiment of the present invention is related to the cursor control method on a kind of display.Second embodiment is
Further improvement in one embodiment, is mainly theed improvement is that:In second embodiment of the invention, the first ratio is being obtained
Before example value, in addition to:Whether detection institute first angle value is more than the first predetermined threshold value;It is pre- that if first angle value is more than first
If threshold value, then perform again and obtain the first ratio value;Before the second ratio value is obtained, in addition to:Whether detect second angle value
More than the second predetermined threshold value;If second angle value is more than the second predetermined threshold value, then performs and obtain the second ratio value.The present invention
The idiographic flow schematic diagram of embodiment as shown in figure 4, including:
Step 401:Smart machine is established with the terminal provided with the display and communicated to connect.
Step 402:Detect the first angle value swung in vertical direction and the second angle swung in the horizontal direction
Value.
Step 401 and step 402 are similar with step 101 in first embodiment and 102 respectively, to avoid repeating, herein
Repeat no more.
Step 403:Detect whether first angle value is more than the first predetermined threshold value or whether second angle value is pre- more than second
If threshold value;If it is, step 404 is performed, if it is not, then the flow terminates.
Specifically, user can set first angle threshold value and second angle threshold value in advance, and the first predetermined threshold value can be with
It is interpreted as, the angle for preventing maloperation that user is set in vertical direction, i.e., the angle that mobile phone is swung in vertical direction
Degree is when more than the first predetermined threshold value, it is believed that user uses mobile phone as remote control intentionally.Such as first detected
The first predetermined threshold value that angle value is 20 °, is pre-set is 5 °, i.e., 20 ° of first angle value is more than 5 ° of the first predetermined threshold value, explanation
User uses mobile phone as remote control intentionally.Second predetermined threshold value it is to be understood that user set in the horizontal direction it is anti-
The angle that the only angle of maloperation, i.e. mobile phone are swung in the horizontal direction is when more than the second predetermined threshold value, it is believed that Yong Huyou
Meaning uses mobile phone as remote control.Mobile phone performs step 404 when detecting that first angle value is more than the first predetermined threshold value,
Obtain the first ratio value;When detecting that second angle value is more than the second predetermined threshold value, step 404 is performed, obtains the second ratio
Value;Mobile phone is detecting that first angle value is more than the first predetermined threshold value and detects that second angle value is more than the second predetermined threshold value
When, then step 404 is performed, obtains the first ratio value and the second ratio value;If mobile phone detects that first angle value is less than first
Second angle value terminates again smaller than the second predetermined threshold value, the then flow while predetermined threshold value, and it is maloperation to illustrate user, this
When swing angle in the horizontal direction and the vertical direction be all not enough to control the movement of cursor on display.
It should be noted that user can set corresponding threshold value according to the custom of oneself in actual applications, first is pre-
If threshold value can be the same or different with the second predetermined threshold value, and user can change to above-mentioned two at any time according to demand
The setting of threshold value.
Step 404:Obtain ratio value.
Step 405:According to position zinformation, the cursor on indication display moves;Wherein, cursor follows smart machine
The movement of position and move.
Step 404 is similar to step 104 with step 103 in first embodiment to step 405, to avoid repeating herein not
Repeat again.
Compared with prior art, second embodiment of the invention by the way that first angle value and the first predetermined threshold value are contrasted and
Second angle value and the second predetermined threshold value are contrasted, i.e., only just think that user is want by swinging smart machine when more than threshold value
To control the cursor on display to move.Because user may also cause smart machine small angle oscillation in normal operating, because
This, by with two threshold comparisons, being advantageous to avoid user from being not intended to control using smart machine is swung in normal operating respectively
The situation of cursor movement on display processed, thus it is convenient for users to use, substantially increase Consumer's Experience.
Third embodiment of the invention is related to the cursor control method on a kind of display, and the 3rd embodiment is real with first
It is roughly the same to apply mode, is in place of the main distinction:First embodiment of the invention is mainly according to smart machine in vertical direction
The movement of cursor over the display is controlled with the angle that is swung in horizontal direction.And the 3rd embodiment is mainly set according to intelligence
Standby moving direction controls the movement of cursor over the display with mobile acceleration.On display in present embodiment
The flow chart of cursor control method is as shown in figure 5, specifically include:
Step 501:Smart machine is established with the terminal provided with display and communicated to connect.
Step 501 is similar with step 101 in first embodiment, to avoid repeating will not be repeated here.
Step 502:Detect the direction of smart machine movement and mobile acceleration.
Specifically, the direction for the gyro sensor detection smart machine movement for being built in smart machine can be used,
So as to be pointed the direction for the movement of cursor on display.Such as smart machine can detect intelligence by gyro sensor
Can the equipment all directions movement such as vertically and horizontally information.The acceleration transducer inspection for being built in smart machine can also be used
The acceleration of smart machine movement is surveyed, the size of acceleration reflects the speed of smart machine translational speed, so that cursor
Translational speed changes with the translational speed of smart machine.
It is noted that user may enter when controlling cursor movement using smart machine to the control chosen
Row clicking operation, present embodiment additionally provide a kind of method for realizing clicking operation.User in intelligent movable equipment, if
The control chosen is clicked on, then smart machine can be rotated to an angle.User can pre-set the 3rd predetermined threshold value,
If the anglec of rotation is more than the 3rd predetermined threshold value, it indicates that terminal performs clicking operation.Such as, it is assumed that the 3rd predetermined threshold value is
50 °, if the anglec of rotation is 60 °, it is meant that user wants to carry out the clicking operation to cursor, and now smart machine will be to terminal
Instruction is sent, instruction terminal performs clicking operation.Intelligent set can be detected by being built in the gyro sensor of smart machine
The angle of standby rotation, can also by smart machine that gravity sensor detects in rectangular space coordinate three reference axis
The angle of numerical computations rotation, can also by the anglec of rotation of geomagnetic sensors detection to smart machine, in a word, it is any on
The detection method of the anglec of rotation is within present embodiment protection domain.It should be noted that user can according to oneself
Operating habit sets the size of the 3rd predetermined threshold value, and can change the numerical value of the 3rd predetermined threshold value at any time as needed, this
Embodiment is simply exemplified by 50 °, but be not limited thereto in actual applications.
In actual applications, when terminal receives click commands, it can be determined that whether cursor, which is stopped on current control, surpasses
1 second is spent, if it exceeds 1 second, then click event is performed again, and user can be avoided to conveyed the finger of clicking operation because of maloperation
Order, convenient for users to use, above-mentioned 1 second is an example certainly, when user can be set according to the operating habit of oneself
Between.
Using the moving direction of the smart machine detected, movement acceleration as smart machine position zinformation;
That is, the position zinformation of detection smart machine, position zinformation here is exactly the moving direction of smart machine
With mobile acceleration.
Step 503:According to position zinformation, the cursor on indication display moves;Wherein, cursor follows smart machine
The movement of position and move.
Such as smart machine is mobile phone, display is the display of intelligent television.When mobile phone moves to the left or to the right,
The instruction of cursor movement is then transmitted to intelligent television, intelligent television receives mobile instruction and moves cursor to the left or to the right;
When mobile phone moves up or down, then the instruction for transmitting cursor movement receives mobile instruction simultaneously to intelligent television, intelligent television
Cursor is moved up or down.Certainly, the moving direction of mobile phone is not only up and down or left in actual applications
Other directions such as upper, bottom right, will not enumerate to this present embodiment.The acceleration that can also be moved simultaneously according to mobile phone,
Determine the speed of cursor movement.The acceleration of mobile phone movement is bigger, and cursor moves faster;Acceleration is smaller, cursor movement
It is slower.The method of this control cursor movement had not only facilitated fast, substantially increased the usage experience of user.
Compared to the prior art, third embodiment of the invention is by by the anglec of rotation of the smart machine detected and the
Three predetermined threshold values compare, if the anglec of rotation is more than the 3rd predetermined threshold value, it indicates that terminal performs clicking operation, further perfect
Function of the smart machine as remote control, makes operating process more convenient.Can be accurate by built-in gyro sensor
The direction for detecting smart machine movement, and smart machine can accurately be detected by built-in acceleration transducer
Mobile acceleration.Therefore, the direction of smart machine movement and mobile acceleration can preferably indicating cursor in display
On movement, make operating process more convenient, greatly improve Consumer's Experience.
The step of various methods divide above, be intended merely to describe it is clear, can be merged into when realizing a step or
Some steps are split, are decomposed into multiple steps, as long as including identical logical relation, all protection domain in this patent
It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed
Core design with flow is all in the protection domain of the patent.
Four embodiment of the invention is related to a kind of smart machine, as shown in fig. 6, including:At least one processor 601;
And the memory 602 with the communication connection of at least one processor 601;Wherein, be stored with can be at least one for memory 602
The instruction that processor 601 performs, instructs and is performed by least one processor 601, so that at least one processor 601 can be held
OK:Establish and communicate to connect with the terminal provided with display;Detect the position zinformation of smart machine;Moved and believed according to position
Cease, the cursor movement on indication display;Wherein, cursor follows the movement of smart machine position and moved.
Wherein, memory 602 is connected with processor 601 using bus mode, and bus can include any number of interconnection
Bus and bridge, bus one or more processors 601 and the various of memory 602 are electrically connected to together.Bus may be used also
So that the various other of such as ancillary equipment, voltage-stablizer and management circuit or the like to be electrically connected to together, these are all
It is known in the art, therefore, no longer it is described further herein.EBI provides between bus and transceiver
Interface.Transceiver can be an element or multiple element, such as multiple receivers and transmitter, there is provided for
The unit to be communicated on transmission medium with various other devices.Through processor 601 handle data by antenna on the radio medium
It is transmitted, further, antenna also receives data and transfers data to processor 601.
Processor 601 is responsible for bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage-regulation, power management and other control functions.And memory can be used to store processor when performing operation
Used data.
In terms of existing technologies, third embodiment of the invention provides a kind of smart machine, passes through smart machine
Established with the terminal provided with display and communicate to connect the function of making smart machine that there is remote control, it is not necessary to use special remote control
Device, so as to save the cost of manufacture of remote control.By detecting the position zinformation of smart machine and according to the position detected
Put mobile message, the cursor movement on indication display;Wherein, cursor follows the movement of smart machine position and moved, and makes intelligence
Energy equipment can reach the effect of remote control.User need to only move the smart machine carried with regard to that can make the cursor on display
The region specified to user is moved, so that operating process is more conveniently and quickly, while remote control original function is realized
Substantially increase Consumer's Experience.
Fifth embodiment of the invention is related to a kind of computer-readable recording medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that realize that all or part of step in above-described embodiment method is can be with
The hardware of correlation is instructed to complete by program, the program storage is in the storage medium, including some instructions are making
Obtain an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) performs side described in each embodiment of the application
The all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention,
And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
- A kind of 1. cursor control method on display, it is characterised in that applied to smart machine, including:Establish and communicate to connect with the terminal provided with the display;Detect the position zinformation of the smart machine;According to the position zinformation, the cursor movement on the display is indicated;Wherein, the cursor follows smart machine The movement of position and move.
- 2. the cursor control method on display according to claim 1, it is characterised in that described to be moved according to the position Dynamic information, the cursor movement on the display is indicated, is specifically included:The position zinformation is sent to the terminal, for the terminal according to the position zinformation, calculating and institute State the corresponding moving direction of cursor of position zinformation and cursor displacement.
- 3. the cursor control method on display according to claim 2, it is characterised in that the detection intelligence is set Standby position zinformation, is specifically included:Detect the first angle value swung in vertical direction and the second angle value swung in the horizontal direction;The first ratio value is obtained, first ratio value is the first angle value and the ratio of default ordinate angle threshold Value;The second ratio value is obtained, second ratio value is the second angle value and the ratio of default abscissa angle threshold Value;Using first ratio value and second ratio value as the position zinformation.
- 4. the cursor control method on display according to claim 3, it is characterised in that the first ratio of the acquisition Value, is specifically included:When the first angle value is more than the ordinate angle threshold, first angle value is arranged to the ordinate angle Threshold value;According to the first angle value after setting and the ordinate angle threshold, first ratio value is obtained;The second ratio value of the acquisition, is specifically included:When the second angle value is more than the abscissa angle threshold, second angle value is arranged to the abscissa angle Threshold value;According to the second angle value after setting and the abscissa angle threshold, second ratio value is obtained.
- 5. the cursor control method on display according to claim 3, it is characterised in that the detection is in vertical direction The first angle value of upper swing and the second angle value swung in the horizontal direction, are specifically included:The first angle value swung in vertical direction is detected using the gravity sensor for being built in the smart machine;Using the second angle value for being built in the swing of the geomagnetic sensors detection of the smart machine in the horizontal direction.
- 6. the cursor control method on display according to claim 5, it is characterised in that described described using being built in The second angle value of the swing of the geomagnetic sensors detection of smart machine in the horizontal direction, is specifically included:The angle value for the current upper deflecting in the horizontal direction of the smart machine that the geomagnetic sensors detection arrives is read, by described in The angle value of deflection and the difference of reference angle values, the second angle value as the swing described in acquisition in the horizontal direction;Wherein, the initial value of the reference angle values is the smart machine that arrives of the geomagnetic sensors detection in original state When upper deflecting in the horizontal direction angle value;Also, the reference angle values are updated to presently described when meeting preparatory condition The angle value of the smart machine that geomagnetic sensors detection arrives upper deflecting in the horizontal direction;The preparatory condition is nearest In preset duration, the first angle value is continuously less than first predetermined threshold value and the second angle value is continuously less than described Second predetermined threshold value.
- 7. the cursor control method on display according to claim 3, it is characterised in that in the first ratio of the acquisition Before value, in addition to:Detect whether the first angle value is more than the first predetermined threshold value;If the first angle value is more than first predetermined threshold value, then performs the first ratio value of the acquisition;Before the second ratio value of the acquisition, in addition to:Detect whether the second angle value is more than the second predetermined threshold value;If the second angle value is more than second predetermined threshold value, then performs the second ratio value of the acquisition.
- 8. the cursor control method on display according to claim 1, it is characterised in that the position zinformation bag Include:The direction of the smart machine movement and acceleration;After the terminal with being provided with the display establishes communication connection, in addition to:Detect the anglec of rotation of the smart machine;If the anglec of rotation is more than the 3rd predetermined threshold value, it indicates that the terminal performs clicking operation.
- 9. the cursor control method on display according to claim 8, it is characterised in that the detection intelligence is set Standby position zinformation, is specifically included:The direction of the smart machine movement is detected using the gyro sensor for being built in the smart machine;The acceleration of the smart machine movement is detected using the acceleration transducer for being built in the smart machine.
- A kind of 10. smart machine, it is characterised in that including:At least one processor;AndThe memory being connected with least one processor communication;Wherein,The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place Manage device to perform, so that at least one processor is able to carry out:Establish and communicate to connect with the terminal provided with display;Detect the position zinformation of the smart machine;According to the position zinformation, the cursor movement on the display is indicated;Wherein, the cursor follows smart machine The movement of position and move.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710761264.2A CN107707955A (en) | 2017-08-30 | 2017-08-30 | Cursor control method and smart machine on a kind of display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710761264.2A CN107707955A (en) | 2017-08-30 | 2017-08-30 | Cursor control method and smart machine on a kind of display |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107707955A true CN107707955A (en) | 2018-02-16 |
Family
ID=61169983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710761264.2A Pending CN107707955A (en) | 2017-08-30 | 2017-08-30 | Cursor control method and smart machine on a kind of display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107707955A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124156A (en) * | 2018-11-01 | 2020-05-08 | 中兴通讯股份有限公司 | Interaction control method of mobile terminal and mobile terminal |
CN112352418A (en) * | 2018-06-27 | 2021-02-09 | 富士胶片株式会社 | Imaging device, imaging method, and program |
CN112799560A (en) * | 2021-02-03 | 2021-05-14 | 张德运 | Computer system interconnection device and signal transmission method |
CN113076053A (en) * | 2021-05-07 | 2021-07-06 | 北京字节跳动网络技术有限公司 | Cursor remote control method and device, electronic equipment and storage medium |
CN113282222A (en) * | 2021-04-23 | 2021-08-20 | 海南视联通信技术有限公司 | Cursor control method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10132049A1 (en) * | 2001-07-03 | 2003-02-20 | Siemens Ag | Integrated arrangement for remote control has pointer arrangement, control unit, operator interface display and pointer operation detection arrangement |
CN102171628A (en) * | 2008-06-27 | 2011-08-31 | 莫韦公司 | Pointer with motion sensing resolved by data merging |
CN103914145A (en) * | 2013-01-08 | 2014-07-09 | 三星电子株式会社 | Input Device, Display Device And Method Of Controlling Thereof |
-
2017
- 2017-08-30 CN CN201710761264.2A patent/CN107707955A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10132049A1 (en) * | 2001-07-03 | 2003-02-20 | Siemens Ag | Integrated arrangement for remote control has pointer arrangement, control unit, operator interface display and pointer operation detection arrangement |
CN102171628A (en) * | 2008-06-27 | 2011-08-31 | 莫韦公司 | Pointer with motion sensing resolved by data merging |
CN103914145A (en) * | 2013-01-08 | 2014-07-09 | 三星电子株式会社 | Input Device, Display Device And Method Of Controlling Thereof |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112352418A (en) * | 2018-06-27 | 2021-02-09 | 富士胶片株式会社 | Imaging device, imaging method, and program |
CN112352418B (en) * | 2018-06-27 | 2023-11-21 | 富士胶片株式会社 | Image pickup apparatus and image pickup method |
US11954290B2 (en) | 2018-06-27 | 2024-04-09 | Fujifilm Corporation | Imaging apparatus, imaging method, and program |
CN111124156A (en) * | 2018-11-01 | 2020-05-08 | 中兴通讯股份有限公司 | Interaction control method of mobile terminal and mobile terminal |
CN111124156B (en) * | 2018-11-01 | 2023-07-18 | 中兴通讯股份有限公司 | Interaction control method of mobile terminal and mobile terminal |
CN112799560A (en) * | 2021-02-03 | 2021-05-14 | 张德运 | Computer system interconnection device and signal transmission method |
CN113282222A (en) * | 2021-04-23 | 2021-08-20 | 海南视联通信技术有限公司 | Cursor control method and device |
CN113282222B (en) * | 2021-04-23 | 2024-03-29 | 海南视联通信技术有限公司 | Cursor control method and device |
CN113076053A (en) * | 2021-05-07 | 2021-07-06 | 北京字节跳动网络技术有限公司 | Cursor remote control method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107707955A (en) | Cursor control method and smart machine on a kind of display | |
US20160077580A1 (en) | Apparatus and control method based on motion | |
KR20140060818A (en) | Remote controller and display apparatus, control method thereof | |
CN108362310B (en) | Method and device for determining geomagnetic accuracy, storage medium and terminal | |
CN112738886B (en) | Positioning method, positioning device, storage medium and electronic equipment | |
EP2752831B1 (en) | Input device, display device and method of controlling thereof | |
KR101228336B1 (en) | Personalization Service Providing Method by Using Mobile Terminal User's Activity Pattern and Mobile Terminal therefor | |
KR101678292B1 (en) | METHOD, SYSTEM AND COMPUTER-READABLE RECORDING MEDIUM FOR CONTROLLING IoT(Internet of Things) DEVICE USING A WEARABLE DEVICE | |
CN110570465B (en) | Real-time positioning and map construction method and device and computer readable storage medium | |
CN105204764B (en) | Handheld terminal with suspension screen, display device and remote control method | |
CN103246431B (en) | A kind of regulation screen display direction method, Apparatus and system | |
CN105786349A (en) | Method for controlling screen picture to rotate and electronic device | |
KR20210081576A (en) | Method for indoor positioning and the electronic device | |
CN111124156B (en) | Interaction control method of mobile terminal and mobile terminal | |
CN103000161B (en) | A kind of method for displaying image, device and a kind of intelligent hand-held terminal | |
CN106598422A (en) | Directivity-based control and hybrid control methods, control system and electronic equipment | |
CN110633336A (en) | Method and device for determining laser data search range and storage medium | |
CN106095158B (en) | Computational methods, device and the system of control cursor movement of the displacement vector of cursor | |
WO2015033682A1 (en) | Manipulation input device, portable information terminal, method for control of manipulation input device, program, and recording medium | |
KR20140115656A (en) | Method and apparatus for controlling operation in a electronic device | |
CN115686264A (en) | False touch prevention method and device | |
CN114252100A (en) | Sensor on-line calibration method, device, equipment and storage medium | |
CN112764864A (en) | Display direction adjusting method and device | |
CN110630254B (en) | Oil-water layer distinguishing method and device and computer readable storage medium | |
US11934602B2 (en) | Electronic device and operation method of electronic device for supporting one handed operation mode |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180216 |
|
WD01 | Invention patent application deemed withdrawn after publication |