Embodiment
Embodiments of the invention carry out after marking processing information text to be shown, according to instruction character position and/or mark position, content of text between the instruction character position of mark position, information text is given to buffer memory, cache contents is presented on display screen by icon mode, then according to the triggering of icon, text corresponding this icon is presented to mobile terminal display screen.Embodiments of the invention are processed by information text to be shown being carried out to " folding ", show respective folded content according to user's triggering, have avoided repeatedly page turn over operation, thereby improve reading efficiency, increase and read convenience.
Understand goal of the invention of the present invention, technical scheme and technique effect for ease of those skilled in the art, explain in detail below in conjunction with specific embodiments and the drawings.
As previously mentioned, in the time that the content of information to be displayed text is longer, be subject to the restriction of mobile terminal screen size, often all quantity of information cannot have been shown within single screen, but after this long message text is carried out to cutting, split screen shows, referring to accompanying drawing 1.If user reads after current screen content under this display mode, need to search other screen contents, must between multi-screen, repeatedly switch, this makes troubles to user.For this reason, the present invention has provided a kind of embodiment of method for information display.Referring to accompanying drawing 2, a kind of information of mobile terminal display packing that the present embodiment provides comprises:
Step S201: taking information text as handling object, carry out marking processing, this processing comprises: in the time that at least one position of described information text is subject to triggering, at this trigger position, mark is set;
Information text is that user will read an information text, also may be to be presented on mobile terminal but the text that need to again show in the mode of the present embodiment, obtain after such information text, the text is carried out to marking processing, the object of marking processing is taking mark position as beginning or end, text between them is folded, mark position is the position that information text is triggered, after certain position of information text is triggered, start marking handling procedure and carry out mark, this triggering can obtain by following manner: mobile terminal reads self-information text and starts reading character, in the time that the number of characters reading reaches preset characters and counts, the character position of counting requirement to meeting described preset characters triggers, continue reading character, in the time that the number of characters reading reaches again preset characters and counts, trigger in respective symbols position, the like, can also be in the time that the character of information text be subject to clicking, described clicked character correspondence position is triggered, the total degree that whole information text triggers depends on the length of information text and user's self hobby conventionally, information text is longer, can repeatedly trigger to carry out many places mark diverse location, and information text is short, trigger position is few, the corresponding minimizing of triggering times, carries out mark at trigger position point after triggering, so that subsequent step identification.
Step S202: one section of text between the instruction character position of described information text and/or mark position is carried out to buffer memory, described one section of text at least comprises a mark position, and described instruction character comprises the paragraph instruction character in information text stem instruction character, End-Management symbol or information text;
After the mode process information text of step S201, carry out mark identification, text between two mark positions is carried out to buffer memory, also information text reference position can be carried out to buffer memory to the text between certain mark position, certain mark position can also be carried out to buffer memory to information text end position, these buffer memory texts can be realized goal of the invention of the present invention as long as at least comprise a mark.
Time to the text buffer memory between instruction character and/or mark position can be arranged by mobile terminal by user according to actual needs, such as being mark limit, limit buffer memory, can be also buffer memory one by one after whole information text marking is finished dealing with.
Also can be arranged by mobile terminal by user according to actual needs the text cache way between instruction character and/or mark position, such as carrying out according to following step: read marking information text after treatment; In the time reading primary importance corresponding to a mark or instruction character, send asynchronous notifications message informing and create composite control, described composite control comprises text display control; In the time reading the second place corresponding to next mark or instruction character, one section of text between primary importance and the second place is cached in text display control.This cache way is to the text buffer memory between mark position according to flag sequence, except this mode, can also adopt other mode, such as, user repeatedly when click information text, the many places character position of information text is triggered, at this moment carry out buffer memory according to following step: judge the information text character position triggered time, if exist two described character positions to trigger simultaneously, trigger and arrange after mark at these two character positions, one section of text between described mark position is carried out to buffer memory; If do not have character position to trigger simultaneously, one section of text between a mark position and nearest mark position of this mark position triggered time is carried out to buffer memory.Here time, triggering is common in user and the content of text between thumb and forefinger is pressed from both sides to the situation storing away with thumb and forefinger, thereby facilitates user to read other guide.It should be noted that herein the judgement in triggered time can be processed and be carried out simultaneously with marking after being subject to triggering, also can first the triggered time be stored, after marking is by the time finished dealing with, then read the triggered time for judgement.
Step S203: described one section of text is presented to display screen with an icon;
After the one section of text extracting according to the mode of step S202 is buffered, the text of these buffer memorys is replaced with icon, and this icon is presented on the display screen of mobile terminal, the icon here can be various ways, more common as plus sige icon "+"; Although only there is icon representation can reduce the content showing on mobile terminal display screen, but user is searched to the content needing and may still have inconvenience, the present invention is preferably in display icon, also the character of the section monic determined number of described buffer memory word is shown simultaneously, the quantity that shows character can be according to the preset amount of mobile terminal screen, according to mobile terminal screen size in the market, conventionally show at most 7 to 8 characters.
Further, the method can also comprise step S204: in the time that described icon is subject to triggering, one section of corresponding this icon text is presented to display screen;
Through step above, the demonstration screen display of mobile terminal be icon, but not direct information text content, in the time that user need to consult corresponding contents, selected respective icon, is presented to display screen by passage corresponding to this icon after this icon is triggered, and user can read, here triggering respective icon can be to be subject to user's click behavior to cause, can be also that Focal Point Shift on display screen is on respective icon and cause; It should be noted that this step is the optional step of the present embodiment, the text between instruction character and/or mark position is carried out to buffer memory, the packets of information capacity of display screen increases, and has facilitated user to consult the content of own needs.
The technical scheme of the present embodiment is taking information text as handling object, it is carried out to marking processing, then the text between the instruction character position of information text and/or mark position is carried out to buffer memory, on display screen, replace this section of text with an icon, in the time that icon is subject to triggering, content of text corresponding to this icon in buffer zone is presented to display screen.Compared with prior art, the technical scheme of the present embodiment is carried out " folding " according to triggering to information text to be shown, make mobile terminal one screen within show more subject matter, when user checks corresponding contents, only need to trigger corresponding icon, and without searching by screen between multi-screen content, avoid repeatedly page turn over operation, save the time, improved reading efficiency, brought convenience to user.In addition, realize the folding of information text according to the technical scheme described in the present embodiment, also there is secret feature, such as, around in the situation of large contingent, when user edits longer note or reads private text, can on mobile phone display screen, only show a small amount of content, all the other contents " roll " by " folding " mode, show when needed by triggering, thereby prevent from peeping or be not intended to reveal related content, playing good privacy functions.
For the technical characterictic of above-described embodiment is had to clearer understanding, below for example: supposing need to be in the upper content that shows " Three Character Primer " of user mobile phone (mobile terminal), because the content of " Three Character Primer " is longer, in single screen, be difficult to all show, therefore, can carry out Folding display of the present invention to " Three Character Primer ", thereby facilitate user to read and search corresponding contents.Referring to accompanying drawing 3, the step of this example comprises:
Step S301: select information to be displayed text, i.e. " Three Character Primer " text in this example;
User opens the E-book reader on mobile terminal, select " Three Character Primer " text to read, before the content of text of " Three Character Primer " is presented to means display screen by system, or carry out marking processing after being presented to display screen, as for still carrying out according to the default setting of user's preliminary election afterwards before, the size of the content of text that also can be selected by specific functional module is identified, if exceed certain threshold values, immediately displaying contents is not presented on mobile phone screen, if do not exceed certain threshold values, can be presented to after screen, " Three Character Primer " text in this example is longer, before being shown to user terminal, " Three Character Primer " first carry out following marking processing.
Step S302: the content of text of " Three Character Primer " is carried out to marking processing according to preset characters number; Carrying out marking processing comprises: the text that reads " Three Character Primer ", while often reading 100 characters, triggered mark treatment step, automatically insert Tag mark (as </Part>) at the 100th character place, until " Three Character Primer " content of text is all disposed.
Step S303: will carry out interim buffer memory with the form of XML file layout through the word between mark position between two adjacent in tokenized " Three Character Primer " text, " Three Character Primer " reference position forms one section of text to first marked locations, middle every two mark positions form one section of text, and end part forms one section of text; While specifically carrying out caching, first read through marking " Three Character Primer " after treatment text, in the time reading a position (primary importance) corresponding to a mark or instruction character, send asynchronous notifications message to cache controller, create composite control by cache controller, this composite control comprises text display control; In the time reading another one position (second place) corresponding to next mark or instruction character, one section of text of (between primary importance and the second place) between above-mentioned two positions is cached to text display control, processes in this manner the full text of " Three Character Primer ".Accompanying drawing 4 (a) shows " Three Character Primer " through partial result of above-mentioned " folding ", therefrom can find out, it is folded that " three ability persons, people from world " in the text arrives the content of " this maize, people eats ".
Step S304: use "+" icon showing screen display in the text of buffer memory, the first six character that is somebody's turn to do the text that "+" number icon is corresponding is presented in the lump simultaneously; Here selecting the first six character is the feature based on " Three Character Primer " text, and the Three Character Primer three words are one, and six words are one group, and one group forms a title of this section, with being with icon and the dual presentation mode of word can facilitate user to search corresponding contents.It is folded that in accompanying drawing 4 (a), " three ability persons, people from world " arrives the content of " this maize, people eats ", and folded part is replaced by title by "+tri-ability persons, world people " on display screen.
Step S305: in the time that above-mentioned icon is subject to triggering, content of text corresponding this icon is presented on mobile phone screen so that user can read, after content of text being shown on user's screen, plus sige icon "+" is become to minus sign icon "-".Accompanying drawing 4 (b) shows " Three Character Primer " partial result through above-mentioned " expansion ", therefrom can find out, the content that previous folded " three ability persons, people from world " in the text arrives " this maize; people eats " is unfolded, and "+" number icon is changed to "-" number icon.
Above-described embodiment is embodiment of the method provided by the invention, and correspondingly, the present invention also provides a kind of embodiment of information of mobile terminal display control unit.Referring to accompanying drawing 5, this device embodiment 500 comprises: marking processing unit 501, buffer unit 502, icon display unit 503 and text display unit 504, wherein:
Marking processing unit 501, for information text is carried out to marking processing, this processing comprises: in the time that at least one position of described information text is subject to triggering, at this trigger position, mark is set;
Buffer unit 502, for one section of text between the instruction character position of information text after treatment and/or mark position is carried out to buffer memory, described one section of text at least comprises a mark position, and described instruction character comprises the first instruction character of information text section, section tail instruction character or paragraph instruction character;
Icon display unit 503, for being presented to display screen by described one section of text with an icon;
Text display unit 504, in the time that described icon is subject to triggering, is presented to display screen by one section of corresponding this icon text.
The course of work of said apparatus embodiment is: first by marking processing unit 501, information text is carried out to marking processing, this processing comprises: in the time that at least one position of described information text is subject to triggering, at this trigger position, mark is set; Then by buffer unit 502, one section of text between the instruction character position of described information text and/or mark position is carried out to buffer memory, described one section of text at least comprises a mark position; After buffer memory work completes, by icon display unit 503, described one section of text is presented to display screen with an icon; In the time that described icon is subject to triggering, by text display unit 504, one section of corresponding this icon text is presented to display screen.It should be noted that text display unit in the present embodiment 504, for selectable unit, carries out buffer memory by the text between instruction character and/or mark position, the packets of information capacity of display screen increases, and has facilitated user to consult the content of own needs.
The technical scheme that apparatus of the present invention embodiment provides is taking information text as handling object, it is carried out to marking processing, then the text between the instruction character position of information text and/or mark position is carried out to buffer memory, on display screen, replace this section of text with an icon, in the time that icon is subject to triggering, content of text corresponding to this icon in buffer zone is presented to display screen.Compared with prior art, the technical scheme of the embodiment of the present invention is carried out " folding " according to triggering to information text, make mobile terminal one screen within show more subject matter, when user checks corresponding contents, only need to trigger corresponding icon, and without searching by screen between multi-screen content, avoid repeatedly page turn over operation, save the time, improved reading efficiency, brought convenience to user.
In above-described embodiment, buffer unit 502 can have multiple implementation, the present invention preferably forms buffer unit according to following structure, buffer unit 502 comprises: read subelement 5021, control establishment subelement 5022 and buffer memory subelement 5023, wherein: read subelement 5021, be used for reading through marking information text after treatment, in the time reading primary importance corresponding to a mark or instruction character, create subelement to control and send asynchronous notifications message; In the time reading next mark or control the corresponding second place, trigger buffer memory subelement; Control creates after subelement 5022 receives asynchronous notifications message and creates composite control, and described composite control comprises text display control; Buffer memory subelement 5023, for being cached to one section of text between primary importance and the second place in text display control.
The device of above-described embodiment can also comprise that judging unit 505 is for judging the information text character position triggered time, if exist two described character positions to trigger simultaneously, after these two character positions triggerings arrange mark, call buffer unit one section of text between described mark position is carried out to buffer memory; If do not have character position to trigger simultaneously, call buffer unit one section of text between a mark position and nearest mark position of this mark position triggered time is carried out to buffer memory.Here time, triggering is common in user and the content of text between thumb and forefinger is pressed from both sides to the situation storing away with thumb and forefinger, thereby facilitates user to read other guide.The execution of this judging unit can be processed and carry out simultaneously with marking after being subject to triggering, and also can first the triggered time be stored, and after marking is by the time finished dealing with, then reads the triggered time for judgement, and the present embodiment adopts rear a kind of mode herein.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in the protection domain of invention.