CN104123215A - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN104123215A
CN104123215A CN201410318581.3A CN201410318581A CN104123215A CN 104123215 A CN104123215 A CN 104123215A CN 201410318581 A CN201410318581 A CN 201410318581A CN 104123215 A CN104123215 A CN 104123215A
Authority
CN
China
Prior art keywords
viewing area
look district
computer resource
window
instant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410318581.3A
Other languages
Chinese (zh)
Other versions
CN104123215B (en
Inventor
郭滔
许昆
刘飞
马波
杨星
陈思尧
王斌
张旺
常永耘
陈仁雄
朱发昌
罗璇
张弛
姚辉
刘桂峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201410318581.3A priority Critical patent/CN104123215B/en
Publication of CN104123215A publication Critical patent/CN104123215A/en
Application granted granted Critical
Publication of CN104123215B publication Critical patent/CN104123215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information display method. The method includes the steps that corresponding to a position event of a display window, the display window is adjusted to be a dock floating window; the display region of the dock floating window is refreshed to display the instant using rate of computer resources and comprises a first color region and a second color region, wherein the proportion of the first color region accounting for the display region is the instant using rate of the computer resources. Correspondingly, the embodiment of the invention further discloses an information display device. By the adoption of the information display method and device, the using rate of the computer resources can be visually monitored in real time, fewer display regions are occupied, and the operation of checking the instant using rate of the computer resources is omitted for a user.

Description

A kind of method for information display and device
Technical field
The present invention relates to computer realm, relate in particular to method and device that a kind of information shows.
Background technology
At present, computer utility is more and more extensive, and the software that can load on computing machine is more and more, thereby makes resource limited on computing machine become more nervous.In order more reasonably to use resource limited on computing machine, user needs the service condition of Real-Time Monitoring computer resource.
In prior art, the method for monitoring computer resource has a lot, and user needs to open by certain operation the multidate information that corresponding software could obtain instant computing machine resource.For some, by floating window, show the software of information, user just need not operate can see multidate information timely, but floating window can occupy larger display space, affects other operations of user.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide a kind of method for information display and equipment, and the utilization rate of Display control computer resource that can be real-time intuitively, occupies less display space, and can not cause operator's multi-pass operations.
For addressing the above problem, technical scheme of the present invention is:
First aspect, the embodiment of the present invention provides a kind of method for information display, comprising:
The position event of response display window, adjusts display window for stopping floating window;
The instant utilization rate of Display control computer resource is carried out in the viewing area of refreshing the floating window of described stop, and described viewing area comprises the first look district and the second look district, the instant utilization rate that the ratio that described the first look district accounts for described viewing area is described computer resource.
Wherein, above-mentioned position event catches by monitoring described display window, and the position event of above-mentioned response display window comprises:
Obtain the present position information of display window, according to described present position information, adjust described display window for stopping floating window.
In addition, by the utilization rate of tinting to distinguish Display control computer resource in default the first look district, simply diagnose the service condition of current computer resource, comprising:
If it is tinting of the first look district that the utilization rate of current computer resource lower than first threshold, arranges the first color, prompting current computer resource is idle;
If it is tinting of the first look district that the utilization rate of current computer resource higher than Second Threshold, arranges the second color, prompting current computer resource is busy.
Second aspect, the embodiment of the present invention provides a kind of information display device, comprising:
Event response module, is used for responding the position event of display window, adjusts display window for stopping floating window;
Refresh module, the instant utilization rate of Display control computer resource is carried out in the viewing area that is used for refreshing the floating window of described stop, described viewing area comprises the first look district and the second look district, the instant utilization rate that the ratio that described the first look district accounts for described viewing area is described computer resource.
Wherein, above-mentioned time response, module was corresponding with action listener module, and described action listener module is used for catching the position event of described display window.
In addition, the said apparatus that the embodiment of the present invention provides also comprises setting unit, is used for arranging the instant utilization rate of tinting to distinguish Display control computer resource in described the first look district.Described setting unit comprises:
First arranges subelement, if the instant utilization rate of computer resource, lower than first threshold, is used for arranging the first color, is tinting of the first look district, and prompting current computer resource is idle;
Second arranges subelement, if the instant utilization rate of computer resource, higher than Second Threshold, is used for arranging the second color, is tinting of the first look district, and prompting current computer resource is busy.
The embodiment of the present invention, the instant utilization rate of Display control computer resource is carried out in the viewing area of stopping floating window by refreshing, and wherein, the first look district accounts for the ratio of viewing area and carrys out the instant utilization rate for computer resource.Can be real-time, the instant utilization rate of demonstrating computer resource, occupies less display space intuitively, the tentative diagnosis information of the instant service condition of prompting computer resource.User does not need to carry out the instant use information that any operation gets final product monitoring computer resource, more can according to aforementioned tentative diagnosis information, understand the runnability of current computer, can more reasonably utilize computing machine limited resources.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the method for information display of a kind of embodiment of the present invention.
Fig. 2 is the process flow diagram of the method for information display of another kind of embodiment of the present invention.
Fig. 3 is the example that the display window of a kind of embodiment of the present invention and the information of stopping floating window show.
Fig. 4 is the structured flowchart of the information display device of a kind of embodiment of the present invention.
Fig. 5 is the setting unit structural representation of a kind of embodiment of the present invention.
Fig. 6 is the display cell structure schematic diagram of a kind of embodiment of the present invention.
Fig. 7 is the computing unit structural representation of a kind of embodiment of the present invention.
Fig. 8 is the adjustment unit structural representation of a kind of embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term using is in embodiments of the present invention only for the object of describing specific embodiment, but not is intended to limit the present invention." a kind of " of the singulative using in the embodiment of the present invention and appended claims, " described " and " being somebody's turn to do " are also intended to comprise most forms, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more projects of listing that are associated any or all may combine.
Referring to Fig. 1, it is the process flow diagram of the method for information display of a kind of embodiment of the present invention.The flow process of the method for information display in the present embodiment can comprise as shown in the figure:
Step S110: the position event of response display window.
Particularly, described position event catches by monitoring described display window, and the described position event of described response can comprise: obtain the present position information of display window, according to described present position information, adjust described display window for stopping floating window.
Concrete, the position event of described display window refers to that display window is pulled the edge's This move toward Computer display desktop, described pulling can be both to produce by mouse action, also can be that user directly produces by finger manipulation touch-screen, the edge of described Computer display desktop comprises vertical edge and the horizontal edge of Computer display desktop.Computing machine is the position event registration audiomonitor of above-mentioned display window, utilizes described audiomonitor to catch above-mentioned position event, and when above-mentioned position event occurs, described audiomonitor will be received the message of above-mentioned position event, and processes the message of above-mentioned position event.
Concrete, aforementioned audiomonitor receives after the startup of above-mentioned position event, in the process of whole described position event, constantly obtain the present position information of above-mentioned display window, the present position information of described display window comprises that described display window is with respect to the upper and lower both sides of the edge of Computer display desktop level, vertically the relative distance at arranged on left and right sides edge.According to described relative distance and preset value, relatively judge the strategy of above-mentioned position event:
If display window is less than preset value for the relative distance of the vertical left hand edge of Computer display desktop, judge that above-mentioned display window level rests in the vertical left hand edge of Computer display desktop;
If display window is less than preset value for the relative distance of the vertical right hand edge of Computer display desktop, judge that above-mentioned display window level rests in the vertical right hand edge of Computer display desktop;
If display window is less than preset value for the relative distance of the horizontal upper edge of Computer display desktop, judge that above-mentioned display window vertically rests in the horizontal upper edge of Computer display desktop.
If display window is less than preset value for the relative distance of the horizontal lower edge of Computer display desktop, judge that above-mentioned display window vertically rests in the horizontal upper edge of Computer display desktop.
Concrete, for example, above-mentioned preset value can be 5 pixels.When the level upper and lower both sides of the edge of above-mentioned display window for Computer display desktop, when vertically the relative distance at arbitrary edge is less than 5 pixels in arranged on left and right sides edge, judge that above-mentioned display window rests in the respective edges of Computer display desktop.Example is only a part of embodiment, also can be different in practical application, should not form restriction, such as preset value can also be 6 pixels, 8 pixels etc.
Step S120: adjust display window for stopping floating window.
Particularly, the floating window of above-mentioned stop is a kind of movably independent window, rests in upper and lower, the edge, the left and right sides of Computer display desktop, can be dragged and dropped in another window.
When the position event of above-mentioned display window occurs, computing machine obtains the present position information of above-mentioned display window, according to described present position information, adjust described display window for stopping floating window, comprise: if display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, laterally reduce the viewing area of display window, adjusting display window is that level is stopped floating window; If display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, longitudinally reduce the viewing area of display window, adjusting display window is vertically to stop floating window.
Concrete, the present position information of above-mentioned display window, the present position information that comprises described display window comprises that described display window is with respect to Computer display desktop horizontal edge, the relative distance at vertical edge, and described relative distance available pixel point number represents.
Concrete, the vertical edge of above-mentioned Computer display desktop comprises the vertical left hand edge of above-mentioned Computer display desktop and the vertical right hand edge of above-mentioned Computer display desktop; The horizontal edge of above-mentioned Computer display desktop comprises the horizontal upper edge of above-mentioned Computer display desktop and the horizontal lower edge of above-mentioned Computer display desktop.
Above-mentioned level is stopped floating window and is comprised: horizontal right hand edge stops floating window and horizontal left hand edge is stopped floating window; The floating window of above-mentioned vertical stop comprises: window is floated in the floating window of vertical coboundary stop and vertically lower limb stop.
For example, above-mentioned preset value is 5 pixels.When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical right hand edge of Computer display desktop, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window, the viewing area left-half that the viewing area that described horizontal right hand edge is stopped floating window is above-mentioned display window, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical left hand edge of Computer display desktop, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window, the viewing area right half part that the viewing area that described horizontal left hand edge is stopped floating window is above-mentioned display window, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal upper edge of Computer display desktop, above-mentioned display window is adjusted to vertical coboundary and stops floating window, the viewing area left-half that the viewing area that described vertical coboundary is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal lower edge of Computer display desktop, above-mentioned display window is adjusted to vertical lower limb and stops floating window, the viewing area right half part that the viewing area that described vertical lower limb is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window.
Especially, when above-mentioned display window is with respect to the horizontal upper edge of Computer display desktop with when vertically the relative distance of right hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal lower edge of Computer display desktop with when vertically the relative distance of right hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal upper edge of Computer display desktop with when vertically the relative distance of left hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal lower edge of Computer display desktop with when vertically the relative distance of left hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window.
Above-mentioned having provided by adjusting the example that described display window is the floating window of described stop, actual use can be different, should not form restriction.
Step S130: the instant utilization rate of Display control computer resource is carried out in the viewing area of refreshing the floating window of stop.
Concrete, the viewing area of the floating window of described stop is full of by the first look district and the second look district, computing machine by predetermined time interval refresh the viewing area of the floating window of described stop, the instant utilization rate that to adjust ratio that described the first look district accounts in described viewing area be computer resource.For level, stop floating window, described viewing area is full of by described the first look district and described the second look district, and separate by horizontal subdivision line in described the first look district and described the second look district; For the floating window of vertical stop, described viewing area is full of by described the first look district and described the second look district, and separate by vertical separator bar in described the first look district and described the second look district.For example, in level, stop under floating window state, the utilization rate of current computer resource is 60%, the utilization rate of the computer resource of previous moment is 40%, by the ratio that described the first look district is accounted in described viewing area, from 40%, be adjusted into 60% and refresh described viewing area, now, the height in described the first look district increases.Again for example, vertically stopping under floating window state, the utilization rate of current computer resource is 60%, the utilization rate of the computer resource of previous moment is 40%, by the ratio that described the first look district is accounted in described viewing area, from 40%, be adjusted into 60% and refresh described viewing area, now, the width in described the first look district increases.Example has provided the situation that refreshes described viewing area by adjusting described the first look district proportion in described viewing area, and actual use can be different, should not form restriction.
In addition, by the utilization rate of tinting to distinguish Display control computer resource in default the first look district, simply diagnose the service condition of current computer resource, comprising:
If it is tinting of the first look district that the utilization rate of current computer resource lower than first threshold, arranges the first color, prompting current computer resource is idle;
If it is tinting of the first look district that the utilization rate of current computer resource higher than Second Threshold, arranges the second color, prompting current computer resource is busy.
Concrete, the ratio not only accounting in described viewing area by described the first look district represents the instant utilization rate of computer resource, can also be by the instant service condition of tinting to distinguish computer resource in described the first look district.For example, when the instant utilization rate of computer resource is lower than 60% time, tinting of described the first look district can be green, and prompting computer resource is idle; When the instant utilization rate of computer resource is higher than 80% time, tinting of described the first look district can be redness, and prompting computer resource is busy; When the instant utilization rate of computer resource is between 60%-80%, tinting of described the first look district can be yellow, and prompting computer resource is moderate.Example is only a part of embodiment, also can be different in practical application, should not form restriction, such as, when the instant utilization rate of computer resource is lower than 60% time, tinting of described the first look district also can be blueness, and prompting computer resource is idle, etc.
Especially, described computer resource comprises: physical memory, at least one item in virtual memory or CPU.
When described computer resource is physical memory, the instant utilization rate of described computer resource can be calculated and be obtained by the ratio of the instant active volume of described physical memory and the total volume of described physical memory; When described computer resource is CPU, the instant utilization rate of described computer resource can be calculated and be obtained by the Idle state time of described CPU and the ratio of system time.
The above-mentioned method for information display that elaborates a kind of embodiment of the present invention, below for the ease of implementing better the such scheme of the embodiment of the present invention, correspondingly, the method for information display of another kind of embodiment of the present invention is provided below, and this embodiment mainly provides the snoop procedure of position event of display window and the parallel situation of acquisition process of the utilization rate of computer resource.The schematic flow sheet of the method for information display that concrete another kind of embodiment of the present invention as shown in Figure 2 provides, comprising:
Main thread, is user-interface thread, is mainly used to the user's input on processes and displays window, the event message that response user produces.Comprise the following steps:
Step S202: the position event of monitoring display window.
Particularly, in the operational process of main thread, utilize registered event sniffer to receive user's input of above-mentioned display window, response user inputs the event message of generation, and described registered event sniffer and specific user input corresponding.For example, mouse-click event sniffer and " the above-mentioned display window of mouse-click " this user input corresponding, and mouse is double-clicked event sniffer and " mouse is double-clicked above-mentioned display window " this user inputs corresponding.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
Concrete, the position event of above-mentioned display window refers to that display window is pulled the edge toward Computer display desktop, the described This move that pulls can be both to produce by mouse action, also can be that user directly produces by finger manipulation touch-screen, the edge of described Computer display desktop comprises vertical edge and the horizontal edge of Computer display desktop.When above-mentioned position event occurs, described position event audiomonitor will be received the message of above-mentioned position event, and above-mentioned position event is made to response.
Step S204: the position event of judgement display window is triggered.
Particularly, in the operational process of main thread, aforementioned registered position event audiomonitor receives after the startup of above-mentioned position event, in the process of whole described position event, main thread obtains the present position information of above-mentioned display window, the present position information of described display window comprises that described display window is upper and lower with respect to Computer display desktop, the relative distance at edge, the left and right sides.According to described relative distance and preset value, relatively judge whether above-mentioned position event is triggered:
If display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, judge that above-mentioned position event is triggered, described position event is specially this event that above-mentioned display window level is stopped the vertical edge of Computer display desktop;
If display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, judge that above-mentioned position event is triggered, described position event is specially this event that above-mentioned display window is vertically stopped the horizontal edge of Computer display desktop.
Concrete, for example, above-mentioned preset value can be 5 pixels.When upper and lower for Computer display desktop of above-mentioned display window, when the relative distance at arbitrary edge is less than 5 pixels in left and right edges, judge that above-mentioned position event occurs.Example is only a part of embodiment, also can be different in practical application, should not form restriction, such as, described preset value also can be 6 pixels, or 8 pixels etc.
Step S206: adjust display window for stopping floating window.
Particularly, the floating window of above-mentioned stop is a kind of movably independent window, rests in upper and lower, the edge, the left and right sides of Computer display desktop, can be dragged and dropped in another window.
When the position event of above-mentioned display window occurs, computing machine obtains the present position information of above-mentioned display window, according to described present position information, adjust described display window for stopping floating window, comprise: if display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, laterally reduce the viewing area of display window, adjusting display window is that level is stopped floating window; If display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, longitudinally reduce the viewing area of display window, adjusting display window is vertically to stop floating window.
Concrete, the present position information of above-mentioned display window, comprises that described display window is upper and lower with respect to Computer display desktop, the relative distance at edge, the left and right sides, and described relative distance available pixel point number represents.For example, above-mentioned preset value is 5 pixels.
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical right hand edge of Computer display desktop, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window, the viewing area left-half that the viewing area that described horizontal right hand edge is stopped floating window is above-mentioned display window, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical left hand edge of Computer display desktop, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window, the viewing area right half part that the viewing area that described horizontal left hand edge is stopped floating window is above-mentioned display window, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal upper edge of Computer display desktop, above-mentioned display window is adjusted to vertical coboundary and stops floating window, the viewing area left-half that the viewing area that described vertical coboundary is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal lower edge of Computer display desktop, above-mentioned display window is adjusted to vertical lower limb and stops floating window, the viewing area right half part that the viewing area that described vertical lower limb is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window.
Especially, when above-mentioned display window is with respect to the horizontal upper edge of Computer display desktop with when vertically the relative distance of right hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal lower edge of Computer display desktop with when vertically the relative distance of right hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal right hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal upper edge of Computer display desktop with when vertically the relative distance of left hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window; When above-mentioned display window is with respect to the horizontal lower edge of Computer display desktop with when vertically the relative distance of left hand edge is all less than 5 pixels, above-mentioned display window is adjusted to horizontal left hand edge and stops floating window.
Above-mentioned having provided by adjusting the example that described display window is the floating window of described stop, actual use can be different, should not form restriction.
Step S208: adjust the utilization rate that in viewing area, the shared ratio in the first look district is described computer resource according to the utilization rate of computer resource.
Concrete, for level, stop floating window, described viewing area is full of by described the first look district and described the second look district, and separate by horizontal subdivision line in described the first look district and described the second look district, the instant utilization rate that the ratio that described the first look district accounts for above-mentioned viewing area is computer resource; For the floating window of vertical stop, described viewing area is full of by described the first look district and described the second look district, separate by vertical separator bar in described the first look district and described the second look district, the instant utilization rate that the ratio that described the first look district accounts for above-mentioned viewing area is computer resource.For example, in level, stop under floating window state, the utilization rate of current computer resource is 60%, the utilization rate of the computer resource of previous moment is 40%, by the ratio that described the first look district is accounted in described viewing area, from 40%, be adjusted into 60% and refresh described viewing area, now, the height in described the first look district increases.Again for example, vertically stopping under floating window state, the utilization rate of current computer resource is 60%, the utilization rate of the computer resource of previous moment is 40%, by the ratio that described the first look district is accounted in described viewing area, from 40%, be adjusted into 60% and refresh described viewing area, now, the width in described the first look district increases.Example has provided the situation that refreshes described viewing area by adjusting described the first look district proportion in described viewing area, and actual use can be different, should not form restriction.
Information processing thread, is mainly used to the instant use information that the interface of interval call operation system on schedule obtains computer resource, according to the described instant utilization rate that immediately draws computer resource with information analysis.Described information processing thread goes to obtain the instant use information of computer resource by the mechanism of poll, may operate at backstage and prevent from blocking aforementioned main thread, described information processing thread and aforementioned main thread executed in parallel.Comprise the following steps:
Step S203: the instant use information of obtaining computer resource.
Concrete, information processing thread may operate at backstage, and the interface of interval call operation system obtains the instant use information of computer resource on schedule, and the instant use information of described computer resource comprises following at least one:
The instant use information of physical memory; Or
Even the use information of virtual memory; Or
The instant use information of CPU.
Concrete, for internal memory, described instant use information comprises: the total volume of internal memory, the available quantity of internal memory; For CPU, described instant use information comprises: Idle state time, kernel state time, user's state time.The interface that returns to the instant use information of computer resource is provided by operating system, and for example, in Windows operating system, function G lobalMemoryStatus () can be used to obtain current physical memory and virtual memory information.Again for example, in Windows operating system, function G etSystemTimes () can be used to obtain the Idle state time of CPU, kernel state time and user's state time.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
Especially, while having a plurality of physical memory bar in computing machine, the instant use information of above-mentioned physical memory is total instant use information of described a plurality of physical memory bars; When computing machine is multinuclear, while having a plurality of CPU, the instant use information of above-mentioned CPU is the common instant use information of described a plurality of CPU.
Step S205: the utilization rate that draws current computer resource according to the instant use information analysis of computer resource.
Concrete, after the instant use information of the aforementioned computer resource of interval acquiring on schedule, according to the described instant utilization rate that immediately draws above-mentioned computer resource with information analysis.
For example, when described computer resource is physical memory, the computing method of the utilization rate of described computer resource can be:
Utilization rate=1 – physical memory available quantity/physical memory total volume of computer resource,
Wherein, in Windows operating system, the available quantity of physical memory described in calculating formula and described physical memory total volume can be led to and called aforementioned functions GlobalMemoryStatus () and obtain.
Especially, when instant use information that the instant use information of described physical memory is a plurality of physical memories, the ratio of the instant utilization rate of described computer resource by the instant active volume sum of described a plurality of physical memories and the total volume sum of described a plurality of physical memories calculates and obtains; When instant use information that the instant use information of described CPU is a plurality of CPU, the instant utilization rate of described computer resource was calculated and is obtained by the ratio of described CPU number weighted value by Idle state time sum and the system state time of a plurality of described CPU.For example, computing machine has two described physical memories: physical memory A and physical memory B, the utilization rate of described computer resource is: computer resource utilization rate=1-(available quantity of available quantity+physical memory B of physical memory A)/(total volume of total volume+physical memory B of physical memory A).Again for example, computing machine has two described CPU:CPU A and CPU B, the utilization rate of described computer resource is: computer resource utilization rate=1-(the Idle state time of Idle state time+CPU B of CPU A)/(system state time * 2), wherein, the numeral in computing formula " 2 " represents the number of described CPU.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
The above-mentioned method for information display that elaborates another kind of embodiment of the present invention, below for the ease of implementing better the such scheme of the embodiment of the present invention, correspondingly, provide the conceptual example of the information demonstration of a kind of embodiment of the present invention below, specifically as shown in Figure 3.
As shown in Figure 3, the described viewing area of display window 318 is by the first figure layer 304 with second figure layer 302 is nested forms, and the first figure layer 304 is positioned on the second figure layer 302, and wherein, the first figure floor 304 comprises the first look district 308 and the second look district 306.
The first figure layer 304 can be used as foreground picture layer, and the second figure layer 302 can be used as Background From Layer.
The first look district 308 is larger in the shared ratio in described viewing area, and the first look district 308 is higher in described viewing area, and corresponding, the second look district 306 is less in the shared ratio in described viewing area, and the second look district 306 is shorter in described viewing area.
The difference of tinting in the first look district 308, can represent to comprise the service condition of different computer resources:
If it is tinting of the first look district 308 that the instant utilization rate of described computer resource, lower than first threshold, arranges the first color, prompting current computer resource is idle;
If it is tinting of the first look district 308 that the instant utilization rate of described computer resource, higher than Second Threshold, arranges the second color, prompting current computer resource is busy.
For example, when the instant utilization rate of described computer resource is lower than 60% time, the first look district 308 tints as green, points out described computer resource idle; When the instant utilization rate of described computer resource is higher than 80% time, the first look district 308 tints as redness, points out described computer resource busy; When the instant utilization rate of described computer resource is between 60%-80%, the first look district 308 tints as yellow, points out described computer resource moderate.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
As shown in Figure 3, the floating window of aforementioned stop comprises: horizontal left hand edge is stopped floating window 322, and horizontal right hand edge is stopped floating window 320, and vertically coboundary is stopped floating window 326, and vertically lower limb is stopped floating window 324.
The viewing area that horizontal left hand edge is stopped floating window 322 is the viewing area right half part of aforementioned display window 318, wherein, horizontal left hand edge is stopped the right half part that the first look district comprising in the viewing area of floating window 322 is the first look district 308 of comprising in the viewing area of aforementioned display window 318, and horizontal left hand edge is stopped the right half part that the second look district comprising in the viewing area of floating window 322 is the second look district 306 of comprising in the viewing area of aforementioned display window 318;
The viewing area that horizontal right hand edge is stopped floating window 320 is the viewing area left-half of aforementioned display window 318, wherein, horizontal right hand edge is stopped the left-half that the first look district comprising in the viewing area of floating window 320 is the first look district 308 of comprising in the viewing area of aforementioned display window 318, and horizontal right hand edge is stopped the left-half that the second look district comprising in the viewing area of floating window 320 is the second look district 306 of comprising in the viewing area of above-mentioned display window 318;
The viewing area that vertical coboundary is stopped floating window 326 is that the viewing area left-half of above-mentioned display window 318 is rotated counterclockwise 180 degree, wherein, vertically coboundary is stopped the left-half that the first look district comprising in the viewing area of floating window 326 is the first look district 308 of comprising in the viewing area of aforementioned display window 318, and vertically coboundary is stopped the left-half that the second look district comprising in the viewing area of floating window 326 is the second look district 306 of comprising in the viewing area of aforementioned display window 318;
The viewing area that vertical lower limb is stopped floating window 324 is that the viewing area right half part of aforementioned display window 318 is rotated counterclockwise 180 degree, wherein, vertically lower limb is stopped the right half part that the first look district comprising in the viewing area of floating window 324 is the first look district 308 of comprising in the viewing area of aforementioned display window 318, and vertically lower limb is stopped the right half part that the second look district comprising in the viewing area of floating window 324 is the second look district 306 of comprising in the viewing area of aforementioned display window 318.
As shown in Figure 3, Computer display desktop 300, is used for presenting the floating window of aforementioned display window and aforementioned stop.
Fig. 3 example is only a part of embodiment, also can be different in practical application, should not form restriction.
Refer to Fig. 4, Fig. 4 is a kind of information display device that a kind of embodiment of the present invention provides.The device that the embodiment of the present invention provides can comprise the devices such as computer, mobile phone or PAD.Device 400 in a kind of embodiment of the present invention at least can comprise action listener module 404, event response module 402, refresh module 410, acquisition of information module 416 and message processing module 418 as shown in Figure 4, wherein:
Action listener module 404, for receiving the user's input on display window, catches the position event of described display window.
Concrete, action listener module 404 can utilize registered event sniffer to receive the user's input on above-mentioned display window, and response user inputs the event message of generation, and described registered event sniffer and specific user input corresponding.For example, mouse-click event sniffer and " the above-mentioned display window of mouse-click " this user input corresponding, and mouse is double-clicked event sniffer and " mouse is double-clicked above-mentioned display window " this user inputs corresponding.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
Concrete, above-mentioned position event refers to that display window is pulled the edge toward Computer display desktop, the described This move that pulls can be both to produce by mouse action, also can be that user directly produces by finger manipulation touch-screen, the edge of described Computer display desktop comprises vertical edge and the horizontal edge of Computer display desktop.When above-mentioned position event occurs, the described position event audiomonitor of action listener module 404 will be received the message of above-mentioned position event, and above-mentioned position event is made to response.
Event response module 402, for responding the position event of display window, adjusts display window for stopping floating window.
Concrete, when action listener module 404 receives the position event of above-mentioned display window, event response module 402 is adjusted described display window for stopping floating window according to the present position information of above-mentioned display window.Described present position information, comprises that described display window is upper and lower with respect to Computer display desktop, the relative distance at edge, the left and right sides, and described relative distance available pixel point number represents.
In specific implementation, described event response module 402 can further comprise as shown in Figure 4: adjustment unit 406.In specific implementation, as shown in Figure 8, described adjustment unit 406 first is adjusted subelement 4060, second and is adjusted subelement 4062, wherein:
First adjusts subelement 4060, if display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, is used for laterally reducing the viewing area of display window, and adjusting display window is that level is stopped floating window;
Second adjusts subelement 4062, if display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, is used for longitudinally reducing the viewing area of display window, and adjusting display window be vertically to stop to float window.
Concrete, for example, above-mentioned preset value is 5 pixels,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical right hand edge of Computer display desktop, it is that horizontal right hand edge is stopped floating window that the first adjustment subelement 4060 is adjusted above-mentioned display window, the viewing area left-half that the viewing area that described horizontal right hand edge is stopped floating window is above-mentioned display window, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal right hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the vertical left hand edge of Computer display desktop, it is that horizontal left hand edge is stopped floating window that the first adjustment subelement 4060 is adjusted above-mentioned display window, the viewing area right half part that the viewing area that described horizontal left hand edge is stopped floating window is above-mentioned display window, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described horizontal left hand edge stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal upper edge of Computer display desktop, it is that vertical coboundary is stopped floating window that the second adjustment subelement 4062 is adjusted above-mentioned display window, the viewing area left-half that the viewing area that described vertical coboundary is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the left-half in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window, the left-half in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical coboundary stop is above-mentioned display window,
When above-mentioned display window is less than 5 pixels with respect to the relative distance of the horizontal lower edge of Computer display desktop, it is that vertical lower limb is stopped floating window that the second adjustment subelement 4062 is adjusted above-mentioned display window, the viewing area right half part that the viewing area that described vertical lower limb is stopped floating window is above-mentioned display window is rotated counterclockwise 180 degree, wherein, the right half part in the first look district comprising in the viewing area that the first look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window, the right half part in the second look district comprising in the viewing area that the second look district comprising in the viewing area of the floating window of described vertical lower limb stop is above-mentioned display window.
The vertical edge of above-mentioned Computer display desktop comprises the vertical left hand edge of above-mentioned Computer display desktop and the vertical right hand edge of above-mentioned Computer display desktop; The horizontal edge of above-mentioned Computer display desktop comprises the horizontal upper edge of above-mentioned Computer display desktop and the horizontal lower edge of above-mentioned Computer display desktop.
Above-mentioned level is stopped floating window and is comprised: horizontal right hand edge stops floating window and horizontal left hand edge is stopped floating window; The floating window of above-mentioned vertical stop comprises: window is floated in the floating window of vertical coboundary stop and vertically lower limb stop.
Refresh module 410, for refreshing the viewing area of the floating window of described stop, carry out the instant utilization rate of Display control computer resource, described viewing area comprises the first look district and the second look district, the instant utilization rate that the ratio that described the first look district accounts for described viewing area is described computer resource.For example, in aforementioned levels, stop under floating window state, the utilization rate of current computer resource is 60%, the utilization rate of the computer resource of previous moment is 40%, by the ratio that described the first look district is accounted in described viewing area, from 40%, be adjusted into 60% and refresh described viewing area, now, the height in described the first look district increases.
In specific implementation, described refresh module 410 can further comprise as shown in Figure 4: setting unit 412, display unit 414, wherein:
Setting unit 412, for arranging the utilization rate of tinting to distinguish the current computer resource of demonstration in described the first look district.In specific implementation, as shown in Figure 5, described setting unit 412 further comprises:
First arranges subelement 4120, if the utilization rate of current computer resource lower than first threshold, is used for arranging the first color, is tinting of the first look district, and prompting current computer resource is idle;
Second arranges subelement 4122, if the utilization rate of current computer resource higher than Second Threshold, is used for arranging the second color, is tinting of the first look district, and prompting current computer resource is busy.
For example, when the instant utilization rate of computer resource is lower than 60% time, first arranges subelement 432 arranges tinting as green of described the first look district, and prompting computer resource is idle; When the instant utilization rate of computer resource is higher than 80% time, second arranges subelement 452 arranges tinting as redness of described the first look district, and prompting computer resource is busy.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
Display unit 414, is used for the instant utilization rate of in the viewing area of stopping floating window Display control computer resource.In specific implementation, as shown in Figure 6, described display unit 414 further comprises:
First shows subelement 4140, be used for the instant utilization rate of in level is stopped the viewing area of floating window Display control computer resource, described viewing area is full of by described the first look district and described the second look district, the separator bar level in wherein said the first look district and described the second look district;
Second shows subelement 4142, be used for vertically stopping the instant utilization rate of Display control computer resource in the viewing area of floating window, described viewing area is full of by described the first look district and described the second look district, and the separator bar in wherein said the first look district and described the second look district is vertical.
In addition, in specific implementation, described refresh module 410 also comprises: timing unit 408, be used for arranging the time interval of adjusting the viewing area of refreshing the floating window of described stop, and adjust ratio that described the first look district accounts in described viewing area and be the instant utilization rate of current computer resource.
Acquisition of information module 416, obtains the instant use information of computer resource for the interface of interval call operation system on schedule.
In specific implementation, acquisition of information module 416 further comprises: call unit 420, be used for the interface of interval call operation system on schedule, and the data of returning according to described interface form the instant use information of described computer resource.
Concrete, the instant use information of described computer resource comprises following at least one:
The instant use information of physical memory; Or
Even the use information of virtual memory; Or
The instant use information of CPU.
Concrete, for internal memory, described instant use information comprises: the total volume of internal memory, the available quantity of internal memory; For CPU, described instant use information comprises: Idle state time, kernel state time, user's state time.The interface that returns to the instant use information of computer resource is provided by operating system, and for example, in Windows operating system, function G lobalMemoryStatus () can be used to obtain current physical memory and virtual memory information.Again for example, in Windows operating system, function G etSystemTimes () can be used to obtain the Idle state time of CPU, kernel state time and user's state time.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
Especially, while having a plurality of physical memory bar in computing machine, the instant use information of above-mentioned physical memory is total instant use information of described a plurality of physical memory bars; When computing machine is multinuclear, while having a plurality of CPU, the instant use information of above-mentioned CPU is the common instant use information of described a plurality of CPU.
Message processing module 418, for immediately drawing the instant utilization rate of computer resource according to described computer resource with information analysis.
Concrete, after acquisition of information module 416 is obtained the instant use information of computer resource, message processing module 418 is according to the described instant utilization rate that immediately draws above-mentioned computer resource with information analysis.
In specific implementation, as shown in Figure 7, message processing module 418 further comprises:
The first computing unit 4180, when instant use information that the instant use information of described physical memory is a plurality of physical memories, be used for calculating by the ratio of the instant active volume sum of described a plurality of physical memories and the total volume sum of described a plurality of physical memories the instant utilization rate of described computer resource;
The second computing unit 4182, when instant use information that the instant use information of described CPU is a plurality of CPU, be used for by the ratio of described CPU number weighted value, being calculated the instant utilization rate of described computer resource by Idle state time sum and the system time of a plurality of described CPU.
For example, computing machine has two described physical memories: physical memory A and physical memory B, the utilization rate of described computer resource is: computer resource utilization rate=1-(available quantity of available quantity+physical memory B of physical memory A)/(total volume of total volume+physical memory B of physical memory A).Again for example, computing machine has two described CPU:CPU A and CPU B, the utilization rate of described computer resource is: computer resource utilization rate=1-(the Idle state time of Idle state time+CPU B of CPU A)/(system state time * 2), wherein, the numeral in computing formula " 2 " represents the number of described CPU.Example is only a part of embodiment, also can be different in practical application, should not form restriction.
In sum, the embodiment of the present invention is carried out the instant utilization rate of Display control computer resource by stopping floating window, user can be real-time intuitively the instant utilization rate of monitoring computer resource, take viewing area still less, reduce user and check the operation of the instant utilization rate of computer resource.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only a kind of preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and the equivalent variations of doing according to the claims in the present invention, still belong to the scope that invention is contained.

Claims (20)

1. a method for information display, is characterized in that, comprising:
The position event of response display window, adjusts display window for stopping floating window;
The instant utilization rate of Display control computer resource is carried out in the viewing area of refreshing the floating window of described stop, and described viewing area comprises the first look district and the second look district, the instant utilization rate that the ratio that described the first look district accounts for described viewing area is described computer resource.
2. the method for claim 1, is characterized in that, also comprises: by the utilization rate of tinting to distinguish the current computer resource of demonstration in described the first look district is set, comprising:
If it is tinting of the first look district that the utilization rate of current computer resource lower than first threshold, arranges the first color, prompting current computer resource is idle; Or
If it is tinting of the first look district that the utilization rate of current computer resource higher than Second Threshold, arranges the second color, prompting current computer resource is busy.
3. the method for claim 1, it is characterized in that, described position event catches by monitoring described display window, the position event of described response display window, adjusting display window comprises for stopping floating window: obtain the present position information of display window, according to described present position information, adjust described display window for stopping floating window.
4. the method for claim 1, it is characterized in that, also comprise: the interface of interval call operation system obtains the instant use information of computer resource on schedule, according to the described instant utilization rate that immediately draws computer resource with information analysis.
5. method as claimed in claim 4, is characterized in that, the instant use information of described computer resource comprises following at least one:
The instant use information of physical memory; Or
Even the use information of virtual memory; Or
The instant use information of CPU.
6. method as claimed in claim 5, it is characterized in that, when instant use information that the instant use information of described physical memory is a plurality of physical memories, the ratio of the instant utilization rate of described computer resource by the instant active volume sum of described a plurality of physical memories and the total volume sum of described a plurality of physical memories calculates and obtains; Or
When instant use information that the instant use information of described CPU is a plurality of CPU, the instant utilization rate of described computer resource is calculated and is obtained by the ratio of described CPU number weighted value by Idle state time sum and the system time of a plurality of described CPU.
7. method as claimed in claim 3, is characterized in that, describedly according to described present position information, adjusts described display window for stopping floating window, comprising:
If display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, laterally reduce the viewing area of display window, adjusting display window is that level is stopped floating window; Or
If display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, longitudinally reduce the viewing area of display window, adjusting display window is vertically to stop floating window.
8. the method for claim 1, is characterized in that, described viewing area is by the first figure layer with second figure layer is nested forms, and described the first figure layer is positioned on described the second figure layer, and wherein, described the first figure floor comprises described the first look district and described the second look district.
9. method as claimed in claim 7, is characterized in that, the viewing area that described level is stopped floating window is full of by described the first look district and described the second look district, and separate by horizontal subdivision line in described the first look district and described the second look district; Or
The viewing area of the floating window of described vertical stop is full of by described the first look district and described the second look district, and separate by vertical separator bar in described the first look district and described the second look district.
10. the method for claim 1, it is characterized in that, the described viewing area of refreshing the floating window of described stop comes the instant utilization rate of Display control computer resource to comprise: by predetermined time interval refresh the viewing area of the floating window of described stop, the instant utilization rate that to adjust ratio that described the first look district accounts in described viewing area be computer resource.
11. 1 kinds of information display devices, is characterized in that, comprising:
Event response module, is used for responding the position event of display window, adjusts display window for stopping floating window;
Refresh module, the instant utilization rate of Display control computer resource is carried out in the viewing area that is used for refreshing the floating window of described stop, described viewing area comprises the first look district and the second look district, the instant utilization rate that the ratio that described the first look district accounts for described viewing area is described computer resource.
12. information display devices as claimed in claim 11, is characterized in that, also comprise action listener module, are used for receiving the user's input on described display window, catch the position event of described display window; Described event response module is specifically used for response events and monitors the described position event that module receives.
13. information display devices as claimed in claim 11, is characterized in that, also comprise acquisition of information module, are used for the interface of interval call operation system on schedule to obtain the instant use information of computer resource.
14. information display devices as claimed in claim 13, is characterized in that, also comprise message processing module, and what be used for the computer resource that obtains according to described acquisition of information module draws the instant utilization rate of computer resource immediately with information analysis.
15. information display devices as claimed in claim 14, is characterized in that, described message processing module comprises:
The first computing unit, when instant use information that the instant use information of described physical memory is a plurality of physical memories, be used for calculating by the ratio of the instant active volume sum of described a plurality of physical memories and the total volume sum of described a plurality of physical memories the instant utilization rate of described computer resource; Or
The second computing unit, when instant use information that the instant use information of described CPU is a plurality of CPU, be used for by the ratio of described CPU number weighted value, being calculated the instant utilization rate of described computer resource by Idle state time sum and the system time of a plurality of described CPU.
16. information display devices as claimed in claim 13, it is characterized in that, described acquisition of information module comprises call unit, is used for the interface of interval call operation system on schedule, and the data of returning according to described interface form the instant use information of described computer resource.
17. information display devices as claimed in claim 11, is characterized in that, described event response module comprises adjustment unit, are used for adjusting described display window for stopping floating window according to the present position information of described display window;
Described adjustment unit, comprises;
First adjusts subelement, if display window is less than preset value for the relative distance at the vertical edge of Computer display desktop, is used for laterally reducing the viewing area of display window, and adjusting display window is that level is stopped floating window;
Second adjusts subelement, if display window is less than preset value for the relative distance of the horizontal edge of Computer display desktop, is used for longitudinally reducing the viewing area of display window, and adjusting display window be vertically to stop to float window.
18. information display devices as claimed in claim 11, is characterized in that, described refresh module comprises setting unit, are used for arranging the utilization rate of tinting to distinguish the current computer resource of demonstration in described the first look district;
Described setting unit, comprising:
First arranges subelement, if the utilization rate of current computer resource lower than first threshold, is used for arranging the first color, is tinting of the first look district, and prompting current computer resource is idle;
Second arranges subelement, if the utilization rate of current computer resource higher than Second Threshold, is used for arranging the second color, is tinting of the first look district, and prompting current computer resource is busy.
19. information display devices as claimed in claim 11, is characterized in that, described refresh module comprises display unit, are used for the instant utilization rate of in the viewing area of stopping floating window Display control computer resource;
Described display unit, comprising:
First shows subelement, be used for the instant utilization rate of in level is stopped the viewing area of floating window Display control computer resource, described viewing area is full of by described the first look district and described the second look district, the separator bar level in wherein said the first look district and described the second look district;
Second shows subelement, be used for vertically stopping the instant utilization rate of Display control computer resource in the viewing area of floating window, described viewing area is full of by described the first look district and described the second look district, and the separator bar in wherein said the first look district and described the second look district is vertical.
20. information display devices as claimed in claim 19, is characterized in that, described refresh module also comprises:
Timing unit, is used for arranging the time interval of adjusting the viewing area of refreshing the floating window of described stop, adjusts ratio that described the first look district accounts in described viewing area and be the instant utilization rate of current computer resource.
CN201410318581.3A 2014-07-03 2014-07-03 A kind of method for information display and device Active CN104123215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410318581.3A CN104123215B (en) 2014-07-03 2014-07-03 A kind of method for information display and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410318581.3A CN104123215B (en) 2014-07-03 2014-07-03 A kind of method for information display and device

Publications (2)

Publication Number Publication Date
CN104123215A true CN104123215A (en) 2014-10-29
CN104123215B CN104123215B (en) 2018-01-23

Family

ID=51768635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410318581.3A Active CN104123215B (en) 2014-07-03 2014-07-03 A kind of method for information display and device

Country Status (1)

Country Link
CN (1) CN104123215B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868089A (en) * 2016-04-22 2016-08-17 北京小米移动软件有限公司 Terminal monitoring method and device
CN106598429A (en) * 2016-11-29 2017-04-26 北京小米移动软件有限公司 Method and device for adjusting window of mobile terminal
CN109271214A (en) * 2018-08-23 2019-01-25 深圳点猫科技有限公司 Desktop programs edge adsorption method and electronic equipment based on education operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN102214101A (en) * 2011-06-30 2011-10-12 中兴通讯股份有限公司 Method and device for displaying Widget window in zooming way
US20130311355A1 (en) * 2011-08-31 2013-11-21 Mehran Chirehdast Financial Products with Consumer Protection Built-in for Future Time

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN102214101A (en) * 2011-06-30 2011-10-12 中兴通讯股份有限公司 Method and device for displaying Widget window in zooming way
US20130311355A1 (en) * 2011-08-31 2013-11-21 Mehran Chirehdast Financial Products with Consumer Protection Built-in for Future Time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李绍稳: "《大学信息技术基础教程》", 30 September 2012, 清华大学出版社 *
至人无名: "360加速球详细使用方法", 《360DOC个人图书馆》 *
骑驴大哥6: "360加速球的小秘密", 《百度经验》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868089A (en) * 2016-04-22 2016-08-17 北京小米移动软件有限公司 Terminal monitoring method and device
CN105868089B (en) * 2016-04-22 2018-09-04 北京小米移动软件有限公司 The monitoring method and device of terminal
CN106598429A (en) * 2016-11-29 2017-04-26 北京小米移动软件有限公司 Method and device for adjusting window of mobile terminal
CN109271214A (en) * 2018-08-23 2019-01-25 深圳点猫科技有限公司 Desktop programs edge adsorption method and electronic equipment based on education operating system

Also Published As

Publication number Publication date
CN104123215B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
US11762544B2 (en) Auto-grouping of application windows
WO2016095728A1 (en) Multi-window display method and device
CN103902359B (en) Based on android system internal memory optimization and application scheduling method thereof and system
CN103455292B (en) Business datum display processing method and device, subscriber equipment
CN105786301B (en) Method and device for switching display object under multi-window system
CN103631547A (en) Display method and device for mobile terminal screen
CN110377264A (en) Layer composition, device, electronic equipment and storage medium
CN106331831B (en) The method and device of image procossing
CN106095237A (en) Information processing method and electronic equipment
CN104123215A (en) Information display method and device
CN111767002B (en) Page display method, device, equipment and storage medium
CN104754179A (en) Fully automatic detection method and system of static feature information in dynamic image
CN104252350B (en) A kind of method and apparatus of picture in loading list box
CN106648508B (en) Image drawing method and device
CN109542304A (en) Show loading method, device, equipment and the storage medium of content
CN110472168A (en) Page data update method, device, computer equipment and storage medium
CN106802750A (en) Realize the exchange method and device of data processing
US8756535B2 (en) Simultaneous screen saver operations
US20180024723A1 (en) Synchronizing user input with a user interface
CN103246500B (en) desktop icon display method and device
CN103473001B (en) cell adjusting method and device
CN107589890A (en) A kind of mouse clicks on the response method and device for the view that is blocked
CN107111512A (en) Realize method, device and the electronic equipment operated to another operating system
US20220100300A1 (en) User interface system for display scaling events
CN109960562B (en) Information display method and device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181128

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Seal Interest Technology Co., Ltd.

Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong.

Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd.

TR01 Transfer of patent right