Page jumping method based on routing, electronic equipment, storage medium and product

By obtaining and processing preset configuration information, the second routing information that complies with preset rules is generated, and the problem of pages that cannot be redirected due to channel mismatch is solved, cross-channel page redirection is realized, and routing information configuration efficiency and jump flexibility are improved.

CN120499166APending Publication Date: 2025-08-15KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510724836.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

Due to channel mismatch, the mobile routing information cannot be successfully redirected to specific pages or functions, and the existing technology cannot effectively solve the problem of page redirection in different channels.

Method used

By obtaining preset configuration information, it is determined whether the routing information corresponding to the page jump request complies with the preset rules, and processed when it complies with the rules, generate the second routing information to realize page jump, ignore the channel matching step, and jump directly based on the routing path.

Benefits of technology

It realizes that no matter the source of the received routing information channel, as long as it complies with the preset rules, it can perform page redirection, solves the problem of page redirection under different channels, and improves the efficiency of routing information configuration and flexibility of jumping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499166A_ABST
    Figure CN120499166A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a page jumping method based on routing, electronic equipment, a storage medium and a product, and the method comprises the steps: obtaining preset configuration information according to a received page jumping request; the preset configuration information is used for configuring at least one piece of routing information conforming to a preset rule; according to the preset configuration information, determining whether first routing information corresponding to the page jump request conforms to a preset rule or not; in response to the condition that the first routing information accords with the preset rule, executing processing on the first routing information according to the preset rule to obtain second routing information; and determining page information corresponding to the page jump request according to the second routing information. According to the embodiment of the invention, the problem that the page cannot jump due to channel mismatching is solved through the preset rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a routing-based page jump method, electronic device, storage medium, and product. Background Art

[0002] The concept of mobile routing refers to the use of annotations and dynamic proxy technology to generate a routing table at compile time, and then accurately locate pages and transfer data based on this routing table at runtime.

[0003] Usually, the definition of a route consists of schemeTag+: / / +path. SchemeTag is used to indicate the route of a channel (App identifier). Different channels (Apps) have different schemeTag values. Path is used to indicate a specific page or function. Summary of the Invention

[0004] Embodiments of the present disclosure provide a routing-based page jump method, electronic device, storage medium, and product.

[0005] According to one aspect of an embodiment of the present disclosure, a routing-based page jump method is provided, comprising:

[0006] Acquire preset configuration information according to the received page jump request; the preset configuration information is used to configure at least one routing information that complies with a preset rule;

[0007] Determining, based on the preset configuration information, whether the first routing information corresponding to the page jump request complies with a preset rule;

[0008] In response to the first routing information complying with the preset rule, processing the first routing information according to the preset rule to obtain second routing information;

[0009] The page information corresponding to the page jump request is determined according to the second routing information.

[0010] Optionally, obtaining preset configuration information according to the received page jump request includes:

[0011] receiving the page jump request;

[0012] The preset configuration information is obtained from the cloud according to the page jump request, and the preset configuration information is stored in a local cache.

[0013] Optionally, before determining, according to the preset configuration information, whether the first routing information corresponding to the page jump request complies with a preset rule, the method further includes:

[0014] Determine whether to perform preset rule matching based on local configuration information.

[0015] Optionally, determining, according to the preset configuration information, whether the first routing information corresponding to the page jump request complies with a preset rule includes:

[0016] Obtaining the preset configuration information from the local cache;

[0017] Performing a matching process on the first routing information and the preset configuration information to obtain a matching result;

[0018] According to the matching result, it is determined whether the first routing information complies with a preset rule.

[0019] Optionally, determining whether the first routing information complies with a preset rule according to the matching result includes:

[0020] In response to the matching result indicating that routing information matching the first routing information exists in the preset configuration information, determining that the first routing information complies with the preset rule;

[0021] In response to the matching result indicating that no routing information matching the first routing information exists in the preset configuration information, it is determined that the first routing information does not comply with the preset rule.

[0022] Optionally, the processing the first routing information according to the preset rule to obtain the second routing information includes:

[0023] The first routing header in the first routing information is deleted according to the preset rule to obtain the second routing information; the first routing information includes the first routing header and a first routing path, and the second routing information includes the first routing path.

[0024] Optionally, determining the page information corresponding to the page jump request according to the second routing information includes:

[0025] Matching the first routing path included in the second routing information with a pre-stored routing path in a basic library to obtain a pre-stored routing path that matches the first routing path; the basic library includes a plurality of pre-stored routing headers and pre-stored routing paths;

[0026] The page information is determined according to a pre-stored routing path that matches the first routing path.

[0027] Optionally, it also includes:

[0028] In response to the first routing information not complying with the preset rule, matching a first routing header in the first routing information with a pre-stored routing header in a basic library to obtain a first matching result; the basic library including a plurality of the pre-stored routing headers and pre-stored routing paths;

[0029] In response to the first matching result indicating that the pre-stored routing header matching the first routing header exists in the basic library, matching the pre-stored routing path based on the first routing path in the first routing information to obtain a second matching result;

[0030] The page information is determined according to the second matching result.

[0031] Optionally, it also includes:

[0032] Jump according to the page information and enter the page corresponding to the page information.

[0033] According to another aspect of an embodiment of the present disclosure, a routing-based page jump device is provided, comprising:

[0034] An information acquisition module, configured to acquire preset configuration information according to a received page jump request; the preset configuration information is used to configure at least one routing information that complies with a preset rule;

[0035] A rule judgment module, configured to determine whether the first routing information corresponding to the page jump request complies with a preset rule based on the preset configuration information;

[0036] a routing processing module, configured to, in response to the routing information complying with the preset rule, process the first routing information according to the preset rule to obtain second routing information;

[0037] The first page determination module is configured to determine page information corresponding to the page jump request according to the second routing information.

[0038] Optionally, the information acquisition module is specifically configured to receive the page jump request; obtain the preset configuration information from the cloud according to the page jump request, and store the preset configuration information in a local cache.

[0039] Optionally, the device further comprises:

[0040] The rule matching module is used to determine whether to execute preset rule matching based on local configuration information.

[0041] Optionally, the rule judgment module is specifically used to obtain the preset configuration information from the local cache; perform matching processing on the first routing information and the preset configuration information to obtain a matching result; and determine whether the first routing information complies with the preset rule based on the matching result.

[0042] Optionally, when the rule judgment module determines whether the first routing information complies with the preset rule based on the matching result, it is used to determine that the first routing information complies with the preset rule in response to the matching result indicating that there is routing information matching the first routing information in the preset configuration information; and determine that the first routing information does not comply with the preset rule in response to the matching result indicating that there is routing information matching the first routing information in the preset configuration information.

[0043] Optionally, the routing processing module is specifically used to delete the first routing header in the first routing information according to the preset rule to obtain the second routing information; the first routing information includes the first routing header and the first routing path, and the second routing information includes the first routing path.

[0044] Optionally, the first page determination module is specifically used to match the first routing path included in the second routing information with a pre-stored routing path in a basic library to obtain a pre-stored routing path that matches the first routing path; the basic library includes multiple pre-stored routing headers and pre-stored routing paths; and the page information is determined based on the pre-stored routing path that matches the first routing path.

[0045] Optionally, the device further comprises:

[0046] A second page determination module is configured to, in response to the first routing information not complying with the preset rule, obtain a first matching result by matching a first routing header in the first routing information with a pre-stored routing header in a basic library, wherein the basic library includes a plurality of the pre-stored routing headers and pre-stored routing paths; in response to the first matching result indicating that a pre-stored routing header matching the first routing header exists in the basic library, obtain a second matching result by matching a first routing path in the first routing information with the pre-stored routing path; and determine the page information according to the second matching result.

[0047] Optionally, the device further comprises:

[0048] The page jump module is used to execute the jump according to the page information and enter the page corresponding to the page information.

[0049] According to another aspect of the present disclosure, there is provided an electronic device, including:

[0050] a memory for storing a computer program product;

[0051] The processor is configured to execute the computer program product stored in the memory, and when the computer program product is executed, the routing-based page jump method described in any one of the above embodiments is implemented.

[0052] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, characterized in that when the computer program instructions are executed by a processor, the routing-based page jump method described in any of the above embodiments is implemented.

[0053] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including computer program instructions, which, when executed by a processor, implement the routing-based page jump method described in any of the above embodiments.

[0054] Based on the routing-based page jump method, electronic device, storage medium and product provided by the above-mentioned embodiments of the present disclosure, preset configuration information is obtained according to the received page jump request; the preset configuration information is used to configure at least one routing information that complies with the preset rules; based on the preset configuration information, it is determined whether the first routing information corresponding to the page jump request complies with the preset rules; in response to the first routing information complying with the preset rules, the first routing information is processed according to the preset rules to obtain the second routing information; based on the second routing information, the page information corresponding to the page jump request is determined. The embodiment of the present application solves the problem of the page being unable to jump due to channel mismatch through preset rules, and realizes that no matter the channel source of the received routing information, as long as the routing information complies with the preset rules, the page jump can be achieved after processing the first routing information, solving the page jump problem of different channels in the prior art.

[0055] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0057] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0058] Figure 1 This is a flowchart of a page jump method based on routing provided by an exemplary embodiment of the present disclosure;

[0059] Figure 2 This disclosure Figure 1 A schematic flow chart of step 102 in the embodiment shown;

[0060] Figure 3is a flowchart of a page jump method based on routing provided by another exemplary embodiment of the present disclosure;

[0061] Figure 4 This disclosure Figure 1 A schematic flow chart of step 104 in the embodiment shown;

[0062] Figure 5 This disclosure Figure 1 A schematic flow chart of step 108 in the embodiment shown;

[0063] Figure 6 1 is a schematic structural diagram of a routing-based page jump device provided by an exemplary embodiment of the present disclosure;

[0064] Figure 7 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated. DETAILED DESCRIPTION

[0065] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described herein.

[0066] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0067] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, and do not represent any specific technical meanings, nor do they indicate a necessary logical order between them.

[0068] It should also be understood that in the embodiments of the present disclosure, “a plurality of” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0069] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0070] In addition, the term "and / or" in this disclosure is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this disclosure generally indicates that the related objects are in an "or" relationship. The data referred to in this disclosure can include unstructured data such as text, images, and videos, as well as structured data.

[0071] It should also be understood that the description of the various embodiments in this disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced with each other. For the sake of brevity, they will not be described one by one.

[0072] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0073] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0074] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0075] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0076] The embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, and servers, and can operate in conjunction with numerous other general-purpose or special-purpose computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, and servers include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the above systems, among others.

[0077] Electronic devices such as terminal devices, computer systems, and servers can be described in the general context of computer system-executable instructions (such as program modules) executed by a computer system. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked via a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media, including storage devices.

[0078] Application Overview

[0079] In the process of implementing the present disclosure, the inventors discovered that when a route is obtained for matching and jumping to a specific page or executing a specific function, the system will verify the value of the schemeTag according to different channels (Apps). Even if the path is the same, the corresponding jump function cannot be executed if the schemeTag is different, resulting in the routing information of different channels not being able to jump smoothly.

[0080] Exemplary Methods

[0081] Figure 1 This is a flow chart of a page jump method based on routing provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices such as clients, such as Figure 1 As shown, the following steps are included:

[0082] Step 102: Obtain preset configuration information according to the received page jump request.

[0083] The preset configuration information is used to configure at least one piece of routing information that complies with a preset rule.

[0084] Optionally, the client can download the preset configuration information from the cloud. For example, the client can obtain the preset configuration information from the cloud during initialization or periodic updates (updates are executed every preset period), achieving real-time interaction between the client and the cloud. If the client fails to obtain data from the cloud, the original logic is executed. If a problem occurs on the client, the matching policy for the preset configuration information is disabled and the original logic is executed.

[0085] Step 104: Determine whether the first routing information corresponding to the page jump request complies with a preset rule based on the preset configuration information.

[0086] In one embodiment, a page jump request is a request to jump to a page corresponding to first routing information, corresponding to at least one first routing information, the first routing information including a channel and a page; optionally, the page jump request is received by the client via an interface or H5. Optionally, the first routing information is matched with at least one routing information configured in the preset configuration information that complies with a preset rule. If routing information matching the first routing information exists in the preset configuration information, the first routing information is determined to comply with the preset rule; if routing information matching the first routing information does not exist in the preset configuration information, the first routing information is determined to not comply with the preset rule.

[0087] Step 106: In response to the first routing information complying with a preset rule, the first routing information is processed according to the preset rule to obtain second routing information.

[0088] In this embodiment, when it is determined according to the preset configuration information that the first routing information complies with the preset rules, the first routing information is processed according to the preset rules. Optionally, the first routing information may be processed by ignoring the routing header. After the first routing information is processed by ignoring the routing header, the second routing information is obtained.

[0089] Step 108: Determine the page information corresponding to the page jump request according to the second routing information.

[0090] In this embodiment, the second routing information can directly jump to the corresponding page information; for example, the second routing information is a specific page information that ignores the routing header, and the specific page information can be used to directly jump without performing channel matching. By processing the first routing information into the second routing information, the routing header of the first routing information is ignored and the page corresponding to the first routing information is directly jumped.

[0091] The routing-based page jump method provided by the above embodiment of the present disclosure obtains preset configuration information according to the received page jump request; the preset configuration information is used to configure at least one routing information that complies with the preset rules; based on the preset configuration information, it is determined whether the first routing information corresponding to the page jump request complies with the preset rules; in response to the first routing information complying with the preset rules, the first routing information is processed according to the preset rules to obtain second routing information; based on the second routing information, the page information corresponding to the page jump request is determined. The embodiment of the present application solves the problem of the page being unable to jump due to channel mismatch through preset rules, and realizes that no matter the channel source of the received routing information, as long as the routing information complies with the preset rules, the page jump can be achieved after processing the first routing information, solving the page jump problem of different channels in the prior art.

[0092] like Figure 2 As shown in the above Figure 1 Based on the embodiment shown, step 102 may include the following steps:

[0093] Step 1021: Receive a page jump request.

[0094] Optionally, the client receives a page jump request through an interface or H5.

[0095] Step 1022: Obtain preset configuration information from the cloud according to the page jump request, and store the preset configuration information in the local cache.

[0096] Optionally, the client can obtain preset configuration information from the cloud when receiving a page jump request, or obtain preset configuration information from the cloud at intervals of a preset period; optionally, the cloud stores at least one version of preset configuration information or stores the latest version of preset configuration information. When storing a preset configuration information, the new version of the preset configuration information replaces the old version of the preset configuration information each time it is updated. After the client obtains the latest version of the preset configuration information from the cloud after the preset period is reached, the client replaces the previously obtained preset configuration information with the newly obtained preset configuration information; this embodiment reduces the local storage space occupied by the preset configuration information by obtaining the preset configuration information from the cloud by the client, and by storing the preset configuration information in the cloud, it realizes that multiple clients use a common set of preset configuration information, thereby improving the configuration efficiency of routing information.

[0097] Figure 3 This is a flow chart of a page jump method based on routing provided by another exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices such as clients, such as Figure 3 As shown, the following steps are included:

[0098] Step 302: Obtain preset configuration information according to the received page jump request.

[0099] The implementation and effect of this step can be understood with reference to step 102 in the above embodiment, and will not be described in detail here.

[0100] Step 304: Determine whether to perform preset rule matching according to the local configuration information.

[0101] Optionally, the client is configured with local configuration information, which is used to configure whether to perform preset rule matching. For example, if isdefault=0, preset rule matching is performed; if isdefault=1, preset rule matching is not performed. In response to determining to perform preset rule matching based on the local configuration information, step 306 is executed; otherwise, normal channel + page matching is performed.

[0102] Step 306: Determine whether the first routing information corresponding to the page jump request complies with a preset rule based on the preset configuration information.

[0103] The implementation and effect of this step can be understood with reference to step 104 in the above embodiment, and will not be described in detail here.

[0104] Step 308: In response to the first routing information complying with the preset rule, the first routing information is processed according to the preset rule to obtain second routing information.

[0105] The implementation and effect of this step can be understood by referring to step 106 in the above embodiment, and will not be described in detail here.

[0106] Step 310: Determine page information corresponding to the page jump request according to the second routing information.

[0107] The implementation and effect of this step can be understood by referring to step 108 in the above embodiment, and will not be described in detail here.

[0108] In this embodiment, local configuration information is configured on the client, and whether to execute the matching of preset rules is determined based on the local configuration information, thereby achieving controllable rule configuration and being configurable according to user needs, thereby achieving personalized management of preset rule matching.

[0109] like Figure 4 As shown in the above Figure 1 Based on the embodiment shown, step 104 may include the following steps:

[0110] Step 1041: Obtain preset configuration information from the local cache.

[0111] In this embodiment, after the client obtains the preset configuration information from the cloud, it stores it in the local cache for matching with the first routing information. In addition, the local cache only stores one version of the preset configuration information, which reduces cache space occupation.

[0112] Step 1042: Perform matching processing on the first routing information and the preset configuration information to obtain a matching result.

[0113] Optionally, the matching result includes a match and a mismatch. When routing information configured in the preset configuration information includes routing information identical to the first routing information, the matching result is determined to be a match; otherwise, the matching result is determined to be a mismatch.

[0114] Step 1043: Determine whether the first routing information complies with a preset rule based on the matching result.

[0115] Optionally, step 1043 may include:

[0116] In response to the matching result indicating that routing information matching the first routing information exists in the preset configuration information, it is determined that the first routing information complies with the preset rule.

[0117] In response to the matching result indicating that no routing information matching the first routing information exists in the preset configuration information, it is determined that the first routing information does not comply with the preset rule.

[0118] In this embodiment, the routing information is matched by the routing path (routerPath). When the corresponding routing paths are consistent, it means that the corresponding routing information matches. The match can determine that the first routing information complies with the preset rules. In this embodiment, the problem of preset rule judgment is solved by matching the routing information, and the efficiency of preset rule judgment is improved.

[0119] In some optional embodiments, step 106 may include:

[0120] The first routing header in the first routing information is deleted according to a preset rule to obtain second routing information.

[0121] The first routing information may include at least: a first routing header and a first routing path, and the second routing information includes the first routing path.

[0122] In this embodiment, the routing header is ignored for the first routing information according to a preset rule. After ignoring the routing header, the second routing information including only the first routing path is obtained. In this embodiment, the channel of the first routing information is ignored by ignoring the routing header. That is, there is no need to match the channel of the first routing information, only the routing path is matched to achieve page jump, which overcomes the problem of page jump failure caused by mismatch of different channels in the prior art.

[0123] like Figure 5 As shown in the above Figure 1 Based on the embodiment shown, step 108 may include the following steps:

[0124] Step 1081: Match the first routing path included in the second routing information with a pre-stored routing path in a basic library to obtain a pre-stored routing path that matches the first routing path.

[0125] The basic library includes multiple pre-stored routing headers and pre-stored routing paths.

[0126] Step 1082: Determine page information based on a pre-stored routing path that matches the first routing path.

[0127] In this embodiment, the first routing path is matched with multiple pre-stored routing paths stored in the routing table, and the first routing path is traversed and searched in the routing table to determine the pre-stored routing path corresponding to the first routing path. The page information corresponding to the corresponding pre-stored routing path is used as the page information corresponding to the first routing path, so that the channel source of the first routing information is ignored and the page jump is directly achieved based on the routing path.

[0128] In some optional embodiments, after determining the page information, the method provided in this embodiment may further include:

[0129] Jump according to the page information and enter the page corresponding to the page information.

[0130] Optionally, after obtaining the page information corresponding to the first routing information, the corresponding page can be entered based on the page information to achieve page jump.

[0131] In some optional embodiments, the method provided in this embodiment may further include:

[0132] In response to the first routing information not meeting the preset rule, a first matching result is obtained based on matching the first routing header in the first routing information with the pre-stored routing header in the basic library.

[0133] The basic library includes multiple pre-stored routing headers and pre-stored routing paths.

[0134] In this embodiment, when the first routing information does not conform to the preset rules, the original logical processing needs to be executed, that is, the routing header is matched first, and then the routing path is matched. The two must match simultaneously to achieve page jump. Optionally, the first routing header is first matched with a pre-stored routing header in the basic library to achieve channel matching. The first matching result includes a match and a mismatch. In response to the first matching result indicating that there is a pre-stored routing header matching the first routing header in the basic library, a second matching result is obtained based on the first routing path in the first routing information and the pre-stored routing path. The page information is determined based on the second matching result.

[0135] The matching of the routing path is only performed when the first matching result matches. Based on the first routing path, the corresponding pre-stored routing path is traversed from the basic library to find the corresponding pre-stored routing path. The second matching result obtained may include the existence of a pre-stored routing path that matches the first routing path, or the absence of a pre-stored routing path that matches the first routing path; when there is a pre-stored routing path that matches the first routing path, the page information corresponding to the matched pre-stored routing path is used as the page information corresponding to the first routing path, and the page jump corresponding to the page jump request is implemented with this page information.

[0136] Optionally, this embodiment may further include: in response to the first matching result indicating that there is no pre-stored routing header matching the first routing header in the basic library, not responding to the page jump request, and not jumping to the page corresponding to the first routing path.

[0137] Any of the routing-based page redirection methods provided in the embodiments of the present disclosure can be executed by any appropriate device with data processing capabilities, including but not limited to: terminal devices and servers. Alternatively, any of the routing-based page redirection methods provided in the embodiments of the present disclosure can be executed by a processor, such as by invoking corresponding instructions stored in a memory to execute any of the routing-based page redirection methods mentioned in the embodiments of the present disclosure. This will not be further described below.

[0138] Exemplary devices

[0139] Figure 6 FIG is a schematic diagram of a page jump device based on routing provided by an exemplary embodiment of the present disclosure. Figure 6 Shown, including:

[0140] The information acquisition module 61 is configured to acquire preset configuration information according to a received page jump request.

[0141] The preset configuration information is used to configure at least one piece of routing information that complies with a preset rule.

[0142] The rule determination module 62 is configured to determine whether the first routing information corresponding to the page jump request complies with a preset rule based on preset configuration information.

[0143] The routing processing module 63 is configured to, in response to the routing information complying with a preset rule, process the first routing information according to the preset rule to obtain second routing information.

[0144] The first page determination module 64 is configured to determine page information corresponding to the page jump request according to the second routing information.

[0145] The routing-based page jump device provided by the above embodiment of the present disclosure obtains preset configuration information according to the received page jump request; the preset configuration information is used to configure at least one routing information that complies with the preset rules; based on the preset configuration information, it is determined whether the first routing information corresponding to the page jump request complies with the preset rules; in response to the first routing information complying with the preset rules, the first routing information is processed according to the preset rules to obtain the second routing information; based on the second routing information, the page information corresponding to the page jump request is determined. The embodiment of the present application solves the problem of the page being unable to jump due to channel mismatch through preset rules, and realizes that no matter the channel source of the received routing information, as long as the routing information complies with the preset rules, the page jump can be achieved after processing the first routing information, solving the page jump problem of different channels in the prior art.

[0146] In some optional embodiments, the information acquisition module is specifically configured to receive a page jump request; obtain preset configuration information from the cloud according to the page jump request, and store the preset configuration information in a local cache.

[0147] In some optional embodiments, the apparatus provided by the embodiments of the present disclosure further includes:

[0148] The rule matching module is used to determine whether to execute preset rule matching based on local configuration information.

[0149] In some optional embodiments, the rule judgment module 62 is specifically used to obtain preset configuration information from the local cache; perform matching processing on the first routing information and the preset configuration information to obtain a matching result; and determine whether the first routing information complies with the preset rule based on the matching result.

[0150] In some optional embodiments, when the rule judgment module 62 determines whether the first routing information complies with the preset rule based on the matching result, it is used to determine that the first routing information complies with the preset rule in response to the matching result indicating that there is routing information matching the first routing information in the preset configuration information; and determine that the first routing information does not comply with the preset rule in response to the matching result indicating that there is routing information matching the first routing information in the preset configuration information.

[0151] In some optional embodiments, the routing processing module 63 is specifically used to delete the first routing header in the first routing information according to a preset rule to obtain the second routing information; the first routing information includes the first routing header and the first routing path, and the second routing information includes the first routing path.

[0152] In some optional embodiments, the first page determination module 64 is specifically used to match the first routing path included in the second routing information with a pre-stored routing path in a basic library to obtain a pre-stored routing path that matches the first routing path; the basic library includes multiple pre-stored routing headers and pre-stored routing paths; and the page information is determined based on the pre-stored routing path that matches the first routing path.

[0153] In some optional embodiments, the apparatus provided by the embodiments of the present disclosure further includes:

[0154] The second page determination module is configured to, in response to the first routing information not conforming to a preset rule, match a first routing header in the first routing information with a pre-stored routing header in a basic library to obtain a first matching result; the basic library includes a plurality of pre-stored routing headers and pre-stored routing paths; in response to the first matching result indicating that a pre-stored routing header matching the first routing header exists in the basic library, match a first routing path in the first routing information with a pre-stored routing path to obtain a second matching result; and determine the page information based on the second matching result.

[0155] In some optional embodiments, the apparatus provided by the embodiments of the present disclosure further includes:

[0156] The page jump module is used to execute the jump according to the page information and enter the page corresponding to the page information.

[0157] Exemplary electronic devices

[0158] Below, reference Figure 7 The electronic device according to the embodiment of the present disclosure is described. The electronic device may be either or both of the first device and the second device, or a standalone device independent of them, and the standalone device may communicate with the first device and the second device to receive collected input signals from them.

[0159] Figure 7A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated.

[0160] like Figure 7 As shown, the electronic device includes one or more processors and memory.

[0161] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0162] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may execute the computer program products to implement the routing-based page jump method and / or other desired functions of the various embodiments of the present disclosure described above.

[0163] In one example, the electronic device may further include an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0164] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.

[0165] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0166] Of course, to simplify, Figure 7 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device may further include any other appropriate components according to specific application scenarios.

[0167] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the routing-based page jump method according to various embodiments of the present disclosure described in the above part of this specification.

[0168] The computer program product may be written in any combination of one or more programming languages to implement the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0169] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, causes the processor to execute the steps of the routing-based page jump method according to various embodiments of the present disclosure described in the above part of this specification.

[0170] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0171] The basic principles of the present disclosure have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this disclosure are merely illustrative and not restrictive, and should not be construed as necessarily possessed by each embodiment of the present disclosure. Furthermore, the specific details disclosed above are provided for illustrative purposes and to facilitate understanding, rather than as limitations. These details do not limit the present disclosure to necessarily being implemented using these specific details.

[0172] Each embodiment in this specification is described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. For system embodiments, since they largely correspond to method embodiments, their description is relatively simple. For relevant parts, references to the description of the method embodiments are sufficient.

[0173] The block diagrams of the devices, devices, equipment, and systems involved in this disclosure are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0174] The methods and apparatus of the present disclosure may be implemented in many ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers recording media that store programs for executing the methods according to the present disclosure.

[0175] It should also be noted that in the apparatus, device, and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0176] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0177] The above description has been provided for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A page jump method based on routing, characterized in that: include: Obtaining preset configuration information according to the received page jump request; The preset configuration information is used to configure at least one routing information that complies with a preset rule; Determining, based on the preset configuration information, whether the first routing information corresponding to the page jump request complies with a preset rule; In response to the first routing information complying with the preset rule, processing the first routing information according to the preset rule to obtain second routing information; The page information corresponding to the page jump request is determined according to the second routing information.

2. The method according to claim 1, characterized in that The obtaining of preset configuration information according to the received page jump request includes: receiving the page jump request; The preset configuration information is obtained from the cloud according to the page jump request, and the preset configuration information is stored in a local cache.

3. The method according to any one of claims 1-2, characterized in that Before determining whether the first routing information corresponding to the page jump request complies with a preset rule according to the preset configuration information, the method further includes: Determine whether to perform preset rule matching based on local configuration information.

4. The method according to any one of claims 1 to 3, characterized in that: The determining, according to the preset configuration information, whether the first routing information corresponding to the page jump request complies with a preset rule includes: Obtaining the preset configuration information from the local cache; Performing a matching process on the first routing information and the preset configuration information to obtain a matching result; According to the matching result, it is determined whether the first routing information complies with a preset rule.

5. The method according to claim 4, characterized in that Determining whether the first routing information complies with a preset rule according to the matching result includes: In response to the matching result indicating that routing information matching the first routing information exists in the preset configuration information, determining that the first routing information complies with the preset rule; In response to the matching result indicating that no routing information matching the first routing information exists in the preset configuration information, it is determined that the first routing information does not comply with the preset rule.

6. The method according to any one of claims 1 to 5, characterized in that: The processing the first routing information according to the preset rule to obtain second routing information includes: The first routing header in the first routing information is deleted according to the preset rule to obtain the second routing information; the first routing information includes the first routing header and a first routing path, and the second routing information includes the first routing path.

7. The method according to claim 6, characterized in that The determining, according to the second routing information, page information corresponding to the page jump request includes: Matching the first routing path included in the second routing information with a pre-stored routing path in a basic library to obtain a pre-stored routing path that matches the first routing path; the basic library includes a plurality of pre-stored routing headers and pre-stored routing paths; The page information is determined according to a pre-stored routing path that matches the first routing path.

8. The method according to any one of claims 1 to 7, characterized in that: Also includes: In response to the first routing information not complying with the preset rule, matching a first routing header in the first routing information with a pre-stored routing header in a basic library to obtain a first matching result; The basic library includes a plurality of pre-stored routing headers and pre-stored routing paths; In response to the first matching result indicating that the pre-stored routing header matching the first routing header exists in the basic library, matching the pre-stored routing path based on the first routing path in the first routing information to obtain a second matching result; The page information is determined according to the second matching result.

9. The method according to any one of claims 1 to 8, characterized in that: Also includes: Jump according to the page information and enter the page corresponding to the page information.

10. An electronic device, characterized in that: include: a memory for storing a computer program product; The processor is configured to execute the computer program product stored in the memory, and when the computer program product is executed, the routing-based page jump method according to any one of claims 1 to 9 is implemented.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the routing-based page jump method described in any one of claims 1 to 9 is implemented.

12. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed by a processor, the routing-based page jump method described in any one of claims 1 to 9 is implemented.