Standby auditing strategy configuration method and device, electronic equipment and storage medium

By configuring a backup audit strategy in the audit system, the audit process interruption caused by the absence of auditors or resource restrictions during holidays and other periods is solved, ensuring the smooth progress of the release process.

CN119762012APending Publication Date: 2025-04-04BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411908019.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

During special periods such as holidays, the auditors of key audit nodes may not be in their posts, or the new version depends on resources to restrict access, resulting in the audit process being unable to be successfully executed, affecting the smooth progress of the entire release process.

Method used

Provides an alternative audit policy configuration method, including displaying the alternative audit policy configuration page, determining applicable scenario identification conditions and first audit links, and building an alternative audit policy based on these conditions and links for use when a conventional audit policy is blocked.

Benefits of technology

Through the backup audit strategy, we can ensure that the target matters can be successfully implemented while the regular audit strategy is blocked, and avoid interruptions in release processes during special periods such as holidays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762012A_ABST
    Figure CN119762012A_ABST
Patent Text Reader

Abstract

The invention relates to a standby auditing strategy configuration method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to a standby auditing strategy configuration instruction, and displaying a standby auditing strategy configuration page; the standby auditing strategy configuration page comprises standby auditing strategy configuration items; in response to a configuration operation on the standby auditing strategy configuration item, determining an applicable scene recognition condition and a first auditing link; constructing a standby auditing strategy based on the applicable scene recognition condition and the first auditing link; wherein the standby auditing strategy is used under the condition that the target item needs to be audited but the conventional auditing strategy corresponding to the target item is blocked. The essence of the method is that under the condition that a target item has a conventional auditing strategy, a standby auditing strategy is set for the target item. Therefore, when the auditing link in the conventional auditing strategy is blocked, the first auditing link in the standby auditing strategy can be used for auditing, so that the target project can be executed smoothly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of audit technology, and in particular to a backup audit policy configuration method, device, electronic device and storage medium. Background Art

[0002] In the modern software development process, releasing a new version is a key activity, which involves deploying the developed features or fixes to the production environment. Before releasing a new version, an audit (also known as "approval") is usually required. However, in actual operations, it is often the case that the planned release time falls on holidays. During holidays, the auditors corresponding to the key audit nodes may not be at their posts, or the resources that the new version relies on may have restricted access, etc., resulting in the inability to smoothly execute the audit process, which in turn affects the smooth progress of the entire release process. Summary of the invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a backup audit policy configuration method, device, electronic device and storage medium.

[0004] In a first aspect, the present disclosure provides a backup audit policy configuration method, comprising:

[0005] In response to the backup audit policy configuration instruction, displaying a backup audit policy configuration page; the backup audit policy configuration page includes backup audit policy configuration items;

[0006] In response to a configuration operation on the standby audit policy configuration item, determining an applicable scenario identification condition and a first audit link;

[0007] Building a backup audit strategy based on the applicable scenario identification condition and the first audit link;

[0008] The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

[0009] In a second aspect, the present disclosure further provides an audit method, comprising:

[0010] In response to an execution operation on a target item, and when a conventional audit policy corresponding to the target item is blocked, determining current scenario information;

[0011] Determine whether the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy;

[0012] If the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy, the backup review strategy application option is displayed;

[0013] In response to a triggering operation on the backup audit policy application option, the target matter is audited according to a first audit link in the backup audit policy.

[0014] In a third aspect, the present disclosure further provides a backup audit policy configuration device, including:

[0015] A first display module, configured to display a backup audit policy configuration page in response to a backup audit policy configuration instruction; the backup audit policy configuration page includes backup audit policy configuration items;

[0016] A first determination module, configured to determine an applicable scenario identification condition and a first audit link in response to a configuration operation on the backup audit policy configuration item;

[0017] A construction module, configured to construct a backup audit strategy based on the applicable scenario identification condition and the first audit link;

[0018] The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

[0019] In a fourth aspect, the present disclosure further provides an audit device, including:

[0020] A second determination module, for determining current scenario information in response to an execution operation on a target item and when a conventional audit policy corresponding to the target item is blocked;

[0021] A judgment module, used to judge whether the current scene information hits the applicable scene identification condition of the preset backup review strategy;

[0022] The second display module is used to display the backup review strategy application options if the current scenario information hits the applicable scenario identification conditions of the preset backup review strategy;

[0023] The sending module is used to respond to the triggering operation of the backup audit policy application option and audit the target matter according to the first audit link in the backup audit policy.

[0024] In a fifth aspect, the present disclosure further provides an electronic device, the electronic device comprising:

[0025] one or more processors;

[0026] A storage device for storing one or more programs;

[0027] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.

[0028] In a sixth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the method described above when executed by a processor.

[0029] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0030] The technical solution provided by the embodiment of the present disclosure displays an alternate audit policy configuration page by setting a response to an alternate audit policy configuration instruction; the alternate audit policy configuration page includes an alternate audit policy configuration item; in response to the configuration operation of the alternate audit policy configuration item, the applicable scenario identification condition and the first audit link are determined; based on the applicable scenario identification condition and the first audit link, an alternate audit policy is constructed; wherein the alternate audit policy is used when the target item needs to be audited, but the conventional audit policy corresponding to the target item is blocked. Its essence is to set an alternate audit policy for the target item when it has a conventional audit policy. In this way, when the audit link in the conventional audit policy is blocked, the first audit link in the alternate audit policy can be used for audit, so that the target project can be executed smoothly. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0033] Figure 1 A flowchart of a backup audit policy configuration method provided by an embodiment of the present disclosure;

[0034] Figure 2-Figure 7 A schematic diagram of different sub-pages under a backup audit policy configuration page provided in an embodiment of the present disclosure;

[0035] Flowchart of alternate audit policy configuration methods;

[0036] Figure 8 A flowchart of an audit method provided by an embodiment of the present disclosure;

[0037] Figure 9-11 A schematic diagram of a display interface of an electronic device during the execution of an audit method provided by an embodiment of the present disclosure;

[0038] Fig.12A schematic diagram of a structure of a backup audit strategy configuration in an embodiment of the present disclosure;

[0039] Fig.13 is a schematic diagram of the structure of an audit device in an embodiment of the present disclosure;

[0040] Fig.14 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0042] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0043] Figure 1 A flowchart of a backup audit policy configuration method provided in an embodiment of the present disclosure. This embodiment is applicable to the case where backup audit policy configuration is performed in a client. The method can be executed by a backup audit policy configuration device. The device can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a terminal, specifically including but not limited to smart phones, PDAs, tablet computers, wearable devices with display screens, desktop computers, laptop computers, all-in-one machines, smart home devices, etc. Alternatively, this embodiment can be applicable to the case where backup audit policy configuration is performed in a server. The method can be executed by a backup audit policy configuration device. The device can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a server.

[0044] like Figure 1 As shown, the method may specifically include:

[0045] S110. In response to the backup audit policy configuration instruction, display a backup audit policy configuration page; the backup audit policy configuration page includes backup audit policy configuration items.

[0046] Target items can be, for example, items that need to be reviewed before execution. Target items refer to different things in different scenarios. For example, in a software development scenario, a target item can be releasing a new version of an application, merging code into a master branch, or deploying to a production environment.

[0047] The audit strategy can be, for example, information indicating which audit link to follow when auditing the target item. The audit link includes one or more audit nodes and the audit order of each audit node. Each audit node represents a specific audit link. These audit nodes can be manual audits performed by people (i.e. auditors) or automated audits performed automatically by the system. During the audit process, the audit nodes are audited in sequence according to a predetermined logical order.

[0048] In practice, the target item has a corresponding conventional audit strategy. The purpose of the configuration method of the backup audit strategy provided in the present application is to configure the corresponding backup audit strategy for the target item. The conventional audit strategy can be understood as the preferred audit strategy when auditing the target item. The backup audit strategy is the audit strategy that will be used only when the conventional audit strategy is blocked. The conventional audit strategy is blocked, which means that the entire audit process specified by the conventional audit strategy cannot be completed within the preset time length. In other words, within the preset time length, at least one of the audit nodes included in the conventional audit strategy cannot complete the audit task on time. There are many reasons for the obstruction of the conventional audit strategy, such as the personnel who undertake the audit work corresponding to a certain audit node are not at their posts; the authority of the personnel who undertake the audit work corresponding to a certain audit node changes, resulting in the change that they do not have the audit authority and cannot complete the audit work of the audit node; the execution of the target item depends on the access to a specific resource, but the specific resource is currently restricted from access, resulting in the audit result of a certain audit node being not passed; the conventional audit strategy is limited to a specific time period, rather than the current time to execute the target item, etc.

[0049] It should also be noted that, in practice, multiple target items can correspond to the same backup audit strategy. That is, multiple target items are allowed to be audited using the same backup audit strategy before execution and when their respective regular audit strategies are blocked. In addition, one target item can correspond to multiple backup audit strategies. In this case, optionally, before the target item is executed and when their respective regular audit strategies are blocked, it is necessary to audit it using multiple backup audit strategies corresponding to it. Subsequently, it can be optionally set that the target item is allowed to be executed only when all the corresponding multiple backup audit strategies have been audited and passed.

[0050] The backup audit policy may include, for example, an applicable scenario identification condition and a first audit link. The applicable scenario of the backup audit policy may, for example, refer to a specific scenario in which the backup audit policy can be used. The applicable scenario identification condition may, for example, be a judgment condition for determining whether a certain scenario is an applicable scenario for the backup audit policy. In practice, the applicable scenario identification condition may, for example, be related to the reasons that cause the conventional audit policy to be blocked, the characteristics of the target matter, the initiator of the target matter, and the time period during which the target matter is initiated.

[0051] It should be noted that, when the backup audit strategy includes applicable scenario identification conditions, the correspondence between the target item and the backup audit strategy can be determined based on whether the scenario information at the execution time of the target item meets the applicable scenario identification conditions.

[0052] The backup audit policy configuration instruction may be, for example, an instruction indicating that a backup audit policy needs to be configured currently. The backup audit policy configuration page may be, for example, a page for configuring a backup audit policy. The backup audit policy configuration item may be, for example, an option for configuring a backup audit policy. Specifically, the backup audit policy configuration item is used to configure applicable scenario identification conditions and / or the first audit link.

[0053] S120. In response to the configuration operation of the backup audit policy configuration item, determine the applicable scenario identification condition and the first audit link.

[0054] In practice, the backup audit policy configuration items may be displayed in the form of radio buttons, check boxes, drop-down menus, text input boxes, time selectors, etc. The configuration operations for the audit policy configuration items may include, for example, a selection operation on a radio button as a backup audit policy configuration item, a selection operation on a check box, a selection operation on an option provided by a drop-down menu, a text filling operation on a text input box, and a time selection operation on a time selector.

[0055] S130: Construct a backup audit strategy based on the applicable scenario identification conditions and the first audit link.

[0056] The essence of constructing a backup audit strategy is to establish an association between the applicable scenario identification conditions and the first audit link, so that when it is identified that a certain target item is blocked by the corresponding conventional audit policy, when it is detected that the applicable scenario identification conditions of the preset backup audit strategy are met, it can trigger the audit of the target item in the order of the audit nodes of the first audit link included in the backup audit strategy.

[0057] In practice, if the backup audit policy needs to configure more content, the backup audit policy configuration page can be set to include multiple sub-pages, so that the backup audit policy configuration items are dispersed in the multiple sub-pages to complete the configuration of the backup audit policy.

[0058] For example, Figure 2 and Figure 3 These are sub-pages of the alternate audit policy configuration page. Figure 2 It is mainly used to configure the applicable scene recognition conditions. For details, see Figure 2, which can configure the applicable scenario identification conditions from multiple angles such as management and control platform and behavior, management and control resources, management and control subjects, and management and control time. Configuring the applicable scenario identification conditions from the perspective of management and control platform and behavior, for example, may include configuring which platform is used to initiate which kind of matters. Configuring the applicable scenario identification conditions from the perspective of management and control resources, for example, may include which resources are accessed when the configuration matters are executed. Configuring the applicable scenario identification conditions from the perspective of management and control subjects, for example, may include which personnel initiate the configuration matters. Configuring the applicable scenario identification conditions from the perspective of management and control time, for example, may include which time period the configuration matters are initiated. In Figure 3 In the process, you can configure the approval process (i.e., the first review link). Specifically, there are three options in the approval process configuration area, namely "Custom approval process", "Standard approval process", and "No approval required". If the user selects "Custom approval process", it means that the user can use the configuration items in the "Edit approval flow" area below it to configure the various review nodes in the first review link. If the user selects "Standard approval process", the preset review link will be directly used as the first review link. If the user selects "No approval required", the first approval link will not include any review nodes. It should be noted that Figure 3 The corresponding scenario is that the review node is completely manually reviewed by people. Therefore, in the "Edit Approval Flow" area, the configuration of the review node is the configuration of the reviewer. Figure 3 In the configuration page of the backup review strategy, the configuration items of "When the applicant appears as an approver, is it allowed to approve?" and "When the escape application takes effect, is it necessary to notify the designated person?" and "Escape effect" are also included to further improve the backup review strategy.

[0059] Optionally, the audit link in the conventional audit strategy and the first audit link in the backup audit strategy are not completely the same, which can be specifically manifested in different audit nodes (such as audit content, audit personnel, and arrangement order of audit nodes).

[0060] In the above technical solution, in response to the backup audit policy configuration instruction, the backup audit policy configuration page is displayed; the backup audit policy configuration page includes the backup audit policy configuration items; in response to the configuration operation of the backup audit policy configuration items, the applicable scenario identification conditions and the first audit link are determined; based on the applicable scenario identification conditions and the first audit link, the backup audit policy is constructed; wherein, the backup audit policy is used when the target item needs to be audited, but the conventional audit policy corresponding to the target item is blocked. Its essence is to set a backup audit policy for the target item when it has a conventional audit policy. In this way, when the audit link in the conventional audit policy is blocked, the first audit link in the backup audit policy can be used for auditing, so that the target project can be executed smoothly.

[0061] Based on the above technical solution, optionally, the backup audit policy configuration page includes a backup audit policy switch option, and the method may also include: in response to a trigger operation on the backup audit policy switch option, adjusting the state of the backup audit policy switch option; the backup audit policy takes effect when the state of the backup audit policy switch option is in the on state.

[0062] The standby audit policy switch option may be, for example, a switch for controlling whether the standby audit policy is effective. Exemplarily, the state of the standby audit policy switch option may include an on state and a off state. When the state of the standby audit policy switch option is on, the standby audit policy is effective. When the state of the standby audit policy switch option is off, the standby audit policy is invalid.

[0063] For example, Figure 3 The alternate audit policy configuration page in includes two options: "Allow escape" and "No escape". These two options constitute a set of mutually exclusive options, and the user can only select one of them. These two options together constitute the alternate audit policy switch option. If the user selects the "Allow escape" option, it means that the user adjusts the state of the alternate audit policy switch option to the on state. If the user selects the "No escape" option, it means that the user adjusts the state of the alternate audit policy switch option to the off state.

[0064] By setting the backup audit policy configuration page to include a backup audit policy switch option, the user is allowed to determine whether to control whether the backup audit policy is effective according to the needs, thereby meeting the user's diverse usage needs.

[0065] Based on the above-mentioned technical solutions, optionally, the backup audit policy configuration item includes a whitelist audit policy configuration option; the method may also include: determining a second audit link in response to a configuration operation on the whitelist audit policy configuration option; and constructing a whitelist audit policy based on applicable scenario identification conditions and the second audit link.

[0066] The whitelist audit strategy can be, for example, a new audit strategy that has the same applicable scenario identification conditions as the alternative audit strategy, but has different audit links. Different audit links can include, for example, the following situations: the second audit link includes a certain audit node, while the first audit link does not include the audit node; the second audit link does not include a certain audit node, while the first audit link includes the audit node; the arrangement order of the same audit nodes in the first audit link and the second audit link is different; and the auditors of the same audit nodes in the first audit link and the second audit link are different.

[0067] For example, Figure 4A schematic diagram of another sub-page of a backup audit policy configuration page provided in an embodiment of the present disclosure. Figure 2 , Figure 3 as well as Figure 4 Pages in . Figure 4 The page in is specifically used to configure the second audit link in the whitelist audit policy. The second audit link is configured through Figure 4 This is reflected in the “Approval Process” section. Figure 4 The Approval Process section in Figure 3 The "Approval Process" section is the same as in the previous section and will not be repeated here. Figure 4 You can also further improve the whitelist review strategy through "escape effect" and "whether it is consistent with the escape configuration (XX items)".

[0068] By building a whitelist audit strategy based on applicable scenario identification conditions and a second audit link, its purpose is to allow further configuration of new audit strategies (i.e., whitelist audit strategies) for target items to meet the usage requirements of richer and different scenarios.

[0069] Since the audit link includes multiple audit nodes arranged in sequence, each audit node can be regarded as an audit level. Based on this, it can be set that when the backup audit policy configuration page is displayed for the first time, the backup audit policy configuration page includes candidate nodes of all levels at the same time. It can also be set that when the backup audit policy configuration page is displayed for the first time, the backup audit policy configuration page only includes candidate nodes of the first level, and then further increases and displays candidate nodes of other levels step by step according to user operations.

[0070] Furthermore, if it is set that when the backup audit policy configuration page is displayed for the first time, the backup audit policy configuration page only includes the first-level candidate nodes, and then according to the user operation, the candidate nodes of other levels are further displayed step by step. Optionally, in response to the configuration operation of the backup audit policy configuration item, the first audit link is determined, and the method may include: displaying the Nth-level candidate node and the N+1th-level candidate node addition option in the backup audit policy configuration page; N is a positive integer; in response to the trigger operation of adding the N+1th-level candidate node option, displaying the N+1th-level candidate node in the backup audit policy configuration page; in response to the selection operation of the Nth-level candidate node and the selection operation of the N+1th-level candidate node, the selected Nth-level candidate node is used as the Nth-level audit node in the first audit link, and the selected N+1th-level candidate node is used as the N+1th-level audit node in the first audit link. This setting allows users to more easily understand the sequence of each audit node in the audit process.

[0071] The option to add the N+1th level candidate node may be, for example, an option for triggering the display of the N+1th level candidate node in the backup audit policy configuration page.

[0072] For example, see Figure 5 In the alternate audit policy configuration page, the first-level candidate nodes and the second-level candidate node addition options are displayed (i.e. Figure 5 When the user clicks on the second-level candidate node to add an option, see Figure 6 , the first-level candidate nodes, second-level candidate nodes, and third-level candidate node addition options will be displayed on the backup audit policy configuration page (i.e. Figure 6 ). Figure 5 and Figure 6 In the , "Resource Manager Approval", "Applicant's +1 Superior Approval" and "Designated Personnel Approval" are all candidate nodes. Figure 6 , if the user selects "approval by designated personnel" in the first-level candidate node, an input box will be displayed. Figure 6 The input box is located below the "Designated Personnel Approval" option. Users can enter the auditor's name in the input box. The auditor referred to by the auditor's name entered later will serve as the auditor of the first-level audit node in the first audit chain. If the user selects "Resource Manager Approval" in the second-level candidate node, the subsequent resource manager will serve as the auditor of the second-level audit node in the first audit chain.

[0073] Further, in the backup audit policy configuration page, the display area of ​​the N+1th level candidate node and the display area of ​​the Nth level candidate node are arranged horizontally. Figure 3 In the middle, horizontally, from left to right, there are the display areas of the first-level candidate nodes, the display areas of the second-level candidate nodes, and the display areas of the third-level candidate nodes. The purpose of this setting is to reasonably arrange the display areas of candidate nodes of different levels horizontally to avoid lengthening the vertical size of the page, so that users can more quickly understand the order of each review node in the review process.

[0074] When determining the second audit link, a method similar to that of determining the first audit link may be used, and the same method of displaying candidate nodes at different levels may be used. This application does not impose any limitation on this.

[0075] Based on the above-mentioned technical solutions, optionally, the backup audit policy configuration item includes a description information input box, which is used to collect description information for the backup audit policy; the method may also include: determining target information in response to an information input operation on the description information input box; optimizing the target information to obtain recommended information; and displaying the recommended information in a preset area of ​​the backup audit policy configuration page.

[0076] The description information of the standby audit policy may be, for example, the name, label, function description, audit link description, configuration background, etc. of the standby audit policy. Different standby audit policies may be distinguished by the description information of the standby audit policy.

[0077] The target information may be, for example, information input by a user for describing a backup audit policy.

[0078] Optimizing the target information may include, for example, correcting the syntax of the target information, supplementing and improving the target information. In practice, optimizing the target information may be implemented using a large language model. Recommended information may be, for example, the result of optimizing the target information. Optimizing the target information may enable the user to more quickly input the description information of the backup audit policy and improve the quality of the description information of the backup audit policy.

[0079] The preset area can be, for example, an area pre-designated in the backup audit policy configuration page. The present application does not limit the specific location of the preset area in the backup audit policy configuration page. Exemplarily, the preset area is located below the description information input box; or; the preset area is the description information input box. This setting allows the user to quickly find the recommended information corresponding to the target information, and then decide whether to use the recommended information instead of the target information to describe the backup audit policy.

[0080] For example, Figure 7 Another subpage of the alternate audit policy configuration page is used to configure the description information. Figure 7 In the description information, the specific information refers to the policy name and policy background of the backup audit policy. When the user enters the target information in the input box corresponding to the policy name of the backup audit policy, "Smart Recommended Policy Name: XXXXXXXX" will be displayed below it. "XXXXXXXX" is the recommended information. The corresponding "Apply" option is displayed near the recommended information. If the user clicks the "Apply" option, the recommended information will be displayed in the input box corresponding to the policy name of the audit policy. The configuration of the policy background of the backup audit policy is similar to that of the policy name, which will not be repeated here. Furthermore, in Figure 7 You can also configure other information about the backup audit policy, such as policy administrator, policy group, and specific policy effective period.

[0081] Figure 8 This is a flowchart of an audit method provided by an embodiment of the present disclosure. This embodiment is applicable to the case where an audit is performed in a client. The method can be executed by an audit device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a terminal, specifically including but not limited to a smart phone, a PDA, a tablet computer, a wearable device with a display screen, a desktop computer, a laptop computer, an all-in-one machine, a smart home device, etc. Alternatively, this embodiment is applicable to the case where an audit is performed in a server. The method can be executed by an audit device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a server.

[0082] like Figure 8 As shown, the method may specifically include:

[0083] S210. In response to an execution operation on a target item, and when a conventional audit policy corresponding to the target item is blocked, determine current scenario information.

[0084] The current scenario information may be, for example, information describing the current scenario. Specifically, the current scenario information may include, for example, the reasons why the conventional audit policy associated with the target item is blocked, the characteristics of the target item (such as the content of the target item, the platform and behavior involved in the target item, the resources that the execution of the target item depends on, etc.), the initiator of the target item, the time period for initiating the target item, etc.

[0085] S220: Determine whether the current scenario information matches the applicable scenario identification condition of the preset backup audit strategy.

[0086] The essence of this step is to determine which alternative audit strategies correspond to the target item at the current moment.

[0087] S230. If the current scenario information matches the applicable scenario identification condition of the preset backup audit strategy, an option to apply for the backup audit strategy is displayed.

[0088] If there is an alternative audit strategy corresponding to the target matter, the option to apply for the alternative audit strategy is displayed.

[0089] S240: In response to the triggering operation of the backup audit policy application option, the target matter is audited according to the first audit link in the backup audit policy.

[0090] For example, if the target event is to release a new version of the application. Fig. 9On the new version release page of the application, relevant information about the new version of the application (such as version number, description of updated content relative to the old version, etc.) and release options are displayed. If the user clicks the release option, the click operation can be regarded as an execution operation for the target item to determine whether the regular review policy of the target item is blocked. If the regular review policy limits the release of new versions of the application only on weekdays, and the current day is a holiday, the regular review policy of the target item is blocked, and the current scenario information is determined.

[0091] If the current scenario information matches the applicable scenario identification condition of the preset backup audit strategy 1, it is determined that the target item has a corresponding relationship with the backup audit strategy 1. Fig.10 , showing the prompt message that the regular audit policy is blocked, and the option to apply for an alternative audit policy (i.e. Fig.10 If the user clicks the "Apply for Escape" option, the target item will be reviewed according to the first review link in the backup review strategy.

[0092] In the above technical solution, by setting a response to the execution operation for the target item, and when the conventional audit strategy corresponding to the target item is blocked, the current scenario information is determined; it is judged whether the current scenario information hits the applicable scenario identification condition of the preset backup audit strategy; if the current scenario information hits the applicable scenario identification condition of the preset backup audit strategy, the backup audit strategy application option is displayed; in response to the triggering operation of the backup audit strategy application option, the target item is audited according to the first audit link in the backup audit strategy. Its essence is to set a backup audit strategy for the target item when it has a conventional audit strategy. In this way, when the audit link in the conventional audit strategy is blocked, the first audit link in the backup audit strategy can be used for auditing, so that the target project can be executed smoothly.

[0093] On the basis of the above technical solution, optionally, S240 can be replaced by: in response to the trigger operation of the backup audit policy application option, displaying the hit result display page, the hit result display page includes the hit backup audit policy identification information and the audit start option; in response to the trigger operation of the audit start option, auditing the target item according to the first audit link in the backup audit policy. For example, see Fig.10 , if the user clicks the "Apply for Escape" option, see Fig.11 , display the hit alternate audit policy identification information in the hit result display page. The alternate audit policy identification information may be, for example, information used to distinguish one alternate audit policy from other alternate audit policies. Exemplarily, the alternate audit policy identification information may include the name of the alternate audit policy, the configuration personnel, etc.

[0094] Furthermore, the hit result display page can also be set to collect the reasons for applying for the use of the alternative review strategy to facilitate subsequent data aggregation and analysis. The text input box can be used to collect the reasons for applying for the use of the alternative review strategy (such as Fig.11 You can also collect the reasons for applying for the alternate audit strategy by using the given options (such as Fig.11 "Escape Tags" section).

[0095] On the basis of the above-mentioned technical solutions, optionally, the hit result display page also includes a whitelist adding option corresponding to the hit backup audit policy. If the user triggers the whitelist adding option corresponding to a hit backup audit policy, the target item will be added to the whitelist. If the preset operation is performed again for the target item in the future, and the conventional audit policy corresponding to the target item is blocked, the current scene information will be determined; it will be determined whether the current scene information hits the applicable scene identification conditions of the preset whitelist audit policy; if the current scene information hits the applicable scene identification conditions of the preset whitelist audit policy, the target item will be audited according to the second audit link in the whitelist audit policy. By making differentiated settings for the audit links in the backup audit policy and the whitelist audit policy, the audit of the target item can be made more flexible, the audit efficiency can be improved, and the needs of various application scenarios can be supported.

[0096] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0097] Fig.12 The schematic diagram of the structure of a backup audit policy configuration in the embodiment of the present disclosure is shown in FIG. The backup audit policy configuration device provided in the embodiment of the present disclosure can be configured in the client or in the server. Fig.12 , the backup audit policy configuration device specifically includes:

[0098] The first display module 310 is used to display a backup audit policy configuration page in response to a backup audit policy configuration instruction; the backup audit policy configuration page includes backup audit policy configuration items;

[0099] A first determination module 320, configured to determine an applicable scenario identification condition and a first audit link in response to a configuration operation on the backup audit policy configuration item;

[0100] A construction module 330, configured to construct a backup audit strategy based on the applicable scenario identification condition and the first audit link;

[0101] The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

[0102] Furthermore, the backup audit policy configuration page includes a backup audit policy switch option, and the device also includes a state adjustment module for adjusting the state of the backup audit policy switch option in response to a trigger operation on the backup audit policy switch option; the backup audit policy takes effect when the state of the backup audit policy switch option is in an on state.

[0103] Furthermore, the backup audit policy configuration item includes a whitelist audit policy configuration option; the device also includes a whitelist audit policy configuration module, which is used to:

[0104] In response to a configuration operation on the whitelist audit policy configuration option, determining a second audit link;

[0105] Based on the applicable scenario identification condition and the second audit link, a whitelist audit strategy is constructed.

[0106] Furthermore, the first determining module is used to:

[0107] In the backup audit policy configuration page, the Nth level candidate node and the N+1th level candidate node addition option are displayed; N is a positive integer;

[0108] In response to a triggering operation of adding an option to the N+1th level candidate node, displaying the N+1th level candidate node in the backup audit policy configuration page;

[0109] In response to the selection operation of the Nth level candidate node and the selection operation of the N+1th level candidate node, the selected Nth level candidate node is used as the Nth level audit node in the first audit chain, and the selected N+1th level candidate node is used as the N+1th level audit node in the first audit chain.

[0110] Further, in the backup audit policy configuration page, the display area of ​​the N+1th level candidate nodes and the display area of ​​the Nth level candidate nodes are arranged horizontally.

[0111] Furthermore, the backup audit policy configuration item includes a description information input box, and the description information input box is used to collect description information for the backup audit policy; the device also includes a description information configuration module, which is used to:

[0112] In response to an information input operation on the description information input box, determining target information;

[0113] Optimizing the target information to obtain recommended information;

[0114] The recommendation information is displayed in a preset area of ​​the backup audit policy configuration page.

[0115] Further, the preset area is located below the description information input box; or;

[0116] The preset area is the description information input box.

[0117] The backup audit policy configuration device provided in the embodiment of the present disclosure can execute the steps executed by the client or server in the backup audit policy configuration method provided in the embodiment of the method of the present disclosure, and has execution steps and beneficial effects, which will not be repeated here.

[0118] Fig.13 Schematic diagram of the structure of an audit device in the embodiment of the present disclosure. The audit device provided in the embodiment of the present disclosure can be configured in the client, or can be configured in the server. Fig.13 , the audit device specifically includes:

[0119] A second determination module 410 is used to determine current scenario information in response to an execution operation on a target item and when a conventional audit strategy corresponding to the target item is blocked;

[0120] The judgment module 420 is used to judge whether the current scene information matches the applicable scene identification condition of the preset backup audit strategy;

[0121] The second display module 430 is used to display the backup audit policy application option if the current scenario information matches the applicable scenario identification condition of the preset backup audit policy;

[0122] The sending module 440 is used to respond to the triggering operation of the backup audit policy application option and audit the target matter according to the first audit link in the backup audit policy.

[0123] The audit device provided in the embodiment of the present disclosure can execute the steps executed by the client or server in the audit method provided in the embodiment of the method of the present disclosure, and has execution steps and beneficial effects, which will not be repeated here.

[0124] Fig.14 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Fig.14, which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure. The electronic device 1000 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Fig.14 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.

[0125] like Fig.14 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003 to implement the backup audit policy configuration method or audit method of the embodiment described in the present disclosure. In the RAM 1003, various programs and information required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0126] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange information. Although Fig.14 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0127] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart 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 non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the backup audit policy configuration method or audit method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 1009, or installed from the storage device 1008, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0128] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. 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, device or device. In the present disclosure, a computer-readable signal medium may include an information signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated information signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0129] In some embodiments, the client and the server may communicate using any known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital information communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any known or future developed network.

[0130] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0131] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0132] In response to the backup audit policy configuration instruction, displaying a backup audit policy configuration page; the backup audit policy configuration page includes backup audit policy configuration items;

[0133] In response to a configuration operation on the standby audit policy configuration item, determining an applicable scenario identification condition and a first audit link;

[0134] Building a backup audit strategy based on the applicable scenario identification condition and the first audit link;

[0135] The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

[0136] or;

[0137] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0138] In response to an execution operation on a target item, and when a conventional audit policy corresponding to the target item is blocked, determining current scenario information;

[0139] Determine whether the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy;

[0140] If the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy, the backup review strategy application option is displayed;

[0141] In response to a triggering operation on the backup audit policy application option, the target matter is audited according to a first audit link in the backup audit policy.

[0142] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0143] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, human-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / 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.

[0145] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0146] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0147] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0148] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:

[0149] one or more processors;

[0150] A memory for storing one or more programs;

[0151] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the backup audit policy configuration methods or audit methods provided in the present disclosure.

[0152] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the backup audit policy configuration methods or audit methods provided by the present disclosure.

[0153] The embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the backup audit policy configuration method or audit method as described above is implemented.

[0154] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0155] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for configuring a backup audit policy, characterized in that: include: In response to the backup audit policy configuration instruction, displaying a backup audit policy configuration page; the backup audit policy configuration page includes backup audit policy configuration items; In response to a configuration operation on the standby audit policy configuration item, determining an applicable scenario identification condition and a first audit link; Building a backup audit strategy based on the applicable scenario identification condition and the first audit link; The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

2. The method according to claim 1, characterized in that The alternate audit policy configuration page includes an alternate audit policy switch option, and also includes: In response to a triggering operation on the backup audit policy switch option, the state of the backup audit policy switch option is adjusted; the backup audit policy takes effect when the state of the backup audit policy switch option is in an on state.

3. The method according to claim 2, characterized in that The backup audit policy configuration item includes a whitelist audit policy configuration option; the method further includes: In response to a configuration operation on the whitelist audit policy configuration option, determining a second audit link; Based on the applicable scenario identification condition and the second audit link, a whitelist audit strategy is constructed.

4. The method according to claim 1, characterized in that: The step of determining a first audit link in response to a configuration operation on the standby audit policy configuration item includes: In the backup audit policy configuration page, the Nth level candidate node and the N+1th level candidate node addition option are displayed; N is a positive integer; In response to a triggering operation of adding an option to the N+1th level candidate node, displaying the N+1th level candidate node in the backup audit policy configuration page; In response to the selection operation of the Nth level candidate node and the selection operation of the N+1th level candidate node, the selected Nth level candidate node is used as the Nth level audit node in the first audit chain, and the selected N+1th level candidate node is used as the N+1th level audit node in the first audit chain.

5. The method according to claim 4, characterized in that In the backup audit policy configuration page, the display area of ​​the N+1th level candidate nodes and the display area of ​​the Nth level candidate nodes are arranged horizontally.

6. The method according to claim 1, characterized in that The backup audit policy configuration item includes a description information input box, and the description information input box is used to collect description information for the backup audit policy; the method also includes: In response to an information input operation on the description information input box, determining target information; Optimizing the target information to obtain recommended information; The recommendation information is displayed in a preset area of ​​the backup audit policy configuration page.

7. The method according to claim 6, characterized in that The preset area is located below the description information input box; or; The preset area is the description information input box.

8. An audit method, characterized in that: include: In response to an execution operation on a target item, and when a conventional audit policy corresponding to the target item is blocked, determining current scenario information; Determine whether the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy; If the current scenario information matches the applicable scenario identification conditions of the preset backup review strategy, the backup review strategy application option is displayed; In response to a triggering operation on the backup audit policy application option, the target matter is audited according to a first audit link in the backup audit policy.

9. A backup audit strategy configuration device, characterized in that: include: A first display module, configured to display a backup audit policy configuration page in response to a backup audit policy configuration instruction; the backup audit policy configuration page includes backup audit policy configuration items; A first determination module, configured to determine an applicable scenario identification condition and a first audit link in response to a configuration operation on the backup audit policy configuration item; A construction module, configured to construct a backup audit strategy based on the applicable scenario identification condition and the first audit link; The backup audit strategy is used when a target item needs to be audited but the regular audit strategy corresponding to the target item is blocked.

10. An audit device, characterized in that: include: A second determination module, for determining current scenario information in response to an execution operation on a target item and when a conventional audit policy corresponding to the target item is blocked; A judgment module, used to judge whether the current scene information hits the applicable scene identification condition of the preset backup review strategy; The second display module is used to display the backup review strategy application options if the current scenario information hits the applicable scenario identification conditions of the preset backup review strategy; The sending module is used to respond to the triggering operation of the backup audit policy application option and audit the target matter according to the first audit link in the backup audit policy.

11. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.