Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for inserting script into Web application

A web application, technology for inserting a location, used in the field of data processing

Inactive Publication Date: 2016-01-06
BEIJING ONEAPM COMM TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, the existing script insertion method cannot directly insert the script into the deployed web application

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for inserting script into Web application
  • Method and apparatus for inserting script into Web application
  • Method and apparatus for inserting script into Web application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0047] The embodiment of the present invention provides a script insertion method in a web application program, such as figure 1 as shown, figure 1 It is a flow chart of a script insertion method in a Web application provided by an embodiment of the present invention, and the method includes:

[0048] S101: After receiving a web request sent by a client, determine whether the web request carries a static file identifier.

[0049] S102: If the web request does not carry a static fi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a method for inserting a script into a Web application. The method comprises: when receiving a web request sent by a client, determining whether the web request carries a static file identifier; if the web request does not carry the static file identifier, determining flow data returned for the web request; searching for a preset keyword in the flow data, and positioning a script inserting position in the flow data by means of the keyword; and finally, inserting the script into the script inserting position in the flow data, and returning the flow data inserted with the script to the client. Compared with the prior art, the method and the apparatus for inserting the script into the Web application implement the insertion of the script into the Web application that completes the deployment in a manner of the flow data.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a script insertion method and device in a Web application program. Background technique [0002] A web application is an application program that can be accessed through the web. One of the greatest benefits of web applications is applications that are easily accessible to users. Users only need to install the browser, no need to install other software. A script is an executable file written in a certain format using a specific descriptive language. Scripts can usually be invoked and executed by web applications, and various scripts can implement various functions when invoked. Before realizing the call of the script by the Web application, the script insertion in the Web application is completed first. [0003] Currently, script insertion in a web application requires pre-writing scripts directly into the web application before the web application is deployed. That ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 党兴阳洪森王美娟
Owner BEIJING ONEAPM COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products