CN102662738A - Multiprocessing management method and apparatus - Google Patents

Multiprocessing management method and apparatus Download PDF

Info

Publication number
CN102662738A
CN102662738A CN2012100693167A CN201210069316A CN102662738A CN 102662738 A CN102662738 A CN 102662738A CN 2012100693167 A CN2012100693167 A CN 2012100693167A CN 201210069316 A CN201210069316 A CN 201210069316A CN 102662738 A CN102662738 A CN 102662738A
Authority
CN
China
Prior art keywords
instruction
application
started
inter
communication manager
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100693167A
Other languages
Chinese (zh)
Other versions
CN102662738B (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
Qizhi Software Beijing Co Ltd
Original Assignee
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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201410270570.2A priority Critical patent/CN104077180B/en
Priority to CN201410271101.2A priority patent/CN104063218B/en
Priority to CN201210069316.7A priority patent/CN102662738B/en
Publication of CN102662738A publication Critical patent/CN102662738A/en
Application granted granted Critical
Publication of CN102662738B publication Critical patent/CN102662738B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a multiprocessing management method and an apparatus, wherein the multiprocessing management method comprises that: an inputted instruction of a setting button is received by the current process, windows ran by the current process are displayed or hid according to the instruction; other processes are informed by the current process according to the instruction, which enables the windows ran by the other processes to be displayed or hid, wherein the current process and the other processes are processes of multiple applications that satisfy setting rules. By adopting the method and the apparatus in the invention, functions of the setting buttons are effectively improved, uniform control and management of the setting buttons under a multiprocessing mode are realized.

Description

Multi-process management method and device
Technical field
The application relates to field of computer technology, particularly relates to a kind of method and apparatus of multi-process management.
Background technology
Boss's key is the combination of a kind of hot key or hot key, and major function is to hide the window of a plurality of prior settings through the shortcut moment that configures in advance.Hide the formula of recreation or other irrelevant work enough fast through boss's bond energy, and the picture when letting display present operate as normal, use the purpose that reaches the protection privacy.
At present, the realization of boss's key all is to use a main window in the process (like a game process) to register boss's key, and all the other windows all are subwindows, and main window can be notified subwindow after receiving message, all is the following realization a process pattern.Behind registration boss key, the user presses boss's key, and the window registry window can be received the message of WM_HOTKEY, and then the corresponding window of show or hide.
Yet in present program or the application, boss's key is separate.With two recreation A and B is example; Recreation A and B are by same user operation simultaneously on same computer; If a main window in the process of use recreation A is registered boss's key; This boss's key will only work to recreation A so, and the user presses boss's key, and the window that recreation A is opened is all closed.And if at this moment, recreation B does not register boss's key, the window of the B that then plays will can not closed.If recreation B has also registered boss's key, boss's key of then play A and B can be the same or different.Under identical situation, the user needs to close current game A by boss's key earlier, then, presses identical boss's key once more and closes recreation B.Under situation inequality, then the user need press different boss's keys respectively and successively close different recreation.It is thus clear that no matter boss's key is identical or different, can't realize that all boss's key closes the function of the window of two recreation.
That is to say that existing setting button such as boss's key function can't realize unified control and management between the multi-process of different application.
Summary of the invention
The application's technical matters to be solved provides a kind of multi-process management method and device, to solve existing setting button such as boss's key function, can't realize unified control and the problem of management between the multi-process of different application.
In order to address the above problem, the application discloses a kind of multi-process management method, comprising: current process receives the instruction of the setting button of input, according to the window of the said current process operation of said instruction show or hide; Said current process makes the window of said other process operation of said other process show or hide according to other process of said instruction notification; Wherein, said current process and said other process are for satisfying the process of a plurality of application of setting rule.
Preferably, receive in said current process before the step of instruction of setting button of input, also comprise: a process in the process of said a plurality of application receives instruction is set; Receive the said process that instruction is set and give except that himself all processes in the process of said a plurality of application the said instruction notification that is provided with; Wherein, saidly instruction is set comprises the information of said setting button, said the window of its operation of process show or hide that instruction is used to indicate the instruction of the said setting button that receives input is set.
Preferably; Be provided with the Inter-Process Communication manager in each process in the process of said a plurality of application; Said Inter-Process Communication manager is used for through the mapping table preservation and manages the progress information of the process of said a plurality of application, and said progress information comprises the information of process identification (PID) and main window handle.
Preferably, a process in the process of said a plurality of application receives before the step that instruction is set, and also comprises: when in the process of said a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started; The said process that has started is obtained the information of the process of said new startup through said registration message, and is saved in the Inter-Process Communication manager of the said process that has started; The said process that has started is sent to the process of said new startup and is receiveed the response, and carries the progress information in the Inter-Process Communication manager of the said process that has started in said the receiveing the response; The process of said new startup is obtained the progress information in the Inter-Process Communication manager of the said process that has started, and is saved in the Inter-Process Communication manager of process of said new startup.
Preferably, the said process that has started is the process at top-level windows place; Perhaps, the said process that has started comprises a plurality of, and first process that receives said registration message is obtained the information of the process of said new startup through said registration message in said a plurality of processes that started, and sends to the process of said new startup and to receive the response.
Preferably, said current process comprises according to the step of said other process of instruction notification: said current process is obtained the progress information of said other process of preserving in the Inter-Process Communication manager of said current process; According to the progress information of said other process, with said other process of said instruction notification.
Preferably, said satisfied set rule a plurality of are applied as a plurality of application of using same browser execution simultaneously.
Preferably, said satisfied a plurality of a plurality of recreation that are applied as use recreation plug-in unit startup in a browser of setting rule.
In order to address the above problem, disclosed herein as well is a kind of multi-process management devices, comprising: first receiver module is used to make current process to receive the instruction of the setting button of input, according to the window of the said current process operation of said instruction show or hide; First notification module is used to make said current process according to other process of said instruction notification, makes the window of said other process operation of said other process show or hide; Wherein, said current process and said other process are for satisfying the process of a plurality of application of setting rule.
Preferably; This multi-process management devices also comprises: second receiver module; Be used for making before said current process receives the instruction of said setting button of input, receive through a process in the process of said a plurality of application instruction is set at said first receiver module; Second notification module is used to make receive the said process that instruction is set and give except that himself all processes in the process of said a plurality of application with the said instruction notification that is provided with; Wherein, saidly instruction is set comprises the information of said setting button, said the window of its operation of process show or hide that instruction is used to indicate the instruction of the said setting button that receives input is set.
Preferably; Be provided with the Inter-Process Communication manager in each process in the process of said a plurality of application; Said Inter-Process Communication manager is used for through the mapping table preservation and manages the progress information of the process of said a plurality of application, and said progress information comprises the information of process identification (PID) and main window handle.
Preferably; This multi-process management devices also comprises: Registering modules; Be used for the process of said second receiver module through the process of a plurality of application receive instruction is set before; When in the process of said a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started; First acquisition module is used to make the said process that has started to obtain the information of the process of said new startup through said registration message, and is saved in the Inter-Process Communication manager of the said process that has started; Reply module, be used to make the said process that has started to send and receive the response, carry the progress information in the Inter-Process Communication manager of the said process that has started in said the receiveing the response to the process of said new startup; Second acquisition module is used for making the process of said new startup to obtain the progress information of the Inter-Process Communication manager of the said process that has started, and is saved in the Inter-Process Communication manager of process of said new startup.
Preferably, the said process that has started is the process at top-level windows place; Perhaps, the said process that has started comprises a plurality of, and first process that receives said registration message is obtained the information of the process of said new startup through said registration message in said a plurality of processes that started, and sends to the process of said new startup and to receive the response.
Preferably, said first notification module, the progress information of said other process that the Inter-Process Communication manager that is used for making said current process obtain said current process is preserved; According to the progress information of said other process,, make the window of said other process operation of said other process show or hide with said other process of said instruction notification.
Preferably, said satisfied set rule a plurality of are applied as a plurality of application of using same browser execution simultaneously.
Preferably, said satisfied a plurality of a plurality of recreation that are applied as use recreation plug-in unit startup in a browser of setting rule.
Compared with prior art, the application has the following advantages:
Pass through the application; Make between the different processes of a plurality of application of satisfying certain rule interrelated (interrelated between the process like a plurality of recreation), when current process is received the instruction of setting button (like boss's key), the window of show or hide self-operating not only; Also notify the window of other process show or hide each self-operating related with it; So that the window of a plurality of application show or hide simultaneously, thereby solve existing setting keypress function, can't realize unified control and the problem of management between the multi-process of different application; Effectively improve the function of setting button, realized the unified control and the management of the setting button under the multi-process pattern.
Description of drawings
Fig. 1 is the flow chart of steps according to a kind of multi-process management method of the application embodiment one;
Fig. 2 is the flow chart of steps according to a kind of multi-process management method of the application embodiment two;
Fig. 3 is the flow chart of steps according to a kind of multi-process management method of the application embodiment three;
Fig. 4 is the structured flowchart according to a kind of multi-process management devices of the application embodiment four.
Embodiment
For above-mentioned purpose, the feature and advantage that make the application can be more obviously understandable, the application is done further detailed explanation below in conjunction with accompanying drawing and embodiment.
Embodiment one
With reference to Fig. 1, show flow chart of steps according to a kind of multi-process management method of the application embodiment one.
The multi-process management method of present embodiment may further comprise the steps:
Step S102: current process receives the instruction of the setting button of input, according to the window of said instruction show or hide current process operation.
Step S104: current process makes the window of other process operation of other process show or hide according to other process of said instruction notification.
Wherein, current process is the satisfied process of setting a plurality of application of rule with other process.Setting rule can be set according to actual conditions by those skilled in the art flexibly; Be generally the application of a plurality of same types or a plurality of application of using same program to open, as, be set at the application of using same browser to open; Perhaps be set at the application of using same plug-in unit to open; Perhaps be set at the application of application type identical (as being game class or the application of e-book class), perhaps be set at the equal a plurality of browsers that can accept boss's key etc., the application does not limit this.
Preferably, that satisfy to set rule a plurality ofly is applied as a plurality of application of using same browser execution simultaneously, like a plurality of recreation of in same browser, using the recreation plug-in unit to open simultaneously.
For instance, when using the unified control of boss's key function and managing a plurality of games window, because boss's key function is a recreation subsidiary function that is built in the recreation plug-in unit, and the recreation plug-in unit is to come running game with independent process mode after opening recreation.Therefore, can make between the process of a plurality of recreation (rule that satisfy to use the recreation plug-in unit to open) interrelatedly, use the management of boss's key and control the process of these a plurality of recreation that are mutually related, realize the unified control and the management of a plurality of games windows.Wherein, Correlation form can have multiple, writes down the information between a plurality of processes as using contingency table, notifies other process etc. according to the information in the contingency table; But be not limited thereto; In practical application, can also use other any appropriate format,, notify associated process etc. according to the information of obtaining in real time as searching the information of obtaining associated process in real time.
In the present embodiment; Receive the instruction of boss's key that the user presses when current game process after, games window that can the current game process operation of show or hide, simultaneously; Give other process related with receiving the message informing that the user presses boss's key with it; That is, other game process of operation is closed the corresponding game window to indicate other game process.
Need to prove, more than be merely exemplary illustration, it should be understood by those skilled in the art that present embodiment also can be applicable to a plurality of applied scene that other satisfy to set rule, like e-book reading etc., the application does not limit this.
Pass through present embodiment; Make between the different processes of a plurality of application of satisfying certain rule interrelated, when current process is received the instruction of setting button, the window of show or hide self-operating not only; Also notify the window of other process show or hide each self-operating related with it; So that the window of a plurality of application show or hide simultaneously, thereby solve existing boss's key function, can't realize unified control and the problem of management between the multi-process of different application; Effectively improve the function of boss's key, realized the unified control and the management of the boss's key under the multi-process pattern.Certainly, the scene of many application of other key management or multi-process all can be carried out with reference to present embodiment.
Embodiment two
With reference to Fig. 2, show flow chart of steps according to a kind of multi-process management method of the application embodiment two.
In the present embodiment; A plurality of game process to use boss's key control and management in a plurality of Shipping Options Pages of a browser, to use the recreation plug-in unit to open are example; Multi-process management method to the application describes; But be not limited thereto, other similar use hot key is controlled and is managed the scene of a plurality of application processes and all can carry out with reference to present embodiment.
In the present embodiment, boss's key function is a recreation subsidiary function that is built in the recreation plug-in unit, can hide or the unlatching games window by a key.After using the recreation plug-in unit to open recreation, recreation is to come running game with independent process mode, opens a plurality of recreation like this and just has a plurality of processes and move simultaneously, so need the game process that manager is managed all operations.In the present embodiment; Adopt the mode of star to come the game process of management operating to the management of recreation,, all can send registration message behind each process initiation to top-level windows when the game process that uses the recreation plug-in unit to open has when a plurality of; Except that the game process at top-level windows place; After every other opened game process is received, can upgrade the IPC manager (Inter-Process Communication manager) of oneself, and receive the response to the process transmission of sending message; And carry current existing process, all like this processes all couple together.When the user after a certain process is provided with boss's key, this process can be called API (application programming interfaces) registration boss key, and sends boss's key assignments that other processes inform that the active user is provided with simultaneously.The user presses boss's key, and the process of registration boss key can at first respond, and notifies every other process to force the show or hide window after this process is handled.
Particularly, the multi-process management method of present embodiment may further comprise the steps:
Step S202: when in the process of a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started.
In the present embodiment, a plurality of a plurality of recreation of using the recreation plug-in unit to open, processes that the process that has started belongs to for the top-level windows that starts recreation of being applied as.When using the recreation plug-in unit to open a new recreation, the process of this recreation can be sent registration message to the game process of top-level windows.Certainly, the process that has started also has a plurality of, and at this moment, the new process that starts can be sent registration message to a plurality of processes that started.
Step S204: the process that has started is obtained the information of the process of new startup through registration message, and is saved in the Inter-Process Communication manager of the process that has started.
Wherein, be provided with the Inter-Process Communication manager in each process in the process of a plurality of application, the Inter-Process Communication manager is used to preserve and manage the progress information of the process of a plurality of application.Through the Inter-Process Communication manager, can obtain progress information fast, confirm process status, improve the multi-process efficiency of management.
In the present embodiment; The game process of top-level windows obtains the progress information of new game, and is saved in the Inter-Process Communication manager of oneself, if there is not other game process; Then this moment, will preserve the progress information of himself and new game process in the game process of top-level windows.
If it is a plurality of that the process that has started has; Receive at first that then the process of registration message of the process of new startup obtains the progress information of startup process; And this information is saved to oneself Inter-Process Communication manager; Notify the information in the Inter-Process Communication manager that other process that has started upgrades this process simultaneously, so that each has started the information synchronization in the Inter-Process Communication manager of process.
Step S206: the process that has started is sent to the process of new startup and is receiveed the response.
Wherein, carry progress information in the Inter-Process Communication manager of the process that has started in receiveing the response.
In the present embodiment, the game process of top-level windows sends to the new game process receives the response, and carries the game process of top-level windows and the progress information of new game process during this is receiveed the response.
If it is a plurality of that the process that has started has; The process of registration message of then receiving the process of new startup is at first sent to the startup process and is receiveed the response; Wherein carry the progress information in himself the Inter-Process Communication manager; After the new process that starts was received this message, the progress information that obtains wherein was saved in the Inter-Process Communication manager of startup process, thereby had realized the information synchronization between the process of new startup and process that other has started.Notify other process and transmission to receive the response through the process of receiving registration message at first, improved Message Processing efficient, accelerated the window show or hide time, promoted user experience.
Certainly; In practical application, be not limited to receive at first that the process of registration message notifies other process and transmission to receive the response, those skilled in the art can be according to actual conditions; Adopt the reception and the response pattern of other appropriate strategy decision registration message, the application does not limit this.
Step S208: the new process that starts is obtained the progress information in the Inter-Process Communication manager of the process that has started, and is saved in the Inter-Process Communication manager of process of new startup.
In the present embodiment, the progress information of the game process of the top-level windows that the new game process is carried in obtaining and receiveing the response and new game process, and be saved in the Inter-Process Communication manager of new game process.
So far, set up interrelatedly between the process of a plurality of application,, all can obtain the progress information of all processes of a plurality of application through the Inter-Process Communication manager of any process.
Step S210: a process in the process of a plurality of application receives instruction is set.
With boss's key is example; User can be in the process of a plurality of application any one is provided with; Be provided with comprise in the instruction information of setting button (as, set the information which button button all comprises), be provided with instruction be used to indicate the setting button that receives input instruction its operation of process show or hide window (as; Current process receives that the user presses the instruction of boss's key, carries out the show or hide of window).
Through an any process input instruction is set, has improved the compatibility of multi-process management, promoted user's experience.
Step S212: receive the process that instruction is set and instruction notification will be set give except that himself all processes in the process of a plurality of application.
In case there is process to receive instruction is set, explains that the user has carried out button setting (being provided with like, boss's key), at this moment, this process can be notified other associated process, informs the button setting that other process user carries out, and button is provided with relevant all onsets of all processes.
Step S214: current process receives the instruction of the setting button of input, according to the window of said instruction show or hide current process operation.
When the user press set button after, current process (like, the game process of current operation) receives instruction, then with the window show or hide of current process operation.
Step S216: current process is obtained the progress information of other process of preserving in the Inter-Process Communication manager of current process.
Step S218: current process with other process of said instruction notification, makes the window of other process operation of other process show or hide according to the progress information of other process.
Preserve the progress information of all relevant processes in the Inter-Process Communication manager of current process; The user presses when setting button; Current process is the window of show or hide self-operating not only; The show or hide of notifying associated process also to carry out respective window simultaneously, thus realize setting unified management or the control of button to a plurality of application.
Present embodiment is an example with boss's key, and in the present embodiment, boss's key function is one and is built in the recreation subsidiary function of recreation in the plug-in unit, and the boss's key function through present embodiment can a key be hidden or opened all games windows.In the present embodiment, in a process, boss's key is set, all web game processes or Flash game process can receive that all boss's key carries out hide window or display window, thereby have realized the unified control of the boss's key under the multi-process pattern.
Compare with existing boss's key function: in (1) present embodiment, the user is provided with boss's key one time, and is all effective to all processes, reduced the number of times that the user is provided with, and improved user experience; (2) process that boss's key has been set can arbitrarily withdraw from; Other processes still can be hidden or display window; Compare traditional one process boss's key is set; This process is provided with the situation that other process is not provided with, and has avoided one process boss key to withdraw from the problem that back boss's key function promptly lost efficacy, and boss's key function is improved; (3) window is set can uses unified interface of boss's key in all Process Windows, and the progress information of each process can be synchronous, made things convenient for the setting of user to boss's key like this.
Embodiment three
With reference to Fig. 3, show flow chart of steps according to a kind of multi-process management method of the application embodiment three.
The multi-process management method of present embodiment may further comprise the steps:
Step S302: show boss's key window, receive the user and carry out the instruction that boss's key is provided with.
In this step, can use any application of satisfying in a plurality of application of setting rule to show boss's key window, supply the user to be provided with.
Step S304: registration boss key.
In this step, the user is after the process of a certain application is provided with boss's key, and this process can be called API registration boss key, and sends other associated process in a plurality of application simultaneously, informs boss's key assignments that the active user is provided with.
In addition, before step S302, perhaps after the step S304, possibly have the new satisfied process initiation of setting the application of rule, during this process initiation, can send registration message to the process that has started.When a startup process is received the registration message that certain process sends; This message has been carried the information of process identification (PID) and main window handle; As; The main window handles of recreation ID, number of the account ID, establishment etc. receive that the process of registration message can be saved in the IPC manager of current process as a unique key according to recreation ID and number of the account ID combination (process identification (PID)).Preferably, the IPC manager can use map table (mapping table) to preserve and manage the progress information of the process of a plurality of application.
After a process is received the registration message of certain process; Show new process initiation is arranged; But how many processes also do not know to have started at present new process this moment that starts; So after which process is received the registration message of new startup process earlier, will preferentially respond this message, carry the current specifying information that what processes and each process are arranged in passing; Specifying information also can be like the information of process identification (PID) such as the main window handle of recreation ID, number of the account ID, establishment and main window handle, has guaranteed that like this process of new startup has known that the information of other processes supplies subsequent treatment.Wherein, the progress information of other processes of a process preservation can be shown to preserve through map, and then can be delivered to other processes through Memory Mapping File and its.
After having set up contact between a plurality of processes of a plurality of application, the setting of boss's key and registration meeting are known by each process, so that follow-up boss's key is to the unified control and the management of multi-process.
Step S306: current process receives the instruction that the user presses boss's key.
Step S308: the window of its operation is hidden or shown to current process.
Step S310: current process is pressed the user instruction of boss's key and is notified to other processes with the form of message.
Current process is when notifying other processes, and the map table of preserving according to himself obtains the progress information of other processes, and then according to progress information notice associated process.
Step S312: other processes receive boss's key message that current process is sent.
Step S314: other process hidings or show corresponding window.
Other processes are hidden or are shown each self-corresponding window after receiving the message that current process is sent.
Pass through present embodiment; Realized in the process of an application, being provided with boss's key; A plurality of processes of a plurality of application are unified control and management, solved existing boss's key function, can't realize unified control and the problem of management between the multi-process of different application; Effectively improve the function of boss's key, realized the unified control and the management of the boss's key under the multi-process pattern.
Embodiment four
With reference to Fig. 4, show structured flowchart according to a kind of multi-process management devices of the application embodiment four.
The multi-process management devices of present embodiment comprises: first receiver module 402 is used to make current process to receive the instruction of the setting button of input, according to the window of said instruction show or hide current process operation; First notification module 404 is used to make current process according to other process of said instruction notification, makes the window of other process operation of other process show or hide; Wherein, current process is the satisfied process of setting a plurality of application of rule with other process.
Preferably; The multi-process management devices of present embodiment also comprises: second receiver module 406; Be used for making before current process receives the instruction of setting button of input, receive through a process in the process of a plurality of application instruction is set at first receiver module 402; Second notification module 408 is used to make receive the process that instruction is set and instruction notification will be set give except that himself all processes in the process of a plurality of application; Wherein, instruction is set comprises the information of setting button, be provided with and instruct the window of its operation of process show or hide of the instruction be used to indicate the setting button that receives input.
Preferably, be provided with the Inter-Process Communication manager in each process in the process of a plurality of application, the Inter-Process Communication manager is used to preserve and manage the progress information of the process of a plurality of application.
Preferably, the progress information of the process of a plurality of application is preserved and managed to the Inter-Process Communication manager through mapping table.
Preferably, progress information comprises the information of process identification (PID) and main window handle.
Preferably; The multi-process management devices of present embodiment also comprises: Registering modules 410; Be used for the process of second receiver module 406 through the process of a plurality of application receive instruction is set before; When in the process of a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started; First acquisition module 412 is used to make the process that has started to obtain the information of the process of new startup through registration message, and is saved in the Inter-Process Communication manager of the process that has started; Reply module 414, be used to make the process that has started to send and receive the response, carry the progress information in the Inter-Process Communication manager of the process that has started in receiveing the response to the process of new startup; Second acquisition module 416 is used for making the process of new startup to obtain the progress information of the Inter-Process Communication manager of the process that has started, and is saved in the Inter-Process Communication manager of process of new startup.
Preferably, the process that has started is the process at top-level windows place.
Preferably, the process that has started comprises a plurality of; First process that receives registration message is obtained the information of the process of new startup through registration message in a plurality of processes that started, and sends to the process of new startup and to receive the response.
Preferably, first notification module 404, the progress information of other process that the Inter-Process Communication manager that is used for making current process obtain current process is preserved; According to the progress information of other process,, make the window of other process operation of other process show or hide with other process of said instruction notification.
That preferably, satisfy to set rule a plurality ofly is applied as a plurality of application of using same browser execution simultaneously.
Preferably, satisfied a plurality of a plurality of recreation that are applied as use recreation plug-in unit startup in a browser of setting rule.
The multi-process management devices of present embodiment is used for realizing the corresponding multi-process management method of aforementioned a plurality of method embodiment, and has the beneficial effect of corresponding method embodiment, repeats no more at this.
Need to prove; A plurality of embodiment of the application are example with the recreation all, but are not limited thereto, and the application's multi-process Managed Solution also can be applicable to other similar scene; As open the browser of a plurality of support boss keys simultaneously; Boss's key then is set in a browser can work to a plurality of browsers of opening simultaneously, in case the user presses boss's key, the window of these browsers will be hidden or show simultaneously.Perhaps,,, then in a WORD program, hot key is set, can realizes opening or closing a plurality of WORD documents of opening like the WORD program as having opened the program of a plurality of same types simultaneously.It is thus clear that, through the application's multi-process Managed Solution, effectively improved the function of setting button such as boss's key, realized the unified control and the management of the setting button under the multi-process pattern.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment, because it is similar basically with method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than a kind of multi-process management method and device that the application provided have been carried out detailed introduction; Used concrete example among this paper the application's principle and embodiment are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as the restriction to the application.

Claims (16)

1. a multi-process management method is characterized in that, comprising:
Current process receives the instruction of the setting button of input, according to the window of the said current process operation of said instruction show or hide;
Said current process makes the window of said other process operation of said other process show or hide according to other process of said instruction notification;
Wherein, said current process and said other process are for satisfying the process of a plurality of application of setting rule.
2. method according to claim 1 is characterized in that, receives in said current process before the step of instruction of setting button of input, also comprises:
A process in the process of said a plurality of application receives instruction is set;
Receive the said process that instruction is set and give except that himself all processes in the process of said a plurality of application the said instruction notification that is provided with;
Wherein, saidly instruction is set comprises the information of said setting button, said the window of its operation of process show or hide that instruction is used to indicate the instruction of the said setting button that receives input is set.
3. method according to claim 2; It is characterized in that; Be provided with the Inter-Process Communication manager in each process in the process of said a plurality of application; Said Inter-Process Communication manager is used for through the mapping table preservation and manages the progress information of the process of said a plurality of application, and said progress information comprises the information of process identification (PID) and main window handle.
4. method according to claim 3 is characterized in that, a process in the process of said a plurality of application receives before the step that instruction is set, and also comprises:
When in the process of said a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started;
The said process that has started is obtained the information of the process of said new startup through said registration message, and is saved in the Inter-Process Communication manager of the said process that has started;
The said process that has started is sent to the process of said new startup and is receiveed the response, and carries the progress information in the Inter-Process Communication manager of the said process that has started in said the receiveing the response;
The process of said new startup is obtained the progress information in the Inter-Process Communication manager of the said process that has started, and is saved in the Inter-Process Communication manager of process of said new startup.
5. method according to claim 4 is characterized in that,
The said process that has started is the process at top-level windows place;
Perhaps,
The said process that has started comprises a plurality of, and first process that receives said registration message is obtained the information of the process of said new startup through said registration message in said a plurality of processes that started, and sends to the process of said new startup and to receive the response.
6. method according to claim 3 is characterized in that, said current process comprises according to the step of said other process of instruction notification:
Said current process is obtained the progress information of said other process of preserving in the Inter-Process Communication manager of said current process;
According to the progress information of said other process, with said other process of said instruction notification.
7. according to each described method of claim 1 to 6, it is characterized in that said satisfied set rule a plurality of are applied as a plurality of application of using same browser execution simultaneously.
8. according to each described method of claim 1 to 6, it is characterized in that said satisfied a plurality of a plurality of recreation that are applied as use recreation plug-in unit startup in a browser of setting rule.
9. a multi-process management devices is characterized in that, comprising:
First receiver module is used to make current process to receive the instruction of the setting button of input, according to the window of the said current process operation of said instruction show or hide;
First notification module is used to make said current process according to other process of said instruction notification, makes the window of said other process operation of said other process show or hide;
Wherein, said current process and said other process are for satisfying the process of a plurality of application of setting rule.
10. device according to claim 9 is characterized in that, also comprises:
Second receiver module is used for making before said current process receives the instruction of said setting button of input at said first receiver module, receives through a process in the process of said a plurality of application instruction is set;
Second notification module is used to make receive the said process that instruction is set and give except that himself all processes in the process of said a plurality of application with the said instruction notification that is provided with;
Wherein, saidly instruction is set comprises the information of said setting button, said the window of its operation of process show or hide that instruction is used to indicate the instruction of the said setting button that receives input is set.
11. device according to claim 10; It is characterized in that; Be provided with the Inter-Process Communication manager in each process in the process of said a plurality of application; Said Inter-Process Communication manager is used for through the mapping table preservation and manages the progress information of the process of said a plurality of application, and said progress information comprises the information of process identification (PID) and main window handle.
12. device according to claim 11 is characterized in that, also comprises:
Registering modules, be used for the process of said second receiver module through the process of a plurality of application receive instruction is set before, when in the process of said a plurality of application process initiation being arranged, the new process that starts is sent registration message to the process that has started;
First acquisition module is used to make the said process that has started to obtain the information of the process of said new startup through said registration message, and is saved in the Inter-Process Communication manager of the said process that has started;
Reply module, be used to make the said process that has started to send and receive the response, carry the progress information in the Inter-Process Communication manager of the said process that has started in said the receiveing the response to the process of said new startup;
Second acquisition module is used for making the process of said new startup to obtain the progress information of the Inter-Process Communication manager of the said process that has started, and is saved in the Inter-Process Communication manager of process of said new startup.
13. device according to claim 12 is characterized in that,
The said process that has started is the process at top-level windows place;
Perhaps,
The said process that has started comprises a plurality of, and first process that receives said registration message is obtained the information of the process of said new startup through said registration message in said a plurality of processes that started, and sends to the process of said new startup and to receive the response.
14. device according to claim 11 is characterized in that, said first notification module, the progress information of said other process that the Inter-Process Communication manager that is used for making said current process obtain said current process is preserved; According to the progress information of said other process,, make the window of said other process operation of said other process show or hide with said other process of said instruction notification.
15., it is characterized in that said satisfied set rule a plurality of are applied as a plurality of application of using same browser execution simultaneously according to each described device of claim 9 to 14.
16., it is characterized in that said satisfied a plurality of a plurality of recreation that are applied as use recreation plug-in unit startup in a browser of setting rule according to each described device of claim 9 to 14.
CN201210069316.7A 2012-03-15 2012-03-15 Multiprocessing management method and apparatus Expired - Fee Related CN102662738B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201410270570.2A CN104077180B (en) 2012-03-15 2012-03-15 Multi-process management method and device
CN201410271101.2A CN104063218B (en) 2012-03-15 2012-03-15 For the management method of the process of multiple applications
CN201210069316.7A CN102662738B (en) 2012-03-15 2012-03-15 Multiprocessing management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210069316.7A CN102662738B (en) 2012-03-15 2012-03-15 Multiprocessing management method and apparatus

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN201410271101.2A Division CN104063218B (en) 2012-03-15 2012-03-15 For the management method of the process of multiple applications
CN201410270570.2A Division CN104077180B (en) 2012-03-15 2012-03-15 Multi-process management method and device

Publications (2)

Publication Number Publication Date
CN102662738A true CN102662738A (en) 2012-09-12
CN102662738B CN102662738B (en) 2014-08-13

Family

ID=46772237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210069316.7A Expired - Fee Related CN102662738B (en) 2012-03-15 2012-03-15 Multiprocessing management method and apparatus

Country Status (1)

Country Link
CN (1) CN102662738B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064704A (en) * 2012-12-19 2013-04-24 中国人民解放军第二炮兵装备研究院第四研究所 Software window product life-cycle management method based on process identification
CN103218211A (en) * 2012-01-19 2013-07-24 腾讯科技(深圳)有限公司 Method and system for sharing hot keys among application examples
CN103902367A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method for dynamically switching process models and electronic equipment
WO2014190788A1 (en) * 2013-05-28 2014-12-04 Tencent Technology (Shenzhen) Company Limited Method, apparatus and system for acquiring input events
CN105771238A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Operating method and device of game auxiliary functions
CN105771241A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Matching processing method and device of game window
CN109388468A (en) * 2018-10-09 2019-02-26 威创集团股份有限公司 Multiprogram window management method and device
CN112612633A (en) * 2021-01-06 2021-04-06 Oppo广东移动通信有限公司 Inter-process communication method, device, storage medium and terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101910996A (en) * 2008-01-07 2010-12-08 株式会社Ntt都科摩 Information processing device and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101910996A (en) * 2008-01-07 2010-12-08 株式会社Ntt都科摩 Information processing device and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江苏,周建峰: "遁身有术:老板键", 《数码先锋》, no. 05, 31 May 2006 (2006-05-31), pages 58 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218211A (en) * 2012-01-19 2013-07-24 腾讯科技(深圳)有限公司 Method and system for sharing hot keys among application examples
CN103218211B (en) * 2012-01-19 2015-10-07 腾讯科技(深圳)有限公司 The method and system of hot key is shared between a kind of application example
CN103064704B (en) * 2012-12-19 2015-11-25 中国人民解放军第二炮兵装备研究院第四研究所 A kind of software window full life cycle management method based on process identification (PID)
CN103064704A (en) * 2012-12-19 2013-04-24 中国人民解放军第二炮兵装备研究院第四研究所 Software window product life-cycle management method based on process identification
CN103902367B (en) * 2012-12-28 2018-08-10 联想(北京)有限公司 A kind of method and electronic equipment of switching at runtime process model
CN103902367A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method for dynamically switching process models and electronic equipment
WO2014190788A1 (en) * 2013-05-28 2014-12-04 Tencent Technology (Shenzhen) Company Limited Method, apparatus and system for acquiring input events
CN105771238A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Operating method and device of game auxiliary functions
CN105771241A (en) * 2014-12-24 2016-07-20 北京奇虎科技有限公司 Matching processing method and device of game window
CN109388468A (en) * 2018-10-09 2019-02-26 威创集团股份有限公司 Multiprogram window management method and device
CN109388468B (en) * 2018-10-09 2020-11-24 威创集团股份有限公司 Multi-program window management method and device
CN112612633A (en) * 2021-01-06 2021-04-06 Oppo广东移动通信有限公司 Inter-process communication method, device, storage medium and terminal
CN112612633B (en) * 2021-01-06 2023-10-03 Oppo广东移动通信有限公司 Inter-process communication method, inter-process communication device, storage medium and terminal

Also Published As

Publication number Publication date
CN102662738B (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN102662738B (en) Multiprocessing management method and apparatus
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
US20190349417A1 (en) Data transmission method and device
JP2020021493A (en) Method related to messenger cooperation service
CN110012328B (en) Method and device for interacting with smart television
US9906935B2 (en) Bluetooth low energy beacon device and advertising method
CN104063218A (en) Management method aiming at processes of multiple applications
CN102035893A (en) Method and system for pushing data actively by server
JP2017502415A (en) Method and apparatus for document sharing between user groups
JP6681146B2 (en) Information processing device, information processing method, and program
CN103841004B (en) Method for information display and information server
CN104333811A (en) Display method and electronic equipment
CN106027631B (en) Data transmission method and device
CN102419900A (en) Remote control realizing method and device of electrical equipment
CN102710427A (en) Remote startup system and method
US10142832B2 (en) Information sending and processing method and apparatus
EP2464147A1 (en) Information processing apparatus, server apparatus, group creation system, group creation method, and program
CN102932791A (en) Method for collaboratively processing information through WIFI wireless network between smart phone and computer
CN104077180A (en) Multi-process management method and device
CN106302093B (en) Communication method, system and server
CN103064747A (en) Communication method for different WEB window pages in WES7 environment
CN113726581A (en) Method and device for restoring factory configuration of network equipment and network equipment
JP6044009B2 (en) Information processing apparatus, destination information update method, and program
JP6716726B2 (en) Method and apparatus for applications to receive information
CN106255199B (en) Indoor positioning device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121025

Owner name: BEIJING QIHU TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20121025

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20121025

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Applicant after: Qizhi software (Beijing) Co.,Ltd.

Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C

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

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140813