CN105549769B - Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse - Google Patents

Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse Download PDF

Info

Publication number
CN105549769B
CN105549769B CN201510954706.6A CN201510954706A CN105549769B CN 105549769 B CN105549769 B CN 105549769B CN 201510954706 A CN201510954706 A CN 201510954706A CN 105549769 B CN105549769 B CN 105549769B
Authority
CN
China
Prior art keywords
intelligent terminal
sky mouse
data
terminal screen
sky
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.)
Expired - Fee Related
Application number
CN201510954706.6A
Other languages
Chinese (zh)
Other versions
CN105549769A (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201510954706.6A priority Critical patent/CN105549769B/en
Publication of CN105549769A publication Critical patent/CN105549769A/en
Application granted granted Critical
Publication of CN105549769B publication Critical patent/CN105549769B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides the method and system that a kind of intelligent terminal screen based on intelligent terminal realizes virtual sky mouse, comprising the following steps: step S1, intelligent terminal screen generates a virtual sky mouse node;Step S2, when intelligent terminal sends the sky mouse data of simulation, intelligent terminal screen receives the sky mouse data of the simulation by virtual sky mouse node;Step S3, according to the sky mouse data of the simulation received, intelligent terminal screen generates corresponding sky mouse event, for the application response of intelligent terminal screen.Intelligent terminal screen based on intelligent terminal of the invention realizes the method and system of virtual sky mouse without external receiver, and the sky mouse operation to intelligent terminal screen can be realized;Without matching all kinds of drivings on software;The complexity that user uses is reduced, reduces use cost, enhances user experience;Will not influence intelligent terminal screen external ancillary equipment when institute it is functional.

Description

Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse
Technical field
The present invention relates to a kind of realization method and systems of sky mouse, eventually more particularly to a kind of intelligence based on intelligent terminal End screen realizes the method and system of virtual sky mouse.
Background technique
The function of traditional tv is excessively single and is detached from internet, cause more and more young men start to abandon TV and The internet terminals such as PC, mobile phone, Pad are turned to, the TV in parlor gradually becomes supporting role, and home entertaining business also can not be opened effectively Exhibition.The limitation of TV functions has been broken in the appearance of OTT (Over The Top) Intelligent set top box, uses Android intelligent Operating system, in addition to it can pass through internet viewing to richer programme content, also mountable various Internet service applications make TV has the abilities of a variety of home entertaining business of development, such as social activity, shopping, information, game, bring user completely newly Entertainment experience.
Currently, the interactive mode of Intelligent set top box is mostly based on remote controler, supplemented by mouse.Such as application No. is 200510020746.X, entitled " in the method for mouse control set-top box " Chinese invention patent disclose one kind with mouse The method for controlling set-top box, comprising the following steps: reading mouse pointer changing coordinates;If mouse pointer is in menucommand area In domain, also, " determination " information of mouse sending is received, then executes the current command.
In general, mouse is to access Intelligent set top box in a manner of external receiver.However, due to the shadow of various objective factors It rings, such as external receiver loss etc., mouse will be unable to work normally, so as to cause that can not operate to Intelligent set top box.
Sky mouse, also known as sky mouse wireless mouse, air mouse are a kind of wireless mouses, use newest ergonomic power Design is learned, has small in size, easy to carry, operation is comfortable, wirelessly, the features such as being not limited by a space.Sky mouse can project red sharp Light facilitates commercial affairs, teaching demonstration.Its maximum feature be every operation all in the sky, take the feel of manipulation and very relax It is suitable;Having a size of 92x50x12.5mm, using currently a popular 2.4G wireless radio-frequency, 10 meters of remote control distance, laser pen distance Up to 20 meters;It is provided simultaneously with sleeping function automatically, saves electric power.Therefore, sky mouse can also be used to Intelligent set top box in the prior art It is manipulated.
As shown in Figure 1, the operating mode of Intelligent set top box sky mouse in the prior art is as follows:
(1) it is inserted into external receiver apparatus;
(2) increase sky mouse node;
(3) sky mouse equipment is operated, sky mouse is operated into corresponding sky mouse data transmission to sky mouse node;
(4) input system poll sky mouse node obtains and parses sky mouse data, then the sky mouse data after parsing are transmitted to Event distributes system;
(5) event distributes system and the sky mouse data after parsing is distributed each application interface;
(6) sky mouse event corresponding to the sky mouse data after application interface response parsing.
From the foregoing, it will be observed that existing Intelligent set top box sky mouse has the disadvantage that
(1) only in the case where matched receiver, competence exertion acts on sky mouse;
(2) under conditions of lacking external receiver, sky mouse is to can not work normally;
(3) it due to the presence of external receiver, needs to match various drivings on software so that receiving terminal, increase out Complexity is sent out, while also increasing cost.
With the rapid development of mobile communication, intelligent terminal is widely used, and has been deep into the side of people's daily life In aspect face.Therefore, how to be realized using intelligent terminal and the sky mouse of the intelligent terminals screen such as Intelligent set top box is controlled, will become The project of one great prospect.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of intelligence based on intelligent terminal Terminal screen realizes the method and system of virtual sky mouse, and a sky mouse equipment is fictionalized by intelligent terminal to intelligent terminal Screen is manipulated, to solve dependence of the sky mouse to external receiver, is reduced costs, is enhanced intelligent terminal screen User experience.
In order to achieve the above objects and other related objects, the present invention provides a kind of intelligent terminal screen based on intelligent terminal The method for realizing virtual sky mouse, comprising the following steps: step S1, intelligent terminal screen generates a virtual sky mouse node;Step Rapid S2, when intelligent terminal sends the sky mouse data of simulation, intelligent terminal screen passes through described in virtual sky mouse node reception The sky mouse data of simulation;Step S3, according to the sky mouse data of the simulation received, intelligent terminal screen generates corresponding sky mouse thing Part, for the application response of intelligent terminal screen.
In one embodiment of the invention, the step S1 the following steps are included:
The virtual sky mouse node with cursor and keyboard attribute is created on intelligent terminal screen;
Virtual sky mouse node created is added in the list of devices of intelligent terminal screen.
In one embodiment of the invention, socket, while intelligence are created in the system bottom library of the intelligent terminal screen It is also corresponding in the application of terminal to create socket, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.
In one embodiment of the invention, the step S3 the following steps are included:
The socket of the intelligent terminal screen is added into EPOOL snoop queue, the intelligent terminal screen it is defeated Enter the virtual sky mouse node of system poll, obtains the sky mouse data of simultaneously analytic simulation, and extremely by the sky mouse data transmission after parsing Event distributes system;
Event distributes system and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event was distributed to intelligent end The application of screen is held, so as to the application response of intelligent terminal screen.
In one embodiment of the invention, whens sky mouse data of analytic simulation includes the following contents:
When the sky mouse data of simulation are intelligent terminal gyro data collected, if gyro data is less than the first half Diameter or be greater than the second radius when, give up data;When gyro data is in [the first radius, the second radius] section, gyro Instrument data are effective, then effective gyro data by stages is carried out multiple amplification, to obtain the coordinate data of sky mouse;
When the sky mouse data of simulation are the identification information of intelligent terminal left button collected or right button, according to identification information Generate the left button or right button data of sky mouse.
Meanwhile the present invention also provides a kind of system that the intelligent terminal screen based on intelligent terminal realizes virtual sky mouse, packet Include sky mouse node generation module, sky mouse data reception module and sky mouse event processing module;
The sky mouse node generation module is for generating a virtual sky mouse node;
The sky mouse data reception module is used for when intelligent terminal sends the sky mouse data of simulation, by described virtual Sky mouse node receive simulation sky mouse data;
The sky mouse event processing module is used to generate corresponding sky mouse thing according to the sky mouse data of the simulation received Part, for the application response of intelligent terminal screen.
In one embodiment of the invention, the sky mouse node generation module generates virtual sky mouse section by following steps Point:
The virtual sky mouse node with cursor and keyboard attribute is created on intelligent terminal screen;
Virtual sky mouse node created is added in the list of devices of intelligent terminal screen.
In one embodiment of the invention, socket, while intelligence are created in the system bottom library of the intelligent terminal screen It is also corresponding in the application of terminal to create socket, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.
In one embodiment of the invention, the sky mouse event processing module uses steps of processing sky mouse event:
The socket of the intelligent terminal screen is added into EPOOL snoop queue, the intelligent terminal screen it is defeated Enter the virtual sky mouse node of system poll, obtains the sky mouse data of simultaneously analytic simulation, and extremely by the sky mouse data transmission after parsing Event distributes system;
System is distributed by event and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event is distributed to intelligence The application of energy terminal screen, so as to the application response of intelligent terminal screen.
In one embodiment of the invention, whens sky mouse data of analytic simulation includes the following contents:
When the sky mouse data of simulation are intelligent terminal gyro data collected, if gyro data is less than the first half Diameter or be greater than the second radius when, give up data;When gyro data is in [the first radius, the second radius] section, gyro Instrument data are effective, then effective gyro data by stages is carried out multiple amplification, to obtain the coordinate data of sky mouse;
When the sky mouse data of simulation are the identification information of intelligent terminal left button collected or right button, according to identification information Generate the left button or right button data of sky mouse.
As described above, the intelligent terminal screen of the invention based on intelligent terminal realizes the method and system of virtual sky mouse, It has the advantages that
(1) it is not necessarily to external receiver, the sky mouse operation to intelligent terminal screen can be realized;
(2) without matching all kinds of drivings on software;
(3) complexity that user uses is reduced, reduces use cost, enhances user experience;
(4) will not influence intelligent terminal screen external ancillary equipment when institute it is functional.
Detailed description of the invention
Fig. 1 is shown as the operating mode schematic diagram of Intelligent set top box sky mouse in the prior art;
Fig. 2 is shown as the operating mode schematic diagram of the intelligent terminal screen sky mouse the present invention is based on intelligent terminal;
Fig. 3 is shown as realizing the flow chart of the method for virtual sky mouse the present invention is based on the intelligent terminal screen of intelligent terminal;
Fig. 4 is shown as the effective range schematic diagram of gyro data in the present invention;
Fig. 5 is shown as the intelligent terminal screen of the invention based on intelligent terminal and realizes that the structure of the system of virtual sky mouse is shown It is intended to.
Component label instructions
1 sky mouse node generation module
2 sky mouse data reception modules
3 sky mouse event processing modules
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
It should be noted that intelligent terminal involved in the present invention refers to independent operating system, can by with The program of the third party service providers such as software, game offer is voluntarily installed at family, by this class method come constantly to the function of terminal device It can be carried out expansion, and can realize such terminal equipment 1 of wireless network access by mobile communication network.
Intelligent terminal screen involved in the present invention includes but is not limited to that Intelligent set top box, smart television etc. have independently Operating system, the intelligent terminal that such one kind that wireless network accesses may be implemented.It is all to can be realized virtual sky mouse Intelligent terminal is within the scope of intelligent terminal screen of the invention.
Referring to Fig. 2 and Fig. 3, the present invention is based on the method that the intelligent terminal screen of intelligent terminal realizes virtual sky mouse include with Lower step:
Step S1, intelligent terminal screen generates a virtual sky mouse node.
Specifically, generate virtual sky mouse node the following steps are included:
11) intelligent terminal screen system bottom library libinput create one it is virtual with cursor and keyboard attribute Sky mouse node.
Wherein, the attribute descriptor of sky mouse node is as follows:
INPUT_DEVICE_CLASS_CURSOR
INPUT_DEVICE_CLASS_KEYBOARD
INPUT_DEVICE_CLASS_VIRTUAL
12) virtual sky mouse node created is added in the list of devices of intelligent terminal screen.
Above step is the implementation method of virtual sky mouse node of the invention, the void of this method and traditional uinput Quasi- mode is different, and the present invention simulates sky mouse node from non-driven angle, without matching all kinds of drivings on software.
Step S2, when intelligent terminal sends the sky mouse data of simulation, intelligent terminal screen passes through virtual sky mouse section Point receives the sky mouse data of simulation.
Specifically, when user bobs and weaves intelligent terminal, acquired in the gyroscope of intelligent terminal acquisition thereon Gyro data, to generate the sky mouse data of simulation.When the user clicks on intelligent terminal when the right and left key of mouse, intelligent terminal The identification information for obtaining clicked left button or right button, to generate the sky mouse data of simulation.
The sky mouse data of the simulation of generation are sent to intelligent terminal screen through wireless communication by intelligent terminal Virtual sky mouse node.Wherein, the mode of wireless communication includes the communication modes such as bluetooth, GPRS, WiFi, 3G, 4G.
In the present invention, socket (socket) is created in the system bottom library of intelligent terminal screen, while intelligent terminal Application in also corresponding creation socket, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.By intelligence The socket of energy terminal screen is added into EPOOL snoop queue, the virtual sky mouse of the input system poll of intelligent terminal screen Node, obtains the sky mouse data of simultaneously analytic simulation, and sky mouse data transmission to the event after parsing is distributed system, so as to It is compatible with existing sky mouse scheme.
Step S3, according to the sky mouse data of the simulation received, intelligent terminal screen generates corresponding sky mouse event, for The application response of intelligent terminal screen.
Specifically, step S3 the following steps are included:
31) the virtual sky mouse node of the input system poll of intelligent terminal screen obtains the sky mouse data of simultaneously analytic simulation, And sky mouse data transmission to the event after parsing is distributed into system.
When intelligent terminal screen receives the sky mouse data of simulation, need to carry out to parse it to generate actual sky Mouse data.Wherein, the sky mouse data after parsing include coordinate data and left and right key data.
Specifically, include the following contents when the sky mouse data of analytic simulation:
A) as follows with the corresponding relationship of cursor when the sky mouse data of simulation are gyro data:
In the Z axis data of gyroscope ,+Z indicates cursor left;- Z indicates cursor right.
In the X-axis data of gyroscope ,+X indicates that cursor moves up;- X indicates that cursor moves down.
Due to the sensibility of gyro data, the small shake of hand will cause the biggish displacement of cursor.Therefore, in intelligence Energy terminal screen needs to handle gyro data.
As shown in figure 4, the processing mode to gyro data is as follows: when gyro data is less than the first radius r1 or big When the second radius r2, give up data;When gyro data is in the section [r1, r2], gyro data is effective, then will be effective Gyro data segmentation carries out multiple amplification, finally obtains the coordinate data of sky mouse.Due to different hardware designs, gyroscope is adopted Sample precision is different, and r1 generally chooses gyroscope ± 3 °/sec zero offset error.The value of r2, which depends on gyroscope, can be generated most Big angular speed.
B) when the sky mouse data of simulation are the identification information of left button or right button, the left button of sky mouse is generated according to identification information Or right button data.
Specifically, intelligent terminal screen constructs the left button or right button data of sky mouse according to the following formula:
Left mouse button: 0x04 0x04 0x90001+0x01 0x110 Action+0x00 0x00 0x00
Right mouse button: 0x04 0x04 0x90002+0x01 0x111 Action+0x00 0x00 0x00
Wherein: when Action is 0x01, indicating down state
When Action is 0x00, lifting status is indicated
32) event distributes system and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event is distributed to intelligence The application of energy terminal screen, so as to the application response of intelligent terminal screen.
Specifically, event distributes system according to the sky mouse data after parsing, generates coordinate event and/or left and right key events, And coordinate event and/or left and right key events are distributed into each application interface, so that each application is responded.When sky mouse event is to sit When mark event, interface cursor moves up and down;When sky mouse event is left and right key events, then corresponding specific event is responded.
Referring to Fig. 5, the system for realizing virtual sky mouse the present invention is based on the intelligent terminal screen of intelligent terminal includes sky mouse section Point generation module 1, sky mouse data reception module 2 and sky mouse event processing module 3.
Sky mouse node generation module 1 is for generating a virtual sky mouse node.
Specifically, generate virtual sky mouse node the following steps are included:
11) intelligent terminal screen system bottom library libinput create one it is virtual with cursor and keyboard attribute Sky mouse node.
Wherein, the attribute descriptor of sky mouse node is as follows:
INPUT_DEVICE_CLASS_CURSOR
INPUT_DEVICE_CLASS_KEYBOARD
INPUT_DEVICE_CLASS_VIRTUAL
12) virtual sky mouse node created is added in the list of devices of intelligent terminal screen.
Above step is the implementation method of virtual sky mouse node of the invention, the void of this method and traditional uinput Quasi- mode is different, and the present invention simulates sky mouse node from non-driven angle, without matching all kinds of drivings on software.
Sky mouse data reception module 2 is connected with sky mouse node generation module 1, for sending the sky of simulation in intelligent terminal When mouse data, the sky mouse data of simulation are received by virtual sky mouse node.
Specifically, when user bobs and weaves intelligent terminal, acquired in the gyroscope of intelligent terminal acquisition thereon Gyro data, to generate the sky mouse data of simulation.When the user clicks on intelligent terminal when the right and left key of mouse, intelligent terminal The identification information for obtaining clicked left button or right button, to generate the sky mouse data of simulation.
The sky mouse data of the simulation of generation are sent to intelligent terminal screen through wireless communication by intelligent terminal Virtual sky mouse node.Wherein, the mode of wireless communication includes the communication modes such as bluetooth, GPRS, WiFi, 3G, 4G.
In the present invention, socket (socket) is created in the system bottom library of intelligent terminal screen, while intelligent terminal Application in also corresponding creation socket, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.By intelligence The socket of energy terminal screen is added into EPOOL snoop queue, the virtual sky mouse of the input system poll of intelligent terminal screen Node, obtains the sky mouse data of simultaneously analytic simulation, and sky mouse data transmission to the event after parsing is distributed system, in this way It is compatible with existing intelligent terminal screen sky mouse scheme to realize.
Sky mouse event processing module 3 is connected with sky mouse data reception module 2, for the sky mouse number according to the simulation received According to, generate corresponding sky mouse event, for intelligent terminal screen application response.
Sky mouse event processing module uses steps of processing sky mouse event:
31) the sky mouse node virtual by the input system poll of intelligent terminal screen, obtains the sky mouse of simultaneously analytic simulation Data, and sky mouse data transmission to the event after parsing is distributed into system.
When sky mouse event processing module receives the sky mouse data of simulation, need to carry out to parse it to generate reality Sky mouse data.Wherein, the sky mouse data after parsing include coordinate data and left and right key data.
Specifically, include the following contents when the sky mouse data of analytic simulation:
A) as follows with the corresponding relationship of cursor when the sky mouse data of simulation are gyro data:
In the Z axis data of gyroscope ,+Z indicates cursor left;- Z indicates cursor right.
In the X-axis data of gyroscope ,+X indicates that cursor moves up;- X indicates that cursor moves down.
Due to the sensibility of gyro data, the small shake of hand will cause the biggish displacement of cursor.Therefore, in sky Mouse event processing module needs to handle gyro data.
As shown in figure 3, the processing mode to gyro data is as follows: when gyro data is less than the first radius r1 or big When the second radius r2, give up data;When gyro data is in the section [r1, r2], gyro data is effective, then will be effective Gyro data by stages carries out multiple amplification, finally obtains the coordinate data of sky mouse.Due to different hardware designs, gyroscope Sampling precision is different, and the value of the interval value can be also deviated.
B) when the sky mouse data of simulation are the identification information of left button or right button, the left button of sky mouse is generated according to identification information Or right button data.
Specifically, sky mouse event processing module constructs the left button or right button data of sky mouse according to the following formula:
Left mouse button: 0x04 0x04 0x90001+0x01 0x110 Action+0x00 0x00 0x00
Right mouse button: 0x04 0x04 0x90002+0x01 0x111 Action+0x00 0x00 0x00
Wherein: when Action is 0x01, indicating down state
When Action is 0x00, lifting status is indicated
32) system is distributed by event and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event is distributed To the application of intelligent terminal screen, so as to the application response of intelligent terminal screen.
Specifically, event distributes system according to the sky mouse data after parsing, generates coordinate event and/or left and right key events, And coordinate event and/or left and right key events are distributed into each application interface, so that each application is responded.When sky mouse event is to sit When mark event, interface cursor moves up and down;When sky mouse event is left and right key events, then corresponding specific event is responded.
Therefore, the intelligent terminal screen of the invention based on intelligent terminal realize the method and system of virtual sky mouse not only with The technical solution of existing intelligent terminal screen sky mouse is mutually compatible with, and compared to the prior art, no setting is required external receiver, saving Expense on hardware, applicability are stronger.
In conclusion the intelligent terminal screen of the invention based on intelligent terminal realize the method and system of virtual sky mouse without External receiver is needed, the sky mouse operation to intelligent terminal screen can be realized;Without matching all kinds of drivings on software;It reduces The complexity that user uses, reduces use cost, enhances user experience;It will not influence the external auxiliary of intelligent terminal screen to set Institute when standby is functional.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial exploitation value Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (6)

1. a kind of method that the intelligent terminal screen based on intelligent terminal realizes virtual sky mouse, it is characterised in that: including following step It is rapid:
Step S1, intelligent terminal screen generates a virtual sky mouse node;
Step S2, when intelligent terminal sends the sky mouse data of simulation, intelligent terminal screen is connect by virtual sky mouse node Receive the sky mouse data of the simulation;
Step S3, according to the sky mouse data of the simulation received, intelligent terminal screen generates corresponding sky mouse event, for intelligence The application response of terminal screen;
The step S1 the following steps are included:
The virtual sky mouse node with cursor and keyboard attribute is created on intelligent terminal screen bottom library libinput;
Virtual sky mouse node created is added in the list of devices of intelligent terminal screen;
Socket is created in the system bottom library of the intelligent terminal screen, while also corresponding creation set in the application of intelligent terminal Word is connect, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.
2. the method that the intelligent terminal screen according to claim 1 based on intelligent terminal realizes virtual sky mouse, feature Be: the step S3 the following steps are included:
The socket of the intelligent terminal screen is added into EPOOL snoop queue, the input system of the intelligent terminal screen Steerage askes virtual sky mouse node, obtains and the sky mouse data of analytic simulation, and by the sky mouse data transmission after parsing to event Distribute system;
Event distributes system and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event is distributed to intelligent terminal screen The application of curtain, so as to the application response of intelligent terminal screen.
3. the method that the intelligent terminal screen according to claim 2 based on intelligent terminal realizes virtual sky mouse, feature It is: includes the following contents when the sky mouse data of analytic simulation:
When the sky mouse data of simulation are intelligent terminal gyro data collected, if gyro data less than the first radius or When person is greater than the second radius, give up data;When gyro data is in [the first radius, the second radius] section, gyroscope number Multiple amplification is carried out according to effective, then by effective gyro data by stages, to obtain the coordinate data of sky mouse;
When the sky mouse data of simulation are the identification information of intelligent terminal left button collected or right button, generated according to identification information The left button or right button data of sky mouse.
4. a kind of system that the intelligent terminal screen based on intelligent terminal realizes virtual sky mouse, it is characterised in that: including sky mouse section Point generation module, sky mouse data reception module and sky mouse event processing module;
The sky mouse node generation module is for generating a virtual sky mouse node;
The sky mouse data reception module is used for when intelligent terminal sends the sky mouse data of simulation, passes through the virtual sky Mouse node receives the sky mouse data of simulation;
The sky mouse event processing module is used to generate corresponding sky mouse event according to the sky mouse data of the simulation received, with For the application response of intelligent terminal screen;
The sky mouse node generation module generates virtual sky mouse node by following steps:
The virtual sky mouse node with cursor and keyboard attribute is created on intelligent terminal screen bottom library libinput;
Virtual sky mouse node created is added in the list of devices of intelligent terminal screen;
Socket is created in the system bottom library of the intelligent terminal screen, while also corresponding creation set in the application of intelligent terminal Word is connect, to realize the wireless data transmission between virtual sky mouse node and intelligent terminal.
5. the system that the intelligent terminal screen according to claim 4 based on intelligent terminal realizes virtual sky mouse, feature Be: the sky mouse event processing module uses steps of processing sky mouse event:
The socket of the intelligent terminal screen is added into EPOOL snoop queue, the input system of the intelligent terminal screen Steerage askes virtual sky mouse node, obtains and the sky mouse data of analytic simulation, and by the sky mouse data transmission after parsing to event Distribute system;
System is distributed by event and generates sky mouse event according to the sky mouse data after parsing, and sky mouse event was distributed to intelligent end The application of screen is held, so as to the application response of intelligent terminal screen.
6. the system that the intelligent terminal screen according to claim 5 based on intelligent terminal realizes virtual sky mouse, feature It is: includes the following contents when the sky mouse data of analytic simulation:
When the sky mouse data of simulation are intelligent terminal gyro data collected, if gyro data less than the first radius or When person is greater than the second radius, give up data;When gyro data is in [the first radius, the second radius] section, gyroscope number Multiple amplification is carried out according to effective, then by effective gyro data by stages, to obtain the coordinate data of sky mouse;When the sky of simulation When mouse data are the identification information of intelligent terminal left button collected or right button, left button or the right side of sky mouse are generated according to identification information Key data.
CN201510954706.6A 2015-12-17 2015-12-17 Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse Expired - Fee Related CN105549769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510954706.6A CN105549769B (en) 2015-12-17 2015-12-17 Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510954706.6A CN105549769B (en) 2015-12-17 2015-12-17 Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse

Publications (2)

Publication Number Publication Date
CN105549769A CN105549769A (en) 2016-05-04
CN105549769B true CN105549769B (en) 2019-02-26

Family

ID=55828988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510954706.6A Expired - Fee Related CN105549769B (en) 2015-12-17 2015-12-17 Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse

Country Status (1)

Country Link
CN (1) CN105549769B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506052A (en) * 2017-08-03 2017-12-22 成都弈览科技有限公司 A kind of method and apparatus of virtual sky mouse by smart mobile phone
CN112169304B (en) * 2020-10-14 2023-03-31 深圳市灰鲨科技有限公司 Gyroscope control method and system of intelligent terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882015A (en) * 2010-06-17 2010-11-10 金领导科技(深圳)有限公司 Controller based on composite MEMS (Micro-electromechanical System) sensor and gesture control keying method thereof
CN103796058A (en) * 2014-01-21 2014-05-14 四川长虹电器股份有限公司 Method for achieving control over Android smart television based on virtual input equipment
CN204423352U (en) * 2014-12-25 2015-06-24 青岛歌尔声学科技有限公司 The system that a kind of analog mouse controls

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667412B2 (en) * 2007-09-06 2014-03-04 Google Inc. Dynamic virtual input device configuration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882015A (en) * 2010-06-17 2010-11-10 金领导科技(深圳)有限公司 Controller based on composite MEMS (Micro-electromechanical System) sensor and gesture control keying method thereof
CN103796058A (en) * 2014-01-21 2014-05-14 四川长虹电器股份有限公司 Method for achieving control over Android smart television based on virtual input equipment
CN204423352U (en) * 2014-12-25 2015-06-24 青岛歌尔声学科技有限公司 The system that a kind of analog mouse controls

Also Published As

Publication number Publication date
CN105549769A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN103677520B (en) Application program comment method and device based on Android platform
CN105580394B (en) The method and apparatus that message push and message are shown
CN104798412B (en) Improved audio sync technology
CN109395372A (en) Realize method, system and the electronic equipment of game paddle remote control computer game
CN204029271U (en) A kind of human-machine interaction electronic Terrestrial globe
CN107071551A (en) Applied to the multi-screen interactive screen response method in intelligent television system
CN109195001A (en) Methods of exhibiting, device, storage medium and the terminal of present is broadcast live
CN102664009B (en) System and method for implementing voice control over video playing device through mobile communication terminal
CN103744474A (en) Intelligent terminal and intelligent system
CN105549769B (en) Intelligent terminal screen based on intelligent terminal realizes the method and system of virtual sky mouse
CN102004843A (en) Handheld control roaming system with pattern recognition function
CN109471667A (en) Computer and mobile phones integrated intelligent interactive method
CN103760877A (en) Air quality detection data acquisition unit and system based on supply network transmission
CN109147056A (en) A kind of electric control method, device, storage medium and mobile terminal
CN202282066U (en) Wireless control device for family multimedia entertainment equipment and family entertainment system
van der Vlist et al. Configuring and controlling ubiquitous computing infrastructure with semantic connections: a tangible and an AR approach
CN102647511B (en) Three-dimensional museum interaction system based on smartphone and interaction method thereof
CN104867363A (en) Voice on demand system for children
CN109040020A (en) Game data communication means, communication processing equipment, terminal and readable storage medium storing program for executing
CN204423307U (en) A kind of Wireless 3 D body sense control system
CN203444655U (en) Interactive teaching integrated system
CN109542218A (en) A kind of mobile terminal, man-machine interactive system and method
CN202711677U (en) Intelligent song-requiring system used in KTV room
CN202632163U (en) Portable computer extension base with wireless audio and video signal transmission function
CN104333786A (en) System of online control of multiple wireless input ends at the same time through same receiving end and 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190226