Summary of the invention
Method, device and mobile terminal that the embodiment of the present invention provides a kind of information to show, be intended to solve prior art, and when current window is non-information display window, user checks the content of fresh information, need to be switched to the problem of information display window.
On the one hand, a kind of method that provides information to show, described method comprises:
On current window, create a default big or small information display frame, described current window is window and the main interface except information display window;
Receive fresh information;
In described information display frame, show described fresh information.
On the other hand, the device that provides a kind of information to show, described device comprises:
Display box creating unit, for create a default big or small information display frame on current window, described current window is window and the main interface except information display window;
Information receiving unit, for receiving fresh information;
Information display unit, for showing described fresh information in described information display frame.
On the one hand, provide a kind of mobile terminal again, described mobile terminal comprises the device that information as above shows.
In embodiments of the present invention, create a default big or small information display frame on current window, described current window is window and the main interface except information display window, receives fresh information, shows described fresh information in described information display frame.The present invention, in the window except information display window and main interface, utilizes described information display frame to show and receives to obtain fresh information, has realized without switch window real time inspection fresh information.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, create a default big or small information display frame on current window, described current window is window and the main interface except information display window, receives fresh information, shows described fresh information in described information display frame.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment mono-
The realization flow figure of the method that the information that Fig. 1 shows the embodiment of the present invention one to be provided shows, details are as follows:
In step S101, on current window, create a default big or small information display frame, described current window is window and the main interface except information display window.
In the present embodiment, create a default big or small information display frame on current window, described current window is window and the main interface except information display window.Described on current window, create an information display frame after, according to the layout of current window or user's needs, on current window, adjust position or the size of described information display frame.According to the source of described fresh information, be that described information display frame arranges different background picture; And/or according to the source of described fresh information, the form that described fresh information shows being set, described form comprises text color, size.Described information display frame can, in show state and hidden state, while not having fresh information or user not to need, can be hidden described information display frame; While receiving fresh information, at current window, show described information display frame.
In step S102, receive fresh information.
In the present embodiment, receive fresh information, terminal starts, and after the complete initialization of system program, system monitor in real time monitoring receives fresh information, and fresh information content comprises message text and sender.
In step S103, in described information display frame, show described fresh information.
In the present embodiment, before reception fresh information, hide described information display frame, after reception fresh information, show described information display frame.In described information display frame, show described fresh information.Fig. 2 is illustrated in the mode that shows described fresh information in described information display frame: " message header: message text ", be specifically as follows " so-and-so: you are good! ".
As preferred version, the concrete grammar that shows described fresh information in described information display frame: judge whether described fresh information can show completely in described information display frame, if not, fresh information described in roll display in described information display frame, if so, the described information of complete demonstration in described information display frame.While receiving many information simultaneously, many information of roll display in described information display frame.
In the present embodiment, if show to such an extent that fresh information is that user is concerned about or needs are replied in described information display frame, click described information display frame and enter information display window, in described information display frame, show to such an extent that fresh information is not that user is concerned about or reads user after this fresh information and need to continue, when current window is movable, to hide described information display frame.
The present embodiment, can user reaches and does not need switch window, understands in time fresh information.
Embodiment bis-
The structured flowchart of the device that the information that Fig. 3 shows the embodiment of the present invention two to be provided shows, for convenience of explanation, only shows the part relevant to the embodiment of the present invention.In the present embodiment, the device that this information shows comprises: display box creating unit 31, information receiving unit 32, information source discrimination unit 33, information display unit 34, display box adjustment unit 35 and display box status unit 36.Described information display unit 34 also comprises: information roll display module 341, display mode judge module 342 and information completely display module 343.
Wherein, display box creating unit 31, for create a default big or small information display frame on current window, described current window is window and the main interface except information display window;
Information receiving unit 32, for receiving fresh information;
Information display unit 33, for showing described fresh information in described information display frame; Information source discrimination unit 34, for being that described information display frame arranges different background picture according to the source of described fresh information, and/or arranges according to the source of described fresh information the form that described fresh information shows;
Display box adjustment unit 35 for according to the layout of current window or user's needs, is adjusted position or the size of described information display frame on current window;
Display box status unit 36, for before receiving fresh information, hides described information display frame, after receiving fresh information, shows described information display frame.
Wherein, described information display unit 34 also comprises:
Information roll display module 341, if can not be in described information display frame shown completely for described fresh information, fresh information described in roll display in described information display frame;
Display mode judge module 342, for judging whether described fresh information can show completely in described information display frame;
Information completely display module 343, if can be in described information display frame shown completely for described fresh information, the described information of complete demonstration in described information display frame.
The device that the information that the embodiment of the present invention provides shows can be applied in the embodiment of the method two of aforementioned correspondence, and details, referring to the description of above-described embodiment two, do not repeat them here.
It should be noted that in said system embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method is to come the hardware that instruction is relevant to complete by program, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.