Data flow control method and system based on webpage frame
A technology of data flow and web page, applied in the field of communication, can solve the problems of high error rate, code duplication, affecting the efficiency of collaborative development, etc., so as to reduce the error rate and improve the efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] This embodiment will be described from the perspective of a data flow control system based on a webpage framework (Web). The data flow control system based on a webpage framework, referred to as a data flow control system, may specifically be integrated in devices such as servers.
[0039] A data flow control method based on a web page framework, comprising: calling a single-entry function, and receiving a data processing request through the single-entry function, the data processing request carries a passed control parameter, and selects a corresponding function control module according to the control parameter , through the selected function control module, manage and operate the management function according to the control parameter, obtain the operation result, and generate corresponding processing result data according to the operation result; return the processing result data to the user through the single entry function.
[0040] Such as Figure 1b As shown, the ...
Embodiment 2
[0076] According to the method described in Embodiment 1, the following will take the Django framework as an example for further detailed description. It should be understood that this method is also applicable to other webpage frameworks, and will not be repeated here.
[0077] Such as Figure 2a As shown, the function control module (Action), template (Template) and management module (Manage) (the module shown in the thick line box in Figure 2) can be added to the existing Django framework, wherein the specifics of these three modules The function can be as follows:
[0078] 1. Function control module (Action);
[0079] The function control module is used to control data processing requests, such as function calling of each function module in the URL, and parameter organization.
[0080] 2. Template (Template);
[0081] Templates are used for data processing of hypertext markup language (html, hypertext markup language) strings, and calls between templates are controlled ...
Embodiment 3
[0126] According to the Django framework described in the second embodiment, the following will take the data processing request specifically as a webpage request as an example for detailed description.
[0127] Such as image 3 As shown, a Django-based data flow control method, the specific process can be as follows:
[0128] 301. The server receives a webpage request sent by a user, such as a Hypertext Transfer Protocol (HTTP, Hypertext Transfer Protocol) request, and the webpage request may specifically be a webpage link address, such as a URL.
[0129] Wherein, the web page request can be GET mode or POST mode; wherein, the web page request carries control parameters passed, for example, module (module) identification m, subclass (tag_name) parameter t and action (action) parameter a etc. For example, referring to the URL in Table 2, it can be seen that the module identifier m in the URL is "m=home".
[0130] 302. The server passes the web page request to the URLconf thr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
