CN103678505A - Method and device for running application program in browser and browser - Google Patents

Method and device for running application program in browser and browser Download PDF

Info

Publication number
CN103678505A
CN103678505A CN201310591211.2A CN201310591211A CN103678505A CN 103678505 A CN103678505 A CN 103678505A CN 201310591211 A CN201310591211 A CN 201310591211A CN 103678505 A CN103678505 A CN 103678505A
Authority
CN
China
Prior art keywords
application program
shortcut
browser
application
startup command
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.)
Pending
Application number
CN201310591211.2A
Other languages
Chinese (zh)
Inventor
张毅
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
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 CN201310591211.2A priority Critical patent/CN103678505A/en
Publication of CN103678505A publication Critical patent/CN103678505A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and device for running an application program in a browser and the browser. The application program comprises a shortcut, and the shortcut comprises an application program identifier. The method includes the steps that the shortcut of the application program is triggered on the browser side; the application program identifier in the shortcut is extracted; a starting command corresponding to the application program identifier is extracted from a preset database; the starting command is used for starting the application program. According to the method and device for running the application program in the browser and the browser, the browser can be visually considered as a simple three-layer architecture, however, the command interacting with the application program, an operation system and the like is added in a logic processing layer, finally using and dispatching of application software in the browser are achieved through the method, and a desktop of a windows operation system can be replaced gradually.

Description

A kind of method running application in browser, device and browser
Technical field
The present invention relates to the technical field of browser, be specifically related to a kind of method running application, a kind of device running application and a kind of browser in browser in browser.
Background technology
The fast development of the Internet Internet has been brought people into the information society epoch, and people are lived and produced deep effect, and people can get the information of the upper magnanimity of Internet by browser, to meet the demand of the each side such as life, work, study.
Browser is the file in a display web page server or archives economy, and allows user's a kind of application program of a little file interactions therewith.Browser is used for being presented at word, image and other information in WWW or local LAN etc.These words or image, can be the hyperlink that connects other network address, and user can be rapidly and browsed easily various information.
In order to expand the function of browser, some browser provides plug-in unit, adopt plug-in unit can be in browser the application program of call operation system, in plug-in unit, can carry the application program of certain operations system default, also can add some user-defined application programs.But this plug-in unit is unidirectional other application programs of calling in browser just, cannot the application program of calling be managed or be controlled in browser.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of a kind of method running application that overcomes the problems referred to above or address the above problem at least in part and corresponding a kind of device running application in browser in browser, and, a kind of browser.
According to one aspect of the present invention, a kind of method running application in browser is provided, described application program comprises shortcut, and described shortcut comprises application program identification, and described method comprises:
In browser side, trigger the shortcut of described application program;
Extract the application program identification in described shortcut;
In preset database, extract startup command corresponding to described application program identification;
Adopt described startup command to start described application program.
Alternatively, described shortcut comprises application identities picture and the address link that is mutually related, and the described step that triggers the shortcut of described application program in browser side comprises:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
Alternatively, described shortcut comprises the shortcut of local application and/or the shortcut of web application;
Described local application is the application program that is arranged on browser side place equipment; Described web application is the application program that installation file is stored in network.
Alternatively, when shortcut that described shortcut is local application, described startup command comprises the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command comprises the download address of described web application.
Alternatively, the step that the described startup command of described employing starts described application program comprises:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
Alternatively, also comprise:
The application program identification of described application program is added in preset process list.
Alternatively, also comprise:
Obtain the performance information of the application program of the application program identification indication in described process list;
The performance information that shows described application program at the first preset displayed page.
Alternatively, described performance information comprises process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
Alternatively, also comprise:
Obtain the performance information in Preset Time section of the application program of the application program identification indication in described process list;
Performance information in described Preset Time section is carried out to corresponding displaying in the second preset displayed page;
Or,
Performance information in described Preset Time section is generated to report file.
Alternatively, also comprise:
Obtain the notification message of the application program of application program identification indication in described process list;
At the 3rd preset displayed page, for described notification message, carry out corresponding prompting.
Alternatively, also comprise:
When receive for described application program identification operational order time, from fill order corresponding to operational order described in described extracting data, according to described fill order, carry out corresponding operation.
Alternatively, described operational order comprises for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser comprises the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system comprises the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
According to a further aspect in the invention, provide a kind of device running application in browser, described application program comprises shortcut, and described shortcut comprises application program identification, and described device comprises:
Shortcut trigger module, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module, be suitable for adopting described startup command to start described application program.
Alternatively, described shortcut comprises be mutually related application identities picture and address link, and described shortcut trigger module is also suitable for:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
Alternatively, described shortcut comprises the shortcut of local application and/or the shortcut of web application;
Described local application is the application program that is arranged on browser side place equipment; Described web application is the application program that installation file is stored in network.
Alternatively, when shortcut that described shortcut is local application, described startup command comprises the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command comprises the download address of described web application.
Alternatively, described startup module is also suitable for:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
Alternatively, also comprise:
Process list adds module, is suitable for the application program identification of described application program to add in preset process list.
Alternatively, also comprise:
The first performance acquisition of information module, is suitable for obtaining the performance information of the application program of application program identification in described process list indication;
Load-on module, is suitable for showing at the first preset displayed page the performance information of described application program.
Alternatively, described performance information comprises process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
Alternatively, also comprise:
The second performance acquisition of information module, is suitable for obtaining the performance information in Preset Time section of the application program of application program identification in described process list indication;
Display module, is suitable for the performance information in described Preset Time section to carry out corresponding displaying in the second preset displayed page;
Or,
Report file generation module, is suitable for the performance information in described Preset Time section to generate report file.
Alternatively, also comprise:
Notification message acquisition module, is suitable for obtaining the notification message of the application program of the indication of application program identification in described process list;
Reminding module, is suitable for for described notification message, carrying out corresponding prompting at the 3rd preset displayed page.
Alternatively, also comprise:
Operational order execution module, is suitable for, when the operational order receiving for described application program identification, from fill order corresponding to operational order described in described extracting data, according to described fill order, carrying out corresponding operation.
Alternatively, described operational order comprises for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser comprises the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system comprises the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
According to a further aspect in the invention, provide a kind of browser, described browser comprises the shortcut of application program, and described shortcut comprises application program identification, and described browser comprises:
Shortcut trigger module, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module, be suitable for adopting described startup command to start described application program.
The boundary of the present invention is fuzzy operating system and network, the execution entrance of also having desalinated operating system, more application program and safety function of operation system also can directly be linked in browser.Mode in browser deal with data, part completes demonstration by the page, all data are stored in database sqlite, the built-in application program control center on browser backstage, as a service, can connect front page layout and background data base sqlite, and application programs and process manage in the aspect of this control.The browser of thinking that can be vivid is a simple three-tier architecture, but added and the mutual orders such as application program and operating system at logical process layer, finally completed in browser and to have used and the method for dispatch application software, can progressively replace the desktop of windows operating system.
The door that browser of the present invention can be used as operating system progressively replaces user's desktop, based on desktop shortcuts mode of operation, has also transferred on the page, and operating system is simpler, and performance can significantly improve.
Application program of the present invention is finally carried out by browser calling system, and its executive mode is controlled by browser, and the execution of application program is more safe and reliable, and browser also can progressively substitute the fail-safe softwares such as antivirus software.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application in browser 1;
Fig. 2 shows a kind of exemplary plot of 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 according to an embodiment of the invention shortcut list exemplary plot;
Fig. 5 shows a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application in browser 2;
Fig. 6 shows a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application in browser 3;
Fig. 7 shows a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application in browser 4;
Fig. 8 shows a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application in browser 5;
Fig. 9 shows according to an embodiment of the invention a kind of preferred exemplary figure of step 805;
Figure 10 shows a kind of preferred exemplary figure of operation logic according to an embodiment of the invention;
Figure 11 shows the preferred topology example figure of a kind of according to an embodiment of the invention Web service;
Figure 12 shows the structured flowchart of a kind of according to an embodiment of the invention device embodiment 1 running application in browser;
Figure 13 shows the structured flowchart of a kind of according to an embodiment of the invention device embodiment 2 running application in browser;
Figure 14 shows the structured flowchart of a kind of according to an embodiment of the invention device embodiment 3 running application in browser;
Figure 15 shows the structured flowchart of a kind of according to an embodiment of the invention device embodiment 4 running application in browser;
Figure 16 shows the structured flowchart of a kind of according to an embodiment of the invention device embodiment 5 running application in browser;
Figure 17 shows the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 1;
Figure 18 shows the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 2;
Figure 19 shows the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 3;
Figure 20 shows the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 4;
Figure 21 shows the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 5; And,
Figure 22 shows a kind of preferred structure exemplary plot of browser according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application 1 in browser, described application program can comprise shortcut, described shortcut can comprise application program identification, and described method specifically can comprise the steps:
Step 101, triggers the shortcut of described application program in browser side;
The application embodiment of the present invention can be added the shortcut of application program in advance in browser.As shown in Figures 2 and 3, on the one hand, according to addition manner, can be divided into the default shortcut of browser and User Defined interpolation shortcut.Wherein, the default shortcut of browser can be the conventional application program of operating system, and for example Office office application program, picture application program, calculator application etc., can also be web application; For self-defined interpolation shortcut, can adopt default function button to trigger and add, or directly adopt mouse right click triggering directly to add etc.On the other hand, according to application program kind, can be divided into the shortcut of local application and/or the shortcut of web application.Wherein, local application can be for being arranged on the application program of browser side place equipment, and web application can be stored in for installation file the application program of network.
In a kind of situation, user can arrange installation path and the grouping information of local application.Wherein, grouping information can realize the management of the nested group of shortcut, and as shown in Figure 2, in browser, in preset the 3rd displayed page, the left side can be grouping, and the right can be corresponding shortcut in grouping.The embodiment of the present invention, after the installation path and grouping information of local application that receives user's input, can be obtained application program identification, service time, application identities picture, application program capacity, startup command and/or the unloading order of application program.Application program identification can be specifically as follows arbitrary string for the unique identification of application program, as long as can this application program of unique identification.Service time all can record when this application program is carried out at every turn, can judge the frequency that user uses for statistics and sequencing information, also can judge the service condition that user is nearest.Application identities picture can, for identification application intuitively, can be the Icon picture under this application program executive routine catalogue.Application program capacity can be the size of the program file of this application program.Startup command is not in the situation that user has appointment, it can be the installation path of this application program, for example " D: Program Files ABClayer ABClayer.exe ", if user has specified startup command, startup command is the startup command of user's appointment, be specifically as follows the installation path with operational factor, for example, " D: Boson NetSim Net Designer.EXE "-mpq ball.mpq ".Unloading order can be for calling the Uninstaller of this application program, and for example " unins ", this Uninstaller can be found and obtain in the installation directory of this application program.
In another kind of situation, server can push the application identities of web application and the download address of installation file to browser, and browser generates application program identification and startup command after obtaining, and comprises the order of downloading this web application.As shown in Figure 4, after obtaining address link (installation path or download address), grouping information, application program identification, service time, application identities picture, application program capacity, startup command and/or unloading order, can generate shortcut list, and be stored in the preset database sqlite of browser side.Wherein, Id is that application program identification, Path are that address link, Last_updated are that service time, Image_data are that application identities picture, Size are that application program capacity, Folder are that grouping information, Cmd are order (for example startup command, unloading order).
Call address link from database again, or address link and application identities picture show in application packet corresponding shown in Fig. 2 or Fig. 3.Particularly, can adopt queryShortCut (id) from database, to read the application identities picture (Icon picture) of shortcut.
In a preferred embodiment of the present invention, described shortcut comprises be mutually related application identities picture and address link, and described step 101 specifically can comprise following sub-step:
Sub-step S11, triggers the application identities picture of described application program in browser side;
Sub-step S12, triggers described address by described picture and links;
Or,
Sub-step S13, triggers the address link of described application program in browser side.
User triggers shortcut in browser side, can be the application identities picture that triggers application program, triggers described address link by described picture; Or, directly trigger the address link of described application program.
Step 102, extracts the application program identification in described shortcut;
When user triggers after shortcut, can extract the application program identification of this shortcut, adopt this application program identification in database, to search corresponding startup command.
Step 103 is extracted startup command corresponding to described application program identification in preset database;
In actual applications, can adopt application program identification in shortcut list, to search corresponding record.
Particularly, can adopt queryAppInfo (pid) from database read application program various command (for example startup command, unloading order, the finish command, stop monitor command, delete command, suspending command, viral sense command, sandbox action command etc.).
In specific implementation, when shortcut that described shortcut is local application, described startup command can comprise the installation addresses of described local application, or described startup command can comprise installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command can comprise the download address of described web application.
Step 104, adopts described startup command to start described application program.
When this application program is local application, can adopt this startup command directly to start this local application.
As shown in Figure 2, after application program launching, for ease of management, can be divided in the grouping of " opened application program ", this grouping can be divided into according to the method for operation " running background " and " forms operation " two groups, and the application program in " running background " is the application program at system running background, for example security application, application program in " forms operation " for example, for adopting the application program of forms mode operation, instant messenger.
When this application program is web application, described step 104 specifically can comprise following sub-step:
Sub-step S21, adopts described startup command to download described web application from described download address;
Sub-step S22, installs and starts described application program.
Particularly, can adopt this startup command from download address, to download the installation file of this web application, installation file is carried out, after fitting operation, starting this application program.
With reference to Fig. 5, show a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application 2 in browser, described application program can comprise shortcut, described shortcut can comprise application program identification, and described method specifically can comprise the steps:
Step 501, triggers the shortcut of described application program in browser side;
Step 502, extracts the application program identification in described shortcut;
Step 503 is extracted startup command corresponding to described application program identification in preset database;
Step 504, adopts described startup command to start described application program;
Step 505, adds the application program identification of described application program in preset process list to;
The indicated application program of application program identification in process list, can start by triggering shortcut in browser side.
In specific implementation, can adopt addAppsPool (info) to carry out, addAppsPool (info) can work as while using shortcut to carry out an application program, and the process process of adding to of application program is safeguarded in pond.
Step 506, obtains the performance information of the application program of application program identification in described process list indication;
In specific implementation, described performance information can comprise process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
Particularly, can adopt class info class to carry out the operation of obtaining performance information.Class info class is the information of each process unit in process list, and class info is the derivative class of a process class, comprises shortcut information simultaneously, can be used for the corresponding performance information of collection process, also can be used for operating each process.
In class info class, there is a special case, the application program that is exactly is performed repeatedly, what on backstage, generate like this is a plurality of different info examples, they have the sign of different Pid and identical shortcut, under these circumstances, for the displaying of shortcut, their notification message can show in same shortcut, can show the number of the Application Instance that carry out on backstage simultaneously.In the displayed page of process, owing to being different processes, their can take process as unit, show.
The performance information of the application program of wherein, obtaining by described process instruction character can comprise following one or more:
The special-purpose working set of process indications (Pid), user name, session id, CPU usage, CPU time, internal memory working set, internal memory peak working set, internal memory working set increment, internal memory, internal memory submit that size, memory pages Buffer Pool, the non-page Buffer Pool of internal memory, page fault, Page Faults Delta, base priority, handle count, Thread Count, user object, I/O read, I/O writes to, I/O other, I/O reads byte/order line, descriptor.
In actual applications, employing getAllApps () can be from the process Pid that obtains all processes pond that safeguards of process.
Adopt getAppInfo (pid) can obtain the information of the process of specifying Pid, these progress informations can comprise process name, Icon picture, Pid, user name, CPU usage, memory usage, handles handle, thread information, GDI information, I/O information, descriptor, startup command information, Starting Executing Time etc.
Certainly, above-mentioned performance information, just as example, when implementing the embodiment of the present invention, can arrange other performance informations according to actual conditions, and the embodiment of the present invention is not limited this.In addition, except above-mentioned performance information, those skilled in the art can also adopt other performance information according to actual needs, and the embodiment of the present invention is not limited this yet.
Step 507, shows the performance information of described application program at the first preset displayed page.
During the first displayed page in user's open any browser, the embodiment of the present invention can be accessed the process in current process list, constantly returns to the performance information of the process in current process list, and constantly refreshes the first displayed page.
With reference to Fig. 6, show a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application 3 in browser, described application program can comprise shortcut, described shortcut can comprise application program identification, and described method specifically can comprise the steps:
Step 601, triggers the shortcut of described application program in browser side;
Step 602, extracts the application program identification in described shortcut;
Step 603 is extracted startup command corresponding to described application program identification in preset database;
Step 604, adopts described startup command to start described application program;
Step 605, adds the application program identification of described application program in preset process list to;
Step 606, obtains the performance information in Preset Time section of the application program of application program identification in described process list indication;
Step 607 is carried out corresponding displaying by the performance information in described Preset Time section in the second preset displayed page;
Or,
Step 608, generates report file by the performance information in described Preset Time section.
When user selects progress informations to check or during process report for one or more application programs, the embodiment of the present invention can be obtained the performance information in Preset Time section of one or more process, and returns at the second displayed page of browsing wherein and show.Wherein, Preset Time section can be from starting this application program to the current time.
Certainly, also the performance information of the Preset Time section getting can be generated to report file (for example photo-document, Word document, PDF document etc.) and return to active user.Particularly, adopt doGenReport () can generation process to derive the formatted data of report file.
With reference to Fig. 7, show a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application 4 in browser, described application program can comprise shortcut, described shortcut can comprise application program identification, and described method specifically can comprise the steps:
Step 701, triggers the shortcut of described application program in browser side;
Step 702, extracts the application program identification in described shortcut;
Step 703 is extracted startup command corresponding to described application program identification in preset database;
Step 504, adopts described startup command to start described application program;
Step 705, adds the application program identification of described application program in preset process list to;
Step 706, obtains the notification message of the application program of the indication of application program identification in described process list;
When starting application program, application program the inside hangs a Hook(hook again), Hook can application program corresponding to poll obtains the notification message of operating system, for example chat message of instant chat application program.
Hook is a platform of windows messaging treatment mechanism, and application program can arrange sub-journey in the above to monitor certain message of specified window, and the window monitoring can be that other processes create.After message arrives, before processing function, target window processes it.Hook Mechanism allows application program to intercept and capture and processes window message or particular event.
Hook is actually the program segment of a processing messages, by system call, it is hung into system.Whenever specific message is sent, before not arriving object window, hook program is just first caught this message, that is the first controlled power of Hook Function.At this moment Hook Function can process this message of processing (change), also can not deal with and continue to transmit this message, can also force the transmission of end.
In specific implementation, can adopt timer class to carry out obtaining of message informing.Timer class can be responsible for registration and regularly carry out the class of notification message prompting, and it is mainly used to process the various things relevant with time poll, such as the message informing of the application program having started being obtained and maintenance to process list.
Step 707, carries out corresponding prompting at the 3rd preset displayed page for described notification message.
Hook can preserve the notification message of the process of application program, and they are returned at the 3rd displayed page of browsing wherein, the 3rd displayed page meeting time display, if the process of corresponding shortcut has got message informing, the application identities picture of the shortcut in the 3rd displayed page flashes or other prompting.
With reference to Fig. 8, show a kind of according to an embodiment of the invention flow chart of steps of the embodiment of the method running application 5 in browser, described application program can comprise shortcut, described shortcut can comprise application program identification, and described method specifically can comprise the steps:
Step 801, triggers the shortcut of described application program in browser side;
Step 802, extracts the application program identification in described shortcut;
Step 803 is extracted startup command corresponding to described application program identification in preset database;
Step 804, adopts described startup command to start described application program;
Step 805, when receive for described application program identification operational order time, from fill order corresponding to operational order described in described extracting data, according to described fill order, carry out corresponding operation.
In specific implementation, user can, at the first displayed page or the second displayed page or the 3rd displayed page, initiate operational order for described application program identification.
Particularly, described operational order can comprise for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser can comprise the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system can comprise the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
With reference to Fig. 9, show according to an embodiment of the invention a kind of preferred exemplary figure of step 805, described step 805 specifically can comprise following sub-step:
Sub-step S31, the finish command corresponding to operational order for the end process of described application program identification, adopts described the finish command to finish the operation of application program corresponding to described application program identification;
In specific implementation, the finish command can be preset in database, adopts application program identification to find the finish command in the shortcut list of database, and then adopts the operation of the finish command end application.
Particularly, adopt doEndApp (pid) can finish the operation of the process Pid of execution.
And/or,
Sub-step S32, for the operational order that stops monitoring of described application program identification corresponding stop monitor command, stopping monitor command described in employing finishes the monitoring to application program corresponding to described application program identification;
In specific implementation, stopping monitor command can being preset in database, adopt application program identification to find and stop monitor command in the shortcut list of database, and then adopt and stop monitor command and stop monitoring application program, can not return to notification message, capability message etc.
And/or,
Sub-step S33, delete command corresponding to operational order for the deletion of described application program identification, adopts described delete command that described application program identification is deleted from current page;
In specific implementation, delete command can be preset in database, adopt application program identification to find delete command in the shortcut list of database, and then adopt delete command that application program is deleted from current page (the first displayed page or the second displayed page or the 3rd displayed page).
And/or,
Sub-step S34, for the unloading order corresponding to operational order of the unloading of described application program identification, adopts described unloading order by application program unloading corresponding to described application program identification;
In specific implementation, unloading order can be preset in database, adopts application program identification in the shortcut list of database, to find unloading order, and then adopts unloading order that application program is unloaded from the equipment at browser place.
And/or,
Sub-step S35, for the suspending command corresponding to operational order of the hang-up of described application program identification, adopts described suspending command to carry out pending operation to application program corresponding to described application program identification;
It should be noted that, after application program unloading, just the relevant information of this application program (address link, grouping information, application program identification, service time, application identities picture, application program capacity, startup command and/or unloading order etc.) can be deleted from browser.
In specific implementation, suspending command can be preset in database, adopt application program identification to find suspending command in the shortcut list of database, and then adopt suspending command application programs to carry out pending operation, the state that is about to application program temporarily retains.
And/or,
Sub-step S36, viral sense command corresponding to operational order detecting for the virus of described application program identification, adopts described viral sense command to carry out virus to application program corresponding to described application program identification and detects;
Particularly, virus refers to establishment or the destruction computer function that inserts in computer program or destroys data, affect computing machine use and one group of computer instruction or program code that can self-replacation.Virus has the features such as parasitics, infectiousness, latency, disguise, destructiveness and ignitionability.
While there is virus in current application program being detected, can obtain the safety detection data about Virus Info, described Virus Info specifically can comprise viral load, Virus Type, viral position, viral attribute etc.
The present invention directly application programs carries out virus detection, avoids starting the operation steps that antivirus software is chosen application program, is convenient for users to operate, and has improved the security of operating system.
And/or,
Sub-step S37, sandbox action command corresponding to operational order for the sandbox operation of described application program identification, adopts described sandbox action command that application program corresponding to described application program identification is placed in to sandbox and moves.
In specific implementation, sandbox action command can be preset in database, adopt application program identification to find sandbox action command in the shortcut list of database, and then sandbox action command is placed in sandbox by application program corresponding to application program identification and move.
Wherein, can adopt the order of doExecuteApp (cmd) direct control system, comprise the operation of common operation and husky phase.
Particularly, the isolation sandbox technology of browser kernel is browser kernel, such as IE or firefox, has built the virtual execution environment of a safety.Any disk write operation that user does by browser, all will be redirected in a specific temporary folder.Like this, even if comprise the rogue programs such as virus, wooden horse, advertisement in webpage, after installing by force, be also just installed in temporary folder, can not worked the mischief to subscriber equipment.Browser kernel is responsible for the explanation of webpage grammer (as HTML, JavaScript) and is played up (demonstration) webpage.So, the engine that common so-called browser kernel is namely downloaded, resolves, carries out, played up the page, this engine has determined the browser how content of display web page and the format information of the page.
The present invention can directly adopt sandbox to run application, and is convenient for users to operate, avoid application program application program run directly in operating system, improved the security of operating system.
Certainly, aforesaid operations instruction, just as example, when implementing the embodiment of the present invention, can arrange other operational orders according to actual conditions, and the embodiment of the present invention is not limited this.In addition, except aforesaid operations instruction, those skilled in the art can also adopt other operational order according to actual needs, and the embodiment of the present invention is not limited this yet.
In order to facilitate those skilled in the art to understand better the present invention, with reference to Figure 10, below by a complete example, illustrate further the present invention:
The embodiment of the present invention, function, can be divided into four fractions, is responsible for respectively different functions and realizes, be respectively related each other, these four fractions not: foreground web services, database service, application program service and process service.
Web service: the structure of Web service as shown in figure 11, can comprise shortcut foreground and the task management page, and it belongs to user's interface, and User Page is all provided by Web service.Except providing the page, the behavior of relative users is responsible in Web service, as runs application, unloads by the program of using, query performance information etc.Its similar local website, provides 3 pages: user's shortcut page (the 3rd displayed page), the process monitoring page (the first displayed page) and process derive the report page (the second displayed page).Its Data Source comprises database service and process service.
Database service: the persistence object of database service is storage, for application program provides application data.This is two-way process, and essence can be storage and the demonstration of database data.The interface that user provides interpolation, deletes and run application.All operations finally trigger by on-link mode (OLM), are passed to backstage, then the data in database sqlite are carried out to corresponding additions and deletions and change and look into operation.The operation comprising has:
1,, when user opens the shortcut page, the information of all shortcuts is inquired about in database service, passes to Web service;
2,, when user add shortcut, database service receives the parameter that Web service is transmitted, and in database, adds data;
3, when user revises and delete shortcut, database service receives the parameter that Web service is transmitted, and revises and delete corresponding data;
4, when user selects download and mode quick for installation, the parameter that Web service is transmitted is accepted in database service, to database, adds data.
Application program service: and in operating system, interface corresponding to application program carries out information interaction, main three parts form:
When 1, user selects to carry out shortcut, Web service response, carries out corresponding system command, opens corresponding operating system, and the process identification (PID) of opening is joined in process list;
2, when user selects to unload application program, Web service response, and carry out the system command unloading;
3, compile process list, the continuous notification message of these processes of Hook, and constantly return to web services, and in the page, provide corresponding feedback (as flash etc.).
Process service: the core of process service is that the process list of background service is carried out to reading and operating of data, and mutual by Web service and consumer process, it comprise alternately 3 parts, be respectively that process data monitoring, process control and process are checked:
1, when user opens the data monitoring page, the service of Web service access process, the details of the process in current process list are constantly returned in process service, and constantly refresh front page layout;
2, when user chooses certain process, while carrying out the operations such as end process, Web service passes to process service by parameter, and the parameter that process service is transmitted according to user is carried out corresponding system command;
3, when user selects progress information to check or process reports, Web service meeting sends to process service by order, all historical datas of one or more process of process service acquisition (being determined by parameter), and return to Web service, Web service is presented at corresponding information on the page, or generation report file sends to subscriber's local.
The boundary of the present invention is fuzzy operating system and network, the execution entrance of also having desalinated operating system, more application program and safety function of operation system also can directly be linked in browser.Mode in browser deal with data, part completes demonstration by the page, all data are stored in database sqlite, the built-in application program control center on browser backstage, as a service, can connect front page layout and background data base sqlite, and application programs and process manage in the aspect of this control.The browser of thinking that can be vivid is a simple three-tier architecture, but added and the mutual orders such as application program and operating system at logical process layer, finally completed in browser and to have used and the method for dispatch application software, can progressively replace the desktop of windows operating system.
The door that browser of the present invention can be used as operating system progressively replaces user's desktop, based on desktop shortcuts mode of operation, has also transferred on the page, and operating system is simpler, and performance can significantly improve.
Application program of the present invention is finally carried out by browser calling system, and its executive mode is controlled by browser, and the execution of application program is more safe and reliable, and browser also can progressively substitute the fail-safe softwares such as antivirus software.
For embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not subject to the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action might not be that the embodiment of the present invention is necessary.
With reference to Figure 12, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment 1 running application in browser, described application program can comprise shortcut, and described shortcut can comprise application program identification, and described device specifically can comprise as lower module:
Shortcut trigger module 1201, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1202, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1203, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1204, be suitable for adopting described startup command to start described application program.
In a preferred embodiment of the present invention, described shortcut comprises be mutually related application identities picture and address link, and described shortcut trigger module can also be suitable for:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
In a preferred embodiment of the present invention, described shortcut can comprise the shortcut of local application and/or the shortcut of web application;
Described local application can be for being arranged on the application program of browser side place equipment; Described web application can installation file be stored in the application program of network.
In a preferred embodiment of the present invention, when shortcut that described shortcut is local application, described startup command can comprise the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command can comprise the download address of described web application.
In a preferred embodiment of the present invention, described startup module can also be suitable for:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
With reference to Figure 13, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment 2 running application in browser, described application program can comprise shortcut, and described shortcut can comprise application program identification, and described device specifically can comprise as lower module:
Shortcut trigger module 1301, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1302, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1303, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1304, be suitable for adopting described startup command to start described application program;
Process list adds module 1305, is suitable for the application program identification of described application program to add in preset process list;
The first performance acquisition of information module 1306, is suitable for obtaining the performance information of the application program of application program identification in described process list indication;
Load-on module 1307, is suitable for showing at the first preset displayed page the performance information of described application program.
In a preferred embodiment of the present invention, described performance information can comprise process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
With reference to Figure 14, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment 3 running application in browser, described application program can comprise shortcut, and described shortcut can comprise application program identification, and described device specifically can comprise as lower module:
Shortcut trigger module 1401, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1402, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1403, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1404, be suitable for adopting described startup command to start described application program;
Process list adds module 1405, is suitable for the application program identification of described application program to add in preset process list;
The second performance acquisition of information module 1406, is suitable for obtaining the performance information in Preset Time section of the application program of application program identification in described process list indication;
Display module 1407, is suitable for the performance information in described Preset Time section to carry out corresponding displaying in the second preset displayed page;
Or,
Report file generation module 1408, is suitable for the performance information in described Preset Time section to generate report file.
With reference to Figure 15, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment 4 running application in browser, described application program can comprise shortcut, and described shortcut can comprise application program identification, and described device specifically can comprise as lower module:
Shortcut trigger module 1501, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1502, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1503, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1504, be suitable for adopting described startup command to start described application program;
Process list adds module 1505, is suitable for the application program identification of described application program to add in preset process list;
Notification message acquisition module 1506, is suitable for obtaining the notification message of the application program of the indication of application program identification in described process list;
Reminding module 1507, is suitable for for described notification message, carrying out corresponding prompting at the 3rd preset displayed page.
With reference to Figure 16, show the structured flowchart of a kind of according to an embodiment of the invention device embodiment 5 running application in browser, described application program can comprise shortcut, and described shortcut can comprise application program identification, and described device specifically can comprise as lower module:
Shortcut trigger module 1601, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1602, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1603, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1604, be suitable for adopting described startup command to start described application program.
Operational order execution module 1605, is suitable for, when the operational order receiving for described application program identification, from fill order corresponding to operational order described in described extracting data, according to described fill order, carrying out corresponding operation.
In a preferred embodiment of the present invention, described operational order can comprise for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser can comprise the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system can comprise the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
With reference to Figure 17, show the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 1, described browser can comprise the shortcut of application program, and described shortcut can comprise application program identification, and described browser specifically can comprise as lower module:
Shortcut trigger module 1701, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1702, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1703, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1704, be suitable for adopting described startup command to start described application program.
In a preferred embodiment of the present invention, described shortcut comprises be mutually related application identities picture and address link, and described shortcut trigger module can also be suitable for:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
In a preferred embodiment of the present invention, described shortcut can comprise the shortcut of local application and/or the shortcut of web application;
Described local application can be for being arranged on the application program of browser side place equipment; Described web application can installation file be stored in the application program of network.
In a preferred embodiment of the present invention, when shortcut that described shortcut is local application, described startup command can comprise the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command can comprise the download address of described web application.
In a preferred embodiment of the present invention, described startup module can also be suitable for:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
With reference to Figure 18, show the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 2, described browser can comprise the shortcut of application program, and described shortcut can comprise application program identification, and described browser specifically can comprise as lower module:
Shortcut trigger module 1801, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1802, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1803, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1804, be suitable for adopting described startup command to start described application program;
Process list adds module 1805, is suitable for the application program identification of described application program to add in preset process list;
The first performance acquisition of information module 1806, is suitable for obtaining the performance information of the application program of application program identification in described process list indication;
Load-on module 1807, is suitable for showing at the first preset displayed page the performance information of described application program.
In a preferred embodiment of the present invention, described performance information can comprise process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
With reference to Figure 19, show the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 3, described browser can comprise the shortcut of application program, and described shortcut can comprise application program identification, and described browser specifically can comprise as lower module:
Shortcut trigger module 1901, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 1902, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 1903, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 1904, be suitable for adopting described startup command to start described application program;
Process list adds module 1905, is suitable for the application program identification of described application program to add in preset process list;
The second performance acquisition of information module 1906, is suitable for obtaining the performance information in Preset Time section of the application program of application program identification in described process list indication;
Display module 1907, is suitable for the performance information in described Preset Time section to carry out corresponding displaying in the second preset displayed page;
Or,
Report file generation module 1908, is suitable for the performance information in described Preset Time section to generate report file.
With reference to Figure 20, show the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 4, described browser can comprise the shortcut of application program, and described shortcut can comprise application program identification, and described browser specifically can comprise as lower module:
Shortcut trigger module 2001, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 2002, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 2003, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 2004, be suitable for adopting described startup command to start described application program;
Process list adds module 2005, is suitable for the application program identification of described application program to add in preset process list;
Notification message acquisition module 2006, is suitable for obtaining the notification message of the application program of the indication of application program identification in described process list;
Reminding module 2007, is suitable for for described notification message, carrying out corresponding prompting at the 3rd preset displayed page.
With reference to Figure 21, show the structured flowchart of a kind of according to an embodiment of the invention browser embodiment 5, described browser can comprise the shortcut of application program, and described shortcut can comprise application program identification, and described browser specifically can comprise as lower module:
Shortcut trigger module 2101, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module 2102, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module 2103, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module 2104, be suitable for adopting described startup command to start described application program.
Operational order execution module 2105, is suitable for, when the operational order receiving for described application program identification, from fill order corresponding to operational order described in described extracting data, according to described fill order, carrying out corresponding operation.
In a preferred embodiment of the present invention, described operational order can comprise for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser can comprise the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system can comprise the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
In order to facilitate those skilled in the art to understand better the present invention, with reference to Figure 22, below by a browser example, illustrate further the present invention:
The browser of the embodiment of the present invention can comprise 4 major parts: the shortcut page, browser backstage, operating system are correlated with and process front page layout, and between various piece, relation has:
A, shortcut arrange the page by user's setting, and shortcut parameter and configuration are written in the database sqlite on browser backstage;
B, user by selecting and click shortcut are carried out the link in the page, execution parameter is passed to application program controlling center, application program controlling center is by related command in these parameter reading databases sqlite file, then according to related command executive utility, and return to progress information;
C, application program controlling center obtain the message informing in operating system by poll, the message of the application program having started are limited in (as the message of instant messenger, bullet frame message etc.) in the shortcut having started;
Some particular application in D, operating system (as TXT document, counter etc.) and path can be given tacit consent to and joined in shortcut; When installing and unloading application programs, can automatically add and delete corresponding shortcut, as a registry operations of browser oneself;
E, user select after the unloading operation of shortcut, and the application program unloading order of meeting invokes application control center, according to the supplemental characteristic unloading application program of database sqlite;
F, process front page layout can read the process data at application program controlling center, and are shown in the page, and these data can be by selecting generating report forms; Finish selected process, can send the order of end process to application program controlling center, process the finish command of application program controlling center executive system.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the equipment running application in browser of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method running application in browser, described application program comprises shortcut, and described shortcut comprises application program identification, and described method comprises:
In browser side, trigger the shortcut of described application program;
Extract the application program identification in described shortcut;
In preset database, extract startup command corresponding to described application program identification;
Adopt described startup command to start described application program.
A2, the method as described in A1, described shortcut comprises application identities picture and the address link that is mutually related, the described step that triggers the shortcut of described application program in browser side comprises:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
A3, the method as described in A1, described shortcut comprises the shortcut of local application and/or the shortcut of web application;
Described local application is the application program that is arranged on browser side place equipment; Described web application is the application program that installation file is stored in network.
A4, the method as described in A3, when shortcut that described shortcut is local application, described startup command comprises the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command comprises the download address of described web application.
A5, the method as described in A3, the step that the described startup command of described employing starts described application program comprises:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
A6, the method as described in A1, also comprise:
The application program identification of described application program is added in preset process list.
A7, the method as described in A6, also comprise:
Obtain the performance information of the application program of the application program identification indication in described process list;
The performance information that shows described application program at the first preset displayed page.
A8, the method as described in A7, described performance information comprises process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
A9, the method as described in A6, also comprise:
Obtain the performance information in Preset Time section of the application program of the application program identification indication in described process list;
Performance information in described Preset Time section is carried out to corresponding displaying in the second preset displayed page;
Or,
Performance information in described Preset Time section is generated to report file.
A10, the method as described in A6, also comprise:
Obtain the notification message of the application program of application program identification indication in described process list;
At the 3rd preset displayed page, for described notification message, carry out corresponding prompting.
A11, the method as described in A7 or A8 or A9 or A10, also comprise:
When receive for described application program identification operational order time, from fill order corresponding to operational order described in described extracting data, according to described fill order, carry out corresponding operation.
A12, the method as described in A11, described operational order comprises for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser comprises the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system comprises the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
The invention also discloses B13, a kind of device running application in browser, described application program comprises shortcut, and described shortcut comprises application program identification, and described device comprises:
Shortcut trigger module, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module, be suitable for adopting described startup command to start described application program.
B14, the device as described in B13, described shortcut comprises be mutually related application identities picture and address link, described shortcut trigger module is also suitable for:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
B15, the device as described in B13, described shortcut comprises the shortcut of local application and/or the shortcut of web application;
Described local application is the application program that is arranged on browser side place equipment; Described web application is the application program that installation file is stored in network.
B16, the device as described in B15, when shortcut that described shortcut is local application, described startup command comprises the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command comprises the download address of described web application.
B7, the device as described in B15, described startup module is also suitable for:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
B18, the device as described in B13, also comprise:
Process list adds module, is suitable for the application program identification of described application program to add in preset process list.
B19, the device as described in B18, also comprise:
The first performance acquisition of information module, is suitable for obtaining the performance information of the application program of application program identification in described process list indication;
Load-on module, is suitable for showing at the first preset displayed page the performance information of described application program.
B20, the device as described in B19, described performance information comprises process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
B21, the device as described in B18, also comprise:
The second performance acquisition of information module, is suitable for obtaining the performance information in Preset Time section of the application program of application program identification in described process list indication;
Display module, is suitable for the performance information in described Preset Time section to carry out corresponding displaying in the second preset displayed page;
Or,
Report file generation module, is suitable for the performance information in described Preset Time section to generate report file.
B22, the device as described in B18, also comprise:
Notification message acquisition module, is suitable for obtaining the notification message of the application program of the indication of application program identification in described process list;
Reminding module, is suitable for for described notification message, carrying out corresponding prompting at the 3rd preset displayed page.
B23, the device as described in B19 or B20 or B21 or B22, also comprise:
Operational order execution module, is suitable for, when the operational order receiving for described application program identification, from fill order corresponding to operational order described in described extracting data, according to described fill order, carrying out corresponding operation.
B24, the device as described in B23, described operational order comprises for the operational order of browser and/or for the operational order of operating system;
The described operational order for browser comprises the operational order of end process, the operational order that stops monitoring and/or the operational order of deletion;
The described operational order for operating system comprises the operational order of unloading, the operational order of the operational order of hang-up, virus detection and/or the operational order of sandbox operation.
The invention also discloses C25, a kind of browser, described browser comprises the shortcut of application program, and described shortcut comprises application program identification, and described browser comprises the device running application in browser described in B13 to B24 any one.

Claims (10)

1. the method running application in browser, described application program comprises shortcut, and described shortcut comprises application program identification, and described method comprises:
In browser side, trigger the shortcut of described application program;
Extract the application program identification in described shortcut;
In preset database, extract startup command corresponding to described application program identification;
Adopt described startup command to start described application program.
2. the method for claim 1, is characterized in that, described shortcut comprises application identities picture and the address link that is mutually related, and the described step that triggers the shortcut of described application program in browser side comprises:
In browser side, trigger the application identities picture of described application program;
By described picture, triggering described address links;
Or,
In browser side, trigger the address link of described application program.
3. the method for claim 1, is characterized in that, described shortcut comprises the shortcut of local application and/or the shortcut of web application;
Described local application is the application program that is arranged on browser side place equipment; Described web application is the application program that installation file is stored in network.
4. method as claimed in claim 3, is characterized in that,
When shortcut that described shortcut is local application, described startup command comprises the installation addresses of described local application, or described startup command comprises installation addresses and the operational factor thereof of described local application;
When shortcut that described shortcut is web application, described startup command comprises the download address of described web application.
5. method as claimed in claim 3, is characterized in that, the step that the described startup command of described employing starts described application program comprises:
Adopt described startup command to download described web application from described download address;
Install and start described application program.
6. the method for claim 1, is characterized in that, also comprises:
The application program identification of described application program is added in preset process list.
7. method as claimed in claim 6, is characterized in that, also comprises:
Obtain the performance information of the application program of the application program identification indication in described process list;
The performance information that shows described application program at the first preset displayed page.
8. method as claimed in claim 7, is characterized in that, described performance information comprises process instruction character, and, the performance information of the application program of obtaining by described process instruction character.
9. the device running application in browser, described application program comprises shortcut, and described shortcut comprises application program identification, and described device comprises:
Shortcut trigger module, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module, be suitable for adopting described startup command to start described application program.
10. a browser, described browser comprises the shortcut of application program, and described shortcut comprises application program identification, and described browser comprises:
Shortcut trigger module, is suitable for triggering in browser side the shortcut of described application program;
Application program identification extraction module, is suitable for extracting the application program identification in described shortcut;
Startup command acquisition module, is suitable for extracting startup command corresponding to described application program identification in preset database;
Start module, be suitable for adopting described startup command to start described application program.
CN201310591211.2A 2013-11-20 2013-11-20 Method and device for running application program in browser and browser Pending CN103678505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310591211.2A CN103678505A (en) 2013-11-20 2013-11-20 Method and device for running application program in browser and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310591211.2A CN103678505A (en) 2013-11-20 2013-11-20 Method and device for running application program in browser and browser

Publications (1)

Publication Number Publication Date
CN103678505A true CN103678505A (en) 2014-03-26

Family

ID=50316050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310591211.2A Pending CN103678505A (en) 2013-11-20 2013-11-20 Method and device for running application program in browser and browser

Country Status (1)

Country Link
CN (1) CN103678505A (en)

Cited By (11)

* 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
CN105468445A (en) * 2015-11-20 2016-04-06 Tcl集团股份有限公司 WEB-based Spark application program scheduling method and system
CN105468397A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Software running data processing method and software running data processing apparatus
WO2016095686A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method for performing communication between browser and mobile terminal, and browser device
CN106933615A (en) * 2015-12-31 2017-07-07 阿里巴巴集团控股有限公司 The awakening method and device of APP applications
CN108347456A (en) * 2017-01-22 2018-07-31 腾讯科技(北京)有限公司 A kind of application program method for down loading and device
CN108446565A (en) * 2018-03-08 2018-08-24 福建深空信息技术有限公司 A kind of order delivery method of information security software
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
CN111198830A (en) * 2019-11-22 2020-05-26 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN114036369A (en) * 2021-10-20 2022-02-11 北京鲸鲮信息系统技术有限公司 Method, apparatus, device, medium and product for browser to access application
CN116010941A (en) * 2023-03-28 2023-04-25 之江实验室 Multi-center medical queue construction system and method based on sandboxes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146119A (en) * 2007-10-25 2008-03-19 珠海金山软件股份有限公司 A device and method for browser-cross self-adapted call of local function
CN103034517A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for loading browser control tool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146119A (en) * 2007-10-25 2008-03-19 珠海金山软件股份有限公司 A device and method for browser-cross self-adapted call of local function
CN103034517A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for loading browser control tool

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GOOGLE: "Chrome浏览器通知中心上线 弹出式窗口通知", 《HTTP://WWW.KEJIXUN.COM/ARTICLE/201307/13122.HTML》 *
IUNION: "浏览器判断是否安装了ios/android客户端程序", 《HTTP://BLOG.CSDN.NET/IUNION/ARTICLE/DETAILS/10327665/》》 *
百度百科: "如何查看管理chrome浏览器的任务及性能", 《HTTP://JINGYAN.BAIDU.COM/ARTICLE/E2284B2B337FBDE2E7118D6C.HTML》 *

Cited By (17)

* 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
CN105468397A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Software running data processing method and software running data processing apparatus
WO2016095686A1 (en) * 2014-12-19 2016-06-23 北京奇虎科技有限公司 Method for performing communication between browser and mobile terminal, and browser device
US10193737B2 (en) 2014-12-19 2019-01-29 Beijing Qihoo Technology Company Limited Method for performing communication between browser and mobile terminal, and browser apparatus
CN105468445A (en) * 2015-11-20 2016-04-06 Tcl集团股份有限公司 WEB-based Spark application program scheduling method and system
CN105468445B (en) * 2015-11-20 2020-01-14 Tcl集团股份有限公司 WEB-based Spark application program scheduling method and system
CN106933615B (en) * 2015-12-31 2020-08-18 阿里巴巴集团控股有限公司 APP awakening method and device
CN106933615A (en) * 2015-12-31 2017-07-07 阿里巴巴集团控股有限公司 The awakening method and device of APP applications
CN108347456A (en) * 2017-01-22 2018-07-31 腾讯科技(北京)有限公司 A kind of application program method for down loading and device
CN108347456B (en) * 2017-01-22 2021-09-10 腾讯科技(北京)有限公司 Application program downloading method and device
CN108446565A (en) * 2018-03-08 2018-08-24 福建深空信息技术有限公司 A kind of order delivery method of information security software
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
CN111198830B (en) * 2019-11-22 2021-08-10 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN111198830A (en) * 2019-11-22 2020-05-26 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN114036369A (en) * 2021-10-20 2022-02-11 北京鲸鲮信息系统技术有限公司 Method, apparatus, device, medium and product for browser to access application
CN114036369B (en) * 2021-10-20 2024-04-30 北京字节跳动网络技术有限公司 Method, device, equipment, medium and product for accessing application by browser
CN116010941A (en) * 2023-03-28 2023-04-25 之江实验室 Multi-center medical queue construction system and method based on sandboxes

Similar Documents

Publication Publication Date Title
CN103678505A (en) Method and device for running application program in browser and browser
CN103678506A (en) Method and device for loading application program shortcuts in browser and browser
CN104598809B (en) Program monitoring method and defending method thereof, as well as relevant device
CN104885092B (en) Security system and method for operating system
CN103827809B (en) For the system and method for virtual partition monitoring
EP3035191B1 (en) Identifying source code used to build executable files
CN104239786B (en) Exempt from ROOT Initiative Defenses collocation method and device
CN105574411A (en) Dynamic unshelling method, device and equipment
CN104462879A (en) Root-free running control method and device of application program
CN104408367A (en) Application program configuration method and device
CN104376255A (en) Application program running control method and device
CN104536981A (en) Browser safety achieving method, browser client-side and device
WO2014139300A1 (en) Method and device for loading a plug-in
CN102902909A (en) System and method for preventing file from being tampered
US11468130B2 (en) Data retrieval system and method
CN104050417A (en) Method and device for detecting software states at mobile terminal
CN104462880A (en) Application program packing configuration method and device
CN103617055B (en) A kind of method, apparatus and browser for starting application program in a browser
US9558014B2 (en) System, method and apparatus for transparently enabling software applications with adaptive user interfaces
CN103177115A (en) Method and device of extracting page link of webpage
WO2018140487A1 (en) System and method for encapsulating computer communications
CN106897607A (en) A kind of method for monitoring application program and device
CN102779244A (en) Method and device for carrying out file operation
CN104572197B (en) A kind for the treatment of method and apparatus of startup item
CN104239797A (en) Active defense 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326