CN110569076A - method for realizing plug-in based on embedded browser console application program - Google Patents
method for realizing plug-in based on embedded browser console application program Download PDFInfo
- Publication number
- CN110569076A CN110569076A CN201810462667.1A CN201810462667A CN110569076A CN 110569076 A CN110569076 A CN 110569076A CN 201810462667 A CN201810462667 A CN 201810462667A CN 110569076 A CN110569076 A CN 110569076A
- Authority
- CN
- China
- Prior art keywords
- browser
- plug
- debugging
- console application
- embedded
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a method for realizing plug-in based on a console application program embedded in a browser. The method comprises the following steps: s1, the browser sets a multi-process mode; s2, the browser acquires the address and loads the plug-in program; s3, associating the browser with the plug-in process; s4, the browser opens a debugging window on the new page label to execute the debugging function and run the debugging page. When the browser is used currently, the general browser meets most functions required by users, but when some users need some specific functions, the browser cannot meet the functions, which must be realized by depending on the extension provided by the browser.
Description
Technical Field
the invention belongs to the technical field of multiprocess operation technology and browser extension plug-in, and particularly relates to a method for realizing plug-in based on a console application program embedded in a browser.
Background
At present, various browsers exist, the browsers meet the requirements of most users, but some users have special functional requirements, and the browsers cannot meet the requirements one by one, so that the browsers open interfaces of some extension plug-ins and provide the users with self-added plug-ins to meet the functional requirements of the users.
Disclosure of Invention
Technical problem to be solved
the invention mainly aims to provide a method for realizing plug-in based on a console application program embedded in a browser, aiming at solving the problems that the embedded browser loads a plug-in, meets the functions required by part of users, provides a debugging window capable of executing a debugging function and can automatically run a configured debugging page.
(II) technical scheme
In order to achieve the purpose, the invention provides a method for realizing plug-in based on a console application program embedded in a browser.
A method for realizing plug-in based on a console application program embedded in a browser comprises the following steps:
S1, the browser sets a multi-process mode;
S2, starting the browser, acquiring a loading address and loading a plug-in program;
S3, association of the browser and the plug-in process;
and S4, the browser opens a debugging window on the new tab to execute the debugging function and run a pre-configured debugging page, and the page operation is automatically executed.
Preferably, from the start of the console application, the embedded browser in step S2 is in the multi-process mode.
Preferably, the related plug-in program is started according to a preset plug-in address.
Preferably, the step S3 includes associating the browser with the plug-in process, and loading the address attribute.
Preferably, in step S4, the browser opens a debugging window on the new tab to execute the debugging function and run the pre-configured debugging page, so as to automatically execute the page operation.
preferably, in the step S1, the step S2 and the step S4, the console application module, the embedded browser module and the plug-in process module are created together in a B/S mode or a C/S mode.
Compared with the prior art, the invention has the following beneficial effects: the invention adopts a method of realizing plug-in based on the console application program embedded into the browser, provides functions which cannot be met by the browser, such as debugging page functions, automatically executing debugging pages, and replaces the manual operation of a user to perform certain operations, thereby saving a large amount of time for the user and improving the working efficiency.
drawings
the accompanying drawings, which are incorporated in and constitute a part of this patent, illustrate embodiments of the invention and, together with the description, serve to explain the invention without limitation.
FIG. 1 is a schematic flow diagram of a method according to an embodiment of the invention.
fig. 2 is a block diagram of a system configuration according to an embodiment of the present invention.
Detailed Description
the following detailed description of the present patent is to be read in connection with the accompanying drawings and is given by way of illustration and explanation only and is not intended to limit the scope of the present patent. Furthermore, features from embodiments in this document and from different embodiments may be combined accordingly by a person skilled in the art from the description in this document.
Referring to fig. 1, the present invention provides a method for implementing plug-in based on a console application embedded in a browser, and the specific implementation manner is as follows:
(1) the browser sets a multi-process mode: configuring corresponding browser parameters in a plug-in, starting a multi-process mode, and executing an instruction file of install.bat when a current computer uses the plug-in for the first time;
(2) Starting a browser, acquiring a loading address and loading a plug-in program;
(3) Association of a browser with a plug-in process;
(4) And the browser opens a debugging window on the new tab, can execute a debugging function and run a pre-configured debugging page, the functions of the debugging window comprise starting, stopping, suspending, continuing execution, information, and the functions of step execution, script execution, log output and the like, and the page operation is automatically executed.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the patented principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.
Claims (6)
1. A method for realizing plug-in based on a console application program embedded in a browser is characterized by comprising the following steps:
S1, the browser sets a multi-process mode;
S2, starting the browser, acquiring a loading address and loading a plug-in program;
S3, association of the browser and the plug-in process;
And S4, the browser opens a debugging window on the new tab to execute the debugging function and run a pre-configured debugging page, and the page operation is automatically executed.
2. The method as claimed in claim 1, wherein the browser is in multi-process mode in step S2 from the start of the console application.
3. The method for implementing plug-in based on console application embedded in browser according to claim 2, wherein the related plug-in is started according to the pre-configured plug-in address.
4. The method for implementing plug-in based on embedded browser console application program of claim 3, wherein said step S3 includes the association between browser and plug-in process, loading address attribute.
5. The method as claimed in claim 4, wherein a new tab of the debugging window is opened in the browser, which supports the running of the debugging function and can automatically execute the pre-configured debugging page.
6. The method as claimed in claim 1, wherein in the steps S1, S2 and S4, the console application module, the embedded browser module and the plug-in process module are created together in B/S mode or C/S mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810462667.1A CN110569076A (en) | 2018-05-17 | 2018-05-17 | method for realizing plug-in based on embedded browser console application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810462667.1A CN110569076A (en) | 2018-05-17 | 2018-05-17 | method for realizing plug-in based on embedded browser console application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110569076A true CN110569076A (en) | 2019-12-13 |
Family
ID=68772452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810462667.1A Pending CN110569076A (en) | 2018-05-17 | 2018-05-17 | method for realizing plug-in based on embedded browser console application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110569076A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580878A (en) * | 2020-04-29 | 2020-08-25 | 浙江大华技术股份有限公司 | Method, device, equipment and medium for realizing linkage of page and client application |
CN113064668A (en) * | 2021-03-26 | 2021-07-02 | 中国航空无线电电子研究所 | Embedded platform executable file data online loading control system |
CN113741992A (en) * | 2020-05-15 | 2021-12-03 | 永中软件股份有限公司 | Method for embedding Java application program window into browser |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618662A (en) * | 2013-11-22 | 2014-03-05 | 奇智软件(北京)有限公司 | Method and device for realizing instant communication |
-
2018
- 2018-05-17 CN CN201810462667.1A patent/CN110569076A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618662A (en) * | 2013-11-22 | 2014-03-05 | 奇智软件(北京)有限公司 | Method and device for realizing instant communication |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580878A (en) * | 2020-04-29 | 2020-08-25 | 浙江大华技术股份有限公司 | Method, device, equipment and medium for realizing linkage of page and client application |
CN113741992A (en) * | 2020-05-15 | 2021-12-03 | 永中软件股份有限公司 | Method for embedding Java application program window into browser |
CN113064668A (en) * | 2021-03-26 | 2021-07-02 | 中国航空无线电电子研究所 | Embedded platform executable file data online loading control system |
CN113064668B (en) * | 2021-03-26 | 2024-03-15 | 中国航空无线电电子研究所 | On-line loading control system for executable file data of embedded platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102236621B (en) | Computer interface information configuration system and method | |
CN110569076A (en) | method for realizing plug-in based on embedded browser console application program | |
CN100377085C (en) | Method for implementing hardware image starting optimizing of embedded operating system | |
CN102831022B (en) | The method and apparatus of amendment system configuration | |
CN109634618B (en) | TMS320C 674X-based serial boot loader loading self-starting method for processor secondary boot loader | |
CN102841802B (en) | The method for upgrading software of mobile terminal | |
CN105740139B (en) | A kind of debugging embedded software method based on virtual environment | |
TW200519752A (en) | Mechanism for enabling a program to be executed while the execution of an operating system is suspended | |
CN110347995B (en) | File saving method, device, equipment and storage medium | |
CN105183521A (en) | Method for installing computing operation system and USB port storage device | |
CN106020920A (en) | Preprocessing method and system for JCVM interpreter | |
CN109933410A (en) | A kind of fictitious order delivery method and system based on virtualization technology | |
CN104866388A (en) | Data processing method and device | |
CN112069435A (en) | Method and system for switching nginx configuration files through scripts | |
CN104714806B (en) | Script processing method based on human-computer interface system and device | |
CN110058865A (en) | A kind of program burn writing and operation method of single-chip microcontroller | |
CN104991774A (en) | System and method for guiding interception system in UEFI platform | |
CN102724591B (en) | Set top box page displaying method and set top box device | |
CN102591839B (en) | USB (universal serial bus) multiprotocol self-adaptive method | |
CN104516752A (en) | Information processing method and electronic equipment | |
US20110231583A1 (en) | Computer system and method of simulating keyboard input | |
CN106873913A (en) | A kind of method that embedded system self adaptation difference flash carries out subregion | |
CN104572180A (en) | Firmware updating method of embedded equipment and embedded system | |
CN102681898B (en) | Method for increasing transportability of AUTOSAR (AUTomotive Open System Architecture) OS MCAL driving code | |
CN109491947A (en) | A kind of PCIE add-on card heat removes the sending method and relevant apparatus of information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191213 |
|
WD01 | Invention patent application deemed withdrawn after publication |