Jumping method and device
By receiving jump request protocol files and global routing tables in preset formats, the problems of diverse page jump methods and inflexible parameter passing in traditional App development are solved, unified management and flexible adaptation of page jumps are achieved, and the maintainability and development efficiency of the code are improved.
Patent Information
- Application Number
- CN202510678186.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-09-16
AI Technical Summary
In traditional App development, the diversity of page jump methods conflicts with unified management, the mapping relationship between page paths and implementations is unclear, and the jump parameter passing is inflexible, leading to development complexity and inefficiency, increasing development costs and the possibility of errors.
By receiving the jump request protocol format file in a preset format, determining the global routing table, parsing the jump information, achieving a clear mapping between the page path and the implementation, and supporting unified management of multiple jump methods and flexible parameter transmission.
It improves the maintainability, scalability and development efficiency of the code, simplifies page jump management, and reduces development costs and error risks.
Smart Images

Figure CN120653342A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of mobile application development, and in particular to a jump method and device. Background Art
[0002] With the rapid development of the mobile internet, various applications (apps) are playing an increasingly important role in people's daily lives. From social networking and shopping to office work, apps are becoming increasingly versatile, and user experience requirements are becoming increasingly demanding. Against this backdrop, the importance of page transitions within apps, as a core component of user interaction, is self-evident. Page transitions must not only quickly and accurately guide users to their target page, but also flexibly handle a variety of complex transition scenarios to meet user needs in diverse contexts.
[0003] However, traditional app development faces numerous challenges in implementing page redirects. For example, there may be a conflict between diverse page redirect methods and unified management, unclear mappings between page paths and implementations, and insufficient flexibility in redirect parameter passing. This leads to complex and inefficient page redirect management, forcing developers to write different logic for different redirect methods during development, increasing development costs and the potential for errors. Summary of the Invention
[0004] The present application provides a jump method to achieve unified management and flexible adaptation of page jumps, improve the maintainability, scalability and development efficiency of the code, and the present application also provides a jump device.
[0005] In a first aspect, the present application provides a jump method, comprising:
[0006] Receiving a protocol format file of a jump request in a preset format;
[0007] Determine a global routing table, wherein the global routing table is used to represent a mapping relationship between page paths and page implementations;
[0008] Parsing the protocol format file to obtain jump information, wherein the jump information includes a jump target address parameter, a jump mode parameter, and a jump parameter;
[0009] If the jump mode in the jump information is a first-type jump mode, and the global routing table indicates the existence of a corresponding native page, then jump to the native page according to the jump target address parameter and the jump parameter. The first-type jump mode is app native page jump;
[0010] If the jump method in the jump information is the second type of jump method, then jump to the corresponding content according to the jump target address parameter and the jump parameter. The second type of jump method is a jump method in the preset jump method except for the app native page jump.
[0011] Optionally, the jumping to the corresponding content according to the jump target address parameter and the jump parameter includes:
[0012] If the second type of jump mode is an h5 browser jump, then the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed;
[0013] If the second type of jump mode is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter;
[0014] If the second type of jump method is to jump to a mini-program, then the program jumps to the corresponding mini-program according to the jump target address parameter and the jump parameter.
[0015] Optionally, the method further includes:
[0016] Obtain jump permission parameters, and perform jump permission determination based on the jump permission parameters;
[0017] The step of jumping to the native page according to the jump target address parameter and the jump parameter includes:
[0018] If it is determined that the user has logged in, completed personal information and has jump permission, then jump to the native page according to the jump target address parameter and the jump parameter;
[0019] The step of jumping to the corresponding content according to the jump target address parameter and the jump parameter includes:
[0020] If it is determined that the user has logged in, completed personal information and has jump authority, jump to the corresponding content according to the jump target address parameter and the jump parameter.
[0021] Optionally, before executing the jump operation, the method further includes:
[0022] Get the business logic execution file configured by the user;
[0023] Execute the corresponding business logic according to the business logic execution file;
[0024] In response to the completion of the business logic execution, a corresponding jump action is executed.
[0025] In a second aspect, the present application further provides a jump device, comprising:
[0026] A receiving unit, configured to receive a protocol format file of a jump request in a preset format;
[0027] a determining unit, configured to determine a global routing table, wherein the global routing table is configured to represent a mapping relationship between a page path and a page implementation;
[0028] A parsing unit, configured to parse the protocol format file to obtain jump information, wherein the jump information includes a jump target address parameter, a jump mode parameter, and a jump parameter;
[0029] a first jump unit, configured to, if the jump mode in the jump information is a first type of jump mode and the global routing table indicates the existence of a corresponding native page, jump to the native page according to the jump target address parameter and the jump parameter, wherein the first type of jump mode is app native page jump;
[0030] The second jump unit is used to jump to the corresponding content according to the jump target address parameter and the jump parameter if the jump method in the jump information is the second type of jump method. The second type of jump method is a jump method in the preset jump method except for the app native page jump.
[0031] Optionally, the second jump unit is specifically configured to:
[0032] If the second type of jump mode is an h5 browser jump, then the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed;
[0033] If the second type of jump mode is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter;
[0034] If the second type of jump method is to jump to a mini-program, then the program jumps to the corresponding mini-program according to the jump target address parameter and the jump parameter.
[0035] Optionally, the device further includes:
[0036] A judgment unit, configured to obtain a jump permission parameter and perform jump permission judgment based on the jump permission parameter;
[0037] The first jump unit is specifically configured to:
[0038] If it is determined that the user has logged in, completed personal information and has jump permission, then jump to the native page according to the jump target address parameter and the jump parameter;
[0039] The second jump unit is specifically configured to:
[0040] If it is determined that the user has logged in, completed personal information and has jump authority, jump to the corresponding content according to the jump target address parameter and the jump parameter.
[0041] Optionally, the device further includes:
[0042] An acquisition unit, used to acquire the business logic execution file configured by the user;
[0043] A first execution unit, configured to execute corresponding business logic according to the business logic execution file;
[0044] The second execution unit is used to execute a corresponding jump action in response to the completion of the business logic execution.
[0045] In a third aspect, an embodiment of the present application provides a device comprising a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes any of the methods described in the first aspect.
[0046] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a code. When the code is executed, the device executing the code implements the method described in any one of the first aspects above. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the following briefly introduces the drawings required for use in the embodiment or the prior art description. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0048] Figure 1 A flowchart of a jump method provided in an embodiment of the present application;
[0049] Figure 2 This is a structural diagram of a specific implementation of the jump device provided in this application. DETAILED DESCRIPTION
[0050] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0051] It should be noted that the jump method and device provided in this application are used in the field of mobile application development technology. Of course, the above is only an example and does not limit the application field of the method and device provided in this application.
[0052] With the rapid development of the mobile internet, various applications (apps) are playing an increasingly important role in people's daily lives. From social networking and shopping to office work, apps are becoming increasingly versatile, and user experience requirements are becoming increasingly demanding. Against this backdrop, the importance of page transitions within apps, as a core component of user interaction, is self-evident. Page transitions must not only quickly and accurately guide users to their target page, but also flexibly handle a variety of complex transition scenarios to meet user needs in diverse contexts.
[0053] However, in traditional App development, the page jump function faces many challenges.
[0054] First, the diversity of page redirection methods presents significant challenges for developers. For example, there are multiple redirection methods, including native page redirection, web page redirection, and third-party app redirection. Each method has its own unique implementation logic and parameter passing method. This forces developers to handle various redirection logic in a decentralized manner throughout their code, making the code structure complex and difficult to maintain and extend.
[0055] Secondly, the mapping relationship between the page path and its implementation is not clear enough. Developers need to manually parse the page path parameters to determine the target page. This manual parsing method is prone to errors, and when the page path rules change, the parsing logic needs to be modified, further increasing development costs and the possibility of errors.
[0056] Finally, the redirect parameter passing method was not flexible enough. Different redirect methods required different parameter passing logic, which forced developers to write different parameter passing code for each redirect method during the development process, reducing development efficiency. This led to the complexity and inefficiency of page redirect management, forcing developers to write different logic for different redirect methods during the development process, increasing development costs and the possibility of errors.
[0057] In light of this, the present application proposes a redirect method that receives a protocol format file containing redirect requests in a preset format, allowing all redirect requests to be processed in a unified format. This protocol format file acts like a standardized redirect instruction; regardless of the redirect type, the redirect information can be obtained by parsing it. For example, for an app, whether redirecting to a native page or a webpage, the redirect request can be described using this protocol format file, avoiding the need to disaggregate different redirect methods throughout the code, making the code more concise and easier to maintain. A global routing table is then determined. This global routing table acts like a "map," clearly mapping the page path to the page implementation. After parsing the protocol format file to obtain the redirect information, the specific page to be redirected can be determined based on this global routing table. For example, if the page path is " / user / profile," the global routing table clearly indicates that this path corresponds to the native page for user details. This allows for changes in the page path rules, requiring only the global routing table to be updated without modifying the specific redirect logic code, improving code scalability. Finally, the redirect information obtained by parsing the protocol format file includes the redirect target address parameter, the redirect method parameter, and the redirect parameters. This structured redirect information makes the passing of redirect parameters more flexible. For example, for different redirect methods, the redirect method parameter can be used to determine how to handle the redirect parameters. In native page redirects, the redirect parameters can be passed directly to the constructor of the target page; when redirecting to a web page, the redirect parameters can be appended to the URL of the web page as a query string. This flexible parameter passing method allows developers to more conveniently transfer data between different pages, improving development efficiency. This also enables unified management and flexible adaptation of page redirects, improving code maintainability, scalability, and development efficiency.
[0058] The method provided in the embodiment of the present application can be executed by software on a terminal device, such as a mobile phone, a tablet computer, or a computer.
[0059] In order to make the technical personnel in this field better understand the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods. The following description is made by taking the method provided in the embodiment of the present invention as an example executed by a computing device.
[0060] Figure 1 This is a flow chart of a jump method provided in an embodiment of the present application. Figure 1 As shown, the method includes:
[0061] S101: Receive a protocol format file of a jump request in a preset format.
[0062] The computing device may receive a protocol format file of a jump request in a preset format.
[0063] For example, the preset format may be scheme$$link$$paramsString, where:
[0064] Scheme can be a jump method parameter, such as app, h5, alert, and wxminiprogram. app can indicate that the jump method is to jump to the app native page, h5 can indicate that the jump method is to jump to the h5 internal browser, alert can indicate that the jump method is a pop-up prompt, and wxminiprogram can indicate that the jump method is to jump to the mini program.
[0065] Link can be a target address parameter used to represent the destination of the jump operation, such as / account / settings, https: / / www.example.com, etc.
[0066] paramsString can be a jump parameter, which is used to indicate the transmission of additional information or parameters during the jump process, for example {"a":1,"b":2}).
[0067] S102: Determine a global routing table.
[0068] The computing device can determine a global routing table that is used to characterize the mapping relationship between page paths and page implementations, such as mapping account / settings to a specific page implementation. The embodiment of the present application provides a method for centrally managing page routing, so that the target page implementation can be quickly found when executing a jump. Route mappings can be added or modified in the routing table at any time without modifying the jump logic code.
[0069] It should be noted that the routing table only manages the routing relationship of native pages (that is, when the scheme is app). If the scheme is app, you need to use the routing table to find the implementation of the target page. If the scheme is other types (such as h5, alert, etc.), you do not need to use the routing table.
[0070] S103: Parse the protocol format file to obtain jump information.
[0071] The computing device can parse the protocol format file to obtain jump information, wherein the jump information includes a jump target address parameter, a jump method parameter, and a jump parameter. The jump target address parameter, jump method parameter, and jump parameter in this step are similar to those in step S101 and are not described in detail here.
[0072] S104: If the jump mode in the jump information is the first type of jump mode, and the global routing table indicates that a corresponding native page exists, jump to the native page according to the jump target address and the jump parameter.
[0073] Determine whether the jump method in the jump information is the first type of jump method. Here, the first type of jump method is the app native page jump.
[0074] If the jump method in the jump information is the first type of jump method, it can be determined whether there is a corresponding native page in the global routing table. In other words, the parsed link can be used to find the corresponding page implementation in the routing table.
[0075] For example, in this global routing table:
[0076] The key is the page path, for example " / account / settings".
[0077] The value is the corresponding page implementation, for example "MinePageRouter.setting".
[0078] The target page found from the routing table is implemented as targetPage, for example, targetPage is "MinePageRouter.setting".
[0079] After parsing the redirect protocol, the resulting link (e.g., " / account / settings") is used to find the corresponding page implementation in the routing table. For example, the parsed page path is " / account / settings".
[0080] If targetPage exists, it means that the corresponding page implementation has been found and the jump logic can be executed.
[0081] If targetPage does not exist (i.e. undefined), it means that the target page does not exist and an error prompt is returned.
[0082] That is, if it is determined that the jump mode in the jump information is the first type of jump mode, and the global routing table indicates that a corresponding page implementation exists, then the jump is made to the native page according to the jump target address and the jump parameters.
[0083] For example, a native navigation controller (such as RouterModule.push) can be used to perform a jump operation, push the target page into the navigation stack, and pass the jump parameters.
[0084] S105: If the jump mode in the jump information is the second type of jump mode, jump to the corresponding content according to the jump target address and the jump parameter.
[0085] If the jump method in the jump information is determined to be the second type of jump method, then jump to the corresponding content according to the jump target address and jump parameters. Among them, the second type of jump method is one of the following: h5 internal browser jump, pop-up prompt, and mini program jump.
[0086] Exemplarily, if the second type of jump mode is an h5 browser jump, the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed.
[0087] If the second type of jump method is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter.
[0088] If the second type of jump method is to jump to a mini-program, the program will jump to the corresponding mini-program according to the jump target address parameter and the jump parameter.
[0089] In some possible implementations, the embodiment of the present application may further obtain a jump permission parameter before performing a jump operation, and perform a jump permission judgment based on the jump permission parameter.
[0090] For example, you can obtain the user's current status by calling a user information management module (such as UserInfoManager). For example, UserInfoManager.getUserInfo() returns the user's login status, information integrity, sharing permissions, and VIP status.
[0091] According to the passed permission parameters (permissions), check item by item whether the user has the corresponding permissions.
[0092] In some scenarios where users need to log in, for example, if the jump method is the first type of jump method, it can be determined whether the user has logged in and completed the personal information. If it is determined that the user has logged in, completed the personal information and has the jump permission, the corresponding jump operation will be performed.
[0093] In some scenarios where user login is not required, such as when the redirect method is a pop-up window prompt in the second type of redirect method, it is possible to simply determine whether the redirect permission is granted. If the redirect permission is granted, the corresponding redirect operation can be performed, such as displaying a pop-up window prompt. By verifying permissions, the security of the redirect can be improved.
[0094] In some possible implementations, before executing the jump operation, the embodiment of the present application can also obtain the business logic execution file configured by the user, execute the corresponding business logic according to the business logic execution file, and execute the corresponding jump action in response to the completion of the business logic execution.
[0095] For example, a business logic file, typically a JavaScript script or configuration file, can be downloaded from a remote server. The file contents can be downloaded using fetch. The script can then be dynamically created to load and execute the script, calling the functions defined in the business logic file to execute specific business logic. Based on the execution results of the business logic, a corresponding jump action is executed. By obtaining the user-configured business logic execution file and executing the corresponding business logic based on the business logic execution file, a corresponding jump action is executed in response to the completion of the business logic execution. This mechanism not only improves the flexibility and scalability of the application, but also allows for dynamic updates of business logic without republishing the application.
[0096] This application receives a protocol format file containing redirect requests in a pre-set format, allowing all redirect requests to be processed in a unified format. This protocol format file acts like a standardized redirect instruction; regardless of the redirect type, the redirect information can be obtained by parsing it. For example, for an app, whether redirecting to a native page or a webpage, this protocol format file can be used to describe the redirect request, eliminating the need to separate different redirect methods within the code, making the code more concise and easier to maintain. A global routing table is then determined. This global routing table acts like a "map," clearly mapping the page path to the page implementation. After parsing the protocol format file to obtain the redirect information, the global routing table can be used to determine the specific page to redirect to. For example, if the page path is " / user / profile," the global routing table can clearly indicate that this path corresponds to the native page for user details. This way, even if the page path rules change, only the global routing table needs to be updated, without modifying the specific redirect logic code, improving code scalability. Finally, the redirect information obtained by parsing the protocol format file includes the redirect target address parameters, the redirect method parameters, and the redirect parameters. This structured redirect information allows for more flexible parameter handling. For example, different redirect methods can be handled based on the redirect method parameters. In native page redirects, redirect parameters can be passed directly to the target page's constructor; when redirecting to a web page, they can be appended to the page's URL as a query string. This flexible parameter passing method makes it easier for developers to transfer data between different pages, improving development efficiency. This enables unified management and flexible adaptation of page redirects, enhancing code maintainability, scalability, and development efficiency.
[0097] The above are some specific implementations of the jump method provided in the embodiment of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiment of the present application will be introduced from the perspective of functional modularization. The device and the jump method described above can be referenced to each other.
[0098] Figure 2 The structural block diagram of the jump device provided by the embodiment of the present invention is referred to as the specific embodiment 2. Figure 2 The apparatus may include:
[0099] The receiving unit 210 is configured to receive a protocol format file of a jump request in a preset format;
[0100] A determining unit 220 is configured to determine a global routing table, wherein the global routing table is configured to represent a mapping relationship between page paths and page implementations;
[0101] The parsing unit 230 is used to parse the protocol format file to obtain jump information, where the jump information includes a jump target address parameter, a jump mode parameter, and a jump parameter;
[0102] A first jump unit 240 is configured to jump to the native page according to the jump target address parameter and the jump parameter if the jump mode in the jump information is a first type of jump mode and the global routing table indicates the existence of a corresponding native page, wherein the first type of jump mode is app native page jump;
[0103] The second jump unit 250 is used to jump to the corresponding content according to the jump target address parameter and the jump parameter if the jump method in the jump information is the second type of jump method. The second type of jump method is a jump method in the preset jump method except for the app native page jump.
[0104] Optionally, the second jump unit is specifically configured to:
[0105] If the second type of jump mode is an h5 browser jump, then the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed;
[0106] If the second type of jump mode is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter;
[0107] If the second type of jump method is to jump to a mini-program, then the program jumps to the corresponding mini-program according to the jump target address parameter and the jump parameter.
[0108] Optionally, the device further includes:
[0109] A judgment unit, configured to obtain a jump permission parameter and perform jump permission judgment based on the jump permission parameter;
[0110] The first jump unit is specifically configured to:
[0111] If it is determined that the user has logged in, completed personal information and has jump permission, then jump to the native page according to the jump target address parameter and the jump parameter;
[0112] The second jump unit is specifically configured to:
[0113] If it is determined that the user has logged in, completed personal information and has jump authority, jump to the corresponding content according to the jump target address parameter and the jump parameter.
[0114] Optionally, the device further includes:
[0115] An acquisition unit, used to acquire the business logic execution file configured by the user;
[0116] A first execution unit, configured to execute corresponding business logic according to the business logic execution file;
[0117] The second execution unit is used to execute a corresponding jump action in response to the completion of the business logic execution.
[0118] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.
[0119] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the method described in any embodiment of the present application.
[0120] The computer storage medium stores code, and when the code is executed, the device executing the code implements the method described in any embodiment of the present application.
[0121] The "first" and "second" (if any) in the names mentioned in the embodiments of this application are only used as name identifiers and do not mean the first or second in order.
[0122] Through the description of the above embodiments, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment or certain parts of the embodiments of the present application.
[0123] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment. Those of ordinary skill in the art can understand and implement it without paying any creative work.
[0124] The above description is merely an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application.
Claims
1. A jump method, characterized in that: include: Receiving a protocol format file of a jump request in a preset format; Determine a global routing table, wherein the global routing table is used to represent a mapping relationship between page paths and page implementations; Parsing the protocol format file to obtain jump information, wherein the jump information includes a jump target address parameter, a jump mode parameter, and a jump parameter; If the jump mode in the jump information is a first-type jump mode, and the global routing table indicates the existence of a corresponding native page, then jump to the native page according to the jump target address parameter and the jump parameter. The first-type jump mode is app native page jump; If the jump method in the jump information is the second type of jump method, then jump to the corresponding content according to the jump target address parameter and the jump parameter. The second type of jump method is a jump method in the preset jump method except for the app native page jump.
2. The method according to claim 1, characterized in that The step of jumping to the corresponding content according to the jump target address parameter and the jump parameter includes: If the second type of jump mode is an h5 browser jump, then the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed; If the second type of jump mode is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter; If the second type of jump method is to jump to a mini-program, then the program jumps to the corresponding mini-program according to the jump target address parameter and the jump parameter.
3. The method according to claim 1, characterized in that The method further comprises: Obtain jump permission parameters, and perform jump permission determination based on the jump permission parameters; The step of jumping to the native page according to the jump target address parameter and the jump parameter includes: If it is determined that the user has logged in, completed personal information and has jump permission, then jump to the native page according to the jump target address parameter and the jump parameter; The step of jumping to the corresponding content according to the jump target address parameter and the jump parameter includes: If it is determined that the user has logged in, completed personal information and has jump authority, jump to the corresponding content according to the jump target address parameter and the jump parameter.
4. The method according to claim 1, wherein Before executing the jump operation, the method further includes: Get the business logic execution file configured by the user; Execute the corresponding business logic according to the business logic execution file; In response to the completion of the business logic execution, a corresponding jump action is executed.
5. A jump device, characterized in that: include: A receiving unit, configured to receive a protocol format file of a jump request in a preset format; a determining unit, configured to determine a global routing table, wherein the global routing table is configured to represent a mapping relationship between a page path and a page implementation; A parsing unit, configured to parse the protocol format file to obtain jump information, wherein the jump information includes a jump target address parameter, a jump mode parameter, and a jump parameter; a first jump unit, configured to, if the jump mode in the jump information is a first type of jump mode and the global routing table indicates the existence of a corresponding native page, jump to the native page according to the jump target address parameter and the jump parameter, wherein the first type of jump mode is app native page jump; The second jump unit is used to jump to the corresponding content according to the jump target address parameter and the jump parameter if the jump method in the jump information is the second type of jump method. The second type of jump method is a jump method in the preset jump method except for the app native page jump.
6. The device according to claim 5, characterized in that The second jump unit is specifically configured to: If the second type of jump mode is an h5 browser jump, then the web view is loaded according to the jump target address parameter and the jump parameter and the content of the target uniform resource locator URL is displayed; If the second type of jump mode is a pop-up prompt, a pop-up prompt is displayed according to the jump target address parameter and the jump parameter; If the second type of jump method is to jump to a mini-program, then the program jumps to the corresponding mini-program according to the jump target address parameter and the jump parameter.
7. The device according to claim 5, characterized in that The device further comprises: A judgment unit, configured to obtain a jump permission parameter and perform jump permission judgment based on the jump permission parameter; The first jump unit is specifically configured to: If it is determined that the user has logged in, completed personal information and has jump permission, then jump to the native page according to the jump target address parameter and the jump parameter; The second jump unit is specifically configured to: If it is determined that the user has logged in, completed personal information and has jump authority, jump to the corresponding content according to the jump target address parameter and the jump parameter.
8. The device according to claim 5, characterized in that The device further comprises: An acquisition unit, used to acquire the business logic execution file configured by the user; A first execution unit, configured to execute corresponding business logic according to the business logic execution file; The second execution unit is used to execute a corresponding jump action in response to the completion of the business logic execution.
9. A computing device, characterized in that The computing device includes a memory and a processor, wherein the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes, so that the device performs the method according to any one of claims 1 to 4.
10. A computer storage medium, characterized in that The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the method according to any one of claims 1 to 4.