Summary of the invention
The objective of the invention is to propose a kind of input in Chinese window display packing and device of portable terminal, in the hope of solving the problem of the literal that input in Chinese window shield portions of the prior art imported.
On the one hand, the invention provides a kind of input in Chinese window display packing of portable terminal, described method comprises:
In the Chinese text frame of mobile terminal display screen, show an input in Chinese window;
Chinese text is input to the position of the input prompt cursor in the described Chinese text frame by described input in Chinese window;
Described input in Chinese window is presented at the white space of a described input prompt cursor below or a side, and moving with described input prompt cursor;
If the width of described white space less than the width of described input in Chinese window, then is shown as transparent input window with described input in Chinese window, and the territory, block arranged with what described transparent input window was presented at a described input prompt cursor top or a side.
On the other hand, the invention provides a kind of input in Chinese window display device of portable terminal, described device comprises:
Input in Chinese window display unit is used for showing an input in Chinese window at the Chinese text frame of mobile terminal display screen;
The Chinese text input block is used for by described input in Chinese window Chinese text being input to the position of the input prompt cursor of described Chinese text frame;
Input in Chinese window mobile unit is used for the white space that described input in Chinese window is presented at a described input prompt cursor below or a side, and moving with described input prompt cursor;
Wherein, if input in Chinese window display unit also is used for the width of the width of described white space less than described input in Chinese window, then described input in Chinese window is shown as transparent input window, and the territory, block is arranged what described transparent input window was presented at a described input prompt cursor top or a side.
Beneficial effect of the present invention is: according to technical scheme provided by the invention, by with the moving of the input in Chinese window in the Chinese text frame of mobile terminal display screen along with cursor, when the width of the white space in the input text frame during less than the width of described input in Chinese window, described input in Chinese window is shown as transparent input window, thereby can solve the problem of the literal that input in Chinese window shield portions of the prior art imported, strengthen user's experience sense.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Figure 2 shows that the schematic flow sheet of the input in Chinese window display packing of the portable terminal that the embodiment of the invention provides.Described method comprises:
Step S201 shows an input in Chinese window in the Chinese text frame of mobile terminal display screen;
In the present embodiment, described portable terminal can be mobile phone, PDA or other-end equipment.Content in the described input in Chinese window can be: Pinyin information and corresponding to the Chinese of described Pinyin information perhaps also can be a stroke information and corresponding to the Chinese of stroke information.
Step S202 is input to Chinese text by described input in Chinese window the position of the input prompt cursor in the described Chinese text frame;
The user can pass through input media input Chinese such as keyboard, rocking bar or touch-screen, shows described phonetic (or stroke information) and the corresponding Chinese of described information (a plurality of Chinese character) in described input in Chinese window.Behind the Chinese character of need selecting by the user, Chinese text is inputed to the position of the input prompt cursor in the described Chinese text frame.The Chinese text shared zone in described Chinese text frame that is input to the Chinese text frame be described Chinese text frame the territory, block arranged, and in the described Chinese text frame all the other not import the zone of Chinese text be the white space of described Chinese text frame.
Step S203, described input in Chinese window are presented at the white space of a described input prompt cursor below or a side, and moving with described input prompt cursor;
The intact delegation of every demonstration Chinese character, when needing prompt to enter a new line the next line of current line, when first Chinese character of described next line showed, described input in Chinese window also moved down; The Chinese character of perhaps whenever being totally lost, described input in Chinese window moves to the left side (perhaps right side) of cursor.Correspondingly, the territory, block that has in the described Chinese text frame increases gradually, and the white space in the described Chinese text frame reduces gradually.
Step S204 if the width of described white space less than the width of described input in Chinese window, then is shown as transparent input window with described input in Chinese window, and has a territory, block with what described transparent input window was presented at a described input prompt cursor top or a side;
Continuous input along with Chinese character, during the cursor line feed, the described input in Chinese window also below of continuous sub-screen moves, white space also constantly reduces, when the width of white space during less than the width of described input in Chinese window, described input in Chinese window then is presented at the top of input prompt cursor, that is to say, described input in Chinese window can cover on the Chinese text of partly having imported (territory, block is arranged).But, because behind the width of the width of judging described white space less than described input in Chinese window, the input in Chinese window is changed into and is shown as transparent input window by being shown as opaque input window, just can see through described transparent input window with regard to the Chinese text that makes the part that was capped originally import like this and display.Like this, the Chinese character that has been blocked before then need not remembeing of user.Similarly, if the width of described white space less than the width of described transparent input in Chinese window, then is presented at a described side (left side or right side) with described transparent input in Chinese window, do not repeat them here.
In addition, also can set a predetermined value, when reaching described predetermined value, what then described input in Chinese window is shown as transparent input window and is presented at a described input prompt cursor top or a side has a territory, block.For example: can be arranged to when prompt moves to certain of screen (such as tool screen top or below 1/2nd or three/for the moment), then described transparent input window is presented at above the described input prompt cursor or a side the territory, block arranged.Perhaps can also be arranged to Chinese when input when reaching a certain quantity (for example: during 30 words), then described transparent input window is presented at above the described input prompt cursor or a side the territory, block arranged.
Described description just technical scheme of the present invention is not limited to technical scheme of the present invention in order better to explain.The those skilled in the art can be according to actual needs, when setting a certain condition and taking place, then described transparent input window is presented at above the described input prompt cursor or a side the territory, block arranged.
By described scheme, can solve the problem that the input window shield portions that exists in the prior art has been imported Chinese character.
On the basis of Fig. 2, the input in Chinese window display packing of the portable terminal that the embodiment of the invention provides also can comprise as shown in Figure 3 step S301, step S302 be set.The described step S301 that is provided with is: the transparency that described input in Chinese window is set.Specifically, the user can regulate described transparency according to actual needs, make described input in Chinese window be in translucent, to approach full impregnated bright.As long as the input characters that can will be capped appears.Described step S302 is: the position of input prompt cursor of described Chinese text frame and the distance between the described input in Chinese window are set.Particularly, described distance can be the height of 0 to Chinese character.Perhaps can also dynamically arrange described distance according to user's needs.Need to prove that step S301, step S302 are the preferred steps of the input in Chinese window display packing of the portable terminal that provides of the embodiment of the invention, and be not the essential step that realizes described method.The user can be as required, only to as to as described in the transparency of input in Chinese window (step S301) is set, perhaps only the position of the input prompt cursor of described Chinese text frame and the distance between the described input in Chinese window are provided with (step S302), the transparency of described input in Chinese window perhaps both had been set, again described distance had been provided with.Advancing step S301, after the S302, the user can also carry out preview, if the described transparency that sets, described distance are unsatisfied with, still can cancel being provided with or being provided with again again.In addition, step S301, step S302 can be before step S201 as shown in Figure 2, but the input in Chinese window display packing of the portable terminal that the embodiment of the invention provides is not exceeded with Fig. 3.Step S301, S302 also can be in any positions of each step shown in Figure 2, for example before each step, between or afterwards.
Figure 4 shows that the synoptic diagram of the input in Chinese window display device 400 of the portable terminal that the embodiment of the invention provides.Described device comprises: input in Chinese window display unit 401, Chinese text input block 402, input in Chinese window mobile unit 403.
Wherein, input in Chinese window display unit 401 is used for showing an input in Chinese window at the Chinese text frame of display screen of mobile communication terminal;
Content in the described input in Chinese window can be: Pinyin information and corresponding to the Chinese of described Pinyin information perhaps also can be a stroke information and corresponding to the Chinese of stroke information.
Chinese text input block 402 is used for by described input in Chinese window Chinese text being input to the position of the input prompt cursor of described Chinese text frame;
The user can pass through input media input Chinese such as keyboard, rocking bar or touch-screen, shows described phonetic (or stroke information) and the corresponding Chinese of described information (one or more Chinese character) in described input in Chinese window.Behind the Chinese character of need selecting by the user, Chinese text is inputed to the position of the input prompt cursor in the described Chinese text frame.
Input in Chinese window mobile unit 403; Be used for the white space that described input in Chinese window is presented at a described input prompt cursor below or a side, and moving with described input prompt cursor;
The intact delegation of every demonstration Chinese character, when needing prompt to enter a new line the next line of current line, when first Chinese character of described next line showed, described input in Chinese window also moved down; The Chinese character of perhaps whenever being totally lost, described input in Chinese window moves to the left side (perhaps right side) of cursor.
Wherein, if input in Chinese window display unit 403 also is used for the width of the width of described white space less than described input in Chinese window, then described input in Chinese window is shown as transparent input window, and the territory, block is arranged what described transparent input window was presented at a described input prompt cursor top or a side.
As shown in Figure 5, the input in Chinese window display device 400 of the portable terminal that the embodiment of the invention provides also can comprise: transparency is provided with unit 404, is used to be provided with the transparency of described input in Chinese window; Distance is provided with unit 405, is used to be provided with the position of input prompt cursor of described Chinese text frame and the distance between the described input in Chinese window.
Introduce technical scheme provided by the invention in detail with an instantiation more below.Figure 6 shows that the particular flow sheet of the input in Chinese window display packing of the portable terminal that the embodiment of the invention provides.Figure 7 shows that the input in Chinese window display packing exemplary plot of the portable terminal that the embodiment of the invention provides.(a) of Fig. 7 is the sectional drawing of display screen to (i).Please in conjunction with Fig. 6, Fig. 7, described method comprises:
Step S601 shows an input in Chinese window 702 in the Chinese text frame 701 of mobile terminal display screen 700;
Step S602 receives Pinyin information or stroke information that the user imports; Pinyin information shown in Fig. 7 (a).
Step S603 inputs to the Chinese text frame by the input in Chinese window with Chinese text.
Step S604, every input delegation is when cursor moves to next line, with the input in Chinese window downwards or a side shifting.
Whether step S605, the width of judging white space less than the width of input window, if execution in step S606 then; If not, then continue execution in step S604;
Step S606 is shown as transparent window with the input in Chinese window by opaque window, and with what described transparent window moved to a prompt top or a side the territory, block is arranged; Shown in Fig. 7 (f), the part that is sheltered from by input in Chinese window input characters just can display.
Step S607, continues to receive and the Pinyin information or the stroke information of explicit user input to (i) as (g) of Fig. 7.All Chinese that need import if be totally lost then finish input.
The beneficial effect of the embodiment of the invention is: by with the moving along with cursor of the input in Chinese window in the Chinese text frame of mobile terminal display screen, when the width of the white space in the input text frame during less than the width of described input in Chinese window, described input in Chinese window is shown as transparent input window, thereby can solve the problem of the literal that input in Chinese window shield portions of the prior art imported, strengthen user's experience sense.
Above embodiment is the preferred embodiments of the disclosure, and is not in order to restriction the present invention, and common variation that those skilled in the art carries out in technical scheme of the present invention and replacement all should be included within protection scope of the present invention.