Data flow modularization method and device

A data flow and modular technology, applied in the field of communication, can solve the problems of high coupling, lengthy code, low readability, etc., and achieve the effect of improving readability and reuse rate, and flexible project management

Inactive Publication Date: 2018-06-22
BEIJING QIHOO TECH CO LTD
View PDF11 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the processing process of each data stream is regarded as a complete module, and the above-mentioned process is realized through a complete module, the code of the module will be very redundant, the readability is low, and the coupling is too high. Reusable logic is flooded in modules, resulting in a waste of resources

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
  • Data flow modularization method and device
  • Data flow modularization method and device
  • Data flow modularization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0066] refer to figure 1 , shows a flow chart of the steps of Embodiment 1 of a method for modularizing data streams according to an embodiment of the present invention, which may specifically include the following steps:

[0067] Step 101, when a data loading request is detected from a page entry of a web page, a data flow processing instance is created.

[0068] In the embodiment of the present invention, the page entry ...

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

Embodiments of the invention provide a data flow modularization method and device. The method comprises the following steps of: when a data loading request is detected from a page entry of a webpage,creating a data flow processing instance; sending the data loading request to a server through the data flow processing instance; receiving webpage data returned by the server; and processing the webpage data through the data flow processing instance so as to obtain target webpage data. According to the method and device, data request, reception and processing are realized by a plurality of modules of the data flow processing instance, so that the problems of redundant code, low readability and high coupling degree caused by realizing above process by interacting front-end data and rear-end data to serve as a complete module is solved, the whole process is divided into independent small modules of the data flow processing instance, and through the code decoupling therein, the code readability and reusability are improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method for modularizing data streams and a device for modularizing data streams. Background technique [0002] With the development of network technology, in the process of website development and operation, the interaction between the front-end and back-end of the webpage is related to the efficiency of parsing, rendering and display of the webpage. [0003] The most common in web development is the front-end and back-end interaction mode, that is, the process of obtaining data through the Ajax (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) interface, processing the data and rendering it into DOM. [0004] For a web page, there will be multiple front-end and back-end interaction processes, such as opening another link on the web page, a sub-link under the link, or dynamic refresh of the page, etc., all involve obtaining data through the back-e...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54G06F9/455G06F17/30
CPCG06F9/45529G06F9/548G06F2209/549G06F16/958
Inventor 王峰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products