MVC-based path mapping method and device
A mapping method and path technology, which is applied in the Internet field, can solve the problems that path mapping can only be added manually, and no solution has been proposed, so as to save the work of setting mapping relationships, manage routing well, and improve the mapping speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] According to an embodiment of the present invention, an embodiment of an MVC-based path mapping method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0056] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structural block diagram of a computer terminal based on an MVC-based path mapping method according to an embodiment of the present invention. Such as figure 1 As shown, the computer terminal 100 may include one or more (only one is shown in the figure) processor...
Embodiment 2
[0078] According to an embodiment of the present invention, an embodiment of a request response method is provided. Under the operating environment as in Example 1, the application provides the following image 3 The request-response method shown. image 3 is a flowchart of a method for requesting a response according to an embodiment of the present invention. Such as image 3 As shown, an optional scheme of the request response method includes the following steps:
[0079] Step S301, receiving a request from a client; the request includes a Uniform Resource Locator URL.
[0080] In the solution provided by the above step S301 of the present application, the execution subject is the server, specifically, the distributor for uniformly receiving all requests. The request sent by the client can be in various forms, as long as the request to realize data interaction is applicable to this application, for example: link, http webpage request, protocol, etc.
[0081] Step S302, ...
Embodiment 3
[0096] According to an embodiment of the present invention, an MVC-based path mapping device is also provided. Such as Figure 5 As shown, the device includes: a configuration file acquisition module 10 , a routing file acquisition module 20 , a storage module 30 , and a mapping module 40 .
[0097] The configuration file acquiring module 10 is configured to acquire a configuration file, and the configuration file includes a storage path of the routing file.
[0098] The routing file obtaining module 20 is used to obtain the routing file, the directory name of the upper directory of the routing file, the file name of the routing file and the function name of each function in the routing file according to the configuration file.
[0099] The storage module 30 is configured to store the execution program corresponding to each function in the memory of the server.
[0100] The mapping module 40 is used to store the mapping relationship between the directory name of the superior...
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