Embodiment
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Terminal device can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as terminal device of mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable media player (PMP), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is terminal device.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.Fig. 1 is the hardware configuration signal of the terminal device realizing each embodiment of the present invention.Terminal device 100 can comprise wireless communication unit 110, audio/video (A/V) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the terminal device with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
Describe wherein according to the communication system that terminal device of the present invention can operate with reference to figure 2.Such communication system can use different air interfaces and/or Physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.With reference to figure 2, cdma wireless communication system can comprise multiple terminal device 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC275.
Based on above-mentioned terminal device hardware structure and communication system, each embodiment of the inventive method is proposed.
Embodiment one,
Present embodiments provide a kind of method for information display, be applied to terminal device, described terminal device at least comprises display unit and touch control detection unit, and as shown in Figure 3, described method comprises:
Step 301: the information controlling menu function corresponding to the display unit display current operation page, wherein, the information of described menu function comprises information corresponding at least one menu function;
Step 302: touch control detection unit gets the first operation, resolves the operating parameter obtaining described first operation;
Step 303: based on the operating parameter of described first operation, determine the described first operation being operating as the preset kind for the first operating area, wherein, described preset kind characterizes the action type of display menu function;
Step 304: based on described first operation, control described display unit and show described menu function.
Here, described terminal device can be the equipment such as smart mobile phone, panel computer.
Described display unit can be the display screen of terminal device; Described touch control detection unit can be capacitive transducer.Suppose that touch control detection unit is capacitive transducer, when user touches capacitance plate, due to human body electric field, user's finger and workplace form a coupling capacitance, because workplace is connected to high-frequency signal, so finger walks a very little electric current, this electric current flows out respectively from the electrode four angles of screen, and flow through the electric current of four electrodes in theory and finger proportional to the distance of corner, controller, by calculating the precision of four current ratios, obtains out position.
Described touch control detection unit can at least include: the first operating area and the second operating area; Wherein said first operating area and the second operating area adjacent in position.Such as, shown in Fig. 4, wherein, the first operating area 41 is positioned at the first sidepiece and/or second sidepiece of described display unit; Described second operating area 42 can be positioned at the Zone Full beyond described first operating area of removing.
The information of described menu function can comprise the information at least one menu function corresponding to the current residing page.
Wherein, described information can be the mark that described menu function is corresponding; Such as, can be the title of described menu function; Or, the quantity of the menu function that described information can comprise for current page.
The described mode getting the first operation can for the operation determined by the changing value of electric capacity based on described capacitance detector.
Described in the present embodiment, the operating parameter of the first operation at least can include positional information; Wherein, described positional information can be the described first horizontal ordinate and ordinate operating in the coordinate system that touch control detection unit is set up.Such as, shown in Fig. 5, a suppose user clicks position, so the coordinate system set up of touch control detection unit as shown on the right side of Fig. 5, so can get positional information { x, the y} of the first operation on the right side of Fig. 5 in coordinate system.
Preferably, before performing step 301, also can detect the content information of the application of current display unit display, whether possess corresponding menu function, if possessed, just perform step 301, otherwise, do not perform step 301.Wherein, the content information of the application of display unit display can be the interface of the application display of current operation, such as, can be homepage, or, can be certain first level pages of some application of operation.
Below, the scene that composition graphs 6 provides for the present embodiment is described:
Step 601: the display mobile phone page
Step 602: identify whether current page has menu function; If so, then the right side display of mobile phone and the dot of menu number; If not, then mobile phone does not show the prompting of any menu function
Step 603: perform the first operation, shows detailed menu function based on the first operation.
Wherein, the dot that the right side of described mobile phone is identical with menu quantity can as shown in Figure 7, and four round dots in figure are the information of menu function.Showing that detailed menu function as shown in Figure 8, can at least show each menu function, at least including the title of menu function, as shown the title of four menu functions in Fig. 8.
Be understandable that, execute based on described first operation in the present embodiment, after described display unit shows described menu function, can also according to the selection of user for menu function, for the concrete option that user provides menu function corresponding, such as, can be as shown in Figure 9, menu function one is chosen when user clicks, for the particular content of user's display menu function, as three options that particular content shown on the right side of Fig. 9 is menu function one correspondence, user can carry out concrete setting for these options, no longer repeats here.
Visible, by adopting such scheme, just directly can provide the information of menu function that the current operation page is corresponding for user, according to first operation of user for the first operating area, determining unlatching also display menu function.So, just can avoid using Menu key, liberate Menu key, user can also be made to see intuitively, and whether the page of current operation possesses corresponding menu function, and then improves the operating experience of user.
Embodiment two,
Present embodiments provide a kind of method for information display, be applied to terminal device, described terminal device at least comprises display unit and touch control detection unit, and as shown in Figure 3, described method comprises:
Step 301: the information controlling menu function corresponding to the display unit display current operation page, wherein, the information of described menu function comprises information corresponding at least one menu function;
Step 302: touch control detection unit gets the first operation, resolves the operating parameter obtaining described first operation;
Step 303: based on the operating parameter of described first operation, determine the described first operation being operating as the preset kind for the first operating area, wherein, described preset kind characterizes the action type of display menu function;
Step 304: based on described first operation, control described display unit and show described menu function.
Here, described terminal device can be the equipment such as smart mobile phone, panel computer.
Described display unit can be the display screen of terminal device; Described touch control detection unit can be capacitive transducer.
Described touch control detection unit can at least include: the first operating area and the second operating area; Wherein said first operating area and the second operating area adjacent in position.Such as, shown in Fig. 4, wherein, the first operating area 41 is positioned at the first sidepiece and/or second sidepiece of described display unit; Described second operating area 42 can be positioned at the Zone Full beyond described first operating area of removing.
The information of described menu function can comprise the information at least one menu function corresponding to the current residing page.
Wherein, described information can be the mark that described menu function is corresponding; Such as, can be the title of described menu function; Or, the quantity of the menu function that described information can comprise for current page.
The described mode getting the first operation can for the operation determined by the changing value of electric capacity based on described capacitance detector.
Described in the present embodiment, the operating parameter of the first operation at least can include positional information; Wherein, described positional information can be the described first horizontal ordinate and ordinate operating in the coordinate system that touch control detection unit is set up.Such as, shown in Fig. 5, a suppose user clicks position, so the coordinate system set up of touch control detection unit as shown on the right side of Fig. 5, so can get positional information { x, the y} of the first operation on the right side of Fig. 5 in coordinate system.
For how determining that whether described first operation is that the operation of display menu function is described in the present embodiment, concrete mode can have following two kinds:
Mode one,
By means of only judgement first operate for region, judge that whether described operation is the operation of display menu function; Be specially:
Obtain described touch control detection unit and get the first operation, resolve the operating parameter obtaining described first operation, comprising:
Described touch control detection unit gets the first operation, resolves and obtains the operating parameter of the described first positional information operated as described first operation;
Accordingly, the described operating parameter based on described first operation, determine the described first operation being operating as the preset kind for the first operating area, comprising:
Obtain the positional information of described first operation;
Judge whether described positional information is in the first operating area;
If described positional information is in the first operating area, then determine the described first operation being operating as the preset kind for the first operating area.
Wherein, get positional information described in can at least include: the information such as operation starting point coordinate, operation terminal point coordinate, operation duration, operation moment.
In addition, described first operating area can be the region arranged according to actual conditions, such as, shown in Figure 10, wherein, the left and right sides portion that the first operating area is mobile phone can be set, the first operating area 1002 is set to the position of the left side correspondence in the first operating area.In addition, described first operation can be the single-click operation, double click operation or the slide that perform at described first operating area, does not limit, only determine whether to perform will open menu function according to the position of operation in the manner.
Mode two,
By judge the first operation for region and the particular type of described first operation, judge that whether described operation is the operation of display menu function; Be specially:
Describedly get the first operation, resolve the operating parameter obtaining described first operation, comprising:
Get the first operation, resolve the operating parameter of type as described first operation of positional information and described first operation obtaining described first operation;
Accordingly, the described operating parameter based on described first operation, determine the described first operation being operating as the preset kind for the first operating area, comprising:
Obtain the positional information of described first operation;
Judge whether described positional information is in the first operating area;
If described positional information is in the first operating area, then judges whether the type of described first operation is preset kind, if described type is preset kind, then determine the described first operation being operating as the preset kind for the first operating area.
Wherein, get positional information described in can at least include: the information such as operation starting point coordinate, operation terminal point coordinate, operation duration, operation moment.
In addition, described first operating area can be the region arranged according to actual conditions, such as, shown in Figure 10, wherein, the left and right sides portion that the first operating area is mobile phone can be set, the first operating area 1002 is set to the position of the left side correspondence in the first operating area.
In addition, the preset kind of described first operation can be the double click operation performed at described first operating area.
Touch control detection unit and touch-screen drive during initialization and register two input areas, as in Figure 10, and the corresponding input0 in A district 1001 i.e. the second operating area, the corresponding input1 of C district 1002 i.e. the first operating area.Give the correct time on a little, judge that this point drops on A district 1001 or C district 1002, then report with corresponding equipment.The point of Framework floor to A district (input0 reports) normally reports, and does special processing to the point of C district (input1 reports).
C district i.e. first operating area of touch control detection unit and touch-screen double-clicks recognition methods:
As shown in figure 11, double-click identification and refer in the use sight of customer mobile terminal, point double click mobile terminal first operating area, by identifying this gesture and triggering corresponding operation according to concrete application scenario.Figure 12 is expressed as the incoming event flow process of Android system, and Kernel reports the incoming event of touch-screen; Local framework (NatvieFramework) layer is responsible for the reception of incoming event, buffer memory, reading and scheduling distribution by input management; JavaFramework layer utilizes incoming event receiver (InputEventReceiver) to receive the incoming event of NativeFramework layer distribution, and by service processing make for input management service process accordingly, then shown by application layer.
The judgement carrying out double click operation as shown in figure 13, can suppose that the incoming event of two continuous touch points in the incoming event sequence that touch-screen reports is for first time operation (Pn), second time operation (Pn+1); In the process that Pn presses and lifts, Pn is carried out to the judgement of one click; If Pn once effectively clicks, then Pn, Pn+1 do not form once effective double click operation;
Otherwise judge when Pn+1 presses, record the touch X of Pn+1, Y position coordinates and timestamp, if the mistiming between the timestamp that lifts of the timestamp pressed of Pn+1 and Pn is greater than preset time threshold values, then Pn, Pn+1 do not form once effective double click operation;
If otherwise the distance between touch location when judging that the touch location pressed of Pn+1 and Pn lift is greater than preset distance threshold values, then Pn, Pn+1 do not form once effective double click operation;
Otherwise Pn+1 is carried out to the judgement of one click, if Pn+1 once effectively clicks, then Pn, Pn+1 form once effective double click operation; Otherwise Pn, Pn+1 do not form once effective double click operation.
Preferably, before performing step 301, also can detect the content information of the application of current display unit display, whether possess corresponding menu function, if possessed, just perform step 301, otherwise, do not perform step 301.Wherein, the content information of the application of display unit display can be the interface of the application display of current operation, such as, can be homepage, or, can be certain first level pages of some application of operation.
Below, the scene that composition graphs 6 provides for the present embodiment is described:
Step 601: the display mobile phone page;
Step 602: identify whether current page has menu function; If so, then the right side display of mobile phone and the dot of menu number; If not, then mobile phone does not show the prompting of any menu function
Step 603: perform the first operation, shows detailed menu function based on the first operation.
Wherein, the right side of described mobile phone is that is that the dot identical with menu quantity can as shown in Figure 7, and four round dots in figure are the information of menu function.Showing that detailed menu function as shown in Figure 8, can at least show each menu function at the second operating area, at least including the title of menu function, as shown the title of four menu functions in Fig. 8.
Be understandable that, execute based on described first operation in the present embodiment, after the second operating area of described display unit shows described menu function, can also according to the selection of user for menu function, for the concrete option that user provides menu function corresponding, such as, can be as shown in Figure 9, menu function one is chosen when user clicks, for the particular content of user's display menu function, as three options that particular content shown on the right side of Fig. 9 is menu function one correspondence, user can carry out concrete setting for these options, no longer repeats here.
After the described display unit of described control shows described menu function, described method also comprises:
Described touch control detection unit inspection second operates, and gets the operating parameter of the second operation;
Based on the operating parameter of described second operation, determine that described second is operating as the operation cancelled and show described menu function;
Based on described second operation, control described display unit and do not show described menu function.When clicking a certain item function, then enter into the setting of this function;
If do not want to operate the menu function put on display; The screen that can slide is turned right slip; Or double-click virtual partition side frame; Then parent page can be got back to; By the operation to virtual partition touch-screen, recalling and hiding of menu function very simply can be carried out; Whole operating experience is very convenient; Menu position simultaneously, can better be expanded; The entrance of other functions can be made.
When second operating area of the described display unit of described control does not show described menu function, described method also comprises: control the information showing described menu function at described first operating area.
Visible, by adopting such scheme, just can directly at the first operating area for user provides the information of the menu function that the current operation page is corresponding, operate according to user's first, determine unlatching and in the second operating area place display menu function.So, just can avoid using Menu key, liberate Menu key, user can also be made to see intuitively, and whether the page of current operation possesses corresponding menu function, and then improves the operating experience of user.
Embodiment three,
Present embodiments provide terminal device, as shown in figure 14, described terminal device comprises:
Display unit 1401, for showing the information of menu function corresponding to the current operation page, wherein, the information of described menu function comprises information corresponding at least one menu function;
Touch control detection unit 1402, for getting the first operation, resolves the operating parameter obtaining described first operation;
Processing unit 1403, for the operating parameter based on described first operation, determine the described first operation being operating as the preset kind for the first operating area, wherein, described preset kind characterizes the action type of display menu function; Based on described first operation, control described display unit and show described menu function.
Here, described terminal device can be the equipment such as smart mobile phone, panel computer.
Described display unit can be the display screen of terminal device; Described touch control detection unit can be capacitive transducer.Described touch control detection unit can at least include: the first operating area and the second operating area; Wherein said first operating area and the second operating area adjacent in position.Such as, shown in Fig. 4, wherein, the first operating area 41 is positioned at the first sidepiece and/or second sidepiece of described display unit; Described second operating area 42 can be positioned at the Zone Full beyond described first operating area of removing.
The information of described menu function can comprise the information at least one menu function corresponding to the current residing page.
Wherein, described information can be the mark that described menu function is corresponding; Such as, can be the title of described menu function; Or, the quantity of the menu function that described information can comprise for current page.
The described mode getting the first operation can for the operation determined by the changing value of electric capacity based on described capacitance detector.
Described in the present embodiment, the operating parameter of the first operation at least can include positional information; Wherein, described positional information can be the described first horizontal ordinate and ordinate operating in the coordinate system that touch control detection unit is set up.Such as, shown in Fig. 5, a suppose user clicks position, so the coordinate system set up of touch control detection unit as shown on the right side of Fig. 5, so can get positional information { x, the y} of the first operation on the right side of Fig. 5 in coordinate system.
Preferably, processing unit, also can detect the content information of the application of current display unit display, whether possess corresponding menu function, if possessed, just controls display unit display reminding information.
Be understandable that, execute based on described first operation in the present embodiment, after described display unit shows described menu function, can also according to the selection of user for menu function, for the concrete option that user provides menu function corresponding, such as, can be as shown in Figure 9, menu function one is chosen when user clicks, for the particular content of user's display menu function, as three options that particular content shown on the right side of Fig. 9 is menu function one correspondence, user can carry out concrete setting for these options, no longer repeats here.
Visible, by adopting such scheme, just directly can provide the information of menu function that the current operation page is corresponding for user, according to first operation of user for the first operating area, determining unlatching also display menu function.So, just can avoid using Menu key, liberate Menu key, user can also be made to see intuitively, and whether the page of current operation possesses corresponding menu function, and then improves the operating experience of user.
Embodiment four,
Present embodiments provide terminal device, as shown in figure 14, described terminal device comprises:
Display unit 1401, for showing the information of menu function corresponding to the current operation page, wherein, the information of described menu function comprises information corresponding at least one menu function;
Touch control detection unit 1402, for getting the first operation, resolves the operating parameter obtaining described first operation;
Processing unit 1403, for the operating parameter based on described first operation, determine the described first operation being operating as the preset kind for the first operating area, wherein, described preset kind characterizes the action type of display menu function; Based on described first operation, control described display unit and show described menu function.
Here, described terminal device can be the equipment such as smart mobile phone, panel computer.
Described display unit can be the display screen of terminal device; Described touch control detection unit can be capacitive transducer.
Described touch control detection unit can at least include: the first operating area and the second operating area; Wherein said first operating area and the second operating area adjacent in position.Such as, shown in Fig. 4, wherein, the first operating area 41 is positioned at the first sidepiece and/or second sidepiece of described display unit; Described second operating area 42 can be positioned at the Zone Full beyond described first operating area of removing.
The information of described menu function can comprise the information at least one menu function corresponding to the current residing page.
Wherein, described information can be the mark that described menu function is corresponding; Such as, can be the title of described menu function; Or, the quantity of the menu function that described information can comprise for current page.
The described mode getting the first operation can for the operation determined by the changing value of electric capacity based on described capacitance detector.
Described in the present embodiment, the operating parameter of the first operation at least can include positional information; Wherein, described positional information can be the described first horizontal ordinate and ordinate operating in the coordinate system that touch control detection unit is set up.Such as, shown in Fig. 5, a suppose user clicks position, so the coordinate system set up of touch control detection unit as shown on the right side of Fig. 5, so can get positional information { x, the y} of the first operation on the right side of Fig. 5 in coordinate system.
For how determining that whether described first operation is that the operation of display menu function is described in the present embodiment, concrete mode can have following two kinds:
Mode one,
Described touch control detection unit, specifically for getting the first operation, resolving and obtaining the operating parameter of the described first positional information operated as described first operation;
Accordingly, described processing unit, specifically for obtaining the positional information of described first operation; Judge whether described positional information is in the first operating area; If described positional information is in the first operating area, then determine the described first operation being operating as the preset kind for the first operating area.
Wherein, get positional information described in can at least include: the information such as operation starting point coordinate, operation terminal point coordinate, operation duration, operation moment.
In addition, described first operating area can be the region arranged according to actual conditions, such as, shown in Figure 10, wherein, the left and right sides portion that the first operating area is mobile phone can be set, the first operating area 1002 is set to the position of the left side correspondence in the first operating area.In addition, described first operation can be the single-click operation, double click operation or the slide that perform at described first operating area, does not limit, only determine whether to perform will open menu function according to the position of operation in the manner.
Mode two,
By judge the first operation for region and the particular type of described first operation, judge that whether described operation is the operation of display menu function; Be specially:
Described touch control detection unit, specifically for getting the first operation, resolves the operating parameter of type as described first operation of positional information and described first operation obtaining described first operation;
Accordingly, described processing unit, specifically for obtaining the positional information of described first operation; Judge whether described positional information is in the first operating area; If described positional information is in the first operating area, then judges whether the type of described first operation is preset kind, if described type is preset kind, then determine the described first operation being operating as the preset kind for the first operating area.
Wherein, get positional information described in can at least include: the information such as operation starting point coordinate, operation terminal point coordinate, operation duration, operation moment.
In addition, described first operating area can be the region arranged according to actual conditions, such as, shown in Figure 10, wherein, the left and right sides portion that the first operating area is mobile phone can be set, the first operating area 1002 is set to the position of the left side correspondence in the first operating area.
In addition, the preset kind of described first operation can be the double click operation performed at described first operating area.
Touch control detection unit and touch-screen drive during initialization and register two input areas, as in Figure 10, and the corresponding input0 in A district 1001 i.e. the second operating area, the corresponding input1 of C district 1002 i.e. the first operating area.Give the correct time on a little, judge that this point drops on A district 1001 or C district 1002, then report with corresponding equipment.The point of Framework floor to A district (input0 reports) normally reports, and does special processing to the point of C district (input1 reports).
C district i.e. first operating area of touch control detection unit and touch-screen double-clicks recognition methods:
As shown in figure 11, double-click identification and refer in the use sight of customer mobile terminal, point double click mobile terminal first operating area, by identifying this gesture and triggering corresponding operation according to concrete application scenario.Figure 12 is expressed as the incoming event flow process of Android system, and Kernel reports the incoming event of touch-screen; Local framework (NatvieFramework) layer is responsible for the reception of incoming event, buffer memory, reading and scheduling distribution by input management; JavaFramework layer utilizes incoming event receiver (InputEventReceiver) to receive the incoming event of NativeFramework layer distribution, and by service processing make for input management service process accordingly, then shown by application layer.
Be understandable that, execute based on described first operation in the present embodiment, after the second operating area of described display unit shows described menu function, can also according to the selection of user for menu function, for the concrete option that user provides menu function corresponding, such as, can be as shown in Figure 9, menu function one is chosen when user clicks, for the particular content of user's display menu function, as three options that particular content shown on the right side of Fig. 9 is menu function one correspondence, user can carry out concrete setting for these options, no longer repeats here.
Described touch control detection unit, also for detecting the second operation, gets the operating parameter of the second operation; Described processing unit, also for the operating parameter based on described second operation, determines that described second is operating as the operation cancelled and show described menu function; Based on described second operation, control described display unit and do not show described menu function.Described processing unit, when the second operating area also for controlling described display unit does not show described menu function, controls the information showing described menu function at described first operating area
When clicking a certain item function, then enter into the setting of this function;
If do not want to operate the menu function put on display; The screen that can slide is turned right slip; Or double-click virtual partition side frame; Then parent page can be got back to; By the operation to virtual partition touch-screen, recalling and hiding of menu function very simply can be carried out; Whole operating experience is very convenient; Menu position simultaneously, can better be expanded; The entrance of other functions can be made;
When second operating area of the described display unit of described control does not show described menu function, described method also comprises: control the information showing described menu function at described first operating area.
Visible, by adopting such scheme, just can directly at the first operating area for user provides the information of the menu function that the current operation page is corresponding, operate according to user's first, determine unlatching and in the second operating area place display menu function.So, just can avoid using Menu key, liberate Menu key, user can also be made to see intuitively, and whether the page of current operation possesses corresponding menu function, and then improves the operating experience of user.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.