Page dynamic link loading device and method and medium

Through the page dynamic link loading device, the link management module and dynamic parameter processing module cache link IDs in memory and process dynamic parameters, solving the problem of low loading efficiency of page dynamic links and realizing fast link acquisition and efficient management.

CN120255978APending Publication Date: 2025-07-04SHANGHAI SHUHE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510333827.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, page dynamic link loading efficiency is low, configuration is difficult, link dispersed management is difficult, dynamic parameters are insufficient, and link correctness is difficult to control, resulting in abnormal page logic.

Method used

The page dynamic link loading device is adopted, including the link management module, configuration module, cache module and dynamic parameter processing module. By cacheing the link ID and obtaining the link content in memory, dynamically processing parameter values, reducing network IO, and improving management efficiency.

Benefits of technology

It realizes quick link content acquisition, reduces update workload, improves the maintainability and management efficiency of page links, ensures link accuracy, and improves the speed of page data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120255978A_ABST
    Figure CN120255978A_ABST
Patent Text Reader

Abstract

The invention provides a page dynamic link loading device and method and a medium, and the device comprises a link management module which is used for authorizing a page manager to manage page links and generating a corresponding link list; the configuration module is used for selecting a corresponding link to be selected from the link list and storing a link ID (Identity) into the CMS system; the caching module is used for reading and caching the links in the link list in a target memory; the link loading module is used for receiving page request data of a user and acquiring a corresponding target link in the target memory according to the link ID; the dynamic parameter processing module is used for acquiring parameter values corresponding to dynamic parameters in the target link, assembling the parameter values in the target link and then sending the parameter values to the user; according to the method and the device, the link updating workload is greatly reduced while the link content acquisition speed is ensured, and the link management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of page processing, and relates to a page link loading technology, in particular to a page dynamic link loading device, method and medium. Background Art

[0002] A content management system (CMS) is a set of tools for managing website content. It allows operators to set page layouts, and then the server application processes these settings and sends customized content to the client.

[0003] When processing page jumps, usually page configurators will configure a link at the place where the jump is required, such as buttons and hyperlinks, for page jumps. When the CMS system issues these jump links, the traditional technology is to let the page configurator directly input or select the link to be configured, and the CMS server is responsible for directly issuing the link to the client without any processing.

[0004] However, in the traditional technical solution, the link content is usually regarded as a static string and used as the value of a certain configuration field, and is directly returned to the client without any control and processing, resulting in the following problems that are likely to occur when loading page links: 1. There is a large difficulty in sorting. Since there may be multiple links on a page, and the links are scattered and configured in the corners of the page, it is difficult for configurators to directly understand the placement positions of all links. The links are scattered in different positions on different pages, resulting in difficult changes. 2. Unable to process dynamic links. Since a page link sometimes carries various dynamic parameters, for example, on the link of an event page, usually data for identifying the event needs to be carried, such as event id, event type, etc. However, the traditional configuration method only supports configuring the link as a static string at a certain position on the page and then directly issuing it to the client, and cannot process dynamic parameters.

[0005] 3. The correctness of the link is not controlled. The page configurator manually configures the link. Assuming that one or several characters are input incorrectly, the entire link may become invalid, and the resulting page logic exception will often have a bad impact on the page presentation and interaction. The traditional configuration method increases the probability of this error. Summary of the Invention

[0006] The purpose of this application is to provide a page dynamic link loading device, method and medium, which are used to solve the problem of low efficiency of page dynamic link loading in the prior art.

[0007] In a first aspect, this application provides a page dynamic link loading device, including: A link management module, which is used to authorize page managers to manage page links and generate corresponding link lists; A configuration module, which is communicatively connected to the link management module, is used to select corresponding candidate links from the link list to configure to corresponding user pages, and save the link IDs of the candidate links to the CMS system; A cache module, which is communicatively connected to the configuration module, is used to read and cache the links in the link list in a target memory; A link loading module, which is communicatively connected to the configuration module and the cache module respectively, is used to receive user page request data, extract the link ID corresponding to the page requested by the user from the CMS system according to the page request data, and obtain a corresponding target link in the target memory according to the link ID; A dynamic parameter processing module, which is communicatively connected to the link loading module, is used to obtain parameter values corresponding to dynamic parameters in the target link, and assemble the parameter values in the target link and then send them to the user.

[0008] In an implementation manner of the first aspect, the management of the page links by the link management module includes at least one of creation, verification, update, maintenance, and deletion of page links.

[0009] In an implementation manner of the first aspect, the process of the configuration module selecting the candidate link and saving the link ID corresponding to the candidate link to the CMS system includes: After clicking on the corresponding page component in the configuration interface, select the corresponding link interface according to the field information popped up by the configuration interface; Retrieve, select, and save the candidate link in the link interface, and save the link ID of the candidate link to the CMS system.

[0010] In an implementation manner of the first aspect, the configuration module is further used to record and save the configuration position of the candidate link during the process of selecting the candidate link, and send the configuration position to the link management module.

[0011] In an implementation manner of the first aspect, the target memory uses a one-to-one mapped k-v structure to save the link content and link ID in the link list.

[0012] In an implementation manner of the first aspect, the process of the link loading module obtaining the corresponding target link in the target memory according to the link ID includes: When a user requests page data, the basic data of the page is loaded. The basic data includes the page name and a list of page components. The list of page components includes unique component IDs corresponding to each component within the page; Concurrently request according to multiple said unique component IDs to obtain the configuration data corresponding to each said component, match the content loading policy corresponding to the component according to the configuration data of the component, and determine the corresponding link loading function according to the content loading policy; Match the target link corresponding to each said component in the target cache according to the link ID and the link loading function extracted from the CMS system.

[0013] In an implementation manner of the first aspect, the process in which the dynamic parameter processing module obtains the parameter value corresponding to the dynamic parameter in the target link and assembles the parameter value in the target link and then sends it to the user includes: Parse the target link. When there is a dynamic parameter in the target link, obtain the dynamic parameter placeholder ID in the target link; Obtain the corresponding placeholder value from the downstream business system according to the dynamic parameter placeholder ID; Use the placeholder value as the parameter value to replace the dynamic parameter placeholder ID in the target link to form the updated target link; Assemble the updated target link into the user page and return it to the user.

[0014] The present invention also provides a method for loading page dynamic links, including: Manage the page links through a link management module and generate a corresponding link list, and cache the links in the link list in the target memory through a cache module; Select the corresponding link to be selected in the link list through a configuration module, and save the link ID of the link to be selected to the CMS system; When a user requests page data, parse the page configuration data in the CMS system through a link loading module to extract the link ID, and obtain the corresponding target link in the target memory according to the link ID; Request the downstream business system through the dynamic parameter processing module to obtain the parameter value corresponding to the dynamic parameter in the target link, and assemble the parameter value in the target link and then send it to the user.

[0015] In an implementation manner of the second aspect, the target memory performs a timed full update on the cached links through a timed task, points the cache pointer to the latest updated link address, and automatically clears the old connection data.

[0016] The present invention also discloses a computer-readable storage medium, on which a computer program is stored, characterized in that when the program is executed, the above-mentioned page dynamic link loading method is implemented.

[0017] As described above, the page dynamic link loading device, method and medium described in the present application have the following beneficial effects: In the present invention, the online page links are cached in the target memory, and only the link IDs are saved in the link configuration on the page. When loading the link, the link content corresponding to the link ID is obtained from the target memory. If it is necessary to update and maintain the link, only the link content corresponding to the link ID needs to be modified in the link management module. One modification takes effect everywhere, which greatly reduces the workload of link update while ensuring the speed of obtaining the link content, and greatly improves the maintainability of the page links; for the dynamic parameters in the target link, by obtaining the parameter values corresponding to the dynamic parameters and assembling the new target link after replacing the dynamic parameters with the parameter values, it is avoided that after the client obtains the link, a secondary request is sent to obtain the dynamic parameter values, reducing network I / O and improving the speed of obtaining page data. Moreover, the management ability of the link is improved. When the page link is configured on a specific page, it will be reported to the link management module in real time for the operation personnel to view and manage, improving the management efficiency of the link. Brief Description of the Drawings

[0018] Figure 1 It shows a structural block diagram of the page dynamic link loading device described in the embodiment of the present application.

[0019] Figure 2 It shows a flowchart of the page dynamic link loading method described in the embodiment of the present application. Detailed Embodiments

[0020] The following specific examples illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0021] It should be noted that the drawings provided in the following embodiments only illustrate the basic concept of the present application schematically. Therefore, only the components related to the present application are shown in the drawings, rather than being drawn according to the number, shape and size of the components in actual implementation. The types, quantities and proportions of the components in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.

[0022] Refer to Figures 1 to 2 。The following embodiments of the present application provide a page dynamic link loading device, method and medium. By caching online page links in the target memory, and only saving the link ID in the link configuration on the page. When loading the link, the link content corresponding to the link ID is obtained from the target memory. If it is necessary to update and maintain the link, only the link content corresponding to the link ID needs to be modified in the link management module. One modification takes effect everywhere, which not only ensures the speed of obtaining the link content, but also greatly reduces the workload of link update and greatly improves the maintainability of page links. For the dynamic parameters in the target link, by obtaining the parameter values corresponding to the dynamic parameters and assembling the parameter values after replacing the dynamic parameters to obtain a new target link, it is avoided that after the client obtains the link, a secondary request is sent to obtain the dynamic parameter value, reducing network I / O and improving the speed of obtaining page data. Moreover, it improves the management ability of links. When the page link is configured on a specific page, it will be reported to the link management module in real time for operation and maintenance personnel to view and manage, improving the management efficiency of links.

[0023] Next, the technical solutions in the embodiments of the present application will be described in detail with reference to the accompanying drawings in the embodiments of the present application.

[0024] As Figure 1 shown, this embodiment provides a page dynamic link loading device, including: Link management module 1, which is used to authorize page management personnel to manage page links and generate corresponding link lists; Configuration module 2, which is communicatively connected to the link management module 1, and is used to select corresponding candidate links from the link list to be configured to the corresponding user page, and save the link ID of the candidate link to the CMS system; Cache module 3, which is communicatively connected to the configuration module 2, and is used to read and cache the links in the link list in the target memory; Link loading module 4, which is communicatively connected to the configuration module 2 and the cache module 3 respectively, and is used to receive the page request data of the user, extract the link ID corresponding to the page requested by the user from the CMS system according to the page request data, and obtain the corresponding target link in the target memory according to the link ID; Dynamic parameter processing module 5, which is communicatively connected to the link loading module 4, and is used to obtain the parameter values corresponding to the dynamic parameters in the target link, and send the target link after assembling the parameter values to the user.

[0025] In this embodiment, the link management module 1 manages page links through authorized page managers and generates corresponding link lists. Among them, the management of the page links by the link management module 1 includes at least one of creating, verifying, updating, maintaining, and deleting page links.

[0026] The creation of page links is to receive link information sent by the front end (including link content, link name, link source, etc.), verify it (such as URL format, permission check), and after passing the verification, insert the link data into the database to obtain a new page link; while link reading is to filter and query corresponding links to the configured page according to different conditions selected and input by the configurator; link update is based on the existing link configuration, update its link content, name, etc., and its status, such as going online or offline. When taking a link offline, it will be verified that the link is not associated with an application before taking it offline; for link deletion, the existing offline links are deleted to prevent them from being used again.

[0027] Specifically, in the process of page link management, through the SpringBoot framework integrating SSM, the front-end request reception is realized, and the back-end controls functions such as link verification and data format conversion within the interface logic. For example, the verification of link format during creation and update, and the conversion and adaptation of the data structure at the O end during reading. After the back-end receives the request data and converts it into a format suitable for database processing, it is organized into corresponding sql statements and submitted to the database for processing. The database realizes the functions of data addition, update, reading, and deletion by executing these database statements.

[0028] It should be noted that in this embodiment, only after the link management module 1 authorizes the page manager can the page manager configure and manage the links, thereby ensuring the risk control of page link management and guaranteeing the security of page links.

[0029] After the link management module 1 manages the page links and generates corresponding link lists, the configuration module 2 selects corresponding candidate links from the link lists and saves the link IDs of the candidate links to the CMS system, so that subsequent page managers can select corresponding page links in the CMS system to configure the page.

[0030] On the other hand, for the links in the link lists generated by the link management module 1, the cache module 3 reads and caches the links in the link lists in the target memory, and uses the memory caching technology to preload the link data into the target memory, so that subsequent calls can be directly realized by calling the target memory, greatly improving the speed of link calls.

[0031] As a result, only the link ID is saved for the link configuration on the page. When loading the link, the link content corresponding to the link ID is retrieved from the cache. If it is necessary to update or maintain the link, it is only necessary to modify the link content corresponding to the link ID in the link management module 1. With one modification, it takes effect everywhere. While ensuring the speed of obtaining the link content, it greatly reduces the workload of link updates and significantly improves the maintainability of page links.

[0032] In some embodiments, the process in which the configuration module 2 selects the candidate link and saves the link ID corresponding to the candidate link to the CMS system includes: After clicking on the corresponding page component in the configuration interface, select the corresponding link interface according to the field information popped up by the configuration interface; Retrieve, select and save the candidate link in the link interface, and save the link ID of the candidate link to the CMS system.

[0033] Specifically, in the page configuration interface, the user can click on the page component, and the configurable fields on the component will expand on the right. Click on the field related to the link, and a link selection interface will pop up. In this interface, the required link can be retrieved, selected, and after submission, the link can be configured on the page, and at the same time, the link ID is saved to the CMS system for subsequent calls.

[0034] Furthermore, the configuration module 2 is also used to record and save the configuration position of the candidate link during the process of selecting the candidate link, and send the configuration position to the link management module 1.

[0035] In this embodiment, after the candidate link is configured on the page, the usage situation is reported to and recorded in the CMS system, so as to prevent the links being used from being taken offline or deleted.

[0036] Among them, the recorded content mainly includes: (1) Link ID: uniquely identifies the link used (2) Page ID of the page using the link: uniquely identifies the page configuration using the link (3) Component code where the link is located: identifies the position of the link on the page.

[0037] When specifically recording the candidate links selected for the configuration module, first, the page configuration data is passed to the backend server. The backend parses the page configuration, recursively scans the links configured inside the page, and reports the scanned link data (link ID, component code), as well as its own basic information (page ID, code), to the configuration module 2 in the management system in the form of an HTTP request. After receiving the reported link usage data, the configuration module 2 records it in the data table to facilitate subsequent tracking and management of the configured page links. At the same time, the configuration location of the candidate link is sent to the link management module 1 to prevent the links in use from being taken offline or deleted when the link management module 1 manages the links.

[0038] In some embodiments, the target memory uses a one-to-one mapped key-value structure to store the link content and link ID in the link list.

[0039] It should be noted that the data cached in the target memory is all the online links in the link list, rather than the selected links or the configured links. Since the current number of links is small, caching all of them in memory only occupies a very small amount of memory, and caching all of them can simplify the matching logic without worrying about not having the required links in the cache.

[0040] The specific data cached in the target memory is stored in a key-value structure. The key is the link ID, and the value is the link content. The link IDs are not repeated, and each link ID uniquely maps to a link content, ensuring a one-to-one correspondence between the link ID and the link content.

[0041] In some other embodiments, the process by which the link loading module 4 obtains the corresponding target link in the target memory according to the link ID includes: When the user requests page data, the basic data of the page is loaded. The basic data includes the page name and the page component list, and the page component list includes the unique component IDs corresponding to each component inside the page. Concurrent requests are made according to multiple unique component IDs to obtain the configuration data corresponding to each component. The content loading strategy corresponding to the component is matched according to the configuration data of the component, and the corresponding link loading function is determined according to the content loading strategy. The target link corresponding to each component is matched in the target cache according to the link ID and the link loading function extracted from the CMS system.

[0042] Since a component is an aggregation of a certain function of a page, corresponding to different interaction logics and display logics. In this embodiment, when the user requests page data, the basic data of the page is first loaded, including the page name and the page component list. The page name has two main uses. One is for the development and debugging interface to quickly understand which page is loaded this time. The other is for the client to report records. The client will report the page name together with the exposure data of the page to the server for data analysis to provide a better visualized business report. The page component list can tell the client two key pieces of information: the component order and the component type. For example, the page component list from top to bottom is: a title component, a card component, and an image component. Thus, while the client loads the specific data of each component, it can also pre-occupy positions for the components and render non-configured data in advance. For example, the background color and height of the title component are not sent by the server side and there is no configuration requirement from the product, so it can be rendered in advance without waiting.

[0043] After obtaining the page name and the page component list, determine the unique component ID corresponding to each component in the page according to the page component list. Then, according to the unique component ID of each component, make concurrent requests to obtain the configuration data corresponding to each component, so as to determine the content loading strategy corresponding to each component according to the configuration data.

[0044] It should be noted that the traditional method is to request all data at once, which results in an overly large amount of data returned by a single request and a long processing time for the server to handle a single request, leading to a slow page layout loading and rendering speed. In this embodiment, by making multiple requests concurrently, the loading and rendering of each component occur simultaneously, and the amount of data that the server needs to process for each request is less, with a faster response, thus greatly improving the page data loading and rendering speed.

[0045] After obtaining the content loading strategy corresponding to each component, determine the corresponding link loading function according to the content loading strategy. Then, according to the link ID extracted from the CMS system, use the link loading function to match the target link corresponding to each component in the target cache, so as to obtain the target link required on the page requested by the user for fast loading.

[0046] In some embodiments, the process by which the dynamic parameter processing module obtains the parameter value corresponding to the dynamic parameter in the target link and assembles the parameter value in the target link and then sends it to the user includes: Parse the target link. When there is a dynamic parameter in the target link, obtain the dynamic parameter placeholder ID in the target link; Obtain the corresponding placeholder value from the downstream business system according to the dynamic parameter placeholder ID; Replace the dynamic parameter placeholder ID in the target link with the placeholder value as the parameter value to form the updated target link; Assemble the updated target link into the user page and return it to the user.

[0047] In this embodiment, after the link loading module 4 obtains the complete target link, the target link is parsed to determine whether there are dynamic parameters in the target link. When there are dynamic parameters in the target link, first obtain the dynamic parameter placeholder ID in the target link, and obtain the corresponding placeholder value from the downstream business system according to the dynamic parameter placeholder ID. Then, replace the dynamic parameter placeholder ID in the target link with the corresponding placeholder value to obtain the updated target link, and return the updated target link to the user, thus completing the loading process of the user dynamic link.

[0048] Exemplarily, when loading link content, the service of the link loading module is usually called, and the link ID in the component configuration data is passed in. The link loading module locates the corresponding link configuration through the link ID, thereby obtaining the original content of the link, and obtaining the ID of the placeholder through regular matching. This ID is bound to a link placeholder loading strategy.

[0049] For example: In the title component configuration data, the configuration data about the jump link is: http: / / www.xxxx.com / example?userId=${UID} The dynamic parameter placeholder ID obtained by regular matching is UID, and the link loading strategy bound to UID is to request the user system to obtain the unique ID of the user. Running this strategy obtains the user unique ID of 11234. Then, replace the placeholder with the specific value to obtain the final jump link returned to the user: http: / / www.xxxx.com / example?userId=11234.

[0050] It should be noted that the dynamic parameter placeholder ID and the corresponding placeholder value are in one-to-one correspondence through the mapping relationship, which will not be elaborated here.

[0051] For the dynamic parameters existing in the target link, by obtaining the parameter values corresponding to the dynamic parameters and assembling the new target link after replacing the parameters with the parameter values, it is avoided that the client makes a secondary request to obtain the dynamic parameter value after obtaining the link, reducing network I / O and improving the speed of obtaining page data. Moreover, it improves the management ability of the link. When the page link is configured on the specific page, it will be reported to the link management module in real time for the operation and maintenance personnel to view and manage, improving the management efficiency of the link.

[0052] The present invention also discloses a method for dynamically loading page links, which includes the following steps: S100. Manage page links through a link management module to generate a corresponding link list, and cache the links in the link list in a target memory through a cache module; S200. Select corresponding candidate links from the link list through a configuration module, and save the link IDs of the candidate links to a CMS system; S300. When a user requests page data, parse the page configuration data in the CMS system through a link loading module to extract the link ID, and obtain a corresponding target link in the target memory according to the link ID; S400. Request a downstream business system through a dynamic parameter processing module to obtain parameter values corresponding to the dynamic parameters in the target link, and assemble the parameter values in the target link and then send it to the user.

[0053] In this embodiment, when managing page links, first manage the page links through a link management module to generate a corresponding link list, and at the same time cache the links in the link list in the target memory through a cache module for subsequent calls. When it is necessary to configure the user page, select corresponding candidate links from the link list provided by the link management module through the configuration module, and at the same time save the link IDs of the candidate links to the CMS system in the link management module. When the user requests page data, parse the page configuration data saved in the CMS system through the link loading module and extract the link IDs of the candidate links, so as to obtain the corresponding target links in the target memory according to the link IDs. After obtaining the target links, when there are dynamic parameters in the target links, the dynamic parameter processing module requests the downstream business system to obtain the parameter values corresponding to the dynamic parameters in the target links, assembles the parameter values in the target links to replace the corresponding dynamic parameters, so as to obtain the updated target links, thereby avoiding the client from sending a secondary request to obtain the dynamic parameter values after obtaining the links, reducing network I / O, and improving the speed of obtaining page data.

[0054] In some embodiments, the target memory performs a timed full update on the cached links through a timed task, points the cache pointer to the latest updated link address, and automatically clears the old connection data.

[0055] Specifically, by setting a timing task with a configurable execution period, it is generally executed once every 2 minutes. Each time it is executed, a request is first sent to the link management module to load all links. After obtaining all the links, they are converted into the required key-value structure and stored in the target memory. Then, the cache pointer is pointed to the address of the latest link data. Since the old link data address has no reference, it will be automatically cleared, thus realizing the timed full update of the data in the target memory, which can not only reduce the complexity of the cache but also improve the reliability of the cache.

[0056] The protection scope of the page dynamic link loading method described in the embodiments of the present application is not limited to the execution order of the steps listed in this embodiment. Any solution achieved by adding or subtracting steps of the prior art and replacing steps according to the principle of the present application is included in the protection scope of the present application.

[0057] The embodiments of the present invention also provide an electronic device, which includes: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory so that the electronic device executes the above-mentioned page dynamic link loading method.

[0058] The embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by an electronic device, it implements the above-mentioned page dynamic link loading method.

[0059] Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing a processor through a program. The program can be stored in a computer-readable storage medium. The storage medium is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that integrates one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0060] In several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules / units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of devices or modules or units can be in electrical, mechanical or other forms.

[0061] The modules / units described as separate components may or may not be physically separated. The components shown as modules / units may or may not be physical modules, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, in each embodiment of the present application, the functional modules / units can be integrated in a processing module, or each module / unit can exist physically alone, or two or more modules / units can be integrated in one module / unit.

[0062] Those of ordinary skill in the art should further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in this document can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0063] The descriptions of the processes or structures corresponding to the above respective drawings have their own emphases. For parts not detailed in a certain process or structure, reference can be made to the relevant descriptions of other processes or structures.

[0064] The above embodiments only illustratively explain the principles and effects of the present application, rather than limiting the present application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes completed by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed in the present application should still be covered by the claims of the present application.

Claims

1. A page dynamic link loading device, characterized in that, Including: A link management module, used to authorize page managers to manage page links and generate corresponding link lists; A configuration module, communicatively connected to the link management module, used to select corresponding candidate links from the link list to configure to corresponding user pages and save the link IDs of the candidate links to the CMS system; A cache module, communicatively connected to the configuration module, used to read and cache the links in the link list in the target memory; A link loading module, communicatively connected to the configuration module and the cache module respectively, used to receive user page request data, extract the link ID corresponding to the page requested by the user from the CMS system according to the page request data, and obtain the corresponding target link in the target memory according to the link ID; A dynamic parameter processing module, communicatively connected to the link loading module, used to obtain the parameter values corresponding to the dynamic parameters in the target link, and send the target link after assembling the parameter values to the user.

2. The page dynamic link loading device according to claim 1, wherein The management of the page links by the link management module includes at least one of creating, verifying, updating, maintaining, and deleting page links.

3. The page dynamic link loading device according to claim 1, characterized in that The process of the configuration module selecting the candidate links and saving the link IDs corresponding to the candidate links to the CMS system includes: After clicking on the corresponding page component in the configuration interface, select the corresponding link interface according to the field information popped up by the configuration interface; Retrieve, select, and save the candidate links in the link interface, and save the link IDs of the candidate links to the CMS system.

4. The page dynamic link loading device according to claim 3, wherein The configuration module is further used to record and save the configuration positions of the candidate links during the process of selecting the candidate links, and send the configuration positions to the link management module.

5. The page dynamic link loading device according to claim 1, wherein The target memory uses a one-to-one mapped k-v structure to save the link content and link IDs in the link list.

6. The page dynamic link loading device according to claim 1, characterized in that The process of the link loading module obtaining the corresponding target link in the target memory according to the link ID includes: When the user requests page data, load the basic data of the page, the basic data includes the page name and the page component list, and the page component list includes the unique component IDs corresponding to each component in the page; Concurrently request according to multiple unique component IDs to obtain the configuration data corresponding to each component, match the content loading strategy corresponding to the component according to the configuration data of the component, and determine the corresponding link loading function according to the content loading strategy; Match the target link corresponding to each component in the target cache according to the link ID extracted from the CMS system and the link loading function.

7. The page dynamic link loading device according to claim 1, wherein The process of the dynamic parameter processing module obtaining the parameter values corresponding to the dynamic parameters in the target link and sending the target link after assembling the parameter values to the user includes: Parse the target link, and when there are dynamic parameters in the target link, obtain the dynamic parameter placeholder ID in the target link; Obtain the corresponding placeholder value from the downstream business system according to the dynamic parameter placeholder ID; Use the placeholder value as the parameter value to replace the dynamic parameter placeholder ID in the target link to form the updated target link; Assemble the updated target link into the user page and return it to the user.

8. A method for dynamically loading page dynamic links, characterized in that, It includes: Manage the page links through the link management module and generate the corresponding link list, and cache the links in the link list in the target memory through the cache module; Select the corresponding candidate link from the link list through the configuration module, and save the link ID of the candidate link to the CMS system; When the user requests page data, parse the page configuration data in the CMS system through the link loading module to extract the link ID, and obtain the corresponding target link in the target memory according to the link ID; Request the downstream business system through the dynamic parameter processing module to obtain the parameter value corresponding to the dynamic parameter in the target link, and send it to the user after assembling the parameter value in the target link.

9. The page dynamic link loading method according to claim 8, characterized in that The target memory performs a timed full update on the cached links through a timed task, points the cache pointer to the latest updated link address, and automatically clears the old connection data.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed, it implements the page dynamic link loading method described in any one of claims 8 to 9.