Data stream analysis method, apparatus and device, and medium
A data flow analysis and data technology, applied in the field of data processing, can solve problems such as inefficiency and time-consuming
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a flow chart of a data stream analysis method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of analyzing data in the process of implementing code logic by means of a browser. The method is applied to the browser end, and can be executed by a data stream analysis device, which can be implemented by software and / or hardware. see figure 1 , a data flow analysis method provided in this embodiment includes:
[0053] S110. Obtain the JavaScript code in the resource file corresponding to the web application to be analyzed.
[0054] Specifically, the process of obtaining the JavaScript code in the resource file corresponding to the web application to be analyzed may include:
[0055]Obtaining the Uniform Resource Identifier of the web application to be analyzed determined by the user;
[0056] Sending a request to a server corresponding to the above web application according to the above uniform resource id...
Embodiment 2
[0075] figure 2 It is a flow chart of a data flow analysis method provided by the second embodiment of the present invention. This embodiment is an optional solution proposed on the basis of the first embodiment above. see figure 2 , the data flow analysis method provided in this embodiment includes:
[0076] S210. Obtain the resource file returned by the server corresponding to the web application to be analyzed.
[0077] S220. Determine the type of the resource file, and if the resource file is a JavaScript file, acquire the code therein.
[0078] S230. If the resource file is an HTML file, determine the embedded JavaScript code according to the set identifier.
[0079] S240. Determine whether the resource file corresponding to the JavaScript code is a preset ignored resource file, and if not, determine the code logic of the JavaScript code, and insert a probe into the JavaScript code according to the code logic.
[0080] S250. Execute the resource file inserted into ...
Embodiment 3
[0103] Figure 5 It is a schematic structural diagram of a data flow analysis device provided in Embodiment 3 of the present invention. see Figure 5 , The data flow analysis device provided in this embodiment includes: a code acquisition module 10 , a logic judgment module 20 , a data acquisition module 30 and a data analysis module 40 . Wherein, the code obtaining module 10 is used to obtain the JavaScript code in the resource file corresponding to the web application to be analyzed;
[0104] A logic judging module 20, configured to judge the code logic of the JavaScript code, and insert a probe into the JavaScript code according to the code logic, wherein the probe is a piece of code;
[0105] The data acquisition module 30 is used to run the resource file inserted into the probe, acquire the data in the process of implementing the code logic of the web application by means of the browser according to the probe, and record it;
[0106] The data analysis module 40 is conf...
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