CN104461532B - The treating method and apparatus that application window minimizes - Google Patents

The treating method and apparatus that application window minimizes Download PDF

Info

Publication number
CN104461532B
CN104461532B CN201410724844.0A CN201410724844A CN104461532B CN 104461532 B CN104461532 B CN 104461532B CN 201410724844 A CN201410724844 A CN 201410724844A CN 104461532 B CN104461532 B CN 104461532B
Authority
CN
China
Prior art keywords
osd
area
screen display
application window
window
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.)
Active
Application number
CN201410724844.0A
Other languages
Chinese (zh)
Other versions
CN104461532A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410724844.0A priority Critical patent/CN104461532B/en
Publication of CN104461532A publication Critical patent/CN104461532A/en
Application granted granted Critical
Publication of CN104461532B publication Critical patent/CN104461532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses the treating method and apparatus that a kind of application window minimizes.The processing method that the application window minimizes, which includes using, to be detected whether to receive minimum instruction, wherein, minimize instruction and minimize operation for indicating that application window performs window;Instructed if receiving minimum, intercept and capture and minimize instruction, wherein, after minimum instruction is intercepted and captured, application window no longer performs window and minimizes operation;Judge application window whether in on-screen display (osd) area;If it is judged that application window in on-screen display (osd) area, is moved to outside on-screen display (osd) area by application window by increasing relative to the coordinate value in the application window upper left corner of on-screen display (osd) area.By the present invention, solve the problems, such as that prior art can not obtain the Window state when application window minimizes.

Description

The treating method and apparatus that application window minimizes
Technical field
The present invention relates to internet arena, a kind of minimized in particular to application window processing method and Device.
Background technology
With the fast development of Internet technology, computer (such as desktop computer, notebook computer etc.) is widely used. Multiple application programs can be installed on computers according to user's request, different application programs performs different functions, such as Instant messaging application program.Application window provides the medium of user and application program interaction, on application window There are multiple at user option functional modules, for example application window is minimized or maximized.When application window most During smallization, the application program may proceed to computer background run, still, prior art when application window minimizes without Method obtains the color value of some coordinate in the state of the application window, such as application window interface, will so lead Apply family can not directly obtain running background application window interface state, reduce user experience.
The problem of can not obtaining the Window state when application window minimizes for prior art, not yet carry at present Go out effective solution.
The content of the invention
The treating method and apparatus minimized it is a primary object of the present invention to provide a kind of application window, to solve The problem of prior art can not obtain the Window state when application window minimizes.
To achieve these goals, according to an aspect of the invention, there is provided what a kind of application window minimized Processing method.
The processing method that the application window minimizes includes:Detect whether to receive minimum instruction, wherein, it is minimum Change instruction to be used to indicate that application window performs window and minimizes operation;If receiving minimum instruction, intercept and capture and minimize Instruction, wherein, after minimum instruction is intercepted and captured, application window no longer performs window and minimizes operation;Journey is applied in judgement Whether sequence window is in on-screen display (osd) area;If it is judged that application window is in on-screen display (osd) area, by increasing phase Application window is moved to on-screen display (osd) area for the coordinate value in the application window upper left corner of on-screen display (osd) area Outside.
Further, after minimum instruction is intercepted and captured, the processing method that the application window minimizes also includes:Note Record the size of application window and the size of on-screen display (osd) area;First position is recorded, wherein, first position is application program Position of the window in on-screen display (osd) area, with coordinate representation application of the application window upper left corner in on-screen display (osd) area Position of the program window in on-screen display (osd) area.
Further, the size of on-screen display (osd) area includes the width of on-screen display (osd) area and the height of on-screen display (osd) area Degree, wherein, judge whether application window includes in on-screen display (osd) area:Judge the application window upper left corner in screen Whether value corresponding to the abscissa in viewing area is less than the width of on-screen display (osd) area;Judge that the application window upper left corner exists Whether value corresponding to the ordinate in on-screen display (osd) area is less than the height of on-screen display (osd) area;If it is judged that application program window Width and application window of the value less than on-screen display (osd) area corresponding to abscissa of the mouth upper left corner in on-screen display (osd) area Value is less than the height of on-screen display (osd) area corresponding to ordinate of the upper left corner in on-screen display (osd) area, then application window exists In on-screen display (osd) area.
Further, will be applied relative to the coordinate value in the application window upper left corner of on-screen display (osd) area by increasing Program window, which is moved to outside on-screen display (osd) area, to be included:Judge whether the resolution ratio of on-screen display (osd) area changes;If Judge that the resolution ratio of on-screen display (osd) area is changed, judge application window whether after resolution ratio changes In on-screen display (osd) area;If it is judged that application window passes through in the on-screen display (osd) area after resolution ratio changes Journey will be applied by increasing the coordinate value in the application window upper left corner of the on-screen display (osd) area after being changed relative to resolution ratio Sequence window is moved to outside the on-screen display (osd) area after resolution ratio changes.
Further, if it is judged that application window in on-screen display (osd) area, by increase relative to screen After application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner of viewing area, The processing method that the application window minimizes also includes:Detect the application window being moved to outside on-screen display (osd) area State whether change;If detect that the state for the application window being moved to outside on-screen display (osd) area becomes Change, perform and operated corresponding to the variable condition of application window.
Further, if it is judged that application window in on-screen display (osd) area, by increase relative to screen After application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner of viewing area, The processing method that the application window minimizes also includes:Detect whether to receive reduction instruction, wherein, reduction instruction is used for Indicate that application window performs window restoring operation;If reduction instruction is received, by the seat in the application window upper left corner Mark is moved to first position.
To achieve these goals, according to another aspect of the present invention, there is provided what a kind of application window minimized Processing unit.
The processing unit that the application window minimizes includes:First detection module, for detecting whether receiving most Smallization instructs, wherein, minimize instruction and be used to indicate that application window performs window and minimizes operation;First interception module, For when receiving minimum instruction, intercepting and capturing and minimizing instruction, wherein, after intercepting and capturing minimize instruction, application program window Mouth no longer performs window and minimizes operation;First judge module, for judging application window whether in on-screen display (osd) area It is interior;First mobile module, for when judging that application window is in on-screen display (osd) area, by increasing relative to screen Application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner of viewing area.
Further, the processing unit that the application window minimizes also includes:First logging modle, should for recording With the size of program window and the size of on-screen display (osd) area;Second logging modle, for recording first position, wherein, first Position is position of the application window in on-screen display (osd) area, with the application window upper left corner in on-screen display (osd) area Position of the coordinate representation application window in on-screen display (osd) area.
Further, the size of on-screen display (osd) area includes the width of on-screen display (osd) area and the height of on-screen display (osd) area Degree, wherein, the first judge module includes:First judging submodule, for judging the application window upper left corner in screen display Whether value corresponding to the abscissa in region is less than the width of on-screen display (osd) area;Second judging submodule, for judging to apply It is worth the height for whether being less than on-screen display (osd) area corresponding to ordinate of the program window upper left corner in on-screen display (osd) area;It is determined that Module, judge that value corresponding to abscissa of the application window upper left corner in on-screen display (osd) area shows less than screen for working as Show that value is less than screen display corresponding to the ordinate of the width in region and the application window upper left corner in on-screen display (osd) area During the height in region, determine application window in on-screen display (osd) area.
Further, the first mobile module includes:3rd judging submodule, for judging the resolution ratio of on-screen display (osd) area Whether change;4th judging submodule, for when judging the resolution ratio of on-screen display (osd) area there occurs changing, judging Whether application window is in the on-screen display (osd) area after resolution ratio changes;First movement submodule, for when judgement When going out application window in the on-screen display (osd) area after resolution ratio changes, changed by increasing relative to resolution ratio Application window is moved to resolution ratio by the coordinate value in the application window upper left corner of the on-screen display (osd) area after change Outside on-screen display (osd) area after change.
Further, the processing unit that the application window minimizes also includes:Second detection module, moved for detecting Whether the state for moving the application window outside on-screen display (osd) area changes;Execution module, shifting is detected for working as When moving the state of the application window outside on-screen display (osd) area and changing, the variable condition of application window is performed Corresponding operation;3rd detection module, for detecting whether reduction instruction is received, wherein, reduction instruction is used to indicate application Program window performs window restoring operation;Second mobile module, it is for when receiving reduction instruction, application window is left The coordinate at upper angle is moved to first position.
By the present invention, instruction is minimized using detecting whether to receive, wherein, minimize instruction and apply journey for instruction Sequence window performs window and minimizes operation;If receiving minimum instruction, intercept and capture and minimize instruction, wherein, it is minimum intercepting and capturing After changing instruction, application window no longer performs window and minimizes operation;Judge application window whether in screen display In region;If it is judged that application window in on-screen display (osd) area, passes through increase answering relative to on-screen display (osd) area Application window is moved to outside on-screen display (osd) area with the coordinate value in the program window upper left corner, prior art is solved and exists The problem of application window can not obtain the Window state when minimizing.The invention is when the minimum for intercepting application window When changing instruction, application window minimum is realized by way of application window is moved to outside on-screen display (osd) area Change, while the invention can make application window in the state at the state acquisition application window interface of minimum, and then The effect that application window interface state is obtained under application window minimum state is reached.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart for the processing method that application window according to embodiments of the present invention minimizes;And
Fig. 2 is the schematic diagram for the processing unit that application window according to embodiments of the present invention minimizes.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model of the application protection Enclose.
It should be noted that term " first " in the description and claims of this application and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
A kind of the present invention is intended to provide treating method and apparatus that application window minimizes.
Fig. 1 is the flow chart for the processing method that application window according to embodiments of the present invention minimizes.Such as Fig. 1 institutes Show, the processing method that the application window minimizes includes steps S101 to step S104:
Step S101, detect whether to receive minimum instruction.
Application window in the embodiment can be instant messaging application window, video player application Window, game application window, office software application window etc..Application window corresponding to different application programs Difference, such as the difference such as color, size at different application window interfaces.Exist on application window interface a lot The module for selecting or operating for user, such as, journey is applied in the hiding minimum button module of control application window, control The X button module of sequence close, the stop push-button module of control application window reduction etc..When user is using journey When performing operation on sequence window interface in corresponding module, triggering command corresponding to the operation can be produced, when application program receives During to the triggering command, application window can be controlled to perform corresponding to the triggering command and operated.Such as when user is using journey When minimum button is clicked on sequence window interface, long-living minimize corresponding with the clicking operation of meeting instructs, wherein, minimum refers to Make and minimize operation for indicating that application window performs window, when application program receives minimum instruction, control should Performed with program window and minimize operation, i.e. hide application program window.
First detect whether to receive minimum instruction in the processing method that the application window of the embodiment minimizes Purpose is to intercept and capture minimum instruction, and organizations programme-control application window, which performs, minimizes operation, prevents from applying journey Sequence window can not obtain the state change situation of application window under minimum state.
Step S102, if receiving minimum instruction, intercept and capture and minimize instruction.
When detecting that receiving minimum instructs, the processing method that the application window of the embodiment minimizes can be stood Minimum instruction is intercepted and captured, wherein, after intercepting and capturing minimum instruction, application program just can not control application window to hold The operation that row window minimizes.
After minimum instruction is intercepted and captured, the processing method that the application window of the embodiment minimizes also includes:Note Record the size of application window and the size of on-screen display (osd) area;First position is recorded, wherein, first position is application program Position of the window in on-screen display (osd) area, with coordinate representation application of the application window upper left corner in on-screen display (osd) area Position of the program window in on-screen display (osd) area.
Preferably, the size of on-screen display (osd) area includes the width of on-screen display (osd) area and the height of on-screen display (osd) area, The size of application window also includes the width of application window and the height of application window.Wherein, application program By application program, this province is determined the size of window, and the size of on-screen display (osd) area is influenceed by the resolution ratio of on-screen display (osd) area. Using the on-screen display (osd) area upper left corner as the origin of coordinates, the upper sideline of on-screen display (osd) area is abscissa, a left side for on-screen display (osd) area Sideline is that ordinate draws coordinate diagram, then application window is in the position of on-screen display (osd) area, i.e. first position, it is possible to uses The form of coordinate shows.Application window upper left is used in the processing method that the application window of the embodiment minimizes Angle application window of the coordinate representation in on-screen display (osd) area is in the position of on-screen display (osd) area.
For example coordinate of the application window upper left corner in on-screen display (osd) area is (X1, Y1), i.e. the application program window Mouth is (X1, Y1) in the position of on-screen display (osd) area, and the width of application window is W1, and the height of application window is H1, then coordinate of the application window lower right corner in on-screen display (osd) area is (X1+W1, Y1+H1).The width of on-screen display (osd) area Spend for W, the height of on-screen display (osd) area is H, then the coordinate in the lower right corner of on-screen display (osd) area is (W, H).
The processing method that the application window of the embodiment minimizes is intercepted and captured and minimized when receiving minimum instruction Instruction, prevent application program controlling application window from performing and minimize operation, be advantageous to prevent application window from performing most The situation of change of application window interface state can not be obtained after smallization operation, intercepts and captures the weight for minimizing that instruction is the embodiment Want premise.
Step S103, judge application window whether in on-screen display (osd) area.
Application window includes the whole window interface of application window in screen display in on-screen display (osd) area In region, a part for window interface for application window can also be included in on-screen display (osd) area.On-screen display (osd) area The width of size including on-screen display (osd) area and the height of on-screen display (osd) area.Preferably, the application program window of the embodiment Judge whether application window includes in on-screen display (osd) area in the processing method that mouth minimizes:Judge application window It is worth the width for whether being less than on-screen display (osd) area corresponding to abscissa of the upper left corner in on-screen display (osd) area;Judge application program It is worth the height for whether being less than on-screen display (osd) area corresponding to ordinate of the window upper left corner in on-screen display (osd) area;If it is determined that Go out value corresponding to abscissa of the application window upper left corner in on-screen display (osd) area less than on-screen display (osd) area width and Value corresponding to ordinate of the application window upper left corner in on-screen display (osd) area then should less than the height of on-screen display (osd) area With program window in on-screen display (osd) area.
For example coordinate of the application window upper left corner in on-screen display (osd) area is (X1, Y1), i.e. the application program window Mouth is (X1, Y1) in the position of on-screen display (osd) area, and the width of on-screen display (osd) area is W, and the height of on-screen display (osd) area is H, I.e. the coordinate in the lower right corner of on-screen display (osd) area is (W, H).Application window includes in on-screen display (osd) area:Application program Abscissa X1 of the window upper left corner in on-screen display (osd) area is less than the width W of on-screen display (osd) area, and application window is left Ordinate Y1 of the upper angle in on-screen display (osd) area is less than the height H of on-screen display (osd) area.Only X1<W and Y1<During H, ability Ensure some or all of window interface of application window in on-screen display (osd) area.
The processing method that the application program of the embodiment minimizes, which is worked as, judges application window not in screen display area In domain, i.e. X1<W and Y1<When H conditions are invalid, illustrate that the application window is hiding, it is not necessary to perform to application program The processing procedure that window minimizes;When judging application window in on-screen display (osd) area, i.e. X1<W and Y1<H conditions into Immediately, illustrate that the application window needs are hidden, it is necessary to perform the processing procedure minimized to application window.The implementation Example will determine that whether the process in on-screen display (osd) area is specifically divided into two parts to application window, that is, judges application program window It is worth the width for whether being less than on-screen display (osd) area corresponding to abscissa of the mouth upper left corner in on-screen display (osd) area;Journey is applied in judgement It is worth the height for whether being less than on-screen display (osd) area, Jin Erti corresponding to ordinate of the sequence window upper left corner in on-screen display (osd) area The high degree of accuracy of deterministic process.
Step S104, if it is judged that application window in on-screen display (osd) area, is shown by increasing relative to screen Show that application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner in region.
Preferably, the processing method that the application window of the embodiment minimizes is by increasing relative to screen display area Application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner in domain to be included:Judge screen Whether the resolution ratio of curtain viewing area changes;If it is judged that the resolution ratio of on-screen display (osd) area is changed, judge Whether application window is in the on-screen display (osd) area after resolution ratio changes;If it is judged that application window is dividing Resolution change after on-screen display (osd) area in, the on-screen display (osd) area after being changed by increase relative to resolution ratio Application window is moved to the on-screen display (osd) area after resolution ratio changes by the coordinate value in the application window upper left corner Outside.The embodiment by increase the application window upper left corner the coordinate value application window upper left corner coordinate not Again in on-screen display (osd) area, such as, coordinate of the application window upper left corner in on-screen display (osd) area is (X1, Y1), i.e., should Application window is (X1, Y1) in the position of on-screen display (osd) area, and the width of on-screen display (osd) area is W, on-screen display (osd) area Height be H, i.e., the coordinate in the lower right corner of on-screen display (osd) area is (W, H).Application window is moved to screen display area Outside domain, by by X1+W0, Y1+H0, wherein, W0 and H0 are default value, and W0 and H0 value is sufficiently large, i.e. W0 and The size of H0 values is necessary to ensure that the application window upper left corner is in screen display area after the resolution changing of on-screen display (osd) area Coordinate in domain is still no longer in on-screen display (osd) area.The embodiment by application window by being moved to on-screen display (osd) area Outside, its effect is as application window execution minimum operation, and still, the application window does not carry out reality Minimum, it is possible to guarantee to obtain the state of the application window.
Preferably, if it is judged that application window in on-screen display (osd) area, is shown by increasing relative to screen , should after showing that application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner in region The processing method that the application window of embodiment minimizes also includes:Detect the application journey being moved to outside on-screen display (osd) area Whether the state of sequence window changes;If detect the state for the application window being moved to outside on-screen display (osd) area Change, perform and operated corresponding to the variable condition of application window.Such as the interface of instant messaging application window After color changes, it was demonstrated that have the message from good friend, you can read the message to reduce application window.
Preferably, if it is judged that application window in on-screen display (osd) area, is shown by increasing relative to screen , should after showing that application window is moved to outside on-screen display (osd) area by the coordinate value in the application window upper left corner in region The processing method that the application window of embodiment minimizes also includes:Detect whether to receive reduction instruction, wherein, reduction refers to Make for indicating that application window performs window restoring operation;If reduction instruction is received, by application window upper left The coordinate at angle is moved to first position.Such as coordinate of the application window upper left corner in on-screen display (osd) area for (X1, Y1), i.e. first position, namely the application window is (X1, Y1) in the position of on-screen display (osd) area, is referred to when receiving reduction When making, the application window is moved to coordinate (X1, Y1) place, will the coordinate in the application window upper left corner be moved to Coordinate (X1, Y1) place.
The processing method that the application window of the embodiment minimizes, which uses, to be detected whether to receive minimum instruction, its In, minimize instruction and be used to indicate that application window performs window and minimizes operation;If receiving minimum instruction, intercept and capture Instruction is minimized, wherein, after minimum instruction is intercepted and captured, application window no longer performs window and minimizes operation;Judge Whether application window is in on-screen display (osd) area;If it is judged that application window in on-screen display (osd) area, passes through Application window is moved to screen relative to the coordinate value in the application window upper left corner of on-screen display (osd) area and shown by increase Show outside region solve the problems, such as that prior art can not obtain the Window state when application window minimizes.Simultaneously The embodiment can also be realized to application window most according to application window compared with the size of on-screen display (osd) area Application window, i.e., be moved to the correct position of on-screen display (osd) area by smallization and reduction, and then is not influenceing The effect of application window interface state is obtained on the premise of the function that application window is minimized and reduced.
As can be seen from the above description, the processing method that the application window of the embodiment of the present invention minimizes is led to Cross using the minimum instruction for intercepting and capturing application window, by the way that application window is moved to outside on-screen display (osd) area Mode realizes application window minimum, and the embodiment of the invention can make application window in the shape of minimum State obtains the state at application window interface, and the window can not be obtained when application window minimizes by solving prior art The problem of mouth state, reach to obtain on the premise of the function of application window minimum and reduction is not influenceed and applied journey The effect of sequence window interface state.
It should be noted that can be in such as one group of computer executable instructions the flow of accompanying drawing illustrates the step of Performed in computer system, although also, show logical order in flow charts, in some cases, can be with not The order being same as herein performs shown or described step.
The embodiment of the present invention additionally provides the processing unit that a kind of application window minimizes.It should be noted that should The processing unit that application window minimizes can be used for performing the place that the application window of the embodiment of the present invention minimizes Reason method.
Fig. 2 is the schematic diagram for the processing unit that application window according to embodiments of the present invention minimizes.Such as Fig. 2 institutes Show, the processing unit that the application window minimizes includes:First detection module 10, the first interception module 20, first judges The mobile module 40 of module 30 and first.
First detection module 10, instructed for detecting whether receiving minimum, wherein, minimize instruction and be used to indicate to answer Window, which is performed, with program window minimizes operation.
First interception module 20, for when receiving minimum instruction, intercepting and capturing and minimizing instruction, wherein, in intercepting and capturing most After smallization instruction, application window no longer performs window and minimizes operation.
Preferably, the processing unit that the application window of the embodiment minimizes also includes:First logging modle, is used for The size of records application program window and the size of on-screen display (osd) area;Second logging modle, for recording first position, its In, first position is position of the application window in on-screen display (osd) area, is shown with the application window upper left corner in screen Show position of the coordinate representation application window in on-screen display (osd) area in region.
First judge module 30, for judging application window whether in on-screen display (osd) area.
Preferably, the size of the on-screen display (osd) area in the embodiment includes the width and screen display of on-screen display (osd) area The height in region, wherein, the first judge module 30 includes:First judging submodule, for judging the application window upper left corner It is worth the width for whether being less than on-screen display (osd) area corresponding to abscissa in on-screen display (osd) area;Second judging submodule, use In judging to be worth corresponding to ordinate of the application window upper left corner in on-screen display (osd) area whether be less than on-screen display (osd) area Height;Determining module, judge for working as corresponding to abscissa of the application window upper left corner in on-screen display (osd) area Value is less than value corresponding to the ordinate of the width and the application window upper left corner of on-screen display (osd) area in on-screen display (osd) area Less than on-screen display (osd) area height when, determine application window in on-screen display (osd) area.
First mobile module 40, for when judging that application window is in on-screen display (osd) area, by increasing phase Application window is moved to on-screen display (osd) area for the coordinate value in the application window upper left corner of on-screen display (osd) area Outside.
Specifically, the first mobile module 40 includes:3rd judging submodule, for judging the resolution ratio of on-screen display (osd) area Whether change;4th judging submodule, for when judging the resolution ratio of on-screen display (osd) area there occurs changing, judging Whether application window is in the on-screen display (osd) area after resolution ratio changes;First movement submodule, for when judgement When going out application window in the on-screen display (osd) area after resolution ratio changes, changed by increasing relative to resolution ratio Application window is moved to resolution ratio by the coordinate value in the application window upper left corner of the on-screen display (osd) area after change Outside on-screen display (osd) area after change.
Preferably, the processing unit that the application window of the embodiment minimizes also includes:Second detection module, is used for Whether the state for detecting the application window being moved to outside on-screen display (osd) area changes;Execution module, for when inspection When measuring the state of the application window being moved to outside on-screen display (osd) area and changing, the change of application window is performed Operated corresponding to change state;3rd detection module, for detecting whether reduction instruction is received, wherein, reduction instruction is used to refer to Show that application window performs window restoring operation;Second mobile module, for when receive reduction instruction when, by application program The coordinate in the window upper left corner is moved to first position.
The processing unit that the application window of the embodiment minimizes includes first detection module 10, the first interception module 20, the first judge module 30 and the first mobile module 40.The processing unit minimized by the application window of the embodiment Solve the problems, such as that prior art can not obtain the Window state when application window minimizes, having reached is not influenceing to answer With program window minimize and reduce function on the premise of obtain application window interface state effect.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. processing method that application window minimizes, it is characterised in that including:
    Detect whether to receive minimum instruction, wherein, it is described to minimize instruction for indicating that application window performs window Minimize operation;
    Instructed if receiving described minimize, intercept and capture described minimize and instruct, wherein, intercepting and capturing the minimum instruction Afterwards, the application window no longer performs window and minimizes operation;
    Judge the application window whether in on-screen display (osd) area;And
    If it is judged that the application window is in the on-screen display (osd) area, by increasing relative to the screen display The application window is moved to the on-screen display (osd) area by the coordinate value in the application window upper left corner in region Outside;
    Wherein, if it is judged that the application window in the on-screen display (osd) area, by increase relative to described The application window is moved to the screen by the coordinate value in the application window upper left corner of on-screen display (osd) area After outside viewing area, methods described also includes:
    Whether the state for detecting the application window being moved to outside the on-screen display (osd) area changes;And
    If detecting that the state of the application window being moved to outside the on-screen display (osd) area changes, perform Operated corresponding to the variable condition of the application window.
  2. 2. the processing method that application window according to claim 1 minimizes, it is characterised in that described in intercept and capture most After smallization instruction, methods described also includes:
    Record the size of the application window and the size of the on-screen display (osd) area;And
    First position is recorded, wherein, the first position is position of the application window in the on-screen display (osd) area Put, application window is in institute described in coordinate representation of the application window upper left corner in the on-screen display (osd) area State the position in on-screen display (osd) area.
  3. 3. the processing method that application window according to claim 2 minimizes, it is characterised in that the screen display The size in region includes the width of the on-screen display (osd) area and the height of the on-screen display (osd) area, wherein, judge described answer Whether included with program window in on-screen display (osd) area:
    Judge to be worth corresponding to abscissa of the application window upper left corner in the on-screen display (osd) area and whether be less than institute State the width of on-screen display (osd) area;
    Judge to be worth corresponding to ordinate of the application window upper left corner in the on-screen display (osd) area and whether be less than institute State the height of on-screen display (osd) area;And
    If it is judged that value corresponding to abscissa of the application window upper left corner in the on-screen display (osd) area is less than The ordinate pair of the width of the on-screen display (osd) area and the application window upper left corner in the on-screen display (osd) area The value answered is less than the height of the on-screen display (osd) area, then the application window is in the on-screen display (osd) area.
  4. 4. the processing method that application window according to claim 1 minimizes, it is characterised in that relative by increasing The application window is moved to institute by the coordinate value in the application window upper left corner of the on-screen display (osd) area State includes outside on-screen display (osd) area:
    Judge whether the resolution ratio of the on-screen display (osd) area changes;
    If it is judged that the resolution ratio of the on-screen display (osd) area is changed, judge whether the application window is dividing Resolution change after on-screen display (osd) area in;And
    If it is judged that the application window passes through increase in the on-screen display (osd) area after the resolution ratio changes The coordinate value in the application window upper left corner of the on-screen display (osd) area after being changed relative to the resolution ratio is by institute Application window is stated to be moved to outside the on-screen display (osd) area after the resolution ratio changes.
  5. 5. the processing method that application window according to claim 2 minimizes, it is characterised in that if it is judged that The application window is in the on-screen display (osd) area, by increasing the application relative to the on-screen display (osd) area After the application window is moved to outside the on-screen display (osd) area by the coordinate value in the program window upper left corner, the side Method also includes:
    Detect whether to receive reduction instruction, wherein, the reduction instruction is used to indicate that the application window performs window Restoring operation;And
    If receiving the reduction instruction, the coordinate in the application window upper left corner is moved to the first position.
  6. A kind of 6. processing unit that application window minimizes, it is characterised in that including:
    First detection module, for detecting whether minimum instruction is received, wherein, it is described to minimize instruction for indicating application Program window performs window and minimizes operation;
    First interception module, for when receiving the minimum instruction, intercepting and capturing described minimize and instructing, wherein, intercepting and capturing After the minimum instruction, the application window no longer performs window and minimizes operation;
    First judge module, for judging the application window whether in on-screen display (osd) area;And
    First mobile module, for when judging that the application window is in the on-screen display (osd) area, passing through increase The application window is moved relative to the coordinate value in the application window upper left corner of the on-screen display (osd) area To outside the on-screen display (osd) area;
    Wherein, described device also includes:Second detection module, for detecting the application being moved to outside the on-screen display (osd) area Whether the state of program window changes;
    Execution module, for when the state hair for detecting the application window being moved to outside the on-screen display (osd) area During changing, perform and operated corresponding to the variable condition of the application window.
  7. 7. the processing unit that application window according to claim 6 minimizes, it is characterised in that described device is also wrapped Include:
    First logging modle, for recording the size of the application window and the size of the on-screen display (osd) area;And
    Second logging modle, for recording first position, wherein, the first position is the application window in the screen Position in curtain viewing area, described in coordinate representation of the application window upper left corner in the on-screen display (osd) area Position of the application window in the on-screen display (osd) area.
  8. 8. the processing unit that application window according to claim 7 minimizes, it is characterised in that the screen display The size in region includes the width of the on-screen display (osd) area and the height of the on-screen display (osd) area, wherein, described first sentences Disconnected module includes:
    First judging submodule, for judging abscissa of the application window upper left corner in the on-screen display (osd) area Whether corresponding value is less than the width of the on-screen display (osd) area;
    Second judging submodule, for judging ordinate of the application window upper left corner in the on-screen display (osd) area Whether corresponding value is less than the height of the on-screen display (osd) area;And
    Determining module, judge abscissa pair of the application window upper left corner in the on-screen display (osd) area for working as The value answered is less than the width of the on-screen display (osd) area and the application window upper left corner is in the on-screen display (osd) area Ordinate corresponding to value less than the on-screen display (osd) area height when, determine that the application window shows in the screen Show in region.
  9. 9. the processing unit that application window according to claim 6 minimizes, it is characterised in that first movement Module includes:
    3rd judging submodule, for judging whether the resolution ratio of the on-screen display (osd) area changes;
    4th judging submodule, for when judging the resolution ratio of the on-screen display (osd) area there occurs changing, described in judgement Whether application window is in the on-screen display (osd) area after resolution ratio changes;And
    First movement submodule, for when judging that screen of the application window after resolution ratio changes show When showing in region, the application window of the on-screen display (osd) area after being changed by increase relative to the resolution ratio The application window is moved to outside the on-screen display (osd) area after the resolution ratio changes by the coordinate value in the upper left corner.
  10. 10. the processing unit that application window according to claim 7 minimizes, it is characterised in that described device is also Including:
    3rd detection module, for detecting whether reduction instruction is received, wherein, the reduction instruction is used to indicate the application Program window performs window restoring operation;And
    Second mobile module, for when receiving the reduction instruction, the coordinate in the application window upper left corner to be moved Move the first position.
CN201410724844.0A 2014-12-02 2014-12-02 The treating method and apparatus that application window minimizes Active CN104461532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410724844.0A CN104461532B (en) 2014-12-02 2014-12-02 The treating method and apparatus that application window minimizes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410724844.0A CN104461532B (en) 2014-12-02 2014-12-02 The treating method and apparatus that application window minimizes

Publications (2)

Publication Number Publication Date
CN104461532A CN104461532A (en) 2015-03-25
CN104461532B true CN104461532B (en) 2018-02-02

Family

ID=52907643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410724844.0A Active CN104461532B (en) 2014-12-02 2014-12-02 The treating method and apparatus that application window minimizes

Country Status (1)

Country Link
CN (1) CN104461532B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347582B (en) * 2017-01-23 2021-01-05 北京中创视讯科技有限公司 Method and apparatus for minimizing video windows
CN108804153B (en) * 2018-05-21 2021-03-12 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786902A (en) * 2004-12-09 2006-06-14 腾讯科技(深圳)有限公司 Interface of image user and forming method thereof
CN101075173A (en) * 2006-09-14 2007-11-21 腾讯科技(深圳)有限公司 Display device and method
CN101515227A (en) * 2008-02-20 2009-08-26 联想(北京)有限公司 Window management method and computer
CN102467318A (en) * 2010-11-08 2012-05-23 北京创新方舟科技有限公司 Method and device for fast desktop switching of touch screen
CN102508609A (en) * 2011-11-17 2012-06-20 潘天华 Method for controlling displaying and hiding of computer application program window
CN103067569A (en) * 2012-12-10 2013-04-24 广东欧珀移动通信有限公司 Method and device of multi-window displaying of smart phone
CN103475784A (en) * 2013-09-18 2013-12-25 广东欧珀移动通信有限公司 Mobile phone application program window mode displaying and operating method
CN103699312A (en) * 2013-12-30 2014-04-02 中科创达软件股份有限公司 Multi-application foreground running implementation method and device and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566909A (en) * 2008-04-22 2009-10-28 鸿富锦精密工业(深圳)有限公司 Multiwindow operation interface display method
KR101873056B1 (en) * 2011-09-20 2018-07-02 삼성전자주식회사 Device and method for performing application in wireless terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786902A (en) * 2004-12-09 2006-06-14 腾讯科技(深圳)有限公司 Interface of image user and forming method thereof
CN101075173A (en) * 2006-09-14 2007-11-21 腾讯科技(深圳)有限公司 Display device and method
CN101515227A (en) * 2008-02-20 2009-08-26 联想(北京)有限公司 Window management method and computer
CN102467318A (en) * 2010-11-08 2012-05-23 北京创新方舟科技有限公司 Method and device for fast desktop switching of touch screen
CN102508609A (en) * 2011-11-17 2012-06-20 潘天华 Method for controlling displaying and hiding of computer application program window
CN103067569A (en) * 2012-12-10 2013-04-24 广东欧珀移动通信有限公司 Method and device of multi-window displaying of smart phone
CN103475784A (en) * 2013-09-18 2013-12-25 广东欧珀移动通信有限公司 Mobile phone application program window mode displaying and operating method
CN103699312A (en) * 2013-12-30 2014-04-02 中科创达软件股份有限公司 Multi-application foreground running implementation method and device and electronic device

Also Published As

Publication number Publication date
CN104461532A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CA2918620C (en) Managing permissions in collaborative workspaces using visual representations of clients
CN111866423B (en) Screen recording method for electronic terminal and corresponding equipment
US20200401687A1 (en) Secure authorization via modal window
Schreiner et al. Connichiwa: a framework for cross-device web applications
CN106959808A (en) A kind of system and method based on gesture control 3D models
CN107562316A (en) Method for showing interface, device and terminal
EP2686761A1 (en) Superimposed annotation output
JP2008134853A (en) Method, program, and device for generating image data
US20100097339A1 (en) Image processing apparatus, image processing method, and program
CN104252296B (en) The method and apparatus of picture are applied in electric terminal
WO2021088422A1 (en) Application message notification method and device
US20190050068A1 (en) Causing specific location of an object provided to a device
US10950022B2 (en) Using machine learning and image recognition for automatic relocation of camera display area and sizing of camera image
US20160378272A1 (en) Systems and methods for providing multi-focus to applications for collaboration
CN106354366A (en) Method for treating desktop icons arrangement and device thereof
CN103581423A (en) Method and device for turning over screen and mobile terminal
CN111338721A (en) Online interaction method, system, electronic device and storage medium
CN104461532B (en) The treating method and apparatus that application window minimizes
CN105183538B (en) A kind of information processing method and electronic equipment
CN104102367B (en) A kind of information processing method and device
CN110688190A (en) Control method and device of intelligent interactive panel
CN103870117A (en) Information processing method and electronic equipment
CN115243085A (en) Display device and device interconnection method
US20180211027A1 (en) Password setting method and device
US20130106757A1 (en) First response and second response

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Processing method and device for minimizing application program window

Effective date of registration: 20190531

Granted publication date: 20180202

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20180202