Detection log scanning time consumption optimization method and device, equipment and storage medium

By extracting and caching multi-layer directory structures, reducing the amount of data matching in indexes, the problem of excessive time-consuming scanning of massive detection logs in the semiconductor processing field is solved, and significant optimization of scanning time is achieved.

CN119621775APending Publication Date: 2025-03-14SHANGHAI GANTU NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411680037.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the field of semiconductor processing, a large number of detection logs need to be scanned successively, resulting in an increase in repeated scanning time, seriously affecting the efficiency of scanning and drawing.

Method used

By reading the log entries to be inspected from the detection log, the material number directory is extracted and cached based on the work order information, and the target work order directory is further extracted and cached from the material number directory, forming a multi-layer nested relationship from large to small, reducing the amount of data matching in indexes.

Benefits of technology

This method greatly shortens the scanning time, and the optimization efficiency is more than ten times higher than the method of matching directly from the parent directory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621775A_ABST
    Figure CN119621775A_ABST
Patent Text Reader

Abstract

The invention discloses a detection log scanning time consumption optimization method and device, equipment and a storage medium, and relates to the field of file scanning. Reading a to-be-detected log entry from the detection log, and extracting and caching a material number directory from a parent directory according to the recorded work order information; performing work order matching on the to-be-detected log entry and the material number catalog, and extracting and caching a target work order catalog according to a matching result; and carrying out board number matching based on the to-be-detected target work order directory, determining a target board number according to a matching result, and carrying out drawing verification according to the target board number. And extracting a material number directory from the parent directory according to the work order information of the log entry to be detected, extracting a work order directory from the material number directory to form a set with a multi-layer nested relationship from large to small, and reducing the index quantity in each progressive directory set layer by layer. In the subsequent scanning execution process, layer-by-layer scanning indexing is directly carried out through the cached material number catalog and the target work order catalog, and compared with a mode of directly matching from a parent catalog, the scanning time consumption can be greatly shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of file scanning, and in particular to a method, device, equipment and storage medium for optimizing the time consumption of detecting log scanning. Background Art

[0002] In the field of semiconductor processing, all batches of material boards need to be verified and test logs generated. These test logs will be stored in a system directory. When it is necessary to monitor and scan the test log, it is necessary to determine the material number, work order number, and board number information according to this requirement, and scan the corresponding log information in the system directory based on this information. The log information records the inspection records and related data information of the material board. Especially for defect detection scenarios, the log information will record the image address of the defect inspection. These images are usually stored in a specific server or storage medium. When scanning the log, the image position can be located according to the image address contained, and the image address can be used for directional image processing.

[0003] In related technologies, materials are frequently inspected on the assembly line, so the inspection logs recorded in the system directory are usually massive. The scanning logic it follows is to read a line of inspection log, then scan the material number directory once, match all material numbers, and then match the work order number and board number in the material number directory. This means that in the scenario of massive items, this sequential scanning logic will have the problem of repeated scanning and time-consuming, which seriously affects the efficiency of scanning and pushing images. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device and storage medium for optimizing the time consumption of detecting log scanning, so as to solve the problem of time consumption of repeated scanning when scanning log entries one by one.

[0005] On the one hand, the present application provides a method for optimizing the time consumption of detecting log scanning, the method comprising:

[0006] Read the log entry to be inspected from the detection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching;

[0007] Match the to-be-inspected log entry with the material number directory for work orders, and extract and cache the target work order directory according to the matching result;

[0008] The board number of the to-be-checked log entry is matched based on the target work order directory, and the target board number is determined according to the matching result, so as to perform a push map verification according to the target board number.

[0009] Specifically, the parent directory stores all log information of the material board; the material number directory is extracted and cached from the parent directory according to the work order information recorded in the log entry to be checked, including:

[0010] Determine the time information of monitoring the log entry to be inspected, and extract the material number directory within a preset time range from the parent directory according to the time information;

[0011] The extracted material number directory is cached in a first buffer; when a log scanning instruction is received, work order matching is performed on the log entry to be inspected based on the cached material number directory.

[0012] Specifically, the to-be-inspected log entry includes work order number and board number information; the to-be-inspected log entry is matched with the material number directory for work order, and the target work order directory is extracted and cached according to the matching result, including:

[0013] Extracting the target work order number to which the log entry to be inspected belongs, and matching the target work order number with the work order number in the material number catalog;

[0014] When the target work order number is matched, all the plate number information belonging to the target work order number in the material number directory is extracted, and the target work order directory is constructed;

[0015] The target work order directory is cached in a second buffer; when a log scanning instruction is received, the board number is matched with the log entry to be checked based on the cached target work order directory.

[0016] Specifically, determining the target board number according to the matching result so as to perform a push map verification according to the target board number includes:

[0017] Extracting the target board number of the to-be-checked log entry, and matching the target board number with the work order number in the target work order directory;

[0018] When the target board number is matched, the push map data is determined according to the board number information of the target board number in the target work order directory.

[0019] Specifically, the push image data corresponds to the board number information one by one and is used to index the material board image;

[0020] After the push image data is determined, the material plate image is indexed based on the push image data and push image verification is performed.

[0021] Specifically, after matching the target board number, the target work order directory in the second buffer is updated.

[0022] Specifically, when the material number directory is cached, the work order information recorded in the to-be-checked log entry is matched with the material number directory. When the target work order cannot be matched, it is directly matched from the parent directory and the corresponding target work order directory is extracted.

[0023] On the other hand, the present application provides a device for optimizing the time consumption of detecting log scanning, the device comprising:

[0024] An extraction module is used to read the log entry to be inspected from the detection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching;

[0025] A first matching module, used to match the to-be-checked log entry with the material number directory for work order, and extract and cache a target work order directory according to the matching result;

[0026] The second matching module is used to match the board number of the to-be-checked log entry based on the target work order directory, and determine the target board number according to the matching result, so as to perform a push map verification according to the target board number.

[0027] On the other hand, the present application provides a computer device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the detection log scanning time optimization method described in the above aspects.

[0028] On the other hand, the present application provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the detection log scanning time optimization method described in the above aspects.

[0029] The beneficial effects of the technical solution provided by the embodiment of the present application include at least: the present application extracts the material number directory from the parent directory with the work order information of the log entry to be checked, and further extracts the work order directory from the material number directory, thus forming a set of multi-layer nested relationships from large to small, and the index amount in each progressive directory set decreases layer by layer. Assuming that there are multiple log entries to be checked, the subsequent scanning process will directly scan and index layer by layer with the cached material number directory and the target work order directory, which can greatly shorten the scanning time compared to the method of directly matching from the parent directory. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1This is a schematic diagram of optimizing the time consumption of scanning a detection log provided in an embodiment of the present application;

[0031] Figure 2 This is a schematic diagram of scanning and matching work order information layer by layer provided in an embodiment of the present application;

[0032] Figure 3 is a schematic diagram of a log entry to be checked provided in an embodiment of the present application;

[0033] Figure 4 It is an algorithm flow chart of the method for optimizing the time consumption of detecting log scanning provided by the embodiment of the present application;

[0034] Figure 5 A structural block diagram of a device for optimizing the time consumption of scanning a detection log is shown;

[0035] Figure 6 A structural block diagram of a computer device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0036] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0037] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0038] Figure 1 : is a flowchart of a method for optimizing the time consumption of detecting log scanning provided by an embodiment of the present application, comprising the following steps:

[0039] S1. Read the log entry to be inspected from the inspection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching;

[0040] The test log is a record of information generated during the operation or test process of related system equipment in the semiconductor field. It contains a large number of log entries, which usually record relevant machine equipment models, timestamps, material number information, work order information, test data and test results, etc. This application is to monitor the test log for re-inspection, random inspection, or troubleshooting tasks.

[0041] In particular, the relevant data for the detection log is independently stored in the server or storage device, which contains the directory information of the massive detection records stored in all time periods, that is, the parent directory. When the system reads the detection log, it extracts and verifies one by one according to the order of the entries, so the log entries to be checked first need to read the work order information contained therein. However, as mentioned in the background technology, because the work order information contains multiple layers of data, work order matching and board number matching are required later. If the information is directly matched one by one with the full parent directory, it takes a lot of time, especially when the log entries to be checked are also massive, which will seriously affect the detection efficiency.

[0042] In response to the above problem, this application does not use the parent directory as the search matching target after reading the log entry to be checked each time, but extracts and caches the material number directory from the parent directory when it is first executed. For example, the parent directory is stored in chronological order, but only the material number directory within the last two days or a certain period of time is extracted. The subsequent operation process uses the cached material number directory as the index source, which can reduce the amount of data for each index match, thereby reducing the time consumption.

[0043] S2. Match the log entry to be inspected with the material number directory for work orders, and extract and cache the target work order directory based on the matching results;

[0044] The material boards in this application are all set with material numbers, work order numbers (batch numbers) and board numbers. There may be multiple material boards in the same batch, so this application adopts a layer-by-layer matching index mechanism and caches them in the form of directories. Various directories composed of work order numbers are recorded in the material number directory, and the work order matching between the log entries to be checked and the material number directory is essentially to extract the index directory of the next layer, that is, the target work order directory.

[0045] For example, in the material number catalog the composition is as follows:

[0046] {Work Order A{A1, A2, A3…}, Work Order B{B1, B2, B3…}, Work Order C{C1, C2, C3…}};

[0047] Assuming that the work order information recorded in the log entry to be inspected is "work order B", the target work order directory {work order B{B1, B2, B3...}} will be extracted from the material number directory.

[0048] The above purpose adopts the logic of layer-by-layer extraction and caching. After the target work order directory is also cached, all subsequent indexes for the work order number are attributed to the target work order directory, avoiding direct indexing from the material number directory, which further optimizes the scanning time.

[0049] S3. Match the board number of the log entry to be inspected based on the target work order directory, and determine the target board number according to the matching result, so as to perform push map verification according to the target board number.

[0050] Figure 2 This is a schematic diagram of layer-by-layer scanning and matching of work order information provided in an embodiment of the present application. The board number matching is the identification of the last level of log entries. This identification will use the target work order directory cached in step S2 as the index target, and select the index in the target work order directory to determine the target board number. Because the purpose of pushing the image is to extract the image data of the material board, after locating the target board number, the image can be determined and extracted to complete the verification purpose.

[0051] In summary, this application uses the work order information of the log entry to be checked to extract the material number directory from the parent directory, and further extracts the work order directory from the material number directory, thus forming a collection of multi-layer nested relationships from large to small, and the index amount in each progressive directory decreases layer by layer. Assuming that there are multiple log entries to be checked, the subsequent scanning process will directly scan and index layer by layer with the cached material number directory and the target work order directory, which can greatly shorten the scanning time compared to the method of directly matching from the parent directory.

[0052] Figure 3 is a schematic diagram of a log entry to be checked provided in an embodiment of the present application. The log entry to be checked includes at least a work order number and a board number. Figure 3 The first column indicates the time when this entry was generated, the second column indicates the work order number information of each log entry to be inspected, and the third column indicates the specific board number information. In addition, it can also include machine model, push map information and test results. The work order number information indicates the batch number. For a production line, the work order number information usually appears in clusters, such as Figure 3 The work order numbers selected in the middle box are all "18082507", the difference is that the board number information under the order number is different. Figure 3 Each material board is checked on both sides, so two adjacent board numbers are the same, and these two pieces are usually regarded as the work order information of a material board.

[0053] In some embodiments, for the first scanning process, it is necessary to extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be checked, which specifically includes the following steps:

[0054] A. Determine the time information of the log entries to be monitored, and extract the material number directory within the preset time range from the parent directory based on the time information;

[0055] B. Cache the extracted material number directory into the first buffer; when receiving the log scanning instruction, match the work order with the log entry to be inspected based on the cached material number directory.

[0056] See also Figure 3As shown, the parent directory is located in the Web device. By default, the material number directory is extracted in the last two days or other time and cached in the first buffer Web 1. For example, if the time of the log entry to be checked is January 22, then the records from January 21 to 23 can be extracted. Of course, if the recorded time is the current time, the records of the previous two days can be directly traced back.

[0057] In a possible implementation, the process of matching the log entry to be inspected with the material number directory for work orders, and extracting and caching the target work order directory according to the matching result may specifically include the following process:

[0058] A. Extract the target work order number to which the log entry to be inspected belongs, and match the target work order number with the work order number in the material number catalog;

[0059] B. When the target work order number is matched, all the plate number information belonging to the target work order number in the material number directory is extracted, and the target work order directory is constructed;

[0060] The above steps only use the work order number as the matching object, and do not match the board number, so the index volume is relatively small, and the matching result can be obtained faster. After determining the target work order number, the target work order directory is established, which is equivalent to grabbing all the board number information in the same batch. In particular, when the order of the log entries to be checked is not arranged in the order of the work order number, or when the Web 2 storage space is large, multiple work order directories can be saved, and the board number needs to be matched against the target work order directory in the subsequent process.

[0061] C. Cache the target work order directory in the second buffer; when receiving the log scanning instruction, match the board number of the log entry to be inspected based on the cached target work order directory.

[0062] The second buffer corresponds to Web 2. Assuming the log entry to be checked is B{B3}, the material number directory {A, B, C, D} will be extracted from Web time 3 to Web 1 first, and then the target work order directory {B} will be extracted from Web 1. Figure 3 For the first log entry to be inspected, first obtain all material number directories in the last two days for storage, and then extract all target work order directories of "18082507" for storage.

[0063] In some embodiments, determining the target board number according to the matching result so as to perform a push map verification according to the target board number includes:

[0064] D. Extract the target board number of the log entry to be checked, and match the target board number with the work order number in the target work order directory;

[0065] E. When the target board number is matched, the push map data is determined according to the board number information of the target board number in the target work order directory.

[0066] This application defines that the push image data corresponds to the board number information one by one, and is used to index the material board image. The material board image can be stored separately in the database, and the push image data can represent the image storage address, that is, the storage address corresponds to the target board number one by one.

[0067] by Figure 3 The order of execution of the entries in , after the work order number "18082507" is stored in Web 2, the subsequent execution process can directly continue the index judgment from Web 2, because the batch numbers are all the same, so the matching process is faster. Only when other work order numbers are detected will it choose to jump back to Web 1 and update the target work order directory.

[0068] Figure 4 This is an algorithm flow chart of the time-consuming optimization method for scanning detection logs provided by the embodiment of the present application. When the computer system starts the monitoring task of the detection log, the material number, work order number and board number of the log entry to be checked are determined, and then all the data under the material number are captured from the material number parent directory according to the material number, and the material number directory of the last two days is specifically extracted for caching. The premise of this process is that the work order number needs to be matched from the material number directory, because only in this way can the work order directory cache be created, otherwise it can only search the range outside the two days from the parent directory again, and then create the work order directory according to the work order number.

[0069] The purpose of creating a work order directory is to avoid repeated scanning. It is equivalent to a subset of the material number directory. After that, the board number can be matched in the subset. When the board number is matched, the map can be pushed in a targeted manner. In actual application, the log scanning and pushing time before optimization is about several hundred seconds. After optimization using this solution, the time can be shortened to about twenty seconds by forming an index scan, and the optimization efficiency is improved by more than ten times.

[0070] In particular, in some embodiments, because the number of plate numbers is not unique, such as Figure 3 Each material board takes an image on both sides, which corresponds to the production of two identical board numbers. However, this actually represents two images. Especially for the case where the images are not arranged in sequence, the uniqueness between the images and the entries cannot be determined. Therefore, the board number can be further refined, such as "2575A" and "2575B". In this way, a board number directory can be generated for the same board number, that is, 2575{2575A,2575AB}. The subsequent process is to ensure the uniqueness of the image push based on the specific front and back information to avoid duplication.

[0071] For some other embodiments, when the photographed pictures are not based on the front and back sides but on the area of ​​the material board, it is also necessary to further establish a board number directory. Figure 3The A1 board number indicates the front side, and the board number directory can be further expressed as A1{A11,A12,A13…}, where A11 indicates the upper left corner area of ​​the front side, A2 indicates the upper right corner area of ​​the front side, and so on. Therefore, after determining the target board number, further determine the board surface information, determine all the push image data based on the board surface information, and then extract all the images on the board surface at one time.

[0072] In particular, in order to ensure that the index matching process is faster, the target work order directory stored in the second buffer area can be updated in time according to the board number matching result, such as Figure 3 After all B{B1, B2, B3...} complete the map pushing task, the directory is randomly deleted, and a new work order directory is created according to the subsequent log entries to be checked to achieve dynamic circulation. Because the board number information contained in it is relatively less, the matching process is faster.

[0073] Figure 5 The structural block diagram of the device for optimizing the time consumption of scanning a detection log provided by an embodiment of the present application is shown, and the device includes:

[0074] The extraction module 510 is used to read the log entry to be inspected from the detection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching;

[0075] A first matching module 520 is used to match the to-be-checked log entry with the material number directory for work orders, and extract and cache a target work order directory according to the matching result;

[0076] The second matching module 530 is used to match the board number of the to-be-checked log entry based on the target work order directory, and determine the target board number according to the matching result, so as to perform push map verification according to the target board number.

[0077] The detection log scanning time consumption optimization device provided in the embodiment of the present application can be applied to the detection log scanning time consumption optimization method provided in the above embodiment. For relevant details, refer to the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0078] It should be noted that the detection log scanning time-consuming optimization device provided in the embodiments of the present application is only illustrated by the division of the above-mentioned functional modules / functional units. In actual applications, the above-mentioned functions can be assigned to different functional modules / functional units as needed, that is, the internal structure of the detection log scanning time-consuming optimization device is divided into different functional modules / functional units to complete all or part of the functions described above. In addition, the implementation method of the detection log scanning time-consuming optimization method provided in the above method embodiment and the implementation method of the detection log scanning time-consuming optimization device provided in this embodiment belong to the same concept. The specific implementation process of the detection log scanning time-consuming optimization device provided in this embodiment is detailed in the above method embodiment, which will not be repeated here.

[0079] Figure 6 The block diagram of a computer device provided by an exemplary embodiment of the present application is shown. It is a computer device such as a desktop computer, a laptop computer, a PDA, and a cloud server. The computer device may include, but is not limited to, a processor and a memory. Among them, the processor and the memory may be connected by a bus or in other ways. Among them, the processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, graphics processors (GPU), embedded neural network processors (NPU) or other dedicated deep learning coprocessors, discrete gates or transistor logic devices, discrete hardware components and other chips, or a combination of the above-mentioned various chips.

[0080] The processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0081] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the methods in the above-mentioned embodiments of the present application. The processor executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory, that is, the method in the above-mentioned method implementation is realized. The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0082] In some embodiments, the computer device may further optionally include: a peripheral device interface and at least one peripheral device. The processor, the memory and the peripheral device interface may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit, a display screen and a keyboard.

[0083] The peripheral device interface can be used to connect at least one peripheral device related to I / O (Input / Output) to the processor and the memory. In some embodiments, the processor, the memory, and the peripheral device interface are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor, the memory, and the peripheral device interface can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0084] The display screen is used to display the UI (User Interface). The UI may include graphics, text, icons, videos and any combination thereof. When the display screen is a touch screen, the display screen also has the ability to collect touch signals on the surface or above the surface of the display screen. The touch signal can be input to the processor as a control signal for processing. At this time, the display screen can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen can be one, arranged on the front panel of the computer device; in other embodiments, the display screen can be at least two, respectively arranged on different surfaces of the computer device or in a folding design; in other embodiments, the display screen can be a flexible display screen, arranged on a curved surface or a folding surface of the computer device. Even, the display screen can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode) and the like.

[0085] The power supply is used to power various components in the computer device. The power supply can be AC, DC, a disposable battery, or a rechargeable battery. When the power supply includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0086] Those skilled in the art will appreciate that the structure shown in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0087] The embodiment of the present application also discloses a computer-readable storage medium. Specifically, the computer-readable storage medium is used to store a computer program, and when the computer program is executed by the processor, the method in the above-mentioned method implementation is implemented. Those skilled in the art can understand that the implementation of all or part of the process in the above-mentioned implementation method of the present application can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the process of the implementation of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0088] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed. However, as long as they are within the scope of the claims of the present invention, they are protected by the patent law.

Claims

1. A method for optimizing the time consumption of detecting log scanning, characterized in that: The method comprises: Read the log entry to be inspected from the detection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching; Match the to-be-inspected log entry with the material number directory for work orders, and extract and cache the target work order directory according to the matching result; The board number of the to-be-checked log entry is matched based on the target work order directory, and the target board number is determined according to the matching result, so as to perform a push map verification according to the target board number.

2. The method according to claim 1, characterized in that: The parent directory stores all log information of the material board; the material number directory is extracted and cached from the parent directory according to the work order information recorded in the log entry to be checked, including: Determine the time information of monitoring the log entry to be inspected, and extract the material number directory within a preset time range from the parent directory according to the time information; The extracted material number directory is cached in a first buffer; when a log scanning instruction is received, work order matching is performed on the log entry to be inspected based on the cached material number directory.

3. The method according to claim 1, characterized in that The to-be-inspected log entry includes work order number and board number information; the to-be-inspected log entry is matched with the material number directory for work order, and the target work order directory is extracted and cached according to the matching result, including: Extracting the target work order number to which the log entry to be inspected belongs, and matching the target work order number with the work order number in the material number catalog; When the target work order number is matched, all the plate number information belonging to the target work order number in the material number directory is extracted, and the target work order directory is constructed; The target work order directory is cached in a second buffer; when a log scanning instruction is received, the board number is matched with the log entry to be checked based on the cached target work order directory.

4. The method according to claim 3, characterized in that: Determining the target board number according to the matching result so as to perform a push map check according to the target board number includes: Extracting the target board number of the to-be-checked log entry, and matching the target board number with the work order number in the target work order directory; When the target board number is matched, the push map data is determined according to the board number information of the target board number in the target work order directory.

5. The method according to claim 4, characterized in that The push image data corresponds to the board number information one by one and is used to index the material board image; After the push image data is determined, the material plate image is indexed based on the push image data and push image verification is performed.

6. The method according to claim 4, characterized in that After matching the target board number, the target work order directory in the second buffer is updated.

7. The method according to any one of claims 1 to 6, characterized in that: When the material number directory is cached, the work order information recorded in the log entry to be checked is matched with the material number directory. When the target work order cannot be matched, it is directly matched from the parent directory and the corresponding target work order directory is extracted.

8. A device for optimizing the time consumption of log scanning, characterized in that: The device comprises: An extraction module is used to read the log entry to be inspected from the detection log, and extract and cache the material number directory from the parent directory according to the work order information recorded in the log entry to be inspected; the material number directory records the work order information of the material board, which is used for work order matching and board number matching; A first matching module, used to match the to-be-checked log entry with the material number directory for work order, and extract and cache a target work order directory according to the matching result; The second matching module is used to match the board number of the to-be-checked log entry based on the target work order directory, and determine the target board number according to the matching result, so as to perform a push map verification according to the target board number.

9. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the detection log scanning time optimization method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The readable storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the detection log scanning time optimization method as described in any one of claims 1 to 7.