Information processing method and device, computer equipment and readable storage medium
By obtaining and analyzing the many-to-many mapping relationship between scripts and reports, determining risk identification and conducting risk screening, the problem of inefficient detection efficiency caused by the large number of scripts is solved, and the efficiency of information processing is improved.
Patent Information
- Application Number
- CN202411432535.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-02-07
AI Technical Summary
When there are a large number of scripts and there are indirect and obscure relationships, the efficiency of directly detecting script errors one by one is low, which affects the processing efficiency.
By obtaining the identification of the problem script and its many-to-many mapping relationship with the report identifier, the matching one-to-many mapping relationship is extracted, the risk identification, including the risk script and risk report, and risk screening is carried out.
The relationship between scripts and reports is clarified, and the risk screening efficiency of generated reports and generated scripts is improved when there are problems with the script, and the overall efficiency of information processing is improved.
Smart Images

Figure CN119396612A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to an information processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the advent of the big data era, data processing and analysis have become important tasks in all walks of life. Scripting languages, with their powerful data processing capabilities, are widely used in data cleaning, processing, modeling, and visualization. By writing scripts, you can quickly process and analyze massive amounts of data, providing strong support for decision-making. However, once an error occurs in the script, it will affect the various functions implemented by the script. Therefore, in the case of a script error, developers need to repair it in a timely manner.
[0003] In traditional information processing methods, when an error is detected in a script, the script is usually repaired. However, when there are a large number of scripts, there are connections between scripts, and the existing connections are usually indirect and obscure. If the scripts are directly checked one by one, there is a problem of low efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide an information processing method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve processing efficiency in response to the above technical problems.
[0005] In a first aspect, the present application provides an information processing method, comprising:
[0006] Obtaining a problem script identifier of the problem script and a many-to-many mapping relationship between a report identifier and a script identifier; the script represented by the script identifier is used to generate a report represented by a report identifier that has a mapping relationship with the script identifier;
[0007] According to the problem script identifier, extracting a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0008] Based on the one-to-many mapping relationship matching the problem script identifier, determine a plurality of first risk identifiers mapped by the problem script identifier; the first risk identifier includes a risk script identifier and a risk report identifier;
[0009] Risk screening is performed on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
[0010] In one embodiment, the one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship; the one-to-many mapping relationship matching the problem script identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier according to the problem script identifier, including:
[0011] According to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0012] According to the mapping of the problem script identifier to the risk report identifier in the first mapping relationship, a second mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier.
[0013] In one embodiment, the determining a plurality of first risk identifiers mapped by the problem script identifier based on the one-to-many mapping relationship matched with the problem script identifier includes:
[0014] Determine the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script;
[0015] The multiple script identifiers mapped to the risk report identifier in the second mapping relationship are determined as risk script identifiers corresponding to the problem script.
[0016] In one embodiment, the process of establishing the many-to-many mapping relationship between the report identifier and the script identifier includes:
[0017] Acquire a plurality of reports, a report identifier of each of the reports, a plurality of scripts for generating the plurality of reports, and a script identifier of each of the scripts; each of the scripts is used to generate at least two of the reports;
[0018] For each of the reports, storing a script identifier corresponding to a script generating the report in a first table set established for the report;
[0019] For each of the scripts, searching in each of the first table sets based on the script identifier of the script to determine a plurality of target table sets containing the script;
[0020] storing the report identifier of the report to which the target table set belongs in the script set established for the script;
[0021] A many-to-many mapping relationship between report identifiers and script identifiers is determined; the many-to-many mapping relationship between the report identifiers and the script identifiers is represented by each of the first table sets and each of the script sets.
[0022] In one embodiment, performing risk screening on the risk report represented by the risk report identifier includes:
[0023] Acquire a many-to-many mapping relationship between a field identifier and the report identifier; the report represented by the report identifier includes the field represented by the field identifier that has a mapping relationship with the report identifier;
[0024] According to the risk report identifier, extracting a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0025] Based on the one-to-many mapping relationship matching the risk report identifier, determining a plurality of second risk identifiers mapped by the risk report identifier; the second risk identifier includes a risk report identifier and a risk field identifier;
[0026] Perform risk screening on the risk field represented by the risk field identifier.
[0027] In one embodiment, the one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship; the one-to-many mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier according to the risk report identifier, including:
[0028] According to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0029] According to the mapping of the risk report identifier to the risk field identifier in the third mapping relationship, a fourth mapping relationship matching the risk field identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier.
[0030] In one embodiment, the process of establishing the many-to-many mapping relationship between the field identifier and the report identifier includes:
[0031] Acquire a plurality of fields, field identifiers of the respective fields, a plurality of reports including the plurality of fields, and report identifiers of the respective reports; each of the reports including at least two of the respective fields;
[0032] For each of the fields, storing a report identifier corresponding to a report including the field in a field set established for the field;
[0033] For each of the reports, searching in each of the field sets based on the report identifier of the report to determine a plurality of target field sets containing the report;
[0034] storing the field identifiers of the fields to which the target field set belongs in a second table set established for the report;
[0035] Determine a many-to-many mapping relationship between field identifiers and report identifiers; the many-to-many mapping relationship between the field identifiers and the report identifiers is represented by each of the field sets and each of the second report sets.
[0036] In a second aspect, the present application further provides an information processing device, comprising:
[0037] A mapping relationship acquisition module, used to acquire a problem script identifier of a problem script, and a many-to-many mapping relationship between a report identifier and a script identifier; the script represented by the script identifier is used to generate a report represented by a report identifier that has a mapping relationship with the script identifier;
[0038] A relationship extraction module, used for extracting a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier according to the problem script identifier;
[0039] A risk identification determination module, configured to determine a plurality of first risk identifications mapped to the problem script identification based on the one-to-many mapping relationship matched with the problem script identification; the first risk identification includes a risk script identification and a risk report identification;
[0040] The risk screening module is used to perform risk screening on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
[0041] In one embodiment, the one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship. In the case of this embodiment, the relationship extraction module is specifically used to:
[0042] According to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0043] According to the mapping of the problem script identifier to the risk report identifier in the first mapping relationship, a second mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier.
[0044] In one embodiment, the risk identification determination module is specifically used to:
[0045] Determine the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script;
[0046] The multiple script identifiers mapped to the risk report identifier in the second mapping relationship are determined as risk script identifiers corresponding to the problem script.
[0047] In one embodiment, the device further includes a first relationship establishing module, specifically configured to:
[0048] Acquire a plurality of reports, a report identifier of each of the reports, a plurality of scripts for generating the plurality of reports, and a script identifier of each of the scripts; each of the scripts is used to generate at least two of the reports;
[0049] For each of the reports, storing a script identifier corresponding to a script generating the report in a first table set established for the report;
[0050] For each of the scripts, searching in each of the first table sets based on the script identifier of the script to determine a plurality of target table sets containing the script;
[0051] storing the report identifier of the report to which the target table set belongs in the script set established for the script;
[0052] A many-to-many mapping relationship between report identifiers and script identifiers is determined; the many-to-many mapping relationship between the report identifiers and the script identifiers is represented by each of the first table sets and each of the script sets.
[0053] In one embodiment, the risk screening module includes:
[0054] A mapping relationship acquisition unit, used to acquire a many-to-many mapping relationship between a field identifier and the report identifier; the report represented by the report identifier includes a field represented by the field identifier having a mapping relationship with the report identifier;
[0055] A mapping relationship extraction unit, configured to extract, according to the risk report identifier, a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0056] A risk identification determination unit, configured to determine a plurality of second risk identifications mapped to the risk report identification based on the one-to-many mapping relationship matching the risk report identification; the second risk identification includes a risk report identification and a risk field identification;
[0057] The risk screening unit is used to perform risk screening on the risk field represented by the risk field identifier.
[0058] In one embodiment, the one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship. In the case of this embodiment, the mapping relationship extraction unit is specifically used to:
[0059] According to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0060] According to the mapping of the risk report identifier to the risk field identifier in the third mapping relationship, a fourth mapping relationship matching the risk field identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier.
[0061] In one embodiment, the device further includes a second relationship establishing module, specifically configured to:
[0062] Acquire a plurality of fields, field identifiers of the respective fields, a plurality of reports including the plurality of fields, and report identifiers of the respective reports; each of the reports including at least two of the respective fields;
[0063] For each of the fields, storing a report identifier corresponding to a report including the field in a field set established for the field;
[0064] For each of the reports, searching in each of the field sets based on the report identifier of the report to determine a plurality of target field sets containing the report;
[0065] storing the field identifiers of the fields to which the target field set belongs in a second table set established for the report;
[0066] Determine a many-to-many mapping relationship between field identifiers and report identifiers; the many-to-many mapping relationship between the field identifiers and the report identifiers is represented by each of the field sets and each of the second report sets.
[0067] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.
[0068] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0069] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0070] The above-mentioned information processing method, apparatus, computer equipment, computer-readable storage medium and computer program product obtain the problem script identifier of the problem script, and the many-to-many mapping relationship between the report identifier and the script identifier, which can clarify the situation of the script with problems, and can also clarify the correspondence between the script and the report, understand which reports each script is used to generate, and in which scripts each report can be generated, wherein the script represented by the script identifier is used to generate the report represented by the report identifier that has a mapping relationship with the script identifier, and according to the problem script identifier, extract the one-to-many mapping relationship that matches the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier, so that the problem script corresponding to the problem script identifier can be determined Which reports can be generated? Based on the one-to-many mapping relationship that matches the problem script identifier, multiple first risk identifiers mapped to the problem script identifier are determined. Since there is a problem in the problem script, all reports generated by the problem script and the specific generation scripts of these reports will be listed as risk reports or risk scripts. Among them, the first risk identifier includes the risk script identifier and the risk report identifier. Finally, risk screening is performed on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier. The relationship between the script and the report can be clarified. When there is a problem with the script, the reports generated by the script and the specific generation scripts of these reports can be timely screened for risks, thereby improving information processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments of the present application or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1 A diagram of an application environment of an information processing method in an embodiment;
[0073] Figure 2 is a flowchart of an information processing method in an embodiment;
[0074] Figure 3 A schematic diagram of a process of extracting a mapping relationship in one embodiment;
[0075] Figure 4A schematic diagram of a process of determining a first risk identifier in an embodiment;
[0076] Figure 5 A schematic diagram of a process for establishing a mapping relationship in one embodiment;
[0077] Figure 6 A schematic diagram of a risk screening process in one embodiment;
[0078] Figure 7 is a flow chart of a mapping relationship extraction step in another embodiment;
[0079] Figure 8 A schematic flow chart of a step of establishing a mapping relationship in another embodiment;
[0080] Fig. 9 is a flowchart of an information processing method in another embodiment;
[0081] Fig.10 is a structural block diagram of an information processing device in one embodiment;
[0082] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should be noted that in the embodiments of the present application, certain software, groups, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0084] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.
[0085] The information processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the collection device 104 through the network. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The collection device 104 is used to obtain the problem script identifier of the problem script, and the many-to-many mapping relationship between the report identifier and the script identifier. The collection device 104 can be, for example, an information collection device. Specifically, during the information processing process, the terminal 102 obtains the problem script identifier of the problem script collected by the collection device 104, and the many-to-many mapping relationship between the report identifier and the script identifier; the script represented by the script identifier is used to generate a report represented by the report identifier that has a mapping relationship with the script identifier; according to the problem script identifier, a one-to-many mapping relationship matching the problem script identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier; based on the one-to-many mapping relationship matching the problem script identifier, multiple first risk identifiers mapped to the problem script identifier are determined; the first risk identifier includes a risk script identifier and a risk report identifier; and risk screening is performed on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
[0086] In an exemplary embodiment, Figure 2 As shown, an information processing method is provided, which is applied to Figure 1 The following is an example of a terminal in the example, including:
[0087] Step S202, obtaining the problem script identifier of the problem script and the many-to-many mapping relationship between the report identifier and the script identifier.
[0088] Among them, a script is a program or command set for automating a series of tasks or operations. It usually contains a series of instructions that are executed in sequence by an interpreter or compiler. Reports are an important data presentation and analysis tool that dynamically displays data in the form of tables, charts or other forms to help decision makers understand business conditions, make decisions, track progress and monitor results. In this embodiment, scripts can be used to generate various reports.
[0089] A problem script is a script with a problem, which means that an error has occurred in the script and needs to be repaired. The problem script identifier is the identification information corresponding to the problem script. It can be understood that the script identifier has a one-to-one correspondence with the script and can be used to characterize the script. Similarly, the report identifier also has a one-to-one correspondence with the report and can be used to characterize the report. The script represented by the script identifier is used to generate a report represented by the report identifier that has a mapping relationship with the script identifier.
[0090] A many-to-many mapping relationship represents a relationship between two entity sets, in which an element in any entity set can be associated with multiple elements in another entity set. This relationship is not directly established through a single attribute. Specifically in this embodiment, each report identifier can correspond to multiple script identifiers, and each script identifier can also correspond to multiple reports. The many-to-many mapping relationship can be represented, for example, by a line or in the form of a set.
[0091] Specifically, the terminal can obtain the problem script identifier of the problem script, and the many-to-many mapping relationship between the report identifier and the script identifier, clarify the situation of the script with the problem, and can also clearly understand the correspondence between the script and the report, understand which reports each script is used to generate, and in which scripts each report can be generated. It can be understood that the terminal can obtain the problem script identifier of the problem script, and the many-to-many mapping relationship between the report identifier and the script identifier in an active manner or a passive manner.
[0092] Step S204: according to the problem script identifier, extract a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier.
[0093] Among them, a one-to-many mapping relationship represents an association between two entity sets, in which each element in one entity set is associated with zero, one, or more elements in the other entity set.
[0094] Specifically, after obtaining the problem script identifier of the problem script and the many-to-many mapping relationship between the report identifier and the script identifier, since the many-to-many mapping relationship is relatively complicated and after determining the problem script, it is only necessary to analyze the mapping relationship of the problem script in a targeted manner. Therefore, according to the problem script identifier, the one-to-many mapping relationship that matches the problem script identifier can be extracted from the many-to-many mapping relationship between the report identifier and the script identifier, thereby determining the mapping situation of the problem script identifier.
[0095] In a specific embodiment, the many-to-many mapping relationship is represented by a line, and then according to the problem script identifier, the line relationship connected to the problem script identifier can be extracted from the above lines as a one-to-many mapping relationship that matches the problem script identifier. In another specific embodiment, the many-to-many mapping relationship is represented by a set, and according to the problem script identifier, a set named after the problem script identifier can be extracted, and the content of the set is the one-to-many mapping relationship that matches the problem script identifier.
[0096] Step S206: Determine multiple first risk identifiers mapped to the problem script identifier based on a one-to-many mapping relationship matching the problem script identifier.
[0097] The first risk identifier refers to an identifier corresponding to a script or report that may have risks. In this embodiment, the first risk identifier includes a risk script identifier and a risk report identifier.
[0098] Specifically, after obtaining a one-to-many mapping relationship that matches the problem script identifier, multiple first risk identifiers mapped to the problem script identifier can be determined based on the one-to-many mapping relationship, thereby determining which scripts or reports with potential risks exist when there is a problem with the script corresponding to the problem script identifier.
[0099] In a specific embodiment, based on a one-to-many mapping relationship matching the problem script identifier, multiple risk report identifiers mapped to the problem script identifier may be determined first, and then the risk script identifier corresponding to the risk report identifier may be determined based on the one-to-many mapping relationship of the risk report identifier. In another specific embodiment, the risk script identifier corresponding to the problem script identifier may also be directly determined based on the one-to-many mapping relationship matching the problem script identifier.
[0100] Step S208: Perform risk screening on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
[0101] The risk script refers to a script that may contain risks. In this embodiment, the risk script refers to a script that can generate a risk report. The risk report refers to a report that may contain risks. In this embodiment, the risk report refers to a report generated by the problem script.
[0102] Specifically, after determining the multiple risk script identifiers and risk report identifiers mapped to the problem script identifier, it is necessary to perform risk screening on the risk scripts represented by the risk script identifier and the risk report represented by the risk report identifier to check whether these risk scripts and risk reports also have problems. Exemplary risk screening can be performed by running the script, testing the function of the script, or testing the generated content of the report.
[0103] The above information processing method obtains the problem script identifier of the problem script, and the many-to-many mapping relationship between the report identifier and the script identifier, which can clarify the situation of the script with problems, and can also clarify the correspondence between the script and the report, understand which reports each script is used to generate, and in which scripts each report can be generated, wherein the script represented by the script identifier is used to generate the report represented by the report identifier that has a mapping relationship with the script identifier, and according to the problem script identifier, extract the one-to-many mapping relationship that matches the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier, so as to determine which reports the problem script corresponding to the problem script identifier can be used to generate, based on A one-to-many mapping relationship matching the problem script identifier is used to determine multiple first risk identifiers mapped to the problem script identifier. Since there is a problem in the problem script, all reports generated by the problem script and the specific generation scripts of these reports will be listed as risk reports or risk scripts, where the first risk identifier includes a risk script identifier and a risk report identifier. Finally, risk screening is performed on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier. The relationship between the script and the report can be clarified. When there is a problem with the script, the reports generated by the script and the specific generation scripts of these reports can be timely screened for risks, thereby improving information processing efficiency.
[0104] In an exemplary embodiment, the one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship. In the case of this embodiment, Figure 3 As shown, according to the problem script identifier, from the many-to-many mapping relationship between the report identifier and the script identifier, extracting a one-to-many mapping relationship matching the problem script identifier (step S204), including:
[0105] Step S302, according to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0106] Step S304: Map the risk report identifier according to the problem script identifier in the first mapping relationship, and extract a second mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the report identifier and the script identifier.
[0107] The first mapping relationship refers to a one-to-many mapping relationship that matches the problem script identifier, and the second mapping relationship refers to a second mapping relationship that matches the risk report identifier.
[0108] Specifically, taking the representation of a many-to-many mapping relationship in the form of a set as an example, the set corresponding to each script identifier includes the report identifier of the report that can be generated by the script, and the set corresponding to each report identifier includes the script identifier of the script that can generate the report. The terminal can extract one of the sets named with the problem script identifier from the above sets according to the problem script identifier, and the problem script identifier and the report identifier in the set form a first mapping relationship. After that, the terminal can map the report identifier in the set to a risk report identifier, and extract the set named with the risk report identifier from the above set according to the risk report identifier, wherein the risk report identifier and the script identifier in the set form a second mapping relationship.
[0109] In this embodiment, a first mapping relationship matching the problem script identifier is extracted from the many-to-many mapping relationship based on the problem script identifier, and then a second mapping relationship matching the risk report identifier is extracted based on the first mapping relationship. This can clarify the one-to-many mapping relationship matching the script identifier and the report identifier, and clearly reflect the association relationship between the script and the report.
[0110] In an exemplary embodiment, Figure 4 As shown, based on the one-to-many mapping relationship matching the problem script identifier, determining multiple first risk identifiers mapped to the problem script identifier (step S206) includes:
[0111] Step S402, determining multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script;
[0112] Step S404: determine the multiple script identifiers mapped to the risk report identifier in the second mapping relationship as risk script identifiers corresponding to the problem script.
[0113] Specifically, the first mapping relationship covers the mapping relationship of reports that can be generated by the problem script. When a problem occurs in the problem script, each report that can be generated by the script may have risks. Therefore, the multiple report identifiers mapped to the problem script identifier in the first mapping relationship can be determined as the risk report identifiers corresponding to the problem script. Similarly, when there is a risk in the report, the remaining scripts that can generate the report may also have risks. Therefore, the multiple script identifiers mapped to the risk report identifier in the second mapping relationship can be determined as the risk script identifiers corresponding to the problem script.
[0114] In this embodiment, the risk report identifier corresponding to the problem script is determined based on the first mapping relationship, and the risk script identifier corresponding to the problem script is determined based on the second mapping relationship. This can comprehensively cover all scripts or reports that may have risks, avoiding the problem of heavy workload caused by screening one by one.
[0115] In an exemplary embodiment, Figure 5 As shown, the process of establishing the many-to-many mapping relationship between the report identifier and the script identifier includes:
[0116] Step S502, obtaining a plurality of reports, a report identifier of each report, a plurality of scripts for generating the plurality of reports, and a script identifier of each script;
[0117] Step S504, for each report, storing the script identifier corresponding to the script generating the report in the first table set established for the report;
[0118] Step S506, for each script, searching in each first table set based on the script identifier of the script, to determine multiple target table sets containing the script;
[0119] Step S508: store the report identifiers of the reports to which the target table set belongs in the script set established for the script, and determine a many-to-many mapping relationship between the report identifiers and the script identifiers.
[0120] The first table set refers to a table set established for each report, and the first table set includes the script identifier corresponding to the script that generates the report. The target table set is the table set that serves as the final target. In each first table set, the table set that contains the script identifier to be found is the target table set. The many-to-many mapping relationship between the report identifier and the script identifier is represented by each first table set and each script set, and each script is used to generate at least two of each report.
[0121] Specifically, the terminal needs to pre-establish a many-to-many mapping relationship between a report identifier and a script identifier. First, the terminal needs to obtain multiple reports, the report identifier of each report, multiple scripts for generating multiple reports, and the script identifier of each script, so as to determine the situation of each script and each report. After that, for each report, a script that can generate the report is determined, and the script identifier of the script is stored in the first table set established for the report, so that the generation script situation of each report can be determined. Then, for each script, based on the script identifier of the script, it is searched in each first table set. If there are several first table sets that contain the script identifier, it is considered that the report corresponding to the above-mentioned first table set is a report that can be generated by the script. The above-mentioned first table set needs to be determined as a plurality of target table sets containing the script. At this time, it can be determined by which script each report is generated and what report each script can generate. That is, the report identifier of the report to which the target table set belongs can be stored in the script set established for the script to determine the many-to-many mapping relationship between the report identifier and the script identifier.
[0122] In this embodiment, by establishing sets for scripts and reports respectively, the report generation status corresponding to each script and the script generation status of each report can be determined, and then the many-to-many mapping relationship between the report identifier and the script identifier can be determined, which can ensure the accuracy of the many-to-many mapping relationship.
[0123] In an exemplary embodiment, Figure 6 As shown, risk screening is performed on the risk report represented by the risk report identifier, including:
[0124] Step S602, obtaining a many-to-many mapping relationship between field identifiers and report identifiers;
[0125] Step S604, according to the risk report identifier, extracting a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0126] Step S606, determining a plurality of second risk identifiers mapped to the risk report identifier based on a one-to-many mapping relationship matching the risk report identifier;
[0127] Step S608: Perform risk screening on the risk field represented by the risk field identifier.
[0128] Among them, in the report, the field is the basic element that constitutes the report data, which is used to represent specific information or data columns stored in a database, data table or data set. Fields usually correspond to columns in a database table and are used to store and retrieve specific types of data. The field identifier has a one-to-one correspondence with the field and can be used to characterize the field. The report represented by the report identifier includes the field represented by the field identifier that has a mapping relationship with the report identifier. The second risk identifier includes a risk report identifier and a risk field identifier. A risk field refers to a field that may have risks, and the risk field identifier is the identifier corresponding to the risk field.
[0129] Specifically, the report includes many fields. After determining the risk report that may have risks, in order to improve the efficiency of information processing, it is also possible to continue to determine the possible risk fields in the risk report, and directly perform risk screening on the risk fields without screening all the fields in the risk report. Therefore, it is possible to obtain a many-to-many mapping relationship between the field identifier and the report identifier, and according to the risk report identifier, extract a one-to-many mapping relationship that matches the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier, and determine multiple second risk identifiers mapped to the risk report identifier based on the one-to-many mapping relationship that matches the risk report identifier, and perform risk screening on the risk fields represented by the risk field identifier. It can be understood that the process of determining the risk fields in the risk report is similar to the process of determining the risk report in the problem script, and will not be repeated here.
[0130] In this embodiment, after determining the risk report that may have risks, in order to improve the information processing efficiency, it is also possible to continue to determine the possible risk fields in the risk report, and directly perform risk screening on the risk fields without screening all fields in the risk report, which can further improve the information processing efficiency.
[0131] In an exemplary embodiment, the one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship. In the case of this embodiment, Figure 7 As shown, according to the risk report identifier, from the many-to-many mapping relationship between the field identifier and the report identifier, extracting a one-to-many mapping relationship matching the risk report identifier (step S604), including:
[0132] Step S702, according to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0133] Step S704: Map the risk report identifier to the risk field identifier in the third mapping relationship, and extract a fourth mapping relationship matching the risk field identifier from the many-to-many mapping relationship between the field identifier and the report identifier.
[0134] The third mapping relationship refers to a one-to-many mapping relationship that matches the risk report identifier. The fourth mapping relationship refers to the second mapping relationship that matches the risk field identifier.
[0135] Specifically, taking the many-to-many mapping relationship represented in the form of a set as an example, the set corresponding to each report identifier includes the field identifiers of the fields included in the report, and the set corresponding to each field identifier includes the report identifier of the report including the field. The terminal can extract one of the sets named with the risk report identifier from the above sets according to the risk report identifier, and the risk report identifier and the field identifier in the set constitute a third mapping relationship. After that, the terminal can map the field identifier in the set to the risk field identifier, and extract the set named with the risk field identifier from the above set according to the risk field identifier, wherein the risk field identifier and the report identifier in the set constitute a fourth mapping relationship.
[0136] In this embodiment, a third mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship based on the risk report identifier, and then a fourth mapping relationship matching the risk field identifier is extracted based on the third mapping relationship. This can clarify the one-to-many mapping relationship matching the report identifier and the field identifier, and clearly reflect the association relationship between the report and the field.
[0137] In an exemplary embodiment, Figure 8As shown in the figure, the process of establishing the many-to-many mapping relationship between the field identifier and the report identifier includes:
[0138] Step S802, obtaining a plurality of fields, a field identifier of each field, a plurality of reports including the plurality of fields, and a report identifier of each report;
[0139] Step S804, for each field, storing the report identifier corresponding to the report including the field in the field set established for the field;
[0140] Step S806, for each report, searching in each field set based on the report identifier of the report, determining multiple target field sets containing the report, and storing the field identifiers of the fields belonging to the target field set in the second table set established for the report;
[0141] Step S808: determine a many-to-many mapping relationship between field identifiers and report identifiers.
[0142] Among them, the many-to-many mapping relationship between field identifiers and report identifiers is represented by each field set and each second report set. Each report includes at least two of each field. The second table set refers to a table set established for the report, including field identifiers of fields that can be generated by the report. The field set refers to a set established for each field, and the field set includes the report identifier corresponding to the report that generates the field. The target field set is the field set that serves as the ultimate target. In each field set, the field set that contains the report identifier to be found is the target field set. The many-to-many mapping relationship between field identifiers and report identifiers is represented by each field set and each second report set. Each report is used to generate at least two of each field.
[0143] Specifically, the terminal needs to pre-establish a many-to-many mapping relationship between field identifiers and report identifiers. First, the terminal needs to obtain multiple fields, field identifiers of each field, multiple reports including multiple fields, and report identifiers of each report, so as to determine the situation of each report and each field. After that, for each field, the report including the field is determined, and the report identifier of the report is stored in the field set established for the field, so that the report included in each field can be determined. Then, for each report, based on the report identifier of the report, it is searched in each field set. If there are several field sets that include the report identifier, it is considered that the field corresponding to the above field set is the field included in the report, and the above field set needs to be determined as multiple target field sets including the report. At this time, it can be determined which report each field is generated by and what fields each report contains. That is, the field identifier of the field to which the target field set belongs can be stored in the second table set established for the report to determine the many-to-many mapping relationship between the field identifier and the report identifier.
[0144] In this embodiment, by establishing sets for reports and fields respectively, the field generation status corresponding to each report and the report inclusion status of each field can be determined, and then the many-to-many mapping relationship between the field identifier and the report identifier can be determined, thereby ensuring the accuracy of the many-to-many mapping relationship.
[0145] In a specific embodiment, an information processing method is also provided, including:
[0146] For two sets, the elements in one set are in a containment relationship with the elements in the other set, and some elements in the contained set need to be modified. In the report system, among all reports used by all scripts, some reports need to modify the table name, and some fields in the modified reports need to be replaced. This involves two types of many-to-many containment relationships between a set and another set: 1. All scripts contain 0 or more reports that modify the table name; 2. The report that modifies the table name contains 0 or more fields that need to be modified.
[0147] Case 1:
[0148] Sort out which scripts contain reports that need to be modified, and which modified reports are included in the scripts involved; through this relationship, you can quickly determine the scope of the modified scripts and which reports need to be modified for each script. When troubleshooting test problems, you can quickly locate the modified reports involved in the problem script.
[0149] Find out which scripts are included in each modified report. Through this relationship, during development and testing, you can locate the problem report through the problem script, and in turn analyze which other scripts have risk issues, and modify them together. After going online at a later stage, you can also use this method to prevent potential risks that have not yet erupted from problems that have already occurred.
[0150] Case 2:
[0151] Sort out which fields need to be modified in the modification report and which fields are included in the associated report; through this relationship, you can quickly determine the fields that need to be modified in the modification report. When troubleshooting test problems, you can quickly locate the fields involved in the problem report.
[0152] Find out which reports contain each modified field. Through this relationship, you can locate the problem fields through the problem table during testing, and in turn analyze which other reports have risk of problems, and modify them together. After going online, you can also use this method to prevent potential risks that have not yet erupted from problems that have already occurred.
[0153] The following is an analysis and design based on Case 1. The analysis and processing logic is the same for Case 1 and Case 2, so it will not be repeated here.
[0154] 1. Sort out which scripts are included in each modified report
[0155] According to the business needs analysis, the scope of the report to be modified is clarified, and the report identifier of each modified report is searched in all script contents, and a file with the file name of a collection (such as a file marked with the table as the file name) with the report identifier as the index name is generated, and the script identifier of the script containing the report is recorded in the corresponding collection (such as a file). In this way, multiple collections with the report identifier of the modified report as the index name can be obtained, and the content of each collection is the script identifier containing the modified report, which can determine which scripts contain each modified report.
[0156] 2. Sort out which scripts contain reports that need to be modified, and which modified reports are contained in the scripts
[0157] Use the first point to get the set of scripts involved in the modified report, aggregate all the set contents to remove duplicates, that is, all the scripts involved in the modified table (that is, the scope of the modified script), and then use these script names to search one by one in all the sets with the modified table as the index name, and generate a set with the script identifier as the index, and record the report identifier corresponding to the report set containing the script identifier into the set. In this way, multiple sets with the script name involved as the index name can be obtained, and each set contains the report identifier of the modified report contained in the script.
[0158] In a specific embodiment, Fig. 9 As shown, an information processing method is also provided, including:
[0159] Step S901, obtaining a plurality of reports, a report identifier of each report, a plurality of scripts for generating the plurality of reports, and a script identifier of each script;
[0160] wherein each script is used to generate at least two of the reports;
[0161] Step S902: for each report, the script identifier corresponding to the script generating the report is stored in the first table set established for the report, and for each script, based on the script identifier of the script, a search is performed in each first table set to determine multiple target table sets containing the script;
[0162] Step S903, storing the report identifier of the report to which the target table set belongs in the script set established for the script, and determining a many-to-many mapping relationship between the report identifier and the script identifier;
[0163] The many-to-many mapping relationship between the report identifier and the script identifier is represented by each first table set and each script set;
[0164] Step S904, obtaining the problem script identifier of the problem script and the many-to-many mapping relationship between the report identifier and the script identifier;
[0165] The script represented by the script identifier is used to generate a report represented by the report identifier that has a mapping relationship with the script identifier;
[0166] Step S905, according to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0167] Among them, the one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship;
[0168] Step S906, mapping the risk report identifier according to the problem script identifier in the first mapping relationship, and extracting a second mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0169] Step S907, determining the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script;
[0170] Step S908, determining the multiple script identifiers mapped to the risk report identifier in the second mapping relationship as risk script identifiers corresponding to the problem script;
[0171] Step S909, obtaining a plurality of fields, a field identifier of each field, a plurality of reports including the plurality of fields, and a report identifier of each report;
[0172] wherein each report includes at least two of the fields;
[0173] Step S910, for each field, storing the report identifier corresponding to the report including the field in the field set established for the field;
[0174] Step S911, for each report, searching in each field set based on the report identifier of the report, to determine multiple target field sets containing the report;
[0175] Step S912, storing the field identifiers of the fields belonging to the target field set in the second table set established for the report, and determining a many-to-many mapping relationship between the field identifiers and the report identifiers;
[0176] The many-to-many mapping relationship between the field identifier and the report identifier is represented by each field set and each second report set;
[0177] Step S913, obtaining a many-to-many mapping relationship between the field identifier and the report identifier, and extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier according to the risk report identifier;
[0178] The report represented by the report identifier includes the field represented by the field identifier that has a mapping relationship with the report identifier; the one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship;
[0179] Step S914, mapping the risk report identifier to the risk field identifier in the third mapping relationship, and extracting a fourth mapping relationship matching the risk field identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0180] Step S915, based on the one-to-many mapping relationship matching the risk report identifier, determining multiple second risk identifiers mapped by the risk report identifier, and performing risk screening on the risk field represented by the risk field identifier;
[0181] The second risk identifier includes a risk report identifier and a risk field identifier.
[0182] 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.
[0183] Based on the same inventive concept, the embodiment of the present application also provides an information processing device for implementing the above-mentioned information processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more information processing device embodiments provided below can refer to the limitations on the information processing method above, and will not be repeated here.
[0184] In an exemplary embodiment, Fig.10 As shown, an information processing device 1000 is provided, comprising: a mapping relationship acquisition module 1002, a relationship extraction module 1004, a risk identification determination module 1006 and a risk screening module 1008, wherein:
[0185] A mapping relationship acquisition module 1002 is used to acquire a problem script identifier of a problem script and a many-to-many mapping relationship between a report identifier and a script identifier; the script represented by the script identifier is used to generate a report represented by a report identifier that has a mapping relationship with the script identifier;
[0186] The relationship extraction module 1004 is used to extract a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier according to the problem script identifier;
[0187] The risk identification determination module 1006 is used to determine a plurality of first risk identifications mapped to the problem script identification based on a one-to-many mapping relationship matched with the problem script identification; the first risk identification includes a risk script identification and a risk report identification;
[0188] The risk screening module 1008 is used to perform risk screening on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
[0189] In an exemplary embodiment, the one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship. In the case of this embodiment, the relationship extraction module 1004 is specifically used to:
[0190] According to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier;
[0191] According to the mapping of the problem script identifier to the risk report identifier in the first mapping relationship, a second mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier.
[0192] In an exemplary embodiment, the risk identification determination module 1006 is specifically configured to:
[0193] Determine the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script;
[0194] The multiple script identifiers mapped to the risk report identifier in the second mapping relationship are determined as risk script identifiers corresponding to the problem script.
[0195] In an exemplary embodiment, the apparatus further includes a first relationship establishing module, specifically configured to:
[0196] Obtaining a plurality of reports, a report identifier for each report, a plurality of scripts for generating the plurality of reports, and a script identifier for each script; each script is used to generate at least two of the reports;
[0197] For each report, storing the script identifier corresponding to the script generating the report in the first table set established for the report;
[0198] For each script, searching in each first table set based on the script identifier of the script to determine multiple target table sets containing the script;
[0199] The report identifier of the report to which the target table set belongs is stored in the script set established for the script;
[0200] A many-to-many mapping relationship between report identifiers and script identifiers is determined; the many-to-many mapping relationship between report identifiers and script identifiers is represented by each first table set and each script set.
[0201] In an exemplary embodiment, the risk screening module 1008 includes:
[0202] A mapping relationship acquisition unit, used to acquire a many-to-many mapping relationship between a field identifier and a report identifier; the report represented by the report identifier includes a field represented by a field identifier having a mapping relationship with the report identifier;
[0203] A mapping relationship extraction unit, used for extracting a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier according to the risk report identifier;
[0204] A risk identification determination unit, configured to determine a plurality of second risk identifications mapped to the risk report identification based on a one-to-many mapping relationship matching the risk report identification; the second risk identification includes a risk report identification and a risk field identification;
[0205] The risk screening unit is used to perform risk screening on the risk field represented by the risk field identifier.
[0206] In an exemplary embodiment, the one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship. In the case of this embodiment, the mapping relationship extraction unit is specifically used to:
[0207] According to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier;
[0208] According to the mapping of the risk report identifier to the risk field identifier in the third mapping relationship, a fourth mapping relationship matching the risk field identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier.
[0209] In an exemplary embodiment, the apparatus further includes a second relationship establishing module, specifically configured to:
[0210] Acquire a plurality of fields, a field identifier of each field, a plurality of reports including the plurality of fields, and a report identifier of each report, wherein each report includes at least two of the fields;
[0211] For each field, a report identifier corresponding to a report including the field is stored in a field set established for the field;
[0212] For each report, searching in each field set based on the report identifier of the report to determine multiple target field sets containing the report;
[0213] The field identifiers of the fields belonging to the target field set are stored in the second table set established for the report;
[0214] A many-to-many mapping relationship between field identifiers and report identifiers is determined; the many-to-many mapping relationship between field identifiers and report identifiers is represented by each field set and each second report set.
[0215] Each module in the above information processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0216] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an information processing method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0217] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0218] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in any one of the above-mentioned project resource allocation method embodiments are implemented.
[0219] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in any one of the above-mentioned project resource allocation method embodiments are implemented.
[0220] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in any one of the above project resource allocation method embodiments when executed by a processor.
[0221] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0222] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0223] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An information processing method, characterized in that: The method comprises: Obtaining a problem script identifier of the problem script and a many-to-many mapping relationship between a report identifier and a script identifier; the script represented by the script identifier is used to generate a report represented by a report identifier that has a mapping relationship with the script identifier; According to the problem script identifier, extracting a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier; Based on the one-to-many mapping relationship matching the problem script identifier, determine a plurality of first risk identifiers mapped by the problem script identifier; the first risk identifier includes a risk script identifier and a risk report identifier; Risk screening is performed on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
2. The method according to claim 1, characterized in that The one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship; the one-to-many mapping relationship matching the problem script identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier according to the problem script identifier, including: According to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier; According to the mapping of the problem script identifier to the risk report identifier in the first mapping relationship, a second mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier.
3. The method according to claim 2, characterized in that The determining, based on the one-to-many mapping relationship matching the problem script identifier, a plurality of first risk identifiers mapped by the problem script identifier comprises: Determine the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script; The multiple script identifiers mapped to the risk report identifier in the second mapping relationship are determined as risk script identifiers corresponding to the problem script.
4. The method according to claim 1, characterized in that: The process of establishing the many-to-many mapping relationship between the report identifier and the script identifier includes: Acquire a plurality of reports, a report identifier of each of the reports, a plurality of scripts for generating the plurality of reports, and a script identifier of each of the scripts; each of the scripts is used to generate at least two of the reports; For each of the reports, storing a script identifier corresponding to a script generating the report in a first table set established for the report; For each of the scripts, searching in each of the first table sets based on the script identifier of the script to determine a plurality of target table sets containing the script; storing the report identifier of the report to which the target table set belongs in the script set established for the script; A many-to-many mapping relationship between report identifiers and script identifiers is determined; the many-to-many mapping relationship between the report identifiers and the script identifiers is represented by each of the first table sets and each of the script sets.
5. The method according to claim 1, characterized in that Performing risk screening on the risk report represented by the risk report identifier includes: Acquire a many-to-many mapping relationship between a field identifier and the report identifier; the report represented by the report identifier includes the field represented by the field identifier that has a mapping relationship with the report identifier; According to the risk report identifier, extracting a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier; Based on the one-to-many mapping relationship matching the risk report identifier, determining a plurality of second risk identifiers mapped by the risk report identifier; the second risk identifier includes a risk report identifier and a risk field identifier; Perform risk screening on the risk field represented by the risk field identifier.
6. The method according to claim 5, characterized in that The one-to-many mapping relationship that matches the risk report identifier includes: a third mapping relationship and a fourth mapping relationship; the one-to-many mapping relationship that matches the risk report identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier according to the risk report identifier, including: According to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier; According to the mapping of the risk report identifier to the risk field identifier in the third mapping relationship, a fourth mapping relationship matching the risk field identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier.
7. The method according to claim 5, characterized in that The process of establishing the many-to-many mapping relationship between the field identifier and the report identifier includes: Acquire a plurality of fields, field identifiers of the respective fields, a plurality of reports including the plurality of fields, and report identifiers of the respective reports; each of the reports including at least two of the respective fields; For each of the fields, storing a report identifier corresponding to a report including the field in a field set established for the field; For each of the reports, searching in each of the field sets based on the report identifier of the report to determine a plurality of target field sets containing the report; storing the field identifiers of the fields to which the target field set belongs in a second table set established for the report; Determine a many-to-many mapping relationship between field identifiers and report identifiers; the many-to-many mapping relationship between the field identifiers and the report identifiers is represented by each of the field sets and each of the second report sets.
8. An information processing device, characterized in that: The device comprises: A mapping relationship acquisition module, used to acquire a problem script identifier of a problem script, and a many-to-many mapping relationship between a report identifier and a script identifier; the script represented by the script identifier is used to generate a report represented by a report identifier that has a mapping relationship with the script identifier; A relationship extraction module, used for extracting a one-to-many mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier according to the problem script identifier; A risk identification determination module, configured to determine a plurality of first risk identifications mapped to the problem script identification based on the one-to-many mapping relationship matched with the problem script identification; the first risk identification includes a risk script identification and a risk report identification; The risk screening module is used to perform risk screening on the risk script represented by the risk script identifier and the risk report represented by the risk report identifier.
9. The device according to claim 8, characterized in that The one-to-many mapping relationship matching the problem script identifier includes: a first mapping relationship and a second mapping relationship; in the case of this embodiment, the relationship extraction module is specifically used to: According to the problem script identifier, extracting a first mapping relationship matching the problem script identifier from the many-to-many mapping relationship between the report identifier and the script identifier; According to the mapping of the problem script identifier to the risk report identifier in the first mapping relationship, a second mapping relationship matching the risk report identifier is extracted from the many-to-many mapping relationship between the report identifier and the script identifier.
10. The device according to claim 9, characterized in that The risk identification determination module is specifically used to: Determine the multiple report identifiers mapped to the problem script identifier in the first mapping relationship as risk report identifiers corresponding to the problem script; The multiple script identifiers mapped to the risk report identifier in the second mapping relationship are determined as risk script identifiers corresponding to the problem script.
11. The device according to claim 8, characterized in that The device also includes a first relationship establishing module, which is specifically configured to: Acquire a plurality of reports, a report identifier of each of the reports, a plurality of scripts for generating the plurality of reports, and a script identifier of each of the scripts; each of the scripts is used to generate at least two of the reports; For each of the reports, storing a script identifier corresponding to a script generating the report in a first table set established for the report; For each of the scripts, searching in each of the first table sets based on the script identifier of the script to determine a plurality of target table sets containing the script; storing the report identifier of the report to which the target table set belongs in the script set established for the script; A many-to-many mapping relationship between report identifiers and script identifiers is determined; the many-to-many mapping relationship between the report identifiers and the script identifiers is represented by each of the first table sets and each of the script sets.
12. The device according to claim 8, characterized in that The risk screening module comprises: A mapping relationship acquisition unit, used to acquire a many-to-many mapping relationship between a field identifier and the report identifier; the report represented by the report identifier includes a field represented by the field identifier having a mapping relationship with the report identifier; A mapping relationship extraction unit, configured to extract, according to the risk report identifier, a one-to-many mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier; A risk identification determination unit, configured to determine a plurality of second risk identifications mapped to the risk report identification based on the one-to-many mapping relationship matching the risk report identification; the second risk identification includes a risk report identification and a risk field identification; The risk screening unit is used to perform risk screening on the risk field represented by the risk field identifier.
13. The device according to claim 12, characterized in that The one-to-many mapping relationship matching the risk report identifier includes: a third mapping relationship and a fourth mapping relationship; in the case of this embodiment, the mapping relationship extraction unit is specifically used to: According to the risk report identifier, extracting a third mapping relationship matching the risk report identifier from the many-to-many mapping relationship between the field identifier and the report identifier; According to the mapping of the risk report identifier to the risk field identifier in the third mapping relationship, a fourth mapping relationship matching the risk field identifier is extracted from the many-to-many mapping relationship between the field identifier and the report identifier.
14. The device according to claim 12, characterized in that The device also includes a second relationship establishing module, which is specifically configured to: Acquire a plurality of fields, field identifiers of the respective fields, a plurality of reports including the plurality of fields, and report identifiers of the respective reports; each of the reports including at least two of the respective fields; For each of the fields, storing a report identifier corresponding to a report including the field in a field set established for the field; For each of the reports, searching in each of the field sets based on the report identifier of the report to determine a plurality of target field sets containing the report; storing the field identifiers of the fields to which the target field set belongs in a second table set established for the report; Determine the many-to-many mapping relationship between field identifiers and report identifiers; The many-to-many mapping relationship between the field identifiers and the report identifiers is represented by each of the field sets and each of the second report sets.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.