Informatization development system based on web framework, computer equipment and computer program product
By adopting a development model based on the Web framework in the information development system, combining the fitted development bus, user plane mapping layer and Django architecture, the problems of low development efficiency, poor performance and security in the existing technology are solved, and efficient and secure cross-platform application development is achieved.
Patent Information
- Application Number
- CN202510519628.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-24
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-04-24
AI Technical Summary
The information development system in the prior art is inefficient in development, and the system performance and security are poor.
The information development system based on the Web framework is adopted, and the data processing and function implementation is implemented through the fitting development bus and user plane mapping layer, combined with the Django architecture and the multimodal system processing backend to realize the request classification and data processing logic.
Significantly improve development efficiency, ensure system performance and security, and support cross-platform applications.
Smart Images

Figure CN120034530A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new generation information technology, and in particular relates to an information development system, computer equipment and computer program product based on a web framework. Background Art
[0002] As a widely used software architecture, web framework is increasingly affecting all aspects of Internet web interaction. The full name of web framework is Web Application Framework, which is a software architecture used to build web applications. It provides developers with a set of standardized development modes and tool sets to simplify the development process of web applications. In the early stages of web development, developers needed to implement various functions from the bottom up, such as HTTP request processing, data interaction, etc., which was not only time-consuming but also prone to errors. The emergence of web framework has changed this situation. By encapsulating the underlying details, it allows developers to focus on the implementation of business logic, thereby developing dynamic websites, web applications and web services more efficiently. For example, the Django framework provides a powerful ORM system that allows developers to easily complete database operations without directly writing SQL statements.
[0003] The core functions of the Web framework are mainly reflected in the following aspects: First, it can directly process HTTP requests and responses. This means that developers can quickly generate code for processing HTTP requests through the concise syntax provided by the framework without having to go deep into the underlying network protocol. Secondly, the Web framework provides an efficient routing mechanism that can map different URLs to corresponding processing functions. This not only improves the maintainability of the code, but also enables developers to design the architecture of the website more flexibly. In addition, the framework also simplifies the data access process. Through the built-in template engine, developers can easily combine dynamic data with HTML templates to generate user interfaces. The integration of these functions greatly reduces the development workload, improves development efficiency, and also reduces the difficulty of development.
[0004] In practical applications, web frameworks are widely used in web development projects of various sizes. For small projects, such as personal blogs or small business websites, web frameworks can help developers quickly build a basic website architecture and implement data display and user interaction functions. For large and complex projects, such as e-commerce platforms or enterprise-level applications, web frameworks provide powerful support, including advanced functions such as user authentication, permission management, and data caching. Take Python's Flask framework as an example. It is widely used in various web development scenarios for its lightweight and flexibility. Developers can use the rich extensions provided by Flask to easily implement various complex functions. In addition, the web framework also supports a variety of programming languages and development environments, which allows developers to choose the right framework according to project requirements and personal preferences.
[0005] On this basis, system development based on Web framework is also in the ascendant. System development based on Web framework is a method of building and deploying network applications using ready-made Web frameworks. The core of this method is to use the abstraction layer and tool set provided by the framework to simplify the development process and improve development efficiency. By following the conventions and patterns of the framework, developers can quickly build the application's infrastructure, including routing control, data model, user interface, and business logic. This development method not only reduces the need to write code from scratch, but also enhances the stability and security of the application through the built-in functions of the framework, such as security, database interaction, and session management.
[0006] In the development of systems based on Web frameworks, developers usually use MVC (Model-View-Controller) or similar architectural patterns to organize code. This pattern separates the different concerns of the application, making the code more modular and easier to manage and maintain. The model is responsible for processing data and business rules, the view is responsible for displaying data, and the controller acts as an intermediary between the model and the view, processing user input and updating the model. In this way, developers can collaborate more easily in teams, and it also makes the testing and debugging of applications more efficient. In addition, system development based on Web frameworks also emphasizes the reusability and extensibility of code. The framework usually provides a series of libraries and plug-ins that can be shared and reused by different projects, thereby reducing development time and cost. At the same time, as the application grows and the requirements change, the modular design of the framework makes it easier to add new features or modify existing features. This flexibility is the key to quickly responding to market changes and technological advances. In short, system development based on Web frameworks not only speeds up the development process, but also helps developers build more robust, maintainable and extensible network applications by providing a set of mature solutions.
[0007] The present invention proposes an information development system based on a web framework, which executes web application generation in a development mode with front-end and back-end separated and intercommunication. The present invention firstly establishes a fitting development bus based on system function decomposition, maps the development function to the bus architecture, and separates the two major system development elements of data processing and function realization; secondly, a user interface mapping layer is used to provide front-end system functions, and the middle layer is connected to realize the clustering of user data and user requests. Thirdly, the present application adopts the Django architecture as the basic logic of the system back-end processing. On this basis, a multimodal system processing back-end that matches the request classification is introduced, which is better than the prior art, and different types of user interface requests are processed in a refined manner to realize the orderly request data processing logic. By reasonably selecting the Web framework, the development efficiency is significantly improved, the system performance and security are ensured, and cross-platform applications are supported. Summary of the invention
[0008] In view of the shortcomings of low development efficiency, poor system performance and security of information development systems in the prior art, the present invention aims to provide an information development system, computer equipment and computer program product based on a web framework that are superior to the prior art. By reasonably selecting a Web framework, the development efficiency is significantly improved, the system performance and security are ensured, and cross-platform applications are supported.
[0009] In order to achieve the above object, the technical solution of the present invention is as follows: An information development system based on a web framework, the system comprising: A fitting development bus, wherein the fitting development bus is used to perform information system development based on a web framework in a bus mode, establish a web framework fitting bus, and configure a network element architecture of the web framework fitting bus; A user plane mapping layer, which is used to build a user interaction framework, provide user interaction functions and convert user interactions into user requests in a componentized development manner and pass them to the middle layer; The middle layer receives the user request from the user plane mapping layer, performs request association, and transmits the request cluster to the first Django architecture layer based on the request association result; A first Django architecture layer, wherein the first Django architecture layer is used to perform backend request processing and data interaction based on a web framework; A second Django architecture layer, wherein the second Django architecture layer is used to perform a second type of request processing and data interaction based on a web framework; The web framework regulation layer generates a web application that conforms to the corresponding functional layer architecture and performs automatic testing based on the request processing logic configured in the fitting development bus.
[0010] Preferably, the specific network element of the web framework fitting bus corresponds to a specific functional layer of the front end or the back end; Preferably, the first Django architecture layer classifies the user request clusters mapped by the front end into first-class user requests and second-class user requests; the first Django architecture layer retains the first-class user requests and transmits the first-class user requests to the request processing module of the first Django architecture layer; the first Django architecture layer also forwards the second-class user requests to the second Django architecture layer; Preferably, the web framework fitting bus is a bus-type web system architecture, the main data transmission route is set as the bus route, and each layer of data interaction is a functional network element connected to the bus route, wherein: Fit the interaction request flow to the signaling flow of the bus; Fit data processing and transmission into bus data processing and data flow.
[0011] Preferably, the first type of user request is a request that is associated in a request cluster and is not associated with other requests; The second type of user request is a request associated with other requests in a request cluster.
[0012] Preferably, the associated requests in the request cluster are requests that need to be called by other requests in the cluster.
[0013] Preferably, the request associated with other requests in the request cluster is a request in the cluster request that needs to call other requests.
[0014] Preferably, the system further comprises a web framework regulation layer, which generates a web application conforming to a corresponding functional layer architecture and performs automatic testing based on the request processing logic configured in the fitting development bus.
[0015] Preferably, the first Django architecture layer retains the first type of user request and transmits the first type of user request to the request processing module of the first Django architecture layer, specifically: The first Django architecture layer extracts the associated information of the first type of user request, marks the associated request, and provides data processing services and request response mechanisms for the first type of user request, generates first type of response information for the first type of user request, and generates an associated processing completion identifier for the associated request of the first type of user request, attaches it to the first type of response information, and passes it to the second Django architecture layer.
[0016] Preferably, the second Django architecture layer is used to perform second-category request processing and data interaction based on the web framework, specifically: the second Django architecture layer extracts the associated information of the second-category user request, and receives the first-category response information, traces the first-category user request ID associated with it according to the request ID of the second-category user request, matches the associated request of the first-category user request in the first-category response information to generate an associated processing completion identifier, confirms whether the corresponding first-category user request has been processed, and if so, processes the second-category user request in real time; if not, suspends the corresponding thread, feeds back the pending signaling to the first Django architecture layer, and waits for the first Django architecture layer to complete the processing of the corresponding first-category user request.
[0017] At the same time, the present invention also proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the web framework-based information development system as described above when executing the program.
[0018] At the same time, the present invention also proposes a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the corresponding functions of the information development system based on the web framework as described above are executed.
[0019] The present invention proposes an information development system based on a web framework, which executes web application generation in a development mode with front-end and back-end separated and intercommunication. The present invention firstly establishes a fitting development bus based on system function decomposition, maps the development function to the bus architecture, and separates the two major system development elements of data processing and function realization; secondly, a user interface mapping layer is used to provide front-end system functions, and the middle layer is connected to realize the clustering of user data and user requests. Thirdly, the present application adopts the Django architecture as the basic logic of the system back-end processing. On this basis, a multimodal system processing back-end that matches the request classification is introduced, which is better than the prior art, and different types of user interface requests are processed in a refined manner to realize the orderly request data processing logic. By reasonably selecting the Web framework, the development efficiency is significantly improved, the system performance and security are ensured, and cross-platform applications are supported. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a basic example diagram of an information development system based on a web framework shown in the present invention; Figure 2 It is a basic example diagram of a fitting development bus in an information development system based on a web framework shown in the present invention; Figure 3It is an example diagram of the interconnection between the first Django architecture layer and the second Django architecture layer in the information development system based on the web framework claimed by the present invention; Figure 4 It is one of the embodiments of the interaction between the user plane mapping layer and the middle layer of the information development system based on the web framework claimed by the present invention; Figure 5 It is one of the specific embodiments of the interaction between the web framework regulation layer and the web framework information development system based on the web framework for protection claimed by the present invention. DETAILED DESCRIPTION
[0021] The following describes in detail several embodiments and beneficial effects of the web framework-based information development system and method claimed in the present invention to facilitate a more detailed review and analysis of the present invention.
[0022] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0023] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0025] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0026] It should be understood that although the terms first, second, etc. may be used to describe the method and the corresponding device in the embodiments of the present invention, these keywords should not be limited to these terms. These terms are only used to distinguish the keywords from each other. For example, without departing from the scope of the embodiments of the present invention, the second Django architecture layer, etc. may also be referred to as the first Django architecture layer, and the first Django architecture layer, etc. may also be referred to as the second Django architecture layer.
[0027] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0028] like Figure 1-Figure 5 As shown, it is a basic example diagram of the information development system based on the web framework shown in the present invention. As a superimposable preferred embodiment, preferably, each node or module can be interconnected with other nodes or modules for data and instruction transmission. Of course, as another superimposable preferred embodiment, some nodes may not have the interconnection with some other nodes or may be allowed to close or open the interconnection with other nodes.
[0029] like Figure 1-Figure 4 As shown, it is one of the embodiments of the web framework-based information development system and its specific internal modules and interconnected relationships claimed in the present invention. The system includes: A fitting development bus, wherein the fitting development bus is used to perform information system development based on a web framework in a bus mode, establish a web framework fitting bus, and configure a network element architecture of the web framework fitting bus; A user plane mapping layer, which is used to build a user interaction framework, provide user interaction functions and convert user interactions into user requests in a componentized development manner and pass them to the middle layer; The middle layer receives the user request from the user plane mapping layer, performs request association, and transmits the request cluster to the first Django architecture layer based on the request association result; As a superimposable preferred embodiment, the middle layer receives the user request of the user plane mapping layer, and performs request association, and based on the request association result, transmits the request cluster to the first Django architecture layer, specifically: the middle layer receives the user request of the user plane mapping layer, and determines which requests need to call other uninitiated or initiated requests, that is, the execution of request Req(i) needs to call Req(j), i, j sequence number. Among them, Req(j) is the request that is associated to be aroused or called, and Req(j) may also be one of the user requests of the user plane mapping layer, or a request that is automatically called by the system during the execution process. Then Req(i) and Req(j) will be associated as a request cluster, wherein Req(j) will be subsequently classified as a first-class user request, and Req(i) will be subsequently classified as a second-class user request. Similarly, if the execution of Req(j) must call Req(k), then Req(k) is also included in the request cluster, and Req(k) will also be classified as a first-class user request.
[0030] The first Django architecture layer uses Django to implement backend interaction of the web framework. The first Django architecture layer is used to perform backend request processing and data interaction based on the web framework; A second Django architecture layer, wherein the second Django architecture layer is used to perform a second type of request processing and data interaction based on a web framework; The web framework regulation layer generates a web application that conforms to the corresponding functional layer architecture and performs automatic testing based on the request processing logic configured in the fitting development bus.
[0031] As a superimposable preferred embodiment, a specific network element of the web framework fitting bus corresponds to a specific functional layer of the front end or the back end; As another superimposable preferred embodiment, the first Django architecture layer classifies the user request clusters mapped by the front end into first-class user requests and second-class user requests; the first Django architecture layer retains the first-class user requests and transmits the first-class user requests to the request processing module of the first Django architecture layer; the first Django architecture layer also forwards the second-class user requests to the second Django architecture layer; As another superimposable preferred embodiment, the web framework fitting bus is set as a bus-type web system architecture, the main data transmission route is set as a bus route, and each layer of data interaction is a functional network element connected to the bus route, wherein: Fit the interaction request flow to the signaling flow of the bus; Fit data processing and transmission into bus data processing and data flow.
[0032] As another superimposable preferred embodiment, the first type of user request is a request that is associated in a request cluster and is not associated with other requests; The second type of user request is a request associated with other requests in a request cluster.
[0033] As another superimposable preferred embodiment, the associated requests in the request cluster are requests that need to be called by other requests in the cluster request.
[0034] As another superimposable preferred embodiment, the request associated with other requests in the request cluster is a request in the cluster request that needs to call other requests.
[0035] As another superimposable preferred embodiment, the system further comprises a web framework regulation layer, which generates a web application conforming to a corresponding functional layer architecture and performs automatic testing based on the request processing logic configured in the fitting development bus.
[0036] Preferably, the first Django architecture layer retains the first type of user request and transmits the first type of user request to the request processing module of the first Django architecture layer, specifically: The first Django architecture layer extracts the associated information of the first type of user request, marks the associated request, and provides data processing services and request response mechanisms for the first type of user request, generates first type of response information for the first type of user request, and generates an associated processing completion identifier for the associated request of the first type of user request, attaches it to the first type of response information, and passes it to the second Django architecture layer.
[0037] As another superimposable preferred embodiment, the second Django architecture layer is used to perform second-category request processing and data interaction based on the web framework, specifically: the second Django architecture layer extracts the associated information of the second-category user request, and receives the first-category response information, traces the first-category user request ID associated with the second-category user request according to the request ID of the second-category user request, matches the associated request of the first-category user request in the first-category response information to generate an associated processing completion identifier, confirms whether the corresponding first-category user request has been processed, and if so, processes the second-category user request in real time; if not, suspends the corresponding thread, feeds back the pending signaling to the first Django architecture layer, and waits for the first Django architecture layer to complete the processing of the corresponding first-category user request.
[0038] At the same time, the present invention also proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the web framework-based information development system as described above when executing the program.
[0039] At the same time, the present invention also proposes a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the corresponding functions of the information development system based on the web framework as described above are executed.
[0040] The present invention proposes an information development system based on a web framework, which executes web application generation in a development mode with front-end and back-end separated and intercommunication. The present invention firstly establishes a fitting development bus based on system function decomposition, maps the development function to the bus architecture, and separates the two major system development elements of data processing and function realization; secondly, a user interface mapping layer is used to provide front-end system functions, and the middle layer is connected to realize the clustering of user data and user requests. Thirdly, the present application adopts the Django architecture as the basic logic of the system back-end processing. On this basis, a multimodal system processing back-end that matches the request classification is introduced, which is better than the prior art, and different types of user interface requests are processed in a refined manner to realize the orderly request data processing logic. By reasonably selecting the Web framework, the development efficiency is significantly improved, the system performance and security are ensured, and cross-platform applications are supported.
[0041] In all the above embodiments, in order to realize some special data transmission and read / write function requirements, the above method operation process and its corresponding device can add devices, modules, components, hardware, pin connections or memory, processor differences to expand functions.
[0042] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the methods, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0043] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the method steps is only a logical or functional division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0044] The units described as the various steps of the method and the separated components of the device may or may not be logically or physically separated, and may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0045] In addition, in each embodiment of the present invention, each method step, its implementation, and functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0046] The above-mentioned method and device, which can be implemented as an integrated unit in the form of a software functional unit, can be stored in a computer-readable storage medium. The above-mentioned software functional unit stored in a storage medium includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), NVRAMs, magnetic disks, or optical discs.
[0047] The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
[0048] It should be noted that the above embodiments are only used to more clearly explain and elaborate the technical solutions of the present invention, rather than limiting it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. An information development system based on a web framework, characterized by: The system comprises: A fitting development bus, wherein the fitting development bus is used to perform information system development based on a web framework in a bus mode, establish a web framework fitting bus, and configure a network element architecture of the web framework fitting bus; A user plane mapping layer, which is used to build a user interaction framework, provide user interaction functions and convert user interactions into user requests in a componentized development manner and pass them to the middle layer; The middle layer receives the user request from the user plane mapping layer, performs request association, and transmits the request cluster to the first Django architecture layer based on the request association result; A first Django architecture layer, wherein the first Django architecture layer is used to perform backend request processing and data interaction based on a web framework; The second Django architecture layer is used to perform the second type of request processing and data interaction based on the web framework.
2. The web-based information development system according to claim 1, Features: Among them, the specific network elements of the web framework fitting bus correspond to the specific functional layers of the front end or back end; The first Django architecture layer classifies the user request clusters mapped by the front end into first-class user requests and second-class user requests; the first Django architecture layer retains the first-class user requests and transmits the first-class user requests to the request processing module of the first Django architecture layer; the first Django architecture layer also forwards the second-class user requests to the second Django architecture layer; The web framework fitting bus is set as a bus-type web system architecture, the main data transmission route is set as the bus route, and each layer of data interaction is a functional network element connected to the bus route, wherein: Fit the interaction request flow to the signaling flow of the bus; Fit data processing and transmission into bus data processing and data flow.
3. The web framework-based information development system according to claim 1, characterized in that: The first type of user request is a request that is associated in a request cluster and is not associated with other requests; The second type of user request is a request associated with other requests in a request cluster.
4. The web framework-based information development system as claimed in claim 2, characterized in that: The associated requests in the request cluster are requests in the cluster that need to be called by other requests.
5. The web framework-based information development system as claimed in claim 4, characterized in that: The request associated with other requests in the request cluster is a request in the cluster request that needs to call other requests.
6. The web framework-based information development system according to claim 5, characterized in that: The system further comprises a web framework regulation layer, which generates a web application conforming to a corresponding functional layer architecture and performs automatic testing based on a request processing logic configured in a fitting development bus.
7. The web framework-based information development system as claimed in claim 4, characterized in that: The first Django architecture layer retains the first type of user request and transmits the first type of user request to the request processing module of the first Django architecture layer, specifically: The first Django architecture layer extracts the associated information of the first type of user request, marks the associated request, and provides data processing services and request response mechanisms for the first type of user request, generates first type of response information for the first type of user request, and generates an associated processing completion identifier for the associated request of the first type of user request, attaches it to the first type of response information, and passes it to the second Django architecture layer.
8. The web framework-based information development system according to claim 7, characterized in that: The second Django architecture layer is used to perform the second type of request processing and data interaction based on the web framework, specifically: The second Django architecture layer extracts the associated information of the second type of user request, receives the first type of response information, traces the first type of user request ID associated with the second type of user request according to the request ID of the second type of user request, matches the associated request of the first type of user request in the first type of response information to generate an associated processing completion mark, and confirms whether the corresponding first type of user request has been processed. If yes, the second type of user request is processed in real time; if no, the corresponding thread is suspended, and the first Django architecture layer is fed back with a pending signaling to wait for the first Django architecture layer to complete the processing of the corresponding first type of user request.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the information development system based on the web framework as described in any one of claims 1 to 8 is implemented.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the functions of the information development system based on the web framework as described in any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
Middleware system, service request processing method, electronic equipment and storage medium
CN114466070A
Django-based multi-terminal docking service system and basic environment construction method thereof
CN115757467A
Implementation method for separation of front end and rear end of architecture, architecture system and request processing method
CN116319950A
E-commerce information processing platform based on web3
CN118885206A
Modular platform for web applications and systems
US20140245255A1