CN103019840B - For arranging the method and apparatus of desktop - Google Patents

For arranging the method and apparatus of desktop Download PDF

Info

Publication number
CN103019840B
CN103019840B CN201210480204.0A CN201210480204A CN103019840B CN 103019840 B CN103019840 B CN 103019840B CN 201210480204 A CN201210480204 A CN 201210480204A CN 103019840 B CN103019840 B CN 103019840B
Authority
CN
China
Prior art keywords
subwindow
message
resource management
desktop
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
CN201210480204.0A
Other languages
Chinese (zh)
Other versions
CN103019840A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210480204.0A priority Critical patent/CN103019840B/en
Publication of CN103019840A publication Critical patent/CN103019840A/en
Application granted granted Critical
Publication of CN103019840B publication Critical patent/CN103019840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention relates to network communication technology field, specifically discloses a kind of method and apparatus for arranging desktop, adopts set up applications not problem easily in desktop window to solve.Described device comprises: creation module, is suitable for creating the first subwindow and the second subwindow based on the desktop window of operating system, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system; Injection module, is suitable for injecting process hook in the Resource Management process of system; Interception is processing module also, is suitable for the message of employing process hook interception Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow; Wherein, described creation module, is specifically suitable for creating two subwindows with the desktop window of system for parent window, is respectively the first subwindow and the second subwindow.

Description

For arranging the method and apparatus of desktop
Technical field
The present invention relates to network communication technology field, being specifically related to a kind of method and apparatus for arranging desktop.
Background technology
In windows operating system, conventional desktop adopts icon as the main presentation mode of file, application program, described icon is file and the shortcut of application program in conventional desktop, and namely user is by after clickable icon, when just can open corresponding file or application program.
When windows operating system adopts above-mentioned conventional desktop, to install new application program, just need the installation file being found this application program by browser, then described installation file is downloaded in operating system, or, adopt CD, movable storage device etc. to get the installation file of this application program.Then adopt this installation file to install, need the instruction selection step by step according to installation file during installation, just can application program be installed in computer the most at last, and in conventional desktop, create the shortcut of this application program, namely corresponding icon.
But, when adopting conventional desktop, the method of installation procedure obtaining application program is very loaded down with trivial details, lose time, and when using installation procedure to install, also a lot of operation is had to be unnecessary, therefore cause temporal waste equally, and need the operations such as user selects, confirmation to also result in the waste of data resource frequently.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above or solve the problem at least in part for arranging the device of desktop and corresponding for arranging the method for desktop.
According to one aspect of the present invention, provide a kind of method for equipment desktop, comprising:
Desktop window based on operating system creates the first subwindow and the second subwindow, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system;
Process hook is injected in the Resource Management process of system;
Described process hook is adopted to tackle the message of Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow;
The described desktop window based on system creates the first subwindow and the second subwindow comprises: create two subwindows with the desktop window of operating system for parent window, is respectively the first subwindow and the second subwindow.
In the embodiment of the present invention, describedly in the Resource Management process of system, inject process hook, comprising: inject a dynamic link library to Resource Management process; Adopt described dynamic link library that process hook is set in Resource Management process.
In the embodiment of the present invention, adopt the message of process hook interception Resource Management process, and to described message procedure process, comprising: adopt process hook to monitor Resource Management process; If detect, Resource Management process receives message, then tackle described message; Dissection process is carried out to described message, and is converted into the operation to the first subwindow or the second subwindow.
In the embodiment of the present invention, exist in system and switch entrance, for realizing the switching between the first subwindow and the second subwindow; Method after processing described message, also comprises: if determine that described message is windows exchange message by process, then described message switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
In the embodiment of the present invention, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
According to a further aspect in the invention, providing a kind of device for arranging desktop, comprising:
Creation module, is suitable for creating the first subwindow and the second subwindow based on the desktop window of operating system, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system;
Injection module, is suitable for injecting process hook in the Resource Management process of system;
Interception is processing module also, is suitable for the message of employing process hook interception Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow;
Wherein, described creation module, is specifically suitable for creating two subwindows with the desktop window of system for parent window, is respectively the first subwindow and the second subwindow.
In the embodiment of the present invention, described injection module, is specifically suitable in Resource Management process, injecting a dynamic link library by system interface in systems in which; Adopt described dynamic link library that process hook is set in Resource Management process.
In the embodiment of the present invention, described interception processing module, be specifically suitable for employing process hook and monitor Resource Management process; If detect, Resource Management process receives message, then tackle described message; Dissection process is carried out to described message, and is converted into the operation to the first subwindow or the second subwindow.
In the embodiment of the present invention, exist in operating system and switch entrance, for realizing the switching between the first subwindow and the second subwindow; By process, described interception processing module, determine that described message is windows exchange message if be also suitable for, then described message switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
In the embodiment of the present invention, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
Desktop window based on operating system according to the present invention creates the first subwindow and the second subwindow, and, process hook is injected in the Resource Management process of system, this process hook is adopted to tackle the message of Resource Management process, and to described message procedure process, the operation to the first subwindow or the second subwindow can be realized.For user provides the window of different shape, user is facilitated to select according to demand, thus and facilitate user to carry out operation control to two subwindows by process hook, comprise the content used in subwindow, switching etc. between subwindow, behaviour solves desktop window application program thus and installs not problem easily, and what obtain is simple to operation, reduces the beneficial effect of the wasting of resources.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows according to an embodiment of the invention for arranging the method flow diagram of desktop;
Fig. 2 shows the first subwindow schematic diagram according to an embodiment of the invention;
Fig. 3 shows the second subwindow schematic diagram according to an embodiment of the invention;
Fig. 4 shows a kind of according to an embodiment of the invention window schematic diagram of desktop;
Fig. 5 shows subwindow schematic diagram according to an embodiment of the invention;
Fig. 6 shows process hook process flow figure according to an embodiment of the invention;
Fig. 7 shows described in one embodiment of the invention and switches bar schematic diagram;
Fig. 8 shows according to an embodiment of the invention for arranging the structure drawing of device of desktop.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
In the operating system of computing machine, often only there is a kind of desktop form in a kind of operating system, namely the form of desktop window is more single, fixing.Wherein, a kind of desktop window using icon as file, the main presentation mode of application program, described icon is file and the shortcut of application program in conventional desktop.But adopt this desktop obtain the method for installation procedure of application program very loaded down with trivial details, lose time, and when using installation procedure to install, also a lot of operation is had to be unnecessary, therefore cause temporal waste equally, and need the operations such as user selects, confirmation to also result in the waste of data resource frequently.
Embodiments provide a kind of method for arranging desktop, the first subwindow and the second subwindow can be created based on the desktop window of operating system, and the message of process hook interception Resource Management process is set, realize the operation to the first subwindow or the second subwindow.For user provides the desktop window of different shape, and operation control can be carried out to two subwindows easily, avoid by convenient the do not caused wasting of resources of the operation of different windows.
Fig. 1 shows according to an embodiment of the invention for arranging the method flow diagram of desktop.
Fig. 2 shows the first subwindow schematic diagram according to an embodiment of the invention.
Fig. 3 shows the second subwindow schematic diagram according to an embodiment of the invention.
Step 101, the desktop window based on operating system creates the first subwindow and the second subwindow.
Wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system.
The operating system of computing machine can adopt desktop window as the main interface of this operating system, is supplied to the operating platform of user as computing machine, and user can use computing machine in this main interface.
Desktop window in usual operating system is only with the content on a kind of form display desktop, and the embodiment of the present invention creates the first subwindow and the second subwindow based on the desktop window of operating system, make to draw beyond desktop window, the desktop of other forms can also be provided to show the content on desktop, thus provide more various selection for user.
Wherein, first subwindow is the mirror image window of desktop window, described mirror image refers to the duplicate of a reservation data complete characterization, then the first subwindow is the copy window remaining desktop window complete characterization, is namely the same from outward appearance first subwindow with desktop window.As Fig. 1, the first subwindow, with the icon of shortcut, shows application program, file etc., and clickable icon just can start corresponding application program or file.
Certainly, although the first subwindow is the mirror image window of desktop window, time initial, the first subwindow is the same with the outward appearance of desktop window, and the embodiment of the present invention still can provide some additional functions, is convenient to user and manages the first subwindow.Such as, have the icon of a lot of shortcut in the first subwindow, also have the data messages such as file, the embodiment of the present invention can provide arrangement function, according to the data message in the taxonomic revision such as time, type first subwindow.
Second subwindow is the impression window applied in system, namely the second subwindow is mainly used in showing various application program, the application program be illustrated in the second subwindow can start use fast, to add a new application program, only need select the application program that will add will Auto-mounting, use this second subwindow can install fast, use application program.
As directly shown various application in the second subwindow in Fig. 3, the button wherein adopting "+" to identify is that application program adds button, click the application program that this button just can be selected to add, then automatically install, and being illustrated in the second subwindow, follow-up this application program that can start uses.
The types of applications program such as music, video, game, tool software can be shown in second subwindow.Such as, the application program clicking a certain game just can enter interface and play.And for example, the player of not simple display video in second subwindow, but directly show a certain concrete video as film 1, the player that click film 1 just can open movie 1 is play, therefore, may there is the Video Applications such as film 1, film 2 and TV play 3 in second subwindow, but its final utilization is same player simultaneously.
Optionally, the desktop window based on system creates the method for the first subwindow and the second subwindow, comprising: create two subwindows with the desktop window of operating system for parent window, is respectively the first subwindow and the second subwindow.
The embodiment of the present invention can with the desktop window of operating system for parent window creates two subwindows, one of them subwindow is the mirror image window of desktop window, as the first subwindow, another window can designed, designed, build application impression window, as the second subwindow.
Fig. 4 shows a kind of according to an embodiment of the invention window schematic diagram of desktop.
Fig. 5 shows subwindow schematic diagram according to an embodiment of the invention.
Such as shown in Fig. 4, in Windows operating system, realize desktop function by two windows, wherein, SHELLDLL_DefView is for showing desktop background, and FolderView is for realizing the function of desktop icons.
As shown in Figure 5, can take therefore FolderView as parent window, create two subwindows, subwindow be the mirror image window of FolderView as the first subwindow, another window is that application impression window is as the second subwindow.As in Fig. 5, by the first subwindow called after computer screen, by the second subwindow called after application screen.
In concrete enforcement, a kind of creation method of subwindow is as follows:
Step 102, injects process hook in the Resource Management process of system.
Wherein, Resource Management process is used for the graphical interfaces of management system, as the process of explorer.exe during Resource Management process in Windows operating system, it is mainly used in management Windows figure shell, comprise start menu, taskbar, desktop and file management, delete this program and Windows graphical interfaces can be caused to be suitable for.
User is when using terminal, and Resource Management process can receive the message that user is sent by the peripheral hardware such as keyboard, mouse, then according to the graphical interfaces of described instruction to system, as desktop window performs corresponding operation.
Therefore, after window creation completes, in order to realize controlling the operation of two windows, can inject process hook in the Resource Management process of system, this process hook can be monitored Resource Management process.
Optionally, describedly in the Resource Management process of system, inject process hook, comprising:
A dynamic link library is injected to Resource Management process; Adopt described dynamic link library that process hook is set in Resource Management process.
In the embodiment of the present invention, can inject a dynamic link library (DynamicLink Library, DLL) to Resource Management process, wherein, described DLL allows procedure sharing to perform the necessary code of special duty and other resources.
In concrete enforcement, a DLL module can be injected by system interface to Resource Management process.Such as, in systems in which, adopt application programming interface (Application Programming Interface, API) to inject a DLL module, a kind of method for implanting is as follows:
hRemoteThread=CreateRemoteThread(hProcess,NULL,1024*10,(LPTHREAD_START_ROUTINE)dwProcAddres,(LPVOID)dwThreadParams,0,&dwThreadID);
Follow-up DLL can enter the process space of Resource Management process, then in Resource Management process, sets a process hook, can monitor the message of Resource Management process.Wherein, a kind of method setting process hook is as follows:
g_hExplorerHook=::SetWindowsHookEx(WH_GETMESSAGE,HookInExplorer,_AtlBaseModule.GetModuleInstance(),dwThreadId);
Step 103, adopts the message of process hook interception Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow.
After process hook has created, this process hook can be adopted to tackle the message of Resource Management process, as the message that user is sent by the peripheral hardware such as mouse, keyboard.Concrete, process hook can be regarded as the program segment of a processing messages, by system call, it is linked in Resource Management process, and then the process hook of making can tackle the message of Resource Management process.In in concrete enforcement, a kind of method of the message of process hook interception Resource Management process is as follows:
Now process hook has got the control of the message of described Resource Management process, subsequent processes hook can according to the configuration to two subwindows, message is processed, thus makes the message of Resource Management process can control the first subwindow or the second subwindow.
Such as, when using the desktop window of operating system, the message that " ↑ " " ↓ " button of keyboard sends moves up and down to select icon in desktop window, and when using the second subwindow, " ↑ " " ↓ " button of keyboard sends message to Resource Management process, process hook can be intercepted this message and to go forward side by side row relax, in the second subwindow, this message is configured to loopy moving selective gist program, then process hook can according to above-mentioned configuration to message procedure process, thus realize in the second subwindow, selective gist program is moved by " ↑ " " ↓ " button cycles of keyboard.
Fig. 6 shows process hook process flow figure according to an embodiment of the invention.
Optionally, adopt the message of process hook interception Resource Management process, and to described message procedure process, comprising:
Step 601, adopts process hook to monitor Resource Management process;
Process hook can be adopted in the embodiment of the present invention to monitor Resource Management process, namely after process hook is injected into Resource Management process, this process hook can monitor the operation of Resource Management process the moment, when the more interested event of Resource Management process generation process hook, just can obtain this event, thus realize the control to Resource Management process.
Step 602, detects Resource Management process and whether receives message.
If so, namely detect that Resource Management process receives message, then perform step 203, if not, namely do not detect that Resource Management process receives message, then re-execute step 202, continue to detect.
Step 603, tackles described message.
If detect, Resource Management process receives message, then tackle described message.
In the embodiment of the present invention, the more interested class of the event of process hook to Resource Management process is, the message of Resource Management process.Such as, this is because Resource Management process according to the message received, can manage control operation to graphic interface process, opens the program that in desktop window, certain icon is corresponding accordingly.
When using the first subwindow or the second subwindow in operating system, the process of Resource Management process to message is not that therefore needing to carry out process to message could control the first subwindow or the second subwindow directly for this first subwindow or the second subwindow.Therefore process hook is when monitoring Resource Management process, if detect, Resource Management process have received message, in order to realize the control of child windows, just needing to tackle this message, preventing Resource Management process from controlling desktop window according to this message.
Step 604, carries out dissection process to described message, and is converted into the operation to the first subwindow or the second subwindow.
After message intercepted by process hook, just can resolve this message, whom such as get this message how to be operated by and send, then the content parsed with matching treatment is carried out to the configuration of the first subwindow or the second subwindow, thus get this message in the first subwindow or the second subwindow be which kind of operation, and then the operation be converted into the first subwindow or the second subwindow, realize the control to the first subwindow or the second subwindow.
Such as, after message parse, getting this message is " clicking operation that mouse is put in system desktop (x1; y1, x2, y2) ", now use the second subwindow, (x1, y1, x2 in second subwindow, y2) be the point applying A region, can be drawn " clicking operation that mouse is put at (x1, y1, the x2; y2) of system desktop " by matching treatment, relative to the operation that the second subwindow is " clicking application A ", therefore just can trigger the startup of application A, user can use application A.
There is many problems in conventional desktop, adopt application desktop to address this problem in the installation process of application program, but application desktop also to have a lot of operation not problem easily searching in the store path etc. of application program or file.If adopt conventional desktop and application desktop simultaneously, the switching between conventional desktop and application desktop is exactly a problem of necessary solution.
After particularly entering application desktop, owing to being mainly used in showing application in application desktop, all wherein relevant to application, to applying the project processed, therefore once enter into application desktop, backward reference conventional desktop is again very difficult, therefore also cannot use the application program of installing in conventional desktop and file.
Therefore, although adopt application desktop can solve in conventional desktop the problem applying installation, if but the switching existing problems between application desktop and conventional desktop, enter a desktop will cause entering another desktop, the waste that two desktops that cannot switch just cause resource is set so in systems in which.
Optionally, there is switching entrance in system, for realizing the switching between the first subwindow and the second subwindow;
Owing to being provided with the first subwindow and the second subwindow in the embodiment of the present invention, use can be switched to make two subwindows, be provided with switching entrance in an operating system, the switching between the first subwindow and the second subwindow can be realized fast by this switching entrance.
Concrete, the method after processing described message, also comprises:
If determine that described message is windows exchange message by process, then described message is switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
On the basis of above-described embodiment, after message procedure process to interception, if matching this message is windows exchange message, just this windows exchange message can be sent to corresponding switching entrance, by the blocked operation between this switching outlet execution first subwindow and the second subwindow.
Such as, currently use the first subwindow, user have sent message by mouse, this message is treated is defined as windows exchange message, this windows exchange transmission of messages can be given and switch entrance, switch entrance and just can be switched to the second subwindow from the first subwindow, thus be the second subwindow by the windows exchange used in operating system.
Optionally, windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
Fig. 7 shows described in one embodiment of the invention and switches bar schematic diagram.
In the embodiment of the present invention, in the first subwindow and the second subwindow, all can configure one switch bar, this switching bar is embodied in and is suspended on subwindow, or any position be configured in subwindow is first-class, and the embodiment of the present invention is not construed as limiting this.If Fig. 7 is a kind of form of expression switching bar, wherein, be computer screen by the first subwindow, the second subwindow is application screen.
This switching bar can be associated with switching entrance, thus make to switch bar as switching entrance in graphical interfaces form as visual in the one in window.Thus when using mouse to click switching bar, message can be sent to Resource Management process, process hook is tackled this message and to be gone forward side by side row relax, determine that this message is windows exchange message, then this windows exchange transmission of messages is given and switch entrance, realize the switching between the first subwindow and the second subwindow.
A kind of in windows exchange message can be that mouse performs the message of clicking operation at ad-hoc location, and this ad-hoc location can be arrange the position switching bar.Certainly, switch in bar and also directly can demonstrate the first subwindow and the second subwindow, thus facilitate user to select to click.Such as, when adopting the switching bar shown in Fig. 7, user clicks computer screen just can enter the first subwindow, and user clicks application screen just can enter the second subwindow.
In order to more convenient user switches between the first subwindow and the second subwindow, the embodiment of the present invention can also using the message of mouse slider roller as switching message, if upward sliding roller is switched to the second subwindow by the first subwindow, slide downward roller is switched to the first subwindow by the second subwindow.
Certainly the message of this mouse slider roller not only limits and slider roller, can also be that slider roller is again in conjunction with the message that other operable lock functions are formed, such as select left button (right button) and the message of slider roller formation, and for example select the message that forms of slider roller simultaneously of a certain button in keyboard, can as a kind of concrete form of the message of mouse slider roller.
Therefore, after the message of Resource Management process intercepted by process hook, by being resolved to the message that it is mouse slider roller, be then treated to windows exchange message, this windows exchange transmission of messages is given and switches entrance, realize the switching between the first subwindow and the second subwindow.
In sum, the embodiment of the present invention creates the first subwindow and the second subwindow based on the desktop window of operating system, and, process hook is injected in the Resource Management process of system, this process hook is adopted to tackle the message of Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow.Thus provide the window of different shape for user, facilitate user to select according to demand, and facilitate user to carry out operation control to two subwindows by process hook, comprise the content used in subwindow, switching etc. between subwindow, operation very simple and convenient.And avoid the wasting of resources caused by the not operation readiness of different desktop.
Secondly, exist in the system of the embodiment of the present invention and switch entrance, for realizing the switching between the first subwindow and the second subwindow, if thus process determines that the message of Resource Management process is windows exchange message, just this windows exchange message can be sent to switching entrance, thus the switching between the first subwindow and the second subwindow can be realized fast.Wherein, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.User is facilitated to be switched two subwindows fast by mouse.
Again, in the embodiment of the present invention with the desktop window of operating system for parent window creates two subwindows, be respectively the first subwindow and the second subwindow, thus make the first subwindow can be desktop window, second subwindow is the impression window applied in system, the display morphological differentiation of the second subwindow is in desktop window, thus the window providing more different shapes for user is selected, and uses very flexible.
Fig. 8 shows according to an embodiment of the invention for arranging the structural drawing of desktop.
Accordingly, the embodiment of the present invention additionally provides a kind of device for arranging desktop, comprising: creation module 11, injection module 12 and interception also processing module 13, wherein:
Creation module 11, is suitable for creating the first subwindow and the second subwindow based on the desktop window of operating system, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system;
Injection module 12, is suitable for injecting process hook in the Resource Management process of system;
Interception is processing module 13 also, is suitable for the message of employing process hook interception Resource Management process, and to described message procedure process, to realize the operation to the first subwindow or the second subwindow.
In the embodiment of the present invention, described injection module 12, is specifically suitable in Resource Management process, injecting a dynamic link library by system interface in systems in which; Adopt described dynamic link library that process hook is set in Resource Management process.
In the embodiment of the present invention, described interception processing module 13, be specifically suitable for employing process hook and monitor Resource Management process; If detect, Resource Management process receives message, then tackle described message; Dissection process is carried out to described message, and is converted into the operation to the first subwindow or the second subwindow.
In the embodiment of the present invention, exist in operating system and switch entrance, for realizing the switching between the first subwindow and the second subwindow; By process, described interception processing module 13, determine that described message is windows exchange message if be also suitable for, then described message switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
In the embodiment of the present invention, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
In the embodiment of the present invention, described creation module 11, is specifically suitable for creating two subwindows with the desktop window of system for parent window, is respectively the first subwindow and the second subwindow.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions for arranging the some or all parts in the device of desktop that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1., for arranging a method for desktop, comprising:
Desktop window based on operating system creates the first subwindow and the second subwindow, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system;
Process hook is injected in the Resource Management process of system;
Adopt described process hook to tackle the message of Resource Management process, and described message is processed, to realize the operation to the first subwindow or the second subwindow;
Wherein, the described desktop window based on system creates the first subwindow and the second subwindow comprises: create two subwindows with the desktop window of operating system for parent window, is respectively the first subwindow and the second subwindow.
2. the method for claim 1, describedly injects process hook in the Resource Management process of system, comprising:
A dynamic link library is injected to Resource Management process;
Adopt described dynamic link library that process hook is set in Resource Management process.
3. the method for claim 1, adopts the message of process hook interception Resource Management process, and processes described message, comprising:
Employing process hook is monitored Resource Management process;
If detect, Resource Management process receives message, then tackle described message;
Dissection process is carried out to described message, and is converted into the operation to the first subwindow or the second subwindow.
4., according to the arbitrary described method of claim 1 or 3, exist in system and switch entrance, for realizing the switching between the first subwindow and the second subwindow;
Method after processing described message, also comprises:
If determine that described message is windows exchange message by process, then described message is switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
5. method according to claim 4, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
6., for arranging a device for desktop, comprising:
Creation module, is suitable for creating the first subwindow and the second subwindow based on the desktop window of operating system, and wherein, described first subwindow is the mirror image window of described desktop window, and described second subwindow is the impression window applied in system;
Injection module, is suitable for injecting process hook in the Resource Management process of system;
Interception is processing module also, is suitable for the message of employing process hook interception Resource Management process, and processes described message, to realize the operation to the first subwindow or the second subwindow;
Wherein, described creation module, is specifically suitable for creating two subwindows with the desktop window of system for parent window, is respectively the first subwindow and the second subwindow.
7. device as claimed in claim 6, described injection module, is specifically suitable in Resource Management process, injecting a dynamic link library by system interface in systems in which; Adopt described dynamic link library that process hook is set in Resource Management process.
8. device as claimed in claim 6, described interception processing module, be specifically suitable for employing process hook and monitor Resource Management process; If detect, Resource Management process receives message, then tackle described message; Dissection process is carried out to described message, and is converted into the operation to the first subwindow or the second subwindow.
9., according to the arbitrary described device of claim 6 or 8, exist in operating system and switch entrance, for realizing the switching between the first subwindow and the second subwindow;
By process, described interception processing module, determine that described message is windows exchange message if be also suitable for, then described message switched and send to described switching entrance, to realize the blocked operation between the first subwindow and the second subwindow.
10., according to the arbitrary described device of claim 6 or 8, described windows exchange message comprises: mouse performs the message of clicking operation at ad-hoc location, or, the message of mouse slider roller.
CN201210480204.0A 2012-11-22 2012-11-22 For arranging the method and apparatus of desktop Active CN103019840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210480204.0A CN103019840B (en) 2012-11-22 2012-11-22 For arranging the method and apparatus of desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480204.0A CN103019840B (en) 2012-11-22 2012-11-22 For arranging the method and apparatus of desktop

Publications (2)

Publication Number Publication Date
CN103019840A CN103019840A (en) 2013-04-03
CN103019840B true CN103019840B (en) 2015-09-30

Family

ID=47968471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480204.0A Active CN103019840B (en) 2012-11-22 2012-11-22 For arranging the method and apparatus of desktop

Country Status (1)

Country Link
CN (1) CN103019840B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034485B (en) * 2012-11-22 2015-11-25 北京奇虎科技有限公司 A kind of method to set up of desktop and device
CN104536750B (en) * 2014-12-26 2018-10-30 北京奇虎科技有限公司 The method and device of cycling among windows object
CN104536839B (en) * 2014-12-26 2019-02-01 北京奇虎科技有限公司 The method and device of method call is carried out between process
CN106815023B (en) * 2017-01-09 2020-05-05 山东华软金盾软件股份有限公司 Method for taking over windows system start menu
CN109710343B (en) * 2017-10-25 2023-01-17 北京众纳鑫海网络技术有限公司 Method, device and equipment for switching windows of computer desktop and storage medium
CN110162249A (en) * 2019-04-23 2019-08-23 北京小米移动软件有限公司 A kind of control application program image target method and device, equipment and storage medium
CN113254101B (en) * 2021-05-27 2023-02-03 深信服科技股份有限公司 Data processing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241432A (en) * 2007-12-11 2008-08-13 金蝶软件(中国)有限公司 Application program interface style control method and device
US20110175930A1 (en) * 2010-01-19 2011-07-21 Hwang Inyong Mobile terminal and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241432A (en) * 2007-12-11 2008-08-13 金蝶软件(中国)有限公司 Application program interface style control method and device
US20110175930A1 (en) * 2010-01-19 2011-07-21 Hwang Inyong Mobile terminal and control method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
360安全桌面.2.1预览版(2.1.0.1066).《http://zhuomian.360.cn/update_log2.1.html》.2012,第7页. *

Also Published As

Publication number Publication date
CN103019840A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019840B (en) For arranging the method and apparatus of desktop
RU2646376C2 (en) User interface elements for multiple displays
US9229918B2 (en) Presenting an application change through a tile
US9857954B2 (en) Dynamic, optimized placement of computer-based windows
JP2012527688A (en) Presenting information in instant messaging applications
CN105739866B (en) A kind of application management method, device and terminal
CN103106093A (en) System operation quickening method and device
CN107085580B (en) Method for displaying page by client and client
CN103345405A (en) Application program starting method and device and client
US9678632B2 (en) Data processing method and apparatus
US9558014B2 (en) System, method and apparatus for transparently enabling software applications with adaptive user interfaces
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
CN103257788A (en) Windows desktop dynamic icon forming method
CN113703627A (en) Display method, display device, electronic equipment and readable storage medium
CN103034485B (en) A kind of method to set up of desktop and device
CN108401455B (en) Multi-system control method, control device and mobile terminal
CN105531661A (en) Full screen content viewing interface entry
CN112578961A (en) Application identifier display method and device
JPH06149598A (en) Computer-user interface system
CN111176776A (en) Information processing method and electronic equipment
CN103136004A (en) Method of application program hardware architecture display and device
CN103702190A (en) Intelligent terminal and method for controlling video client by same
CN116126264A (en) Screen projection method and device
Balzer Evolution stability through COTS integration
Cohen et al. GUI Design for Android Apps, Part 2: The Android-Specific GUI

Legal Events

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

Effective date of registration: 20220721

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.