Encapsulation method of browser control part and device thereof
A technology of browser control and encapsulation method, which is applied in the field of network communication, can solve the problems of difficulty in memory identification, addition, and weak integration of client code, and achieve the effect of flexible mapping relationship and improved scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] In order to better describe the implementation of the present invention, the specific embodiments of the present invention are now described in conjunction with the accompanying drawings, as figure 1 Shown is a schematic flowchart of the browser control encapsulation method provided by Embodiment 1 of the present invention, and the method includes:
[0040] Step 11: Extend the application function interface of the JAVA script and encapsulate the browser control.
[0041] In this step, firstly, by extending the application function interface of the JAVA script, the custom method event can be encapsulated in the browser control. Specifically, during encapsulation, parameters and function descriptions of corresponding events may be added to the JAVA script application function interface, and the custom method event may be encapsulated in the browser control.
[0042] In a specific implementation process, the browser may be Microsoft browser IE, or other types of browsers,...
Embodiment 2
[0089] Embodiment 2 of the present invention provides a browser control packaging device, such as figure 2 Shown is a schematic structural diagram of the device provided in Embodiment 2. The device includes a browser encapsulation unit, an identifier assignment unit, a parameter acquisition unit, and an execution processing unit, wherein:
[0090] The browser encapsulation unit is used for encapsulating the custom method event in the browser control by extending the application function interface of the JAVA script.
[0091] The identifier assigning unit is used for invoking a corresponding function mapper to assign a corresponding identifier to the function of the custom method event when the browser invokes the application function interface through a JAVA script.
[0092] The parameter obtaining unit is used to obtain the function of the user-defined method event and the parameters of the function through the identifier assigned by the identifier assigning unit.
[0093] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com