CN107809383A - A kind of map paths method and device based on MVC - Google Patents

A kind of map paths method and device based on MVC Download PDF

Info

Publication number
CN107809383A
CN107809383A CN201610812509.5A CN201610812509A CN107809383A CN 107809383 A CN107809383 A CN 107809383A CN 201610812509 A CN201610812509 A CN 201610812509A CN 107809383 A CN107809383 A CN 107809383A
Authority
CN
China
Prior art keywords
file
function
routing
routing file
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610812509.5A
Other languages
Chinese (zh)
Other versions
CN107809383B (en
Inventor
何彦军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610812509.5A priority Critical patent/CN107809383B/en
Publication of CN107809383A publication Critical patent/CN107809383A/en
Application granted granted Critical
Publication of CN107809383B publication Critical patent/CN107809383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of map paths method and device based on MVC, obtains the configuration file for depositing path for including routing file;The function name of each function in acquisition routing file, the directory name of higher level's catalogue of routing file, the filename of routing file and routing file;By configuration processor storage corresponding to each function into the internal memory of server;Storage function path and the mapping relations of the storage location of the function in the server.The present invention can realize the mapping relations of automatic store path and function, without the mapping relations of manual configuration function, significantly improve the mapping speed in function and path.In addition, function is stored in the internal memory of server by the present invention, when reception to user accesses, can rapidly from internal memory call function, eliminate the time for reading file, be effectively improved access efficiency.

Description

A kind of map paths method and device based on MVC
Technical field
The present invention relates to Internet technical field, more particularly to a kind of map paths method and device based on MVC.
Background technology
Software systems have been developed so far increasingly complexity, and many detailed problems are also paid close attention in processing business logic, Such as the problems such as issued transaction, security, data flow control, draw an analogy, to realize the function of a user's registration, server End need to do data the verification of secure context, as SQL injection attack and XSS injection attacks, in addition it is also necessary to do access frequency Control etc., after these logics are fully completed, just perform the logic for user profile being persisted to database, thus may be used To see, these logics are all general, are not dependent on service logic.Mapping refers to manual configuration user to MVC by hand The resource path of request and the mapping relations of routing function function.The full names of MVC are Model View Controller, are models (model) abbreviation of-view (view)-controller (controller), a kind of Software for Design model, is patrolled with a kind of business Collect, the method tissue code of data, interface display separation, service logic is gathered into an inside components, in improvement and individual character While changing Custom Interface and user mutual, it is not necessary to write service logic again.MVC is grown up for mapping by uniqueness In the structure of graphic user interface of traditional input, processing and output function in a logic.
If all adding these codes in the service logic of everywhere, the workload of exploitation is not only increased, but also it is unfavorable In the maintenance in later stage.Mapping is typically added by way of mapping by hand in the prior art.For example, function a is some route work( Energy function, if it is desired to allowing the request that URL is A by function a processing, it is necessary to manually add A and a mapping in a program.
The problem of can only being added manually for map paths in correlation technique, effective solution is not yet proposed at present.
The content of the invention
The inventors found that:Although the mapping relations of prior art are without stylistic limitation, it would be preferable to support more It is cumbersome to one mapping relations, but very, often add one piece of routing function function be required for manually set URL with it Mapping relations, so, file structure may not be according to modular organizations, and are also easy to malfunction, and look into and also appear to not Intuitively.In order to solve this problem, the invention provides a kind of map paths method based on MVC, including:
Configuration file is obtained, the configuration file includes the storage path of routing file;
The filename of routing file, the directory name of higher level's catalogue of routing file, routing file is obtained according to configuration file And in routing file each function function name;
By configuration processor storage corresponding to each function into the internal memory of server;
Storage includes the directory name of higher level's catalogue, the filename of routing file, the letter of routing file of the routing file Several law paths and the mapping relations of the storage location of the function in the server;Wherein, it is described in the law path The directory name of higher level's catalogue of routing file, the filename of routing file, the function name of routing file are arranged by pre-defined rule.
Further, the configuration file also includes:The information and Page Template file of data source, the letter of the data source Breath includes:IP address, port numbers and the database-name of database.
Further, it is described that routing file is obtained according to configuration file, including:
The path deposited according to the routing file that is set in configuration file, travel through under the directory search of the configuration file catalogue Routing file.
Further, the module name in the entitled MVC of catalogue of higher level's catalogue of the routing file.
Further, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
Present invention also offers a kind of request responding method, including:
Receive the request of client;Uniform resource position mark URL is included in the request;
The URL is parsed, obtains filename, the higher level's directory name and function name of file in the URL;
Search whether mapping relations corresponding with the filename of acquisition, higher level's directory name of file and function name be present; The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, the function of routing file The law path of name and the mapping relations of the storage location of the function in the server;Wherein, in the law path, the road Arranged by the function name of the directory name of higher level's catalogue of file, the filename of routing file, routing file by pre-defined rule;
If so, then obtain the storage location of the function in the server according to the mapping relations found;
Perform the function.
Further, if so, then according to the mapping relations found, the storage location of the function in the server is obtained Afterwards, methods described also includes:If it is not, then refusal respond request.
Further, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
Correspondingly, the invention provides a kind of map paths device based on MVC, including:
Configuration file acquisition module, for obtaining configuration file, the configuration file includes the storage path of routing file;
Routing file acquisition module, for the mesh according to configuration file acquisition routing file, higher level's catalogue of routing file Record name, routing file filename and routing file in each function function name;
Memory module, for configuration processor corresponding to each function to be stored into the internal memory of server;
Mapping block, the filename of directory name, routing file for higher level catalogue of the storage comprising the routing file, The law path of the function name of routing file and the mapping relations of the storage location of the function in the server;Wherein, the letter In number path, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are pressed pre- It is fixed regularly arranged.
Further, the routing file acquisition module, is additionally operable to:
The path deposited according to the routing file that is set in configuration file, travel through under the directory search of the configuration file catalogue Routing file.
Further, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
Present invention also offers one kind to ask responding device, including:
Request receiving module, for receiving the request of client;Uniform resource position mark URL is included in the request;
Parsing module, for parsing the URL, obtain filename, the higher level's directory name and letter of file in the URL It is several;
Searching modul, for searching whether exist and the filename of acquisition, higher level's directory name of file and function name pair The mapping relations answered;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, road By the law path and the mapping relations of the storage location of the function in the server of the function name of file;Wherein, the function In path, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are pressed predetermined It is regularly arranged;
Position acquisition module, for according to the mapping relations found, obtaining the storage position of the function in the server Put;
Execution module, for performing the function.
Further, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
In embodiments of the present invention, the configuration file in the storage path for including routing file is obtained;Obtained according to configuration file Take the letter of each function in routing file, the directory name of higher level's catalogue of routing file, the filename of routing file and routing file It is several;By configuration processor storage corresponding to each function into the internal memory of server;Storage includes the routing file The directory name of higher level's catalogue, the filename of routing file, routing file function name law path and the function in server In storage location mapping relations.So as to realize the mapping relations of automatic store path and function, without manual configuration function Mapping relations, significantly improve the mapping speed in function and path.In addition, function is stored in the internal memory of server by the present invention In, when reception to user accesses, can rapidly from internal memory call function, eliminate the time for reading file, effectively Ground improves access efficiency.
URL and routing function function are automatically set up mapping relations by the present invention, when routing function function is write Its access URL is just had determined that, so not only can preferably manage route, while also saves and mapping relations is set Work, and bibliographic structure can also become apparent from;Service logic is abstracted and sought unity of action, developer can be absorbed in business The exploitation of logic, this will greatly reduce the workload of exploitation.As long as developer is under the catalogue of configuration according to certain specification Constituent act structure, writes routing function function, thus has determined that what URL request will be handled by the function. And MVC frameworks to be done in addition to handling these logics, it is exactly according to modular specification constituent act structure, realizes Resource/Action to Controller/Method conversion, simplify processing logic.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to implementing The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the hardware configuration frame of the terminal of the map paths method according to embodiments of the present invention based on MVC Figure;
Fig. 2 is the flow chart of the map paths method according to embodiments of the present invention based on MVC;
Fig. 3 is the flow chart of request responding method according to embodiments of the present invention;
Fig. 4 is another flow chart of request responding method according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the map paths device according to embodiments of the present invention based on MVC;
Fig. 6 is the schematic diagram of request responding device according to embodiments of the present invention;
Fig. 7 is the structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the map paths method based on MVC, it is necessary to explanation It is that can be performed the step of the flow of accompanying drawing illustrates in the computer system of such as one group computer executable instructions, Also, although logical order is shown in flow charts, in some cases, can be with different from order execution herein Shown or described step.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by running on computer terminals, Fig. 1 is that the path according to embodiments of the present invention based on MVC is reflected The hardware block diagram of the terminal of shooting method.As shown in figure 1, terminal 100 can include one or more (figures In only show one) (processor 102 can include but is not limited to Micro-processor MCV or PLD to processor 102 FPGA etc. processing unit), the memory 104 for data storage and the transmitting device 106 for communication function.Ability Domain those of ordinary skill is appreciated that the structure shown in Fig. 1 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation It is fixed.For example, terminal 100 may also include than shown in Fig. 1 more either less components or with shown in Fig. 1 Different configurations.
Memory 104 can be used for storage application software software program and module, as in the embodiment of the present invention based on Programmed instruction/module corresponding to MVC map paths method, processor 102 are stored in the software in memory 104 by operation Program and module, so as to perform various function application and data processing, that is, realize the above-mentioned map paths side based on MVC Method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic is deposited Storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise relatively In the remotely located memory of processor 102, these remote memories can pass through network connection to terminal 10.It is above-mentioned The example of network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 100 provide.In an example, transmitting device 106 includes a network Adapter (Network Interface Controller, referred to as NIC), it can be connected by base station with other network equipments So as to be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter Referred to as RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides the map paths method as shown in Figure 2 based on MVC.This method It can apply in intelligent terminal, by the computing device in intelligent terminal, intelligent terminal can be intelligence Mobile phone, tablet personal computer etc..At least one application program is installed, the embodiment of the present invention does not limit application in intelligent terminal The species of program, can be system class application program, or software class application program.
Fig. 2 is the flow chart of the map paths method according to embodiments of the present invention based on MVC.As shown in Fig. 2 this is based on A kind of optional scheme of MVC map paths method comprises the following steps:
Step 201, configuration file is obtained, the configuration file includes the storage path of routing file.
In the scheme that the application above-mentioned steps S201 is provided, service startup is to initialize some data, object etc., and It is cached, for being used during service operation;Need to create database connection pool etc..Configuration file is the information relevant with environment, The storage path of information, routing file including data source and Page Template file;The information of the data source includes:Database IP address, port numbers and database-name;Configuration file is stored in internal memory;By taking node.js as an example, software will perform needs Entry file;Entry file and configuration file are stored in different places, and entry file will parse the information of configuration file. Node.js is a platform established when being run based on Chrome JavaScript, for easily build fast response time, It is easy to the network application of extension.Certainly, in addition to node.js, Java, c++ etc. be can also be.
Step S202, according to configuration file acquisition routing file, directory name, the routing file of higher level's catalogue of routing file Filename and routing file in each function function name.
As an alternative embodiment, in step S202, it is described that routing file is obtained according to configuration file, including: The path deposited according to the routing file that is set in configuration file, travel through the route text under the directory search of the configuration file catalogue Part.
Step S203, by configuration processor storage corresponding to each function into the internal memory of server.
In the scheme that the application above-mentioned steps S203 is provided, configuration processor corresponding to function is to refer to from internal memory directly Connect the source code of the configuration processor of reading, that is, machine language.Function is also referred to as method, and configuration processor committed memory space is non- It is often few, it can be neglected.
Step S204, the directory name of higher level catalogue of the storage comprising the routing file, the filename of routing file, route The law path of the function name of file and the mapping relations of the storage location of the function in the server.
In the scheme that the application above-mentioned steps S204 is provided, in the law path, higher level's mesh of the routing file The directory name of record, the filename of routing file, the function name of routing file are arranged by pre-defined rule.Due to the higher level of routing file The directory name of catalogue, the filename of routing file, the function name of routing file are arranged by pre-defined rule, are visited when server receives When asking request, law path can be obtained according to predetermined rule parsing address, according to law path and the function in server In the mapping relations of storage location directly find the configuration processor of function.
As an alternative embodiment, in step S204, the entitled MVC of catalogue of higher level's catalogue of the routing file In module name.The module of the present invention, can be logged on the functional modules such as module, Registering modules, individual center.Storage includes institute State the directory name of higher level's catalogue of routing file, the filename of routing file, routing file function name law path with should The mapping relations of the storage location of function in the server, refer to the mapping relations of above-mentioned law path to be configured to configuration file In.
As an alternative embodiment, in step S204, in the law path, higher level's mesh of the routing file The directory name of record, the filename of routing file, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
For example, it is module name in the directory name of module catalogue next stage, here with mould in some MVC framework Exemplified by the entitled activity of block, controller catalogues are created under activity catalogues, this catalogue is deposited under the module All routing files, such as entitled url file is exactly one of routing file here, have one in url this file Individual redirect function, function processing redirect, then, after local service startup, access http:// During this request of localhost/activity/url/redirect, program can forward the request to this redirect letter automatically Number processing, without this mapping relations of manual configuration.
In the solution of the present invention, if developer under the catalogue of configuration according to predetermined specification constituent act structure, Routing function function is write, thus has determined that what url request will be handled by the function, that is to say, that according to The solution of the present invention, due to storing the directory name of higher level's catalogue for including the routing file, the filename of routing file, road By the law path and the mapping relations of the storage location of the function in the server of the function name of file, sent according to client URL request, the configuration processor of function can be directly found.When adding one piece of routing function function, it is not necessary to set manually Url and its mapping relations, so, it is not easy to malfunction, check very directly perceived.
The embodiments of the invention provide a kind of map paths method based on MVC, obtains the storage road for including routing file The configuration file in footpath;The text of routing file, the directory name of higher level's catalogue of routing file, routing file is obtained according to configuration file The function name of each function in part name and routing file;By configuration processor storage corresponding to each function to the internal memory of server In;Storage comprising the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file function name Law path and the mapping relations of the storage location of the function in the server.So as to realize reflecting for automatic store path and function Relation is penetrated, without the mapping relations of manual configuration function, significantly improves the mapping speed in function and path.It is in addition, of the invention Function is stored in the internal memory of server, when reception to user accesses, can rapidly from internal memory call function, save The time of reading file has been gone, has been effectively improved access efficiency.In addition, the present invention realizes the modular organization of bibliographic structure; The operation of manual configuration is saved, improves development efficiency;Versatility code and service code have preferably been separated, and can have been improved generation The durability of code.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, there is provided a kind of embodiment of request responding method.In the running environment of such as embodiment 1 Under, this application provides request responding method as shown in Figure 3.Fig. 3 is the method for request response according to embodiments of the present invention Flow chart.As shown in figure 3, a kind of optional scheme of the method for request response comprises the following steps:
Step S301, receive the request of client;Uniform resource position mark URL is included in the request.
In the scheme that the application above-mentioned steps S301 is provided, executive agent is service end, is to be used to uniformly connect specifically Receive the distributor of all requests.The request that client is sent can have diversified forms, as long as realizing that the request of data interaction is suitable For the application, such as:Link, http web-page requests, agreement etc..
Step S302, the URL is parsed, obtain filename, the higher level's directory name and function of file in the URL Name.
Step S303, search whether in the presence of corresponding with the filename of acquisition, higher level's directory name of file and function name Mapping relations;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, route text The law path of the function name of part and the mapping relations of the storage location of the function in the server.
In the scheme that the application above-mentioned steps S303 is provided, in the law path, higher level's catalogue of the routing file Directory name, the filename of routing file, the function name of routing file by pre-defined rule arrange.
Optionally, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:In the law path, higher level's catalogue of the routing file Directory name, the filename of routing file, the function name of routing file be arranged in order.
Such as:The URL of request must be similar http:The form of // domain name/module name/filename/method name, otherwise will Device identification will not be distributed.For example, a request is
http://localhost/activity/url/redirect URL, it can be obtained after being parsed by distributor Module name is activity, and filename is url, and method name is redirect, thus can clearly know that the request will be by Redirect methods processing in url files under activity catalogues, and before servicing startup, in server memory Cache this law path or be referred to as routeing, therefore according to module name, the filename for parsing to obtain from URL, distributor Can finds the configuration processor of this function from internal memory.
Step S304, if so, then obtaining the storage position of the function in the server according to the mapping relations found Put.
Step S305, perform the function.
In the scheme that the application above-mentioned steps S305 is provided, route and then the function name obtained according to parsing are found, Or referred to as method name, it is possible to the function specified in execution route, then just complete Resource/Action and arrive Controller/Method conversion.
As an alternative embodiment, as shown in figure 4, the application after step S304, methods described also includes:Step Rapid S306, if it is not, then refusal respond request.
The application above-mentioned steps S305 provide scheme in, service end do not have search with acquisition filename, file it is upper Mapping relations corresponding to level directory name and function name, then mean the mapping relations of no cache path, or, parsing URL request does not meet predetermined form.Now, for example, server can send signal, the request is refused.
The embodiments of the invention provide a kind of request responding method, this method is by receiving the request of client;It is described to ask Uniform resource position mark URL is included in asking;The URL is parsed, obtains filename, higher level's directory name of file in the URL Title and function name;Find in the presence of mapping relations corresponding with the filename of acquisition, higher level's directory name of file and function name; The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, the function of routing file The law path of name is with after the mapping relations of the storage location of the function in the server, according to the mapping relations found, obtaining Take the storage location of the function in the server;Perform the function.The present invention is according to the letter prestored in the server The mapping relations in number path, upon receiving a request, according to mapping relations, the filename analytically obtained, higher level's mesh of file Storage location of the function in internal memory is directly found in record title and function name, so as to significantly improve the speed of respond request. Further, since realizing the modular organization of bibliographic structure, the operation of manual configuration can be saved, improves development efficiency, and in fact Versatility code and service code have now preferably been separated, has improved the durability of code.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 3
According to embodiments of the present invention, a kind of map paths device based on MVC is additionally provided.As shown in figure 5, the device bag Include:Configuration file acquisition module 10, routing file acquisition module 20, memory module 30, mapping block 40.
Configuration file acquisition module 10, for obtaining configuration file, the configuration file includes the storage road of routing file Footpath.
Routing file acquisition module 20, for obtaining the higher level catalogue of routing file, routing file according to configuration file Directory name, routing file filename and routing file in each function function name.
Memory module 30, for configuration processor corresponding to each function to be stored into the internal memory of server.
Mapping block 40, the file of directory name, routing file for higher level catalogue of the storage comprising the routing file Name, the law path of the function name of routing file and the mapping relations of the storage location of the function in the server;Wherein, it is described In law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are pressed Pre-defined rule arranges.
In the map paths device based on MVC of the embodiment, configuration file acquisition module 10 is used to perform the present invention in fact The step S201 in example is applied, routing file acquisition module 20 is used to perform the step S202 in the embodiment of the present invention, memory module 30 are used to perform the step S203 in the embodiment of the present invention, and mapping block 40 is used to perform the step in the embodiment of the present invention S204。
As an alternative embodiment, the routing file acquisition module 20, is additionally operable to:Set according in configuration file The path for the routing file storage put, travels through the routing file under the directory search of the configuration file catalogue.
Optionally, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:
In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, route text The function name of part is arranged in order.
Embodiment 4
According to embodiments of the present invention, a kind of request responding device is additionally provided.As shown in fig. 6, the device includes:Request connects Receive module 601, parsing module 602, searching modul 603, position acquisition module 604, execution module 605.
Request receiving module 601, for receiving the request of client;Uniform resource position mark URL is included in the request;
Parsing module 602, for parsing the URL, obtain filename, higher level's directory name of file in the URL And function name;
Searching modul 603, for searching whether exist and the filename of acquisition, higher level's directory name of file and function name Corresponding mapping relations;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, The law path of the function name of routing file and the mapping relations of the storage location of the function in the server;Wherein, the letter In number path, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are pressed pre- It is fixed regularly arranged;
Position acquisition module 604, for according to the mapping relations found, obtaining the storage of the function in the server Position;
Execution module 605, for performing the function.
In the request responding device of the embodiment, request receiving module 601 is used to perform the step in the embodiment of the present invention S301, parsing module 602 are used to perform the step S302 in the embodiment of the present invention, and searching modul 603 is used to perform the present invention in fact The step S303 in example is applied, position acquisition module 604 is used to perform the step S304 in the embodiment of the present invention, execution module 605 For performing the step S305 in the embodiment of the present invention.
Optionally, in the law path, directory name, the file of routing file of higher level's catalogue of the routing file Name, the function name of routing file are arranged by pre-defined rule, including:In the law path, higher level's catalogue of the routing file Directory name, the filename of routing file, the function name of routing file be arranged in order.
Embodiment 5
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For preserving the program code performed by a kind of map paths method based on MVC of above-described embodiment.
Alternatively, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network At least one network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
The first step, obtains configuration file, and the configuration file includes the storage path of routing file.
Second step, routing file, the directory name of higher level's catalogue of routing file, routing file are obtained according to configuration file The function name of each function in filename and routing file.
3rd step, by configuration processor storage corresponding to each function into the internal memory of server.
4th step, the directory name of higher level catalogue of the storage comprising the routing file, the filename of routing file, route text The law path of the function name of part and the mapping relations of the storage location of the function in the server;Wherein, the law path In, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file press pre-defined rule Arrangement.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:According to configuration file The path of the routing file storage of middle setting, travels through the routing file under the directory search of the configuration file catalogue.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Embodiment 6
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For preserving the program code performed by a kind of request responding method of above-described embodiment.
Alternatively, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network At least one network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
The first step, receive the request of client;Uniform resource position mark URL is included in the request.
Second step, the URL is parsed, obtain filename, the higher level's directory name and function name of file in the URL.
3rd step, search whether to exist and the filename of acquisition, higher level's directory name of file and function name is corresponding reflects Penetrate relation;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, routing file Function name law path and the storage location of the function in the server mapping relations;Wherein, in the law path, The directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are arranged by pre-defined rule Row.
4th step, if so, then obtaining the storage location of the function in the server according to the mapping relations found.
5th step, perform the function.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:According to configuration file The path of the routing file storage of middle setting, travels through the routing file under the directory search of the configuration file catalogue.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Embodiment 7
Embodiments of the invention also provide a kind of terminal, and the terminal can be in terminal group Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with mobile terminal Deng terminal device.
Alternatively, in the present embodiment, above computer terminal can be located in multiple network equipments of computer network At least one network equipment.
Alternatively, Fig. 7 is the structured flowchart of terminal according to embodiments of the present invention.As shown in fig. 7, the computer Terminal A can include:One or more (one is only shown in figure) processor 161, memory 163 and transmitting devices 165.
Wherein, memory 163 can be used for storage software program and module, such as the short text classification in the embodiment of the present invention Method and apparatus corresponding to programmed instruction/module, processor 161 is stored in software program in memory 163 by operation And module, so as to perform various function application and data processing, that is, realize above-mentioned short text classification.Memory 163 can Including high speed random access memory, nonvolatile memory can also be included, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 163 can further comprise relative to processor 161 Remotely located memory, these remote memories can pass through network connection to terminal A.The example bag of above-mentioned network Include but be not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 165 is used to data are received or sent via a network.Above-mentioned network instantiation It may include cable network and wireless network.In an example, transmitting device 165 includes a network adapter, and it can pass through Netting twine is connected with other network equipments with router so as to be communicated with internet or LAN.In an example, pass Defeated device 165 is radio-frequency module, and it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 163 is used for information, the Yi Jiying for storing deliberate action condition and default access user Use program.
Processor 161 can call the information and application program that memory 163 stores by transmitting device, following to perform Step:
Optionally, above-mentioned processor 161 can also carry out the program code of following steps:
The first step, obtains configuration file, and the configuration file includes the storage path of routing file.
Second step, routing file, the directory name of higher level's catalogue of routing file, routing file are obtained according to configuration file The function name of each function in filename and routing file.
3rd step, by configuration processor storage corresponding to each function into the internal memory of server.
4th step, the directory name of higher level catalogue of the storage comprising the routing file, the filename of routing file, route text The law path of the function name of part and the mapping relations of the storage location of the function in the server;Wherein, the law path In, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file press pre-defined rule Arrangement.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 3 Example, the present embodiment will not be repeated here.
Embodiment 8
Embodiments of the invention also provide a kind of terminal, and the terminal can be in terminal group Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with mobile terminal Deng terminal device.
Alternatively, in the present embodiment, above computer terminal can be located in multiple network equipments of computer network At least one network equipment.
Alternatively, Fig. 7 is the structured flowchart of terminal according to embodiments of the present invention.As shown in fig. 7, the computer Terminal A can include:One or more (one is only shown in figure) processor 161, memory 163 and transmitting devices 165.
Wherein, memory 163 can be used for storage software program and module, such as the short text classification in the embodiment of the present invention Method and apparatus corresponding to programmed instruction/module, processor 161 is stored in software program in memory 163 by operation And module, so as to perform various function application and data processing, that is, realize above-mentioned short text classification.Memory 163 can Including high speed random access memory, nonvolatile memory can also be included, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 163 can further comprise relative to processor 161 Remotely located memory, these remote memories can pass through network connection to terminal A.The example bag of above-mentioned network Include but be not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 165 is used to data are received or sent via a network.Above-mentioned network instantiation It may include cable network and wireless network.In an example, transmitting device 165 includes a network adapter, and it can pass through Netting twine is connected with other network equipments with router so as to be communicated with internet or LAN.In an example, pass Defeated device 165 is radio-frequency module, and it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 163 is used for information, the Yi Jiying for storing deliberate action condition and default access user Use program.
Processor 161 can call the information and application program that memory 163 stores by transmitting device, following to perform Step:
Optionally, above-mentioned processor 161 can also carry out the program code of following steps:
The first step, receive the request of client;Uniform resource position mark URL is included in the request.
Second step, the URL is parsed, obtain filename, the higher level's directory name and function name of file in the URL.
3rd step, search whether to exist and the filename of acquisition, higher level's directory name of file and function name is corresponding reflects Penetrate relation;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, routing file Function name law path and the storage location of the function in the server mapping relations;Wherein, in the law path, The directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are arranged by pre-defined rule Row.
4th step, if so, then obtaining the storage location of the function in the server according to the mapping relations found.
5th step, perform the function.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 2 and embodiment 4 Example, the present embodiment will not be repeated here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are causing one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by others side Formula is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, and only one Kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.

Claims (13)

  1. A kind of 1. map paths method based on MVC, it is characterised in that including:
    Configuration file is obtained, the configuration file includes the storage path of routing file;
    Routing file, the directory name of higher level's catalogue of routing file, the filename of routing file and road are obtained according to configuration file By the function name of each function in file;
    By configuration processor storage corresponding to each function into the internal memory of server;
    The directory name of higher level catalogue of the storage comprising the routing file, the filename of routing file, the function name of routing file Law path and the storage location of the function in the server mapping relations;Wherein, in the law path, the route The directory name of higher level's catalogue of file, the filename of routing file, the function name of routing file are arranged by pre-defined rule.
  2. 2. the map paths method according to claim 1 based on MVC, it is characterised in that the configuration file also includes: The information and Page Template file of data source, the information of the data source include:IP address, port numbers and the database of database Title.
  3. 3. the map paths method according to claim 1 based on MVC, it is characterised in that described to be obtained according to configuration file Routing file is taken, including:
    The path deposited according to the routing file that is set in configuration file, travel through the road under the directory search of the configuration file catalogue By file.
  4. 4. the map paths method according to claim 1 based on MVC, it is characterised in that the higher level of the routing file Module name in the entitled MVC of catalogue of catalogue.
  5. 5. the map paths method according to claim 1 based on MVC, it is characterised in that described in the law path The directory name of higher level's catalogue of routing file, the filename of routing file, the function name of routing file are arranged by pre-defined rule, bag Include:
    In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file Function name is arranged in order.
  6. A kind of 6. request responding method, it is characterised in that including:
    Receive the request of client;Uniform resource position mark URL is included in the request;
    The URL is parsed, obtains filename, the higher level's directory name and function name of file in the URL;
    Search whether mapping relations corresponding with the filename of acquisition, higher level's directory name of file and function name be present;It is described Mapping relations are the function name of the directory name of higher level's catalogue comprising routing file, the filename of routing file, routing file Law path and the mapping relations of the storage location of the function in the server;Wherein, in the law path, the route text The directory name of higher level's catalogue of part, the filename of routing file, the function name of routing file are arranged by pre-defined rule;
    If so, then obtain the storage location of the function in the server according to the mapping relations found;
    Perform the function.
  7. 7. request responding method according to claim 6, it is characterised in that if so, the mapping relations that then basis is found, After obtaining the storage location of the function in the server, methods described also includes:If it is not, then refusal respond request.
  8. 8. request responding method according to claim 6, it is characterised in that in the law path, the routing file The directory name of higher level's catalogue, the filename of routing file, routing file function name by pre-defined rule arrange, including:
    In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file Function name is arranged in order.
  9. A kind of 9. map paths device based on MVC, it is characterised in that including:
    Configuration file acquisition module, for obtaining configuration file, the configuration file includes the storage path of routing file;
    Routing file acquisition module, for according to configuration file obtain routing file, routing file higher level's catalogue directory name, The function name of each function in the filename and routing file of routing file;
    Memory module, for configuration processor corresponding to each function to be stored into the internal memory of server;
    Mapping block, for storing the directory name of higher level's catalogue comprising the routing file, the filename of routing file, route The law path of the function name of file and the mapping relations of the storage location of the function in the server;Wherein, the function road In footpath, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file are established rules by pre- Then arrange.
  10. 10. the map paths device according to claim 9 based on MVC, it is characterised in that the routing file obtains mould Block, it is additionally operable to:
    The path deposited according to the routing file that is set in configuration file, travel through the road under the directory search of the configuration file catalogue By file.
  11. 11. the map paths device according to claim 9 based on MVC, it is characterised in that
    In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file Function name is arranged by pre-defined rule, including:
    In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file Function name is arranged in order.
  12. 12. one kind request responding device, it is characterised in that including:
    Request receiving module, for receiving the request of client;Uniform resource position mark URL is included in the request;
    Parsing module, for parsing the URL, obtain filename, the higher level's directory name and function of file in the URL Name;
    Searching modul, for searching whether in the presence of corresponding with the filename of acquisition, higher level's directory name of file and function name Mapping relations;The mapping relations are the directory name of higher level's catalogue comprising routing file, the filename of routing file, route text The law path of the function name of part and the mapping relations of the storage location of the function in the server;Wherein, the law path In, the directory name of higher level's catalogue of the routing file, the filename of routing file, the function name of routing file press pre-defined rule Arrangement;
    Position acquisition module, for according to the mapping relations found, obtaining the storage location of the function in the server;
    Execution module, for performing the function.
  13. 13. request responding device according to claim 12, it is characterised in that in the law path, the route text The directory name of higher level's catalogue of part, the filename of routing file, the function name of routing file are arranged by pre-defined rule, including:
    In the law path, the directory name of higher level's catalogue of the routing file, the filename of routing file, routing file Function name is arranged in order.
CN201610812509.5A 2016-09-08 2016-09-08 MVC-based path mapping method and device Active CN107809383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610812509.5A CN107809383B (en) 2016-09-08 2016-09-08 MVC-based path mapping method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610812509.5A CN107809383B (en) 2016-09-08 2016-09-08 MVC-based path mapping method and device

Publications (2)

Publication Number Publication Date
CN107809383A true CN107809383A (en) 2018-03-16
CN107809383B CN107809383B (en) 2020-06-26

Family

ID=61576259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610812509.5A Active CN107809383B (en) 2016-09-08 2016-09-08 MVC-based path mapping method and device

Country Status (1)

Country Link
CN (1) CN107809383B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549545A (en) * 2018-04-20 2018-09-18 武汉极意网络科技有限公司 A kind of project organization method and system based on tornado frames
CN109271871A (en) * 2018-08-22 2019-01-25 平安科技(深圳)有限公司 Sample store path generation method, device, computer equipment and storage medium
CN109815112A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 Data debugging method, apparatus and terminal device based on functional test
CN110502232A (en) * 2018-05-16 2019-11-26 杭州海康威视系统技术有限公司 The routing address configuration method and configuration device of page application
CN110515905A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 A kind of method, apparatus and server of the configuration of routing
CN110597763A (en) * 2018-05-25 2019-12-20 杭州海康威视数字技术股份有限公司 Method and device for generating function index table
CN110674427A (en) * 2019-09-20 2020-01-10 北京达佳互联信息技术有限公司 Method, device, equipment and storage medium for responding to webpage access request
CN112000313A (en) * 2020-08-03 2020-11-27 北京达佳互联信息技术有限公司 Request response method, device, equipment and storage medium
CN113010224A (en) * 2021-03-03 2021-06-22 南方电网数字电网研究院有限公司 Front-end micro-service method, device, computer equipment and storage medium
CN113645138A (en) * 2021-08-09 2021-11-12 杭州安恒信息技术股份有限公司 Route configuration generation method and device, electronic equipment and storage medium
CN114077446A (en) * 2022-01-07 2022-02-22 宜科(天津)电子有限公司 Communication module calling system
CN114650251A (en) * 2022-03-18 2022-06-21 北京百度网讯科技有限公司 Routing table construction method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076265A1 (en) * 2003-10-01 2005-04-07 Christina Hsu Method and apparatus for supporting error handling in a web presentation architecture
US20050268277A1 (en) * 2004-06-01 2005-12-01 Uwe Reeder Dynamic contexts
CN103412892A (en) * 2013-07-23 2013-11-27 百度在线网络技术(北京)有限公司 Method and system for displaying information
CN104765596A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Request handling method and device
CN104821954A (en) * 2015-03-27 2015-08-05 中国海洋大学 Cross-platform remote procedure call method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076265A1 (en) * 2003-10-01 2005-04-07 Christina Hsu Method and apparatus for supporting error handling in a web presentation architecture
US20050268277A1 (en) * 2004-06-01 2005-12-01 Uwe Reeder Dynamic contexts
CN103412892A (en) * 2013-07-23 2013-11-27 百度在线网络技术(北京)有限公司 Method and system for displaying information
CN104765596A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Request handling method and device
CN104821954A (en) * 2015-03-27 2015-08-05 中国海洋大学 Cross-platform remote procedure call method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张志瑜: "论述PHP实现MVC框架", 《科技视界》 *
杨儒良: "基于MVC架构原理的电子文档权限管控系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549545A (en) * 2018-04-20 2018-09-18 武汉极意网络科技有限公司 A kind of project organization method and system based on tornado frames
CN110502232B (en) * 2018-05-16 2023-10-10 杭州海康威视系统技术有限公司 Routing address configuration method and device for page application
CN110502232A (en) * 2018-05-16 2019-11-26 杭州海康威视系统技术有限公司 The routing address configuration method and configuration device of page application
CN110597763B (en) * 2018-05-25 2022-06-03 杭州海康威视数字技术股份有限公司 Method and device for generating function index table
CN110597763A (en) * 2018-05-25 2019-12-20 杭州海康威视数字技术股份有限公司 Method and device for generating function index table
CN109271871A (en) * 2018-08-22 2019-01-25 平安科技(深圳)有限公司 Sample store path generation method, device, computer equipment and storage medium
CN109815112B (en) * 2018-12-14 2024-04-05 平安科技(深圳)有限公司 Data debugging method and device based on functional test and terminal equipment
CN109815112A (en) * 2018-12-14 2019-05-28 平安科技(深圳)有限公司 Data debugging method, apparatus and terminal device based on functional test
CN110515905B (en) * 2019-08-28 2023-10-20 腾讯科技(深圳)有限公司 Method, device and server for configuring route
CN110515905A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 A kind of method, apparatus and server of the configuration of routing
CN110674427A (en) * 2019-09-20 2020-01-10 北京达佳互联信息技术有限公司 Method, device, equipment and storage medium for responding to webpage access request
CN110674427B (en) * 2019-09-20 2022-04-22 北京达佳互联信息技术有限公司 Method, device, equipment and storage medium for responding to webpage access request
CN112000313A (en) * 2020-08-03 2020-11-27 北京达佳互联信息技术有限公司 Request response method, device, equipment and storage medium
CN113010224A (en) * 2021-03-03 2021-06-22 南方电网数字电网研究院有限公司 Front-end micro-service method, device, computer equipment and storage medium
CN113010224B (en) * 2021-03-03 2024-01-30 南方电网数字平台科技(广东)有限公司 Front-end micro-servitization method, front-end micro-servitization device, computer equipment and storage medium
CN113645138B (en) * 2021-08-09 2022-12-09 杭州安恒信息技术股份有限公司 Route configuration generation method and device, electronic equipment and storage medium
CN113645138A (en) * 2021-08-09 2021-11-12 杭州安恒信息技术股份有限公司 Route configuration generation method and device, electronic equipment and storage medium
CN114077446B (en) * 2022-01-07 2022-04-08 宜科(天津)电子有限公司 Communication module calling system
CN114077446A (en) * 2022-01-07 2022-02-22 宜科(天津)电子有限公司 Communication module calling system
CN114650251A (en) * 2022-03-18 2022-06-21 北京百度网讯科技有限公司 Routing table construction method, device, equipment and medium
CN114650251B (en) * 2022-03-18 2024-02-20 北京百度网讯科技有限公司 Routing table construction method, device, equipment and medium

Also Published As

Publication number Publication date
CN107809383B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN107809383A (en) A kind of map paths method and device based on MVC
CN110535831B (en) Kubernetes and network domain-based cluster security management method and device and storage medium
CN104301436B (en) Content to be displayed push, subscription, update method and its corresponding device
CN104823163B (en) Virtual machine configuration based on metadata
US20170185678A1 (en) Crawler system and method
CN107885777A (en) A kind of control method and system of the crawl web data based on collaborative reptile
CN106446049A (en) Page data interaction apparatus and method
CN104363253B (en) Website security detection method and device
CN105512044B (en) Update method and system for the library of object of keyword driving test
CN103685583A (en) Method and system for resolving domain names
CN105553999B (en) Application user behavioural analysis and method of controlling security and its corresponding device
CN109600385B (en) Access control method and device
CN106817391A (en) Document breakpoint transmission method and apparatus
CN104040538B (en) A kind of the Internet, applications exchange method, apparatus and system
CN113037891B (en) Access method and device for stateful application in edge computing system and electronic equipment
CN107948052A (en) Information crawler method, apparatus, electronic equipment and system
CN104378389A (en) Website security detecting method and device
CN104363252A (en) Website security detecting method and device
US10225358B2 (en) Page push method, device, server and system
CN114039875A (en) Data acquisition method, device and system based on eBPF technology
CN105978852A (en) Network equipment access history information determination method, equipment and switch
CN106413001A (en) Flow control method and device of wireless network connection
CN103220327B (en) user information storage method and device
CN109660497A (en) Data processing method and device, terminal, processor, storage medium
CN103077210A (en) Cloud computing based data obtaining method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant