Summary of the invention
Embodiments of the invention provide a kind of display packing and device of information of mobile terminal, are convenient to the user and check the short message historical record, have improved the fluency of user's operation.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of display packing of information of mobile terminal comprises:
On the editor or answer interface of current mobile terminal short message, detect the operation trace of user's gesture to touch-screen;
When detected operation trace is first touch control operation, send short message historical record activation instruction, make display device at said editor or answer interface display short message historical record; Said short message historical record and current mobile terminal short message are to same contact person;
When detected operation trace is second touch control operation, send the short message historical record and hide instruction, make display device hide said short message historical record said editor or answer interface.
A kind of display unit of information of mobile terminal comprises:
The operation trace detecting unit is used for editor or answer interface in the current mobile terminal short message, detects the operation trace of user's gesture to touch-screen;
Historical record activates the unit, is used for when detected operation trace is first touch control operation, sends short message historical record activation instruction, makes display device at said editor or answer interface display short message historical record; Said short message historical record and current mobile terminal short message are to same contact person;
The historical record hidden unit is used for when detected operation trace is second touch control operation, sends the short message historical record and hides instruction, makes display device hide said short message historical record said editor or answer interface.
The display packing of the information of mobile terminal that the embodiment of the invention provides and device; Hide instruction according to short message historical record activation instruction and short message historical record; Realize showing the function of short message historical record; And the hiding function that the short message historical record is shown; The problem of having avoided user profile inputting interface on the portable terminal in the prior art not provide short message historical record under demonstration and the another kind of situation of prior art of short message historical record can take more screen space has promoted the fluency of user's operation.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, 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 are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of display packing of information of mobile terminal, and is as shown in Figure 1, may further comprise the steps:
101, portable terminal obtains the short message historical record.
Concrete; When editor who is in the current mobile terminal short message or answer interface; Portable terminal gets access to the short message historical record relevant with this mobile terminal SMS from the memory device (memory device can be the built-in storage or the external memory of portable terminal) of self, such as a last information of same contact person's transmission.
102, whether detection user gesture is first touch control operation to the operation trace of touch-screen.
Concrete, whether said first touch control operation appears according to the detection rule judgment that presets in portable terminal, after detecting, turn tostep 103 to said first touch control operation; Otherwise turn tostep 104.
103, send short message historical record activation instruction, make display device the editor of current mobile terminal short message or reply the said short message historical record of interface display.
Through sending the display device of short message historical record activation instruction to portable terminal, make display device show to said short message historical record.
104, under the situation that shows said short message historical record, whether detection user gesture is second touch control operation to the operation trace of touch-screen.
Concrete, whether said second touch control operation appears according to the detection rule judgment that presets in portable terminal.
105, send the short message historical record and hide instruction, make display device cancel demonstration the short message historical record at the editor or the answer interface of current mobile terminal short message.
Under the situation that said second touch control operation occurs, the short message historical record is hiding to instruct to the display device of portable terminal through sending, and makes display device cancel the demonstration to the short message historical record.
The display packing of the information of mobile terminal that the embodiment of the invention provides; Hide instruction according to short message historical record activation instruction and short message historical record; Realize showing the function of short message historical record; And the function of hiding short message historical record; Avoid the editor of mobile terminal SMS in the prior art or replied the problem that the interface does not provide short message historical record under demonstration and the another kind of situation of prior art of short message historical record can take more screen space, promoted the fluency of user's operation.
The embodiment of the invention also provides a kind of display packing of information of mobile terminal, and is as shown in Figure 2, may further comprise the steps:
201, portable terminal obtains the short message historical record.
Concrete; When editor who is in the current mobile terminal short message or answer interface; Portable terminal gets access to the short message historical record relevant with this mobile terminal SMS from the memory device (memory device can be the built-in storage or the external memory of portable terminal) of self, such as a last information of same contact person's transmission.
202, whether detection user gesture is first touch control operation to the operation trace of touch-screen.
Concrete, whether said first touch control operation appears according to the detection rule judgment that presets in portable terminal, after detecting, turn tostep 203 to said first touch control operation; Otherwise turn tostep 206.
But 203, remaining display space in the editor of detection current mobile terminal short message or the answer interface.
But, confirm the demonstration quantity of the display position and the short message historical record of short messagehistorical record 204, according to said remaining display space.
Through the display position of definite short message historical record and the demonstration quantity of short message historical record, can import and do not influence the information of user in active user's information input interface so that the demonstration of short message historical record is in suitable scope.
The short message historical record activation instruction of demonstration quantity that 205, will carry display position and the short message historical record of short message historical record sends.
Short message historical record activation instruction is sent to the display device of portable terminal, thereby but makes display device show the short message historical record at remaining display space.In the practical application, can comprise display position, demonstration quantity and the DISPLAY ORDER of short message historical record in this short message historical record activation instruction.
206, under the situation that shows said short message historical record, whether detection user gesture is second touch control operation to the operation trace of touch-screen.
207, under the situation that said second touch control operation occurs, send the short message historical record and hide instruction.
Hide instruction through the short message historical record, make display device the editor of current mobile terminal short message or reply on the interface cancellation the demonstration of short message historical record.
In the practical application, said first touch control operation and second touch control operation can be respectively: along top-down slide of said touch-screen and slide from bottom to top, or along said touch-screen slide and top-down slide from bottom to top.Certainly, also can be that said first touch control operation and second touch control operation are respectively: along said touch-screen from a left side and right slide and from a right and slide left side, or along said touch-screen from the slide on a right and left side with from a left side and right slide.
Be example with reference to figure 3 below, the embodiment of the invention done further describing again.Shown in Figure 3 is a kind of display interface of portable terminal touch display screen.
On the one hand; When the user gets into the editor of current mobile terminal short message or replys the interface; Portable terminal gets access to the short message historical record relevant with this information of mobile terminal from the memory device (memory device can be the built-in storage or the external memory of portable terminal) of self, portable terminal begins to detect the operation trace of user's gesture to the touch screen screen afterwards.When detecting along the top-down slide of said touch-screen; But then continue to detect remaining display space in the current interface; But and according to remaining display space, but and according to remaining display space, definite display position and demonstration quantity; Make the demonstration of short message historical record be in suitable scope, but and do not exceed remaining display space; The short message historical record activation instruction of display position that carries the short message historical record and demonstration quantity is sent to the display device of portable terminal, thereby demonstrates the short message historical record.
On the other hand, under the situation that shows said short message historical record, portable terminal will detect the said touch-screen in edge sliding action from bottom to top whether occurs.If detect user's gesture is sliding action from bottom to top, then hides the demonstration to the short message historical record, recovers the editor of current mobile terminal short message or replys the interface.
Certainly; More than to the description of Fig. 3, specifically be to be that top-down slide, second touch control operation are that example describes for slide from bottom to top, in the practical application with first touch control operation; Be not limited to this; Can be respectively the said touch-screen in edge from left and right slide with from right and left slide such as first touch control operation and second touch control operation, or other similar gesture touch control operation, the embodiment of the invention does not limit.
The display packing of the information of mobile terminal that the embodiment of the invention provides; According to short message historical record activation instruction and short message historical record cancellation instruction; Realize showing the function of short message historical record; And the function of hiding short message historical record; And can be so that but display device reasonably shows the short message historical record at remaining display space; Do not influence the user the editor of current mobile terminal short message or reply the information input in the interface, the problem of having avoided not providing on the portable terminal in the prior art short message historical record under demonstration and the another kind of situation of prior art of short message historical record can take more screen space has promoted the fluency of user's operation.
The embodiment of the invention provides a kind of display unit of information of mobile terminal, and is as shown in Figure 4, comprising: operationtrace detecting unit 41, historical record activateunit 42, historical recordhidden unit 43.
Operationtrace detecting unit 41 is used for the editor of current mobile terminal short message or replys the interface, detects the operation trace of user's gesture to touch-screen;
Historical record activatesunit 42 and is used for when detected operation trace is first touch control operation, sends short message historical record activation instruction, makes display device at said editor or answer interface display short message historical record; Said short message historical record and current mobile terminal short message are to same contact person;
Historical recordhidden unit 43 is used for when detected operation trace is second touch control operation, sends the short message historical record and hides instruction, makes display device hide said short message historical record said editor or answer interface.
Further, as shown in Figure 5, but said device also comprises displayspace detecting unit 44.
But displayspace detecting unit 44 is used for before sending short message historical record activation instruction, but detects the editor of current mobile terminal short message or reply remaining display space on the interface.
But said historical record activatesunit 42 also to be used for sending the historical record activation instruction according to said remaining display space.
The display position, demonstration quantity and the DISPLAY ORDER that comprise the short message historical record in the said historical record activation instruction.
Further, as shown in Figure 6, said historical record activatesunit 42 and also comprises: historical record confirms that subelement 421, historical record send subelement 422.
But historical record is confirmed subelement 421 and is used for according to said remaining display space, confirms the display position of short message historical record and shows quantity.
Historical record sends subelement 422 and is used for the short message historical record activation instruction of display position that carries the short message historical record and demonstration quantity is sent.
The display unit of the information of mobile terminal that the embodiment of the invention provides; According to short message historical record activation instruction and short message historical record cancellation instruction; Realize showing the function of short message historical record; And the function of hiding short message historical record; And can be so that but display device reasonably shows the short message historical record at remaining display space; Do not influence the user the editor of current mobile terminal short message or reply the information input in the interface, the problem of having avoided not providing on the portable terminal in the prior art short message historical record under demonstration and the another kind of situation of prior art of short message historical record can take more screen space has promoted the fluency of user's operation.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection range with claim.