Summary of the invention
Technical matters to be solved by this invention is to provide a kind of information processing method and electronic equipment, has for user provides the interactive mode that superior users is experienced.
In order to solve the problems of the technologies described above, the invention provides a kind of information processing method, be applied to electronic equipment, described electronic equipment at least has touch unit and interface unit, it is characterized in that, and described method comprises:
Described interface unit detects when the interface event of generation is the first event, generates the first instruction;
Based on the first instruction, described touch unit is forbidden the first function, enables the second function.
Further, described the first event comprises: external input device access events.
Further, described external input device comprises having the described electronic equipment display system of the instruction equipment of position functions in length and breadth.
Further, described the first function comprises: indicate the described electronic equipment display system function of position in length and breadth.
Further, described external input device comprises the equipment with keyboard entry function.
Further, described the first function comprises: virtual keyboard function.
Further, described the second function comprises one or more of following functions: the function that moves described electronic equipment display system current page based on user at the input trajectory of touch unit; Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit; Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user; Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
In order to solve the problems of the technologies described above, the present invention also provides a kind of electronic equipment, it is characterized in that, described electronic equipment comprises touch unit and interface unit, wherein:
Described interface unit, while being the first event, generates the first instruction for detection of the interface event to occurring;
Described touch unit, for based on the first instruction, forbids first function of this touch unit, enables second function of this touch unit.
Further, described the first event comprises: external input device access events.
Further, described external input device comprises having the described electronic equipment display system of the instruction equipment of position functions in length and breadth.
Further, described the first function comprises: indicate the described electronic equipment display system function of position in length and breadth.
Further, described external input device comprises the equipment with keyboard entry function.
Further, described the first function comprises: virtual keyboard function.
Further, described the second function comprises one or more of following functions: the function that moves described electronic equipment display system current page based on user at the input trajectory of touch unit; Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit; Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user; Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
Compared with prior art, the application, by detecting interface event, in the time that interface event is first event of being scheduled to, is forbidden the first function of touch unit, enables the second function of touch unit.In this application, in the reciprocal process of user and electronic equipment, by some functions of forbidding touch unit, the inconvenience of avoiding user to operate, improves user and experiences.In the time that interface event is external input device access events, user can use touch pad the second function and external input device simultaneously, has expanded user and electronic equipment reciprocal process mode, has promoted the interactive of reciprocal process, has significantly improved user's experience.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in instructions, claims and accompanying drawing.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the combination in any mutually of the feature in embodiment and embodiment in the application.
Embodiment 1
The present embodiment is described the information processing method that is applied to electronic equipment, and this electronic equipment at least comprises touch unit and interface unit, and Fig. 1 is this information processing method process flow diagram, and as shown in the figure, this information processing method comprises the following steps:
Step 101, interface unit detects when the interface event of generation is the first event, generates the first instruction;
Step 102, based on the first instruction, touch unit is forbidden the first function, enables the second function.
In the present embodiment, in the reciprocal process of user and electronic equipment, by some functions of forbidding touch unit, the inconvenience of avoiding user to operate, improves user and experiences.
In a preferred embodiment, when this interface event is external input device access events, interface unit generates the first instruction, and the first event comprises external input device access events.Now, user can use touch pad the second function and external input device simultaneously, has expanded user and electronic equipment reciprocal process mode, has promoted the interactive of reciprocal process, has significantly improved user's experience.
Embodiment 2
The present embodiment is taking external input device as having the instruction electronic equipment display system equipment of the position functions information processing method as example application in electronic equipment in length and breadth, this electronic equipment comprises touch unit and interface unit, Fig. 2 is this information processing method process flow diagram, as shown in the figure, this information processing method comprises the following steps:
Step 201, interface unit detects when the interface event of generation is external input device access events, generates the first instruction;
In the present embodiment, external input device comprises: have the instruction electronic equipment display system equipment of position functions in length and breadth.This external input device for example comprises mouse, writing input board, pointer or joystick etc.
Step 202, based on the first instruction, touch unit is forbidden the first function---and indicate the described electronic equipment display system function of position in length and breadth, enable the second function.
The described electronic equipment display system of forbidding instruction after the function of position, cannot be indicated electronic equipment display system position in length and breadth by touch unit in length and breadth, the pointer on cannot operation control display system, and this pointer position is only by external input device control.If now external input device does not manipulate pointer, it is constant that pointer keeps current location.
Above-mentioned the second function comprises one or more of following functions:
Move the function of described electronic equipment display system current page at the input trajectory of touch unit based on user;
Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit;
Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user;
Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
Embodiment 3
The information processing method of the present embodiment taking external input device as the equipment with keyboard entry function as example application in electronic equipment, this electronic equipment comprises touch unit and interface unit, Fig. 3 is this information processing method process flow diagram, and as shown in the figure, this information processing method comprises the following steps:
Step 301, interface unit detects when the interface event of generation is external input device access events, generates the first instruction;
In the present embodiment, external input device comprises: the equipment with keyboard entry function.
Step 302, based on the first instruction, touch unit is forbidden the first function---virtual keyboard function, enables the second function.
Above-mentioned the second function comprises one or more of following functions:
Move the function of described electronic equipment display system current page at the input trajectory of touch unit based on user;
Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit;
Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user;
Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
Embodiment 4
The present embodiment is described a kind of electronic equipment, the structural representation that Fig. 4 is this electronic equipment, and as shown in the figure, this electronic equipment comprisesinterface unit 401 andtouch unit 402, wherein:
Describedinterface unit 401, while being the first event, generates the first instruction for detection of the interface event to occurring;
Describedtouch unit 402, for based on the first instruction, forbids first function of this touch unit, enables second function of this touch unit.
This first event comprises in a preferred embodiment: external input device access events.
Embodiment 5
The present embodiment is taking external input device as having the instruction electronic equipment display system equipment of the position functions electronic equipment in example explanation embodiment 4 in length and breadth.
Interface unit 401 detects that the interface event of generation is to have instruction electronic equipment display system in length and breadth when the event of this electronic equipment of equipment access of position functions, generates the first instruction; The first instruction that touchunit 402 generates according tointerface unit 401, forbids first function of this touch unit, indicates the described electronic equipment display system function of position in length and breadth, enables second function of this touch unit.
Above-mentioned the second function comprises one or more of following functions: the function that moves described electronic equipment display system current page based on user at the input trajectory of touch unit; Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit; Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user; Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
Embodiment 6
The present embodiment is the electronic equipment in example explanation embodiment 4 taking external input device as the equipment with keyboard entry function.
Interface unit 401 detects that the interface event of generation is while having the event of this electronic equipment of equipment access of keyboard entry function, generates the first instruction; The first instruction that touchunit 402 generates according tointerface unit 401, forbids first function of this touch unit, i.e. virtual keyboard function enables second function of this touch unit.
Above-mentioned the second function comprises one or more of following functions: the function that moves described electronic equipment display system current page based on user at the input trajectory of touch unit; Based on user in the overturn function of described electronic equipment display system current page of the input trajectory of touch unit; Amplify the function of described electronic equipment display system current page at the input trajectory of touch unit based on user; Dwindle the function of described electronic equipment display system current page at the input trajectory of touch unit based on user.
The first instruction in above-described embodiment can be for example the signal that interface unit directly sends to touch unit, or can be also the signal for example, sending to touch unit by control module (CPU).
In the above-described embodiments, the second function of touch unit can be the function newly-increased for this touch unit, and the function that touch unit of primary electron equipment does not have can be also the existing function of touch unit, is all called in this article and enables the second function.
Application example 1
In this example, using notebook as electronic equipment, touch pad is that example describes as touch unit.
When after mouse access notebook, the function of touch pad forbidding rolling mouse pointer, enable pass is crossed the function of the mobile current display page of sliding on touch pad.Now, only by mouse control cursor movement and clicking, touch pad for controlling the rolling of front page layout, for example, comprises: the rolling of picture and the rolling of desktop (depending on operating system) in the rolling of document, Photo Browser in document process software.The page that user rolls in the foreground programs such as document, picture or desktop by slip touch pad, and in this process, the position of mouse pointer in picture remains unchanged.
For touch pad, owing to pre-determining the corresponding relation of input trajectory direction and page rotating direction, therefore after definite input trajectory direction, can determine page rotating direction.The distance that the page rolls can be set as with input trajectory length proportional.The starting point that can roll current mouse pointer position as the page.
The in the situation that the page showing when foreground cannot showing completely in viewing area, taking user's finger manipulation touch pad as example, describe moving direction by coordinate axis, illustrate as follows:
User's finger moves to x axle positive dirction on touch pad, and human eye is looked, and current page rolls to x axle positive dirction;
User's finger moves to y axle positive dirction on touch pad, and human eye is looked, and current page rolls to y axle positive dirction;
User's finger is mobile in the other direction to x axle on touch pad, and human eye is looked, and current page rolls in the other direction to x axle;
User's finger is mobile in the other direction to y axle on touch pad, and human eye is looked, and current page rolls in the other direction to y axle.
Play and move the effect that page scroll bar is identical with mouse by the finger that slides on touch pad.Owing to keeping, mouse pointer position is constant, can not affect user's current operation, can avoid false touch on the one hand, and for example, can avoid typewriting time, touch pad causes the problem of input error; On the other hand, mouse original function is not disturbed by touch pad, and new touch pad working method can be separated with mouse function, both can be combined with, user can easily make with the hands touch pad and the mouse of this computer of Operational Note simultaneously, increases work efficiency, and provides better user to experience.
For with prior art compatibility, and the use habit of catering to different user, can be at the new and old function choosing-item of the middle increase of arranging of touch pad, user can select to continue to use touch pad mouse beacon, also can select to replace scroll bar with touch pad.
Application example 2
In this example, using intelligent terminal as electronic equipment, touch-screen is that example describes as touch unit.Intelligent terminal is for example the smart mobile phone with touch-screen, or has panel computer of touch-screen etc.
In the time that intelligent terminal connects external keyboard equipment, the virtual keyboard function of touch-screen is disabled, in the time that needs are inputted, dummy keyboard no longer shows, replace its function by external keyboard equipment, can avoid like this dummy keyboard to take screen space, for user brings better experience.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.
It is apparent to those skilled in the art that each ingredient of the device that above-mentioned the embodiment of the present application provides, and each step in method, they can concentrate on single calculation element, or are distributed on the network that multiple calculation elements form.Alternatively, they can be realized with the executable program code of calculation element.Thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Although the disclosed embodiment of the present invention as above, the embodiment that described content only adopts for ease of understanding the present invention, not in order to limit the present invention.Those of skill in the art under any the present invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can in the form of implementing and details, carry out any amendment and variation; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.