Early warning visualization method, device, equipment, medium and program product
By displaying early warning signals on the visual interface of the data scheduling process and automatically obtaining fault content, the problem of inability to intuitively obtain fault information in the existing technology is solved, and the efficiency of data analysis is improved.
Patent Information
- Application Number
- CN202410801704.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-23
AI Technical Summary
When a problem occurs in the data scheduling process in the existing technology, the fault information cannot be obtained intuitively, and analysis needs to be done from the background log or database, resulting in low analysis efficiency.
Provides an early warning visualization method that automatically obtains and renders fault content when displaying early warning signals on the visual interface, including finding the target log from the log, extracting fault type information, and displaying it in different rendering methods according to the fault type.
It enables quick and intuitive acquisition of fault content when early warning signals occur, improves the analysis and processing efficiency of data analysts, and simplifies the fault location and processing process.
Smart Images

Figure CN118535433A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of big data, specifically to the field of data warehouses, and more specifically to an early warning visualization method, device, equipment, medium and program product. Background Art
[0002] Data scheduling processes, such as Extract-transform-Load (ETL), can use visualization tools to visualize the steps in the scheduling process, helping users understand the progress of the data scheduling process and whether there are any problems.
[0003] In the process of realizing the concept of the present invention, the inventor found that the prior art has the following defects in visualizing the data scheduling process: when a problem occurs in the data scheduling process, a fault warning signal (such as an exclamation mark "!" or an error symbol "x") is usually displayed on the visualization interface, and if further fault information is to be obtained for analysis and judgment, it is also necessary to obtain the corresponding log from the background, or to search and compare the database involved in the data scheduling process to analyze the data. It can be seen that in the visualization scheme of the prior art, when a warning signal appears, it is impossible to intuitively obtain the specific information that triggers the warning signal. Summary of the invention
[0004] In view of this, the present disclosure provides a warning visualization method, apparatus, device, medium and program product that can intuitively and quickly obtain fault content to a certain extent at least when a warning signal appears.
[0005] In a first aspect of an embodiment of the present disclosure, a warning visualization method is provided. The method comprises: first, in response to an operation of displaying a warning signal on a first interface, obtaining first identification information of the warning signal, wherein the warning signal is displayed in a first area of the first interface, and the first interface is an interface of a visualization tool for displaying a data scheduling process; then, based on the first identification information, obtaining fault content corresponding to the warning signal; and rendering the first area based on the fault content.
[0006] According to an embodiment of the present disclosure, obtaining the fault content corresponding to the early warning signal based on the first identification information includes: searching for a target log based on the first identification information from log data used to record the data scheduling process; and reading the content of the target log to obtain the fault content.
[0007] According to an embodiment of the present disclosure, rendering the first area based on the fault content includes: extracting fault type information from the fault content to obtain a target fault type, wherein the target fault type is one of a plurality of preset fault types; obtaining a target rendering method corresponding to the target fault type, wherein different fault types correspond to different rendering methods; and rendering the first area according to the target rendering method.
[0008] According to an embodiment of the present disclosure, the data scheduling process includes at least one of the following steps: data extraction, data conversion or data loading, wherein the fault types in different steps are not completely the same.
[0009] According to an embodiment of the present disclosure, the fault type in the step of extracting data includes at least one of the following: missing data, wrong data format.
[0010] According to an embodiment of the present disclosure, the fault type in the data conversion step includes at least one of the following: missing data conversion rules, mismatch between data conversion rules and data format before conversion, or mismatch between data conversion rules and data format after conversion.
[0011] According to an embodiment of the present disclosure, the failure type in the data loading step includes at least one of the following: data reading failure, the format of the data to be loaded does not match the data format in the loading location of the data to be loaded, and data writing failure.
[0012] According to a second aspect of an embodiment of the present disclosure, a warning visualization device is provided. The device includes: a first acquisition module, a second acquisition module and a rendering module. The first acquisition module is used to obtain first identification information of the warning signal in response to an operation of displaying the warning signal on a first interface, wherein the warning signal is displayed in a first area of the first interface; the first interface is an interface for a visualization tool to display a data scheduling process. The second acquisition module is used to obtain the fault content corresponding to the warning signal based on the first identification information. The rendering module is used to render the first area based on the fault content.
[0013] According to an embodiment of the present disclosure, the second acquisition module is specifically used to: search for a target log based on the first identification information from log data used to record the data scheduling process; and read the content of the target log to obtain the fault content.
[0014] According to an embodiment of the present disclosure, the rendering module includes a type extraction submodule and a rendering submodule. The type extraction submodule is used to extract fault type information from the fault content to obtain a target fault type, wherein the target fault type is one of a plurality of preset fault types. The rendering submodule is used to: obtain a target rendering mode corresponding to the target fault type, wherein different fault types correspond to different rendering modes, and render the first area according to the target rendering mode.
[0015] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided. The electronic device includes one or more processors and a memory. The memory is used to store one or more computer programs. The one or more processors execute the one or more computer programs to implement the above method.
[0016] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program or instruction is stored, and the computer program or instruction implements the above method when executed by a processor.
[0017] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program or instructions, which implement the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0019] Figure 1 The application scenario diagram of the early warning visualization method, device, equipment, medium and program product of the embodiment of the present disclosure is schematically shown;
[0020] Figure 2 A flowchart of the early warning visualization method according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 3 A flowchart for obtaining fault content in a warning visualization method according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 4 A flowchart of rendering a first area in a warning visualization method according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 5 A block diagram schematically shows an early warning visualization device according to an embodiment of the present disclosure; and
[0024] Figure 6 A block diagram of an electronic device suitable for implementing the early warning visualization method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] Figure 1 The application scenario diagram of the early warning visualization method, apparatus, device, medium and program product of the embodiment of the present disclosure is schematically shown.
[0030] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a server 104 and a data warehouse system 105. The terminal devices 101, 102, 103 and the server 104 are connected via a network communication. The server 104 and the data warehouse system 105 are connected via a network communication. The network may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0031] The user can use the terminal devices 101, 102, 103 to interact with the server 104 through the network to receive or send messages, etc. A visualization tool client can be installed on the terminal devices 101, 102, 103. For example, the user can send instructions to the server 104 through the visualization tool client to trigger a data call process of a certain business.
[0032] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0033] Server 104 can be a server that provides various services, such as processing instructions sent by users using terminal devices 101, 102, 103. For example, according to the instructions, it executes the corresponding data call process through interaction with the data warehouse system 105, and feeds back the execution results to terminal devices 101, 102, 103, such as displaying them in the visualization tool client of terminal devices 101, 102, 103.
[0034] The data warehouse system 105 is a system for storing and managing large amounts of data, which are usually collected from multiple sources and cleaned and integrated. In order to make better use of data, many companies have adopted data warehouse technology to integrate, clean and transform data scattered in various systems in order to perform data analysis and decision support. In the data warehouse system 105, ETL scheduling (Extract-Transform-Load) is one of the core technologies of the data warehouse and plays a vital role. ETL refers to the process of extracting data from various data sources, transforming and cleaning the data, and then loading it into the target database, thereby building a data warehouse.
[0035] The principle of visual implementation of ETL scheduling is mainly to decompose the ETL process into three steps: data extraction, data conversion and data loading, and use a graphical interface to display the execution process of these steps, such as visualizing ETL through visualization tools.
[0036] Data extraction refers to extracting data from various data sources and then integrating the data into a central data warehouse. During the visualization process, users can specify which data sources to extract data from and set some basic filtering conditions.
[0037] Data conversion refers to converting the data obtained from the source data into the form required by the destination data source according to business needs, and cleaning and processing the erroneous and inconsistent data so that the data can be loaded into the target database. In the visualization process, users can set various rules and lookups to perform these conversion operations.
[0038] Data loading refers to loading the converted data into the target database. During the visualization process, users can set some basic loading rules, such as data loading frequency and data loading method.
[0039] It should be noted that the early warning visualization method provided in the embodiment of the present disclosure can generally be executed by the server 104. Accordingly, the early warning visualization device, equipment, medium and program product provided in the embodiment of the present disclosure can generally be set in the server 104. The early warning visualization method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 104 and can communicate with the terminal devices 101, 102, 103 and the data warehouse system 105. Correspondingly, the early warning visualization device, equipment, medium and program product provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and the data warehouse system 105.
[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0041] It should be noted that the warning visualization method, device, equipment, medium and program product determined in the embodiments of the present disclosure can be used in the financial field, and can also be used in any field other than the financial field. The present disclosure does not limit the application field.
[0042] The following will be based on Figure 1 The scene described by Figure 2~Figure 4 The warning visualization method of the embodiment of the present disclosure is described in detail.
[0043] Figure 2 The flowchart of the early warning visualization method according to the embodiment of the present disclosure is schematically shown.
[0044] like Figure 2 As shown, the early warning visualization method may include operations S21 to S23.
[0045] First, in operation S21, in response to the operation of displaying the warning signal on the first interface, first identification information of the warning signal is obtained, wherein the warning signal is displayed in the first area of the first interface, and the first interface is an interface for the visualization tool to display the data scheduling process. For example, the identification information of the warning signal can be extracted from the information of the warning signal generated by the visualization tool.
[0046] Next, in operation S22, based on the first identification information, the fault content corresponding to the warning signal is obtained. According to the identification information, the fault content can be obtained from a log or a database recording the details of the fault corresponding to the warning signal.
[0047] Then, in operation S23, the first area is rendered based on the fault content. For example, key information in the fault content is extracted, and visual elements (e.g., color, fill texture, etc.) for rendering the first area are determined according to the key information.
[0048] In this way, when a warning signal appears, by using specific elements to render the area where the warning signal is located, users can quickly and intuitively analyze the fault content that caused the warning when they see the warning signal. This helps data analysts quickly and efficiently understand the possible causes of data scheduling process (such as ELF) warnings, and then better analyze and deal with the problems caused by them.
[0049] Figure 3 The flowchart of operation S22 of obtaining fault content in the early warning visualization method according to an embodiment of the present disclosure is schematically shown.
[0050] like Figure 3 As shown, according to this embodiment, operation S22 may include operations S221 to S222.
[0051] In operation S221 , a target log is searched based on first identification information from log data for recording a data scheduling process.
[0052] In operation S222, the content of the target log is read to obtain the fault content.
[0053] It can be seen that in the embodiment of the present disclosure, the fault content is automatically searched from the log based on the identification information of the warning signal, which not only avoids the trouble of manually searching for the fault content from the log when the warning occurs in the prior art; but also improves the timeliness of the acquisition of the fault content, and facilitates the rendering of the area where the warning signal is located based on the fault content when visualizing the data scheduling process, so that more information can be displayed during visualization, thereby improving the efficiency of data analysts in analyzing and handling faults.
[0054] Figure 4 The flowchart of operation S23 of rendering the first area in the early warning visualization method according to an embodiment of the present disclosure is schematically shown.
[0055] like Figure 4 As shown, according to this embodiment, operation S23 may include operations S231 to S233.
[0056] First, in operation S231, fault type information is extracted from the fault content to obtain a target fault type, wherein the target fault type is one of a plurality of preset fault types. For example, the fault type information can be extracted from the fault content by keyword matching, string matching or character recognition.
[0057] Next, in operation S232 , a target rendering mode corresponding to the target fault type is obtained, wherein different fault types correspond to different rendering modes.
[0058] Then, in operation S233, the first region is rendered according to the target rendering mode.
[0059] The data scheduling process in the embodiment of the present disclosure may include at least one of the following steps: data extraction, data conversion or data loading, wherein the fault types in different steps are not completely the same. When the data scheduling process is ETL, it includes three steps: data extraction, data conversion or data loading.
[0060] The fault types in the step of data extraction include at least one of the following: missing data, wrong data format. Specifically, the possible errors in data extraction are mostly missing data from the data source, or mismatched data causing warnings. In one embodiment, during the visualization process, if the user chooses to visualize in a table or other manner, the data in the missing data source indicated by the warning signal can be left blank. Similarly, if the user chooses to use a visualization method such as a graphic, the corresponding data can also be left blank.
[0061] The fault types in the step of data conversion include at least one of the following: missing data conversion rules, data conversion rules do not match the data format before conversion, or data conversion rules do not match the data format after conversion. The errors that occur during data conversion are mainly missing or mismatched processing logic (such as converting decimal to binary). In one embodiment, during the visualization process, the user can specify corresponding visualization elements to prompt such faults and help the user analyze the problem of data conversion. In this way, when the user views the data conversion warning signal through the visualization interface, the fault type can also be intuitively analyzed, thereby obtaining at least part of the information about the fault content in advance.
[0062] The failure types in the data loading step include at least one of the following: data reading failure, the format of the data to be loaded does not match the data format in the loading position of the data to be loaded, and data writing failure. The data loading error may be caused by the mismatch between the target database and the data source information (such as inconsistent fields), or the failure of the above two steps to process. In one embodiment, during the visualization process, if the data reading failure generates an early warning signal, which is also caused by data missing, then a visualization method such as blanking can also be selected for display. If the early warning is triggered by a data writing failure, it can be rendered with a preset visualization element.
[0063] In this way, the embodiment of the present disclosure renders the area where the warning signal is displayed in different rendering methods according to the different fault types, which can intuitively provide users with information about the fault type and help users quickly locate the cause of the fault, thereby improving the efficiency of analyzing and processing faults in the data scheduling process.
[0064] Based on the early warning visualization methods of the above-mentioned embodiments, the present disclosure also provides an early warning visualization device. Figure 5 The device is described in detail.
[0065] Figure 5 The block diagram schematically shows the early warning visualization device 500 of the embodiment of the present disclosure.
[0066] like Figure 5 As shown, the warning visualization device 500 may include: a first acquisition module 510 , a second acquisition module 520 and a rendering module 530 .
[0067] The first acquisition module 510 is used to obtain the first identification information of the warning signal in response to the operation of displaying the warning signal on the first interface, wherein the warning signal is displayed in the first area of the first interface; the first interface is an interface of the visualization tool for displaying the data scheduling process. In one embodiment, the first acquisition module 510 can perform the operation S21 described above.
[0068] The second acquisition module 520 is used to acquire the fault content corresponding to the warning signal based on the first identification information. In one embodiment, the second acquisition module is specifically used to: search for the target log based on the first identification information from the log data used to record the data scheduling process; and read the content of the target log to obtain the fault content. In one embodiment, the second acquisition module 520 can perform the operation S22 described above.
[0069] The rendering module 530 is used to render the first area based on the fault content. In one embodiment, the rendering module 530 may perform the operation 23 described above.
[0070] In one embodiment, the rendering module 530 includes a type extraction submodule and a rendering submodule. The type extraction submodule is used to extract fault type information from the fault content to obtain a target fault type, wherein the target fault type is one of a plurality of preset fault types. The rendering submodule is used to obtain a target rendering mode corresponding to the target fault type, wherein different fault types correspond to different rendering modes, and render the first area according to the target rendering mode.
[0071] The device 500 can realize reference Figure 2~Figure 4 The early warning visualization method introduced can be specifically referred to in the previous article, and will not be repeated here.
[0072] In some embodiments, the apparatus 500 may be implemented as a plug-in or a corresponding interface in a visualization tool, and integrated into the visualization tool to expand the functionality of the visualization tool.
[0073] According to an embodiment of the present disclosure, any multiple modules of the first acquisition module 510, the second acquisition module 520 and the rendering module 530 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first acquisition module 510, the second acquisition module 520 and the rendering module 530 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the first acquisition module 510, the second acquisition module 520 and the rendering module 530 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0074] Figure 6 A block diagram of an electronic device suitable for implementing the early warning visualization method according to an embodiment of the present disclosure is schematically shown.
[0075] like Figure 6As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0076] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0077] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.
[0078] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0079] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.
[0080] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.
[0081] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0082] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0083] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.
[0084] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0085] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0086] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0087] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A warning visualization method, wherein: The method comprises: In response to an operation of displaying a warning signal on a first interface, first identification information of the warning signal is obtained, wherein the warning signal is displayed in a first area of the first interface; the first interface is an interface of a visualization tool for displaying a data scheduling process; Based on the first identification information, acquiring the fault content corresponding to the early warning signal; and Based on the fault content, the first area is rendered.
2. The method according to claim 1, wherein: The acquiring, based on the first identification information, the fault content corresponding to the early warning signal comprises: searching for a target log based on the first identification information from log data used to record the data scheduling process; and Read the content of the target log to obtain the fault content.
3. The method according to claim 1, wherein: The rendering of the first area based on the fault content includes: Extracting fault type information from the fault content to obtain a target fault type, wherein the target fault type is one of a plurality of preset fault types; Obtaining a target rendering mode corresponding to the target fault type, wherein different fault types correspond to different rendering modes; and The first area is rendered according to the target rendering mode.
4. The method according to claim 3, wherein: The data scheduling process includes at least one of the following steps: data extraction, data conversion or data loading, wherein the fault types in different steps are not completely the same.
5. The method according to claim 4, wherein: The fault type in the step of extracting data includes at least one of the following: missing data, wrong data format.
6. The method according to claim 4, wherein: The fault type in the step of data conversion includes at least one of the following: missing data conversion rules, mismatch between data conversion rules and data format before conversion, or mismatch between data conversion rules and data format after conversion.
7. The method according to claim 4, wherein: The failure type in the step of loading data includes at least one of the following: data reading failure, the format of the data to be loaded does not match the data format in the loading position of the data to be loaded, and data writing failure.
8. A warning visualization device, wherein: The device comprises: A first acquisition module, configured to acquire first identification information of the warning signal in response to an operation of displaying the warning signal on a first interface, wherein the warning signal is displayed in a first area of the first interface; the first interface is an interface of a visualization tool for displaying a data scheduling process; A second acquisition module, configured to acquire the fault content corresponding to the warning signal based on the first identification information; and A rendering module is used to render the first area based on the fault content.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
