CN103529962B - The mouse function realization method and system of touch panel remote controller - Google Patents

The mouse function realization method and system of touch panel remote controller Download PDF

Info

Publication number
CN103529962B
CN103529962B CN201310203408.4A CN201310203408A CN103529962B CN 103529962 B CN103529962 B CN 103529962B CN 201310203408 A CN201310203408 A CN 201310203408A CN 103529962 B CN103529962 B CN 103529962B
Authority
CN
China
Prior art keywords
finger
layer
information
application
mouse
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
CN201310203408.4A
Other languages
Chinese (zh)
Other versions
CN103529962A (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201310203408.4A priority Critical patent/CN103529962B/en
Publication of CN103529962A publication Critical patent/CN103529962A/en
Application granted granted Critical
Publication of CN103529962B publication Critical patent/CN103529962B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses the mouse function realization method and system of touch panel remote controller, methods described includes:A, touch panel remote controller obtains finger touch information and is sent to the intelligent display device for carrying android system, and the finger touch information is reported into application framework layer by the driver of the linux core layers of intelligent display device;B, finger touch information is converted to mouse action information by application framework layer, and reports application layer;C, application layer performs corresponding operation according to mouse action information.The present invention is because application framework layer is on the upper strata of linux core layers, the processing conversion of finger touch information is unrelated with the driver in linux core layers, touch panel remote controller is set not limited when being embodied as mouse function by its type of hardware, any a touch panel remote controller can realize its mouse function, improve the compatibility of function realization.

Description

The mouse function realization method and system of touch panel remote controller
Technical field
The present invention relates to touching technique field, the mouse function implementation method of more particularly to a kind of touch panel remote controller and it is System.
Background technology
With the arrival in TV set intelligent epoch, demand of the interactive device in television applications field becomes increasingly to compel Cut.Wherein, touch panel remote controller produces remote signal in response to the touch of finger or instrument, can realize to TV, DVD, machine top The straighforward operation of the various remotely-controlled equipments such as box, based on its abundant operating function, the touch pad in all interactive devices is distant The influence power for controlling device is also more and more prominent.
At present, touch panel remote controller during compatible mouse function in order to need to do specially treated to itself.It is and this special Touch panel remote controller after processing can only match with a kind of driver, limit the universality of its mouse function;In other words If distant control function to TV cannot be realized by being replaced by the common touch panel remote controller of another money when in use.This limitation relates to And the problem of software and hardware relation.Current operating system is to control hardware by software;And touch panel remote controller belongs to hard Part.In order that touch panel remote controller works, the software code of direct operating touchpad remote control is the driving journey of linux core layers Sequence.Linux core layers need the finger touch information of touch panel remote controller being converted to mouse action information by driver, Then application framework layer is reported.It is based on driver and touch panel remote controller(Hardware)Association, so different factory The different touch panel remote controllers of family's production just need different drivers(Software)To support.However, finger touch information Be converted to mouse action information work be placed on driver complete will have hardware-dependence, cause the touch of other producers Plate remote control can not realize translation function, so as to different touch panel remote controller when realizing mouse function in the presence of certain limit System.
Therefore prior art could be improved and improve.It is understood, however, that the content of foregoing description is intended merely to Write the present invention and write, not prior art.
The content of the invention
In view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of mouse of touch panel remote controller Function realizing method and system, it can not be limited by hardware device, any a touch panel remote controller can realize difference Mouse function.
In order to achieve the above object, this invention takes following technical scheme:
A kind of mouse function implementation method of touch panel remote controller, it includes:
A, touch panel remote controller obtains finger touch information and is sent to the intelligent display device for carrying android system, The finger touch information is reported by application framework by the driver of the linux core layers of intelligent display device Layer;
B, finger touch information is converted to mouse action information by application framework layer, and reports application layer;
C, application layer performs corresponding operation according to mouse action information.
The mouse function implementation method of described touch panel remote controller, wherein, in the step A, the finger touches letter Breath include a series of finger contact situation, finger current absolute coordinate on a touchpad, report after end code.
The mouse function implementation method of described touch panel remote controller, wherein, when finger clicks touch pad, the step Finger touch information is converted to mouse action information and specifically included by application framework layer in B:Judge that finger touches from contact Whether the time interval that plate leaves touch pad to finger is less than predetermined threshold value, and current definitely abscissa when finger is upspring and works as The absolute value of current definitely abscissa and the current definitely difference of ordinate of the preceding definitely ordinate when being contacted respectively with finger is The no pixel for being less than the first predetermined quantity, if so, the finger touch information then is converted into mouse-click event, report mouse The operation information pressed and upspring of left button is marked to application layer.
The mouse function implementation method of described touch panel remote controller, wherein, it is described when finger moves on a touchpad Finger touch information is converted to mouse action information and specifically included by application framework layer in step B:Calculate relative coordinate, root The operation information that the finger touch information moves for mouse is judged according to relative coordinate, by the operation information of mouse movement and relative Coordinate reports application layer in the lump;The relative coordinate is by the abscissa difference per two neighboring current absolute coordinate and indulges Coordinate difference forms.
A kind of mouse function implementation method of touch panel remote controller, it includes:
One can be write when a, carrying the application program launching of the intelligent display device of android system into pipeline in advance Numerical value, application framework layer reads the numerical value that application program is previously written in pipeline, and is selected according to the numerical value being previously written Functional mode;
B, touch panel remote controller obtains finger touch information and is sent to intelligent display device, and passes through linux core layers Driver the finger touch information is reported into application framework layer;
c:If selecting mouse functionality mode, finger touch information is converted to mouse action by application framework layer to be believed Breath, and application layer is reported, if selection focus functionality pattern, application framework layer judge according to finger touch information The direction of finger movement, and corresponding direction key is reported to application layer;
d:Application layer performs corresponding operation according to above-mentioned mouse action information, or judges the button class received Type, complete the operation of left and right up or down movement.
The mouse function implementation method of described touch panel remote controller, wherein, in the step a, application framework layer The numerical value selection function pattern being previously written according to application program specifically includes:In application framework layer, one variable is set, should With program be previously written pipeline numerical value be 0 when, the variable assignments be true, selection mouse functionality mode;Application program is pre- When the numerical value for first writing pipeline is 1, the variable assignments is false, selects focus functionality pattern.
The mouse function implementation method of described touch panel remote controller, wherein, the finger touch information includes a series of Finger contact situation, the current absolute coordinate of finger on a touchpad, the end code after reporting.
The mouse function implementation method of described touch panel remote controller, wherein, to application framework layer in the step c Judge the direction of finger movement, and report corresponding direction key to be specifically included to application layer
C1, the current absolute coordinate reported is combined into an absolute coordinate group by the sequencing of acquisition;
C2, it will be added up in above-mentioned absolute coordinate group per the difference of two neighboring current absolute coordinate;
C3, the size for judging X-axis accumulated value, right button is reported to application program when more than the pixel of the second predetermined quantity Layer, left button is reported to application layer when less than the pixel of the-the second predetermined quantity;
Judge the size of Y-axis accumulated value;Upper key is reported when more than the pixel of the second predetermined quantity to application layer, Lower key is reported to application layer when less than the pixel of the-the second predetermined quantity.
A kind of system for being used to realize the mouse function implementation method of described touch panel remote controller, it includes:Touch pad Remote control and the intelligent display device for carrying android system;
The touch panel remote controller is used to obtain finger touch information after finger contacts touch pad and be sent to intelligence to show Show equipment;
The intelligent display device includes:
Linux core layer drive modules, for receiving the finger touch information, and report ccf layer processing module;
Ccf layer processing module, for finger touch information to be converted into mouse action information, and report application program Layer respond module;
Application layer respond module, for according to mouse action information, performing corresponding operation.
A kind of system for being used to realize the mouse function implementation method of described touch panel remote controller, it includes:Touch pad Remote control and the intelligent display device with carrying android system;
The touch panel remote controller is used to obtain finger touch information after finger contacts touch pad and be sent to intelligence to show Show equipment;
The intelligent display device includes:
Functional mode preset module, for presetting numerical value in the application;
Linux core layer drive modules, for receiving the finger touch information, and report ccf layer processing module;
Ccf layer processing module, numerical value set in advance is read from application program by pipeline communication, and according to advance The numerical value selection function pattern of setting;When selecting mouse functionality mode, finger touch information is converted into mouse action information, And report application layer respond module;When selecting focus functionality pattern, judge that finger moves according to finger touch information Direction, and report corresponding direction key to give application layer respond module.
Application layer respond module, for according to mouse action information, performing corresponding operation.
Compared to prior art, mouse function implementation method and the touch pad remote control of touch panel remote controller provided by the invention Device, finger touch information is obtained by touch panel remote controller and is sent to intelligent display device, passes through the linux of intelligent display device The driver of core layer reports application framework layer, is realized in application framework layer and is converted to finger touch information Mouse action information, and report application layer and perform corresponding operation;Because application framework layer is in linux core layers Upper strata, finger touch information processing conversion it is unrelated with the driver in linux core layers, realize touch panel remote controller Do not limited during mouse function by its type of hardware, any a touch panel remote controller can realize its mouse function, improve The compatibility that touch panel remote controller function is realized.
Brief description of the drawings
Fig. 1 is structural representation of the inventive touch plate remote control based on Android platform.
Fig. 2 is the mouse function implementation method flow chart of the touch panel remote controller of first embodiment of the invention.
Fig. 3 is the mouse function implementation method flow chart of the touch panel remote controller of second embodiment of the invention.
Fig. 4 is the system that the present invention is used to realize the mouse function implementation method of the touch panel remote controller of first embodiment Structured flowchart.
Fig. 5 is the system that the present invention is used to realize the mouse function implementation method of the touch panel remote controller of second embodiment Structured flowchart.
Embodiment
The present invention provides a kind of mouse function realization method and system of touch panel remote controller, for make the purpose of the present invention, Technical scheme and effect are clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should Understand, specific embodiment described herein only to explain the present invention, is not intended to limit the present invention.
Input of the present invention in the intelligent display device (such as intelligent television) for carrying android system(Input)Subsystem Application framework layer complete processing to finger touch information and change and be sent to application layer.As shown in figure 1, institute State Android platform includes application layer, application framework layer, system operation storehouse layer successively from top to bottom(Do not show in figure Go out)With linux core layers.Because application framework layer is located in linux core layers, finger is touched in application framework layer Touch information carry out processing conversion can solve linux core layers driver associated with touch panel remote controller caused by mouse work( The problem of limited can be realized.
The flow chart of the mouse function implementation method of first embodiment touch panel remote controller provided by the invention, such as Fig. 2 institutes Show, it comprises the following steps:
S10, touch panel remote controller obtain finger touch information and be sent to carry android system intelligent display set It is standby, the finger touch information is reported by application program frame by the driver of the linux core layers of intelligent display device Rack-layer;
S20:Finger touch information is converted to mouse action information by application framework layer, and reports application program Layer;
S30:Application layer performs corresponding operation according to mouse action information.
In above-mentioned steps S10, finger touch information includes a series of finger contact situation(Contact or upspring), finger exists Current absolute coordinate on touch pad, the end code after reporting.
Touch pad and finger, which are clicked, below with finger moves two kinds of operations on a touchpad respectively to illustrate first The mouse function implementation method of embodiment touch panel remote controller.
Situation 1, finger click touch pad:
In the step S10, reporting the finger touch information of application framework layer includes a series of information:Hand Abutment situation 1(Contact), the current absolute coordinate of finger on a touchpad(X1, Y1), the end code 1 after reporting;Finger connects Touch situation 2(Contact), the current absolute coordinate of finger on a touchpad(X2, Y2), the end code 2 after reporting;... finger connects The situation of touching n(Upspring), the current absolute coordinate of finger on a touchpad(Xn, Yn), the end code n after reporting.Wherein, n is just Integer.
In the step S20, application framework layer is converted to finger touch information the specific step of mouse action information It is rapid as follows:Judge that finger leaves to finger the time interval of touch pad from contact touch pad and whether is less than predetermined threshold value, and finger Current definitely abscissa X1 when current definitely abscissa Xn and current absolute ordinate Yn when upspringing contact with finger respectively And whether the absolute value of current definitely ordinate Y1 difference is less than the pixel of the first predetermined quantity.That is Xn-X1 difference Absolute value, whether the absolute value of Yn-Y1 difference is respectively less than the pixel of the first predetermined quantity, if so, then touching the finger Touch information and be converted to mouse-click event, report the operation information pressed and upspring of left mouse button to application layer.At this In embodiment, the predetermined threshold value is 125000us, and the pixel of the first predetermined quantity is 12 pixels.
Situation 2, finger move on a touchpad:
In the step S10, reporting the finger touch information of application framework layer includes a series of information:Hand Abutment situation 1(Contact), the current absolute coordinate of finger on a touchpad(X1, Y1), the end code 1 after reporting;Finger connects Touch situation 2(Contact), the current absolute coordinate of finger on a touchpad(X2, Y2), the end code 2 after reporting;Finger contacts feelings Condition 3(Contact), the current absolute coordinate of finger on a touchpad(X3, Y3), the end code 3 after reporting;... by that analogy, directly To finger contact situation m(Contact), the current absolute coordinate of finger on a touchpad(Xm, Ym), the end code m after reporting.
In the step S20, application framework layer is converted to finger touch information the specific step of mouse action information It is rapid as follows:Relative coordinate is calculated, the operation information that the finger touch information moves for mouse is judged according to relative coordinate, by mouse Mark mobile operation information and relative coordinate reports application layer in the lump;The relative coordinate is by per two neighboring current exhausted Abscissa difference and ordinate difference composition to coordinate.It is the first relative coordinate(X2-X1, Y2-Y1), the second relative seat Mark(X3-X2, Y3-Y2), by that analogy, until m relative coordinates(Xm-Xm-1, Ym-Ym-1).
It should be noted that mouse moving event is successional, it is necessary to uninterruptedly report.Therefore, the first relative coordinate, Second relative coordinate, third phase are to coordinate ... continuously continual successively to report application layer.
Fig. 3 is the mouse function implementation method flow chart of the touch panel remote controller of second embodiment of the invention.Compared to The touch panel remote controller of one embodiment, the touch panel remote controller of the present embodiment can further realize focus functionality(I.e. upper bottom left Move right function).In the present embodiment, the selection of the mouse functionality mode and focus functionality pattern of touch panel remote controller is by applying Program determine, such as Web-browser application using mouse function it is more convenient, and picture browsing application program or Launcher(Desktop starter)Application program is then more convenient using focus functionality.In order to for different application program selections Different functional modes, each application program can preset a numerical value, and application framework layer determines work(according to the numerical value Can pattern.
The mouse function implementation method of the touch panel remote controller of second embodiment comprises the following steps:
S100, carry android system intelligent display device application program launching when can be write in advance into pipeline One numerical value, application framework layer read the numerical value that application program is previously written in pipeline, and according to the numerical value being previously written Selection function pattern;
S200, touch panel remote controller obtain finger touch information and are sent to intelligent display device, and pass through linux cores The finger touch information is reported application framework layer by the driver of layer;
S300:If selecting mouse functionality mode, finger touch information is converted to mouse action by application framework layer Information, and application layer is reported, if selection focus functionality pattern, application framework layer are sentenced according to finger touch information Cut off the hands and refer to mobile direction, and report corresponding direction key to application layer;
S400:Application layer performs corresponding operation according to above-mentioned mouse action information, or judges the button received Type, complete the operation of left and right up or down movement.
In above-mentioned steps S100, application framework layer wraps according to the step of numerical value selection function pattern set in advance Include:One variable is set in application framework layer, when the numerical value that application program is previously written pipeline is 0, the variable assignments is True, select mouse functionality mode;When the numerical value that application program is previously written pipeline is 1, the variable assignments is false, choosing Select focus functionality pattern.For example, open browser etc. it is this kind of need to use mouse function application program when, application program meeting 0 is write into pipeline in advance, application framework layer reads application program is previously written in pipeline 0, selects mouse function mould Formula.Open picture browsing, desktop starter etc. it is this kind of need to use the function that moves up and down application program when, using journey Sequence can write 1 into pipeline in advance, and application framework layer reads application program is previously written in pipeline 1, select focus work( Energy pattern, greatly facilitate user's operation.
In above-mentioned steps S200, finger touch information includes a series of finger contact situation(Contact or upspring), finger Current absolute coordinate on a touchpad, the end code after reporting.
In above-mentioned steps S300, finger touch information is converted to mouse behaviour by application framework layer under mouse functionality mode Make the method for information and first embodiment illustrates identical, repeat no more.Under focus functionality pattern, above-mentioned steps S200 In, reporting the finger touch information of application framework layer includes a series of information:Finger contacts situation 1(Contact), The current absolute coordinate of finger on a touchpad(X1, Y1), the end code 1 after reporting;Finger contacts situation 2(Contact), finger Current absolute coordinate on a touchpad(X2, Y2), the end code 2 after reporting;Finger contacts situation 3(Contact), finger is tactile Current absolute coordinate in template(X3, Y3), the end code 3 after reporting;... by that analogy, until finger contact situation m(Connect Touch), the current absolute coordinate of finger on a touchpad(Xm, Ym), the end code m after reporting.
In the step S300, application framework layer judges the direction of finger movement, and reports corresponding direction key Include to the step of application layer:Step 1, these the current absolute coordinates reported are combined into one by the sequencing of acquisition Absolute coordinate group;Step 2, (i.e. (X2-X1) will be added up per the difference of two neighboring current absolute coordinate in above-mentioned absolute coordinate group +(X3-X2)+(X4-X3)…+(Xm-Xm-1);(Y2-Y1)+(Y3-Y2)+(Y4-Y3)+…+( Ym-Ym-1));Step 3, sentence The size of disconnected X-axis accumulated value, reports right button to application layer, when less than-the when more than the pixel of the second predetermined quantity Left button is reported during the pixel of two predetermined quantities to application layer;Judge the size of Y-axis accumulated value;When more than the second predetermined number Key is reported to report lower key when less than the pixel of the-the second predetermined quantity to application to application layer during the pixel of amount Program layer.
In the present embodiment, the pixel of the second predetermined quantity is 200 pixels.When the accumulated value in X-axis is more than+200 During individual pixel, right button is reported;During less than -200 pixels, left button is reported.When the accumulated value in Y-axis is more than+200 pixels During point, key is reported;During less than -200 pixels, lower key is reported.
Based on the mouse function implementation method of above-mentioned first embodiment touch panel remote controller, the embodiment of the present invention also provides The mouse function of first implementation touch panel remote controller realizes system, refers to Fig. 4, the system includes the and of touch panel remote controller 10 Carry the intelligent display device 20 of android system.The touch panel remote controller 10 obtains finger after finger contacts touch pad Touch information, and it is sent to intelligent display device 20.The intelligent display device 20 include linux core layers drive module 201, Ccf layer processing module 202 and application layer respond module 203.Finger touch information in touch panel remote controller passes through Linux core layer drive modules report ccf layer processing module 202.Ccf layer processing module 202 turns finger touch information Mouse action information is changed to, and reports application layer respond module 203.Application layer respond module is according to mouse action Information, perform corresponding operation.
Based on the mouse function implementation method of above-mentioned second embodiment touch panel remote controller, the embodiment of the present invention also provides The mouse function of second implementation touch panel remote controller realizes system, refers to Fig. 5, the system includes the and of touch panel remote controller 30 Carry the intelligent display device 40 of android system.The touch panel remote controller 30 obtains finger after finger contacts touch pad Touch information, and it is sent to intelligent display device 40.The intelligent display device 40 include functional mode preset module 401, Linux core layers drive module 402, ccf layer processing module 403 and application layer respond module 404.Touch pad is remotely controlled Finger touch information on device 30 reports ccf layer processing module 403 by linux core layers drive module 402.Function mould Formula preset module 401 is used to preset numerical value in the application.Ccf layer processing module 403 is by pipeline communication from application Numerical value set in advance is read in program, and according to numerical value selection function pattern set in advance, if selection mouse function mould Formula, finger touch information is converted into mouse action information, and reports application layer respond module;If select focus work( Energy pattern, application framework layer judge the direction of finger movement according to finger touch information, and report corresponding direction key To application layer.Application layer performs corresponding operation according to above-mentioned mouse action information, or judges the button received Type, complete the operation of left and right up or down movement.
In summary, when the present invention realizes for carrying out mouse function to touch panel remote controller at present, touch panel remote controller Associated with driver, cause function to realize limitation problem, the application framework layer in the input subsystems of TV is realized Processing conversion to finger touch information, generate corresponding mouse event and report the corresponding operation of application layer execution. Based on application framework layer in the upper strata of linux core layers, the processing conversion of finger touch information and linux core layers Driver is unrelated, touch panel remote controller is realized during mouse function and is not limited by its type of hardware, any a touch pad Remote control can realize its mouse function, improve the compatibility of function realization.Meanwhile the present invention is automatically selected by application program The functional mode being adapted to its feature operation, greatly facilitate user's use.
It is understood that for those of ordinary skills, can be with technique according to the invention scheme and its hair Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention Protect scope.

Claims (4)

  1. A kind of 1. mouse function implementation method of touch panel remote controller, it is characterised in that including:
    A, touch panel remote controller obtains finger touch information and is sent to the intelligent display device for carrying android system, passes through The finger touch information is reported application framework layer by the driver of the linux core layers of intelligent display device;
    B, finger touch information is converted to mouse action information by application framework layer, and reports application layer;
    C, application layer performs corresponding operation according to mouse action information;
    Complete to touch finger in the application framework layer of the input subsystem for the intelligent display device for carrying android system The processing of information is changed and is sent to application layer;
    The finger touch information include a series of finger contact situation, finger current absolute coordinate on a touchpad, on End code after report;
    When finger clicks touch pad, finger touch information is converted to mouse action by application framework layer in the step B Information specifically includes:Judge that finger leaves to finger the time interval of touch pad from contact touch pad and whether is less than predetermined threshold value, And current definitely abscissa of finger when upspringing and current current absolute abscissa when definitely ordinate contacts with finger respectively And whether the absolute value of the current definitely difference of ordinate is less than the pixel of the first predetermined quantity, if so, then by the finger Touch information is converted to mouse-click event, reports the operation information pressed and upspring of left mouse button to application layer;
    Finger touch information is converted to comprising the following steps that for mouse action information by application framework layer:Calculate relative sit Mark, the operation information that the finger touch information moves for mouse is judged according to relative coordinate, by the operation information of mouse movement Application layer is reported in the lump with relative coordinate;The relative coordinate is by the Diff E per two neighboring current absolute coordinate Value and ordinate difference composition;
    When finger moves on a touchpad, finger touch information is converted to mouse by application framework layer in the step B Operation information specifically includes:Relative coordinate is calculated, the behaviour that the finger touch information moves for mouse is judged according to relative coordinate Make information, the operation information of mouse movement and relative coordinate are reported into application layer in the lump;The relative coordinate is by every phase The abscissa difference and ordinate difference composition of adjacent two current absolute coordinates.
  2. A kind of 2. mouse function implementation method of touch panel remote controller, it is characterised in that including:
    A number can be write when a, carrying the application program launching of the intelligent display device of android system into pipeline in advance Value, application framework layer reads the numerical value that application program is previously written in pipeline, and selects work(according to the numerical value being previously written Can pattern;
    B, touch panel remote controller obtains finger touch information and is sent to intelligent display device, and passes through the drive of linux core layers The finger touch information is reported application framework layer by dynamic program;
    c:If selecting mouse functionality mode, finger touch information is converted to mouse action information by application framework layer, and Application layer is reported, if selection focus functionality pattern, application framework layer judge finger according to finger touch information Mobile direction, and corresponding direction key is reported to application layer;
    d:Application layer performs corresponding operation according to above-mentioned mouse action information, or judges the push-button type received, complete The operation moved into left and right, up or down;
    In the step a, the numerical value selection function pattern that application framework layer is previously written according to application program specifically includes: One variable is set in application framework layer, when the numerical value that application program is previously written pipeline is 0, the variable is true, choosing Select mouse functionality mode;When the numerical value that application program is previously written pipeline is 1, the variable is false, selects focus functionality mould Formula;
    When opening browser needs to use the application program of mouse function, application program writes 0 into pipeline in advance, using journey Sequence ccf layer reads application program is previously written in pipeline 0, selects mouse functionality mode, is opened in opening picture browsing, desktop When dynamic device needs to use the application program for the function that moves up and down, application program writes 1 into pipeline in advance, application program frame Rack-layer reads application program is previously written in pipeline 1, selects focus functionality pattern, greatly facilitates user's operation;
    Complete to touch finger in the application framework layer of the input subsystem for the intelligent display device for carrying android system The processing of information is changed and is sent to application layer;
    The finger touch information include a series of finger contact situation, the current absolute coordinate of finger on a touchpad, on End code after report;
    The direction of finger movement is judged application framework layer in the step c, and reports corresponding direction key to application Program layer specifically includes:
    C1, the current absolute coordinate reported is combined into an absolute coordinate group by the sequencing of acquisition;
    C2, it will be added up in above-mentioned absolute coordinate group per the difference of two neighboring current absolute coordinate;
    C3, the size for judging X-axis accumulated value, right button is reported when more than the pixel of the second predetermined quantity to application layer, Left button is reported to application layer when less than the pixel of the second predetermined quantity;
    Judge the size of Y-axis accumulated value;Upper key is reported to application layer when more than the pixel of the second predetermined quantity, when small Lower key is reported to application layer when the pixel of the second predetermined quantity.
  3. 3. a kind of system for being used to realize the mouse function implementation method of the touch panel remote controller described in claim 1, its feature It is, including:Touch panel remote controller and the intelligent display device for carrying android system;
    The touch panel remote controller is used to after finger contacts touch pad obtain finger touch information and be sent to intelligent display to set It is standby;
    The intelligent display device includes:
    Linux core layer drive modules, for receiving the finger touch information, and report ccf layer processing module;
    Ccf layer processing module, for finger touch information to be converted into mouse action information, and report application layer sound Answer module;
    Application layer respond module, for according to mouse action information, performing corresponding operation.
  4. 4. a kind of system for being used to realize the mouse function implementation method of the touch panel remote controller described in claim 2, its feature It is, including:Touch panel remote controller and the intelligent display device with carrying android system;
    The touch panel remote controller is used to after finger contacts touch pad obtain finger touch information and be sent to intelligent display to set It is standby;
    The intelligent display device includes:
    Functional mode preset module, for presetting numerical value in the application;
    Linux core layer drive modules, for receiving the finger touch information, and report ccf layer processing module;
    Ccf layer processing module, for reading numerical value set in advance from application program by pipeline communication, and according to advance The numerical value selection function pattern of setting;When selecting mouse functionality mode, finger touch information is converted into mouse action information, And report application layer respond module;When selecting focus functionality pattern, judge that finger moves according to finger touch information Direction, and report corresponding direction key to give application layer respond module;
    Application layer respond module, for according to mouse action information, performing corresponding operation.
CN201310203408.4A 2013-05-28 2013-05-28 The mouse function realization method and system of touch panel remote controller Expired - Fee Related CN103529962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310203408.4A CN103529962B (en) 2013-05-28 2013-05-28 The mouse function realization method and system of touch panel remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310203408.4A CN103529962B (en) 2013-05-28 2013-05-28 The mouse function realization method and system of touch panel remote controller

Publications (2)

Publication Number Publication Date
CN103529962A CN103529962A (en) 2014-01-22
CN103529962B true CN103529962B (en) 2017-12-19

Family

ID=49932034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310203408.4A Expired - Fee Related CN103529962B (en) 2013-05-28 2013-05-28 The mouse function realization method and system of touch panel remote controller

Country Status (1)

Country Link
CN (1) CN103529962B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750270A (en) * 2015-03-27 2015-07-01 深圳市申江科技开发有限公司 Remote controller and method for controlling terminal through same
CN106873824A (en) * 2016-12-31 2017-06-20 歌尔科技有限公司 The method and apparatus that are operated using touch-screen analog mouse and wear display device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880415A (en) * 2012-08-30 2013-01-16 华为终端有限公司 Multi-task switching method and terminal
CN103279224A (en) * 2013-05-28 2013-09-04 Tcl集团股份有限公司 Processing method and system for operations of touchpad

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260028A (en) * 2005-03-16 2006-09-28 Sony Corp Remote control system, remote controller, remote control method, information processor, information processing method and program
CN101216994A (en) * 2008-01-15 2008-07-09 东南大学 A household touch screen general multifunctional remote controller with extended functions
CN101562713A (en) * 2009-05-31 2009-10-21 四川长虹电器股份有限公司 Method for intelligently matching television with remote controller
CN102098461A (en) * 2009-12-11 2011-06-15 Tcl集团股份有限公司 Remote control system and remote control method thereof
US8860676B2 (en) * 2010-01-26 2014-10-14 Panasonic Intellectual Property Corporation Of America Display control device, method, program, and integrated circuit
CN202424954U (en) * 2012-01-18 2012-09-05 青岛海信电器股份有限公司 Remote controller with mouse function and television
CN102610084A (en) * 2012-03-07 2012-07-25 四川长虹电器股份有限公司 Universal remote controller implementing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880415A (en) * 2012-08-30 2013-01-16 华为终端有限公司 Multi-task switching method and terminal
CN103279224A (en) * 2013-05-28 2013-09-04 Tcl集团股份有限公司 Processing method and system for operations of touchpad

Also Published As

Publication number Publication date
CN103529962A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN102279665B (en) Television remote control method, device and system based on touchpad remote control
CN103870156B (en) A kind of method and device of process object
US20120249461A1 (en) Dedicated user interface controller for feedback responses
CN102681710B (en) Electronic equipment input method, device and electronic equipment based on this device
CN103154856A (en) Environment-dependent dynamic range control for gesture recognitio
CN102209146B (en) System and method for simulating joystick of panel computer on smart mobile phone
CN103324420B (en) A kind of multi-point touchpad input operation identification method and electronic equipment
CN109491562A (en) Interface display method of voice assistant application program and terminal equipment
CN104811780B (en) Control method of electronic device and device
CN101719032A (en) Multi-point touch system and method thereof
CN104298461A (en) Method for controlling intelligent device through mobile terminal and mobile terminal of method
CN102253799A (en) Touch type remote controller and display method and device thereof
CN107391246A (en) One kind applies startup method, mobile terminal and computer-readable recording medium
CN101968698A (en) Electronic whiteboard all-in-one machine
CN103207741A (en) Multi-user touch control method and system of computer virtual object
CN103927099A (en) Method and device for simulating touch sliding on intelligent display equipment through remote controller
CN102214060A (en) Touch electronic device and window control method thereof
CN103529962B (en) The mouse function realization method and system of touch panel remote controller
CN106775397A (en) The multi-touch method of pcb board and application pcb board
CN107562342A (en) A kind of mobile terminal control device and its control method
CN101995987A (en) Multipoint touch type large screen system
CN102402361A (en) Method and device for controlling on computer based on movement track of mouse
CN103686285A (en) Touch terminal and method for switching between Android system and Windows system
CN107092433A (en) The method of toch control and device of touch-control all-in-one machine
CN101303630A (en) Wireless control device and multiple indexes control method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171219