Data processing method and device, electronic equipment and storage medium

Obtain and download application configuration files through a unified management platform, giving priority to downloading core business files, solving the problems of chaotic local file management and slow startup in applications, and improving startup speed.

CN118733134APending Publication Date: 2024-10-01BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310324263.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The local file management in the application is chaotic, making it difficult to centrally manage files, and due to the large number of business types and the large amount of startup downloads, the application starts slowly.

Method used

Provide a data processing method that obtains the configuration file set of the application through the unified resource management platform, determines the download priority based on the file download level information, and downloads the configuration file from the unified resource management platform to the local file management system of the application, giving priority to downloading Core business documents to ensure a quick start.

Benefits of technology

It achieves unified management of application files, prioritizes downloading of core business files, improves the startup speed of applications, and overcomes the problems of chaotic local file management and slow startup.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733134A_ABST
    Figure CN118733134A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method which can be applied to the technical field of computers. The data processing method comprises the steps that in response to a starting request used for starting an application program, a configuration file set corresponding to the application program is obtained from a resource unified management platform, the configuration file set comprises configuration files corresponding to application services, and the configuration files comprise file downloading level information; determining a configuration file needing to be downloaded from the at least two configuration files according to a preset rule to obtain a to-be-downloaded file set; for each to-be-downloaded file in the to-be-downloaded file set, determining the downloading priority level of the to-be-downloaded file according to the file downloading level information; and downloading the file to be downloaded from the resource unified management platform to a local file management system of the application program according to the downloading priority level. The invention further provides a data processing device, equipment and a 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, device, electronic device, medium, and program product. Background Art

[0002] With the continuous iteration and update of applications, the continuous increase of business and the continuous optimization of performance, the resources of applications are also increasing.

[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the local file management in the current application is chaotic, which is not conducive to the centralized management of files; at the same time, due to the large number of business types of applications, a large number of startup downloads cause the application startup to slow down. Summary of the invention

[0004] In view of this, the present disclosure provides a data processing method, apparatus, electronic device, medium, and program product.

[0005] One aspect of the present disclosure provides a data processing method, comprising:

[0006] In response to a start request for starting an application, obtaining a configuration file set corresponding to the application from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service, and the configuration file includes file download level information;

[0007] Determine the configuration file to be downloaded from at least two of the above configuration files according to a preset rule, and obtain a file set to be downloaded;

[0008] For each file to be downloaded in the set of files to be downloaded, determining a download priority level of the file to be downloaded according to the file download level information; and

[0009] According to the download priority level, the to-be-downloaded file is downloaded from the unified resource management platform to the local file management system of the application.

[0010] According to an embodiment of the present disclosure, the above configuration file also includes file identification information and file version information;

[0011] The configuration file to be downloaded is determined from at least two of the configuration files according to a preset rule, including:

[0012] For each of the at least two configuration files, according to the file identification information corresponding to the configuration file, determine a local file corresponding to the file identification information from local files of the file management system to obtain a target file;

[0013] Compare the file version information of the configuration file with the file version information of the target file to obtain a comparison result;

[0014] Determine the configuration file that needs to be downloaded based on the comparison results.

[0015] According to an embodiment of the present disclosure, the configuration file to be downloaded according to the comparison result includes:

[0016] When it is determined that the comparison result indicates that the file version information of the configuration file is inconsistent with the file version information of the target file, the configuration file is determined to be the configuration file that needs to be downloaded.

[0017] According to an embodiment of the present disclosure, the above download priority levels include a start download level, a delay download level, an enter preset page download level, and a trigger preset operation download level;

[0018] The above-mentioned downloading of the above-mentioned to-be-downloaded file from the above-mentioned resource unified management platform to the above-mentioned local file management system of the above-mentioned application program according to the above-mentioned download priority level includes:

[0019] In the case where it is determined that the download priority level is the download start level, immediately downloading the file to be downloaded from the resource unified management platform to the local file management system of the application program;

[0020] In the case where the download priority level is determined to be the delayed download level, after waiting for a preset delay time, the to-be-downloaded file is downloaded from the resource unified management platform to the local file management system of the application program;

[0021] In the case where it is determined that the download priority level is to enter the preset page for download, monitoring the running life cycle of the application, and downloading the file to be downloaded from the resource unified management platform to the local file management system of the application when the application enters the preset page;

[0022] When it is determined that the download priority level is the download level for triggering the preset operation, the file to be downloaded is downloaded from the resource unified management platform to the local file management system of the application when the preset operation is triggered.

[0023] According to an embodiment of the present disclosure, the data processing method further includes:

[0024] For each local file in the file management system, when it is determined that the file identification information of the at least two configuration files does not include the file identification information of the local file, the local file is deleted from the file management system.

[0025] According to an embodiment of the present disclosure, the data processing method further includes:

[0026] If it is determined that the comparison result indicates that the file version information of the configuration file is consistent with the file version information of the target file, there is no need to download the configuration file.

[0027] According to an embodiment of the present disclosure, the data processing method further includes:

[0028] The download status of the file to be downloaded is monitored, and when it is determined that the download of the file to be downloaded fails, the current domain name is replaced with a preset backup domain name and the file is downloaded again.

[0029] According to an embodiment of the present disclosure, the data processing method further includes:

[0030] Record the download time of the above-mentioned file to be downloaded to the above-mentioned file management system;

[0031] When the storage capacity of the file management system reaches a preset upper limit, determining the files to be cleared according to the download time;

[0032] Delete the files to be cleared to free up storage space of the file management system.

[0033] According to an embodiment of the present disclosure, the data processing method further includes:

[0034] In response to a call request for calling a target resource from the file management system, a target interface is determined from preset call interfaces according to download level information of the target resource;

[0035] The target interface is called to obtain the target resource according to the file identification information of the target resource.

[0036] According to an embodiment of the present disclosure, the above-mentioned preset calling interface includes a synchronous interface and an asynchronous interface;

[0037] The above-mentioned determining the target interface from the preset calling interface according to the download level information of the above-mentioned target resource includes:

[0038] In the case where it is determined that the download level information of the target resource indicates that the download priority level of the target resource is the start download level, determining the target interface to be the synchronization interface;

[0039] When it is determined that the download level information of the target resource indicates that the download priority level of the target resource is not the download start level, the target interface is determined to be the asynchronous interface.

[0040] Another aspect of the present disclosure provides a data processing device, comprising:

[0041] A first acquisition module, configured to, in response to a start request for starting an application, acquire a configuration file set corresponding to the application from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service, and the configuration file includes file download level information;

[0042] A first determination module, configured to determine a configuration file to be downloaded from at least two of the above configuration files according to a preset rule, and obtain a file set to be downloaded;

[0043] A second determining module is used to determine the download priority level of each file to be downloaded in the file set to be downloaded according to the file download level information; and

[0044] The download module is used to download the above-mentioned to-be-downloaded files from the above-mentioned unified resource management platform to the local file management system of the above-mentioned application program according to the above-mentioned download priority level.

[0045] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the data processing method.

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

[0047] Another aspect of the present disclosure provides a computer program, which includes computer executable instructions. When the instructions are executed, they are used to implement the above method of the embodiment of the present disclosure.

[0048] According to the embodiment of the present disclosure, a configuration file set corresponding to the application is obtained from a unified resource management platform in response to a startup request for starting an application, wherein the configuration file set includes a configuration file corresponding to the application service, and the configuration file includes file download level information; then, according to a preset rule, a configuration file to be downloaded is determined from at least two configuration files to obtain a set of files to be downloaded; for each file to be downloaded in the set of files to be downloaded, the download priority level of the file to be downloaded is determined according to the file download level information; then, according to the download priority level, a technical means is used to download the file to be downloaded from the unified resource management platform to the local file management system of the application. Since the application service of the application is uniformly configured using the unified resource management platform, the configuration files of all application services can be uniformly obtained when the application is started, and the obtained configuration files are uniformly downloaded to the same location of the local file management system, which is convenient for file management. At the same time, when downloading the configuration file, the core service can be downloaded first according to the priority download level of the file to ensure the rapid startup of the application. Therefore, the technical problem that the local file management is chaotic, which is not conducive to the centralized management of files, and the large number of service types and a large number of startup downloads cause the application startup to slow down is at least partially overcome. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] 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:

[0050] Figure 1 An exemplary system architecture to which a data processing method according to an embodiment of the present disclosure can be applied is schematically shown;

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

[0052] Figure 3 A flowchart of a configuration file classification method according to an embodiment of the present disclosure is schematically shown;

[0053] Figure 4 A flowchart of a configuration file downloading method according to an embodiment of the present disclosure is schematically shown;

[0054] Figure 5 The structure diagram of the unified resource management platform according to the embodiment of the present disclosure is schematically shown;

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

[0056] Figure 7 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0057] 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.

[0058] 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.

[0059] 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.

[0060] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly 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.).

[0061] In medium and large applications (Apps), with continuous iterations and updates, increasing business, and continuous performance optimization, many core businesses or first-level pages need to be downloaded in advance to improve important performance data such as the APP's first opening time and loading time.

[0062] However, each business of the App manages its own resource files independently, lacking unified scheduling, resulting in chaotic local file management. In addition, due to the dispersion and independence of each business, it is difficult to centrally manage when it is needed, and the human cost required will be difficult to estimate. In addition, a large number of startup downloads will also cause the App to start slowly, and it is difficult to ensure the download priority of the core business. There is even a risk of running out of memory, affecting the normal use of the App.

[0063] In view of this, the present disclosure provides a data processing method for the above technical problems, including: in response to a startup request for starting an application, obtaining a configuration file set corresponding to the above application from a unified resource management platform, wherein the above configuration file set includes a configuration file corresponding to the application business, and the above configuration file includes file download level information; determining a configuration file to be downloaded from at least two of the above configuration files according to preset rules to obtain a set of files to be downloaded; for each file to be downloaded in the above set of files to be downloaded, determining a download priority level of the above file to be downloaded according to the above file download level information; and downloading the above file to be downloaded from the above unified resource management platform to a file management system local to the above application according to the above download priority level.

[0064] According to the embodiment of the present disclosure, a configuration file set corresponding to the application is obtained from a unified resource management platform in response to a startup request for starting an application, wherein the configuration file set includes a configuration file corresponding to the application service, and the configuration file includes file download level information; then, according to a preset rule, a configuration file to be downloaded is determined from at least two configuration files to obtain a set of files to be downloaded; for each file to be downloaded in the set of files to be downloaded, the download priority level of the file to be downloaded is determined according to the file download level information; then, according to the download priority level, a technical means is used to download the file to be downloaded from the unified resource management platform to the local file management system of the application. Since the application service of the application is uniformly configured using the unified resource management platform, the configuration files of all application services can be uniformly obtained when the application is started, and the obtained configuration files are uniformly downloaded to the same location of the local file management system, which is convenient for file management. At the same time, when downloading the configuration file, the core service can be downloaded first according to the priority download level of the file to ensure the rapid startup of the application. Therefore, the technical problem that the local file management is chaotic, which is not conducive to the centralized management of files, and the large number of service types and a large number of startup downloads cause the application startup to slow down is at least partially overcome.

[0065] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0066] In the technical solution disclosed in the present invention, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.

[0067] Figure 1 The exemplary system architecture 100 to which the data processing method according to the embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1What 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.

[0068] 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 unified resource management platform 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the unified resource management platform 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.

[0069] 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 and / or social platform software, etc. (only as examples).

[0070] 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.

[0071] The unified resource management platform 105 can be a platform for uniformly configuring resource files of applications. The unified resource management platform 105 can create a space for each business, and the space creator can add space access permissions for others, and can only support space members with relevant read and write permissions. When the application on the terminal device is started, the configuration file is obtained from the unified resource management platform 105.

[0072] It should be noted that the data processing method provided in the embodiment of the present disclosure can generally be executed by the terminal device 101, 102, or 103, or can also be executed by other terminal devices different from the terminal devices 101, 102, or 103. Accordingly, the data processing apparatus provided in the embodiment of the present disclosure can also be set in the terminal device 101, 102, or 103, or can be set in other terminal devices different from the terminal devices 101, 102, or 103.

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

[0074] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The data processing method of the disclosed embodiment is described in detail.

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

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

[0077] In operation S210, in response to a start request for starting an application, a configuration file set corresponding to the application is obtained from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service, and the configuration file includes file download level information.

[0078] According to an embodiment of the present disclosure, the unified resource management platform is used to uniformly configure resources of each application service in the application program, and when the application program is started, the corresponding configuration file set is uniformly obtained from the unified resource management platform.

[0079] According to an embodiment of the present disclosure, the unified resource management platform may be a content management system CMS, and content creators, editors, and publishers may use the content management system to submit, modify, approve, and publish content.

[0080] According to an embodiment of the present disclosure, each application service has a corresponding configuration file, and each configuration file is configured with download level information. For example, the download level information can be configured through a unified resource management platform.

[0081] According to an embodiment of the present disclosure, the download level information may include any information that can represent the download priority of the configuration file. For example, the download level information may be represented by symbols such as numbers and letters. Specifically, S may be used to represent the start of the download, T may represent the delayed download, A may represent the entry page download, B may represent the download at a custom download time, and so on.

[0082] According to the embodiments of the present disclosure, by utilizing a unified resource management platform to uniformly configure different application services, configuration files of all application services can be uniformly obtained when the application is started, and the configuration files of the application services can be saved in the same location of the client, facilitating centralized management of files.

[0083] In operation S220, a configuration file to be downloaded is determined from at least two of the configuration files according to a preset rule to obtain a file set to be downloaded.

[0084] According to an embodiment of the present disclosure, the preset rules may include any rules that can determine which configuration files need to be downloaded, such as determining whether downloading is required based on the configuration file identifier or determining whether downloading is required based on the type of the configuration file.

[0085] According to an embodiment of the present disclosure, a preset rule is used to determine the configuration files that need to be downloaded, and the configuration files that need to be downloaded are downloaded, while the configuration files that do not need to be downloaded are not downloaded during the current application startup process, thereby helping to reduce the number of downloaded files and improve the startup speed of the application.

[0086] In operation S230, for each file to be downloaded in the set of files to be downloaded, a download priority level of the file to be downloaded is determined according to the file download level information.

[0087] According to an embodiment of the present disclosure, the download priority level may include, for example, a start download level, a delay download level, a preset page download level, and a preset operation trigger download level. After determining the priority level of the file to be downloaded, the file is downloaded according to the priority download order.

[0088] According to an embodiment of the present disclosure, after determining the configuration file that needs to be downloaded, the download priority of the file to be downloaded is determined based on the file download level information, so that the file to be downloaded is downloaded according to the download priority level, which can ensure that more important core business resource files are downloaded first.

[0089] In operation S240, according to the download priority level, the to-be-downloaded file is downloaded from the unified resource management platform to a local file management system of the application program.

[0090] According to an embodiment of the present disclosure, the file management system is used by an application to locally manage configuration files. In the file management system, each file space corresponds to an application service, and each application service corresponds to a folder.

[0091] According to the embodiment of the present disclosure, a configuration file set corresponding to the application is obtained from a unified resource management platform in response to a startup request for starting an application, wherein the configuration file set includes a configuration file corresponding to the application service, and the configuration file includes file download level information; then, according to a preset rule, a configuration file to be downloaded is determined from at least two configuration files to obtain a set of files to be downloaded; for each file to be downloaded in the set of files to be downloaded, the download priority level of the file to be downloaded is determined according to the file download level information; then, according to the download priority level, a technical means is used to download the file to be downloaded from the unified resource management platform to the local file management system of the application. Since the application service of the application is uniformly configured using the unified resource management platform, the configuration files of all application services can be uniformly obtained when the application is started, and the obtained configuration files are uniformly downloaded to the same location of the local file management system, which is convenient for file management. At the same time, when downloading the configuration file, the core service can be downloaded first according to the priority download level of the file to ensure the rapid startup of the application. Therefore, the technical problem that the local file management is chaotic, which is not conducive to the centralized management of files, and the large number of service types and a large number of startup downloads cause the application startup to slow down is at least partially overcome.

[0092] According to an embodiment of the present disclosure, in response to a startup request for starting an application, obtaining a configuration file set corresponding to the application from a unified resource management platform includes: the electronic device on which the application is installed sends a configuration request for obtaining the configuration file to a server in response to the startup request for starting the application; the server obtains the corresponding configuration file set from the unified resource management platform according to the configuration request, and sends a data interface to the electronic device; the electronic device on which the application is installed reads the data interface sent by the client to obtain the configuration file set.

[0093] According to an embodiment of the present disclosure, the configuration file includes the minimum version number and the maximum version number of the supported application; the above-mentioned data processing method also includes: before determining the configuration file to be downloaded from at least two configuration files according to preset rules, judging whether the version number of the application is between the minimum version number and the maximum version number of the application; when the version number of the application is between the minimum version number and the maximum version number, determining the configuration file to be downloaded from at least two configuration files according to preset rules; when the version number of the application is not between the minimum version number and the maximum version number, there is no need to download the configuration file.

[0094] According to an embodiment of the present disclosure, the above-mentioned configuration file also includes file identification information and file version information; the above-mentioned determining the configuration file that needs to be downloaded from at least two of the above-mentioned configuration files according to preset rules includes: for each of the above-mentioned at least two configuration files, according to the above-mentioned file identification information corresponding to the above-mentioned configuration file, determining the local file corresponding to the above-mentioned file identification information from the local files of the above-mentioned file management system to obtain the target file; comparing the file version information of the above-mentioned configuration file with the file version information of the above-mentioned target file to obtain a comparison result; determining the configuration file that needs to be downloaded according to the above-mentioned comparison result.

[0095] According to an embodiment of the present disclosure, the file identification information may include a unique identification number corresponding to the configuration file. Specifically, the file identification information may include a file ID, a file number, and the like.

[0096] According to an embodiment of the present disclosure, the file version information may include a file version number corresponding to the configuration file.

[0097] According to an embodiment of the present disclosure, for example, if the file identification information is file ID information, then based on the file identification information, determining the local file corresponding to the file identification information from the local files of the file management system may include, for example: if the file ID is "1", then determining the local file with the file ID "1" from the local files of the file management system and using it as the target file.

[0098] According to an embodiment of the present disclosure, the above-mentioned data processing method also includes: for each local file in the above-mentioned file management system, when it is determined that the file identification information of the above-mentioned at least two configuration files does not contain the file identification information of the above-mentioned local file, deleting the above-mentioned local file from the above-mentioned file management system.

[0099] According to an embodiment of the present disclosure, when the file identification information of all configuration files does not contain the file identification of a local file, the local file is determined as a file to be deleted.

[0100] According to an embodiment of the present disclosure, for example, the file identification information is a file ID. For a local file with a file ID of "1", if the file IDs of all configuration files in the configuration file set do not contain "1", then the local file with a file ID of "1" is a file to be deleted, and the file to be deleted is deleted from the file management system to release storage space.

[0101] According to the embodiments of the present disclosure, since the file identifier of a file is unique, the file to be deleted can be determined by comparing the file identifiers, thereby releasing storage space of the file management system.

[0102] According to an embodiment of the present disclosure, determining the configuration file to be downloaded according to the comparison result includes: determining that the configuration file is the configuration file to be downloaded when it is determined that the comparison result indicates that the file version information of the configuration file is inconsistent with the file version information of the target file.

[0103] According to an embodiment of the present disclosure, the data processing method further includes: when it is determined that the comparison result indicates that the file version information of the configuration file is consistent with the file version information of the target file, there is no need to download the configuration file.

[0104] According to an embodiment of the present disclosure, the file version information may include a file version number. When the file version number of the configuration file is inconsistent with the file version number of the local file, it indicates that the contents of the two files are different, and the configuration file needs to be downloaded again, and the configuration file is determined as the file to be downloaded; when the file version number of the configuration file is inconsistent with the file version number of the local file, it indicates that the contents of the two files are the same and there is no need to download them again, and reducing the number of file downloads helps improve download efficiency.

[0105] Figure 3 The flowchart of the configuration file classification method according to the embodiment of the present disclosure is schematically shown.

[0106] like Figure 3 As shown, the method includes operations S301 to S307.

[0107] In operation S301, a configuration file set corresponding to an application program is acquired from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service.

[0108] In operation S302, for each of the at least two configuration files, it is determined, based on the file identification information of the configuration files, whether there is a local file in the local file of the file management system that has the same file identification information as the configuration files. If it is determined that there is a local file in the local file of the file management system that has the same file identification information as the configuration files, operation S303 is performed; if it is determined that there is no local file in the local file of the file management system that has the same file identification information as the configuration files, operation S306 is performed.

[0109] In operation S303, a local file having the same file identification information as the configuration file is determined as a target file.

[0110] In operation S304, the file version information of the configuration file is compared with the file version information of the target file to obtain a comparison result.

[0111] In operation S305, it is determined whether the file version information of the configuration file is consistent with the file version information of the target file according to the comparison result. If it is determined that the comparison result shows that the file version information of the configuration file is inconsistent with the file version information of the target file, operation S306 is performed; if it is determined that the comparison result shows that the file version information of the configuration file is consistent with the file version information of the target file, operation 307 is performed.

[0112] In operation S306, it is determined that the configuration file is a configuration file that needs to be downloaded.

[0113] In operation S307, it is determined that the configuration file is a configuration file that does not need to be downloaded.

[0114] According to an embodiment of the present disclosure, the above-mentioned download priority levels include a start-up download level, a delayed download level, a preset page download level and a preset operation triggering download level; the above-mentioned downloading of the above-mentioned files to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application according to the above-mentioned download priority levels includes: when it is determined that the above-mentioned download priority level is the above-mentioned start-up download level, immediately downloading the above-mentioned files to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application; when it is determined that the above-mentioned download priority level is the above-mentioned delayed download level, downloading the above-mentioned files to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application after waiting for a preset delay time; when it is determined that the above-mentioned download priority level is the above-mentioned enter the preset page download, monitoring the running life cycle of the above-mentioned application, and downloading the above-mentioned files to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application when the above-mentioned application enters the preset page; when it is determined that the above-mentioned download priority level is the above-mentioned trigger preset operation download level, downloading the above-mentioned files to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application when the preset operation is triggered.

[0115] According to an embodiment of the present disclosure, the configuration file also includes a preset delay time of the delayed download strategy, a file space name, and a container name of the corresponding page.

[0116] According to an embodiment of the present disclosure, when it is determined that the above-mentioned download priority level is the above-mentioned startup download level, the file to be downloaded is immediately added to the download queue for downloading after the application is started; when it is determined that the above-mentioned download priority level is the above-mentioned delayed download level, wait for the preset delay time, and add the file to be downloaded to the download queue after the time is up; when it is determined that the above-mentioned download priority level is the above-mentioned enter the preset page download level, monitor the life cycle of the application, pass in the preset page name when entering the preset page, and download immediately after the downloader reads the configuration file corresponding to the preset page; when it is determined that the above-mentioned download priority level is a custom download, when the user triggers the preset operation, call the provided download method to start the download.

[0117] According to an embodiment of the present disclosure, the data processing method further includes: monitoring the download status of the file to be downloaded, and when it is determined that the download of the file to be downloaded fails, replacing the current domain name with a preset backup domain name and downloading it again.

[0118] According to an embodiment of the present disclosure, the above-mentioned data processing method also includes: before downloading the file to be downloaded, determining whether there is download information corresponding to the file to be downloaded in the download list, wherein the download information includes identification information and file stream information of the file to be downloaded; if it is determined that there is download information corresponding to the file to be downloaded, obtaining the download information, and starting the download from the disconnected position according to the file stream information; if it is determined that there is no download information corresponding to the file to be downloaded, creating the download information and downloading.

[0119] According to an embodiment of the present disclosure, the above method also includes: after the file is downloaded successfully, the file md5 verification will be performed, and the file will be decompressed after the verification is successful. After the decompression is successful, the file status is updated to the download completion status, and the local path of the file is recorded.

[0120] Figure 4 The flowchart of the configuration file downloading method according to the embodiment of the present disclosure is schematically shown.

[0121] like Figure 4 As shown, the method includes operations S401 to S411.

[0122] In operation S401, for each file to be downloaded in the set of files to be downloaded, a download priority level of the file to be downloaded is determined according to file download level information.

[0123] In operation S402, the files to be downloaded are divided into four categories according to the download priority levels, specifically including a start download category, a delay download category, an enter preset page download category, and a trigger preset operation download category.

[0124] In operation S403, for the to-be-downloaded files belonging to the category of starting download, the to-be-downloaded files are immediately added to the download queue, and then operation S407 is performed.

[0125] In operation S404, for the to-be-downloaded file belonging to the delayed download category, the to-be-downloaded file is added to the download queue after waiting for a preset delay time, and then operation S407 is performed.

[0126] In operation S405, for the to-be-downloaded file belonging to the category of entering the preset page for download, the running life cycle of the application is monitored, and when the application enters the preset page, the to-be-downloaded file is added to the download queue, and then operation S407 is performed.

[0127] In operation S406, for the to-be-downloaded file that belongs to the download category that triggers the preset operation, when the preset operation is triggered, the download interface is called and the to-be-downloaded file is added to the download queue, and then operation S407 is performed.

[0128] In operation S407, file identification information of the file to be downloaded is obtained from the download queue.

[0129] In operation S408, it is determined whether there is download information corresponding to the file identification information in the download list, wherein the download information includes the identification information and file stream information of the file to be downloaded. If it is not determined whether there is download information, operation S409 is performed; if it is determined that there is download information, operation S410 is performed.

[0130] In operation S409, corresponding download information is created according to the file identification information.

[0131] In operation S410, the download progress is updated according to the download information.

[0132] In operation S411, the download status of the file to be downloaded is monitored. When it is determined that the download of the file to be downloaded fails, the current domain name is replaced with a preset backup domain name and the file to be downloaded is added to a download queue.

[0133] According to an embodiment of the present disclosure, the above-mentioned data processing method also includes: recording the download time of the above-mentioned files to be downloaded to the above-mentioned file management system; when the storage capacity of the above-mentioned file management system reaches a preset upper limit, determining the files to be cleared according to the above-mentioned download time; deleting the above-mentioned files to be cleared so as to release the storage space of the above-mentioned file management system.

[0134] According to an embodiment of the present disclosure, the storage space of the file management system is adjusted according to the remaining space of the electronic device where the application is installed.

[0135] According to an embodiment of the present disclosure, the preset upper limit is dynamically determined according to the remaining space of the electronic device where the application is installed. For example, if the remaining space of the electronic device is 100M, the preset upper limit may be 80M; if the remaining space of the electronic device is 10, the preset upper limit may be 8M.

[0136] According to an embodiment of the present disclosure, the file management system can realize adaptive management of files, and can adjust the total capacity of the file management system according to the available disk space of the electronic device; according to the total capacity of the file management system, the LRU algorithm is used to eliminate files.

[0137] According to an embodiment of the present disclosure, selectively deleting files with earlier download times according to the capacity of a file management system is described to release storage space.

[0138] According to an embodiment of the present disclosure, the above-mentioned data processing method also includes: in response to a call request for calling a target resource from the above-mentioned file management system, determining a target interface from a preset call interface according to the download level information of the above-mentioned target resource; calling the above-mentioned target interface, and obtaining the above-mentioned target resource according to the file identification information of the above-mentioned target resource.

[0139] According to an embodiment of the present disclosure, the above-mentioned preset calling interface includes a synchronous interface and an asynchronous interface; the above-mentioned determination of the target interface from the preset calling interface according to the download level information of the above-mentioned target resource includes: when it is determined that the download level information of the above-mentioned target resource indicates that the download priority level of the above-mentioned target resource is the start download level, determining that the above-mentioned target interface is the above-mentioned synchronous interface; when it is determined that the download level information of the above-mentioned target resource indicates that the download priority level of the above-mentioned target resource is not the start download level, determining that the above-mentioned target interface is the above-mentioned asynchronous interface.

[0140] According to an embodiment of the present disclosure, the file management system provides synchronous and asynchronous getFile interfaces. The input parameter is the file ID or space name. The business party obtains the local path of the resource file through the interface call. By providing two different interfaces, it is easy to adapt to different scenarios.

[0141] According to the embodiments of the present disclosure, the overall link of file download can also be monitored by tracking the points of each download opportunity, including file configuration arrival rate, file download success rate, file download performance, file download anomalies, file local operation anomalies, etc.

[0142] Figure 5 The structural block diagram of the unified resource management platform according to the embodiment of the present disclosure is schematically shown.

[0143] like Figure 5As shown, the unified resource management platform 500 of this embodiment includes a file space management module 510 , a file upload module 520 , a file download configuration module 530 , a file operation record module 540 and a rollback strategy module 550 .

[0144] The file space management module 510 is used for users to create a space for each business. The space creator can add space access permissions for others, and only support space members with relevant read and write permissions. It can also isolate role permissions under different applications.

[0145] The file upload module 520 is used to upload files to the object storage service for storage and save images on the image server. The supported file types include images, text, videos, and other files that can be compressed into zip. The file path saved after uploading includes the space name.

[0146] The file download configuration module 530 is used to perform public configuration, business configuration and file meta-information configuration on the file. Public configuration refers to the public configuration related to file download, including network conditions, number of retries, concurrency management, number of threads, download priority, download downgrade, etc. Business configuration provides a personalized configuration: including download timing, file link, app version information, device information, device version information, etc. File meta-information configuration is automatically generated by the unified resource management platform. The automatically generated information includes file information, file management information on the platform, including file id, file md5, file differential package, and zip password.

[0147] The file operation record module 540 is used to save the user's operation information, including space / file modification records, file publishing records, configuration modification items, and provide log push capabilities.

[0148] The rollback strategy module 550 is used to roll back to the specified file version number. The configuration introduces the concept of version, and different versions are isolated from each other. The three most recent valid versions can be saved, and the current version can be switched with one click.

[0149] According to the embodiments of the present disclosure, by using the unified resource management platform to manage data in a unified manner, it is possible to achieve unified scheduling of files, ensure the quality of file downloads, and improve the speed of App startup. In addition, the configuration of download strategies is also provided to ensure that more important core business resource files are downloaded first.

[0150] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.

[0151] Based on the above data processing method, the present disclosure also provides a data processing device. Figure 6 The device is described in detail.

[0152] Figure 6 The structure block diagram of a data processing device according to an embodiment of the present disclosure is schematically shown.

[0153] like Figure 6 As shown, the data processing device 600 of this embodiment includes a first acquisition module 610 , a first determination module 620 , a second determination module 630 and a download module 640 .

[0154] The first acquisition module 610 is used to respond to the start request for starting the application and obtain a configuration file set corresponding to the application from the unified resource management platform, wherein the configuration file set includes a configuration file corresponding to the application service, and the configuration file includes file download level information. In one embodiment, the first acquisition module 610 can be used to perform the operation S210 described above, which will not be repeated here.

[0155] The first determination module 620 is used to determine the configuration file to be downloaded from at least two of the above configuration files according to a preset rule to obtain a set of files to be downloaded. In one embodiment, the first determination module 620 can be used to perform the operation S220 described above, which will not be described in detail here.

[0156] The second determination module 630 is used to determine the download priority level of each file to be downloaded in the file set to be downloaded according to the file download level information. In one embodiment, the second determination module 630 can be used to perform the operation S230 described above, which will not be repeated here.

[0157] The download module 640 is used to download the to-be-downloaded file from the resource unified management platform to the local file management system of the application program according to the download priority level. In one embodiment, the download module 640 can be used to perform the operation S240 described above, which will not be described in detail here.

[0158] According to an embodiment of the present disclosure, the above configuration file also includes file identification information and file version information.

[0159] According to an embodiment of the present disclosure, the first determination module includes: a first determination submodule, a comparison submodule and a second determination submodule.

[0160] The first determination submodule is used to determine, for each of the at least two configuration files, a local file corresponding to the file identification information from local files of the file management system according to the file identification information corresponding to the configuration file, to obtain a target file.

[0161] The comparison module is used to compare the file version information of the configuration file with the file version information of the target file to obtain a comparison result.

[0162] The second determination submodule is used to determine the configuration file that needs to be downloaded according to the above comparison result.

[0163] According to an embodiment of the present disclosure, the second determining submodule includes: a first determining unit.

[0164] The first determining unit is configured to determine that the configuration file is a configuration file that needs to be downloaded if it is determined that the comparison result indicates that the file version information of the configuration file is inconsistent with the file version information of the target file.

[0165] According to an embodiment of the present disclosure, the above download priority levels include a start download level, a delay download level, an enter preset page download level, and a trigger preset operation download level.

[0166] According to an embodiment of the present disclosure, the download module includes: a first download submodule, a second download submodule, a third download submodule and a fourth download submodule.

[0167] The first download submodule is used to immediately download the file to be downloaded from the resource unified management platform to the local file management system of the application program when it is determined that the download priority level is the start download level.

[0168] The second download submodule is used to download the above-mentioned to-be-downloaded file from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application program after waiting for a preset delay time when the above-mentioned download priority level is determined to be the above-mentioned delayed download level.

[0169] The third download sub-module is used to monitor the running life cycle of the above-mentioned application when it is determined that the above-mentioned download priority level is the above-mentioned entering the preset page to download, and download the above-mentioned file to be downloaded from the above-mentioned resource unified management platform to the local file management system of the above-mentioned application when the above-mentioned application enters the preset page.

[0170] The fourth download submodule is used to download the file to be downloaded from the resource unified management platform to the local file management system of the application program when the preset operation is triggered, if it is determined that the download priority level is the download level that triggers the preset operation.

[0171] According to an embodiment of the present disclosure, the above-mentioned data processing device also includes: a first deletion module.

[0172] The first deleting module is used to delete each local file in the file management system from the file management system when it is determined that the file identification information of the at least two configuration files does not include the file identification information of the local file.

[0173] According to an embodiment of the present disclosure, the above-mentioned second determination submodule further includes: a second determination unit.

[0174] The second determining unit is configured to, when it is determined that the comparison result indicates that the file version information of the configuration file is consistent with the file version information of the target file, eliminate the need to download the configuration file.

[0175] According to an embodiment of the present disclosure, the above-mentioned data processing device also includes: a monitoring module and a replacement module.

[0176] The monitoring module is used to monitor the download status of the above-mentioned files to be downloaded.

[0177] The replacement module is used to replace the current domain name with a preset backup domain name and download again when it is determined that the download of the above-mentioned file to be downloaded fails.

[0178] According to an embodiment of the present disclosure, the above-mentioned data processing device further includes: a recording module, a third determining module and a second deleting module.

[0179] The recording module is used to record the download time of the above-mentioned file to be downloaded to the above-mentioned file management system.

[0180] The third determining module is used to determine the files to be cleared according to the download time when the storage capacity of the file management system reaches a preset upper limit.

[0181] The second deleting module is used to delete the files to be cleared so as to release the storage space of the file management system.

[0182] According to an embodiment of the present disclosure, the above-mentioned data processing device further includes: a fourth determination module and a second acquisition module.

[0183] The fourth determining module is used to respond to a call request for calling a target resource from the file management system and determine a target interface from preset calling interfaces according to the download level information of the target resource.

[0184] The second acquisition module is used to call the target interface and acquire the target resource according to the file identification information of the target resource.

[0185] According to an embodiment of the present disclosure, the above-mentioned preset calling interface includes a synchronous interface and an asynchronous interface.

[0186] According to an embodiment of the present disclosure, the fourth determination module includes: a third determination submodule and a fourth determination submodule.

[0187] The third determining submodule is used to determine that the target interface is the synchronization interface when it is determined that the download level information of the target resource indicates that the download priority level of the target resource is the start download level.

[0188] The fourth determining submodule is used to determine that the target interface is the asynchronous interface when it is determined that the download level information of the target resource indicates that the download priority level of the target resource is not the download start level.

[0189] It should be noted that the embodiments of the device part of the present disclosure are the same or similar to the embodiments of the method part of the present disclosure, and the present disclosure will not repeat them here.

[0190] According to the embodiments of the present invention, any one or more of the modules, submodules, and units, 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, and units can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, and units 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, and units can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0191] For example, any multiple of the first acquisition module 610, the first determination module 620, the second determination module 630, and the download module 640 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the first acquisition module 610, the first determination module 620, the second determination module 630, and the download 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 by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the first acquisition module 610 , the first determination module 620 , the second determination module 630 , and the download module 640 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.

[0192] Figure 7 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 7 The electronic device 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.

[0193] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., 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 an embodiment of the present disclosure.

[0194] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via 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.

[0195] According to an embodiment of the present disclosure, the electronic device 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.

[0196] 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.

[0197] 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.

[0198] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is 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 combination with an instruction execution system, apparatus, or device.

[0199] 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 .

[0200] 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.

[0201] 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.

[0202] 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, comprising: In response to a start request for starting an application, obtaining a configuration file set corresponding to the application from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service, and the configuration file includes file download level information; Determine a configuration file to be downloaded from at least two of the configuration files according to a preset rule, and obtain a file set to be downloaded; For each file to be downloaded in the set of files to be downloaded, determining a download priority level of the file to be downloaded according to the file download level information; and According to the download priority level, the to-be-downloaded file is downloaded from the unified resource management platform to a local file management system of the application.

2. The method according to claim 1, wherein: The configuration file also includes file identification information and file version information; Determining the configuration file to be downloaded from at least two configuration files according to a preset rule includes: For each of the at least two configuration files, according to the file identification information corresponding to the configuration file, determine a local file corresponding to the file identification information from local files of the file management system to obtain a target file; Comparing the file version information of the configuration file with the file version information of the target file to obtain a comparison result; The configuration file to be downloaded is determined according to the comparison result.

3. The method according to claim 2, wherein: Determining the configuration file to be downloaded according to the comparison result includes: When it is determined that the comparison result indicates that the file version information of the configuration file is inconsistent with the file version information of the target file, the configuration file is determined to be a configuration file that needs to be downloaded.

4. The method according to claim 1, wherein: The download priority levels include the start download level, the delay download level, the enter preset page download level and the trigger preset operation download level; The downloading of the to-be-downloaded file from the unified resource management platform to the local file management system of the application according to the download priority level comprises: When it is determined that the download priority level is the start download level, immediately downloading the file to be downloaded from the unified resource management platform to a local file management system of the application program; When it is determined that the download priority level is the delayed download level, downloading the file to be downloaded from the resource unified management platform to the local file management system of the application after waiting for a preset delay time; In the case where it is determined that the download priority level is to enter the preset page for downloading, monitoring the running life cycle of the application, and downloading the file to be downloaded from the unified resource management platform to the local file management system of the application when the application enters the preset page; When it is determined that the download priority level is the download level that triggers the preset operation, the file to be downloaded is downloaded from the unified resource management platform to the local file management system of the application when the preset operation is triggered.

5. The method according to claim 2, further comprising: For each local file in the file management system, if it is determined that the file identification information of the at least two configuration files does not include the file identification information of the local file, the local file is deleted from the file management system.

6. The method according to claim 3, further comprising: If it is determined that the comparison result indicates that the file version information of the configuration file is consistent with the file version information of the target file, there is no need to download the configuration file.

7. The method according to claim 1, further comprising: The download status of the file to be downloaded is monitored, and when it is determined that the download of the file to be downloaded fails, the current domain name is replaced by a preset backup domain name and the file is downloaded again.

8. The method according to claim 1, further comprising: Recording the download time of the file to be downloaded to the file management system; When the storage capacity of the file management system reaches a preset upper limit, determining the files to be cleared according to the download time; The files to be cleared are deleted to release storage space of the file management system.

9. The method according to claim 1, further comprising: In response to a call request for calling a target resource from the file management system, determining a target interface from preset call interfaces according to download level information of the target resource; The target interface is called to obtain the target resource according to the file identification information of the target resource.

10. The method according to claim 9, wherein: The preset calling interface includes a synchronous interface and an asynchronous interface; Determining the target interface from the preset calling interface according to the download level information of the target resource includes: In the case where it is determined that the download level information of the target resource indicates that the download priority level of the target resource is the start download level, determining that the target interface is the synchronization interface; When it is determined that the download level information of the target resource indicates that the download priority level of the target resource is not the download start level, the target interface is determined to be the asynchronous interface.

11. A data processing device, comprising: A first acquisition module, configured to acquire, in response to a start request for starting an application, a configuration file set corresponding to the application from a unified resource management platform, wherein the configuration file set includes a configuration file corresponding to an application service, and the configuration file includes file download level information; A first determining module, configured to determine a configuration file to be downloaded from at least two of the configuration files according to a preset rule, and obtain a file set to be downloaded; A second determining module is configured to determine, for each file to be downloaded in the set of files to be downloaded, a download priority level of the file to be downloaded according to the file download level information; and The download module is used to download the to-be-downloaded file from the unified resource management platform to the local file management system of the application program according to the download priority level.

12. An electronic device comprising: one or more processors; a memory 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 implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 10.

14. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.