CN103678506B - The method, apparatus and browser of loading application programs shortcut in a browser - Google Patents

The method, apparatus and browser of loading application programs shortcut in a browser Download PDF

Info

Publication number
CN103678506B
CN103678506B CN201310591212.7A CN201310591212A CN103678506B CN 103678506 B CN103678506 B CN 103678506B CN 201310591212 A CN201310591212 A CN 201310591212A CN 103678506 B CN103678506 B CN 103678506B
Authority
CN
China
Prior art keywords
application program
operational order
order
program identification
browser
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
CN201310591212.7A
Other languages
Chinese (zh)
Other versions
CN103678506A (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 CN201310591212.7A priority Critical patent/CN103678506B/en
Publication of CN103678506A publication Critical patent/CN103678506A/en
Application granted granted Critical
Publication of CN103678506B publication Critical patent/CN103678506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Abstract

The invention discloses a kind of method, apparatus and browser of the shortcut of loading application programs in a browser, the method includes:When triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;The corresponding application program of the shortcut is started using startup order;The application program identification of the application program is added in preset process list;Obtain the performance information of the application program of the application program identification instruction in the process list;By performance information load in the first preset displayed page.The present invention adds the order with interactions such as application program and operating systems in logical process layer, has been finally completed the method used in a browser with scheduling application, can gradually replace the desktop of windows operating systems.

Description

The method, apparatus and browser of loading application programs shortcut in a browser
Technical field
The present invention relates to the technical fields of browser, and in particular to a kind of loading application programs shortcut in a browser Method, a kind of device of the shortcut of loading application programs in a browser, and, a kind of browser.
Background technology
The fast development of internet Internet has brought people into the information-intensive society epoch, is produced to people's life deep Influence, people can get the information of magnanimity on Internet by browser, each to meet life, work, study etc. The demand of aspect.
Browser is the file in a display web page server or archives economy, and makes user and these files interactive A kind of application program.Word, image and other information that browser is used for being shown in WWW or local area network etc..This A little words or image, can be the hyperlink for connecting other network address, and user can browse various information rapidly and easily.
In order to extend the function of browser, some browsers provide plug-in unit, can be called in a browser using plug-in unit The application program of operating system can carry the application program of some operating systems acquiescence in plug-in unit, can also add User-defined application program.But the plug-in unit only unidirectionally calls other applications in a browser, in a browser The application program of calling can not be managed or be controlled.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly The method and a kind of corresponding load in a browser for stating a kind of shortcut of loading application programs in a browser of problem are answered With the device of program bar, and, a kind of browser.
One side according to the present invention provides a kind of method of the shortcut of loading application programs in a browser, Including:
When triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
The corresponding application program of the shortcut is started using startup order;
The application program identification of the application program is added in preset process list;
Obtain the performance information of the application program of the application program identification instruction in the process list;
By performance information load in the first preset displayed page.
Optionally, the performance information includes following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description information.
Optionally, further include:
Obtain the performance within a preset period of time of the application program of the application program identification instruction in the process list Information;
Performance information in the preset time period is subjected to corresponding displaying in the second preset displayed page;
Alternatively,
Performance information in the preset time period is generated into report file.
Optionally, further include:
Obtain the notification message for the application program that application program identification indicates in the process list;
In preset third displayed page corresponding prompt is carried out for the notification message.
Optionally, further include:
When receiving the operational order for the application program identification, the operation of the operational order instruction is executed.
Optionally, the operational order includes the operational order for browser;
The operational order for browser include end process operational order, stop monitoring operational order and/ Or the operational order deleted.
Optionally, the operational order includes the operational order for operating system;
The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
Optionally, the operational order includes the operational order of viral diagnosis.
Optionally, the operational order includes the operational order of sandbox operation.
Optionally, the step of operation for executing operational order instruction includes:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, stopped using described Only monitor command terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
Optionally, the step of operation for executing operational order instruction includes:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
And/or
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
Optionally, the step of operation for executing operational order instruction includes:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
Optionally, the step of operation for executing operational order instruction includes:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
According to another aspect of the present invention, a kind of device of the shortcut of loading application programs in a browser is provided, Including:
Start order acquisition module, be suitable for when triggering shortcut in browser side, obtains the shortcut and correspond to Startup order;
Application program launching module is suitable for starting the corresponding application program of the shortcut using startup order;
Process list add module, suitable for the application program identification of the application program to be added to preset process list In;
First performance data obtaining module is suitable for obtaining the application journey of the application program identification instruction in the process list The performance information of sequence;
Load-on module is suitable for performance information load in the first preset displayed page.
Optionally, the performance information includes following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description information.
Optionally, further include:
Second performance data obtaining module is suitable for obtaining the application journey of the application program identification instruction in the process list The performance information within a preset period of time of sequence;
Display module, suitable for carrying out the performance information in the preset time period in the second preset displayed page pair The displaying answered;
Alternatively,
Report file generation module is suitable for the performance information in the preset time period generating report file.
Optionally, further include:
Notification message acquisition module is suitable for obtaining the logical of the application program that application program identification indicates in the process list Know message;
Reminding module is suitable for carrying out corresponding prompt for the notification message in preset third displayed page.
Optionally, further include:
Operational order execution module, suitable for when receiving the operational order for the application program identification, executing institute State the operation of operational order instruction.
Optionally, the operational order includes the operational order for browser;
The operational order for browser include end process operational order, stop monitoring operational order and/ Or the operational order deleted.
Optionally, the operational order includes the operational order for operating system;
The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
Optionally, the operational order includes the operational order of viral diagnosis.
Optionally, the operational order includes the operational order of sandbox operation.
Optionally, the operational order execution module is further adapted for:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, using the prison Control order terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
Optionally, the operational order execution module is further adapted for:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
Optionally, the operational order execution module is further adapted for:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
Optionally, the operational order execution module is further adapted for:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
According to another aspect of the present invention, a kind of browser is provided, including:
Start order acquisition module, be suitable for when triggering shortcut in browser side, obtains the shortcut and correspond to Startup order;
Application program launching module is suitable for starting the corresponding application program of the shortcut using startup order;
Process list add module, suitable for the application program identification of the application program to be added to preset process list In;
First performance data obtaining module is suitable for obtaining the application journey of the application program identification instruction in the process list The performance information of sequence;
Load-on module is suitable for performance information load in the first preset displayed page.
The present invention has obscured operating system and the boundary of network, has also desalinated the execution entrance of operating system, has more answered It can also be directly connected in browser with program and safety function of operation system.The mode of data, part are handled in browser It completes to show by the page, all data are stored in database sqlite, the built-in application program control center on browser backstage, It is serviced as one, front page layout and background data base sqlite can be connected, and to applying journey in the level of this control Sequence and process are managed.Can image think that browser is a simple three-tier architecture, but add in logical process layer Enter and the order of the interaction such as application program and operating system, has been finally completed and has used in a browser and scheduling application Method, can gradually replace windows operating systems desktop.
The browser of the present invention can gradually replace user's desktop as the portal of operating system, be based on desktop shortcuts Mode of operation has been also transferred on the page, and operating system is simpler, and performance can greatly improve.
The application program of the present invention is finally executed by browser calling system, its executive mode is controlled by browser, The execution of application program is more safe and reliable, and browser can also gradually substitute the security softwares such as antivirus software.
The present invention directly can carry out viral diagnosis to application program, avoid starting the behaviour that antivirus software chooses application program Make step, be convenient for users to operate, improves the safety of operating system.
The present invention directly can use sandbox to run application program, be convenient for users to operate, and application program is avoided to apply Program is run directly in operating system, improves the safety of operating system.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of side of shortcut of loading application programs in a browser according to an embodiment of the invention The step flow chart of method embodiment 1;
Fig. 2 shows a kind of exemplary plots of the displayed page of shortcut according to an embodiment of the invention;
Fig. 3 shows a kind of exemplary plot of network packet according to an embodiment of the invention;
Fig. 4 shows a kind of shortcut list exemplary plot according to an embodiment of the invention;
Fig. 5 shows a kind of side of shortcut of loading application programs in a browser according to an embodiment of the invention The step flow chart of method embodiment 2;
Fig. 6 shows a kind of side of shortcut of loading application programs in a browser according to an embodiment of the invention The step flow chart of method embodiment 3;
Fig. 7 shows a kind of side of shortcut of loading application programs in a browser according to an embodiment of the invention The step flow chart of method embodiment 4;
Fig. 8 shows a kind of preferable example figure of step 706 according to an embodiment of the invention;
Fig. 9 shows a kind of preferable example figure of operation logic according to an embodiment of the invention;
Figure 10 shows a kind of preferred topology example figure of Web service according to an embodiment of the invention;
Figure 11 shows a kind of shortcut of loading application programs in a browser according to an embodiment of the invention The structure diagram of device embodiment 1;
Figure 12 shows a kind of shortcut of loading application programs in a browser according to an embodiment of the invention The structure diagram of device embodiment 2;
Figure 13 shows a kind of shortcut of loading application programs in a browser according to an embodiment of the invention The structure diagram of device embodiment 3;
Figure 14 shows a kind of shortcut of loading application programs in a browser according to an embodiment of the invention The structure diagram of device embodiment 4;
Figure 15 shows a kind of structure diagram of browser embodiment 1 according to an embodiment of the invention;
Figure 16 shows a kind of structure diagram of browser embodiment 2 according to an embodiment of the invention;
Figure 17 shows a kind of structure diagrams of browser embodiment 3 according to an embodiment of the invention;
Figure 18 shows a kind of structure diagram of browser embodiment 4 according to an embodiment of the invention;And
Figure 19 shows a kind of preferred structure exemplary plot of browser according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Referring to Fig.1, a kind of loading application programs in a browser according to an embodiment of the invention fast side is shown The step flow chart of the embodiment of the method 1 of formula, can specifically include following steps:
Step 101, when triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
Using the embodiment of the present invention, the shortcut of application program can be added in a browser in advance.Such as Fig. 2 and Fig. 3 It is shown, on the one hand, can be divided into browser according to addition manner and preset shortcut and User Defined addition shortcut.It is clear It can be the application program that operating system carries, such as Office office applications program, application of drawing that device of looking at, which presets shortcut, Program, calculator application etc. can also be web application;It may be used for self-defined addition shortcut pre- If function button triggering addition, or directly use mouse right click triggering directly add etc..On the other hand, according to using journey Sequence type can be divided into the shortcut of local application and/or the shortcut of web application.Wherein, locally applied Program can be the application program mounted on equipment where browser side, and web application can be that installation file is stored in net The application program of network.
In a kind of situation, the installation path and grouping information of local application can be arranged in user.Wherein, grouping letter The group management of shortcut nesting may be implemented in breath, as shown in Fig. 2, in a browser in preset third displayed page, the left side Can be grouping, the right can be corresponding shortcut in grouping.The embodiment of the present invention is answered in reception local input by user After the installation path and grouping information of program, the application program identification of application program, usage time can be obtained, using mark Know picture, application program capacity, start order and/or unloading order.Application program identification can be unique mark of application program Know, be specifically as follows arbitrary string, as long as the energy unique identification application program.Usage time is each in the application program It can all be recorded when execution, can be used for statistics and sequencing information, it can be determined that the frequency that user uses can also judge user most Close service condition.Application identities picture can be used for intuitively identification application, can be that the application program executes program Icon pictures under catalogue.Application program capacity can be the size of the program file of the application program.Start order in user Can be the installation path of the application program, such as " D in the case of not specified:\Program Files\ABClayer\ ABClayer.exe ", if user specifies startup order, it is the startup order that user specifies to start order, is specifically as follows Installation path with operating parameter, for example, " D:Boson NetSim Net Designer.EXE "-mpq ball.mpq".Unloading order can be the Uninstaller for calling the application program, such as " unins ", which can be It finds and obtains in the installation directory of the application program.
In another situation, server is with can pushing the download of the application identities and installation file of web application To browser, browser generates application program identification and starts and orders after the acquisition, including downloads the web application for location Order.As shown in figure 4, being linked obtaining address(Installation path or download address), grouping information, application program identification, use After time, application identities picture, application program capacity, startup order and/or unloading order, shortcut row can be generated Table, and be stored in the preset database sqlite in browser side.Wherein, Id be application program identification, Path be address link, Last_updated is usage time, Image_data is application identities picture, Size is application program capacity, Folder is point Group information, Cmd are order(Such as start order, unloading order).
Call address links from database again, alternatively, address link and application identities picture, right shown in Fig. 2 or Fig. 3 It is shown in the application packet answered.Specifically, queryShortCut (id) may be used and read shortcut from database Application identities picture(Icon pictures).
User triggers shortcut in browser side, can be the application identities picture for triggering application program, by described Picture triggers described address link;Alternatively, directly triggering the address link of the application program.Then the shortcut is obtained Application program identification is searched corresponding startup using the application program identification and is ordered in the database.Specifically, it may be used QueryAppInfo (pid) reads the various orders of application program from database(Such as starts order, unloading order, terminates life It enables, stop monitor command, delete command, suspending command, viral diagnosis order, sandbox operation order etc.).
Step 102, the corresponding application program of the shortcut is started using startup order;
When the application program is local application, the startup order may be used and directly initiate the locally applied journey Sequence.
When the application program is web application, the startup order may be used downloads the network from download address and answer Start the application program after carrying out installation operation to installation file with the installation file of program.
As shown in Fig. 2, after application program launching, for ease of management, can be divided into " having opened application program " Grouping in, which can be divided into two groups of " running background " and " forms operation " according to the method for operation, at " running background " In application program be the application program run in system background, such as security application, the application in " forms operation " Program is using the application program of forms mode operation, such as instant messenger.
Step 103, the application program identification of the application program is added in preset process list;
The application program indicated by application program identification in process list can be by fast in the triggering of browser side Prompt mode and start.
In the concrete realization, addAppsPool (info) execution may be used, addAppsPool (info) can work as and make When executing an application program with shortcut, the process of application program is added to process and is safeguarded in pond.
Step 104, the performance information of the application program of the application program identification instruction in the process list is obtained;
In the concrete realization, class info classes may be used and execute the operation for obtaining performance information.Class info classes It is the information of each process unit in process list, class info are the derivative class of a process class, while including quick Mode information can be used for collecting the performance information corresponding to process, can also be used to operate each process.
There are one special case in class info classes, the application program for being exactly is performed a number of times, and is generated in this way on backstage It is multiple and different info examples, they have marks of different Pid and identical shortcut, in this case, Displaying for shortcut, their notification message can be shown in the same shortcut, while can show backstage The number of the Application Instance of execution.In the displayed page of process, due to being different process, they can be single with process Member is shown.
In the concrete realization, the performance information may include following one or more:
Process indications(Pid), user name, session id, CPU usage, the CPU time, memory working set, memory peak work Work collects, memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer of memory Pond, page fault, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O is read, I/O is written, I/ O other, I/O read byte/order line, description information.
Wherein, the process Pid of all processes can be obtained from safeguarding for process using getAllApps () in pond.
Can obtain the information of the process of specified Pid using getAppInfo (pid), these progress informations may include into Journey name, Icon pictures, Pid, user name, CPU usage, memory usage, handles handles, thread information, GDI information, I/O information, description information, startup command information, Starting Executing Time etc..
Certainly, above-mentioned performance information is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions Other performance informations are set, the embodiment of the present invention does not limit this.In addition, other than above-mentioned performance information, art technology Personnel can also use other performance information, the embodiment of the present invention also not to limit this according to actual needs.
Step 105, by performance information load in the first preset displayed page.
When user opens the first displayed page in browser, the embodiment of the present invention can access in current process list Process, it is continuous to return to the performance information of the process in current process list, and constantly refresh the first displayed page.
With reference to Fig. 5, a kind of loading application programs in a browser according to an embodiment of the invention fast side is shown The step flow chart of the embodiment of the method 2 of formula, can specifically include following steps:
Step 501, when triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
Step 502, the corresponding application program of the shortcut is started using startup order;
Step 503, the application program identification of the application program is added in preset process list;
Step 504, the performance information of the application program of the application program identification instruction in the process list is obtained;
Step 505, by performance information load in the first preset displayed page;
Step 506, obtain in the process list application program identification instruction application program in preset time period Interior performance information;
Step 507, the performance information in the preset time period is carried out in the second preset displayed page corresponding Displaying;
When user checks for one or more application procedure selection progress information or process is reported, the present invention is implemented Example can obtain the performance information in preset time period of one or more process, and return and browsing the second exhibition therein Show that the page is shown.Wherein, preset time period can be from the application program is started to the current time.
Alternatively,
Step 508, the performance information in the preset time period is generated into report file.
The performance information of the preset time period got can also be generated report file by the embodiment of the present invention(Such as picture Document, Word document, PDF document etc.)Return to active user.Specifically, may be used doGenReport () generate into Journey exports the format data of report file.
With reference to Fig. 6, a kind of loading application programs in a browser according to an embodiment of the invention fast side is shown The step flow chart of the embodiment of the method 3 of formula, can specifically include following steps:
Step 601, when triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
Step 602, the corresponding application program of the shortcut is started using startup order;
Step 603, the application program identification of the application program is added in preset process list;
Step 604, the performance information of the application program of the application program identification instruction in the process list is obtained;
Step 605, by performance information load in the first preset displayed page.
Step 606, the notification message for the application program that application program identification indicates in the process list is obtained;
When starting application program, it can reapply and hang a Hook inside program(Hook), Hook can correspond to poll Application program obtain operating system notification message, such as instant chat application program chat message.
Hook is a platform of windows messaging treatment mechanism, and sub- journey can be arranged to monitor in application program above Certain message of specified window, and the window monitored can be that other processes are created.After message reaches, in target The pre-treatment of windowing function it.Hook Mechanism allows application program to intercept and capture processing window message or particular event.
Hook is actually the program segment of a processing message, is called by system, it is linked into system.Whenever specific Message is sent out, and before no arrival purpose window, hook program just first captures the message, that is, Hook Function is first controlled Power.At this moment Hook Function can working process(Change)The message can not also deal with and continue to transmit the message, may be used also To force the transmission of end message.
In the concrete realization, the acquisition that timer classes execute message informing may be used.Timer classes can be to be responsible for registration The class of notification message prompt is executed with timing, it is mainly used to handle various things related with time poll, such as to The message informing of the application program of startup obtains and the maintenance to process list.
Step 607, in preset third displayed page corresponding prompt is carried out for the notification message.
Hook can preserve the notification message of the process of application program, and they are returned to and is browsing third exhibition therein Show the page, third displayed page meeting time display, if the process of corresponding shortcut has got message informing, in third The application identities picture of shortcut in displayed page is flashed or other prompts.
With reference to Fig. 7, a kind of loading application programs in a browser according to an embodiment of the invention fast side is shown The step flow chart of the embodiment of the method 4 of formula, can specifically include following steps:
Step 701, when triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
Step 702, the corresponding application program of the shortcut is started using startup order;
Step 703, the application program identification of the application program is added in preset process list;
Step 704, the performance information of the application program of the application program identification instruction in the process list is obtained;
Step 705, by performance information load in the first preset displayed page.
Step 706, when receiving the operational order for the application program identification, the operational order instruction is executed Operation.
In the concrete realization, user can in the first displayed page either the second displayed page or third displayed page, Operational order is initiated for the application program identification.
On the one hand, the operational order may include the operational order for browser;Specifically, described to be directed to browser Operational order may include end process operational order, stop monitoring operational order and/or deletion operational order.
With reference to Fig. 8, a kind of preferable example figure of step 706 according to an embodiment of the invention, the step are shown 706 can specifically include following sub-step:
Sub-step S11, the corresponding end of operational order for the end process of the application program identification are ordered, are used The operation for terminating order and terminating the corresponding application program of the application program identification;
In the concrete realization, terminate order can it is preset in the database, using application program identification in the fast of database End order is found in prompt mode list, and then terminates the operation of application program using end order.
Specifically, the operation of the process Pid executed can be terminated using doEndApp (pid).
And/or
Sub-step S12, the corresponding stopping monitor command of operational order that the stopping for the application program identification monitors, Monitoring to the corresponding application program of the application program identification is terminated using the stopping monitor command;
In the concrete realization, stop monitor command can it is preset in the database, using application program identification in database Shortcut list in find stopping monitor command, and then stop monitoring application program using monitor command is stopped, you can Not return to notification message, capability message etc..
And/or
Sub-step S13, for the corresponding delete command of operational order of the deletion of the application program identification, using described Delete command deletes the application program identification from current page;
In the concrete realization, delete command can it is preset in the database, using application program identification in the fast of database Find delete command in prompt mode list, so using delete command by application program from current page(First displayed page Either the second displayed page or third displayed page)Middle deletion.
On the other hand, the operational order may include the operational order for operating system;Specifically, described for behaviour The operational order for making system includes the operational order of unloading and/or the operational order of hang-up.
Sub-step S14, the corresponding unloading of operational order for the unloading of the application program identification is ordered, using described Unloading order unloads the corresponding application program of the application program identification;
In the concrete realization, unloading order can it is preset in the database, using application program identification in the fast of database Unloading order is found in prompt mode list, and then is unloaded application program from the equipment where browser using unloading order It carries.
It should be noted that after application program unloading, it can be by the relevant information of the application program(Address chain It connects, grouping information, application program identification, usage time, application identities picture, application program capacity, start order and/or unloading Order etc.)It is deleted from browser.
And/or
Sub-step S15, for the corresponding suspending command of operational order of the hang-up of the application program identification, using described Suspending command executes pending operation to the corresponding application program of the application program identification;
In the concrete realization, suspending command can it is preset in the database, using application program identification in the fast of database Suspending command is found in prompt mode list, and then pending operation is carried out to application program using suspending command, i.e., will apply journey The state of sequence temporarily retains.
On the other hand, the operational order may include the operational order of viral diagnosis.
Sub-step S16, for the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, Viral diagnosis is executed to the corresponding application program of the application program identification using the viral diagnosis order;
In the concrete realization, viral diagnosis order can it is preset in the database, using application program identification in database Shortcut list in find viral diagnosis order, and then viral inspection is carried out to application program using viral diagnosis order It surveys.
Specifically, virus refers to the destruction computer function that establishment is either inserted into computer program or destruction number According to influencing computer and use and be capable of the one group of computer instruction or program code of self-replacation.Virus have parasitics, The features such as infectiousness, latency, concealment, destructiveness and ignitionability.
When detecting in current application program in the presence of virus, you can the safety detection data about Virus Info are obtained, The Virus Info can specifically include viral load, Virus Type, viral site, viral attribute etc..
The present invention directly can carry out viral diagnosis to application program, avoid starting the behaviour that antivirus software chooses application program Make step, be convenient for users to operate, improves the safety of operating system.
On the other hand, the operational order may include the operational order of sandbox operation.
Sub-step S17, the corresponding sandbox operation of operational order for the sandbox operation of the application program identification are ordered, The corresponding application program of the application program identification is placed in sandbox using sandbox operation order and is run.
In the concrete realization, sandbox operation order can it is preset in the database, using application program identification in database Shortcut list in find sandbox operation order, and then sandbox operation order by application program identification it is corresponding apply journey Sequence is placed in sandbox and runs.
Wherein it is possible to using the order of doExecuteApp (cmd) directly operating systems, including commonly run and husky phase Operation.
Specifically, the isolation sandbox technology of browser kernel is browser kernel, such as IE or firefox, construct The virtual execution environment of one safety.User will be redirected to a spy by any disk write operation made by browser In fixed temporary folder.In this way, even if in webpage including virus, wooden horse, the rogue programs such as advertisement, after installing by force, It is only installed into temporary folder, will not cause damages to user equipment.Browser kernel is responsible for the solution to webpage grammer It releases(Such as HTML, JavaScript)And it renders(Display)Webpage.So commonly referred browser kernel namely to the page into Row is downloaded, parsing, is executed, the engine of rendering, which determines how browser shows the content of webpage and the lattice of the page Formula information.
The present invention directly can use sandbox to run application program, be convenient for users to operate, and application program is avoided to apply Program is run directly in operating system, improves the safety of operating system.
Certainly, aforesaid operations instruction is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions Other operational orders are set, the embodiment of the present invention does not limit this.In addition, other than aforesaid operations instruct, art technology Personnel can also use other operational orders, the embodiment of the present invention also not to limit this according to actual needs.
The present invention is more fully understood in order to facilitate those skilled in the art, with reference to Fig. 9, more below by way of a complete example It further illustrates the present invention:
The embodiment of the present invention functionally, can be divided into four fractions, be each responsible for different functions and realize, phase Respectively it is related between mutually, this four fractions are not:Foreground web services, database service, application program service and process clothes Business.
Web service:The structure of Web service is as shown in Figure 10, may include shortcut foreground and the task management page, Belong to the interface of user, User Page is all provided by Web service.Other than providing the page, Web service is responsible for relative users Behavior, such as operation application program, unloading with program, query performance information.It is provided similar to the website of a local 3 pages:User's shortcut page(Third displayed page), the process monitoring page(First displayed page)It exports and reports with process Accuse the page(Second displayed page).Its data source includes database service and process service.
Database service:The purpose of persistence of database service is storage, is provided using data for application program.This is double To process, substantially can be the storage and display of database data.User provides addition, deletion and operation application program Interface.All operations are triggered eventually by on-link mode (OLM), backstage are passed to, then to the data in database sqlite It carries out corresponding additions and deletions and changes to look into operation.Including operation have:
1, when user opens the shortcut page, the information of all shortcuts is inquired in database service, passes to Web Service;
2, when user adds shortcut, database service receives the parameter that Web service transmits, and is added into database Data;
3, when user changes and deletes shortcut, database service receives the parameter that Web service transmits, and changes and deletes Except corresponding data;
4, when user selects download and mode quick for installation, database service receives the parameter that Web service transmits, to number According to library interpolation data.
Application program service:Interface corresponding with application program in operating system carries out information exchange, main three parts Composition:
1, when user selects to execute shortcut, Web service response executes corresponding system command, opens corresponding Operating system, open process identification (PID) is added in process list;
2, when user selects unloading application program, Web service response, and execute the system command of unloading;
3, process list, the notification message of continuous these processes of Hook are compiled, and constantly returns to web services, and Corresponding feedback is provided in the page(Such as flash).
Process service:The core of process service is the reading and operation to the process list progress data of background service, and Interacted with consumer process by Web service, its interaction include 3 parts, be respectively process data monitoring, Process flowchart and into Journey is checked:
1, when user opens the data monitoring page, Web service accesses process service, and the continuous return of process service is current The details of process in process list, and constantly refresh front page layout;
2, when user chooses some process, executes the operations such as end process, parameter is passed to process and taken by Web service Business, process service execute corresponding system command according to the parameter that user is transmitted;
3, when user selects progress information to check or process is reported, Web service can send a command to process service, One or more process of process service acquisition(It is determined by parameter)All historical datas, and return to Web service, Web It services by corresponding presentation of information on the page, or generates report file and be sent to user local.
The present invention has obscured operating system and the boundary of network, has also desalinated the execution entrance of operating system, has more answered It can also be directly connected in browser with program and safety function of operation system.The mode of data, part are handled in browser It completes to show by the page, all data are stored in database sqlite, the built-in application program control center on browser backstage, It is serviced as one, front page layout and background data base sqlite can be connected, and to applying journey in the level of this control Sequence and process are managed.Can image think that browser is a simple three-tier architecture, but add in logical process layer Enter and the order of the interaction such as application program and operating system, has been finally completed and has used in a browser and scheduling application Method, can gradually replace windows operating systems desktop.
The browser of the present invention can gradually replace user's desktop as the portal of operating system, be based on desktop shortcuts Mode of operation has been also transferred on the page, and operating system is simpler, and performance can greatly improve.
The application program of the present invention is finally executed by browser calling system, its executive mode is controlled by browser, The execution of application program is more safe and reliable, and browser can also gradually substitute the security softwares such as antivirus software.
For embodiment of the method, for simple description, therefore it is all expressed as a series of combination of actions, but this field Technical staff should know that the embodiment of the present invention is not limited by the described action sequence, because implementing according to the present invention Example, certain steps can be performed in other orders or simultaneously.Next, those skilled in the art should also know that, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Referring to Fig.1 1, show a kind of loading application programs in a browser according to an embodiment of the invention fast side The structure diagram of the device embodiment 1 of formula, can specifically include following module:
Start order acquisition module 1101, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1102 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1103, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1104, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1105 is suitable for performance information load in the first preset displayed page.
In one preferred embodiment of the invention, the performance information may include following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description.
Referring to Fig.1 2, show a kind of loading application programs in a browser according to an embodiment of the invention fast side The structure diagram of the device embodiment 2 of formula, can specifically include following module:
Start order acquisition module 1201, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1202 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1203, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1204, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1205 is suitable for performance information load in the first preset displayed page;
Second performance data obtaining module 1206, suitable for obtaining answering for the application program identification instruction in the process list With the performance information within a preset period of time of program;
Display module 1207, be suitable for by the performance information in the preset time period in the second preset displayed page into The corresponding displaying of row;
Alternatively,
Report file generation module 1208 is suitable for the performance information in the preset time period generating report file.
Referring to Fig.1 3, show a kind of loading application programs in a browser according to an embodiment of the invention fast side The structure diagram of the device embodiment 3 of formula, can specifically include following module:
Start order acquisition module 1301, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1302 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1303, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1304, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1305 is suitable for performance information load in the first preset displayed page;
Notification message acquisition module 1306 is suitable for obtaining the application program that application program identification indicates in the process list Notification message;
Reminding module 1307 is suitable for carrying out corresponding prompt for the notification message in preset third displayed page.
Referring to Fig.1 4, show a kind of loading application programs in a browser according to an embodiment of the invention fast side The structure diagram of the device embodiment 4 of formula, can specifically include following module:
Start order acquisition module 1401, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1402 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1403, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1404, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1405 is suitable for performance information load in the first preset displayed page;
Operational order execution module 1406, suitable for when receiving the operational order for the application program identification, holding The operation of the row operational order instruction.
In one preferred embodiment of the invention, the operational order may include the operational order for browser;
The operational order for browser may include the operational order of end process, stop the operational order of monitoring And/or the operational order deleted.
In one preferred embodiment of the invention, the operational order may include referring to for the operation of operating system It enables;
The operational order for operating system may include the operational order of unloading and/or the operational order of hang-up.
In one preferred embodiment of the invention, the operational order may include the operational order of viral diagnosis.
In one preferred embodiment of the invention, the operational order may include the operational order of sandbox operation.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, using the prison Control order terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Referring to Fig.1 5, show a kind of structure diagram of browser embodiment 1 according to an embodiment of the invention, specifically It may include following module:
Start order acquisition module 1501, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1502 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1503, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1504, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1505 is suitable for performance information load in the first preset displayed page.
In one preferred embodiment of the invention, the performance information may include following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description.
Referring to Fig.1 6, show a kind of structure diagram of browser embodiment 2 according to an embodiment of the invention, specifically It may include following module:
Start order acquisition module 1601, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1602 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1603, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1604, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1605 is suitable for performance information load in the first preset displayed page;
Second performance data obtaining module 1606, suitable for obtaining answering for the application program identification instruction in the process list With the performance information within a preset period of time of program;
Display module 1607, be suitable for by the performance information in the preset time period in the second preset displayed page into The corresponding displaying of row;
Alternatively,
Report file generation module 1608 is suitable for the performance information in the preset time period generating report file.
Referring to Fig.1 7, show a kind of structure diagram of browser embodiment 3 according to an embodiment of the invention, specifically It may include following module:
Start order acquisition module 1701, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1702 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1703, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1704, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1705 is suitable for performance information load in the first preset displayed page;
Notification message acquisition module 1706 is suitable for obtaining the application program that application program identification indicates in the process list Notification message;
Reminding module 1707 is suitable for carrying out corresponding prompt for the notification message in preset third displayed page.
Referring to Fig.1 8, show a kind of structure diagram of browser embodiment 4 according to an embodiment of the invention, specifically It may include following module:
Start order acquisition module 1801, is suitable for, when triggering shortcut in browser side, obtaining the shortcut Corresponding startup order;
Application program launching module 1802 is suitable for starting the shortcut using startup order corresponding using journey Sequence;
Process list add module 1803, suitable for the application program identification of the application program to be added to preset process In list;
First performance data obtaining module 1804, suitable for obtaining answering for the application program identification instruction in the process list With the performance information of program;
Load-on module 1805 is suitable for performance information load in the first preset displayed page;
Operational order execution module 1806, suitable for when receiving the operational order for the application program identification, holding The operation of the row operational order instruction.
In one preferred embodiment of the invention, the operational order may include the operational order for browser;
The operational order for browser may include the operational order of end process, stop the operational order of monitoring And/or the operational order deleted.
In one preferred embodiment of the invention, the operational order may include referring to for the operation of operating system It enables;
The operational order for operating system may include the operational order of unloading and/or the operational order of hang-up.
In one preferred embodiment of the invention, the operational order may include the operational order of viral diagnosis.
In one preferred embodiment of the invention, the operational order may include the operational order of sandbox operation.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, using the prison Control order terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
In one preferred embodiment of the invention, the operational order execution module can be adapted to:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
The present invention is more fully understood in order to facilitate those skilled in the art, referring to Fig.1 9, show below by way of a browser Example illustrates further the present invention:
The browser of the embodiment of the present invention can include 4 major parts:The shortcut page, browser backstage, operation System correlation and process front page layout, relationship has between various pieces:
A, setting of the page by user is arranged in shortcut, and shortcut parameter and configuration are written to browser backstage Database sqlite in;
B, user will execute parameter and be transmitted to application program control by selecting and clicking the link in the shortcut execution page Center processed, application program controlling is centrally through related command in these parameter reading database sqlite files, then according to phase Order executing application is closed, and returns to progress information;
C, application program controlling obtains the message informing in operating system, the application journey that will be had been started up centrally through poll The message of sequence is limited in the shortcut having been started up(The message of such as instant messenger plays frame message);
D, some particular applications in operating system(Such as TXT documents, counter)It can give tacit consent to path and be added to In shortcut;When installing and uninstalling application programs, corresponding shortcut can be added and delete automatically, as clear Look at registry operations of device oneself;
E, after the unloading operation of user's selection shortcut, the application program at application program controlling center can be called to unload life It enables, application program is unloaded according to the supplemental characteristic of database sqlite;
F, process front page layout can read the process data at application program controlling center, and be shown in the page, these Data can generate report by selection;Terminate selected process, in the order to application program controlling that end process can be sent The heart, the process that application program controlling center executes system terminate order.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is to this specification(Including adjoint claim, abstract and attached drawing)Disclosed in all features and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power Profit requirement, abstract and attached drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor(DSP)To realize loading application programs in a browser according to the ... of the embodiment of the present invention The some or all functions of some or all components in the equipment of shortcut.The present invention is also implemented as holding Some or all equipment or program of device of row method as described herein(For example, computer program and computer Program product).It is such realize the present invention program can may be stored on the computer-readable medium, or can have there are one or The form of the multiple signals of person.Such signal can be downloaded from internet website and be obtained, or be provided on carrier signal, or Person provides in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
The invention discloses A1, a kind of methods of the shortcut of loading application programs in a browser, including:
When triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
The corresponding application program of the shortcut is started using startup order;
The application program identification of the application program is added in preset process list;
Obtain the performance information of the application program of the application program identification instruction in the process list;
By performance information load in the first preset displayed page.
A2, the method as described in A1, the performance information include following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description information.
A3, the method as described in A1 or A2 further include:
Obtain the performance within a preset period of time of the application program of the application program identification instruction in the process list Information;
Performance information in the preset time period is subjected to corresponding displaying in the second preset displayed page;
Alternatively,
Performance information in the preset time period is generated into report file.
A4, the method as described in A1 further include:
Obtain the notification message for the application program that application program identification indicates in the process list;
In preset third displayed page corresponding prompt is carried out for the notification message.
A5, the method as described in A1 or A2 or A3 or A4 further include:
When receiving the operational order for the application program identification, the operation of the operational order instruction is executed.
A6, the method as described in A5, the operational order include the operational order for browser;
The operational order for browser include end process operational order, stop monitoring operational order and/ Or the operational order deleted.
A7, the method as described in A5, the operational order include the operational order for operating system;
The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
A8, the method as described in A5, the operational order include the operational order of viral diagnosis.
A9, the method as described in A5, the operational order include the operational order of sandbox operation.
The step of A10, method as described in A6, the operation for executing operational order instruction includes:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, stopped using described Only monitor command terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
The step of A11, method as described in A7, the operation for executing operational order instruction includes:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
And/or
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
The step of A12, method as described in A8, the operation for executing operational order instruction includes:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
The step of A13, method as described in A9, the operation for executing operational order instruction includes:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
The invention also discloses B14, a kind of devices of the shortcut of loading application programs in a browser, including:
Start order acquisition module, be suitable for when triggering shortcut in browser side, obtains the shortcut and correspond to Startup order;
Application program launching module is suitable for starting the corresponding application program of the shortcut using startup order;
Process list add module, suitable for the application program identification of the application program to be added to preset process list In;
First performance data obtaining module is suitable for obtaining the application journey of the application program identification instruction in the process list The performance information of sequence;
Load-on module is suitable for performance information load in the first preset displayed page.
B15, the device as described in B14, the performance information include following one or more:
Process indications, user name, session id, CPU usage, the CPU time, memory working set, memory peak activity collection, Memory working set increment, the special working set of memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, page Face mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O its He, I/O reads byte/order line, description information.
B16, the device as described in B14 or B15 further include:
Second performance data obtaining module is suitable for obtaining the application journey of the application program identification instruction in the process list The performance information within a preset period of time of sequence;
Display module, suitable for carrying out the performance information in the preset time period in the second preset displayed page pair The displaying answered;
Alternatively,
Report file generation module is suitable for the performance information in the preset time period generating report file.
B17, the device as described in B14 further include:
Notification message acquisition module is suitable for obtaining the logical of the application program that application program identification indicates in the process list Know message;
Reminding module is suitable for carrying out corresponding prompt for the notification message in preset third displayed page.
B18, the device as described in B14 or B15 or B16 or B17 further include:
Operational order execution module, suitable for when receiving the operational order for the application program identification, executing institute State the operation of operational order instruction.
B19, the device as described in B18, the operational order include the operational order for browser;
The operational order for browser include end process operational order, stop monitoring operational order and/ Or the operational order deleted.
B20, the device as described in B18, the operational order include the operational order for operating system;
The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
B21, the device as described in B18, the operational order include the operational order of viral diagnosis.
B22, the device as described in B18, the operational order include the operational order of sandbox operation.
B23, the device as described in B19, the operational order execution module are further adapted for:
For the corresponding end order of operational order of the end process of the application program identification, ordered using the end Enable the operation for terminating the corresponding application program of the application program identification;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, using the prison Control order terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will using the delete command for the corresponding delete command of operational order of the deletion of the application program identification The application program identification is deleted from current page.
B24, the device as described in B20, the operational order execution module are further adapted for:
For the corresponding unloading order of operational order of the unloading of the application program identification, being ordered using the unloading will The corresponding application program unloading of the application program identification;
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command pair The corresponding application program of the application program identification executes pending operation.
B25, the device as described in B21, the operational order execution module are further adapted for:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, using the disease Malicious sense command executes viral diagnosis to the corresponding application program of the application program identification.
B26, the device as described in B22, the operational order execution module are further adapted for:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, using the sand The corresponding application program of the application program identification is placed in sandbox by case operation order to be run.
The invention also discloses the loads in a browser described in any one of C27, a kind of browser, including B14 to B26 The device of application program shortcut.

Claims (21)

1. a kind of method of the shortcut of loading application programs in a browser, including:
When triggering shortcut in browser side, the corresponding startup order of the shortcut is obtained;
The corresponding application program of the shortcut is started using startup order;
The application program identification of the application program is added in preset process list;
Obtain the performance information of the application program of the application program identification instruction in the process list;
By performance information load in the first preset displayed page;
When receiving the operational order for the application program identification, the operation of the operational order instruction is executed, it is described Operational order includes the operational order for the browser and operational order for operating system, described for browser Operational order includes the operational order of end process, stops the operational order of monitoring and/or the operational order of deletion;It is described to be directed to The operational order of operating system includes the operational order of unloading and/or the operational order of hang-up.
2. the method as described in claim 1, which is characterized in that the performance information includes following one or more:
Process indications, user name, session id, CPU usage, CPU time, memory working set, memory peak activity collection, memory The special working set of working set increment, memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, the page wrong Mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O other, I/O Read byte/order line, description information.
3. method as claimed in claim 1 or 2, which is characterized in that further include:
Obtain the performance information within a preset period of time of the application program of the application program identification instruction in the process list;
Performance information in the preset time period is subjected to corresponding displaying in the second preset displayed page;
Alternatively,
Performance information in the preset time period is generated into report file.
4. the method as described in claim 1, which is characterized in that further include:
Obtain the notification message for the application program that application program identification indicates in the process list;
In preset third displayed page corresponding prompt is carried out for the notification message.
5. the method as described in claim 1, which is characterized in that the operational order includes the operational order of viral diagnosis.
6. the method as described in claim 1, which is characterized in that the operational order includes the operational order of sandbox operation.
7. the method as described in claim 1, which is characterized in that the step of operation for executing operational order instruction wraps It includes:
For the corresponding end order of operational order of the end process of the application program identification, is ordered and tied using the end The operation of the corresponding application program of Shu Suoshu application program identifications;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, supervised using the stopping Control order terminates the monitoring to the corresponding application program of the application program identification;
And/or
It, will be described using the delete command for the corresponding delete command of operational order of the deletion of the application program identification Application program identification is deleted from current page.
8. the method as described in claim 1, which is characterized in that the step of operation for executing operational order instruction wraps It includes:
It, will be described using unloading order for the corresponding unloading order of operational order of the unloading of the application program identification The corresponding application program unloading of application program identification;
And/or
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command to described The corresponding application program of application program identification executes pending operation.
9. method as claimed in claim 5, which is characterized in that the step of operation for executing operational order instruction wraps It includes:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, examined using the virus It surveys order and viral diagnosis is executed to the corresponding application program of the application program identification.
10. method as claimed in claim 6, which is characterized in that described to execute the step of operation that the operational order indicates Including:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, transported using the sandbox The corresponding application program of the application program identification is placed in sandbox and runs by line command.
11. a kind of device of the shortcut of loading application programs in a browser, including:
Start order acquisition module, the shortcut is corresponding to be opened suitable for when triggering shortcut in browser side, obtaining Dynamic order;
Application program launching module is suitable for starting the corresponding application program of the shortcut using startup order;
Process list add module, suitable for the application program identification of the application program to be added in preset process list;
First performance data obtaining module is suitable for obtaining the application program of the application program identification instruction in the process list Performance information;
Load-on module is suitable for performance information load in the first preset displayed page;
Operational order execution module, suitable for when receiving the operational order for the application program identification, executing the behaviour Make the operation of instruction instruction, the operational order includes the operation for the operational order of the browser and for operating system Instruction, the operational order for browser include the operational order of end process, stop the operational order of monitoring and/or delete The operational order removed;The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
12. device as claimed in claim 11, which is characterized in that the performance information includes following one or more:
Process indications, user name, session id, CPU usage, CPU time, memory working set, memory peak activity collection, memory The special working set of working set increment, memory, memory submit size, memory pages buffer pool, the non-page buffer pond of memory, the page wrong Mistake, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O write-in, I/O other, I/O Read byte/order line, description information.
13. the device as described in claim 11 or 12, which is characterized in that further include:
Second performance data obtaining module is suitable for obtaining the application program of the application program identification instruction in the process list Performance information within a preset period of time;
Display module, it is corresponding suitable for carrying out the performance information in the preset time period in the second preset displayed page Displaying;
Alternatively,
Report file generation module is suitable for the performance information in the preset time period generating report file.
14. device as claimed in claim 11, which is characterized in that further include:
Notification message acquisition module, the notice suitable for obtaining the application program that application program identification indicates in the process list disappear Breath;
Reminding module is suitable for carrying out corresponding prompt for the notification message in preset third displayed page.
15. device as claimed in claim 11, which is characterized in that the operational order includes the operational order of viral diagnosis.
16. device as claimed in claim 11, which is characterized in that the operational order includes the operational order of sandbox operation.
17. device as claimed in claim 11, which is characterized in that the operational order execution module is further adapted for:
For the corresponding end order of operational order of the end process of the application program identification, is ordered and tied using the end The operation of the corresponding application program of Shu Suoshu application program identifications;
And/or
For the corresponding stopping monitor command of operational order of the stopping monitoring of the application program identification, ordered using the monitoring Enable the monitoring terminated to the corresponding application program of the application program identification;
And/or
It, will be described using the delete command for the corresponding delete command of operational order of the deletion of the application program identification Application program identification is deleted from current page.
18. device as claimed in claim 11, which is characterized in that the operational order execution module is further adapted for:
It, will be described using unloading order for the corresponding unloading order of operational order of the unloading of the application program identification The corresponding application program unloading of application program identification;
For the corresponding suspending command of operational order of the hang-up of the application program identification, using the suspending command to described The corresponding application program of application program identification executes pending operation.
19. device as claimed in claim 15, which is characterized in that the operational order execution module is further adapted for:
For the corresponding viral diagnosis order of operational order of the viral diagnosis of the application program identification, examined using the virus It surveys order and viral diagnosis is executed to the corresponding application program of the application program identification.
20. device as claimed in claim 16, which is characterized in that the operational order execution module is further adapted for:
For the corresponding sandbox operation order of operational order of the sandbox operation of the application program identification, transported using the sandbox The corresponding application program of the application program identification is placed in sandbox and runs by line command.
21. a kind of browser, including:
Start order acquisition module, the shortcut is corresponding to be opened suitable for when triggering shortcut in browser side, obtaining Dynamic order;
Application program launching module is suitable for starting the corresponding application program of the shortcut using startup order;
Process list add module, suitable for the application program identification of the application program to be added in preset process list;
First performance data obtaining module is suitable for obtaining the application program of the application program identification instruction in the process list Performance information;
Load-on module is suitable for performance information load in the first preset displayed page;
Operational order execution module, suitable for when receiving the operational order for the application program identification, executing the behaviour Make the operation of instruction instruction, the operational order includes the operation for the operational order of the browser and for operating system Instruction, the operational order for browser include the operational order of end process, stop the operational order of monitoring and/or delete The operational order removed;The operational order for operating system includes the operational order of unloading and/or the operational order of hang-up.
CN201310591212.7A 2013-11-20 2013-11-20 The method, apparatus and browser of loading application programs shortcut in a browser Active CN103678506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310591212.7A CN103678506B (en) 2013-11-20 2013-11-20 The method, apparatus and browser of loading application programs shortcut in a browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310591212.7A CN103678506B (en) 2013-11-20 2013-11-20 The method, apparatus and browser of loading application programs shortcut in a browser

Publications (2)

Publication Number Publication Date
CN103678506A CN103678506A (en) 2014-03-26
CN103678506B true CN103678506B (en) 2018-10-12

Family

ID=50316051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310591212.7A Active CN103678506B (en) 2013-11-20 2013-11-20 The method, apparatus and browser of loading application programs shortcut in a browser

Country Status (1)

Country Link
CN (1) CN103678506B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021039A (en) * 2014-05-30 2014-09-03 北京金山网络科技有限公司 Calling method for APP and browser
CN104239063B (en) * 2014-09-23 2018-08-10 福建星网视易信息系统有限公司 A kind of web browser and the method by web browser calling local application
CN104714826B (en) * 2015-03-23 2018-10-26 小米科技有限责任公司 Using the loading method and device of theme
CN106130810B (en) * 2016-06-01 2020-12-22 北京百度网讯科技有限公司 Website monitoring method and device
CN107766351B (en) * 2016-08-16 2020-12-25 腾讯科技(深圳)有限公司 File directory identification method and device
CN107861964A (en) * 2017-03-23 2018-03-30 平安科技(深圳)有限公司 Image loading method and device
EP3671449A4 (en) 2018-06-22 2020-12-02 Hangzhou Hikvision System Technology Co., Ltd. Application association for browser
CN109739567A (en) * 2018-11-26 2019-05-10 平安科技(深圳)有限公司 Method, apparatus, computer equipment and the storage medium of Quick stop application program
CN112835656A (en) * 2019-11-01 2021-05-25 科美诊断技术股份有限公司 Client starting method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587495A (en) * 2009-07-08 2009-11-25 伍帝州 Method and system for downloading and disposing application through browser and providing application entrance
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587495A (en) * 2009-07-08 2009-11-25 伍帝州 Method and system for downloading and disposing application through browser and providing application entrance
CN102841789A (en) * 2012-06-29 2012-12-26 北京奇虎科技有限公司 Method and device for recording and playing back user operations in browser

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Chrome浏览器通知中心上线 弹出式窗口通知";科技讯;《http://www.kejixun.com/article/201307/13122.html》;20130711;第1页 *
"如何查看管理chrome浏览器的任务及性能";百度经验;《http://jingyan.baidu.com/article/e2284b2b337fbde2e7118d6c.html》;20131003;第1-3页 *
"浏览器判断是否安装了ios/android客户端程序";iunion;《http://blog.csdn.net/iunion/article/details/10327665/》;20130826;第1-3页 *

Also Published As

Publication number Publication date
CN103678506A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103678506B (en) The method, apparatus and browser of loading application programs shortcut in a browser
US9830254B2 (en) Online application testing across browser environments
CN105631359B (en) A kind of control method and device of web page operation
CN102722559B (en) A kind of course control method of the abnormal page, device and system
CN108052334A (en) Method for page jump, device, computer equipment and storage medium
US20150236924A1 (en) Automatic extraction, modeling, and code mapping of application user interface display screens and components
CN103678505A (en) Method and device for running application program in browser and browser
CN108293081A (en) Pass through the program playback deep linking of user interface event to mobile application state
CN107391115B (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
EP3035191A1 (en) Identifying source code used to build executable files
CN103955475B (en) A kind of display methods, device and the browser of web page tag information
Karami et al. Behavioral analysis of android applications using automated instrumentation
WO2014139300A1 (en) Method and device for loading a plug-in
CN103778178A (en) Method and system for reconfiguring snapshot of virtual machine (VM)
WO2016033966A1 (en) Protection method and device for application data
CN105094791B (en) The storage method and device of status bar notice
CN103617055B (en) A kind of method, apparatus and browser for starting application program in a browser
CN104572197B (en) A kind for the treatment of method and apparatus of startup item
CN104239797B (en) Active defense method and device
CN108846286A (en) Cross site scripting leak detection method and device
CN102929920A (en) Web-information-extraction-based monitoring method and device for software updating information
CN104063247B (en) The call method and system of a kind of application program
Johnson et al. Forced-path execution for android applications on x86 platforms
EP2959402A1 (en) Architecture for remote access to content state
CN106845270B (en) A kind of seamless browsing method and device

Legal Events

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

Effective date of registration: 20220725

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.