CN109558045A - With method, apparatus, terminal and the storage medium of mobile terminal control cursor - Google Patents

With method, apparatus, terminal and the storage medium of mobile terminal control cursor Download PDF

Info

Publication number
CN109558045A
CN109558045A CN201811425147.XA CN201811425147A CN109558045A CN 109558045 A CN109558045 A CN 109558045A CN 201811425147 A CN201811425147 A CN 201811425147A CN 109558045 A CN109558045 A CN 109558045A
Authority
CN
China
Prior art keywords
terminal
control instruction
control
controlled
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
Application number
CN201811425147.XA
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811425147.XA priority Critical patent/CN109558045A/en
Publication of CN109558045A publication Critical patent/CN109558045A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • G06F3/04892Arrangements for controlling cursor position based on codes indicative of cursor displacements from one discrete location to another, e.g. using cursor control keys associated to different directions or using the tab key

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)
  • Position Input By Displaying (AREA)

Abstract

The application proposes a kind of method, apparatus, terminal and storage medium with mobile terminal control cursor, this includes optical signal caused by real-time detection terminal flash lamp with mobile terminal control light calibration method;The opposite displacement for being laid flat face of terminal is determined according to optical signal;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, the display position of cursor in display terminal interface is controlled.It can be realized by the application in the case where not increasing manufacturing cost, it is convenient that display terminal is controlled, promote user experience degree.

Description

With method, apparatus, terminal and the storage medium of mobile terminal control cursor
Technical field
This application involves field of terminal technology more particularly to a kind of method, apparatus, terminals with mobile terminal control cursor And storage medium.
Background technique
The display terminals such as PC in the related technology are required to be operated using mouse, wherein laptop In order to facilitate user's use, touch tablet is set.But on the whole, the operating experience (speed, accuracy) of touch tablet is much Too late mouse action, and wireless or wire mouse, additionally need carrying mouse, and not convenient enough.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, the purpose of the application is to propose a kind of method, apparatus, terminal and storage with mobile terminal control cursor Medium can be realized in the case where not increasing manufacturing cost, convenient to control display terminal, promote user experience Degree.
In order to achieve the above objectives, what the application first aspect embodiment proposed controls light calibration method, packet with mobile terminal It includes: optical signal caused by real-time detection terminal flash lamp;The opposite face that is laid flat of the terminal is determined according to the optical signal Displacement;Corresponding first control instruction is determined according to the displacement, meanwhile, it is based on first control instruction, to display terminal The display position of cursor is controlled in interface.
What the application first aspect embodiment proposed controls light calibration method with mobile terminal, is dodged by real-time detection terminal Optical signal caused by light lamp;The opposite displacement for being laid flat face of terminal is determined according to optical signal;Corresponding the is determined according to displacement One control instruction, meanwhile, it is based on the first control instruction, the display position of cursor in display terminal interface is controlled, due to It is that terminal flash lamp is utilized to make terminal realize the function of mouse, can be realized in the case where not increasing manufacturing cost, just Victory controls display terminal, promotes user experience degree.
In order to achieve the above objectives, the device with mobile terminal control cursor that the application second aspect embodiment proposes, packet It includes: detecting module, for optical signal caused by real-time detection terminal flash lamp;Determining module, for according to the optical signal Determine the opposite displacement for being laid flat face of the terminal;Control module, for determining that corresponding first control refers to according to the displacement It enables, meanwhile, it is based on first control instruction, the display position of cursor in display terminal interface is controlled.
The device with mobile terminal control cursor that the application second aspect embodiment proposes, is dodged by real-time detection terminal Optical signal caused by light lamp;The opposite displacement for being laid flat face of terminal is determined according to optical signal;Corresponding the is determined according to displacement One control instruction, meanwhile, it is based on the first control instruction, the display position of cursor in display terminal interface is controlled, due to It is that terminal flash lamp is utilized to make terminal realize the function of mouse, can be realized in the case where not increasing manufacturing cost, just Victory controls display terminal, promotes user experience degree.
In order to achieve the above objectives, the application third aspect also proposes a kind of terminal, which includes shell, processor, deposits Reservoir, circuit board and power circuit and photo-sensing device, wherein the circuit board is placed in the space that the shell surrounds Inside, the processor and the memory are arranged on the circuit board;The power circuit, for for each of the terminal A circuit or device power supply;The memory is for storing executable program code;The photo-sensing device is used for real-time detection Optical signal caused by terminal flash lamp, the processor by read the executable program code stored in the memory come Program corresponding with the executable program code is run, for executing: determining that the terminal is opposite according to the optical signal Put the displacement of plane;Corresponding first control instruction is determined according to the displacement, meanwhile, it is based on first control instruction, The display position of cursor in display terminal interface is controlled.
The terminal that the application third aspect embodiment proposes, passes through optical signal caused by real-time detection terminal flash lamp; The opposite displacement for being laid flat face of terminal is determined according to optical signal;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on First control instruction controls the display position of cursor in display terminal interface, due to being that terminal flash lamp is utilized So that terminal is realized the function of mouse, can be realized in the case where not increasing manufacturing cost, it is convenient that display terminal is controlled, Promote user experience degree.
In order to achieve the above objectives, the application fourth aspect embodiment proposes a kind of non-transitory computer-readable storage medium Matter enables the terminal to execute and a kind of uses mobile terminal when the instruction in the storage medium is executed by the processor of terminal Control light calibration method, which comprises the side with mobile terminal control cursor that the application first aspect embodiment proposes Method.
The non-transitorycomputer readable storage medium that the application fourth aspect embodiment proposes, passes through real-time detection terminal Optical signal caused by flash lamp;The opposite displacement for being laid flat face of terminal is determined according to optical signal;It is corresponding according to displacement determination First control instruction, meanwhile, it is based on the first control instruction, the display position of cursor in display terminal interface is controlled, by Then terminal flash lamp is utilized to make terminal realize the function of mouse, can be realized in the case where not increasing manufacturing cost, It is convenient that display terminal is controlled, promote user experience degree.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram with mobile terminal control light calibration method that one embodiment of the application proposes;
Fig. 2 is the flow diagram with mobile terminal control light calibration method that another embodiment of the application proposes;
Fig. 3 is application scenarios schematic diagram in the embodiment of the present application;
Fig. 4 is the structural schematic diagram for the device with mobile terminal control cursor that one embodiment of the application proposes;
Fig. 5 is the structural schematic diagram for the device with mobile terminal control cursor that another embodiment of the application proposes;
Fig. 6 is the structural schematic diagram for the terminal that the application one embodiment proposes.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.On the contrary, this The embodiment of application includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the flow diagram with mobile terminal control light calibration method that one embodiment of the application proposes.
The present embodiment with mobile terminal control light calibration method to be configured as in the device for controlling cursor with mobile terminal To illustrate.
The dress that cursor is controlled with mobile terminal can be configured in the present embodiment with mobile terminal control light calibration method In setting, it is arranged in the terminal with the device of mobile terminal control cursor.
Wherein, terminal can be smart phone, tablet computer, personal digital assistant, e-book etc. with various operations system The hardware device of system.
It, can center in the person's of being, for example, terminal on hardware it should be noted that the executing subject of the embodiment of the present application Processor (Central Processing Unit, CPU) can be, for example, the relevant background service in terminal on software, With no restriction to this.
The display terminals such as PC in the related technology are required to be operated using mouse, wherein laptop In order to facilitate user's use, touch tablet is set.But on the whole, the operating experience (speed, accuracy) of touch tablet is much Too late mouse action, and wireless or wire mouse, additionally need carrying mouse, and not convenient enough.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of mobile terminal control light calibration method, leads to Cross optical signal caused by real-time detection terminal flash lamp;The opposite displacement for being laid flat face of terminal is determined according to optical signal;According to Displacement determines corresponding first control instruction, meanwhile, it is based on the first control instruction, to the display position of cursor in display terminal interface It sets and is controlled, due to being the function that terminal flash lamp is utilized to make terminal realization mouse, can be realized and do not increasing manufacture It is convenient that display terminal is controlled in the case where cost, promote user experience degree.
Referring to Fig. 1, this method comprises:
S101: optical signal caused by real-time detection terminal flash lamp.
Wherein, flash lamp is what terminal rear portion carried.
The embodiment of the present application can pre-establish the communication link between terminal and display terminal during specific execute It connects, for example, terminal and display terminal are communicatively coupled with bluetooth.
Display terminal therein can be, for example, the terminal for needing to control it, for example, PC or notebook Computer etc..
The embodiment of the present application during specific execute, can built-in photo-sensing device in the terminal, using photoinduction Optical signal caused by device real-time detection terminal flash lamp.
S102: the opposite displacement for being laid flat face of terminal is determined according to optical signal.
The plane therein putting plane and being placed by present terminal can be desktop etc..
The embodiment of the present application is during specific execute, in order to accurately determine the opposite displacement for being laid flat face of terminal, The reflected light signal of plane can be put based on photo-sensing device detection built-in in terminal, wherein reflected light signal is to put Plane reflects optical signal caused by flash lamp;Displacement is determined according to generated optical signal and reflected light signal.
The step of above-mentioned S101 and S102, can be to execute, that is, real-time detection terminal during execution in real time Caused by flash lamp when optical signal, meanwhile, the reflected light letter of plane is put based on photo-sensing device detection built-in in terminal Number, wherein reflected light signal puts plane and reflects to obtain to optical signal caused by flash lamp;Believed according to generated light Number and reflected light signal determine displacement, being capable of effective guarantee user experience.
For example, when photo-sensing device optical signal caused by real-time detection terminal flash lamp, meanwhile, plane is put in detection Reflected light signal then optical signal caused by flash lamp and reflected light signal are transmitted in the central controller of terminal, Extract the signal characteristic of generated optical signal and reflected light signal respectively using relevant algorithm by central controller, and to each The signal characteristic of signal carries out operational analysis, obtains the opposite displacement for being laid flat face of terminal.
S103: determining corresponding first control instruction according to displacement, meanwhile, it is based on the first control instruction, to display terminal The display position of cursor is controlled in interface.
Wherein, control instruction corresponding with displacement can be referred to as the first control instruction, be realized based on the first control instruction The display position of cursor in display terminal interface is controlled.
It may include adjustment position corresponding with displacement and adjustment direction in first control instruction therein.
In the embodiment of the present application, displacement can be preset according to actual application scenarios needs in central controller, with And the corresponding relationship between corresponding adjustment position and adjustment direction, make actual displacement and the adjustment position in display terminal And adjustment direction is corresponding, then, central controller can determine corresponding adjustment position and tune when analyzing displacement Perfect square is to and according to adjustment position and adjustment direction generating control instruction and as the first control instruction, then, via this First control instruction carries out corresponding control to the display position of cursor in display terminal interface, for example, based on adjustment position and Adjustment direction carries out corresponding adjustment to the display position of cursor.
Optionally, in some embodiments, referring to fig. 2, further includes:
S201: touch operation of the user's finger in the terminal in predetermined registration operation region is received.
S202: the second control instruction corresponding with touch operation is determined.
S203: being based on the second control instruction, and the content positioned to cursor in display terminal interface carries out corresponding control, The function that second control instruction is controlled corresponds to the function that the idler wheel of mouse is controlled.
Referring to Fig. 3, Fig. 3 is application scenarios schematic diagram in the embodiment of the present application, including predetermined registration operation region 31, and user can be with Touch operation is carried out in above-mentioned predetermined registration operation region 31, can be, for example, specifically the operation for touching and sliding up and down, with mould The wheel operation of quasi- mouse.
The function that the idler wheel of mouse is controlled can be, for example, the functions such as upper and lower page turning.
Optionally, in some embodiments, referring to fig. 2, further includes:
S204: user's finger is received to the triggering command of terminal programmable button.
S205: when programmable button is the key of the first kind, third control instruction is generated.
S206: being based on third control instruction, and the content positioned to cursor in display terminal interface carries out confirmation control, the The function that three control instructions are controlled corresponds to the function that the left button of mouse is controlled.
Optionally, in some embodiments, referring to fig. 2, further includes:
S207: when programmable button is the key of Second Type, the 4th control instruction is generated.
S208: being based on the 4th control instruction, calls the positioned corresponding feature list of content, and the 4th control instruction is controlled The function of system corresponds to the function that the right button of entity mouse is controlled.
Wherein, the function that the left button of mouse is controlled can be, for example, the function that the content positioned to cursor is confirmed Can, for example, the function that function or double left button mouse click that single left button mouse click can be realized can be realized, mouse The function that right button is controlled can be, for example, the function of calling the positioned corresponding feature list of content, for example, should calling After feature list, can and then objective function be chosen from feature list by left mouse button to execute corresponding operation control.
Optionally, in some embodiments, the key of the first kind is the volume key for tuning up volume, and the key of Second Type is The volume key of volume is turned down, alternatively, the key of Second Type is power key.
By the various embodiments described above, it can use existing various keys in terminal and easily realize control function of mouse, Without in addition increasing device, the manufacturing cost of effectively save terminal, and completely realizes entity mouse and can be performed Various functions, promoted user experience degree, expand application range.Key by configuring the first kind is to tune up volume Volume key, the key of Second Type is the volume key for turning volume down, alternatively, the key of Second Type be power key so that more Meet the habit that user's hand held terminal is operated, it is more humane, promote user experience degree.
In the present embodiment, pass through optical signal caused by real-time detection terminal flash lamp;Terminal phase is determined according to optical signal The opposed displacement for being laid flat face;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, to display The display position of cursor is controlled in terminal interface, due to being the function that terminal flash lamp is utilized to make terminal realization mouse Can, it can be realized in the case where not increasing manufacturing cost, it is convenient that display terminal is controlled, promote user experience Degree.
Fig. 4 is the structural schematic diagram for the device with mobile terminal control cursor that one embodiment of the application proposes.
Referring to fig. 4, which includes:
Detecting module 401, for optical signal caused by real-time detection terminal flash lamp;
Determining module 402, for determining the opposite displacement for being laid flat face of terminal according to optical signal;
Control module 403, for determining corresponding first control instruction according to displacement, meanwhile, it is based on the first control instruction, The display position of cursor in display terminal interface is controlled.
Optionally, in some embodiments, referring to Fig. 5, determining module 402, comprising:
Submodule 4021 is detected, for putting the reflected light letter of plane based on photo-sensing device detection built-in in terminal Number, wherein reflected light signal puts plane and reflects to obtain to optical signal caused by flash lamp;
Submodule 4022 is determined, for determining displacement according to generated optical signal and reflected light signal.
Optionally, in some embodiments, referring to Fig. 5, device 400 further include:
Receiving module 404, for receiving touch operation of the user's finger in the terminal in predetermined registration operation region;
Control module 403 is also used to determine the second control instruction corresponding with touch operation, and is referred to based on the second control It enables, the content positioned to cursor in display terminal interface carries out corresponding control, the function pair that the second control instruction is controlled The function that should be controlled in the idler wheel of mouse.
Optionally, in some embodiments, wherein
Receiving module 404 is also used to receive user's finger to the triggering command of terminal programmable button;
Control module 403 is also used to generate third control instruction, and base when programmable button is the key of the first kind In third control instruction, the content positioned to cursor in display terminal interface carries out confirmation control, and third control instruction is controlled The function of system corresponds to the function that the left button of mouse is controlled.
Optionally, in some embodiments, wherein
Control module 403 is also used to generate the 4th control instruction, and base when programmable button is the key of Second Type In the 4th control instruction, the positioned corresponding feature list of content is called, the function that the 4th control instruction is controlled corresponds to The function that the right button of entity mouse is controlled.
Optionally, in some embodiments, the key of the first kind is the volume key for tuning up volume, and the key of Second Type is The volume key of volume is turned down, alternatively, the key of Second Type is power key.
It should be noted that the solution of the embodiment of the method with mobile terminal control cursor in earlier figures 1- Fig. 3 embodiment The device 400 with mobile terminal control cursor that explanation is also applied for the embodiment is released, realization principle is similar, no longer superfluous herein It states.
In the present embodiment, pass through optical signal caused by real-time detection terminal flash lamp;Terminal phase is determined according to optical signal The opposed displacement for being laid flat face;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, to display The display position of cursor is controlled in terminal interface, due to being the function that terminal flash lamp is utilized to make terminal realization mouse Can, it can be realized in the case where not increasing manufacturing cost, it is convenient that display terminal is controlled, promote user experience Degree.
Fig. 6 is the structural schematic diagram for the terminal that the application one embodiment proposes.
Referring to Fig. 6, the terminal 60 of the present embodiment includes: shell 601, processor 602, memory 603, circuit board 604, electricity Source circuit 605 and photo-sensing device 606, circuit board 604 are placed in the space interior that shell 601 surrounds, and processor 602 is deposited Reservoir 603 is arranged on circuit board 604;Power circuit 605, for powering for each circuit of terminal 60 or device;Memory 603 For storing executable program code;Wherein, photo-sensing device 606, for the letter of light caused by real-time detection terminal flash lamp Number, processor 602 is corresponding with executable program code to run by reading the executable program code stored in memory 603 Program, with for executing:
The opposite displacement for being laid flat face of terminal is determined according to optical signal;
Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, in display terminal interface The display position of cursor is controlled.
It should be noted that the solution of the embodiment of the method with mobile terminal control cursor in earlier figures 1- Fig. 3 embodiment The terminal 60 that explanation is also applied for the embodiment is released, realization principle is similar, and details are not described herein again.
In the present embodiment, pass through optical signal caused by real-time detection terminal flash lamp;Terminal phase is determined according to optical signal The opposed displacement for being laid flat face;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, to display The display position of cursor is controlled in terminal interface, due to being the function that terminal flash lamp is utilized to make terminal realization mouse Can, it can be realized in the case where not increasing manufacturing cost, it is convenient that display terminal is controlled, promote user experience Degree.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, works as storage When instruction in medium is executed by the processor of terminal, enable the terminal to execute a kind of side with mobile terminal control cursor Method, method include:
Optical signal caused by real-time detection terminal flash lamp;
The opposite displacement for being laid flat face of terminal is determined according to optical signal;
Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, in display terminal interface The display position of cursor is controlled.
Non-transitorycomputer readable storage medium in the present embodiment, by caused by real-time detection terminal flash lamp Optical signal;The opposite displacement for being laid flat face of terminal is determined according to optical signal;Corresponding first control instruction is determined according to displacement, together When, it is based on the first control instruction, the display position of cursor in display terminal interface is controlled, due to being that terminal is utilized to dodge Light lamp come make terminal realize mouse function, can be realized in the case where not increasing manufacturing cost, it is convenient to display terminal into Row control, promotes user experience degree.
In order to realize above-described embodiment, the application also proposes a kind of computer program product, when in computer program product Instruction when being executed by processor, execute it is a kind of control light calibration method with mobile terminal, method includes:
Optical signal caused by real-time detection terminal flash lamp;
The opposite displacement for being laid flat face of terminal is determined according to optical signal;
Corresponding first control instruction is determined according to displacement, meanwhile, it is based on the first control instruction, in display terminal interface The display position of cursor is controlled.
Computer program product in the present embodiment passes through optical signal caused by real-time detection terminal flash lamp;According to Optical signal determines the opposite displacement for being laid flat face of terminal;Corresponding first control instruction is determined according to displacement, meanwhile, it is based on first Control instruction controls the display position of cursor in display terminal interface, due to being that terminal flash lamp is utilized to make end The function of mouse is realized at end, can be realized in the case where not increasing manufacturing cost, convenient to control display terminal, is promoted User experience degree.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (14)

1. a kind of control light calibration method with mobile terminal, which comprises the following steps:
Optical signal caused by real-time detection terminal flash lamp;
The opposite displacement for being laid flat face of the terminal is determined according to the optical signal;
Corresponding first control instruction is determined according to the displacement, meanwhile, it is based on first control instruction, to display terminal circle The display position of cursor is controlled in face.
2. controlling light calibration method with mobile terminal as described in claim 1, which is characterized in that described according to the optical signal Determine the opposite displacement for being laid flat face of the terminal, comprising:
The reflected light signal for putting plane is detected based on photo-sensing device built-in in the terminal, wherein the reflection The optical signal storing plane reflects to obtain to optical signal caused by the flash lamp;
The displacement is determined according to the generated optical signal and the reflected light signal.
3. controlling light calibration method with mobile terminal as described in claim 1, which is characterized in that further include:
Receive touch operation of the user's finger in the terminal in predetermined registration operation region;
Determine the second control instruction corresponding with the touch operation;
Based on second control instruction, the content positioned to cursor described in the display terminal interface carries out corresponding control System, the function that second control instruction is controlled correspond to the function that the idler wheel of mouse is controlled.
4. controlling light calibration method with mobile terminal as claimed in claim 3, which is characterized in that further include:
User's finger is received to the triggering command of the terminal programmable button;
When the programmable button is the key of the first kind, third control instruction is generated;
Based on the third control instruction, the content positioned to cursor described in the display terminal interface carries out confirmation control System, the function that the third control instruction is controlled correspond to the function that the left button of the mouse is controlled.
5. controlling light calibration method with mobile terminal as claimed in claim 4, which is characterized in that further include:
When the programmable button is the key of Second Type, the 4th control instruction is generated;
Based on the 4th control instruction, the corresponding feature list of the positioned content, the 4th control instruction are called The function of being controlled corresponds to the function that the right button of the entity mouse is controlled.
6. controlling light calibration method with mobile terminal as claimed in claim 4, which is characterized in that the key of the first kind For the volume key for tuning up volume, the key of the Second Type is the volume key for turning volume down, alternatively, the Second Type is pressed Key is power key.
7. a kind of device with mobile terminal control cursor characterized by comprising
Detecting module, for optical signal caused by real-time detection terminal flash lamp;
Determining module, for determining the opposite displacement for being laid flat face of the terminal according to the optical signal;
Control module, for determining corresponding first control instruction according to the displacement, meanwhile, referred to based on first control It enables, the display position of cursor in display terminal interface is controlled.
8. as claimed in claim 7 with the device of mobile terminal control cursor, which is characterized in that the determining module, comprising:
Submodule is detected, for detecting the reflected light letter for putting plane based on photo-sensing device built-in in the terminal Number, wherein the reflected light signal storing plane reflects to obtain to optical signal caused by the flash lamp;
Submodule is determined, for determining the displacement according to the generated optical signal and the reflected light signal.
9. as claimed in claim 7 with the device of mobile terminal control cursor, which is characterized in that described device further include:
Receiving module, for receiving touch operation of the user's finger in the terminal in predetermined registration operation region;
The control module is also used to determine the second control instruction corresponding with the touch operation, and based on second control System instruction, the content positioned to cursor described in the display terminal interface carry out corresponding control, and second control refers to Controlled function is enabled to correspond to the function that the idler wheel of mouse is controlled.
10. as claimed in claim 9 with the device of mobile terminal control cursor, which is characterized in that wherein,
The receiving module is also used to receive user's finger to the triggering command of the terminal programmable button;
The control module is also used to generate third control instruction, and base when the programmable button is the key of the first kind In the third control instruction, the content positioned to cursor described in the display terminal interface carries out confirmation control, described The function that third control instruction is controlled corresponds to the function that the left button of the mouse is controlled.
11. as claimed in claim 10 with the device of mobile terminal control cursor, which is characterized in that wherein,
The control module is also used to generate the 4th control instruction, and base when the programmable button is the key of Second Type In the 4th control instruction, the corresponding feature list of the positioned content is called, the 4th control instruction is controlled Function correspond to the function that is controlled of right button of the entity mouse.
12. as claimed in claim 10 with the device of mobile terminal control cursor, which is characterized in that the first kind is pressed Key is the volume key for tuning up volume, and the key of the Second Type is the volume key for turning volume down, alternatively, the Second Type Key is power key.
13. a kind of terminal, including shell, processor, memory, circuit board and power circuit and photo-sensing device, wherein The circuit board is placed in the space interior that the shell surrounds, and the processor and the memory are arranged in the circuit board On;The power circuit, for each circuit or the device power supply for the terminal;The memory is for storing executable journey Sequence code;The photo-sensing device, for optical signal caused by real-time detection terminal flash lamp, the processor passes through reading The executable program code stored in the memory runs program corresponding with the executable program code, for holding Row:
The opposite displacement for being laid flat face of the terminal is determined according to the optical signal;
Corresponding first control instruction is determined according to the displacement, meanwhile, it is based on first control instruction, to display terminal circle The display position of cursor is controlled in face.
14. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program It is realized when being executed by processor and controls light calibration method with mobile terminal as of any of claims 1-6.
CN201811425147.XA 2018-11-27 2018-11-27 With method, apparatus, terminal and the storage medium of mobile terminal control cursor Pending CN109558045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811425147.XA CN109558045A (en) 2018-11-27 2018-11-27 With method, apparatus, terminal and the storage medium of mobile terminal control cursor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811425147.XA CN109558045A (en) 2018-11-27 2018-11-27 With method, apparatus, terminal and the storage medium of mobile terminal control cursor

Publications (1)

Publication Number Publication Date
CN109558045A true CN109558045A (en) 2019-04-02

Family

ID=65867656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811425147.XA Pending CN109558045A (en) 2018-11-27 2018-11-27 With method, apparatus, terminal and the storage medium of mobile terminal control cursor

Country Status (1)

Country Link
CN (1) CN109558045A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135307A (en) * 2003-10-31 2005-05-26 Ntt Docomo Inc Terminal equipment and communication method
US20080001922A1 (en) * 2004-07-28 2008-01-03 Newton Peripherals, Llc Peripheral devices for portable computer
CN101102559A (en) * 2006-07-06 2008-01-09 英业达股份有限公司 Action communication device
CN103218162A (en) * 2013-03-26 2013-07-24 广东欧珀移动通信有限公司 Terminal operation method and device
CN103576901A (en) * 2012-08-02 2014-02-12 腾讯科技(深圳)有限公司 Implement method for performing cursor control on screen through handheld electronic device and handheld electronic device
CN103699324A (en) * 2013-12-24 2014-04-02 小米科技有限责任公司 Method and device for controlling cursor position
CN103927120A (en) * 2014-04-24 2014-07-16 中科创达软件股份有限公司 Method and device for information processing, mobile terminal and computer
CN207022051U (en) * 2017-05-17 2018-02-16 龙旗电子(惠州)有限公司 A kind of smart mobile phone with contact control mouse
CN108521497A (en) * 2018-03-09 2018-09-11 珠海市魅族科技有限公司 A kind of terminal control method, control device, terminal and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135307A (en) * 2003-10-31 2005-05-26 Ntt Docomo Inc Terminal equipment and communication method
US20080001922A1 (en) * 2004-07-28 2008-01-03 Newton Peripherals, Llc Peripheral devices for portable computer
CN101102559A (en) * 2006-07-06 2008-01-09 英业达股份有限公司 Action communication device
CN103576901A (en) * 2012-08-02 2014-02-12 腾讯科技(深圳)有限公司 Implement method for performing cursor control on screen through handheld electronic device and handheld electronic device
CN103218162A (en) * 2013-03-26 2013-07-24 广东欧珀移动通信有限公司 Terminal operation method and device
CN103699324A (en) * 2013-12-24 2014-04-02 小米科技有限责任公司 Method and device for controlling cursor position
CN103927120A (en) * 2014-04-24 2014-07-16 中科创达软件股份有限公司 Method and device for information processing, mobile terminal and computer
CN207022051U (en) * 2017-05-17 2018-02-16 龙旗电子(惠州)有限公司 A kind of smart mobile phone with contact control mouse
CN108521497A (en) * 2018-03-09 2018-09-11 珠海市魅族科技有限公司 A kind of terminal control method, control device, terminal and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
EP3293607B1 (en) Electronic device and method of controlling electronic device
EP3449349B1 (en) Electronic device and method of recognizing touches in the electronic device
CN109313519B (en) Electronic device comprising a force sensor
US10558835B2 (en) Electronic device and method for acquiring fingerprint information
CN111488078B (en) Touch processing method and electronic device supporting same
EP3335214B1 (en) Method and electronic device for playing a virtual musical instrument
KR102298972B1 (en) Performing an action based on a gesture performed on edges of an electronic device
US20190204868A1 (en) Electronic device and control method therefor
CN106485124B (en) Operation control method of mobile terminal and mobile terminal
US10386954B2 (en) Electronic device and method for identifying input made by external device of electronic device
CN107924286B (en) Electronic device and input method of electronic device
KR20160014481A (en) Device Operated on Idle Mode and Method thereof
CN110326277A (en) For the interface providing method of multitask and the electronic equipment of implementation this method
US20160224305A1 (en) Deformable wearable electronic device
KR20160026342A (en) Device for Controlling Object Based on User Input and Method thereof
US10528248B2 (en) Method for providing user interface and electronic device therefor
US20200097118A1 (en) Method for using various kinds of electronic pens and electronic device therefor
US10636398B2 (en) Wearable electronic device and method for controlling application being executed in electronic device
US20170046062A1 (en) Method and electronic device for processing user input
TWI543027B (en) Input device
EP3726419A1 (en) Fingerprint input method, and terminal
US10139932B2 (en) Electronic device and control method therefor
CN109558045A (en) With method, apparatus, terminal and the storage medium of mobile terminal control cursor
US20150062594A1 (en) Electronic device having sensor unit and operating method thereof
CN117032485A (en) Touch pen-based use method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402

RJ01 Rejection of invention patent application after publication