CN116776025A - Custom native page jump adaptation method, device and computer equipment - Google Patents

Custom native page jump adaptation method, device and computer equipment Download PDF

Info

Publication number
CN116776025A
CN116776025A CN202310667443.5A CN202310667443A CN116776025A CN 116776025 A CN116776025 A CN 116776025A CN 202310667443 A CN202310667443 A CN 202310667443A CN 116776025 A CN116776025 A CN 116776025A
Authority
CN
China
Prior art keywords
page
native
user terminal
native page
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310667443.5A
Other languages
Chinese (zh)
Inventor
庄志辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202310667443.5A priority Critical patent/CN116776025A/en
Publication of CN116776025A publication Critical patent/CN116776025A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The embodiment of the application belongs to the technical field of software research and development and financial science and technology, and relates to a custom native page jump adaptation method, wherein the embodiment of the application generates a mapping relation between a native page and a routing key of an operation module comprising the native page by carrying out carded configuration on the native page of an APP operation module, touches the mapping relation to a user terminal for local caching, and stores the mapping relation and version information of the user terminal to a rear end after matching; after receiving a request of a user for accessing an APP operation module, returning an H5 intermediate page and a random key to the user, searching a routing key of a native page by the user according to a mapping relation of the random key from a local cache, and skipping the H5 intermediate page and the native page according to the routing key of the native page, so that communication cost for supporting operation and development of skipping of the native route can be reduced, the operation only needs to pay attention to a skipping interface, and development does not need to pay attention to whether a version corresponding to the APP/equipment meets the requirement of skipping or not, and an operation scheme is optimized.

Description

Custom native page jump adaptation method, device and computer equipment
Technical Field
The present application relates to the field of software development and financial technology, and in particular, to a custom native page jump adaptation method, apparatus, computer device, and readable storage medium.
Background
In order to provide good experience for clients, in the process that primary pages such as My, first page, work table and the like of APP are still using native pages, especially APP supporting functions of shopping, social interaction, interactive games, resource transfer and the like, when operation is performed in the process of configuring operation touch and the like, modification of the native pages is involved or introduction or updating of functions is required, mutual skip between the operation and H5 pages is required, if the pages are native pages, operation needs to support skip with development communication or not, and page routing key, APP/equipment version information and the like corresponding to the native pages need to be known, so that development and operation communication costs are correspondingly increased.
Disclosure of Invention
The embodiment of the application aims to provide a custom native page jump adaptation method, a device, computer equipment and a readable storage medium, which can reduce communication cost of operation and development supporting native route jump, the operation does not need to pay attention to jump links, only needs to pay attention to jump interfaces, and development does not need to pay attention to whether versions corresponding to APP/equipment meet jump requirements or not, so that an operation scheme is optimized.
In order to solve the above technical problems, the embodiment of the present application provides a custom native page skip adaptation method, which adopts the following technical scheme:
receiving a mapping relation between a native page and an operation module, wherein the mapping relation is sent by a user terminal and comprises a routing key of the native page;
touching the mapping relation to the user terminal for local caching, matching the mapping relation with version information of the user terminal, and storing the matching relation to a rear end;
receiving a request of the user terminal for accessing an APP operation module;
and returning an H5 intermediate page and a random key to the user terminal so that the user terminal searches the routing key of the original page according to the mapping relation of the random key from the local cache, and jumps the H5 intermediate page and the original page according to the routing key of the original page.
Further, the step of touching the mapping relationship to the user terminal to perform local caching includes:
and according to different card configuration of the original page, the mapping relation is touched to the user terminal through active touch or message pushing so as to carry out local caching.
Further, the H5 middle page and the native page are jumped through a bridge method.
Further, the step of performing the jump of the H5 intermediate page and the native page according to the routing key of the native page specifically includes:
intercepting the H5 middle page and the random key through an interceptor interface of the rear end;
searching a route key of the original page and version information of a user terminal stored at the back end according to the random key;
and converting the H5 middle page and the original page according to the version information of the user terminal.
Further, the mapping relation between the native page and the operation module is generated by carrying out card configuration on the native page of the APP operation module.
Further, the interceptor acquires the primary routing key through interaction of the back end to jump.
In order to solve the above technical problem, an embodiment of the present application further provides a custom native page jump adapter device, including:
the first receiving module is used for receiving the mapping relation between the original page sent by the user terminal and the operation module, wherein the mapping relation comprises a routing key of the original page;
the touch and storage module is used for touching the mapping relation to the user terminal for local caching, matching the mapping relation with version information of the user terminal and then storing the matching relation to the back end;
the second receiving module is used for receiving the request of the user for accessing the APP operation module;
and the searching and skipping module is used for returning an H5 intermediate page and a random key to the user terminal so that the user terminal searches the routing key of the original page according to the mapping relation of the random key from the local cache, and skipping the H5 intermediate page and the original page according to the routing key of the original page.
Further, the find and jump module 404 includes:
the interception sub-module is used for intercepting the H5 intermediate page and the random key through an interceptor interface at the rear end;
the searching sub-module is used for searching the route key of the original page and the version information of the user terminal stored at the back end according to the random key;
and the conversion sub-module is used for converting the H5 middle page and the original page according to the version information of the user terminal.
In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical schemes:
the computer device comprises a memory and a processor, wherein the memory stores computer readable instructions, and the processor realizes the steps of the self-defined native page jump adaptation method when executing the computer readable instructions.
In order to solve the above technical problems, an embodiment of the present application further provides a computer readable storage medium, which adopts the following technical schemes:
the computer readable storage medium stores computer readable instructions that when executed by a processor implement the steps of the custom native page jump adaptation method.
Compared with the prior art, the embodiment of the application has the following main beneficial effects: the method comprises the steps of carrying out card configuration on a native page of an APP operation module, generating a mapping relation between the native page and a routing key of the operation module, which comprises the native page, touching the mapping relation to a user terminal for local caching, matching the mapping relation with version information of the user terminal, and storing the matching relation to a rear end; after receiving a request of a user for accessing an APP operation module, returning an H5 intermediate page and a random key to the user, searching a routing key of a native page by the user according to a mapping relation of the random key from a local cache, and skipping the H5 intermediate page and the native page according to the routing key of the native page, so that communication cost for supporting operation and development of skipping of the native route can be reduced, skipping links are not required to be paid attention to in operation, a skipping interface is not required to be paid attention to in operation, whether versions corresponding to the APP/equipment meet skipping requirements is not required to be paid attention to in development, and an operation scheme is optimized.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for the description of the embodiments of the present application, it being apparent that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a custom native page jump adaptation method in accordance with the present application;
FIG. 3 is a flowchart of the step of performing a jump of the H5 middle page and the native page according to the routing key of the native page in step 204 according to the present application;
FIG. 4 is a schematic diagram illustrating one embodiment of a custom native page jump adapter apparatus in accordance with the present application;
FIG. 5 is a schematic structural diagram of one embodiment of a computer device in accordance with the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, E-book readers, MP3 players (Moving Picture E custom native page skip adaptation pertsGroup Audio Layer III, moving Picture expert compression standard audio plane 3), MP4 (Moving Picture E custom native page skip adaptation perts Group Audio Layer IV, moving Picture expert compression standard audio plane 4) players, laptop and desktop computers, and so on.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the custom native page jump adaptation method provided by the embodiment of the present application is generally executed by a server/terminal device, and accordingly, the custom native page jump adaptation device is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow diagram of one embodiment of a method of custom native page jump adaptation in accordance with the present application is shown. The self-defined native page jump adaptation method comprises the following steps:
step 201, performing card configuration on a native page of an APP operation module, and generating a mapping relation between the native page and the operation module, wherein the mapping relation comprises a routing key of the native page.
In this embodiment, the APP may be an application program supporting shopping, social, interactive gaming, resource transfer, and the like functions.
In this embodiment, the native page refers to a page that does not need a network request, and according to the different versions of the APP, the middle page of the front end H5 refers to a page that needs to be loaded by the network request and can be modified according to the version, and is applicable to all versions of the APP.
The mapping relation between the original page and the operation module is generated by carrying out card configuration on the original page of the APP operation module. The APP operator needs to specify a corresponding jumped original page of an operation module in an operation background, namely, the card configuration of the jumped original page is specified, the configuration generates a mapping relation between the original page and the operation module, the mapping relation comprises a routing key of the original page, such as a first page popup window configuration- > jumped to a learning special area of a discovery page, and a mapping relation of the routing key- > mapped discovery page learning special area of the original page is generated; the card configuration, for example, a top page is provided with a bullet frame, and the user needs to jump to the inside of the application A after clicking, so that an operator performs a mapping relation on two cards at an interface, namely, the bullet frame A- > the application A; for another example, if the home page has a banner, and the user needs to jump to the active H5 page after clicking, the operator associates the card banner with the custom H5 link card (active card) on the interface.
Step 202, touching the mapping relation to the user terminal for local caching, and storing the mapping relation and version information of the user terminal to the back end after matching.
Further, the step of touching the mapping relationship to the user terminal to perform local caching includes:
and according to different card configuration of the original page, the mapping relation is touched to the user terminal through active touch or message pushing so as to carry out local caching.
In this embodiment, the mapping relationship may be actively touched or pushed to the user terminal by the APP operation module according to different card configurations of the native page, if the mapping relationship is a popup window, the mapping relationship is actively touched by the user through inquiry after logging in, if the mapping relationship is pushed by the message, the mapping relationship is touched by the timing task JOB, wherein the active touching refers to that the user logs in the APP, and at the position where the corresponding operation content is displayed, the mapping relationship is filtered and screened according to the touch condition of the operation so as to display the operation content, and the touch of the operation content is actively touched by the user after logging in; for example, the banner popup window is actively triggered after the user logs in, actively inquires whether the display condition is met or not to display the display condition, and the message is touched, the touched crowd is inquired through a timing task, and then the message is sent through the crowd, so that the touched user is touched, the touched message is not recovered due to the taking of the operation content, and the actively touched message is recovered. The message pushing and touching are carried out to the message configured by the timing JOB JOB timing inquiry, then the timing JOB can inquire that the message needs to be pushed according to the triggering condition of the message (the triggering condition of the message is pushed to the crowd, for example, the 4S shop in Guangzhou is configured by the pushing content in Guangzhou, the message needs to be pushed, the message is inquired to the website of the 4S shop in Guangzhou through the pushing condition, and then the message is thinned to a person through the website, and the message is touched to the person through the message center.
When the touch reaches the user terminal, the configuration of the page learning special area can be found through the route key- > of the mapping relation original page in the device, the route key corresponding to the original is found, the route relation corresponding to the key is recorded in the local cache of the device, meanwhile, according to the version number of the user terminal, the condition of route matching is returned to the back end for storage, namely, the route key relation corresponding to the version number is recorded as the route key relation of the original interface, for example: appVersion > = 2.1.0- > find page learning private (find_dock_learn) is stored to the back end for subsequent adaptation and conversion directly upon return of the jump link of the page.
And 203, receiving a request of a user for accessing the APP operation module and returning an H5 middle page and a random key to the user.
In this embodiment, the electronic device (for example, the server/terminal device shown in fig. 1) on which the custom native page jump adaptation method operates may receive, by a wired connection manner or a wireless connection manner, a request from a user to access the APP operation module and return an H5 middle page and a random key to the user. It should be noted that the wireless connection may include, but is not limited to, 3G/4G/5G connections, wiFi connections, bluetooth connections, wiMAX, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
And receiving a request of accessing an APP operation module by a user, returning a jump link which is an H5+ random key to the user according to the module accessed by the request, wherein the H5 link is an intermediate page, carrying out H5 and native jump through a native route key in a local equipment cache, and carrying out indirect jump through a bridge method.
And 204, searching the routing key of the original page by the user according to the mapping relation of the random key from the local cache, and skipping the H5 middle page and the original page according to the routing key of the original page.
In this embodiment, each native hop card corresponds to a native routing key through which the native page needs to find the corresponding page. When operation is carried out, operation content is configured, a key is generated when card configuration is carried out, the key is a key for marking an intermediate page of H5 link skip, the key is transmitted to a native page when the H5 link skip is carried out, the native page finds a native page corresponding to the key stored by local equipment through a random key value of the H5, so that a user clicks- > the H5 intermediate page+the random key- > the random key to give the native page, and the native skip to the corresponding native page is carried out through the relationship between the random key stored locally and the native page key.
The relation between the random key and the original page key is transmitted to the user terminal through the message. There are two ways:
providing an interface for the mapping relation of the key when the user logs in, refreshing the mapping relation to the local equipment of the user when the user is idle (after actions such as gesture login and the like);
and after the operation change selection is triggered, message parameters added in a message center are transmitted in a transparent way, namely, when the information related to the equipment is transmitted to the user in a timing way, the transmission of the corresponding relation of the additional key is carried out, and the information is stored by the original.
The process is that after the user clicks the content of the operation position, the user uniformly jumps to an intermediate page, the intermediate page is an H5 page carrying a parameter of a random key, the H5 page finds a corresponding original key by transmitting the random key to the original page, and the original page jumps by searching a mapping relation of the key pushed by the back end.
Further, as shown in fig. 3, in the step 204, the step of performing the jump of the H5 middle page and the native page according to the routing key of the native page specifically includes:
step 301, intercepting the H5 intermediate page and the random key through an interceptor interface of the back end;
step 302, searching the route key of the original page and the version information of the user terminal stored at the back end according to the random key;
and 303, converting the H5 middle page and the original page according to the version information of the user terminal.
In this embodiment, when a user accesses the APP operation module, an access request is intercepted uniformly at the back-end interceptor interface, an H5 middle page and a random key are intercepted, and then the version number of the user terminal stored in the back-end and a corresponding native page routing key are searched according to the random key, so as to perform conversion of a return jump link. Converting the returned link hit relation and the APP/equipment version number at a unified interceptor of the back-end operation module, converting the returned link hit relation and the APP/equipment version number into a corresponding original skip route, processing the corresponding original skip route according to the APP/equipment version number, returning an H5 link to prompt a user to upgrade if the returned link hit relation is lower than the version number, and returning the corresponding original skip route to the APP user in the original skip route key if the returned link hit relation is higher than the version number.
The jump can be performed by acquiring the native routing key through the interaction of the back end instead of the native routing key stored locally by the device. The interceptor performs a native key query of the back end on the middle page of H5, where there is a place where dynamic test points can be performed, for example, when a person in a part of the place area wants to jump to another application or displays a different page, the interceptor may perform back end switching, and perform link conversion through configuration. The back end returns to carry out link adaptation through an interface, for example, a native interface is jumped, the key needs more than 2.15.0 versions to be displayed, if the APP version of the user is 2.0.0 and is not updated, the displayed interface is an interface for reminding the update, otherwise, the user cannot participate in activities and the like.
In summary, the embodiment of the application generates the mapping relation between the native page and the routing key of the operation module comprising the native page by carrying out card configuration on the native page of the APP operation module, touches the mapping relation to the user terminal for local caching, matches the mapping relation with the version information of the user terminal and stores the matching relation to the back end; after receiving a request of a user for accessing an APP operation module, returning an H5 intermediate page and a random key to the user, searching a routing key of a native page by the user according to a mapping relation of the random key from a local cache, and skipping the H5 intermediate page and the native page according to the routing key of the native page, so that communication cost for supporting operation and development of skipping of the native route can be reduced, skipping links are not required to be paid attention to in operation, a skipping interface is not required to be paid attention to in operation, whether versions corresponding to the APP/equipment meet skipping requirements is not required to be paid attention to in development, and an operation scheme is optimized.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by computer readable instructions stored in a computer readable storage medium that, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 4, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a custom native page jump adaptation device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be specifically applied to various electronic devices.
As shown in fig. 4, the custom native page jump adaptation device 400 in this embodiment includes:
a first receiving module 401, configured to receive a mapping relationship between a native page and an operation module, where the mapping relationship is sent by a user terminal, and the mapping relationship includes a routing key of the native page;
the touch and storage module 402 is configured to touch the mapping relationship to the user terminal for local caching, match the mapping relationship with version information of the user terminal, and store the matching relationship to the back end;
a second receiving module 403, configured to receive a request from a user to access the APP operating module;
and a searching and skipping module 404, configured to return an H5 intermediate page and a random key to the user terminal, so that the user terminal searches the routing key of the native page according to the mapping relationship of the random key from the local cache, and performs skipping of the H5 intermediate page and the native page according to the routing key of the native page.
Wherein the find and jump module 404 comprises:
an interception submodule 4041, configured to intercept the H5 middle page and the random key through an interceptor interface of the back end;
a searching submodule 4042, configured to search, according to the random key, a routing key of the native page stored in the back end and version information of the user terminal;
the conversion submodule 4043 is configured to perform conversion between the H5 middle page and the native page according to version information of the user terminal.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 5, fig. 5 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 5 comprises a memory 51, a processor 52, a network interface 53 which are communicatively connected to each other via a system bus. It should be noted that only the computer device 5 with components 51-53 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 51 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card type memory (e.g., SD, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 51 may be an internal storage unit of the computer device 5, such as a hard disk or a memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 5. Of course, the memory 51 may also comprise both an internal memory unit of the computer device 5 and an external memory device. In this embodiment, the memory 51 is generally used to store an operating system and various application software installed on the computer device 5, such as computer readable instructions of a custom native page jump adaptation method. Further, the memory 51 may be used to temporarily store various types of data that have been output or are to be output.
The processor 52 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is configured to execute computer readable instructions stored in the memory 51 or process data, such as computer readable instructions for executing the custom native page jump adaptation method.
The network interface 53 may comprise a wireless network interface or a wired network interface, which network interface 53 is typically used to establish communication connections between the computer device 5 and other electronic devices.
The present application also provides another embodiment, namely, a computer readable storage medium, where computer readable instructions are stored, where the computer readable instructions are executable by at least one processor to cause the at least one processor to perform the steps of the custom native page jump adaptation method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
It is apparent that the above-described embodiments are only some embodiments of the present application, but not all embodiments, and the preferred embodiments of the present application are shown in the drawings, which do not limit the scope of the patent claims. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a thorough and complete understanding of the present disclosure. Although the application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing description, or equivalents may be substituted for elements thereof. All equivalent structures made by the content of the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the scope of the application.

Claims (10)

1. The custom native page jump adaptation method is characterized by comprising the following steps:
receiving a mapping relation between a native page and an operation module, wherein the mapping relation is sent by a user terminal and comprises a routing key of the native page;
touching the mapping relation to the user terminal for local caching, matching the mapping relation with version information of the user terminal, and storing the matching relation to a rear end;
receiving a request of the user terminal for accessing an APP operation module;
and returning an H5 intermediate page and a random key to the user terminal so that the user terminal searches the routing key of the original page according to the mapping relation of the random key from the local cache, and jumps the H5 intermediate page and the original page according to the routing key of the original page.
2. The method for adapting custom native page jumps according to claim 1, wherein the step of touching the mapping relation to the user terminal for local caching comprises:
and according to different card configuration of the original page, the mapping relation is touched to the user terminal through active touch or message pushing so as to carry out local caching.
3. The custom native page skip adaptation method of claim 2, wherein the skip is performed between the H5 middle page and the native page by a bridge method.
4. The method for adapting custom native page jumps according to claim 3, wherein the step of jumping the H5 intermediate page and the native page according to the routing key of the native page specifically comprises:
intercepting the H5 middle page and the random key through an interceptor interface of the rear end;
searching a route key of the original page and version information of a user terminal stored at the back end according to the random key;
and converting the H5 middle page and the original page according to the version information of the user terminal.
5. The custom native page jump adaptation method according to claim 4, wherein the mapping relationship between the native page and the operation module is generated by performing a carded configuration on the native page of the APP operation module.
6. The custom native page jump adaptation method according to claim 5, wherein the interceptor acquires a native routing key for jump through back-end interactions.
7. A custom native page jump adaptation device, comprising:
the configuration and generation module is used for carrying out card configuration on the native page of the APP operation module, and generating a mapping relation between the native page and the operation module, wherein the mapping relation comprises a routing key of the native page;
the touch and storage module is used for touching the mapping relation to the user terminal for local caching, matching the mapping relation with version information of the user terminal and then storing the matching relation to the back end;
the receiving and returning module is used for receiving a request of a user for accessing the APP operation module and returning an H5 intermediate page and a random key to the user;
and the searching and skipping module is used for searching the routing key of the original page by the user according to the mapping relation of the random key from the local cache and skipping the H5 intermediate page and the original page according to the routing key of the original page.
8. The custom native page jump adaptation apparatus according to claim 7, wherein the find and jump module comprises:
the interception sub-module is used for intercepting the H5 intermediate page and the random key through an interceptor interface at the rear end;
the searching sub-module is used for searching the route key of the original page and the version information of the user terminal stored at the back end according to the random key;
and the conversion sub-module is used for converting the H5 middle page and the original page according to the version information of the user terminal.
9. A computer device comprising a memory having stored therein computer readable instructions which when executed implement the steps of the custom native page jump adaptation method of any of claims 1 to 6.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the custom native page jump adaptation method of any of claims 1 to 6.
CN202310667443.5A 2023-06-06 2023-06-06 Custom native page jump adaptation method, device and computer equipment Pending CN116776025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310667443.5A CN116776025A (en) 2023-06-06 2023-06-06 Custom native page jump adaptation method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310667443.5A CN116776025A (en) 2023-06-06 2023-06-06 Custom native page jump adaptation method, device and computer equipment

Publications (1)

Publication Number Publication Date
CN116776025A true CN116776025A (en) 2023-09-19

Family

ID=87985208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310667443.5A Pending CN116776025A (en) 2023-06-06 2023-06-06 Custom native page jump adaptation method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN116776025A (en)

Similar Documents

Publication Publication Date Title
CN108345543B (en) Data processing method, device, equipment and storage medium
CN109408696B (en) Method and equipment for searching hosted program
US20150169710A1 (en) Method and apparatus for providing search results
US20150046424A1 (en) Methods and systems for searching software applications
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
PH12015500090B1 (en) A method and apparatus for displaying information
CN109118160B (en) Information sharing method, device, terminal equipment and medium
CN108958780A (en) A kind of method and apparatus of the more new information for program of lodging for rendering
US10402464B2 (en) Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN105302461B (en) A kind of method and apparatus for the offer target pages in mobile application
US20120079009A1 (en) Method and apparatus for choosing resources based on context and inheritance
CN102298617A (en) Method for obtaining target page and equipment
WO2012161928A1 (en) Techniques to automatically search selected content
CN103827778A (en) Enterprise tools enhancements
US20160253708A1 (en) Method and system for efficiently serving upsell content based on complex user archetypes
CN113472901B (en) Load balancing method, device, equipment, storage medium and program product
JP2022091904A (en) Mini program page skin changeover method, device, and electronic apparatus
CN109976832A (en) It is a kind of that the method and apparatus of boarding program is provided
CN109254781A (en) It is a kind of for installing the method and apparatus of application on a user device
CN109710832A (en) It is a kind of for search for boarding program method and apparatus
WO2014029358A1 (en) Method and apparatus for switching search engine to repeat search
CN109791444A (en) Call method and apparatus, server and the terminal of input method
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
JP2022530725A (en) Information push methods, devices, equipment and storage media

Legal Events

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