For thering is display control method and the system of the mobile phone of touch screen
Technical field
The present invention relates to cellphone inputting method correlative technology field, particularly a kind of for thering is display control method and the system of the mobile phone of touch screen.
Background technology
Existing various mobile communication terminal, most touch sensitive screens with touch-sensitive function that adopt.User touches touch sensitive screen with finger or other object, and then system is carried out regioselective input information according to the icon of finger touch or menu position.Touch sensitive screen is by touching detection part and touch controller forms; Touch detection part and be arranged on before touch sensitive screen, for detection of user touch location, after acceptance, send touch controller; And the Main Function of touch controller is to receive touch information from touch point detection part, and convert it to contact coordinate, then give central processing unit (CPU), its can receive the order that CPU sends simultaneously and be carried out.
Pressure transducer is a kind of sensor the most conventional in industrial practice, and our normally used pressure transducer mainly utilizes piezoelectric effect manufacture to form, and such sensor is also referred to as piezoelectric sensor.
Existing mobile phone has added gravity sensing instrument, and screen therefore can be detected is vertically or laterally to place, thereby carries out corresponding display mode.Erect screen display mode and horizontal screen display mode.When display mode is converted to horizontal screen display mode from perpendicular screen display mode, or while being converted to perpendicular screen display mode from horizontal screen display mode, font on screen, button etc. all can change accordingly according to the situation of screen, for example, font or button are widened or narrow to adapt to the variation of screen.
Mobile phone passes through screen display content.But sometimes screen is limited, particularly, when by web browser browsing page, the content of webpage is more, can not from screen, show completely, therefore need to make corresponding action by various screen control assembly Control the contents, make user can see completely complete content.Screen control assembly is generally in screen one side demonstration, and user does exercises to screen control assembly, and screen will respond and move accordingly.
But the problem of prior art is, this screen control assembly is general only to be shown in screen one side, when user's employing is hold by one hand mobile phone, by thumb, click screen, due to screen control assembly cannot adaptation user's gripping situation, therefore,, when screen control assembly is presented at the opposite side of thumb, user is difficult to go to click and control by thumb.For example, user grips mobile phone with the right hand, and screen control assembly is presented at screen left side, and user cannot be clicked and be controlled this screen control assembly by hand thumb, and this makes user very inconvenient.
Summary of the invention
The invention provides a kind ofly for thering is display control method and the system of the mobile phone of touch screen, to solve prior art, for touch sensitive screen mobile phone, be hold by one hand the technical matters of adaptation user's handling that mobile phone screen Control Component cannot intelligence.
The technical scheme adopting is as follows:
For having a display control method for the mobile phone of touch screen, described mobile phone comprises the touch sensitive screen with touch-sensitive function, and mobile phone is by touch sensitive screen displaying contents, and four limits of mobile phone are provided with a plurality of sensors, and described display control method comprises:
Step 1, the display mode of detection of handset, perpendicular screen display mode, determines that two sides to be detected are two long sides if, horizontal screen display mode, determines that two sides to be detected are two short sides, execution step 2 if;
Step 2, the sensor situation of detection of handset two sides to be detected, determines major side edges, execution step 3;
Step 3, touch sensitive screen is at close major side edges one side display screen Control Component;
The sensor situation of described step 2 detection of handset two sides to be detected, specifically comprises:
If the number being triggered that the sensor of mobile phone two sides to be detected detects all non-vanishing and difference is greater than threshold value, the sensor in mobile phone two side to be detected of usining detects first side that the number that is triggered is few as major side edges;
If the mobile phone two side to be detected number being triggered that wherein sensor of a side detects is zero, and the number being triggered that the sensor of another side detects is non-vanishing, it is major side edges that the sensor of take in mobile phone two side to be detected detects the non-vanishing second side of number being triggered;
Described screen control component detection user's click, according to screen control assembly, detected click shows corresponding content to touch sensitive screen.
Further, also comprise:
Described step 1 also comprises: mobile phone is accepted the predefined preset rules of user;
Described step 2 also comprises:
The number difference being triggered that the sensor of mobile phone two sides to be detected detects is less than or equal to threshold value, or the number being triggered that detects of the sensor of mobile phone two sides to be detected is zero, according to preset rules, sets major side edges;
Described preset rules is:
If the display mode of mobile phone is perpendicular screen display mode:
A side of setting two long sides is major side edges;
If the display mode of mobile phone is horizontal screen display mode:
A side of setting two short sides is major side edges.
Further:
Described screen control assembly is slider bar, and described touch sensitive screen is controlled displayed content according to moving up and down of slider bar and done and move up and down accordingly action, or;
Described screen control assembly is page-turning button, page-turning button comprises page-turning button, lower page-turning button, left page-turning button and/or right page-turning button, described touch sensitive screen detects the click of user to upper page-turning button, lower page-turning button, left page-turning button and/or right page-turning button according to page-turning button, controls displayed content and does corresponding page turning action.
In general, screen control assembly can have slider bar or page-turning button.
Slider bar be one rectangular, be presented at screen one side, user drags slider bar, the content on screen will be followed slider bar and be moved up and down.
And page-turning button is one group of button, can there be four, go up page-turning button, lower page-turning button, left page-turning button and/or right page-turning button, also can there be two, go up page-turning button, lower page-turning button.User is by clicking corresponding page-turning button, and screen carries out corresponding page turning action.
Further:
Described sensor is pressure transducer or light sensor:
If sensor is pressure transducer, described in be triggered pressure transducer and pressurized detected;
If sensor is light sensor, described in be triggered light sensor and light source detected and be blocked.
Further, described content is web browser content.
For having a display control program for the mobile phone of touch screen, described mobile phone comprises the touch sensitive screen with touch-sensitive function, and mobile phone is by touch sensitive screen displaying contents, and described display control program comprises:
Be arranged on a plurality of sensors on the four side of mobile phone;
Storer;
One or more processors, and;
One or more modules, are stored in storer, and are carried out by described one or more processors, and described one or more modules comprise:
Display mode detection module, for detection of the display mode of mobile phone, perpendicular screen display mode, determines that two sides to be detected are two long sides if, horizontal screen display mode, determines that two sides to be detected are two short sides if;
Detection trigger module, for detection of the sensor situation of mobile phone two sides to be detected of being determined by display mode detection module:
If the number being triggered that the sensor of mobile phone two sides to be detected detects all non-vanishing and difference is greater than threshold value, the sensor in mobile phone two side to be detected of usining detects first side that the number that is triggered is few as major side edges;
If the mobile phone two side to be detected number being triggered that wherein sensor of a side detects is zero, and the number being triggered that the sensor of another side detects is non-vanishing, it is major side edges that the sensor of take in mobile phone two side to be detected detects the non-vanishing second side of number being triggered;
Control Component display module, at touch sensitive screen near major side edges one side display screen Control Component;
Further, also comprise default load module and default display module:
Default load module, for accepting the predefined preset rules of user, described preset rules is:
If the display mode of display mode detection module judgement is perpendicular screen display mode:
A side of setting two long sides is major side edges;
If display mode detection module judgement display mode is horizontal screen display mode:
A side of setting two short sides is major side edges;
Described detection trigger module also for:
If the number difference being triggered that the sensor of mobile phone two sides to be detected detects is less than or equal to threshold value, if or the number being triggered that detects of the sensor of mobile phone two sides to be detected be zero, according to preset rules, set major side edges.
Further:
Described screen control assembly is slider bar, and described touch sensitive screen is controlled displayed content according to moving up and down of slider bar and done and move up and down accordingly action, or;
Described screen control assembly is page-turning button, page-turning button comprises page-turning button, lower page-turning button, left page-turning button and/or right page-turning button, described touch sensitive screen detects the click of user to upper page-turning button, lower page-turning button, left page-turning button and/or right page-turning button according to page-turning button, controls displayed content and does corresponding page turning action.
Further:
Described sensor is pressure transducer or light sensor:
If sensor is pressure transducer, described in be triggered pressure transducer and pressurized detected;
If sensor is light sensor, described in be triggered light sensor and light source detected and be blocked.
Further, described content is web browser content.
The present invention is by setting up sensor at four sides of mobile phone, and detecting judgement user is to grip mobile phone by left hand or the right hand, thereby screen control assembly is arranged on to the position of user's most convenient, makes user pass through one hand and just can control display screen content.
Accompanying drawing explanation
Fig. 1 is the demonstration schematic diagram of prior art when perpendicular screen display is shown;
Fig. 2 is embodiment of the present invention mobile phone left view;
Fig. 3 is the demonstration schematic diagram of the embodiment of the present invention when perpendicular screen display is shown;
Fig. 4 is the demonstration schematic diagram of prior art when horizontal screen display is shown;
Fig. 5 is the demonstration schematic diagram of the embodiment of the present invention when horizontal screen display is shown;
Fig. 6 is the process flow diagram of the embodiment of the present invention;
Fig. 7 is the system module figure of the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention will be further described in detail.
Be illustrated in figure 1 the demonstration schematic diagram when perpendicular screen display is shown of prior art.In Fig. 1, screen control assembly adopts slider bar 16 as an example.What user used is that left hand 13 grips mobile phone 11, slider bar 16 is presented at the right side of touch sensitive screen 12, thumb 131 is in order to click slider bar 16, thumb 131 stretching of need to as far as possible turning right, very inconvenient, thumb 131, in the process stretching, easily touches screen, thereby leads to errors click simultaneously.What is more, the user that some hand is comparatively little, or the comparatively large mobile phone of touch sensitive screen 12, and thumb 131 cannot arrive screen right side, and user can only operate by both hands.And certain user is for convenient, can be thumb 131 extension of turning right as far as possible, thumb 131 extension of turning right, the forefinger 132, middle finger 133, the third finger 134 and the tail that mean left hand refer to that 135 needs are toward moving to left, to coordinate the movement of thumb 131, thereby forefinger 132, middle finger 133, the third finger 134 and tail refer to that 135 can unclamp from screen right side, and at this moment mobile phone 11 only has the place ahead, left and rear with the contact area of user's left hand 13, with original all around contacting and compare on four sides, large the increasing that have a big risk dropping.
Be illustrated in figure 2 the mobile phone left view of the embodiment of the present invention.In the present embodiment, one of them long side of mobile phone 21, limit 251, left side is provided with a plurality of sensors 27, another one long side, right edge and two short sides are equipped with a plurality of identical sensors (not marking in the drawings).Sensor adopts pressure sensor or light sensor all can.
Be illustrated in figure 3 the demonstration schematic diagram of the embodiment of the present invention when perpendicular screen display is shown.Screen control assembly adopts slider bar 36 as an example, and sensor adopts pressure sensor as an example.The limit, left side 351 of the mobile phone 31 of Fig. 3, right edge 352, upper side edge 353 and lower side 354 all have a plurality of pressure transducers, and limit, left side 351 and right edge 352 are long side, and upper side edge 353 and lower side 354 are short side.
User grips mobile phone 31 by left hand 33, due to mobile phone 31 employings are perpendicular screen display modes, therefore side to be detected is limit, left side 351 and right edge 352, mobile phone 31 is added up respectively the number that the pressure transducer of pressure detected in limit 351, left side, and the number that the pressure transducer of pressure detected in right edge 352.When gripping with left hand 33, due to the forefinger 332 of left hand, middle finger 333, nameless 334 and tail refer to that 335 are all held in the right edge 352 of mobile phone 31, and the finger root that only has the thumb 331 of left hand 33 withstands the limit, left side 351 of mobile phone 31, so the contact area on left hand and limit, left side 351 is less than the contact area of left hand and right edge 352.In the present embodiment, for convenience of description, Threshold is 0, and in reality, this threshold value can be carried out suitable adjustment according to the susceptibility of the number of the pressure transducer in each side setting and pressure transducer.(for example, when pressure transducer arranges abundantly, the contact area of each side and hand can be very accurate, therefore this threshold value can arrange greatlyr, thereby obtain more accurate judgement, and when pressure transducer arranges fewerly, this threshold value can arrange littlely, to strengthen fault-tolerance and robustness.) difference of the number that is triggered of the pressure transducer that detects of the number that is triggered of pressure transducer that therefore limit 351, left side detects and right edge 352 is greater than threshold value 0, and the number that the pressure transducer that limit, left side 351 detects is triggered is less than the number that pressure transducer that right edge 352 detects is triggered, therefore, limit, left side 351 is major side edges.Mobile phone 31 is the position display slider bar 36 on limit, close left side 351 by touch sensitive screen 32.User drags by thumb 331 content that slider bar 36 just can control in touch sensitive screen 32 and moves up and down accordingly.
Fig. 4 is the schematic diagram of prior art under horizontal screen display mode, and screen control assembly adopts page-turning button 47 as an example.What user used is that left hand 43 grips mobile phone 41, and page-turning button 47 is presented at the right side of touch sensitive screen 42, and in the situation that horizontal screen display is shown, thumb 431 cannot arrive screen right side, and user can only operate by both hands.
Fig. 5 is the schematic diagram of the embodiment of the present invention under horizontal screen display mode, and screen control assembly adopts page-turning button 57 as an example, and sensor adopts light sensor as an example.The limit, left side 551 of mobile phone 51, right edge 552, upper side edge 553 and lower side 554 all have a plurality of pressure transducers, and limit, left side 551 and right edge 552 are long side, and upper side edge 553 and lower side 554 are short side.Mobile phone 51 is in horizontal screen display mode, and because user is hold by one hand mobile phone 51, but due to the magnitude relationship of hand, user adopts left hand 53 to grip, and only can grip the upper side edge 553 of the machine of stopping 51.Because mobile phone 51 adopts horizontal screen display mode, therefore mobile phone 51 only detects upper side edge 553 and lower side 554, therefore the number that light sensor is blocked to be detected be 0 to the lower side 554 of mobile phone 51, and the light sensor of upper side edge 553 detects the number being blocked, be greater than 0, upper side edge 553 is set to major side edges.Mobile phone 51 is the position display page-turning button 57 at close upper side edge 553 by touch sensitive screen 52.The content that user just can control in touch sensitive screen 52 by thumb 551 click page-turning button 57 is carried out corresponding page turning action.
Fig. 6 is the particular flow sheet of the embodiment of the present invention.
Step 61, accepts the predefined preset rules of user, execution step 62;
Step 62, the display mode of detection of handset, perpendicular screen display mode, determines that two sides to be detected are two long sides if, horizontal screen display mode, determines that two sides to be detected are two short sides, execution step 63 if;
Step 63, the sensor situation of detection of handset two sides to be detected:
If the number being triggered that the sensor of mobile phone two sides to be detected detects all non-vanishing and difference is greater than threshold value, the sensor in mobile phone two side to be detected of usining detects first side that the number that is triggered is few as major side edges;
If the mobile phone two side to be detected number being triggered that wherein sensor of a side detects is zero, and the number being triggered that the sensor of another side detects is non-vanishing, it is major side edges that the sensor of take in mobile phone two side to be detected detects the non-vanishing second side of number being triggered;
If the number difference being triggered that the sensor of mobile phone two sides to be detected detects is less than or equal to threshold value, or the number being triggered that detects of the sensor of mobile phone two sides to be detected is zero, according to preset rules, sets major side edges;
Execution step 64;
Step 64, touch sensitive screen is at close major side edges one side display screen Control Component.
Above-mentioned preset rules is set by the user:
If the display mode of mobile phone is perpendicular screen display mode, any side that user can set two long sides according to personal habits is major side edges; For example, as Fig. 3, can preset limit 351, left side for major side edges;
If the display mode of mobile phone is horizontal screen display mode, any side that user can set two short sides according to personal habits is major side edges; Fig. 5 for example, user can preset lower side 554 for major side edges.
Fig. 7 is the system module figure of the present embodiment.
For having a display control program for the mobile phone of touch screen, described mobile phone comprises the touch sensitive screen with touch-sensitive function, and mobile phone is by touch sensitive screen displaying contents, and described display control program comprises:
Be arranged on a plurality of sensors on the four side of mobile phone;
Storer;
One or more processors, and;
One or more modules, are stored in storer, and are carried out by described one or more processors, and described one or more modules comprise:
Default load module 710, for accepting the predefined preset rules of user, described preset rules is:
If the display mode of display mode detection module 720 judgements is perpendicular screen display mode:
A side of setting two long sides is major side edges;
If display mode detection module 720 judgement display modes are horizontal screen display mode:
A side of setting two short sides is major side edges;
Display mode detection module 720, for detection of the display mode of mobile phone, perpendicular screen display mode, determines that two sides to be detected are two long sides if, horizontal screen display mode, determines that two sides to be detected are two short sides if;
Detection trigger module 730, for detection of the sensor situation by definite mobile phone two sides to be detected of display mode 720 detection modules:
If the number being triggered that the sensor of mobile phone two sides to be detected detects all non-vanishing and difference is greater than threshold value, the sensor in mobile phone two side to be detected of usining detects first side that the number that is triggered is few as major side edges;
If the mobile phone two side to be detected number being triggered that wherein sensor of a side detects is zero, and the number being triggered that the sensor of another side detects is non-vanishing, it is major side edges that the sensor of take in mobile phone two side to be detected detects the non-vanishing second side of number being triggered;
If the number difference being triggered that the sensor of mobile phone two sides to be detected detects is less than or equal to threshold value, if or the number being triggered that detects of the sensor of mobile phone two sides to be detected be zero, according to preset rules, set major side edges;
Control Component display module 740, at touch sensitive screen near major side edges one side display screen Control Component.
The present invention mainly for how uses while being hold by one hand user, and the control screen Control Component that mobile phone can be more intelligent is presented at the position of user's most convenient, makes user pass through singlehandedly just can control display screen content.Yet when if user adopts hands grasping mobile phone, method of the present invention also can be used, at this moment no matter screen control assembly is arbitrary side of deflection dual-side, the highest candidate word and the some beating keyboard of selection priority that user also can be very well.For example, when user with the hands grips mobile phone, the number being triggered detecting due to the sensor of both sides is identical, and mobile phone arranges the position of screen control assembly according to the predefined preset rules of user.