Interface data setting method and device, computer device, and storage medium

By acquiring users' historical tracking data to identify the API modules they are interested in and adjusting the cache time, the problem of insufficient response caused by fixed cache time in financial applications has been solved, achieving more intelligent cache management and a more efficient user experience.

CN116796093BActive Publication Date: 2026-05-29CHINA PING AN PROPERTY INSURANCE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA PING AN PROPERTY INSURANCE CO LTD
Filing Date
2023-06-26
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In existing financial applications, all interface modules within the primary page are set with a fixed cache time value, which cannot be dynamically adjusted according to the individual needs of customers. As a result, the response of the interface modules cannot meet the customer's access needs, lacks intelligence, and affects the user experience.

Method used

By acquiring user tracking data within a preset historical time period, the system identifies the user-focused API modules and adjusts their cache time based on click volume data, generating a target cache time and dynamically setting the cache time for the focused API modules.

Benefits of technology

It improves the accuracy and intelligence of cache time values, reduces server load, and enhances the response efficiency of primary pages and the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116796093B_ABST
    Figure CN116796093B_ABST
Patent Text Reader

Abstract

The embodiment of the application belongs to the field of big data and the field of financial technology, and relates to a setting method of interface data, comprising the following steps: obtaining buried point data of a user accessing a first-level page in a target application; determining a focus interface module of the user on the first-level page based on the buried point data; when a first access request of the first-level page triggered by the user is received, the first-level page is displayed, and the number of clicks of the focus interface module triggered by the user within a preset time length is obtained; adjusting a specified initial cache time of the focus interface module based on the number of clicks to obtain a target cache time; and performing cache time setting on the focus interface module based on the target cache time. The application also provides a setting device of interface data, a computer device and a storage medium. In addition, the application also relates to a blockchain technology, and error positioning information can be stored in the blockchain. The application can be applied to the setting scene of interface data in the financial field, and the intelligence of cache display of the interface module of the page is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of big data technology and fintech, and in particular to methods, devices, computer equipment and storage media for setting up interface data. Background Technology

[0002] With the rapid growth of business marketing needs, many fintech companies, such as insurance companies and banks, typically develop their own financial applications for marketing and answering customer inquiries about financial services. When customers access these applications, the primary pages (homepage, workbench, my profile, etc.) often involve frequently accessed API modules. These modules have different focuses depending on the customer; for example, customers may frequently access after-sales service and management functions, while less relevant content like homepage news, courses, and learning-related features may receive fewer clicks and less attention. However, in most financial applications, a fixed cache time is set for all API modules on the primary pages. This lack of dynamic adjustment based on individual customer needs leads to situations where the responsiveness of primary page API modules fails to meet individual customer requirements. The caching and display of primary page API modules lacks intelligence, resulting in a poor user experience. Summary of the Invention

[0003] The purpose of this application is to provide a method, apparatus, computer device, and storage medium for setting interface data, in order to solve the technical problem that in existing financial applications, all interface modules within a primary page are set with only a fixed cache time value, which cannot dynamically adjust the cache time of the interface modules according to the customer's individual needs. As a result, the response of the interface modules on the primary page is often unable to meet the customer's individual access needs, the cache display of the interface modules on the primary page lacks intelligence, and the customer's access experience is poor.

[0004] To address the aforementioned technical problems, this application provides a method for setting interface data, employing the following technical solution:

[0005] Obtain event tracking data of users accessing first-level pages within the target application within a preset historical time period;

[0006] Based on the data points collected, determine the user's preferred interface modules on the first-level page;

[0007] Determine whether a first access request for the first-level page triggered by the user has been received at the present time;

[0008] If so, display the first-level page, and obtain the click data of the user on the followed interface module within a preset time period based on the preset data statistics task;

[0009] Obtain the specified initial cache time of the monitored interface module;

[0010] The specified initial cache time is adjusted based on the click volume data to obtain the adjusted target cache time;

[0011] The cache time of the monitored interface module is set based on the target cache time.

[0012] Furthermore, the step of adjusting the specified initial cache time based on the click volume data to obtain the adjusted target cache time specifically includes:

[0013] Call the preset weight data table;

[0014] Determine the specified click volume range corresponding to the click volume data from the weight data table;

[0015] Obtain the specified weight value corresponding to the specified click volume range from the weight data table;

[0016] The target cache time is obtained by calculating the specified weight value and the specified initial cache time based on the preset calculation formula.

[0017] Furthermore, after the step of setting the cache time for the monitored interface module based on the target cache time, the method further includes:

[0018] Obtain the user information of the user;

[0019] Obtain the identification information of the monitored interface module;

[0020] Get the preset valid duration;

[0021] The user information, the identification information, the effective duration, and the target cache time are used to tag the attention interface module to obtain target tagging data corresponding to the attention interface module;

[0022] Store the target marking data.

[0023] Furthermore, after the step of setting the cache time for the monitored interface module based on the target cache time, the method further includes:

[0024] When a second access request is detected when the user accesses the first-level page again, the target tagging data corresponding to the attention interface module is obtained;

[0025] Obtain the target cache time and the effective duration from the target marking data;

[0026] Based on the effective duration, determine whether the target cache time has expired;

[0027] If the target cache time has expired, the target cache time is updated based on the preset cache time generation rules;

[0028] If the target cache time has not expired, the target cache time remains unchanged.

[0029] Furthermore, the step of determining whether the target cache time has expired based on the effective duration specifically includes:

[0030] Obtain the recording time of the target cache time in the target marking data;

[0031] Get the current time;

[0032] The duration of the target cache time is calculated based on the current time and the recorded time.

[0033] If the duration of the cached cache is longer than the effective duration, then the target cache time is determined to be expired.

[0034] If the duration of existence is not greater than the effective duration, then the target cache time is determined to be in a valid state.

[0035] Furthermore, the number of the monitored interface modules includes multiple modules; prior to the step of obtaining the specified initial cache time of the monitored interface modules, the method further includes:

[0036] Obtain the specified interface module; wherein, the specified interface module is any one of all the interface modules of interest;

[0037] Obtain the functional information of the specified interface module;

[0038] The initial cache time for the specified interface module is generated based on the aforementioned functional information;

[0039] Establish a mapping relationship between the specified interface module and the initial cache time;

[0040] Based on the mapping relationship, the specified interface module and the initial cache time are stored in a preset data mapping table.

[0041] Furthermore, before the step of obtaining the tracking data of users accessing the first-level pages of the target application within a preset historical time period, the method further includes:

[0042] Retrieve the input data tracking fields;

[0043] Construct the tracking function component corresponding to the tracking business field;

[0044] The event tracking function component is used to perform event tracking and reporting on the first-level page.

[0045] To address the aforementioned technical problems, this application also provides an interface data setting device, which employs the following technical solution:

[0046] The first acquisition module is used to acquire the data points of users accessing the first-level pages of the target application within a preset historical time period.

[0047] The determination module is used to determine the user's focus interface module on the first-level page based on the data collected.

[0048] The first judgment module is used to determine whether a first access request for the first-level page triggered by the user has been received at the present time;

[0049] The second acquisition module is used to display the first-level page if the condition is met, and to acquire the click data of the user on the follow interface module within a preset time period based on a preset data statistics task.

[0050] The third acquisition module is used to acquire the specified initial cache time of the monitored interface module;

[0051] The adjustment module is used to adjust the specified initial cache time based on the click volume data to obtain the adjusted target cache time;

[0052] The settings module is used to set the cache time for the monitored interface module based on the target cache time.

[0053] To address the aforementioned technical problems, this application also provides a computer device that employs the following technical solution:

[0054] Obtain event tracking data of users accessing first-level pages within the target application within a preset historical time period;

[0055] Based on the data points collected, determine the user's preferred interface modules on the first-level page;

[0056] Determine whether a first access request for the first-level page triggered by the user has been received at the present time;

[0057] If so, display the first-level page and obtain the click data of the user on the followed interface module within a preset time period based on the preset data statistics task;

[0058] Obtain the specified initial cache time of the monitored interface module;

[0059] The specified initial cache time is adjusted based on the click volume data to obtain the adjusted target cache time;

[0060] The cache time of the monitored interface module is set based on the target cache time.

[0061] To address the aforementioned technical problems, this application also provides a computer-readable storage medium, employing the technical solution described below:

[0062] Obtain event tracking data of users accessing first-level pages within the target application within a preset historical time period;

[0063] Based on the data points collected, determine the user's preferred interface modules on the first-level page;

[0064] Determine whether a first access request for the first-level page triggered by the user has been received at the present time;

[0065] If so, display the first-level page and obtain the click data of the user on the followed interface module within a preset time period based on the preset data statistics task;

[0066] Obtain the specified initial cache time of the monitored interface module;

[0067] The specified initial cache time is adjusted based on the click volume data to obtain the adjusted target cache time;

[0068] The cache time of the monitored interface module is set based on the target cache time.

[0069] Compared with the prior art, the embodiments of this application have the following main advantages:

[0070] This embodiment first acquires tracking data of users accessing a primary page of a target application within a preset historical time period; then, based on the tracking data, it determines the user's followed interface modules on the primary page; next, it determines whether a first access request for the primary page triggered by the user has been received; if so, it displays the primary page and acquires the click volume data of the user's followed interface modules triggered within a preset time period based on a preset data statistics task; subsequently, it acquires a specified initial cache time for the followed interface modules; further, it adjusts the specified initial cache time based on the click volume data to obtain an adjusted target cache time; finally, it sets the cache time for the followed interface modules based on the target cache time. This embodiment identifies the user's followed interface modules on the primary page by pre-collecting historical tracking data of users accessing a primary page of a target application, and then adjusts the specified initial cache time of the followed interface modules accordingly based on the click volume data of the user's followed interface modules triggered within a certain time period to generate a target cache time, thereby improving the accuracy and intelligence of the generated target cache time. Furthermore, when users access the primary page of the target application, the cache settings for the monitored interface modules will be configured according to the target cache time. This can reduce the server load to a certain extent, improve the intelligence of the cached display of the interface modules on the primary page, improve the response efficiency of the primary page, and help improve the user's access experience. Attached Figure Description

[0071] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0072] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;

[0073] Figure 2 A flowchart of an embodiment of the interface data setting method according to this application;

[0074] Figure 3 This is a schematic diagram of a structure of an embodiment of the interface data setting device according to this application;

[0075] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation

[0076] Unless otherwise defined, 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 pertains; the terminology used herein in the specification of the application 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 specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0077] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0078] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0079] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0080] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.

[0081] Terminal devices 101, 102, and 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc.

[0082] Server 105 can be a server that provides various services, such as a backend server that supports the pages displayed on terminal devices 101, 102, and 103.

[0083] It should be noted that the interface data setting method provided in the embodiments of this application is generally executed by the server / terminal device, and correspondingly, the interface data setting device is generally located in the server / terminal device.

[0084] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0085] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0086] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0087] Continue to refer to Figure 2 The flowchart illustrates an embodiment of the interface data setting method according to this application. Depending on different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The interface data setting method provided in this application embodiment can be applied to any scenario requiring interface module cache time settings, and therefore can be applied to products in these scenarios, such as the interface cache time setting scenario for interface modules in the financial insurance field. The interface data setting method includes the following steps:

[0088] Step S201: Obtain the tracking data of users accessing the first-level pages of the target application within a preset historical time period.

[0089] In this embodiment, the method for setting interface data runs on an electronic device (e.g., Figure 1The server / terminal device shown can acquire event tracking data via wired or wireless connection. It should be noted that the aforementioned wireless connection methods include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra-wideband) connections, and other currently known or future wireless connection methods. For example, in the business scenario of setting interface data for financial product pages within a financial application in the financial field, the target application can be an insurance application, such as the OneAccount application, OneWallet application, Good Car Owner application, etc. First-level pages can refer to the homepage, workbench, My Page, etc. During access within the target application, the user's behavior data will be reported and stored as corresponding event tracking data through a preset event tracking function component. Furthermore, there are no specific limitations on the historical time period value; for example, it can be the week or month prior to the current time, etc.

[0090] Step S202: Based on the data points, determine the user's preferred interface module on the first-level page.

[0091] In this embodiment, the aforementioned tracking data includes at least the click frequency of all interface modules contained in the primary page triggered by the user during the historical time period. If the click frequency of a specific interface module exceeds a preset frequency threshold, then that specific interface module is designated as a frequently accessed high-frequency interface module, or a module of interest. For example, in the business scenario of setting interface data for financial product pages in financial applications within the financial field, such as the insurance claims page of an insurance application, the interface modules contained in the insurance claims page may include at least an insurance after-sales interface module, an insurance consultation interface module, a human customer service interface module, and so on.

[0092] Step S203: Determine whether a first access request for the first-level page triggered by the user has been received at the present time.

[0093] In this embodiment, a user can trigger an access request to the primary page by clicking the access button set in the primary page.

[0094] Step S204: If yes, display the first-level page and obtain the click data of the user's clicks on the followed interface module within a preset time period based on a preset data statistics task.

[0095] In this embodiment, the aforementioned data statistics task is a task constructed to collect data on the number of clicks on the followed interface module triggered by users within a preset time period. The value of the preset time period is not specifically limited and can be set according to actual business needs; for example, it can be set to 30 minutes.

[0096] Step S205: Obtain the specified initial cache time of the monitored interface module.

[0097] In this embodiment, the specified initial cache time of the monitored interface module can be retrieved by querying a pre-built data mapping table.

[0098] Step S206: Adjust the specified initial cache time based on the click volume data to obtain the adjusted target cache time;

[0099] In this embodiment, the specific implementation process of adjusting the specified initial cache time based on the click volume data to obtain the adjusted target cache time will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0100] Step S207: Set the cache time for the monitored interface module based on the target cache time.

[0101] In this embodiment, by setting the cache time of the focus interface module using the target cache time, the focus interface module will be cached according to the target cache time when the user accesses the first-level page of the target application. This can reduce the server load to a certain extent, improve the response efficiency of the first-level page, and improve the user's access experience.

[0102] This application first obtains tracking data of users accessing primary pages within a target application within a preset historical time period; then, based on the tracking data, it identifies the user's followed interface modules on the primary page; next, it determines whether a first access request for the primary page triggered by the user has been received; if so, it displays the primary page and obtains the click volume data of the user's followed interface modules triggered within a preset time period based on a preset data statistics task; subsequently, it obtains a specified initial cache time for the followed interface modules; further, it adjusts the specified initial cache time based on the click volume data to obtain an adjusted target cache time; finally, it sets the cache time for the followed interface modules based on the target cache time. This application identifies the user's followed interface modules on the primary page by pre-collecting historical tracking data of users accessing primary pages within a target application, and then adjusts the specified initial cache time of the followed interface modules accordingly based on the click volume data of the user's followed interface modules triggered within a certain time period to generate a target cache time, thereby improving the accuracy and intelligence of the generated target cache time. Furthermore, when users access the primary page of the target application, the cache settings for the monitored interface modules will be configured according to the target cache time. This can reduce the server load to a certain extent, improve the intelligence of the cached display of the interface modules on the primary page, improve the response efficiency of the primary page, and help improve the user's access experience.

[0103] In some alternative implementations, step S206 includes the following steps:

[0104] Call the preset weight data table.

[0105] In this embodiment, the aforementioned weight data table can be a data table that is built and generated based on actual business needs and weight values ​​after business testing. It stores multiple click volume ranges and corresponding weight values ​​for each click volume.

[0106] The specified click volume range corresponding to the click volume data is determined from the weight data table.

[0107] In this embodiment, a specified click volume range that matches the click volume data can be retrieved from the weight data table, and the value of the click volume data falls within the specified click volume range.

[0108] Obtain the specified weight value corresponding to the specified click volume range from the weight data table.

[0109] In this embodiment, after determining the specified click volume range, the specified weight value corresponding to the specified click volume range can be obtained from the weight data table based on the mapping relationship between the click volume range and the weight value.

[0110] The target cache time is obtained by calculating the specified weight value and the specified initial cache time based on the preset calculation formula.

[0111] In this embodiment, the specific calculation formula is T = t * w, where T is the target cache time, t is the specified initial cache time, and w is the specified weight value. If the target cache time is not an integer, it can be rounded down subsequently.

[0112] This application calls a preset weight data table; then determines a specified click volume range corresponding to the click volume data from the weight data table; subsequently, it obtains a specified weight value corresponding to the specified click volume range from the weight data table; and then calculates the specified weight value and the specified initial cache time based on a preset calculation formula to obtain the target cache time. This application, based on the use of the weight data table, can quickly query the weight value of the click volume data triggered by the user for the followed interface module, and then calculate the specified initial cache time and weight value of the followed interface module based on the calculation formula, which can quickly and intelligently generate the target cache time, ensuring the accuracy of the generated target cache time value.

[0113] In some optional implementations of this embodiment, after step S207, the electronic device may further perform the following steps:

[0114] Obtain the user information of the user.

[0115] In this embodiment, user information may include the user's name, job number, etc.

[0116] Obtain the identification information of the monitored interface module.

[0117] In this embodiment, the aforementioned identification information refers to the interface name of the interface module of interest.

[0118] Get the preset valid duration.

[0119] In this embodiment, the value of the above-mentioned effective duration is not limited and can be set according to the actual business usage needs, for example, it can be set to 1 day.

[0120] The user information, the identifier information, the effective duration, and the target cache time are used to tag the attention interface module to obtain target tagging data corresponding to the attention interface module.

[0121] In this embodiment, integrated data can be obtained by integrating the user information, the identification information, the effective duration, and the target cache time, and this integrated data can be used as the target tagging data for the interface module to complete the tagging process for the interface module.

[0122] Store the target marking data.

[0123] In this embodiment, there is no limitation on the storage method of the target marking data. For example, local database storage, cloud storage, blockchain storage, etc. can be used.

[0124] This application obtains user information, identifier information of the followed interface module, and preset valid duration by acquiring user information, identifier information, valid duration, and target cache time. Then, it uses the user information, identifier information, valid duration, and target cache time to tag the followed interface module, obtaining target tagging data corresponding to the followed interface module. The target tagging data is then stored. After setting the cache time for the followed interface module based on the target cache time, this application intelligently uses the acquired user information, identifier information, valid duration, and target cache time to tag the followed interface module, generating target tagging data corresponding to the followed interface module. This allows for rapid querying of the required valid duration to check the validity of the followed interface module's cache time.

[0125] In some alternative implementations, after step S207, the electronic device may further perform the following steps:

[0126] When a second access request is detected when the user re-triggers access to the first-level page, the target tagging data corresponding to the attention interface module is obtained.

[0127] In this embodiment, the second access request is an access request triggered by the user to access the first-level page after the target tagging data corresponding to the attention interface module has been generated.

[0128] Obtain the target cache time and the effective duration from the target marking data.

[0129] Based on the effective duration, determine whether the target cache time has expired.

[0130] In this embodiment, the specific implementation process of determining whether the target cache time has expired based on the effective duration will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0131] If the target cache time has expired, the target cache time is updated based on the preset cache time generation rules.

[0132] In this embodiment, the above-mentioned cache time generation rule can refer to the above-mentioned target cache time generation process, and will not be elaborated further here. After the cache of the followed interface module of the first-level page of the target application expires, it will be dynamically cached according to the newly generated cache time, but the adjusted dynamic cache will not exceed the initial cache time of the followed interface module.

[0133] If the target cache time has not expired, the target cache time remains unchanged.

[0134] In this embodiment, if the target cache time has not expired, the target cache time will continue to be used to cache the aforementioned attention interface modules on the first-level page of the target application.

[0135] When this application detects a second access request triggered by the user when accessing the first-level page again, it obtains the target tagging data corresponding to the followed interface module; then, it obtains the target cache time and the effective duration from the target tagging data; subsequently, based on the effective duration, it determines whether the target cache time has expired; if the target cache time has expired, it updates the target cache time based on a preset cache time generation rule; otherwise, it keeps the target cache time unchanged. After generating the target tagging data for the followed interface module, this application analyzes the effective duration in the target tagging data in real time, and intelligently updates the target cache time when the target cache time of the followed interface module exceeds the effective duration. This achieves adaptive updates to the cache time of the followed interface module based on user-triggered behavior data after the target cache time expires, improving the intelligence and accuracy of the generated cache time of the followed interface module.

[0136] In some optional implementations, determining whether the target cache time has expired based on the effective duration includes the following steps:

[0137] Obtain the recorded time of the target cache time in the target marking data.

[0138] In this embodiment, when using the target cache time to achieve the target for the monitored interface module, the input time of the target cache time in the target tagging data is also recorded, which is the recorded time mentioned above.

[0139] Get the current time.

[0140] The duration of the target cache time is calculated based on the current time and the recorded time.

[0141] In this embodiment, the difference between the current time and the recorded time can be calculated, and this difference can be used as the duration of the target cache time.

[0142] If the existing duration is longer than the valid duration, then the target cache time is determined to be expired.

[0143] If the duration of existence is not greater than the effective duration, then the target cache time is determined to be in a valid state.

[0144] This application obtains the recording time of the target cache time in the target marking data; then obtains the current time; subsequently, it calculates the existence duration of the target cache time based on the current time and the recording time; if the existence duration is greater than the valid duration, the target cache time is determined to be in an expired state; and if the existence duration is not greater than the valid duration, the target cache time is determined to be in a valid state. By obtaining the recording time of the target cache time in the target marking data and performing calculations based on that recording time and the current time, this application can quickly and accurately determine whether the currently active cache module is in an expired or valid state based on the calculation results. This facilitates subsequent updates or maintenance of the target cache time of the active cache module based on the current state.

[0145] In some optional implementations of this embodiment, the number of the attention interface modules includes multiple modules; before step S205, the above-mentioned electronic device may also perform the following steps:

[0146] Get the specified interface module.

[0147] In this embodiment, the designated interface module is any one of the interface modules of interest. For example, in the business scenario of interface data settings on a financial product page in the financial field, such as an insurance claims page, the designated interface module could be an insurance after-sales interface module, an insurance consultation interface module, a human service interface module, and so on.

[0148] Obtain the functional information of the specified interface module.

[0149] In this embodiment, the functional information of a specified interface module can be obtained by querying the interface service information of that specified interface module.

[0150] The initial cache time for the specified interface module is generated based on the aforementioned functional information.

[0151] In this embodiment, when a user accesses an interface module, different interface modules will have an appropriate initial cache time pre-set for that module during the code writing process, based on its function. This improves the response speed when the user accesses the primary page and enhances the user experience. The initial cache time can be determined according to actual business needs. For example, in the business scenario of setting interface data for financial product pages in the financial field, such as insurance claims pages, the initial cache time for the insurance after-sales interface module is 5 minutes, for the insurance consultation interface module it is 8 minutes, and for the manual service interface module it is 15 minutes.

[0152] Establish a mapping relationship between the specified interface module and the initial cache time.

[0153] Based on the mapping relationship, the specified interface module and the initial cache time are stored in a preset data mapping table.

[0154] In this embodiment, a preset initial data table can be obtained, and then the specified interface and the initial cache time can be stored in the initial data table based on the mapping relationship to generate the aforementioned data mapping table.

[0155] This application obtains a specified interface module; then obtains the functional information of the specified interface module; subsequently generates an initial cache time for the specified interface module based on the functional information; then constructs a mapping relationship between the specified interface module and the initial cache time; finally, based on the mapping relationship, stores the specified interface module and the initial cache time in a preset data mapping table. This application ensures the stability of the initial cache time storage by pre-generating the initial cache time corresponding to the interface module based on its function, and storing the specified interface and the initial cache time in a preset data mapping table based on the mapping relationship between the interface module and the initial cache time. This facilitates the rapid retrieval of the initial cache time of the interface module through subsequent queries based on the data mapping table.

[0156] In some optional implementations of this embodiment, before step S201, the electronic device may further perform the following steps:

[0157] Retrieve the input data tracking fields.

[0158] In this embodiment, the aforementioned data tracking fields may specifically include exposure rate, click count, number of clicks, and so on.

[0159] Construct the tracking function component corresponding to the tracking business field.

[0160] In this embodiment, the aforementioned event tracking component is a functional component built to report specified behavior data corresponding to the aforementioned event tracking business fields in the user's behavior data when the client calls the interface module of the target application's backend to access a first-level page. Since only the specified behavior data corresponding to the aforementioned event tracking business fields needs to be reported, instead of reporting all behavior data, the workload of event tracking data reporting can be effectively reduced, and the accuracy and effectiveness of event tracking data reporting can be improved.

[0161] The event tracking function component is used to perform event tracking and reporting on the first-level page.

[0162] In this embodiment, when the event tracking component detects that a user has triggered a page operation on a first-level page of the target application, it will track and report the user behavior corresponding to the aforementioned event tracking business fields in the page operation.

[0163] This application obtains input tracking business fields; then constructs tracking function components corresponding to the tracking business fields; and subsequently performs tracking reporting processing on the primary page based on the tracking function components. By constructing tracking function components based on input tracking business fields, this application enables the rapid and accurate reporting of tracking data for specified behaviors corresponding to the aforementioned tracking business fields. Since only the specified behavior data corresponding to the tracking business fields needs to be reported, instead of reporting all user behavior data on the primary page of the target application, the workload of tracking data reporting is effectively reduced, and the accuracy and effectiveness of tracking data reporting are improved.

[0164] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0165] It should be emphasized that, to further ensure the privacy and security of the aforementioned target cache time, the target cache time can also be stored in a node of a blockchain.

[0166] The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0167] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0168] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0169] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).

[0170] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0171] Further reference Figure 3 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of an interface data setting device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0172] like Figure 3As shown, the interface data setting device 300 described in this embodiment includes: a loading module 301, a calling module 302, a collection module 303, a generation module 304, and a processing module 305. Wherein:

[0173] The first acquisition module 301 is used to acquire the data points of the user's access to the first-level page of the target application within a preset historical time period.

[0174] The determination module 302 is used to determine the user's focus interface module in the first-level page based on the data points collected.

[0175] The first judgment module 303 is used to determine whether a first access request for the first-level page triggered by the user has been received at the present time;

[0176] The second acquisition module 304 is used to display the first-level page if so, and acquire the click data of the user on the attention interface module triggered within a preset time period based on a preset data statistics task;

[0177] The third acquisition module 305 is used to acquire the specified initial cache time of the monitored interface module;

[0178] The adjustment module 306 is used to adjust the specified initial cache time based on the click volume data to obtain the adjusted target cache time;

[0179] Setting module 307 is used to set the cache time of the monitored interface module based on the target cache time.

[0180] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0181] In some optional implementations of this embodiment, the adjustment module 306 includes:

[0182] Call the submodule to call the preset weight data table;

[0183] The determination submodule is used to determine the specified click volume range corresponding to the click volume data from the weight data table;

[0184] The first acquisition submodule is used to acquire a specified weight value corresponding to the specified click volume range from the weight data table;

[0185] The first calculation submodule is used to calculate the specified weight value and the specified initial cache time based on a preset calculation formula to obtain the target cache time.

[0186] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0187] In some optional implementations of this embodiment, the interface data setting device further includes:

[0188] The fourth acquisition module is used to acquire the user's user information;

[0189] The fifth acquisition module is used to acquire the identification information of the attention interface module;

[0190] The sixth acquisition module is used to acquire the preset valid duration;

[0191] The first processing module is used to perform tagging processing on the attention interface module using the user information, the identification information, the effective duration and the target cache time, to obtain target tagging data corresponding to the attention interface module;

[0192] The first storage module is used to store the target marking data.

[0193] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0194] In some optional implementations of this embodiment, the interface data setting device further includes:

[0195] The seventh acquisition module is used to acquire the target tagging data corresponding to the attention interface module when a second access request is detected when the user triggers access to the first-level page again;

[0196] The eighth acquisition module is used to acquire the target cache time and the effective duration from the target marking data;

[0197] The second judgment module is used to determine whether the target cache time has expired based on the effective duration;

[0198] An update module is used to update the target cache time based on a preset cache time generation rule if the target cache time has expired.

[0199] The second processing module is used to keep the target cache time unchanged if the target cache time has not expired.

[0200] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0201] In some optional implementations of this embodiment, the second determination module includes:

[0202] The second acquisition submodule is used to acquire the recording time of the target cache time in the target marking data;

[0203] The third submodule is used to obtain the current time;

[0204] The second calculation submodule is used to calculate the duration of the target cache time based on the current time and the recording time;

[0205] The first determination submodule is used to determine that the target cache time is expired if the existing duration is longer than the valid duration.

[0206] The second determination submodule is used to determine that the target cache time is valid if the existence duration is not greater than the valid duration.

[0207] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0208] In some optional implementations of this embodiment, the interface data setting device further includes:

[0209] The ninth acquisition module is used to acquire a specified interface module; wherein, the specified interface module is any one of all the interface modules of interest;

[0210] The tenth acquisition module is used to acquire the functional information of the specified interface module;

[0211] A generation module is used to generate the initial cache time of the specified interface module based on the functional information;

[0212] The first construction module is used to construct the mapping relationship between the specified interface module and the initial cache time;

[0213] The second storage module is used to store the specified interface module and the initial cache time into a preset data mapping table based on the mapping relationship.

[0214] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0215] In some optional implementations of this embodiment, the interface data setting device further includes:

[0216] The eleventh module is used to obtain the input data tracking fields.

[0217] The second construction module is used to construct the tracking function components corresponding to the tracking business fields;

[0218] The third processing module is used to perform data tracking and reporting on the first-level page based on the data tracking function component.

[0219] In this embodiment, the operations performed by the above modules or units correspond one-to-one with the steps of the interface data setting method in the aforementioned implementation method, and will not be repeated here.

[0220] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0221] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected via a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0222] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0223] The memory 41 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), 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 memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD) card, flash card, etc., equipped on the computer device 4. Of course, the memory 41 may also include both the internal storage unit and its external storage device of the computer device 4. In this embodiment, the memory 41 is typically used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions for setting interface data. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.

[0224] In some embodiments, the processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to execute computer-readable instructions stored in the memory 41 or to process data, such as computer-readable instructions for executing the interface data setting method.

[0225] The network interface 43 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 4 and other electronic devices.

[0226] Compared with the prior art, the embodiments of this application have the following main advantages:

[0227] In this embodiment, firstly, the tracking data of a user's access to a primary page within a target application within a preset historical time period is obtained; then, based on the tracking data, the user's followed interface modules on the primary page are determined; next, it is determined whether a first access request for the primary page triggered by the user has been received; if so, the primary page is displayed, and based on a preset data statistics task, the click volume data of the user's followed interface modules triggered within a preset time period is obtained; subsequently, a specified initial cache time for the followed interface modules is obtained; further, the specified initial cache time is adjusted based on the click volume data to obtain an adjusted target cache time; finally, the cache time for the followed interface modules is set based on the target cache time. This embodiment identifies the user's followed interface modules on the primary page by pre-collecting historical tracking data of the user's access to the primary page within the target application, and then adjusts the specified initial cache time of the followed interface modules accordingly based on the click volume data of the user's followed interface modules triggered within a certain time period to generate a target cache time, thereby improving the numerical accuracy and intelligent generation of the generated target cache time. Furthermore, when users access the primary page of the target application, the cache settings for the monitored interface modules will be configured according to the target cache time. This can reduce the server load to a certain extent, improve the intelligence of the cached display of the interface modules on the primary page, improve the response efficiency of the primary page, and help improve the user's access experience.

[0228] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the interface data setting method described above.

[0229] Compared with the prior art, the embodiments of this application have the following main advantages:

[0230] In this embodiment, firstly, the tracking data of a user's access to a primary page within a target application within a preset historical time period is obtained; then, based on the tracking data, the user's followed interface modules on the primary page are determined; next, it is determined whether a first access request for the primary page triggered by the user has been received; if so, the primary page is displayed, and based on a preset data statistics task, the click volume data of the user's followed interface modules triggered within a preset time period is obtained; subsequently, a specified initial cache time for the followed interface modules is obtained; further, the specified initial cache time is adjusted based on the click volume data to obtain an adjusted target cache time; finally, the cache time for the followed interface modules is set based on the target cache time. This embodiment identifies the user's followed interface modules on the primary page by pre-collecting historical tracking data of the user's access to the primary page within the target application, and then adjusts the specified initial cache time of the followed interface modules accordingly based on the click volume data of the user's followed interface modules triggered within a certain time period to generate a target cache time, thereby improving the numerical accuracy and intelligent generation of the generated target cache time. Furthermore, when users access the primary page of the target application, the cache settings for the monitored interface modules will be configured according to the target cache time. This can reduce the server load to a certain extent, improve the intelligence of the cached display of the interface modules on the primary page, improve the response efficiency of the primary page, and help improve the user's access experience.

[0231] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0232] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.

Claims

1. A method for setting interface data, characterized in that, Includes the following steps: Obtain event tracking data of users accessing first-level pages within the target application within a preset historical time period; Based on the data points collected, determine the user's preferred interface modules on the first-level page; Determine whether a first access request for the first-level page triggered by the user has been received at the present time; If so, display the first-level page, and obtain the click data of the user on the followed interface module within a preset time period based on the preset data statistics task; Obtain the specified initial cache time of the monitored interface module; The specified initial cache time is adjusted based on the click volume data to obtain the adjusted target cache time; The cache time of the monitored interface module is set based on the target cache time; The step of adjusting the specified initial cache time based on the click volume data to obtain the adjusted target cache time specifically includes: Call the preset weight data table; Determine the specified click volume range corresponding to the click volume data from the weight data table; Obtain the specified weight value corresponding to the specified click volume range from the weight data table; The target cache time is obtained by calculating the specified weight value and the specified initial cache time based on the preset calculation formula.

2. The method for setting interface data according to claim 1, characterized in that, After the step of setting the cache time for the monitored interface module based on the target cache time, the method further includes: Obtain the user information of the user; Obtain the identification information of the monitored interface module; Get the preset valid duration; The user information, the identification information, the effective duration, and the target cache time are used to tag the attention interface module to obtain target tagging data corresponding to the attention interface module; Store the target marking data.

3. The method for setting interface data according to claim 2, characterized in that, After the step of setting the cache time for the monitored interface module based on the target cache time, the method further includes: When a second access request is detected when the user accesses the first-level page again, the target tagging data corresponding to the attention interface module is obtained; Obtain the target cache time and the effective duration from the target marking data; Based on the effective duration, determine whether the target cache time has expired; If the target cache time has expired, the target cache time is updated based on the preset cache time generation rules. If the target cache time has not expired, the target cache time remains unchanged.

4. The method for setting interface data according to claim 3, characterized in that, The step of determining whether the target cache time has expired based on the effective duration specifically includes: Obtain the recording time of the target cache time in the target marking data; Get the current time; The duration of the target cache time is calculated based on the current time and the recorded time. If the duration of the cached cache is longer than the effective duration, then the target cache time is determined to be expired. If the duration of existence is not greater than the effective duration, then the target cache time is determined to be in a valid state.

5. The method for setting interface data according to claim 1, characterized in that, The number of the monitored interface modules includes multiple modules; prior to the step of obtaining the specified initial cache time of the monitored interface modules, the method further includes: Obtain the specified interface module; wherein, the specified interface module is any one of all the interface modules of interest; Obtain the functional information of the specified interface module; The initial cache time for the specified interface module is generated based on the aforementioned functional information; Establish a mapping relationship between the specified interface module and the initial cache time; Based on the mapping relationship, the specified interface module and the initial cache time are stored in a preset data mapping table.

6. The method for setting interface data according to claim 1, characterized in that, Before the step of obtaining the tracking data of users accessing the first-level pages of the target application within a preset historical time period, the method further includes: Retrieve the input data tracking fields; Construct the tracking function component corresponding to the tracking business field; The event tracking function component is used to perform event tracking and reporting on the first-level page.

7. A device for setting interface data, characterized in that, include: The first acquisition module is used to acquire the data points of users accessing the first-level pages of the target application within a preset historical time period. The determination module is used to determine the user's focus interface module on the first-level page based on the data collected. The first judgment module is used to determine whether a first access request for the first-level page triggered by the user has been received at the present time; The second acquisition module is used to display the first-level page if the condition is met, and to acquire the click data of the user on the follow interface module within a preset time period based on a preset data statistics task. The third acquisition module is used to acquire the specified initial cache time of the monitored interface module; The adjustment module is used to adjust the specified initial cache time based on the click volume data to obtain the adjusted target cache time; The setting module is used to set the cache time of the monitored interface module based on the target cache time. The adjustment module includes: Call the submodule to call the preset weight data table; The determination submodule is used to determine the specified click volume range corresponding to the click volume data from the weight data table; The first acquisition submodule is used to acquire a specified weight value corresponding to the specified click volume range from the weight data table; The first calculation submodule is used to calculate the specified weight value and the specified initial cache time based on a preset calculation formula to obtain the target cache time.

8. A computer device comprising a memory and a processor, the memory storing computer-readable instructions, wherein the processor, when executing the computer-readable instructions, implements the steps of the method for setting interface data as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the interface data setting method as described in any one of claims 1 to 6.