Data processing method, device, system, and computer-readable storage medium

By obtaining and caching the link data associated with the application in advance, processing and storing the target data, it solves the user waiting problem caused by slow server query speed and improves the user experience.

CN111859077BActive Publication Date: 2024-09-20BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910337805.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-09-20
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

In the existing technology, the server queries the target data from the underlying database slowly after receiving the user's request, causing the user to wait for a long time and affecting the user's experience of accessing the application.

Method used

By obtaining and caching the link data associated with the application in advance, including address data and script data, determining the processing mode and processing these data to obtain target data, and storing it to quickly respond to user requests and reduce waiting time.

Benefits of technology

It effectively reduces the waiting time when users access the application, improves the user experience, and quickly provides data when users request it by caching target data in advance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111859077B
    Figure CN111859077B
Patent Text Reader

Abstract

The present disclosure provides a data processing method, including: obtaining a plurality of link data, wherein the plurality of link data are associated with at least one application and indicate obtaining target data that can be displayed through the associated application; determining a processing mode corresponding to each of the plurality of link data; based on the processing mode, processing the corresponding link data to obtain target data corresponding to the link data; and storing the target data so as to provide it to a user in response to a user request. The present disclosure also provides a data processing device, a data processing system, and a computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to a data processing method, a data processing device, a data processing system, and a computer-readable storage medium. Background Art

[0002] When a user accesses a related application (such as a web page), the server usually queries the related target data from the underlying database based on the user's request, and displays the queried target data through the related application (such as on the page of the web page). However, usually, the server generally queries the related target data from the underlying database based on the user's request after receiving the user's request. Since the data query process is slow, the user needs to wait for a long time to obtain the target data, which makes the user experience poor during the process of accessing the related application. Therefore, how to reduce the waiting time for users to access related applications to improve user experience has become a problem that needs to be solved urgently.

[0003] In the process of realizing the concept disclosed in the present invention, the inventors found that there are at least the following problems in the prior art. The server of the prior art generally queries the relevant target data from the underlying database based on the user request after receiving the user request. Since the data query process is slow, the user needs to wait for a long time to obtain the target data, which makes the user experience poor when accessing related applications. Summary of the invention

[0004] In view of this, the present disclosure provides an optimized data processing method, a data processing device, a data processing system, and a computer-readable storage medium.

[0005] One aspect of the present disclosure provides a data processing method, including: acquiring a plurality of link data, wherein the plurality of link data are associated with at least one application and indicate acquisition of target data that can be displayed through the associated application, determining a processing mode corresponding to each of the plurality of link data, processing the corresponding link data based on the processing mode to obtain target data corresponding to the link data, and storing the target data so as to provide it to a user in response to a user request.

[0006] According to an embodiment of the present disclosure, the link data includes at least one of address data and script data. Determining a processing mode corresponding to each of the plurality of link data includes determining the processing mode corresponding to the address data as a first processing mode and determining the processing mode corresponding to the script data as a second processing mode.

[0007] According to an embodiment of the present disclosure, the above-mentioned processing of corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: obtaining first operation data corresponding to the first processing mode, the first operation data being an operation of a user obtaining corresponding target data through the address data, and processing the corresponding address data based on the first operation data to obtain target data corresponding to the address data.

[0008] According to an embodiment of the present disclosure, the above-mentioned processing of corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: based on the second processing mode, running the script data to obtain target data corresponding to the script data.

[0009] According to an embodiment of the present disclosure, the method further includes: obtaining a user identifier corresponding to the link data. The processing of the corresponding link data to obtain target data corresponding to the link data based on the processing mode includes: processing the corresponding link data to obtain target data corresponding to the link data based on the processing mode and the user identifier.

[0010] According to an embodiment of the present disclosure, the above method also includes: receiving second operation data of a user for a related application, the second operation data including link data corresponding to the related application, responding to the second operation data of the user, determining target data corresponding to the related application from the stored target data, and displaying the target data through the related application.

[0011] Another aspect of the present disclosure provides a data processing device, comprising: a first acquisition module, a first determination module, a processing module, and a storage module. The first acquisition module acquires a plurality of link data, wherein the plurality of link data are associated with at least one application and indicate acquisition of target data that can be displayed through the associated application, the first determination module determines a processing mode corresponding to each of the plurality of link data, the processing module processes the corresponding link data based on the processing mode to obtain target data corresponding to the link data, and the storage module stores the target data so as to provide it to a user in response to a user request.

[0012] According to an embodiment of the present disclosure, the link data includes at least one of address data and script data. Determining a processing mode corresponding to each of the plurality of link data includes determining the processing mode corresponding to the address data as a first processing mode and determining the processing mode corresponding to the script data as a second processing mode.

[0013] According to an embodiment of the present disclosure, the above-mentioned processing of corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: obtaining first operation data corresponding to the first processing mode, the first operation data being an operation of a user obtaining corresponding target data through the address data, and processing the corresponding address data based on the first operation data to obtain target data corresponding to the address data.

[0014] According to an embodiment of the present disclosure, the above-mentioned processing of corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: based on the second processing mode, running the script data to obtain target data corresponding to the script data.

[0015] According to an embodiment of the present disclosure, the device further includes: a second acquisition module, which acquires a user identifier corresponding to the link data. The processing of the corresponding link data based on the processing mode to obtain the target data corresponding to the link data includes: processing the corresponding link data based on the processing mode and the user identifier to obtain the target data corresponding to the link data.

[0016] According to an embodiment of the present disclosure, the above-mentioned device further includes: a receiving module, a second determining module and a display module. The receiving module receives the second operation data of the user for the relevant application, the second operation data includes the link data corresponding to the relevant application, the second determining module responds to the second operation data of the user, determines the target data corresponding to the relevant application from the stored target data, and the display module displays the target data through the relevant application.

[0017] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.

[0018] Another aspect of the present disclosure provides a computer program, which includes computer executable instructions, and the instructions are used to implement the method described above when executed.

[0019] According to the embodiments of the present disclosure, it is possible to at least partially solve the problem that the server in the prior art generally queries the relevant target data from the underlying database based on the user request after receiving the user request, and since the data query process is slow, the user needs to wait for a long time to obtain the target data, resulting in a poor experience when the user accesses the related applications. Therefore, it is possible to achieve the technical effect of reducing the waiting time for the user to access the related applications to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0021] Figure 1 The system architecture of the data processing method and the data processing system according to the embodiment of the present disclosure is schematically shown;

[0022] Figure 2 A flowchart schematically shows a data processing method according to an embodiment of the present disclosure;

[0023] Figure 3 A flowchart schematically shows a data processing method according to another embodiment of the present disclosure;

[0024] Figure 4 A schematic diagram of a cache preloading platform according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 5 A block diagram schematically shows a data processing device according to an embodiment of the present disclosure;

[0026] Figure 6 A block diagram schematically shows a data processing device according to another embodiment of the present disclosure; and

[0027] Figure 7 The block diagram schematically shows a computer system suitable for data processing according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0029] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0030] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0031] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0032] An embodiment of the present disclosure provides a data processing method, comprising: acquiring multiple link data, wherein the multiple link data are associated with at least one application and indicate acquisition of target data that can be displayed through the associated application, determining a processing mode corresponding to each link data in the multiple link data, processing the corresponding link data based on the processing mode to obtain target data corresponding to the link data, and storing the target data so as to provide it to a user in response to a user request.

[0033] Figure 1 The system architecture of the data processing method and data processing system according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0034] like Figure 1 As shown, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

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

[0036] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0037] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0038] It should be noted that the data processing method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the data processing device provided in the embodiment of the present disclosure can generally be set in the server 105. The data processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the data processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.

[0039] For example, the multiple link data acquired by the embodiment of the present disclosure can be stored in the terminal devices 101, 102, and 103, and the multiple link data can be sent to the server 105 through the terminal devices 101, 102, and 103. The server 105 can determine the corresponding processing mode based on the multiple link data, and based on the processing mode, process the corresponding link data to obtain the target data corresponding to the link data, or the terminal devices 101, 102, and 103 can also directly determine the corresponding processing mode based on the multiple link data, and based on the processing mode, process the corresponding link data to obtain the target data corresponding to the link data. In addition, the multiple link data can also be directly stored in the server 105, and the server 105 directly determines the corresponding processing mode based on the multiple link data, and based on the processing mode, processes the corresponding link data to obtain the target data corresponding to the link data.

[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0041] Figure 2 The flowchart of the data processing method according to the embodiment of the present disclosure is schematically shown.

[0042] like Figure 2As shown, the method includes operations S210 to S240.

[0043] In operation S210 , a plurality of link data is acquired, wherein the plurality of link data is associated with at least one application and indicates acquisition of target data that can be displayed through the associated application.

[0044] According to an embodiment of the present disclosure, corresponding target data can be obtained through link data, wherein the target data obtained through link data related to application 1 can be displayed through application 1. For example, the plurality of link data includes link data A, link data B, and link data C. Link data A and link data B are, for example, associated with application 1, and link data C is, for example, associated with application 2. Target data a obtained through link data A can be displayed through application 1, target data b obtained through link data B can be displayed through application 1, and target data c obtained through link data C can be displayed through application 2.

[0045] For example, take application 1 as a "human resource management system" of a certain unit. The human resource management system includes, for example, basic information data, educational experience data, etc. of employees, and these data are stored in an underlying database.

[0046] Normally, when a user is using a human resources management system, for example, when a user needs to view basic information data, the user can click on the "basic information data" icon displayed on the page. After the system receives the user's click operation, it will respond to the click operation to generate relevant address data of the basic information data. The system automatically indexes the corresponding target data from the database based on the address data (for example, including specific basic information data, such as name, gender, age, etc.), and displays the indexed target data to the user.

[0047] As exemplified above, generally speaking, when a user accesses an application, the application receives the user's access request in real time, and responds to the user's request by indexing the relevant target data from the database to provide it to the user. Since the process of indexing the relevant target data from the database in real time based on the user's request is generally time-consuming, the purpose of the embodiment of the present disclosure is to obtain and cache the target data from the database in advance before the user uses the human resources management system, so that the target data required by the user can be quickly provided from the pre-cached target data when the user uses the human resources management system later.

[0048] Continuing with the example of the human resources management system, the disclosed embodiment can, for example, obtain the basic information data (target data) of employees from the database through relevant link data. The basic information data of the employees can, for example, be cached in advance. When a user accesses the human resources management system later, the pre-cached basic information data can be quickly displayed on the page of the human resources management system.

[0049] According to an embodiment of the present disclosure, the link data includes, for example, address data or script data.

[0050] The address data may be a storage location in a database where the corresponding target data is located, and the corresponding target data may be obtained by indexing from the database, for example, through the address data.

[0051] Among them, the script data may include script codes written directly by the user, and the script code may include, for example, relevant addresses and data related to the user's operation behavior. For example, the page of the human resources management system includes relevant areas, and the user can obtain corresponding target data by clicking on the relevant areas. Specifically, for example, the page of the human resources management system includes a relevant area of ​​"basic information data". When the user accesses the human resources management system, he can click on the relevant area of ​​"basic information data". The human resources management system will respond to the user's click to generate the relevant address of the basic information data, and based on the relevant address, index the target data (for example, including name, gender, age, etc.) from the database, and display the target data to the user. Therefore, the script data of the embodiment of the present disclosure includes, for example, a click operation of the user clicking on "basic information data", and a relevant address generated based on the click operation.

[0052] In operation S220, a processing mode corresponding to each of a plurality of link data is determined.

[0053] According to an embodiment of the present disclosure, the plurality of link data may include address data and script data, wherein the address data and the script data correspond to different processing modes. Based on each link data and its corresponding processing mode, for example, corresponding target data may be obtained.

[0054] When the link data is address data, the processing mode corresponding to the address data is determined to be the first processing mode. When the link data is script data, the processing mode corresponding to the script data is determined to be the second processing mode.

[0055] In operation S230, based on the processing mode, the corresponding link data is processed to obtain target data corresponding to the link data.

[0056] According to an embodiment of the present disclosure, when the link data is address data, based on the processing mode, the corresponding link data is processed to obtain target data corresponding to the link data, including: obtaining first operation data corresponding to the first processing mode, the first operation data being an operation of a user obtaining corresponding target data through address data, and based on the first operation data, processing the corresponding address data to obtain target data corresponding to the address data.

[0057] For example, the disclosed embodiment can cache target data in advance before the user uses the human resources management system, so as to quickly provide relevant target data when the user uses the human resources management system later. It can be understood that in the process of caching the target data, there is no user's click operation, so the user's click operation is simulated by obtaining the first operation data, and the target data is indexed from the database based on the first operation data and the corresponding address data.

[0058] According to an embodiment of the present disclosure, when the link data is script data, based on the processing mode, the corresponding link data is processed to obtain the target data corresponding to the link data, including: based on the second processing mode, running the script data to obtain the target data corresponding to the script data. That is, when the link data is script data, the script data can be directly run to index the corresponding target data from the database.

[0059] In operation S240, the target data is stored to be provided to the user in response to a user request.

[0060] According to the embodiment of the present disclosure, the user request may be, for example, a request by the user to obtain corresponding target data in the application. For example, the embodiment of the present disclosure caches the target data in advance, and when the user later searches for the corresponding target data using the human resources management system, the cached target data may be provided to the user, thereby reducing the waiting time during the user's access to the application.

[0061] Figure 3 The flowchart schematically shows a data processing method according to another embodiment of the present disclosure.

[0062] like Figure 3 As shown, the method includes operations S210-S240 and operations S310-S340.

[0063] In operation S310, a user identification corresponding to the link data is acquired.

[0064] According to an embodiment of the present disclosure, each link data may correspond to a corresponding user identification. The user identification can represent the identity of the user, and the user identification may be a user ID. For example, a human resources management system may be accessed by different users. When different users access the basic information data of the human resources management system, the basic information data required by different users may be different. For example, when user 1 accesses the basic information data of the human resources management system, the basic information data required by user 1 is generally the basic information data of the user itself (user 1). When user 2 accesses the basic information data of the human resources management system, the basic information data required by user 2 is generally the basic information data of the user itself (user 2).

[0065] According to an embodiment of the present disclosure, based on a processing mode, processing corresponding link data to obtain target data corresponding to the link data includes: based on a processing mode and a user identifier, processing corresponding link data to obtain target data corresponding to the link data.

[0066] In the embodiment of the present disclosure, since different users need different target data, for example, taking the human resources management system as an example, different users access the human resources management system to obtain different basic information data. Therefore, when caching the target data in advance, the target data corresponding to different users can be cached according to the user identifier, so that the corresponding target data cached in advance can be provided to the corresponding user in response to the request of different users.

[0067] In operation S320, second operation data of a user on a related application is received, and the second operation data includes link data corresponding to the related application.

[0068] In operation S330, in response to the second operation data of the user, target data corresponding to the relevant application is determined from the stored target data.

[0069] In operation S340 , the target data is displayed through the relevant application.

[0070] According to the embodiment of the present disclosure, after the target data is cached in advance, when the second operation data of the user for the related application is received (the second operation data may be, for example, a click operation), the corresponding target data may be obtained from the target data cached in advance in response to the second operation, and the corresponding target data may be displayed to the user through the related application. By caching the target data related to the application in advance, it is convenient to display the target data cached in advance to the user when the user accesses the application, thereby reducing the waiting time of the user.

[0071] Figure 4 A schematic diagram of a cache preloading platform according to an embodiment of the present disclosure is schematically shown.

[0072] like Figure 4As shown, the cache preloading platform 400 of the embodiment of the present disclosure is, for example, a platform that completely simulates user operation behavior. The embodiment of the present disclosure can preload all interfaces of the application at one time, so as to effectively solve the problems of the expansion of the number of preloaded interfaces, different user permissions, additional code development, and difficult maintenance of scheduled tasks. Among them, the interface in the embodiment of the present disclosure can be, for example, an interface connected to a server. An application, for example, has multiple interfaces, and the user obtains the relevant target data of the application by accessing the corresponding interface. For example, the server obtains the user's request data through the interface, obtains the target data related to the request data from the database, and returns the target data to the user through the corresponding interface.

[0073] For ease of understanding, the embodiments of the present disclosure take the application as a web page as an example, for example, the application may be Baidu News, Baidu Tieba, and the like.

[0074] According to the embodiment of the present disclosure, the cache preloading platform 400 is composed of four modules, for example, including a distributed task scheduling platform 410, a task execution platform 420, a user behavior simulation platform 430 and a specific application running platform 440. The function of each module is introduced below.

[0075] 1. About the distributed task scheduling platform 410

[0076] The cache preloading scheduled task may be configured in the distributed task scheduling platform 410 , and one application (including all interfaces requiring cache preloading) only needs to configure one cache preloading scheduling task.

[0077] When configuring a scheduling task, for example, you can set the following parameters:

[0078] (1) Application identification. For example, an application corresponds to an application identification, which may be an application ID. For example, the application identification of Baidu News may be 001, and the application identification of Baidu Tieba may be 002.

[0079] (2) User authority identification: Each user has a corresponding user authority identification, which may be a user ID, for example, to represent the identity of the user. Multiple user IDs may be added to the distributed task scheduling platform.

[0080] (3) A user group authority identifier, for example, including a user group ID, each user group including, for example, multiple users. When multiple users need to be added to the distributed task scheduling platform 410, it is more convenient to add them in the form of user groups. During the parameter configuration process, the user group authority identifier can be empty, indicating that there is no user group (i.e., it is not necessary to add users in the form of user groups).

[0081] According to an embodiment of the present disclosure, when configuring a scheduled task for cache preloading in the distributed task scheduling platform 410, for example, the scheduled task can be run every 5 minutes between 6 and 7 in the morning to load and cache the target data in advance, so that when the user accesses the web page after 7 o'clock, the pre-cached target data can be quickly provided to the user. Avoid when the user accesses the web page, when the underlying data source is an application such as a big data query engine, some interfaces query timeout due to too many interfaces, resulting in the failure of loading some interfaces. When the time is the scheduled setting time, the executor (in the task execution platform 420) accepts the configuration parameters to start executing the task.

[0082] 2. About the Task Execution Platform 420

[0083] The task execution platform 420 includes an executor part, where we can add applications. There are two modes for adding applications, for example, a normal mode (the corresponding link data is address data) and a script mode (the corresponding link data is script data).

[0084] For example, when adding an application in normal mode, you can directly add the html address of the cache preloaded page (webpage), such as adding multiple html addresses. For example, taking the application Baidu News as an example, Baidu News has multiple menus, including domestic news, foreign news, etc. By clicking on the menu, the target data corresponding to the menu can be displayed on the page. For example, when clicking on the domestic news menu, the text and pictures about domestic news are displayed on the page.

[0085] One application ID corresponds to one or more HTML addresses. For example, one application corresponds to multiple menus, and each menu corresponds to a corresponding HTML address.

[0086] For example, when adding an application in script mode, you can directly write the js script for accessing the application URL and the user operation behavior after the page is opened, such as switching tab pages, changing dates, etc. This function is mainly for developers, and is accurate to the user's specific operation behavior and behavior time interval. This mode is suitable for customized interactive cache preloading solutions.

[0087] When adding an application, you can set a ticket (custom string) for the single sign-on verification of the application, which is not mandatory. For example, when the target data that needs to be cached in advance is related to the identity of the user, the user account and password are required to log in to the web page. However, considering that the user's password is relatively private, you can set a login verification ticket to achieve the situation where the user's password is not required. The specific use of the ticket is described in the specific application running platform 440.

[0088] In the embodiment of the present disclosure, the task execution platform 420 can obtain relevant configuration parameters (for example, including application identification, user authority identification, user group authority identification, login verification ticket, etc.), obtain the html address list (including multiple html addresses in the list) or script accessed by the application through the application identification (for example, application ID), obtain the user identification list through the application identification or user authority identification, loop through the user identification list and the html address list, and sequentially access the user behavior simulation platform 430. Among them, the request parameters for accessing the user behavior simulation platform 430 include, for example, the execution mode (the execution mode is described in the user behavior simulation platform 430) and its corresponding html address or script, the user ID (which can be empty, indicating that the target data to be cached is not for a specific user, but for all users who access the web page) and the login verification ticket (which can be empty).

[0089] 3. About User Behavior Simulation Platform 430

[0090] The user behavior simulation platform 430 is, for example, a node runtime environment (a node runtime environment is, for example, a JavaScript runtime environment based on the Chrome V8 engine), which is convenient for executing js scripts and simulating interactions, so as to provide an http access interface for the executor (located in the task execution platform 420). When the task executor accesses the user behavior simulation platform 430, the obtained request parameters include, for example, the execution mode and its corresponding html address or script, the user ID, and the login verification ticket.

[0091] The execution mode can be, for example, the normal mode. When it is the normal mode, the request parameters are carried, and puppeteer (a tool that can simulate the user's operation behavior of HTML pages, which can open HTML pages in the node running environment and simulate user operation behavior) is used to simulate the Chrome browser. The browser is opened and the user ID and login verification ticket are set in the cookie. Then the HTML address is accessed, and the page is closed after all interfaces are loaded.

[0092] The execution mode may be, for example, a script mode, where the user behavior simulation platform 430 directly executes the js script, accesses the page and interacts according to the design logic of the developer, thereby performing cache preloading.

[0093] 4. About the specific application operation platform 440

[0094] The specific application operation platform 440 can be a platform for users to access specific applications. The platform needs to use the user ID and login verification ticket value transmitted by the user behavior simulation platform 430. The single sign-on interceptor verifies whether the ticket is correct. If it is correct, the user login verification is skipped and the user identification (user ID) information is directly obtained. The specific application operation platform 440 can simulate user behavior and obtain relevant target data in advance, so that when the user accesses the web page later, the pre-cached target data can be quickly provided to the user, thereby improving the user's experience of accessing the web page.

[0095] Subsequent interface loading is based on user identification information to set data permissions for query, and the cache solution is designed according to the respective application scenarios. For example, the recommended cache strategy is to dynamically obtain the time interval between the current time and midnight of the next day to set the cache expiration time, thereby completing the overall implementation process of preloading cache data.

[0096] Figure 5 The block diagram schematically shows a data processing device according to an embodiment of the present disclosure.

[0097] like Figure 5 As shown, the data processing device 500 includes a first acquisition module 510 , a first determination module 520 , a processing module 530 and a storage module 540 .

[0098] The first acquisition module 510 may be used to acquire multiple link data, wherein the multiple link data are associated with at least one application and indicate the acquisition of target data that can be displayed by the associated application. According to an embodiment of the present disclosure, the first acquisition module 510 may, for example, execute the above reference Figure 2 The operation S210 described above will not be described in detail here.

[0099] The first determining module 520 may be configured to determine a processing mode corresponding to each link data of the plurality of link data.

[0100] According to an embodiment of the present disclosure, the link data includes at least one of address data and script data. Determining a processing mode corresponding to each link data in the plurality of link data includes: determining the processing mode corresponding to the address data as a first processing mode and determining the processing mode corresponding to the script data as a second processing mode.

[0101] According to an embodiment of the present disclosure, the first determining module 520 may, for example, execute the above reference Figure 2 The operation S220 described above will not be described in detail here.

[0102] The processing module 530 may be configured to process the corresponding link data based on the processing mode to obtain target data corresponding to the link data.

[0103] According to an embodiment of the present disclosure, based on a processing mode, corresponding link data is processed to obtain target data corresponding to the link data, including: obtaining first operation data corresponding to a first processing mode, the first operation data being an operation by a user to obtain corresponding target data through address data, and based on the first operation data, processing corresponding address data to obtain target data corresponding to the address data.

[0104] According to an embodiment of the present disclosure, based on a processing mode, processing corresponding link data to obtain target data corresponding to the link data includes: based on a second processing mode, running script data to obtain target data corresponding to the script data.

[0105] According to an embodiment of the present disclosure, the processing module 530 may, for example, execute the above reference Figure 2 The operation S230 described above will not be described in detail here.

[0106] The storage module 540 may be used to store target data so as to provide it to the user in response to a user request. According to an embodiment of the present disclosure, the storage module 540 may, for example, execute the above reference Figure 2 The operation S240 described above will not be described in detail here.

[0107] Figure 6 A block diagram of a data processing device according to another embodiment of the present disclosure is schematically shown.

[0108] like Figure 6 As shown, the data processing device 600 includes a first acquisition module 510, a first determination module 520, a processing module 530, a storage module 540, a second acquisition module 610, a receiving module 620, a second determination module 630 and a display module 640. The first acquisition module 510, the first determination module 520, the processing module 530 and the storage module 540 are the same as those in the above reference. Figure 5 The modules described in are the same or similar and will not be described in detail here.

[0109] The second acquisition module 610 may be used to acquire a user identifier corresponding to the link data.

[0110] According to an embodiment of the present disclosure, based on a processing mode, processing corresponding link data to obtain target data corresponding to the link data includes: based on a processing mode and a user identifier, processing corresponding link data to obtain target data corresponding to the link data.

[0111] According to the embodiment of the present disclosure, the second acquisition module 610 may, for example, execute the above reference Figure 3 The operation S310 described above will not be described in detail here.

[0112] The receiving module 620 may be used to receive the second operation data of the user for the related application, and the second operation data includes the link data corresponding to the related application. According to the embodiment of the present disclosure, the receiving module 620 may, for example, execute the above reference Figure 3 The operation S320 described above will not be described in detail here.

[0113] The second determination module 630 may be used to respond to the second operation data of the user and determine the target data corresponding to the relevant application from the stored target data. According to an embodiment of the present disclosure, the second determination module 630 may, for example, execute the above reference Figure 3 The operation S330 described above will not be described in detail here.

[0114] The display module 640 can be used to display the target data through the relevant application. According to the embodiment of the present disclosure, the display module 640 can, for example, execute the above reference Figure 3 The operation S340 described above will not be described in detail here.

[0115] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0116] For example, any multiple of the first acquisition module 510, the first determination module 520, the processing module 530, the storage module 540, the second acquisition module 610, the receiving module 620, the second determination module 630, and the display module 640 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first acquisition module 510, the first determination module 520, the processing module 530, the storage module 540, the second acquisition module 610, the receiving module 620, the second determination module 630, and the display module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware, and firmware or in a suitable combination of any of them. Alternatively, at least one of the first acquisition module 510, the first determination module 520, the processing module 530, the storage module 540, the second acquisition module 610, the receiving module 620, the second determination module 630 and the display module 640 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be executed.

[0117] Figure 7 The block diagram schematically shows a computer system suitable for data processing according to an embodiment of the present disclosure. Figure 7 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0118] like Figure 7 As shown, the computer system 700 according to the embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.

[0119] In RAM 703, various programs and data required for the operation of system 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other through bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0120] According to an embodiment of the present disclosure, the system 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The system 700 may further include one or more of the following components connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0121] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0122] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0123] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, such as, but not limited to, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0124] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or the RAM 703 described above and / or one or more memories other than the ROM 702 and the RAM 703 .

[0125] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0126] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0127] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A data processing method, applied to a server, comprising: The same scheduling task is configured for multiple cache preloaded interfaces of at least one application, wherein the scheduling task is used to preload target data, the scheduling task is a timed task, and the scheduling task is used to implement one-time preloading of the multiple cache preloaded interfaces; based on the following method, the scheduling task is executed to obtain the target data, and the method includes: Acquire a plurality of link data, wherein the plurality of link data are associated with at least one application and indicate acquisition of the target data that can be displayed through the associated application; determine a processing mode corresponding to each of the plurality of link data; Based on the processing mode, processing the corresponding link data to obtain target data corresponding to the link data; and The target data is stored so as to be provided to the user in response to a user request.

2. The method according to claim 1, wherein: The link data includes: at least one of address data and script data; The determining of a processing mode corresponding to each link data of the plurality of link data comprises: determining that the processing mode corresponding to the address data is a first processing mode; and The processing mode corresponding to the script data is determined to be the second processing mode.

3. The method according to claim 2, wherein: The processing of the corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: Acquire first operation data corresponding to the first processing mode, where the first operation data is an operation of a user acquiring corresponding target data through the address data; and Based on the first operation data, the corresponding address data is processed to obtain target data corresponding to the address data.

4. The method according to claim 2, wherein: The processing of the corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: Based on the second processing mode, the script data is executed to obtain target data corresponding to the script data.

5. The method according to claim 1, wherein: The method further comprises: obtaining a user identification corresponding to the link data; The processing of the corresponding link data based on the processing mode to obtain the target data corresponding to the link data includes: processing the corresponding link data based on the processing mode and the user identifier to obtain the target data corresponding to the link data.

6. The method according to claim 1, further comprising: receiving second operation data of a user for a related application, wherein the second operation data includes link data corresponding to the related application; In response to the second operation data of the user, determining the target data corresponding to the related application from the stored target data; as well as The target data is displayed through the related application.

7. A data processing device, applied to a server, the device being configured to configure a same scheduling task for multiple cache preload interfaces of at least one application, wherein: The scheduling task is used to preload the target data. The scheduling task is a timed task. The scheduling task is used to implement one-time preloading of the interfaces for preloading the multiple caches. The target data is obtained by executing the scheduling task in the following manner. The device comprises: A first acquisition module acquires a plurality of link data, wherein the plurality of link data are associated with at least one application and indicate acquisition of the target data that can be displayed through the associated application; A first determining module determines a processing mode corresponding to each link data of the plurality of link data; a processing module, based on the processing mode, processing the corresponding link data to obtain target data corresponding to the link data; and The storage module stores the target data so as to provide the target data to the user in response to a user request.

8. The device according to claim 7, wherein: The link data includes: at least one of address data and script data; The determining of a processing mode corresponding to each link data of the plurality of link data comprises: determining that the processing mode corresponding to the address data is a first processing mode; and The processing mode corresponding to the script data is determined to be the second processing mode.

9. The device according to claim 8, wherein: The processing of the corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: Acquire first operation data corresponding to the first processing mode, where the first operation data is an operation of a user acquiring corresponding target data through the address data; and Based on the first operation data, the corresponding address data is processed to obtain target data corresponding to the address data.

10. The device according to claim 8, wherein: The processing of the corresponding link data based on the processing mode to obtain target data corresponding to the link data includes: Based on the second processing mode, the script data is executed to obtain target data corresponding to the script data.

11. The device according to claim 7, wherein: The device further comprises: a second acquisition module, which acquires a user identifier corresponding to the link data; The processing of the corresponding link data based on the processing mode to obtain the target data corresponding to the link data includes: processing the corresponding link data based on the processing mode and the user identifier to obtain the target data corresponding to the link data.

12. The apparatus according to claim 7, further comprising: A receiving module, receiving second operation data of a user for a related application, wherein the second operation data includes link data corresponding to the related application; a second determining module, in response to the second operation data of the user, determining the target data corresponding to the related application from the stored target data; as well as A display module displays the target data through the related application.

13. A data processing system comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 6.

14. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 6.