Policy data updating method and related equipment

By adopting preset timely update strategies and timed task scheduling methods in the target cloud platform, the problem of low update frequency of policy data in the existing technology is solved, real-time synchronization of policy data is achieved, and the timeliness and frequency of updates is improved.

CN119127899APending Publication Date: 2024-12-13KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411246928.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the existing technology, policy data updates are relatively low and are not timely enough. New policy changes need to be synchronized until regular patches are released, which cannot meet real-time needs.

Method used

By using preset timely update policies, timed task scheduling methods and encryption tools in the target cloud platform, policy change data can be obtained and updated to achieve real-time synchronization of policy data.

Benefits of technology

It improves the frequency and timeliness of policy data updates to ensure that new policy changes can be synchronized to the user system immediately to meet the needs of real-time updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127899A_ABST
    Figure CN119127899A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a policy data updating method and related equipment, which are used for updating policy data under the condition of improving the updating timeliness of the policy data. The method comprises the steps that a target resource bundle sent by a server of a research and development environment in a target cloud platform is obtained, the target resource bundle comprises a script file, the script file comprises policy change data, and the policy change data is obtained according to a preset conversion rule; the method comprises the following steps: converting a target metadata entity related to policy change in a target website to obtain data, and updating current policy data of a current resource packet of a client in a target cloud platform into policy change data of a target resource packet through a preset timely updating policy; the updating frequency of the policy data corresponding to the preset timely updating policy reaches a preset updating frequency threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of policy data updating, and more specifically, to a policy data updating method, a server of a resource service cloud in a target cloud platform, a server of a research and development environment in a target cloud platform, a computer device, and a computer-readable storage medium. Background Art

[0002] With the advancement of technology and changes in society, the speed of policy formulation and implementation has accelerated, and various businesses have become more dependent on laws and regulations, and policy changes are becoming more frequent. For example, with the development of the digital economy and financial technology, tax policies may be frequently adjusted to support innovation and compliance. In order to ensure the compliance and efficiency of business operations, the original static policy data can no longer meet real-time needs. The latest policy information must be tracked and updated in real time. Therefore, policy data updates are required.

[0003] However, the existing method is to synchronize policy data to the user's system through regular patches. This regular patch release mode means that when a new policy change occurs, it is necessary to wait until the next patch release time to be synchronized to the user's system. The length of time from the time the new policy change occurs to the time it is synchronized to the user's system is the length of the update process. Therefore, the frequency of policy data updates in the existing method is low, and the timeliness of policy data updates is low. Summary of the invention

[0004] The embodiments of the present application provide a policy data updating method, a server of a resource service cloud in a target cloud platform, a server of a research and development environment in a target cloud platform, a computer device, and a computer-readable storage medium, which can update policy data while improving the timeliness of policy data updating.

[0005] In a first aspect, an embodiment of the present application provides a policy data updating method, which is applied to a server of a resource service cloud in a target cloud platform, and the method includes:

[0006] Obtaining a target resource package sent by a server in a research and development environment in the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, wherein the policy change data is data obtained by converting target metadata entities related to policy changes in the target website according to a preset conversion rule;

[0007] Through the preset timely update strategy, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package, and the update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold.

[0008] Optionally, updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting a timely update strategy includes:

[0009] By means of a scheduled task scheduling method, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package, wherein the frequency of execution of the scheduled task of the scheduled task scheduling method reaches a preset frequency threshold;

[0010] and / or

[0011] Obtaining a first update request from a first client of a first private cloud and / or a public cloud;

[0012] If it is determined based on the first update request that the first client has the first update permission, updating the current policy data of the current resource package corresponding to the first client in the target cloud platform to the policy change data of the target resource package;

[0013] and / or

[0014] Obtain a second update request sent by the target client;

[0015] If it is determined based on the second update request that the target client has the second update authority, the target resource package will be sent to the target client. After obtaining the target resource package of the target client, the second client of the second private cloud will update the current policy data of the current resource package corresponding to the second client to the policy change data of the target resource package.

[0016] Optionally, the target resource package is a resource package obtained after the server in the R&D environment of the target cloud platform encrypts the script file using a preset encryption tool, and the resource package includes a preset decryption tool corresponding to the preset encryption tool;

[0017] The updating of the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package includes:

[0018] Decrypting the target resource package by using the preset decryption tool to obtain the script file;

[0019] The script file is executed to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package.

[0020] Optionally, updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting a timely update strategy includes:

[0021] If the target resource package is in the published state and / or the latest valid state, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package through the preset timely update strategy. The published state is used to characterize that the integrity of the policy change data of the target resource package reaches the preset integrity threshold, and the latest valid state is used to characterize that the validity period of the target resource package is newer than the validity period of the current resource package.

[0022] In a second aspect, an embodiment of the present application provides another policy data updating method, which is applied to a server in a research and development environment in a target cloud platform, and the method includes:

[0023] Through the scheduled task scheduling method, the target metadata entities related to policy changes in the target website are captured;

[0024] According to a preset conversion rule, the target metadata entity is converted to obtain policy change data;

[0025] Constructing a script file based on the policy change data, and generating a target resource package corresponding to the script file;

[0026] The target resource package is sent to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

[0027] Optionally, converting the target metadata entity according to a preset conversion rule to obtain policy change data includes:

[0028] The target metadata entity is input into a pre-trained large-scale language model, and the large-scale language model performs content feature analysis on the target metadata entity and transforms it according to the preset transformation rules to obtain the policy change data.

[0029] Optionally, the method of crawling target metadata entities related to policy changes in the target website by using a scheduled task scheduling method includes:

[0030] Through the scheduled task scheduling method, the initial metadata entities related to policy changes in the target website are captured;

[0031] The initial metadata entity is preprocessed to obtain the target metadata entity.

[0032] Optionally, generating a target resource package corresponding to the script file includes:

[0033] The script file is encrypted by a preset encryption tool to generate a target resource package corresponding to the script file, wherein the target resource package includes a preset decryption tool corresponding to the preset encryption tool.

[0034] In a third aspect, an embodiment of the present application provides a server of a resource service cloud in a target cloud platform, including:

[0035] An obtaining unit, used for obtaining a target resource package sent by a server in a research and development environment in the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, wherein the policy change data is data obtained by converting a target metadata entity related to a policy change in a target website according to a preset conversion rule;

[0036] The updating unit is used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the policy data corresponding to the preset timely update strategy reaches a preset update frequency threshold.

[0037] In a fourth aspect, an embodiment of the present application provides a server in a research and development environment in a target cloud platform, including:

[0038] A crawling unit, used for crawling target metadata entities related to policy changes in a target website through a timed task scheduling method;

[0039] A conversion unit, used to convert the target metadata entity according to a preset conversion rule to obtain policy change data;

[0040] A generating unit, configured to construct a script file based on the policy change data, and generate a target resource package corresponding to the script file;

[0041] A sending unit is used to send the target resource package to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

[0042] In a fifth aspect, an embodiment of the present application provides a computer device, including:

[0043] CPU, memory, input and output interfaces, wired or wireless network interfaces, and power supply;

[0044] The memory is a short-term storage memory or a persistent storage memory;

[0045] The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the policy data updating method of the first aspect or the second aspect.

[0046] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions. When the instructions are executed on a computer, the computer executes the policy data updating method of the first aspect or the second aspect mentioned above.

[0047] In a seventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the computer program product is run on a computer, enables the computer to execute the policy data updating method of the first aspect or the second aspect described above.

[0048] It can be seen from the above technical scheme that the embodiments of the present application have the following advantages: the target resource package sent by the server of the R&D environment in the target cloud platform can be obtained, and the current policy data of the current resource package of the target cloud platform can be updated to the policy change data of the target resource package through a preset timely update method. The update frequency of the preset timely update method reaches the preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system. Therefore, the frequency of policy data update is higher and the timeliness of policy data update is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of the architecture of a policy data updating system disclosed in an embodiment of the present application;

[0050] Figure 2 A flowchart of a policy data updating method disclosed in an embodiment of the present application;

[0051] Figure 3 A flowchart of another policy data updating method disclosed in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of a process of uploading tax policies to the cloud disclosed in an embodiment of the present application;

[0053] Figure 5 A logic call sequence diagram for updating policy data disclosed in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of the entire process from a research and development environment to a customer environment of a resource package disclosed in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of a server of a resource service cloud in a target cloud platform disclosed in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of the structure of a server in a research and development environment in a target cloud platform disclosed in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the structure of a computer device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0058] An embodiment of the present application provides a policy data update method, a server of a resource service cloud in a target cloud platform, a server of a research and development environment in a target cloud platform, and a computer-readable storage medium, for updating policy data while improving the timeliness of policy data updates.

[0059] See also Figure 1 , an architecture of the policy data updating system in the embodiment of the present application includes:

[0060] The server 101 of the resource service cloud in the target cloud platform, the server 102 of the R&D environment in the target cloud platform, the first client 103 of the first private cloud and / or public cloud in the target cloud platform, and the second client 104 of the second private cloud in the target cloud platform. When updating policy data, the server 101 of the resource service cloud in the target cloud platform can be connected to the server 102 of the R&D environment in the target cloud platform, and the server 101 of the resource service cloud in the target cloud platform can be connected to the first client 103 of the public cloud in the target cloud platform and the second client 104 of the private cloud in the target cloud platform. The server 101 of the resource service cloud in the target cloud platform can obtain the target resource package sent by the server 102 of the R&D environment in the target cloud platform, and can update the current policy data of the current resource package of the first client 103 and the second client 104 in the target cloud platform to the policy change data of the target resource package, and the update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold.

[0061] based on Figure 1 See the policy data update system shown in Figure 2 , Figure 2 This is a flow chart of a policy data updating method disclosed in an embodiment of the present application, which is applied to a server of a resource service cloud in a target cloud platform. The method includes:

[0062] 201. Obtain a target resource package sent by a server in a research and development environment in a target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data. The policy change data is data obtained by converting target metadata entities related to policy changes in a target website according to preset conversion rules.

[0063] In this embodiment, when policy data is updated, a target resource package sent by a server in the R&D environment of the target cloud platform can be obtained. The target resource package includes a script file. The script file includes policy change data. The policy change data is data obtained after converting the target metadata entity related to the policy change in the target website according to preset conversion rules.

[0064] Specifically, the target website can be a tax policy website or other reasonable website that can obtain new policy data, which is not limited here. The target metadata entity can include but is not limited to the "Tax Reduction and Exemption Policy Code Catalog" published on the official website of the General Administration, the tax return form template revised according to the announcement, and the annual tax declaration deadline notice and personal income tax reduction and exemption policy data issued by the General Administration Office.

[0065] 202. By using a preset timely update strategy, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package, and the update frequency of the policy data corresponding to the preset timely update strategy reaches a preset update frequency threshold.

[0066] After obtaining the target resource package sent by the server of the R&D environment in the target cloud platform, the current policy data of the current resource package of the client in the target cloud platform can be updated to the policy change data of the target resource package through the preset timely update strategy. The update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold.

[0067] It should be understood that the preset update frequency threshold is greater than or equal to the update frequency corresponding to the regular patch release mode.

[0068] It is worth mentioning that the update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold, which can ensure that the policy data can be reflected to the cloud platform and the client as soon as possible when changes occur, rather than waiting until the release time to update, thereby improving the timeliness of policy data updates.

[0069] In an embodiment of the present application, a target resource package sent by a server in a research and development environment in a target cloud platform can be obtained, and through a preset timely update method, the current policy data of the current resource package of a client in the target cloud platform can be updated to the policy change data of the target resource package. The update frequency of the preset timely update method reaches a preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system. Therefore, the frequency of policy data updates is higher, and the timeliness of policy data updates is higher.

[0070] based on Figure 1 See the policy data update system shown in Figure 3 , Figure 3This is a flow chart of another policy data updating method disclosed in an embodiment of the present application, which is applied to a server in a R&D environment in a target cloud platform. The method includes:

[0071] 301. Through the scheduled task scheduling method, the target metadata entities related to the policy changes in the target website are captured.

[0072] In this embodiment, when updating policy data, a timed task scheduling method can be used to capture target metadata entities related to policy changes in the target website.

[0073] Specifically, the target metadata entity may include, but is not limited to, the "Tax Reduction and Exemption Policy Code Catalog" published on the General Administration's official website, the tax return form template revised according to the announcement, and the annual tax return deadline notice and personal income tax reduction and exemption policy data issued by the General Administration's General Office. Secondly, the scheduled task scheduling method can be a related cron expression (expression formulation rule) for the automatic execution configuration of the scheduled task, and scan and execute the patch script on the resource cloud regularly (such as daily) according to the specified rules. For example, according to the rules of scanning and executing the patch script on the resource cloud at 9 am every day, the update can be tracked in real time. Updates to the policy and regulations library of the State Administration of Taxation can be adapted to the latest regulations in a timely manner, thereby achieving the purpose of automatic updates.

[0074] It is worth mentioning that by using the scheduled task scheduling method, the target metadata entities related to policy changes in the target website can be captured, which can improve the timeliness of capturing the target metadata entities, thereby further improving the timeliness of policy data updates.

[0075] 302. According to preset transformation rules, the target metadata entity is transformed to obtain policy change data.

[0076] Through the scheduled task scheduling method, after crawling the target metadata entity related to the policy change in the target website, the target metadata entity can be transformed according to the preset transformation rules to obtain the policy change data.

[0077] Specifically, the captured data can be processed according to pre-set rules (conversion rules), and converted into a standard format that can be understood and used by the script to form policy change data. For example, the tax exemption code and tax calendar can be converted into corresponding list documents, and the revised form and filling instructions can be converted into the declaration form template style, and the cell formula can be adjusted.

[0078] 303. Construct a script file based on the policy change data, and generate a target resource package corresponding to the script file.

[0079] According to the preset transformation rules, the target metadata entity is transformed to obtain the policy change data. Then, a script file can be constructed based on the policy change data, and a target resource package corresponding to the script file can be generated.

[0080] Specifically, the script file is used to guide how to make the required changes on the server (R&D environment) of the target cloud platform, such as software upgrades, configuration modifications, etc. Secondly, the corresponding target resource package is created based on the generated script. This resource package contains all the necessary updates and is ready to be deployed to the production environment.

[0081] 304. Send the target resource package to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

[0082] After building a script file based on the policy change data and generating a target resource package corresponding to the script file, the target resource package can be sent to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud can update the current policy data of the current resource package of the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches the preset update frequency threshold.

[0083] Specifically, the resource package can be pushed to the resource service cloud servers of the target cloud platform to ensure that these servers can apply these changes in a timely manner.

[0084] It should be understood that the preset update frequency threshold is greater than or equal to the update frequency corresponding to the regular patch release mode.

[0085] It is worth mentioning that the update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold, which can ensure that the policy data can be reflected to the cloud platform and the client as soon as possible when changes occur, rather than waiting until the release time to update, thereby improving the timeliness of policy data updates.

[0086] In this embodiment, the target metadata entity related to the policy change in the target website can be captured through the timed task scheduling method, and the target metadata entity can be transformed according to the preset transformation rules to obtain the policy change data, and the script file can be constructed based on the policy change data, and the target resource package corresponding to the script file can be generated, and the target resource package can be sent to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud can update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through the preset timely update strategy, and the update frequency of the preset timely update method reaches the preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system, so the frequency of policy data update is high, and the timeliness of policy data update is high.

[0087] In the embodiment of the present application, the server of the resource service cloud in the target cloud platform can update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting a timely update strategy. There are multiple methods based on Figure 2 The policy data updating method shown is described below.

[0088] In this embodiment, the server of the resource service cloud in the target cloud platform can obtain the target resource package sent by the server of the R&D environment in the target cloud platform when updating policy data. The target resource package includes a script file, and the script file includes policy change data. The policy change data is data obtained after converting the target metadata entities related to the policy changes in the target website according to preset conversion rules.

[0089] Specifically, an embodiment of the present application may be to update policy data by uploading policies to the cloud. The target website may be a tax policy website, or other reasonable website that can obtain new policy data, which is not limited here. The target metadata entity may include, but is not limited to, the "Tax Reduction and Exemption Policy Code Catalog" published on the official website of the General Administration, the tax return form template revised according to the announcement, and the annual tax declaration deadline notice issued by the General Administration's General Office, personal income tax reduction and exemption policy and other data.

[0090] Among them, the target metadata entity related to the policy change in the target website can be captured by the server of the R&D environment in the target cloud platform through the scheduled task scheduling method. Specifically, the server of the R&D environment in the target cloud platform can first capture the initial metadata entity related to the policy change in the target website through the scheduled task scheduling method, and then pre-process the initial metadata entity to obtain the target metadata entity. The pre-processing method may include but is not limited to data cleaning, standardization and other processing. More specifically, the scheduled task scheduling method can be a cron expression (expression formulation rule) related to the scheduled task automatic execution configuration, and scan and execute the patch script on the resource cloud regularly (such as by day, etc.) according to the specified rules. For example, according to the rule of scanning and executing the patch script on the resource cloud at 9 am every day, the update content of the policy and regulations library of the State Administration of Taxation can be tracked in real time, and the latest regulations can be adapted in time, so as to achieve the purpose of automatic update.

[0091] It is understandable that in addition to the method described above in which the server in the R&D environment of the target cloud platform obtains the target metadata entity related to the policy change in the target website, the server in the R&D environment of the target cloud platform may also obtain the target metadata entity related to the policy change in the target website through event triggering, API subscription, etc., or other reasonable methods, which are not limited here.

[0092] Among them, for transforming the target metadata entity according to the preset transformation rules to obtain policy change data, the server in the R&D environment of the target cloud platform can input the target metadata entity into a pre-trained large-scale language model, and the large-scale language model can perform content feature analysis on the target metadata entity and transform it according to the preset transformation rules to obtain the policy change data.

[0093] Specifically, the GPT platform (large-scale language model) can be used to translate the data to be processed (target metadata entity) into policy and regulation KSQL (policy change data). For example, the exemption code and tax calendar can be converted into corresponding list documents, or the revised form and filling instructions can be converted into a declaration form template style, and the cell formula can be adjusted.

[0094] For example, the personal income tax exemption policy on the tax bureau’s official website (target website) has dynamically updated content, such as the exemption conditions for specific tax items. The server in the R&D environment of the target cloud platform can first execute a scheduled task of regularly accessing the website at 9 am every day to extract specific information about personal income tax exemptions, such as whether two new tax items meet the conditions and the specific exemption rules for the two tax items. Then, a large-scale language model, such as pre-trained models such as GPT, BERT, and T5, is used to perform content feature analysis on the captured target metadata entity (such as a detailed description of the two taxes). The content feature analysis may include but is not limited to keyword extraction, semantic understanding, etc. Keyword extraction refers to identifying key terms in the text, such as the name of the tax item, exemption conditions, tax rate, etc. Semantic understanding refers to understanding the relationship between words and contextual meanings, such as which tax items meet the exemption standards. Content feature analysis is used to understand and extract the core information of the target metadata. Then, the captured metadata entity can be transformed according to the preset transformation rules, such as converting and parsing a new calculation formula (involving a new tax rate or exemption amount, etc.). The new personal income tax calculation formula is used as policy change data to update the algorithm in the software to ensure that the client users can accurately calculate taxes based on the latest policies.

[0095] It is worth mentioning that using large-scale language models to analyze the content features of target metadata entities and transform them according to preset transformation rules to obtain policy change data is an intelligent way. Through natural language processing technology, real-time acquisition and processing of policy changes can improve the adaptability and practicality of tax software (tax products).

[0096] It is understandable that in addition to the method described above of transforming the target metadata entity according to preset transformation rules to obtain policy change data, it is also possible to transform the policy change data in combination with manual review and annotation. It can also be other reasonable methods in which the server in the R&D environment of the target cloud platform transforms the target metadata entity according to preset transformation rules to obtain policy change data, which is not limited here.

[0097] The target resource package may be a resource package obtained by encrypting a script file using a preset encryption tool on a server in a research and development environment in a target cloud platform, and the resource package includes a preset decryption tool corresponding to the preset encryption tool.

[0098] Specifically, the export of list data and large text data can be achieved by using metadata entity objects as the granularity and encrypting and compressing the export package through the master data script. Among them, the export file type of non-large text field entities is SQL, and the entities containing large text fields are exported to XML, and other non-large text fields are also included in the XML.

[0099] It is worth mentioning that for entities with non-large text fields (such as SQL query statements), they can be exported as SQL files for database operations, while for entities containing large text fields, they can be exported to XML format, because XML supports complex data structures and can easily display and save large texts. Since non-large text fields are exported as SQL, they can be operated directly in the database environment without the need to store multiple script versions separately. Large text fields are exported in XML format, and the XML file structure is clear. The changed parts can be completed by adding new XML elements instead of modifying the entire script. In this way, a unified data structure is maintained, and there is no need to create a new version number or backup for each update, thereby simplifying version management and version control. This means that each time you only need to update the relevant XML elements, the database and XML files will reflect the latest changes, realizing the change tracking of the master data script content, rather than the traditional version upgrade. Therefore, this data format setting can achieve version-free master data scripts.

[0100] For a more convenient understanding of the embodiments of this application, please refer to Figure 4 , Figure 5 and Figure 6 .

[0101] Specifically, Figure 4 A schematic diagram of a process of uploading tax policies to the cloud disclosed in an embodiment of the present application, comprising Figure 4 It can be seen that the target cloud platform includes servers and clients. The servers of the target cloud platform include the intranet R&D environment (servers of the R&D environment in the target cloud platform) and the tax cloud resources of the resource cloud (servers of the resource service cloud in the target cloud platform). The clients of the target cloud platform include the first clients of the public cloud and the first private cloud (private cloud that can access the public network), and the second clients of the second private cloud (private cloud that can access the public network). After obtaining tax policy information in the intranet R&D environment (servers of the R&D environment in the target cloud platform) and performing tax policy operation and maintenance of the tax cloud to obtain resource packages, the tax cloud resources of the resource cloud (servers of the resource service cloud in the target cloud platform) can import the resource packages exported by the intranet R&D environment (servers of the R&D environment in the target cloud platform).

[0102] For details, please refer to Figure 5 , Figure 5 A logical call sequence diagram of a policy data update disclosed in an embodiment of the present application is shown in FIG. Figure 5It can be seen that the target cloud platform is the XX tax cloud platform, which includes the backbone research environment (the server of the research and development environment in the target cloud platform), the public cloud (the first client of the public cloud), the private cloud (the intranet, i.e. the second client of the second private cloud) and the resource service cloud (the server of the resource service cloud in the target cloud platform). For the maintenance policy data of scenario 1 and the policy data of scenario 2 on the cloud, users of the backbone research environment can log in to the system to maintain policy entity data, select entities, export data rows (for example, three entries have three data rows), and generate script files, and generate the decoupled and encrypted resource package (target resource package) corresponding to the script file. Then, the decoupled and encrypted resource package can be uploaded to the resource service cloud on demand. If the resource package meets the release conditions, the resource package is released so that the current policy data of the current resource package of the client can be updated to the policy change data of the target resource package in a timely manner. It is understandable that the latest policy data can be integrated into the tax platform through the policy cloud update (policy data on the cloud) channel. Specifically, for example, the deduction code for R&D expenses in the 2024 tax bureau's corporate income tax advance payment declaration form has been updated, and new exemptions have been added. In response to this change, corresponding information can be added to the exemption code list of the tax product to enable the declaration form to accurately call data and complete the declaration.

[0103] It is worth mentioning that with the help of policy cloud, newly added tax exemption entries can be converted into KSQL, data can be encrypted and exported, and uploaded to the resource cloud. With the help of the resource cloud, users can access data download deployment, so that tax returns can be made and policies can be enjoyed in a timely manner.

[0104] It is also worth mentioning that Figure 5 This is a complete logic call timing diagram, consisting of Figure 5 It can be clearly seen that the core processing execution process of the embodiment of the present application mainly includes two forms: initiating online updates and offline updates. By accessing the public network data of the resource cloud, the update package is obtained, and the call sequence of different update processes is executed.

[0105] For details, please refer to Figure 6 , Figure 6 A schematic diagram of the entire process of a resource package from a R&D environment to a customer environment disclosed in an embodiment of the present application, comprising Figure 6 It can be seen that tax policy operation and maintenance is carried out on the R&D end (R&D environment) of the tax cloud to obtain policy change data (including but not limited to tax policy information, including policy exemption lists, tax return form template tools, return form cell formulas, and tax declaration and payment deadlines, etc.), and these policy change data are compressed and encrypted. After the resource package is obtained and exported, the resource service cloud can introduce the resource package and save it for users to download and execute.

[0106] After obtaining the target resource package sent by the server of the R&D environment in the target cloud platform, the current policy data of the current resource package of the client in the target cloud platform can be updated to the policy change data of the target resource package through the preset timely update strategy. The update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold.

[0107] It should be understood that the preset update frequency threshold is greater than or equal to the update frequency corresponding to the regular patch release mode.

[0108] Among them, the method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting the timely update strategy may include but is not limited to the following three situations:

[0109] (1) Automatic update:

[0110] Among them, the automatic update method can be to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a scheduled task scheduling method, wherein the frequency of scheduled task execution of the scheduled task scheduling method reaches a preset frequency threshold.

[0111] Specifically, you can configure relevant cron expressions to scan and execute patch scripts on the resource cloud regularly (such as daily) according to specified rules, so as to achieve the purpose of automatic update.

[0112] It is worth mentioning that by setting a preset frequency for scheduled task execution, you can ensure that policy data is updated at set time intervals. If the task setting reaches the preset frequency threshold, high-frequency and timely updates can theoretically be achieved.

[0113] (2) Online update triggered by user:

[0114] Specifically, the online update method of user-triggered update can be to obtain a first update request of a first client of a first private cloud and / or public cloud, and if it is determined based on the first update request that the first client has the first update permission, then update the current policy data of the current resource package corresponding to the first client in the target cloud platform to the policy change data of the target resource package. The first client has the ability to access the public network.

[0115] It is worth mentioning that the online update method triggered by users is event-driven. If an update request is received from a client (such as a client of the first private cloud or public cloud) and it is verified that they have the corresponding permissions, the resource package of the corresponding client will be updated immediately, which improves the response speed.

[0116] (3) Offline update triggered by user:

[0117] Specifically, the online update method of the user-triggered update may be to obtain a second update request sent by the target client, and if it is determined based on the second update request that the target client has the second update authority, the target resource package is sent to the target client, and after the second client of the second private cloud obtains the target resource package of the target client, the current policy data of the current resource package corresponding to the second client is updated to the policy change data of the target resource package. The target client has the ability to access the public network, and the second client does not have the ability to access the public network.

[0118] It is worth mentioning that for specific target clients, update requests can be pushed directly, allowing the clients of the second private cloud to process and apply policy changes locally, which further increases the flexibility and immediacy of updates.

[0119] It is also worth mentioning that these three update methods emphasize the preset timely update frequency, that is, no matter which channel is used, we will strive to ensure that policy data can be reflected in the cloud platform and client as soon as possible when changes occur, so as to improve the timeliness of policy data updates.

[0120] Specifically, the method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting the timely update strategy can be continued to refer to Figure 4 , Figure 5 and Figure 6 ,Depend on Figure 4 It can be seen that the first client of the public cloud and / or the first private cloud can realize automatic updates and user-triggered updates, and the second client of the second private cloud can realize local updates. Specifically, the process of user-triggered updates of the first client is that the first client can select the "Cloud Update" button under the "Basic Settings" control of the tax cloud platform to update the tax policy information of the first client in the target cloud platform. The process of automatic updates is that the tax cloud resources of the resource cloud use the scheduled task scheduling method to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package, so as to automatically update the tax policy information of the first client in the target cloud platform; the process of local updates of the second client is that the target client first performs public network verification and downloads the update package (resource package). After the second client obtains the resource package of the target client (for example, through a mobile storage medium USB flash drive, etc.), the user of the second client can select the "Local Update" button under the "Basic Settings" control of the tax cloud platform, and the second client can execute the update of tax policy information in the non-public network private cloud environment. By Figure 5It can be seen that for the public cloud online update in scenario 3, after the public cloud sends a request to view the resource package list to the resource service cloud, the resource service cloud can determine whether the API authorization authentication is passed based on the viewing request. If passed, after the user of the first client of the public cloud clicks the "Online Update" button, the resource service cloud can confirm that the first client of the public cloud has the first update permission, and can update the current policy data of the current resource package corresponding to the first client in the target cloud platform to the policy change data of the target resource package. For the private cloud offline update in scenario 4, after the target client sends a login request to the public resource service cloud of the second client (private cloud) to the resource service cloud, the resource service cloud can determine whether the tenant application authentication is passed based on the login request. If passed, when the target client sends a download request for the resource package, the resource service cloud can determine that the target client has the second update permission and send the resource package to the target client. The target client can upload the resource package (resource file) to the private cloud, so that the private cloud executes the script asynchronously and generates an update log, thereby updating the current policy data of the current resource package corresponding to the second client of the private cloud to the policy change data of the target resource package. By Figure 6 It can be seen that the client can send a request to the resource service cloud through the "Basic Settings" control of the cloud platform. After passing the authorization authentication and / or obtaining the tenant application record, it can authorize access to the policy package (resource package) of the resource service cloud, download and update the policy package.

[0121] Among them, the target resource package is a resource package obtained after the server in the R&D environment of the target cloud platform encrypts the script file through a preset encryption tool, and the resource package includes a preset decryption tool corresponding to the preset encryption tool, and wherein, the method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package can be to first decrypt the target resource package through the preset decryption tool to obtain the script file, and then execute the script file to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package.

[0122] Specifically, the decryption algorithm includes but is not limited to AES+secret key, etc., which is not limited here. For example, compression and decompression processing can be performed through the open source compression and decompression tool of the cloud platform, which can be "CacheFactory.getCommonCacheFactory().getTempFileCache().saveAsUr l()getView().openUrl(sqlurl)", or other reasonable compression and decompression tools (methods) can be used for compression and decompression processing, which is not limited here.

[0123] It is worth mentioning that the embodiment of the present application can encrypt the resource package through AES+secret key and other methods on the server of the R&D environment in the target cloud platform, so that the downloaded policy file will not be leaked. When executed, it is decrypted according to the secret key and AES and other methods, and finally the data of the policy file is successfully executed, thereby ensuring the security of the data.

[0124] Among them, the method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy can be: if the target resource package is in a published state and / or a latest valid state, then the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package through a preset timely update strategy. The published state is used to characterize that the integrity of the policy change data of the target resource package reaches a preset integrity threshold, and the latest valid state is used to characterize that the validity period of the target resource package is newer than the validity period of the current resource package.

[0125] Specifically, for example, if the calculation formula for the new personal income tax (policy change data) of the target resource package corresponding to the new personal income tax exemption policy involves only three formulas instead of four formulas (for example, four formulas are complete), then it is determined that the integrity of the policy change data does not meet the preset integrity threshold, then the target resource is in an unpublished state; otherwise, it is in a published state.

[0126] It is worth mentioning that the target resource packages are data-decoupled from each other. As long as a target resource package is in the published state and / or the latest valid state, it can be updated in a timely manner, supporting independent iteration of content, reducing mutual dependence, and not being affected by other target resource packages.

[0127] It is also worth mentioning that the embodiment of the present application introduces validity period and release status to filter data access and control the content of access data. In this way, the system can determine when and whether to allow an update to a resource package based on the release status and validity period. If a resource package is in the "released state" and its validity period is better than the old version, then when the user performs a cloud update, only the newly released, complete version will be obtained and applied, avoiding possible conflicts caused by version updates. In other words, this provides a mechanism for dynamic management and selection of update content, so that data updates between different declaration templates will not interfere with each other, and efficient and orderly data access and processing are achieved.

[0128] It is understandable that after the client updates the policy, it can realize the timely enjoyment of the new policy, such as the output of tax return forms, the full enjoyment of tax benefits, and increased tax planning.

[0129] It is worth mentioning that, in order to facilitate the understanding of the embodiments of the present application, the embodiments of the present application are compared with the prior art below: For the prior art, the policy data can be updated through the release mode of regular patches or the release mode of emergency patches. Specifically, regular patches belong to the full update patch package of the application cloud, which not only includes the update of policy information, but also system functions and security repairs, etc., and regular patches have the control of the release time point, and the response time point cannot fully adapt to the user's declaration time point. For example, the tax declaration is basically before the 15th, and the patch release time is after it, which cannot meet the user's tax declaration data according to the latest policy at the time of taxation. In response to this demand, emergency patches, as an emergency mechanism, can be released when the user is in urgent need, specifically to solve temporary and specific problems, but it cannot change the overall content of the patch, but can only advance its release time to meet certain emergencies. However, the response to emergency releases at any time, without standardized process management, is prone to quality accidents and may bring additional risks, such as affecting the service stability of non-emergency scenarios. The core idea of ​​"decoupling policy data to the cloud" in the embodiment of the present application is to separate part of the policy document from the regular patch update process, which means that the update of policy data is no longer part of a one-time full update, but a separate, independently manageable process. This method improves the adaptability and efficiency of the system and ensures that the normal operation of the service is not excessively disturbed when facing special circumstances. Therefore, the embodiment of the present application achieves a more efficient, flexible and reliable policy data service through the decoupling of policy data, significantly improving the service quality and user experience.

[0130] In this embodiment, the target resource package sent by the server of the R&D environment in the target cloud platform can be obtained. Through the preset timely update method, the current policy data of the current resource package of the target cloud platform is updated to the policy change data of the target resource package. The update frequency of the preset timely update method reaches the preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system. Therefore, the frequency of policy data update is high and the timeliness of policy data update is high. Secondly, through the large-scale language model, the target metadata entity is analyzed for content characteristics and converted according to the preset conversion rules to obtain policy change data. This is an intelligent way. Through natural language processing technology, real-time acquisition and processing of policy changes can improve the adaptability and practicality of tax software (tax products). Next, for entities without large text fields (such as SQL query statements), they can be exported as SQL files for database operations. For entities containing large text fields, they can be exported to XML format. This data format setting can realize the master data script without versioning. Furthermore, with the help of policy cloud, the newly added tax exemption entry lines can be converted into KSQL, the data can be encrypted and exported, and uploaded to the resource cloud. With the help of the resource cloud, users can access the data download deployment, so that they can enjoy the policy in time when reporting taxes. Furthermore, by setting the preset execution frequency of scheduled tasks, it can ensure that the policy data is updated at the set time interval. If the task setting reaches the preset frequency threshold, it is theoretically possible to achieve high-frequency and timely automatic updates. Furthermore, the online update method triggered by users is event-driven. If an update request is received from a client (such as a client of the first private cloud or public cloud) and it is verified that they have the corresponding permissions, the resource package of the corresponding client will be updated immediately, which improves the response speed. Furthermore, for specific target clients, the update request can be pushed directly, allowing the client of the second private cloud to process and apply the policy changes locally (offline update), which further increases the flexibility and immediacy of the update. Furthermore, the server in the development environment of the target cloud platform can encrypt the resource package through methods such as AES+secret key, so that the downloaded policy file will not be leaked. When executed, it will be decrypted according to the secret key and AES methods, and finally the data of the policy file will be successfully executed, thereby ensuring the security of the data. Furthermore, the target resource package is data decoupled from the target resource package. As long as a target resource package is in the published state and / or the latest valid state, it can be updated in time, support independent content iteration, reduce mutual dependence, and is not affected by other target resource packages. That is, through the decoupling of policy data, a more efficient, flexible and reliable policy data service is achieved, which significantly improves the service quality and user experience. Furthermore, by introducing the validity period and release status, data access filtering is performed to control the content of access data, avoiding possible conflicts caused by version updates.Finally, by establishing a unified resource management platform for the tax cloud, it can support online updates, scheduled automatic updates, and offline manual updates. It can complete the automatic decryption, decompression and deployment of tax policy content, reduce the workload of tax data resource update deployment, improve the ease of use of tax product online implementation and daily maintenance, and ensure quality and quantity (that is, tax returns are realized before the statutory declaration period, and tax benefits should be fully enjoyed) to meet the ultimate requirements of customers.

[0131] The above describes the policy data updating method in the embodiment of the present application. The following describes the server of the resource service cloud in the target cloud platform in the embodiment of the present application. Figure 7 , an embodiment of a server of a resource service cloud in a target cloud platform in an embodiment of the present application includes:

[0132] The obtaining unit 701 is used to obtain a target resource package sent by a server in the R&D environment of the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, which is data obtained by converting a target metadata entity related to the policy change in the target website according to a preset conversion rule;

[0133] The updating unit 702 is used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the policy data corresponding to the preset timely update strategy reaches a preset update frequency threshold.

[0134] In an embodiment of the present application, a target resource package sent by a server in a research and development environment in a target cloud platform can be obtained, and through a preset timely update method, the current policy data of the current resource package of a client in the target cloud platform can be updated to the policy change data of the target resource package. The update frequency of the preset timely update method reaches a preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system. Therefore, the frequency of policy data updates is higher, and the timeliness of policy data updates is higher.

[0135] The server of the resource service cloud in the target cloud platform in the embodiment of the present application is described in detail below. Another embodiment of the server of the resource service cloud in the target cloud platform in the embodiment of the present application includes:

[0136] An obtaining unit, used for obtaining a target resource package sent by a server in a research and development environment in the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, wherein the policy change data is data obtained by converting a target metadata entity related to a policy change in a target website according to a preset conversion rule;

[0137] The updating unit is used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the policy data corresponding to the preset timely update strategy reaches a preset update frequency threshold.

[0138] The obtaining unit is specifically used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a scheduled task scheduling method, wherein the frequency of execution of the scheduled task of the scheduled task scheduling method reaches a preset frequency threshold;

[0139] and / or

[0140] Obtaining a first update request from a first client of a first private cloud and / or a public cloud;

[0141] If it is determined based on the first update request that the first client has the first update permission, updating the current policy data of the current resource package corresponding to the first client in the target cloud platform to the policy change data of the target resource package;

[0142] and / or

[0143] Obtain a second update request sent by the target client;

[0144] If it is determined based on the second update request that the target client has the second update authority, the target resource package will be sent to the target client. After obtaining the target resource package of the target client, the second client of the second private cloud will update the current policy data of the current resource package corresponding to the second client to the policy change data of the target resource package.

[0145] The update unit is specifically used to decrypt the target resource package through the preset decryption tool to obtain the script file, and execute the script file to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package. The target resource package is a resource package obtained after the server in the R&D environment of the target cloud platform encrypts the script file through a preset encryption tool, and the resource package includes a preset decryption tool corresponding to the preset encryption tool.

[0146] The update unit is specifically used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy if the target resource package is in a published state and / or a latest valid state. The published state is used to indicate that the integrity of the policy change data of the target resource package reaches a preset integrity threshold, and the latest valid state is used to indicate that the validity period of the target resource package is newer than the validity period of the current resource package.

[0147] In this embodiment, each unit in the server of the resource service cloud in the target cloud platform executes as described above. Figure 2 The operation of the server of the resource service cloud in the target cloud platform in the illustrated embodiment will not be described in detail here.

[0148] See also Figure 8 , an embodiment of a server in a development environment of a target cloud platform in an embodiment of the present application includes:

[0149] The capture unit 801 is used to capture target metadata entities related to policy changes in the target website through a timed task scheduling method;

[0150] A conversion unit 802, configured to convert the target metadata entity according to a preset conversion rule to obtain policy change data;

[0151] A generating unit 803 is used to construct a script file based on the policy change data, and generate a target resource package corresponding to the script file;

[0152] The sending unit 804 is used to send the target resource package to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

[0153] In the embodiment of the present application, the target metadata entity related to the policy change in the target website can be captured through the timed task scheduling method, and the target metadata entity can be transformed according to the preset transformation rules to obtain the policy change data, and the script file can be constructed based on the policy change data, and the target resource package corresponding to the script file can be generated, and the target resource package can be sent to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud can update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through the preset timely update strategy, and the update frequency of the preset timely update method reaches the preset update frequency threshold. When a new policy change occurs, it can be immediately synchronized to the user's system, so the frequency of policy data update is high, and the timeliness of policy data update is high.

[0154] The server of the R&D environment in the target cloud platform in the embodiment of the present application is described in detail below. Another embodiment of the server of the R&D environment in the target cloud platform in the embodiment of the present application includes:

[0155] A crawling unit, used for crawling target metadata entities related to policy changes in a target website through a timed task scheduling method;

[0156] A conversion unit, used to convert the target metadata entity according to a preset conversion rule to obtain policy change data;

[0157] A generating unit, configured to construct a script file based on the policy change data, and generate a target resource package corresponding to the script file;

[0158] A sending unit is used to send the target resource package to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

[0159] The conversion unit is specifically used to input the target metadata entity into a pre-trained large-scale language model, and the large-scale language model performs content feature analysis on the target metadata entity and converts the preset conversion rules to obtain the policy change data.

[0160] The capture unit is specifically used to capture the initial metadata entity related to the policy change in the target website through a timed task scheduling method, and pre-process the initial metadata entity to obtain the target metadata entity.

[0161] The generating unit is specifically configured to encrypt the script file using a preset encryption tool to generate a target resource package corresponding to the script file, wherein the target resource package includes a preset decryption tool corresponding to the preset encryption tool.

[0162] In this embodiment, each unit in the server of the R&D environment in the target cloud platform executes as described above. Figure 2 The operation of the server in the R&D environment in the target cloud platform in the illustrated embodiment will not be described in detail here.

[0163] See below Fig. 9 In the embodiment of the present application, an embodiment of the computer device 900 includes:

[0164] CPU 901, memory 905, input / output interface 904, wired or wireless network interface 903 and power supply 902;

[0165] The memory 905 is a temporary storage memory or a permanent storage memory;

[0166] The CPU 901 is configured to communicate with the memory 905 and execute the instructions in the memory 905 to perform the aforementioned Figure 2 or Figure 3 The method in the illustrated embodiment.

[0167] The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes instructions, when the instructions are executed on a computer, the computer executes the aforementioned Figure 2 or Figure 3 The method in the illustrated embodiment.

[0168] The present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the aforementioned Figure 2 or Figure 3 The method in the illustrated embodiment.

[0169] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0170] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0171] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0172] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0173] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0174] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A policy data updating method, characterized in that: Applied to a server of a resource service cloud in a target cloud platform, the method comprises: Obtaining a target resource package sent by a server in a research and development environment in the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, wherein the policy change data is data obtained by converting target metadata entities related to policy changes in the target website according to a preset conversion rule; Through the preset timely update strategy, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package, and the update frequency of the policy data corresponding to the preset timely update strategy reaches the preset update frequency threshold.

2. The method according to claim 1, characterized in that The method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting a timely update strategy includes: By means of a scheduled task scheduling method, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package, wherein the frequency of execution of the scheduled task of the scheduled task scheduling method reaches a preset frequency threshold; and / or Obtaining a first update request from a first client of a first private cloud and / or a public cloud; If it is determined based on the first update request that the first client has the first update permission, updating the current policy data of the current resource package corresponding to the first client in the target cloud platform to the policy change data of the target resource package; and / or Obtain a second update request sent by the target client; If it is determined based on the second update request that the target client has the second update authority, the target resource package will be sent to the target client. After obtaining the target resource package of the target client, the second client of the second private cloud will update the current policy data of the current resource package corresponding to the second client to the policy change data of the target resource package.

3. The method according to claim 1, characterized in that The target resource package is a resource package obtained after the server in the R&D environment of the target cloud platform encrypts the script file using a preset encryption tool, and the resource package includes a preset decryption tool corresponding to the preset encryption tool; The updating of the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package includes: Decrypting the target resource package by using the preset decryption tool to obtain the script file; The script file is executed to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package.

4. The method according to claim 1, characterized in that: The method of updating the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package by presetting a timely update strategy includes: If the target resource package is in the published state and / or the latest valid state, the current policy data of the current resource package of the client in the target cloud platform is updated to the policy change data of the target resource package through the preset timely update strategy. The published state is used to characterize that the integrity of the policy change data of the target resource package reaches the preset integrity threshold, and the latest valid state is used to characterize that the validity period of the target resource package is newer than the validity period of the current resource package.

5. A policy data updating method, characterized in that: The method is applied to a server in a research and development environment in a target cloud platform, and includes: Through the scheduled task scheduling method, the target metadata entities related to policy changes in the target website are captured; According to a preset conversion rule, the target metadata entity is converted to obtain policy change data; Constructing a script file based on the policy change data, and generating a target resource package corresponding to the script file; The target resource package is sent to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

6. The method according to claim 5, characterized in that The target metadata entity is transformed according to a preset transformation rule to obtain policy change data, including: The target metadata entity is input into a pre-trained large-scale language model, and the large-scale language model performs content feature analysis on the target metadata entity and transforms it according to the preset transformation rules to obtain the policy change data.

7. The method according to claim 5, characterized in that The method of crawling target metadata entities related to policy changes in the target website through the scheduled task scheduling method includes: Through the scheduled task scheduling method, the initial metadata entities related to policy changes in the target website are captured; The initial metadata entity is preprocessed to obtain the target metadata entity.

8. The method according to claim 5, characterized in that The generating a target resource package corresponding to the script file includes: The script file is encrypted by a preset encryption tool to generate a target resource package corresponding to the script file, wherein the target resource package includes a preset decryption tool corresponding to the preset encryption tool.

9. A server of a resource service cloud in a target cloud platform, characterized in that: include: An obtaining unit, used for obtaining a target resource package sent by a server in a research and development environment in the target cloud platform, wherein the target resource package includes a script file, and the script file includes policy change data, wherein the policy change data is data obtained by converting a target metadata entity related to a policy change in a target website according to a preset conversion rule; The updating unit is used to update the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the policy data corresponding to the preset timely update strategy reaches a preset update frequency threshold.

10. A server in a research and development environment in a target cloud platform, characterized in that: include: A crawling unit, used for crawling target metadata entities related to policy changes in a target website through a timed task scheduling method; A conversion unit, used to convert the target metadata entity according to a preset conversion rule to obtain policy change data; A generating unit, configured to construct a script file based on the policy change data, and generate a target resource package corresponding to the script file; A sending unit is used to send the target resource package to the server of the resource service cloud in the target cloud platform, so that the server of the resource service cloud updates the current policy data of the current resource package of the client in the target cloud platform to the policy change data of the target resource package through a preset timely update strategy, and the update frequency of the preset timely update method reaches a preset update frequency threshold.

11. A computer device, characterized in that: include: CPU and memory; The memory is a short-term storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Resource packet encryption method, resource packet decryption method and devices

    CN106657009A

  • Mountain torrent disaster database construction and updating method based on web crawlers and semantic recognition

    CN110377680A

  • Resource updating method and device and computer readable storage medium

    CN110830822A

  • Resource bundle updating method and device, storage medium and electronic equipment

    CN114741097A

  • Content delivery network static resource deployment method, device, equipment and medium

    CN115955510A