CN113489650A - Routing method, device and equipment of client and storage medium - Google Patents

Routing method, device and equipment of client and storage medium Download PDF

Info

Publication number
CN113489650A
CN113489650A CN202110734751.6A CN202110734751A CN113489650A CN 113489650 A CN113489650 A CN 113489650A CN 202110734751 A CN202110734751 A CN 202110734751A CN 113489650 A CN113489650 A CN 113489650A
Authority
CN
China
Prior art keywords
routing
url address
routed
target
distribution module
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
CN202110734751.6A
Other languages
Chinese (zh)
Other versions
CN113489650B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN202110734751.6A priority Critical patent/CN113489650B/en
Publication of CN113489650A publication Critical patent/CN113489650A/en
Application granted granted Critical
Publication of CN113489650B publication Critical patent/CN113489650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/308Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information retaining data, e.g. retaining successful, unsuccessful communication attempts, internet access, or e-mail, internet telephony, intercept related information or call content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to the technical field of clients, and discloses a routing method, a device, equipment and a storage medium of a client, wherein the method comprises the following steps: carrying out validity check on the URL address to be routed to obtain a validity check result; when the result of the validity check is that the URL address to be routed passes through, carrying out redirection processing and parameter placeholder processing in sequence to obtain a preprocessed URL address; analyzing the preprocessed URL address by adopting a routing divider to obtain a routing keyword set; determining a target route distribution module by a route distribution module according to the route distribution module library and the route keyword set; and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module. Therefore, the routing logic is decoupled from each functional module of the client, and the application is suitable for a jump scene needing to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.

Description

Routing method, device and equipment of client and storage medium
Technical Field
The present application relates to the field of client technologies, and in particular, to a routing method, apparatus, device, and storage medium for a client.
Background
Routing logics of the existing client are all in each functional module of the client, and when code logics of the functional modules of the client are changed, the logics at all positions must be traversed globally to be modified, so that the missing modification and the wrong modification are easy to occur, and the workload of testing is increased; moreover, some route skipping scenarios often need to carry parameters, such as client version, user identifier, and other parameters, and the parameters are often unpredictable in advance and need to be dynamically acquired when the client runs, so that the skipping scenarios are difficult to process.
Disclosure of Invention
The present application mainly aims to provide a routing method, device, equipment and storage medium for a client, and aims to solve the problems that routing logics of a client in the prior art are all in each functional module of the client, and when code logics of the functional modules of the client are changed, each logic must be traversed globally to be modified, so that modification omission and modification errors are prone to occur, the workload of testing is increased, and a skip scene that parameters need to be dynamically acquired during the operation of the client to perform routing is difficult to deal with.
In order to achieve the above object, the present application provides a routing method for a client, where the method is applied to the client, and the method includes:
acquiring a URL address to be routed of a target webpage request;
carrying out validity check on the URL address to be routed to obtain a validity check result;
when the validity check result is that the URL address passes, sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address;
acquiring a routing divider, and adopting the routing divider to analyze the preprocessed URL address to obtain a routing keyword set;
acquiring a routing distribution module library, and determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
Further, the step of performing validity check on the URL address to be routed to obtain a validity check result includes:
adopting a validity check interceptor to check whether the URL address to be routed is null or not;
when the URL address to be routed is a null value, the validity check interceptor is adopted to determine that the validity check result does not pass;
when the URL address to be routed is a non-null value, adopting the validity check interceptor to obtain a routing naming rule, and checking whether the URL address to be routed conforms to the routing naming rule or not according to the routing naming rule;
and when the URL address to be routed accords with the routing naming rule, determining that the validity checking result is passed by adopting the validity checking interceptor, otherwise, determining that the validity checking result is not passed.
Further, the step of sequentially performing redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address includes:
acquiring a redirection rule, and matching the URL address to be routed according to the redirection rule to obtain a redirection matching result;
when the redirection matching result is successful, carrying out route replacement on the URL address to be routed according to the redirection route of the redirection rule to obtain a redirected URL address;
when the redirection matching result is failure, taking the URL address to be routed as the redirected URL address;
and acquiring a routing parameter placeholder table, and replacing the redirected URL address with a parameter placeholder by adopting the routing parameter placeholder table to obtain the preprocessed URL address.
Further, the redirection rule includes: original routes and the redirection routes, wherein each original route corresponds to one redirection route;
the step of matching the URL address to be routed according to the redirection rule to obtain a redirection matching result comprises the following steps:
matching the URL address to be routed with the original route of the redirection rule;
and when the original route is contained by the URL address to be routed, determining that the redirection matching result is successful, otherwise, determining that the redirection matching result is failed.
Further, the redirection rule further includes: a client version identification range, each of which corresponds to one original route and one redirection route;
the step of matching the URL address to be routed with the original route of the redirection rule further includes:
acquiring a client version identifier of a client corresponding to the URL address to be routed, and taking the client version identifier as a target client version identifier;
searching the target client version identification in the client version identification range of the redirection rule to obtain a version searching result;
and when the version searching result is successful, matching the URL address to be routed with the original route of the redirection rule.
Further, the step of determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module includes:
matching the first routing keyword in the routing keyword set in all the first-level module names of the routing distribution module library to obtain target routing distribution data to be matched;
when the type of the second routing keyword in the routing keyword set is a module name, matching the second routing keyword in the routing keyword set in all secondary module names of the target to-be-matched routing distribution data to obtain the target routing distribution module;
and when the type of the second routing keyword in the routing keyword set is not the module name, determining the target routing distribution module according to the routing distribution module in the target to-be-matched routing distribution data.
Further, the step of determining a route distribution module according to the route distribution module library and the route keyword set to obtain a target route distribution module further includes:
acquiring bottom-pocket keywords and judging whether the bottom-pocket keywords exist in the routing keyword set or not;
when the pocket bottom keywords exist in the routing keyword set, acquiring a function identifier and class complete packet name mapping table, and searching from the function identifier and class complete packet name mapping table according to the routing keywords of which the types are the function identifiers in the routing keyword set to obtain a target class complete packet name;
adopting a Java reflection mode, constructing a class instance according to the complete package name of the target class to obtain a target class instance, and taking the target class instance as the target routing distribution module;
and when the bottom pocket keyword does not exist in the routing keyword set, determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain the target routing distribution module.
The present application further provides a routing apparatus for a client, where the apparatus is applied to the client, and the apparatus includes:
the URL address acquisition module to be routed is used for acquiring the URL address to be routed of the target webpage request;
the validity check result determining module is used for carrying out validity check on the URL address to be routed to obtain a validity check result;
the preprocessed URL address determining module is used for sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain the preprocessed URL address when the validity check result is that the URL address passes;
a routing keyword set determining module, configured to obtain a routing segmenter, and analyze the preprocessed URL address by using the routing segmenter to obtain a routing keyword set;
the target routing distribution module determining module is used for acquiring a routing distribution module library, and determining the routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
and the route distribution module is used for carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
The present application further proposes a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any of the above methods when executing the computer program.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
The method comprises the steps of firstly obtaining a URL address to be routed of a target webpage request, secondly carrying out validity check on the URL address to be routed to obtain a validity check result, when the validity check result is passed, carrying out redirection processing and parameter placeholder processing on the URL address to be routed in sequence to obtain a preprocessed URL address, then adopting a routing separator to analyze the preprocessed URL address to obtain a routing keyword set, carrying out routing distribution module determination according to a routing distribution module library and the routing keyword set to obtain a target routing distribution module, and finally carrying out routing distribution on the target webpage request according to the processing class of the target routing distribution module, thereby realizing routing preprocessing and routing distribution in the client, the routing logic is decoupled from each functional module of the client, only codes of routing preprocessing and routing distribution need to be modified when the code logic of the functional module of the client is changed, the logic of each position does not need to be globally traversed for modification, and the method is suitable for a jump scene needing to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.
Drawings
Fig. 1 is a schematic flowchart of a routing method of a client according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a routing apparatus of a client according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a routing method for a client, where the method is applied to the client, and the method includes:
s1: acquiring a URL address to be routed of a target webpage request;
s2: carrying out validity check on the URL address to be routed to obtain a validity check result;
s3: when the validity check result is that the URL address passes, sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address;
s4: acquiring a routing divider, and adopting the routing divider to analyze the preprocessed URL address to obtain a routing keyword set;
s5: acquiring a routing distribution module library, and determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
s6: and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
In this embodiment, a URL address to be routed of a target web page request is first obtained, then, a validity check is performed on the URL address to be routed to obtain a validity check result, when the validity check result passes, redirection processing and parameter placeholder processing are sequentially performed on the URL address to be routed to obtain a preprocessed URL address, then, the preprocessed URL address is analyzed by using the routing partition to obtain a routing keyword set, a routing distribution module is determined according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module, and finally, the target web page request is routed according to the processing class of the target routing distribution module, so that routing preprocessing and routing distribution are performed inside a client, and a routing logic is decoupled from each function module of the client, when the code logic of the functional module of the client is changed, only the code of route preprocessing and route distribution needs to be modified, the logic of each position does not need to be globally traversed for modification, and the method and the device are suitable for a jump scene which needs to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.
For step S1, a target web page request sent by a user at a client is obtained, where the target web page request carries a URL address to be routed.
The client comprises: a client of the mobile device and a client of the computer.
And the target webpage request is a request for accessing the webpage corresponding to the URL address to be routed at the client.
The URL address to be routed is a URL (uniform resource locator) address of a web page to be accessed.
Optionally, the URL address to be routed is obtained from the parameter of the target web page request through a routing preprocessing interceptor queue of the client.
The route preprocessing interceptor queue is developed by adopting Java (object-oriented programming language) and is used for intercepting URL addresses needing routing in the client.
For S2, a validity check interceptor of the client is used, a routing naming rule is used, whether the URL address to be routed complies with the routing naming rule is checked, when the URL address to be routed complies with the routing naming rule, it is determined that the validity check result is passed, and when the URL address to be routed does not comply with the routing naming rule, it is determined that the validity check result is not passed.
The validity check interceptor is developed by Java and used for checking the validity of the URL address needing routing.
The routing naming rule is as follows: https:// ecales-local/primary module name/secondary module name/specific jump parameter, wherein https:// ecales-local is a fixed prefix, the primary module corresponding to the primary module name is the module name of the functional big module of the client, the secondary module corresponding to the secondary module name is the subdivision of the functional big module (namely the primary module), and the specific jump parameter is the jump parameter which needs to be transmitted from the outside when the specific function is opened. For example, the primary module includes: the system comprises a native module, a third-party SDK module, an internal web page and an external web page, wherein the native module comprises a secondary module as follows: home page, client, and workstation, which are not specifically limited by this example.
For example, the URL address to be routed is: https:// ecals-local/ecals-native/zebsub _ type ═ ZEB _ INDEX, https:// ecals-local is a fixed prefix,/ecals-native/zebsub _ type ═ '/' in ZEB _ INDEX is a route splitter, ("/" is a primary module name of a native module, ZEB is a secondary module name of a secondary module corresponding to the native module, zebsub _ type ═ ZEB _ INDEX is a specific hop parameter,? The latter data "sub _ type ═ ZEB _ INDEX" is a parameter that is needed for the jump ZEB function.
For S3, when the validity check result is passed, a redirection interceptor of the client is adopted to redirect the URL address to be routed; and then, performing parameter placeholder replacement processing on the URL address to be routed after redirection processing by adopting a dynamic parameter splicer of a client, and taking the URL address to be routed after the parameter placeholder replacement processing as the preprocessed URL address.
The redirection interceptor is developed by adopting Java and is used for verifying whether the URL address needing routing needs to be redirected or not and replacing the URL address needing routing by adopting a redirection rule.
The dynamic parameter splicer is developed by adopting Java and is used for checking whether the URL address needing routing needs to process the parameter placeholder or not and replacing the URL address needing routing and needing routing of the parameter site placeholder by adopting a routing parameter placeholder table.
For S4, the route divider may be acquired from the database, or the route divider input by the user may be acquired, or the route divider may be acquired from a third-party application system, or the route divider may be written in a program for implementing the present application.
And extracting routing keywords from the preprocessed URL address by adopting a routing divider '/', and taking all the extracted routing keywords as the routing keyword set.
It can be understood that the preprocessed URL addresses are sequentially extracted by routing keywords, and all routing keywords obtained by extraction are put into a set according to the extraction order, and the set is used as a routing keyword set.
The routing key includes: any one of the first-level module name, the second-level module name and the specific jump parameter.
Optionally, performing fixed prefix removal processing on the preprocessed URL address, and taking the preprocessed URL address without the fixed prefix as a URL address to be analyzed; and analyzing the URL address to be analyzed by adopting the routing segmentation character to obtain a routing keyword set.
For S5, the routing distribution module library may be obtained from a database, or the routing distribution module library input by the user may be obtained, or the routing distribution module library may be obtained from a third-party application system.
The routing distribution module library comprises: the first-level module name, the second-level module name and the route distribution module. When the first-level module name corresponds to 0 second-level module names, the first-level module name corresponds to one route distribution module, and the route distribution module at the moment is a processing class corresponding to the first-level module name. When the first-level module name corresponds to 1 or more second-level module names, each second-level module name corresponds to one routing distribution module, and the routing distribution module at the moment is a processing class corresponding to the second-level module name.
The handling class is a Java class for performing route distribution.
And matching the routing keywords in the routing keyword set in the routing distribution module library to obtain a target routing distribution module.
For step S6, executing the processing class of the target route distribution module, and performing route distribution on the target web page request to the web page corresponding to the URL address to be routed
In an embodiment, the step of performing validity check on the URL address to be routed to obtain a validity check result includes:
s21: adopting a validity check interceptor to check whether the URL address to be routed is null or not;
s22: when the URL address to be routed is a null value, the validity check interceptor is adopted to determine that the validity check result does not pass;
s23: when the URL address to be routed is a non-null value, adopting the validity check interceptor to obtain a routing naming rule, and checking whether the URL address to be routed conforms to the routing naming rule or not according to the routing naming rule;
s24: and when the URL address to be routed accords with the routing naming rule, determining that the validity checking result is passed by adopting the validity checking interceptor, otherwise, determining that the validity checking result is not passed.
According to the embodiment, whether the URL address to be routed is null-value checked and whether the URL address to be routed accords with the routing naming rule is checked in sequence, so that the phenomenon that the illegal URL address enters a subsequent process and calculation resources are wasted is avoided.
For S22, when the URL address to be routed is null, it means that there is no URL address that can be routed, and therefore, the validity check interceptor is used to directly determine that the validity check result is not passed.
For S23, when the URL address to be routed is a non-null value, it means that there is a URL address that can be routed, and the validity check interceptor is adopted to check whether each field (i.e., routing key) in the URL address to be routed conforms to the routing naming rule according to the routing naming rule.
For S24, when the URL address to be routed conforms to the routing naming rule, it means that the URL address to be routed is a URL address conforming to a client rule, and thus it is determined that the validity check result is a pass; when the URL address to be routed does not accord with the routing naming rule, the URL address to be routed is the URL address which does not accord with the client rule, and therefore the validity check result is determined to be not passed.
In an embodiment, the step of sequentially performing redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address includes:
s31: acquiring a redirection rule, and matching the URL address to be routed according to the redirection rule to obtain a redirection matching result;
s32: when the redirection matching result is successful, carrying out route replacement on the URL address to be routed according to the redirection route of the redirection rule to obtain a redirected URL address;
s33: when the redirection matching result is failure, taking the URL address to be routed as the redirected URL address;
s34: and acquiring a routing parameter placeholder table, and replacing the redirected URL address with a parameter placeholder by adopting the routing parameter placeholder table to obtain the preprocessed URL address.
In this embodiment, the URL address to be routed is redirected, so that the skip logic on the old version of the client can be compatibly processed; the URL address to be routed is subjected to parameter placeholder processing, processing logic does not need to be added in codes of functional modules of the client, and the method and the device can be suitable for a jump scene needing to dynamically acquire parameters for routing when the client runs.
For S31, the redirection rules may be retrieved from the configuration database of the client.
The redirection rules include: original routes and redirected routes, one redirected route for each original route. Both the original route and the redirected route are URL addresses.
The redirection rule to be distributed can be configured in a background configuration center of the server, and the configured redirection rule to be distributed is sent to a configuration database of the client. When the client is started, an interface of the server is called, the redirection rule to be distributed is obtained from the server, and the obtained redirection rule to be distributed is updated to the configuration database.
Matching the URL address to be routed in the redirection rule; when the original route is matched, determining that the redirection matching result is successful; and when the original route is not matched, determining that the redirection matching result is failure.
For S32, when the redirection matching result is successful, it means that a redirection route needs to be replaced, so that a redirection route corresponding to the original route hit by the URL address to be routed in the redirection rule is adopted, a replacement process is performed on a keyword corresponding to the original route hit by the URL address to be routed, and the URL address to be routed after the replacement process is taken as the URL address that has been redirected.
For example, the URL address to be routed is https:// alerts-local/home, the redirection rule has an associated data original route (https:// alerts-local/alerts-home) and a redirection route (https:// alerts-local/alerts-web), the URL address to be routed is replaced by the redirection rule, the https:// alerts-local/alerts-home is replaced by the https:// alerts-local/alerts-web, and the URL address subjected to redirection processing is https:// alerts-local/alerts-web/home, which is obtained without specific limitation.
For S33, when the redirection matching result is failure, it means that no replacement of redirection routing is needed, so the URL address to be routed is directly used as the URL address that has been redirected.
For S34, the routing parameter placeholder table includes: parameter placeholders, placeholder replacement values, one placeholder replacement value for each parameter placeholder. For example, if the parameter placeholder is $ kde _ brandhcode, the placeholder replacement value is the two-level organization code, which is not specifically limited by this example. For another example, if the parameter placeholder is $ kde _ appversion, the placeholder replacement value is the version identifier of the client that issued the target web page request, which is not limited in this example.
The placeholder replacement value in the routing parameter placeholder table may be data in a configuration database of the client, or may be data determined according to the running state of the client.
For example, when the URL address of a web page needs to be opened is https:// ecales-local/ecales-web/myWebuserId ═ Y123, the page corresponding to this URL address needs to be normally opened by splicing the user identifier in the URL address, the user identifier of the user using the client is not known when the URL address to be routed is configured, at this time, the URL address to be routed is set to https:// ecales-local/ecales-web/myWebuserId ═ kde _ empNo, the URL address to be routed obtained after being processed is https:// ecales-local/ecales-web/myWebuserId $ kde _ empNo, and when the URL address which has been redirected is processed by using the routing parameter placeholder table is replaced by a parameter placeholder, the parameter placeholder URL kde is replaced by the target user identifier URL 123 of the client request, the preprocessed URL address is https:// esales-local/esales-web/myWebuserId ═ Y123, which is not specifically limited in this example.
In one embodiment, the redirection rule includes: original routes and the redirection routes, wherein each original route corresponds to one redirection route;
the step of matching the URL address to be routed according to the redirection rule to obtain a redirection matching result comprises the following steps:
s311: matching the URL address to be routed with the original route of the redirection rule;
s312: and when the original route is contained by the URL address to be routed, determining that the redirection matching result is successful, otherwise, determining that the redirection matching result is failed.
According to the embodiment, the URL address to be routed is matched according to the redirection rule, so that the jump logic on the client side of the old version can be compatibly processed.
For S311, matching the URL address to be routed in all original routes of the redirection rule; when the original route is contained by the URL address to be routed, the original route means that the URL address to be routed needs to be replaced; when there is no original route contained by the URL address to be routed, it means that there is no need to replace the URL address to be routed.
For S312, when the original route is included in the URL address to be routed, it means that the URL address to be routed needs to be replaced, so that it is determined that the redirection matching result is successful; when the original route is not included in the URL address to be routed, it means that the URL address to be routed does not need to be replaced, and thus it is determined that the redirection matching result is a failure.
In one embodiment, the redirection rule further includes: a client version identification range, each of which corresponds to one original route and one redirection route;
the step of matching the URL address to be routed with the original route of the redirection rule further includes:
s03111: acquiring a client version identifier of a client corresponding to the URL address to be routed, and taking the client version identifier as a target client version identifier;
s03112: searching the target client version identification in the client version identification range of the redirection rule to obtain a version searching result;
s03113: and when the version searching result is successful, matching the URL address to be routed with the original route of the redirection rule.
According to the embodiment, the URL address to be routed is matched according to the version identifier of the client and the original route, so that the jump logic on the client of the old version can be compatibly processed.
The client version identification range comprises: a client revision identification start value and a client revision identification end value. The client version identification start value and the client version identification end value are both client version identifications. The client revision identification start value is less than or equal to the client revision identification end value.
The client version identifier may uniquely identify data of one client version, such as a client version name, a client version ID, and the like.
For S03111, the client version identifier of the client corresponding to the URL address to be routed is obtained, and the obtained client version identifier is used as the target client version identifier.
For S03112, the target client version identifier is searched in all the client version identifier ranges of the redirection rule, and when a client version identifier range including the target client version identifier is found in all the client version identifier ranges of the redirection rule, the version search result is determined to be successful, otherwise, the version search result is determined to be failed.
For S03113, when the version search result is successful, matching the URL address to be routed among all original routes of the redirection rule; when the original route is contained by the URL address to be routed, the original route means that the URL address to be routed needs to be replaced; when there is no original route contained by the URL address to be routed, it means that there is no need to replace the URL address to be routed.
Optionally, the redirection rule further includes a set of user identifiers, and each set of user identifiers corresponds to one original route and one redirection route. The user identification set comprises one or more user identifications. The user identification may be a user name, a user ID, or the like, which uniquely identifies a user.
Optionally, the redirection rule further includes a set of client issuing authority identifiers, where each set of client issuing authority identifiers corresponds to one original route and one redirection route. The client publishing mechanism identifier set comprises one or more client publishing mechanism identifiers. The client publishing authority identification is an authority identification of the authority that published the client. The organization identification may be a name of the organization, an organization ID, or the like, which uniquely identifies an organization.
In an embodiment, the step of determining the routing distribution module according to the routing distribution module library and the routing keyword set to obtain the target routing distribution module includes:
s511: matching the first routing keyword in the routing keyword set in all the first-level module names of the routing distribution module library to obtain target routing distribution data to be matched;
s512: when the type of the second routing keyword in the routing keyword set is a module name, matching the second routing keyword in the routing keyword set in all secondary module names of the target to-be-matched routing distribution data to obtain the target routing distribution module;
s513: and when the type of the second routing keyword in the routing keyword set is not the module name, determining the target routing distribution module according to the routing distribution module in the target to-be-matched routing distribution data.
According to the embodiment, the determination of the routing distribution module is carried out according to the routing distribution module library and the routing keyword set, so that a basis is provided for carrying out routing distribution on the target webpage request.
For S511, because the first routing keyword in the routing keyword set is a primary module name, the first routing keyword in the routing keyword set is matched in all primary module names of the routing distribution module library, and all secondary module names and all routing distribution modules corresponding to the primary module names matched in all primary module names of the routing distribution module library are used as target routing distribution data to be matched.
For S512, since the second routing keyword in the routing keyword set may be a second-level module name, when the type of the second routing keyword in the routing keyword set is a module name, it means that the second routing keyword in the routing keyword set is a second-level module name, the second routing keyword in the routing keyword set is matched in all second-level module names of the target to-be-matched routing distribution data, and the routing distribution module corresponding to the second-level module name matched in all second-level module names of the target to-be-matched routing distribution data is taken as the target routing distribution module.
For S513, when the type of the second routing keyword in the set of routing keywords is not a module name, it means that the second routing keyword in the set of routing keywords is not a second-level module name, and at this time, it means that the URL address to be routed corresponds to a default access function, and the routing distribution module without a corresponding second-level module name in the target routing distribution data to be matched is directly used as the target routing distribution module.
In an embodiment, the step of determining the routing distribution module according to the routing distribution module library and the routing keyword set to obtain the target routing distribution module further includes:
s521: acquiring bottom-pocket keywords and judging whether the bottom-pocket keywords exist in the routing keyword set or not;
s522: when the pocket bottom keywords exist in the routing keyword set, acquiring a function identifier and class complete packet name mapping table, and searching from the function identifier and class complete packet name mapping table according to the routing keywords of which the types are the function identifiers in the routing keyword set to obtain a target class complete packet name;
s523: adopting a Java reflection mode, constructing a class instance according to the complete package name of the target class to obtain a target class instance, and taking the target class instance as the target routing distribution module;
s524: and when the bottom pocket keyword does not exist in the routing keyword set, determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain the target routing distribution module.
When a new route is added to jump a page or function, the jump logic generally needs to be developed in advance, and a user can support normal jump after upgrading to a client of a new version. However, it is sometimes desirable to add route hopping logic to both new and old client versions without publishing them. In order to solve the problem, in this embodiment, first, whether the bottom-of-pocket keyword exists in the routing keyword set is judged, then, according to the routing keyword of which the type in the routing keyword set is the function identifier, a search is performed from the function identifier and a class complete package name mapping table to obtain a target class complete package name, finally, a Java reflection mode is adopted, a class instance structure is performed according to the target class complete package name to obtain a target class instance, and the target class instance is used as the target route distribution module, so that a new route skip logic is supported in the bottom-of-pocket reflection skip routing mode without version sending of a client.
For S521, optionally, the bottom key is set to default.
For S522, when the bottom-of-pocket keyword exists in the routing keyword set, the function identifier and class complete package name mapping table may be obtained from a database, the function identifier and class complete package name mapping table input by the user may also be obtained, and the function identifier and class complete package name mapping table may also be obtained from a third-party application system.
The mapping table of the function identifier and the class complete package name comprises the following steps: the system comprises function identifiers and class complete package names, wherein each function identifier corresponds to one class complete package name. The function identifier may be a function name, a function ID, or the like, which uniquely identifies one page function.
And searching the routing keywords of which the types are function identifiers in the routing keyword set from the function identifier and class complete packet name mapping table, and taking the class complete packet name corresponding to the function identifier searched in the function identifier and class complete packet name mapping table as a target class complete packet name.
For example, the URL address to be analyzed is https:// ecales-local/ecales-native/default? Code, default is a bottom-of-pocket keyword? The subsequent Code is a function identifier, the set of routing keywords corresponding to the URL address to be analyzed is { esales-native defaultCode }, and the defaults of the pocket bottom keywords exist in the defaultCode, so that it is determined that the pocket bottom keywords exist in the set of routing keywords, which is not specifically limited in this example.
For S523, a Java reflection manner is adopted, and a class instance is constructed according to the complete package name of the target class, which is not described herein again.
And taking the target class instance as a target route distribution module, so that the route distribution can be carried out by calling an entry function of the target class instance.
For step S524, when the bottom-of-pocket keyword does not exist in the route keyword set, step S511 to step S513 are adopted to determine the target route distribution module.
Referring to fig. 2, the present application further proposes a routing apparatus for a client, where the apparatus is applied to the client, and the apparatus includes:
a URL address to be routed acquiring module 100, configured to acquire a URL address to be routed requested by a target web page;
a validity check result determining module 200, configured to perform validity check on the URL address to be routed to obtain a validity check result;
a preprocessed URL address determining module 300, configured to, when the validity check result is that the URL address passes, sequentially perform redirection processing and parameter placeholder processing on the URL address to be routed, to obtain a preprocessed URL address;
a routing keyword set determining module 400, configured to obtain a routing delimiter, and analyze the preprocessed URL address by using the routing delimiter to obtain a routing keyword set;
a target routing distribution module determining module 500, configured to obtain a routing distribution module library, and determine a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
and a route distribution module 600, configured to perform route distribution on the target web page request according to the processing class of the target route distribution module.
In this embodiment, a URL address to be routed of a target web page request is first obtained, then, a validity check is performed on the URL address to be routed to obtain a validity check result, when the validity check result passes, redirection processing and parameter placeholder processing are sequentially performed on the URL address to be routed to obtain a preprocessed URL address, then, the preprocessed URL address is analyzed by using the routing partition to obtain a routing keyword set, a routing distribution module is determined according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module, and finally, the target web page request is routed according to the processing class of the target routing distribution module, so that routing preprocessing and routing distribution are performed inside a client, and a routing logic is decoupled from each function module of the client, when the code logic of the functional module of the client is changed, only the code of route preprocessing and route distribution needs to be modified, the logic of each position does not need to be globally traversed for modification, and the method and the device are suitable for a jump scene which needs to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data such as a routing method of the client and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a routing method for a client. The routing method of the client is applied to the client, and comprises the following steps: acquiring a URL address to be routed of a target webpage request; carrying out validity check on the URL address to be routed to obtain a validity check result; when the validity check result is that the URL address passes, sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address; acquiring a routing divider, and adopting the routing divider to analyze the preprocessed URL address to obtain a routing keyword set; acquiring a routing distribution module library, and determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module; and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
In this embodiment, a URL address to be routed of a target web page request is first obtained, then, a validity check is performed on the URL address to be routed to obtain a validity check result, when the validity check result passes, redirection processing and parameter placeholder processing are sequentially performed on the URL address to be routed to obtain a preprocessed URL address, then, the preprocessed URL address is analyzed by using the routing partition to obtain a routing keyword set, a routing distribution module is determined according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module, and finally, the target web page request is routed according to the processing class of the target routing distribution module, so that routing preprocessing and routing distribution are performed inside a client, and a routing logic is decoupled from each function module of the client, when the code logic of the functional module of the client is changed, only the code of route preprocessing and route distribution needs to be modified, the logic of each position does not need to be globally traversed for modification, and the method and the device are suitable for a jump scene which needs to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a routing method for a client, where the method is applied to the client, and the method includes: acquiring a URL address to be routed of a target webpage request; carrying out validity check on the URL address to be routed to obtain a validity check result; when the validity check result is that the URL address passes, sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address; acquiring a routing divider, and adopting the routing divider to analyze the preprocessed URL address to obtain a routing keyword set; acquiring a routing distribution module library, and determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module; and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
The executed routing method of the client side obtains a legality check result by firstly obtaining the URL address to be routed of a target webpage request, then carries out legality check on the URL address to be routed, obtains a preprocessed URL address by sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed when the legality check result passes, then adopts the routing separator to analyze the preprocessed URL address to obtain a routing keyword set, carries out routing distribution module determination according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module, and finally carries out routing distribution on the target webpage request according to the processing class of the target routing distribution module, thereby realizing routing preprocessing and routing distribution in the client side, the routing logic is decoupled from each functional module of the client, only codes of routing preprocessing and routing distribution need to be modified when the code logic of the functional module of the client is changed, the logic of each position does not need to be globally traversed for modification, and the method is suitable for a jump scene needing to dynamically acquire parameters for routing when the client runs through parameter placeholder processing.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A routing method of a client, which is applied to the client and comprises the following steps:
acquiring a URL address to be routed of a target webpage request;
carrying out validity check on the URL address to be routed to obtain a validity check result;
when the validity check result is that the URL address passes, sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address;
acquiring a routing divider, and adopting the routing divider to analyze the preprocessed URL address to obtain a routing keyword set;
acquiring a routing distribution module library, and determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
and carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
2. The client routing method according to claim 1, wherein the step of performing validity check on the URL address to be routed to obtain a validity check result includes:
adopting a validity check interceptor to check whether the URL address to be routed is null or not;
when the URL address to be routed is a null value, the validity check interceptor is adopted to determine that the validity check result does not pass;
when the URL address to be routed is a non-null value, adopting the validity check interceptor to obtain a routing naming rule, and checking whether the URL address to be routed conforms to the routing naming rule or not according to the routing naming rule;
and when the URL address to be routed accords with the routing naming rule, determining that the validity checking result is passed by adopting the validity checking interceptor, otherwise, determining that the validity checking result is not passed.
3. The routing method of the client according to claim 1, wherein the step of sequentially performing redirection processing and parameter placeholder processing on the URL address to be routed to obtain a preprocessed URL address comprises:
acquiring a redirection rule, and matching the URL address to be routed according to the redirection rule to obtain a redirection matching result;
when the redirection matching result is successful, carrying out route replacement on the URL address to be routed according to the redirection route of the redirection rule to obtain a redirected URL address;
when the redirection matching result is failure, taking the URL address to be routed as the redirected URL address;
and acquiring a routing parameter placeholder table, and replacing the redirected URL address with a parameter placeholder by adopting the routing parameter placeholder table to obtain the preprocessed URL address.
4. The client routing method according to claim 3, wherein the redirection rule comprises: original routes and the redirection routes, wherein each original route corresponds to one redirection route;
the step of matching the URL address to be routed according to the redirection rule to obtain a redirection matching result comprises the following steps:
matching the URL address to be routed with the original route of the redirection rule;
and when the original route is contained by the URL address to be routed, determining that the redirection matching result is successful, otherwise, determining that the redirection matching result is failed.
5. The client routing method of claim 4, wherein the redirection rule further comprises: a client version identification range, each of which corresponds to one original route and one redirection route;
the step of matching the URL address to be routed with the original route of the redirection rule further includes:
acquiring a client version identifier of a client corresponding to the URL address to be routed, and taking the client version identifier as a target client version identifier;
searching the target client version identification in the client version identification range of the redirection rule to obtain a version searching result;
and when the version searching result is successful, matching the URL address to be routed with the original route of the redirection rule.
6. The client routing method according to claim 1, wherein the step of determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module includes:
matching the first routing keyword in the routing keyword set in all the first-level module names of the routing distribution module library to obtain target routing distribution data to be matched;
when the type of the second routing keyword in the routing keyword set is a module name, matching the second routing keyword in the routing keyword set in all secondary module names of the target to-be-matched routing distribution data to obtain the target routing distribution module;
and when the type of the second routing keyword in the routing keyword set is not the module name, determining the target routing distribution module according to the routing distribution module in the target to-be-matched routing distribution data.
7. The client routing method according to claim 1, wherein the step of determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module further comprises:
acquiring bottom-pocket keywords and judging whether the bottom-pocket keywords exist in the routing keyword set or not;
when the pocket bottom keywords exist in the routing keyword set, acquiring a function identifier and class complete packet name mapping table, and searching from the function identifier and class complete packet name mapping table according to the routing keywords of which the types are the function identifiers in the routing keyword set to obtain a target class complete packet name;
adopting a Java reflection mode, constructing a class instance according to the complete package name of the target class to obtain a target class instance, and taking the target class instance as the target routing distribution module;
and when the bottom pocket keyword does not exist in the routing keyword set, determining a routing distribution module according to the routing distribution module library and the routing keyword set to obtain the target routing distribution module.
8. A routing apparatus for a client, the apparatus being applied to the client, the apparatus comprising:
the URL address acquisition module to be routed is used for acquiring the URL address to be routed of the target webpage request;
the validity check result determining module is used for carrying out validity check on the URL address to be routed to obtain a validity check result;
the preprocessed URL address determining module is used for sequentially carrying out redirection processing and parameter placeholder processing on the URL address to be routed to obtain the preprocessed URL address when the validity check result is that the URL address passes;
a routing keyword set determining module, configured to obtain a routing segmenter, and analyze the preprocessed URL address by using the routing segmenter to obtain a routing keyword set;
the target routing distribution module determining module is used for acquiring a routing distribution module library, and determining the routing distribution module according to the routing distribution module library and the routing keyword set to obtain a target routing distribution module;
and the route distribution module is used for carrying out route distribution on the target webpage request according to the processing class of the target route distribution module.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110734751.6A 2021-06-30 2021-06-30 Routing method, device and equipment of client and storage medium Active CN113489650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110734751.6A CN113489650B (en) 2021-06-30 2021-06-30 Routing method, device and equipment of client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110734751.6A CN113489650B (en) 2021-06-30 2021-06-30 Routing method, device and equipment of client and storage medium

Publications (2)

Publication Number Publication Date
CN113489650A true CN113489650A (en) 2021-10-08
CN113489650B CN113489650B (en) 2022-10-21

Family

ID=77936989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110734751.6A Active CN113489650B (en) 2021-06-30 2021-06-30 Routing method, device and equipment of client and storage medium

Country Status (1)

Country Link
CN (1) CN113489650B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401319A (en) * 2022-01-17 2022-04-26 星环信息科技(上海)股份有限公司 Request processing method, device, server and storage medium
CN115103016A (en) * 2022-06-21 2022-09-23 浙江浩瀚能源科技有限公司 Processing method, device, equipment and medium for route calling based on C/S architecture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835228A (en) * 2017-09-28 2018-03-23 链家网(北京)科技有限公司 A kind of command processing method and device based on DYNAMIC GENERALIZED route
CN109101812A (en) * 2018-08-28 2018-12-28 北京神州绿盟信息安全科技股份有限公司 A kind of parameter verification method, apparatus, computing device and storage medium
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
WO2020119434A1 (en) * 2018-12-15 2020-06-18 深圳壹账通智能科技有限公司 Method and apparatus for interface data processing, method and apparatus for automated testing, device, and medium
CN111901238A (en) * 2020-07-09 2020-11-06 中移(杭州)信息技术有限公司 Dynamic routing service method, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835228A (en) * 2017-09-28 2018-03-23 链家网(北京)科技有限公司 A kind of command processing method and device based on DYNAMIC GENERALIZED route
CN109101812A (en) * 2018-08-28 2018-12-28 北京神州绿盟信息安全科技股份有限公司 A kind of parameter verification method, apparatus, computing device and storage medium
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
WO2020119434A1 (en) * 2018-12-15 2020-06-18 深圳壹账通智能科技有限公司 Method and apparatus for interface data processing, method and apparatus for automated testing, device, and medium
CN111901238A (en) * 2020-07-09 2020-11-06 中移(杭州)信息技术有限公司 Dynamic routing service method, device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401319A (en) * 2022-01-17 2022-04-26 星环信息科技(上海)股份有限公司 Request processing method, device, server and storage medium
CN114401319B (en) * 2022-01-17 2024-05-10 星环信息科技(上海)股份有限公司 Request processing method, device, server and storage medium
CN115103016A (en) * 2022-06-21 2022-09-23 浙江浩瀚能源科技有限公司 Processing method, device, equipment and medium for route calling based on C/S architecture
CN115103016B (en) * 2022-06-21 2023-11-03 浙江浩瀚能源科技有限公司 Processing method, device, equipment and medium for route call based on C/S architecture

Also Published As

Publication number Publication date
CN113489650B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN113489650B (en) Routing method, device and equipment of client and storage medium
CN111193744B (en) Firewall strategy inquiry and elastic expansion method, system, equipment and storage medium
CN112380286B (en) Method, device, equipment and medium for generating data object relation map of database
CN113282327A (en) Configuration method, device and equipment of application program configuration items and storage medium
CN111083054B (en) Route configuration processing method and device, computer equipment and storage medium
CN114238811A (en) Page loading method, page request response method, device, equipment and medium
CN108874304B (en) Rule configuration method and device of cache system
KR20140115759A (en) System and method for providing mobile url in mobile search environment
US9516143B2 (en) System and method for assembly and use of integration applications
CN105912357B (en) Starting method and device of hybrid application
CN113282400B (en) Application publishing method, device, equipment and storage medium based on interface routing
CN111866197B (en) Domain name resolution method and system
CN114610973A (en) Information search matching method and device, computer equipment and storage medium
CN113472915B (en) Domain name resolution method, device, equipment and storage medium
CN113127519B (en) File query method and device, computer equipment and storage medium
CN113486267B (en) Method, device, equipment and storage medium for analyzing application entry page
CN110515905B (en) Method, device and server for configuring route
CN114039796A (en) Network attack determination method and device, computer equipment and storage medium
CN112579459A (en) Method and device for testing application program and computer equipment
CN111931087A (en) Webpage request processing method and device
CN113676562B (en) Short-chain request convergence method and device, computer equipment and storage medium
CN114610637A (en) Test case generation method, device, equipment and medium suitable for front-end project
CN112559671B (en) ES-based text search engine construction method, device, equipment and medium
CN112394940B (en) Method, device and computer equipment for converting code grammar
CN109274780B (en) Cross-domain name data transmission method and device, computer equipment and storage medium

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