Data processing method, apparatus, device, and medium

By using inspection agents to conduct file inspections, the problems of low efficiency and accuracy of manual inspections are solved, and the reliability of data processing in operation and maintenance management scenarios is improved. Global and local inspections are performed using text-wide and block-by-block inspection agents to generate efficient target inspection results.

CN119938153BActive Publication Date: 2025-10-10CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411997123.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-10-10
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In application operation and maintenance management scenarios, the efficiency and accuracy of manual inspection of relevant documents are low, resulting in insufficient reliability of data processing.

Method used

An inspection agent group is adopted, including a leading agent and a functional agent. The overall text inspection agent performs global inspection, the text block inspection agent performs local inspection, and the leading agent integrates the results to generate the target inspection results.

Benefits of technology

It improves the reliability of file inspection and ensures the reliability of data processing in application operation and maintenance management scenarios. It realizes the overall and local inspection of files through functional intelligent bodies, with higher granularity and more accurate integration results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938153B_ABST
    Figure CN119938153B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a data processing method, device, equipment and medium. The method comprises: inputting a to-be-inspected file into an inspection agent group, the inspection agent group comprising a leading agent and a function agent, the function agent comprising a text overall inspection agent and a text block inspection agent; then performing global inspection on the text in the to-be-inspected file by the text overall inspection agent to obtain a first inspection result, and performing block according to function on the text in the to-be-inspected file by the text block inspection agent to obtain a plurality of function text blocks, and performing local inspection on the plurality of function text blocks to obtain a second inspection result; and then generating a target inspection result of the to-be-inspected file based on the first inspection result and the second inspection result by the leading agent. The technical solution of the present application improves the reliability of inspection and ensures the reliability of data processing in an application operation and maintenance scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular, to a data processing method, a data processing device, an electronic device, and a computer-readable medium. Background Art

[0002] Currently, application operation and maintenance management scenarios often involve checking various relevant documents, so that corresponding operation and maintenance management decisions can be made based on the inspection results. In related technologies, manual inspection of various relevant documents is usually carried out, but manual inspection is inefficient and inaccurate.

[0003] Therefore, how to improve the reliability of inspection to ensure the reliability of data processing in application operation and maintenance management scenarios is an urgent problem to be solved. Summary of the Invention

[0004] The embodiments of the present application provide a data processing method, apparatus, device, and medium that improve the reliability of inspection and ensure the reliability of data processing in application operation and maintenance management scenarios.

[0005] In a first aspect, an embodiment of the present application provides a data processing method, which includes: inputting a file to be inspected into an inspection agent group, the inspection agent group including a dominant agent and a functional agent, the functional agent including a text overall inspection agent and a text block inspection agent; performing a global inspection on the text in the file to be inspected by the text overall inspection agent to obtain a first inspection result, and performing a block inspection on the text in the file to be inspected according to function to obtain multiple functional text blocks by the text block inspection agent, and performing a local inspection on the multiple functional text blocks to obtain a second inspection result; generating a target inspection result for the file to be inspected by the dominant agent based on the first inspection result and the second inspection result.

[0006] In second aspect, an embodiment of the present application provides a data processing device, which includes: an input module, configured to input the file to be inspected into an inspection agent group, the inspection agent group including a dominant agent and a functional agent, the functional agent including a text overall inspection agent and a text block inspection agent; an inspection module, configured to perform a global inspection on the text in the file to be inspected through the text overall inspection agent to obtain a first inspection result, and to block the text in the file to be inspected according to function through the text block inspection agent to obtain multiple functional text blocks, and to perform a local inspection on the multiple functional text blocks to obtain a second inspection result; a generation module, configured to generate a target inspection result of the file to be inspected based on the first inspection result and the second inspection result through the dominant agent.

[0007] In one embodiment of the present application, based on the aforementioned scheme, the input module is specifically configured to: obtain the type corresponding to the file to be inspected; select a target inspection agent group that matches the type from multiple inspection agent groups; and input the file to be inspected into the target inspection agent group.

[0008] In one embodiment of the present application, based on the aforementioned scheme, the device also includes a creation module, which is configured to: create an inspection agent group for inspecting files of resource configuration type in the early stage of operation and maintenance management; create an inspection agent group for inspecting files of service deployment type in the mid-term of operation and maintenance management; create an inspection agent group for inspecting files of service operation log type in the late stage of operation and maintenance management.

[0009] In one embodiment of the present application, based on the aforementioned scheme, the inspection module is specifically configured to: inspect the relationship between the multiple functional text blocks to obtain a text block relationship inspection result, and inspect the text in each functional text block to obtain a text block inspection result corresponding to each functional text block; integrate the text block relationship inspection result and the text block inspection result corresponding to each functional text block to generate the second inspection result.

[0010] In one embodiment of the present application, based on the aforementioned scheme, the inspection module is further specifically configured to: generate inspection tasks corresponding to the multiple functional text blocks respectively; and execute the inspection tasks corresponding to the multiple functional text blocks respectively in parallel to realize parallel inspection of the texts in the multiple functional text blocks.

[0011] In one embodiment of the present application, based on the above solution, the generation module is specifically configured to: integrate the first inspection result and the second inspection result by the leading agent to generate an integrated result, and analyze the integrated result to generate a target inspection result for the file to be inspected;

[0012] In one embodiment of the present application, based on the aforementioned solution, the device further includes a management module configured to: output the target inspection result; and perform operation and maintenance management based on the target inspection result.

[0013] In one embodiment of the present application, based on the aforementioned scheme, the management module is specifically configured as follows: if the file to be checked is a resource configuration type, and the target inspection result indicates that the inspection has passed, then the resource configuration operation is performed; if the file to be checked is a service deployment type, and the target inspection result indicates that the inspection has passed, then the service deployment operation is performed; if the file to be checked is a service operation log type, then script file modification information is generated based on the target inspection result, and the script file modification information is used to provide modification suggestions for the script file.

[0014] In a third aspect, an electronic device is provided, including one or more processors; a memory for storing one or more computer programs, which when executed by the one or more processors, cause the electronic device to implement the data processing method as described above.

[0015] In a fourth aspect, a computer readable medium is provided, which stores a computer program, which when executed by a processor, implements the data processing method as described above.

[0016] In a fifth aspect, a computer program product is provided, which includes computer instructions, which when executed by a processor, implements the data processing method as described above.

[0017] In the technical solutions provided by the embodiments of the present application, the checking of the file is implemented by means of the checking agent group, which avoids the phenomenon that the efficiency and accuracy of the checking caused by human checking are low, and improves the reliability of the checking, thereby ensuring the reliability of the data processing in the application operation and maintenance scenario. Moreover, the checking agent group includes a leading agent and a function agent, wherein the overall checking of the file is implemented by the text overall checking agent in the function agent, the context of the file is more closely linked, the partial checking of the file is implemented by the text block checking agent in the function agent, and the granularity is higher, and then the overall checking result and the partial checking result are integrated by the leading agent, thereby comprehensively improving the reliability of the checking, and further ensuring the reliability of the data processing in the application operation and maintenance scenario.

[0018] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1 is a schematic diagram of an exemplary implementation environment to which the technical solutions of the embodiments of the present application can be applied.

[0020] Figure 2 is a flowchart of a data processing method according to an exemplary embodiment of the present application.

[0021] Figure 3 is a schematic diagram of a data processing system according to an exemplary embodiment of the present application.

[0022] Figure 4 is a schematic diagram of a checking agent group according to an exemplary embodiment of the present application.

[0023] Figure 5 is a flowchart of a data processing method according to another exemplary embodiment of the present application.

[0024] Figure 6 FIG. 4 is a flowchart of a data processing method shown in another exemplary embodiment of the present application.

[0025] Figure 7 FIG. 4 is a block diagram of a data processing device according to an exemplary embodiment of the present application.

[0026] Figure 8 It is a structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application. DETAILED DESCRIPTION

[0027] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments applicable to the present application. Rather, they are merely examples of apparatus and methods applicable to certain aspects of the present application, as detailed in the appended claims.

[0028] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0029] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0030] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.

[0031] It should be noted that the term "plurality" used in this application refers to two or more. "And / or" describes the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0032] Currently, application operation and maintenance management scenarios often involve checking various relevant documents, so that corresponding operation and maintenance management decisions can be made based on the inspection results. In related technologies, manual inspection of various relevant documents is usually carried out, but manual inspection is inefficient and inaccurate.

[0033] Therefore, in order to improve the reliability of inspection and ensure the reliability of data processing in application operation and maintenance management scenarios, this application provides a data processing solution. Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment involved in this application. The implementation environment mainly includes a terminal device 101 and a server 102; wherein:

[0034] Terminal devices 101 include but are not limited to extended reality devices (virtual reality devices, augmented reality devices, mixed reality devices, etc.), mobile phones, computers (tablets, laptops, desktop computers, etc.), smart home devices (televisions, refrigerators, air conditioners, washing machines, sweeping and mopping robots, etc.), smart wearable devices (bracelets, watches, etc.), etc.

[0035] Server 102 can be an independent physical server or a server cluster or distributed system composed of multiple physical servers, where the server cluster or distributed system includes cloud servers for providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0036] It is understood that the terminal device 101 and the server 102 establish a communication connection via a wired or wireless network. Exemplarily, the wireless network or wired network uses standard communication technologies and / or protocols. The network is typically the Internet, but may also be any other network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network, etc.

[0037] In one embodiment of the present application, the data processing method can be executed by the server 102. Specifically, the server 102 inputs the file to be inspected into the inspection agent group, the inspection agent group includes a dominant agent and a functional agent, the functional agent includes a text overall inspection agent and a text block inspection agent, and then the text in the file to be inspected is globally inspected by the text overall inspection agent to obtain a first inspection result, and the text in the file to be inspected is divided into blocks according to function by the text block inspection agent to obtain multiple functional text blocks, and the multiple functional text blocks are locally inspected to obtain a second inspection result, and then the dominant agent generates a target inspection result for the file to be inspected based on the first inspection result and the second inspection result.

[0038] In other embodiments of the present application, the data processing method can also be executed by the terminal device 101 alone, or jointly executed by the terminal device 101 and the server 102. In actual applications, the execution entity of the data processing method can be flexibly adjusted according to the specific application scenario.

[0039] It should be clear that Figure 1 The number of terminal devices 101 and servers 102 in the figure is only for illustration, and any number of terminal devices 101 and servers 102 may be provided according to actual needs.

[0040] In the embodiment of the present application, the file inspection is implemented with the help of the inspection agent group, which avoids the phenomenon of low efficiency and accuracy of inspection caused by manual inspection, improves the reliability of inspection, and thus ensures the reliability of data processing in the application operation and maintenance management scenario; and the inspection agent group includes a dominant agent and a functional agent, wherein the overall text inspection agent in the functional agent is used to implement the overall inspection of the file, and the context connection of the file is closer, and the local inspection of the file is implemented through the text block inspection agent in the functional agent, which is more granular, and then the overall inspection results and the local inspection results are integrated through the dominant agent, thereby comprehensively improving the reliability of the inspection, and further ensuring the reliability of data processing in the application operation and maintenance management scenario.

[0041] The following describes in detail the various implementation details of the technical solutions of the embodiments of the present application:

[0042] See also Figure 2 , Figure 2 It is a flow chart of a data processing method shown in one embodiment of the present application.

[0043] like Figure 2 As shown, the data processing method includes at least S201 to S203, which are described in detail as follows:

[0044] S201, input the document to be inspected into the inspection agent group, the inspection agent group includes a leading agent and a functional agent, and the functional agent includes a text overall inspection agent and a text block inspection agent.

[0045] In the embodiment of the present application, the files to be checked refer to files that need to be checked. It is understandable that in the application operation and maintenance management scenario, the entire stage can be divided into the early stage of operation and maintenance management, the middle stage of operation and maintenance management, and the late stage of operation and maintenance management, wherein the files to be checked can be files involved in any stage. For example, the early stage of operation and maintenance management is most likely to involve resource configuration files, the middle stage of operation and maintenance management is most likely to involve service deployment files, and the late stage of operation and maintenance management is most likely to involve service operation log files, etc.; optionally, the files to be checked can be at least one of resource configuration files, service deployment files, and service operation log files, etc.

[0046] In the embodiment of the present application, the inspection agent group refers to an agent group used to inspect the file to be inspected, wherein the agent group includes a dominant agent and a functional agent, and the functional agent includes a text overall inspection agent and a text block inspection agent. The text overall inspection agent refers to an agent used to inspect the text to achieve text integrity inspection (also known as global inspection, long text inspection, etc.), and the text block inspection agent refers to an agent used to inspect multiple functional text blocks after dividing the text into blocks according to function to achieve text partial inspection (also known as local inspection, block inspection, etc.). The dominant agent refers to an agent used to integrate the inspection results of the text overall inspection agent and the inspection results of the text block inspection agent to obtain the final inspection result.

[0047] It can be understood that agent is an important concept in artificial intelligence (AI) and computer science. It refers to an autonomous system that achieves a certain goal through perception and action in a certain environment. The agent has three functions: perception, reasoning, and action, so that it can make decisions based on the environmental information it perceives and influence or change the environment through certain actions. It is not just a passive tool, but a tool with certain initiative and adaptability. Its design goal is to imitate certain intelligent behaviors of humans or animals to achieve more efficient and intelligent operations, and it usually has large language model (LLM) capabilities.

[0048] In one embodiment of the present application, before the process of inputting the files to be inspected into the inspection agent group in S201, it may also include: creating an inspection agent group for inspecting files of the early resource configuration type of operation and maintenance management; creating an inspection agent group for inspecting files of the mid-term service deployment type of operation and maintenance management; and creating an inspection agent group for inspecting files of the late service operation log type of operation and maintenance management.

[0049] That is, in an optional embodiment, when operation and maintenance management involves resource configuration files in the early stage, an inspection agent group is created to check resource configuration files; when operation and maintenance management involves service deployment files in the middle stage, an inspection agent group is created to check service deployment files; when operation and maintenance management involves service operation log files in the late stage, an inspection agent group is created to check service operation log files.

[0050] For ease of understanding, please refer to Table 1, which shows an example of multiple inspection agent groups.

[0051] Resource configuration files Check Agent Group A Service deployment class files Check Agent Group B Service operation log files Check Agent Group C

[0052] Table 1

[0053] In this way, by implementing the optional embodiment, a corresponding inspection agent group is created separately for each stage of operation and maintenance management, making the inspection agent group more targeted, highly independent, and convenient for later maintenance.

[0054] It can be understood that the optional embodiment only takes the most representative files of each stage of operation and maintenance management as an example. In actual application, the files that need to be inspected in each stage of operation and maintenance management can be used as the basis, and corresponding inspection agent groups can be created; at the same time, the creation order between multiple inspection agent groups can be arbitrary.

[0055] In one embodiment of the present application, the process of inputting the file to be inspected into the inspection agent group in S201 may include: obtaining the type corresponding to the file to be inspected; selecting a target inspection agent group that matches the type from multiple inspection agent groups; and inputting the file to be inspected into the target inspection agent group.

[0056] As described in the aforementioned embodiment, multiple inspection agent groups can be created in advance, wherein the inspection agent groups are related to the operation and maintenance management stage, and the operation and maintenance management stage usually involves specific types of files, so the inspection agent groups essentially correspond to the file types; therefore, in an optional embodiment, when there is a file to be inspected, the type of the file to be inspected can be obtained first, and then a target inspection agent group that matches the type of the file to be inspected can be selected from multiple inspection agent groups, and then the file to be inspected can be input into the target inspection agent group for inspection.

[0057] In an optional embodiment, the target inspection agent group refers to the inspection agent group that matches the type of the file to be inspected among the multiple inspection agent groups. For example, following the example in Table 1 above, if the file to be inspected is a resource configuration file, then inspection agent group A is the target inspection agent group, and the file to be inspected is then input into inspection agent group A for inspection. If the file to be inspected is a service deployment file, then inspection agent group B is the target inspection agent group, and the file to be inspected is then input into inspection agent group B for inspection. If the file to be inspected is a service operation log file, then inspection agent group C is the target inspection agent group, and the file to be inspected is then input into the service operation log file for inspection.

[0058] In this way, by implementing the optional embodiment, the target inspection agent group can be obtained simply and accurately, thereby simply and accurately implementing the inspection of the file to be inspected.

[0059] S202, a global inspection is performed on the text in the file to be inspected by a text overall inspection agent to obtain a first inspection result, and a text block inspection agent is used to block the text in the file to be inspected according to function to obtain multiple functional text blocks, and a local inspection is performed on the multiple functional text blocks to obtain a second inspection result.

[0060] In the embodiment of the present application, the file to be inspected is input into the inspection agent group, and the text in the file to be inspected is globally inspected by the overall text inspection agent to obtain a first inspection result.

[0061] It should be clear that the first inspection result refers to the inspection result of the overall inspection of the text output by the text overall inspection agent. The overall inspection means that the text overall inspection agent directly inspects all the texts in the file to be inspected, that is, it is more inclined to realize the inspection based on the semantic understanding of the text as a whole.

[0062] In the embodiment of the present application, the file to be inspected is input into the inspection agent group, and the text in the file to be inspected is divided into blocks according to function through the text block inspection agent to obtain multiple functional text blocks, and the multiple functional text blocks are partially inspected to obtain a second inspection result.

[0063] It should be clear that the second inspection result refers to the inspection result of partial inspection of the text output by the text segmentation inspection agent. Partial inspection means that the text segmentation inspection agent will segment the text in the inspection file and inspect the multiple functional text blocks after segmentation. That is, it is more inclined to realize inspection based on semantic understanding of the text part (i.e., the functional text block).

[0064] To facilitate the understanding of overall inspection and partial inspection, let's take an example. For example, suppose the text of the file to be inspected includes a total of 1,000 paragraphs, and the text overall inspection agent inspects these 1,000 paragraphs; at the same time, suppose that paragraphs 0-99 in the 1,000 paragraphs correspond to functional text block 1, paragraphs 100-699 correspond to functional text block 2, and paragraphs 700-999 correspond to functional text block 3. Accordingly, the text block inspection agent can obtain three functional text blocks, namely functional text block 1, functional text block 2, and functional text block 3, and then inspect these three functional text blocks.

[0065] In one embodiment of the present application, the process of performing local inspection on multiple functional text blocks in S202 to obtain a second inspection result may include: inspecting the relationship between multiple functional text blocks to obtain a text block relationship inspection result, and inspecting the text in each functional text block to obtain a text block inspection result corresponding to each functional text block; integrating the text block relationship inspection result and the text block inspection result corresponding to each functional text block to generate a second inspection result.

[0066] That is, in an optional embodiment, the text block inspection agent, on the one hand, inspects the relationship between multiple functional text blocks to obtain text block relationship inspection results, and on the other hand, inspects the text in each functional text block to obtain text block inspection results corresponding to each functional text block, and then integrates the text block relationship inspection results and the text block inspection results corresponding to each functional text block to obtain a second inspection result.

[0067] Among them, in an optional embodiment, there can be multiple text block checking agents, among which there can be text block checking agents dedicated to checking the relationship between multiple functional text blocks, and there can be text block checking agents dedicated to checking the text in each functional text block. In actual applications, the number of text block checking agents can be flexibly adjusted.

[0068] In this way, by implementing the optional embodiment, the association relationship between the functional text blocks can be checked to determine whether there are conflicts, contradictions and other problems between the functional text blocks. At the same time, the text in each functional text block can be checked more accurately, making the inspection granularity smaller, thereby improving the accuracy of the inspection.

[0069] In one embodiment of the present application, the process of checking the text in each functional text block and obtaining the text block inspection results corresponding to each functional text block may include: generating inspection tasks corresponding to multiple functional text blocks respectively; and executing the inspection tasks corresponding to multiple functional text blocks in parallel to realize parallel inspection of the text in multiple functional text blocks.

[0070] That is, in an optional embodiment, when the text block inspection agent inspects the text in each functional text block, it can first generate an inspection task corresponding to each functional text block, that is, obtain multiple inspection tasks, and then execute the multiple inspection tasks in parallel, thereby realizing parallel inspection of the text in multiple functional text blocks through the parallel execution of multiple inspection tasks.

[0071] In this way, by implementing the optional embodiment, parallel inspection of texts in multiple functional text blocks is achieved, thereby improving the efficiency of inspection.

[0072] In one embodiment of the present application, if the file to be checked is a resource configuration type file, then the text in the file to be checked can be globally audited / checked / compared / verified based on the resource configuration standard file through a text overall inspection agent, thereby obtaining a first inspection result. At the same time, the text in the file to be checked can be divided into blocks according to function based on the resource configuration standard file through a text block inspection agent, thereby obtaining multiple functional text blocks, and local auditing / checking / comparing / verification can be performed on the multiple functional text blocks, thereby obtaining a second inspection result; optionally, the resource configuration standard file can be a manual type file, and the manual can include but is not limited to at least one of a resource configuration manual, a resource operation manual, etc.

[0073] In one embodiment of the present application, if the file to be inspected is a service deployment type file, then the text in the file to be inspected can be globally audited / checked / compared / verified based on the service deployment standard file through a text overall inspection agent, thereby obtaining a first inspection result. At the same time, the text in the file to be inspected can be divided into blocks according to function based on the service deployment standard file through a text block inspection agent, thereby obtaining multiple functional text blocks, and local auditing / checking / comparing / verification can be performed on the multiple functional text blocks, thereby obtaining a second inspection result. Optionally, the service deployment standard file can be a manual type file, and the manual can include but is not limited to at least one of a service deployment regulations manual, a troubleshooting manual, etc.

[0074] In one embodiment of the present application, if the file to be inspected is a service operation log file, then the text in the file to be inspected can be globally analyzed by a text overall inspection agent to obtain a first inspection result. At the same time, the text in the file to be inspected can be divided into blocks according to function by a text block inspection agent to obtain multiple functional text blocks, and the multiple functional text blocks can be locally analyzed to obtain a second inspection result.

[0075] S203: Generate a target inspection result for the file to be inspected based on the first inspection result and the second inspection result by the leading agent.

[0076] In the embodiment of the present application, a first inspection result is obtained by an overall text inspection agent, and a second inspection result is obtained by a block text inspection agent. Then, a target inspection result of the file to be inspected can be generated by a leading agent based on the first inspection result and the second inspection result.

[0077] In the embodiment of the present application, the target inspection result refers to the inspection result output by the leading intelligent agent that integrates the overall inspection result and the local inspection result.

[0078] In one embodiment of the present application, the process of generating a target inspection result of the file to be inspected based on the first inspection result and the second inspection result by the leading intelligent agent in S203 may include: integrating the first inspection result and the second inspection result by the leading intelligent agent to generate an integrated result, and analyzing the integrated result to generate a target inspection result of the file to be inspected.

[0079] That is, in an optional embodiment, the leading intelligent agent integrates the first inspection result and the second inspection result to generate an integrated result, and analyzes the integrated result to generate a target inspection result.

[0080] Among them, in an optional embodiment, the leading intelligent agent can also continuously adjust the cooperation mode between the intelligent agents in the inspection intelligent agent group, so as to improve the adaptability of the inspection, etc.

[0081] In this way, by implementing the optional embodiment, a more accurate target inspection result can be generated based on the analysis of the integration result.

[0082] In one embodiment of the present application, after the process of generating the target inspection result of the file to be inspected based on the first inspection result and the second inspection result by the leading intelligent agent in S203, it can also include: outputting the target inspection result; and performing operation and maintenance management based on the target inspection result.

[0083] That is, in an optional embodiment, the target inspection result generated by the leading intelligent agent can be in the form of a report, and the target inspection result in the form of a report can be displayed or sent to a designated device, so that the inspection status of the file to be inspected can be clarified by viewing the target inspection result in the form of a report, and corresponding operation and maintenance management can be carried out, such as troubleshooting, performance tuning, security reinforcement, etc.

[0084] In this way, by implementing the optional embodiment, the efficiency and accuracy of generating target inspection results are higher, thereby improving the efficiency and accuracy of operation management, that is, the reliability of operation management is high, and it will also bring many conveniences to the relevant operation management staff.

[0085] In one embodiment of the present application, the process of performing operation and maintenance management based on the target inspection result may include: if the file to be inspected is of a resource configuration type, and the target inspection result indicates that the inspection has passed, then executing the resource configuration operation; if the file to be inspected is of a service deployment type, and the target inspection result indicates that the inspection has passed, then executing the service deployment operation; if the file to be inspected is of a service operation log type, then generating script file modification information based on the target inspection result, and the script file modification information is used to provide modification suggestions for the script file.

[0086] That is, in an optional embodiment, if the file to be checked is a resource configuration type file, and the target inspection result indicates that the inspection has passed, the resource configuration operation can be performed at this time; if the file to be checked is a service deployment type, and the target inspection result indicates that the inspection has passed, the service deployment operation can be performed at this time; if the file to be checked is a service operation log type file, script file modification information can be generated based on the target inspection result, and the script file modification information is used to provide modification suggestions for the script file.

[0087] In this way, by implementing the optional embodiment, after the target inspection result is passed, the operation and maintenance management operation matching the file type to be inspected is executed, thereby improving the accuracy of the execution of the corresponding operation and maintenance management operation, thereby improving the reliability of operation management.

[0088] In the embodiment of the present application, the file inspection is implemented with the help of the inspection agent group, which avoids the phenomenon of low efficiency and accuracy of inspection caused by manual inspection, improves the reliability of inspection, and thus ensures the reliability of data processing in the application operation and maintenance management scenario; and the inspection agent group includes a dominant agent and a functional agent, wherein the overall text inspection agent in the functional agent is used to implement the overall inspection of the file, and the context connection of the file is closer, and the local inspection of the file is implemented through the text block inspection agent in the functional agent, which is more granular, and then the overall inspection results and the local inspection results are integrated through the dominant agent, thereby comprehensively improving the reliability of the inspection, and further ensuring the reliability of data processing in the application operation and maintenance management scenario.

[0089] The following describes in detail the specific scenarios of the embodiments of this application:

[0090] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram showing a data processing system according to an embodiment of the present application. Figure 3 As shown, the data processing system is used for operation and maintenance management, also known as the intelligent operation and maintenance management system, which mainly includes the operation and maintenance portal layer, the operation and maintenance scenario layer, the automation engine layer, and the operation and maintenance object layer; among which:

[0091] The operation and maintenance portal layer is an entry module of the intelligent operation and maintenance management system, and provides a unified interaction interface and operation entrance for operation and maintenance personnel. This layer is mainly responsible for providing operation and maintenance status, task progress and abnormal alarm information, supporting multi-user role management and permission control, and providing real-time monitoring of key performance indicators (KPIs) of the operation and maintenance environment. Meanwhile, operation and maintenance personnel can perform corresponding operations through the operation and maintenance portal layer, including but not limited to business monitoring, resource monitoring, log auditing, fault recovery, security protection, etc. In addition, the operation and maintenance portal layer can open the capabilities of agent collaborative design, prompt word management, workflow management, etc. to adapt to different operation and maintenance management needs.

[0092] The operation and maintenance scenario layer is a scenario implementation of intelligent operation and maintenance management, mainly including resource configuration auditing, service instruction auditing, production log analysis, etc., which are driven by pre-defined templates or custom configurations, supporting scheduling and execution of diversified operation and maintenance management tasks.

[0093] Optionally, resource configuration audit is mainly responsible for auditing various resource configurations in the cloud environment to ensure that resource configurations comply with best practices, enterprise security standards and compliance requirements, including but not limited to virtual private cloud (VPC) configuration audit (for example, for subnet configuration, check whether public and private subnets are correctly divided to ensure that the Internet Protocol (IP) address range of the subnet is reasonable and does not conflict; for route tables, check whether routing rules meet network communication requirements, especially those involving external Internet access, access between VPCs, and VPN connections; for network access control lists (ACLs) and security groups, check whether network access control policies and security group rules are reasonable to avoid exposing unnecessary ports and services; for VPC peering and transit gateways, check whether cross-VPC connections are correctly configured to ensure that unsafe access or unnecessary resource sharing does not occur; for network address translation gateways (NATs), check whether the ... the routing rules meet network communication requirements, especially those involving external Internet access, access between VPCs, and VPN connections; for network access control lists (ACLs) and security groups, check whether the routing rules meet network communication requirements, especially those involving external Internet access, access between VPCs, and VPN connections; for network access control lists (ACLs) and security groups, check whether the routing rules meet network communication requirements, especially those involving external Internet access, access between VPCs, and VPN connections; for network access control lists (ACLs) and security groups, check whether the routing rules meet network communication requirements, especially those involving external Internet access, access between VPCs, and VPN connections; for network access control lists (ACLs) and security groups, check whether the routing Check whether external access is properly restricted and ensure that necessary access paths are correctly configured, etc.), Simple Storage Service (S3) configuration audit (for example, for bucket permissions, check the permission settings of the bucket to ensure that there are no unnecessary public read and write permissions to avoid leakage of sensitive data; for versioning, check whether versioning is enabled to prevent data loss or accidental deletion; for encryption, ensure that encryption mechanisms (such as SSE-S3 or SSE-KMS) are enabled for object data in the bucket to prevent data leakage; for lifecycle policies, check whether data lifecycle management policies are reasonably configured to ensure that no longer used data is properly archived or deleted to optimize storage costs; for access logs, check whether access logs are enabled to monitor and audit data access activities, etc.), Elastic Compute Cloud (Elastic Compute Cloud). Cloud, EC2) configuration audit (for example, for instance types, check whether the selected instance type meets the workload requirements to ensure there is no excessive or insufficient resource configuration; for security group rules, check the security group rules to ensure there are no unnecessary open ports or overly loose access permissions);For Amazon Machine Images (AMIs), check whether the images used are authorized and compliant, and whether they have regularly updated operating system and application patches. For Elastic Block Store (EBS) configuration, check the configuration of the root volume and attached volumes to ensure proper storage allocation, and take into account storage encryption and backup measures. For Auto Scaling, check whether the auto-scaling policy is properly configured to ensure that the number of instances can be automatically adjusted when the load changes. Node image audits (for example, verifying that the image is from a trusted source and has regular updates and security patches) are performed. For operating system versions, check whether the operating system version in the image is up to date and meets the enterprise's security and compliance requirements. For software and service configuration, check the installed software packages and services in the image to ensure that only necessary software is included in the image to reduce the risk of security vulnerabilities. For automated configuration, ensure that the configuration automation scripts in the image are correct to avoid errors caused by manual configuration. For compliance and security benchmarks, ensure that the image meets industry compliance requirements (such as CIS benchmarks, ISO 27001, etc.) are performed.

[0094] Optionally, service deployment (also known as service instruction) audit is mainly responsible for reviewing and checking the configuration and operation of IT services to ensure compliance with predetermined standards, policies and compliance requirements, etc., including but not limited to version control (for example, by using version control (such as Git), you can check the change records of code, configuration files, service instructions, etc. to ensure that there are no non-compliant modifications or omissions during development and operation and maintenance), software deployment (for example, through CI / CD pipeline tools (such as Jenkins, GitLab), etc.), CI, etc.), ensuring that all steps such as configuration file modifications, environment variable settings, dependency installation, etc. are recorded and comply with established deployment strategies), k8s service creation (such as checking whether the service definition complies with specifications, whether resource allocation is reasonable, whether the service exposure method complies with security requirements, and whether the network strategy is appropriate, etc.), dependency management (for example, for dependency version control, check whether all dependencies have clear version numbers to avoid incompatible or outdated dependencies; for security audits, check whether external dependencies have known security vulnerabilities to ensure that the libraries and frameworks used are secure and updated; for compliance checks, verify whether the dependency management strategy complies with the organization's compliance requirements to avoid the use of unauthorized or non-policy-compliant dependencies; for containerization and environment consistency, for containerized services, ensure that the base image used in the container image and its dependencies are up-to-date and trusted, etc.), etc.

[0095] Optionally, service operation log (also called production log) analysis is mainly responsible for collecting, analyzing and monitoring various logs generated in the production environment to help operation and maintenance personnel promptly discover problems, optimize performance and ensure stable system operation, etc., including but not limited to cloud node logs (for example, when a cloud node has an abnormality or failure, by analyzing the node log, the problem can be quickly located and the root cause of the failure can be found; and / or by analyzing the operation log of the cloud node, the node resources (such as the central processing unit) can be monitored. Unit, CPU), memory, disk, etc.), and then find performance bottlenecks or overloads; and / or by analyzing security-related information (such as login records, access logs, etc.), help discover potential security issues or malicious activities, etc.), resource monitoring (for example, by continuously monitoring resource usage, timely discover resource overload (such as high CPU usage) or shortage (such as memory leaks), and take measures to optimize or expand capacity; and / or through historical resource data analysis, predict future resource needs, and help the team with capacity planning and cost optimization; and / or resource monitoring tools set thresholds, and once the predetermined thresholds are exceeded, automatically trigger alarms or execute automated fault recovery mechanisms, etc.), business logs (for example, analyze the normal operation of the application (for example, whether there are abnormal business requests, erroneous transaction data or user behavior); and / or by analyzing user behavior data in business logs, valuable feedback can be provided for product optimization and user experience improvement; and / or check business-level anomalies (such as abnormal call frequency of a certain interface, excessive failure rate of a certain type of transaction), etc.), load balancer (Load Balancer (LB) monitoring (for example, recording traffic distribution logs, analyzing these logs can help understand how traffic is distributed between different service instances, whether there is a problem of traffic skew or uneven distribution; and / or regularly performing health checks on backend service instances, analyzing health check logs can help find that some instances are unavailable or overloaded; and / or by monitoring indicators such as the response time and error rate of the load balancer, it can be determined whether there are performance bottlenecks or service timeouts; and / or recording logs of traffic entry points, and analyzing these logs can check whether there are abnormal traffic patterns or potential attack behaviors, etc.), etc. At least one of the following.

[0096] It should be clear that for resource configuration audits, service instruction audits, and production log analysis, corresponding inspection agent groups can be used, where the inspection agent group includes a dominant agent (i.e., a dominant agent) and a functional agent. The functional agent includes a text overall inspection agent (i.e., a long text agent) and a text block inspection agent (i.e., a block agent). The specific inspection process is not described here. At the same time, the inspection agent group has LLM capabilities (including but not limited to natural language understanding capabilities, language generation capabilities, and reasoning capabilities, etc.); optionally, the inspection agent group includes at least one of a language model, a multimodal large model, etc.

[0097] For easier understanding, see Figure 4 .like Figure 4 As shown in the figure, based on the LLM capability, the long text agent implements long text inspection based on the knowledge base engine to obtain analysis conclusions. At the same time, the block agents (including multiple, such as block agent 1, block agent 2, block agent 3) perform block retrieval based on the knowledge base engine, implement block inspection, and obtain analysis conclusions. Then, the leading agent integrates the analysis conclusions of the long text agent and the block agent to obtain the final analysis conclusions.

[0098] The automation engine layer is mainly responsible for managing the execution between the output of the operation and maintenance scenario layer and the operation and maintenance objects. It has the capabilities of process job scheduling, parameter management, script execution, etc., and mainly includes a configuration engine, a process job scheduling engine, and a knowledge base engine. Optionally, the configuration engine mainly includes scripts / commands, parameter management, and object targets; the process job scheduling engine mainly includes an execution engine and related protocols (such as Secure Shell (SSH), Telecommunication Network (Telnet), Simple Network Management Protocol (SNMp)); the knowledge base engine mainly includes operation and maintenance manuals, configuration manuals, cloud product manuals, troubleshooting manuals, etc.

[0099] The operation and maintenance object layer is oriented towards the underlying software and hardware resources, and realizes unified access and management of operation and maintenance objects through standardized interfaces. It supports comprehensive monitoring and operation of cloud components such as VPC and EC2 instances, as well as K8S services. It mainly includes various operation and maintenance targets such as operating systems, databases, middleware, applications, cloud platforms, and networks. In addition, combined with the automation engine layer, the operation and maintenance object layer can receive configuration and operation instructions in real time to ensure the rapid implementation of operation and maintenance strategies and efficient management of system resources.

[0100] based on Figure 3 For the system shown, see Figure 5 , Figure 5 FIG. 1 is a flow chart of a data processing method according to an embodiment of the present application. Figure 5 As shown, the data processing method includes at least S501 to S506, which are described in detail as follows:

[0101] S501, input the resource configuration script file into its corresponding inspection agent group, and conduct a full-text audit of the resource configuration script file based on the resource configuration standard manual through the long text agent to obtain the first audit result. At the same time, conduct a block audit of the resource configuration script file based on the resource configuration standard manual through the block agent to obtain the second audit result. Then, the first audit result and the second audit result are integrated through the leading agent to obtain the final audit result.

[0102] S502: If the final audit result of the resource configuration script file indicates that the audit has passed, the resource configuration operation is executed.

[0103] S503, input the service instruction script file into its corresponding inspection agent group, and use the long text agent to perform a full-text audit on the service instruction script file based on the service instruction standard manual to obtain a first audit result. At the same time, use the block agent to perform a block audit on the service instruction script file based on the service instruction standard manual to obtain a second audit result. Then, the leading agent integrates the first audit result and the second audit result to obtain a final audit result.

[0104] S504: If the final audit result of the service instruction script file indicates that the audit has passed, the service deployment operation is executed.

[0105] S505: Input the production log file into its corresponding inspection agent group, perform full-text analysis on the production log file through the long text agent to obtain the first analysis result, and at the same time, perform block analysis on the production log file based on the production log standard manual through the block agent to obtain the second analysis result. Then, the first analysis result and the second analysis result are integrated through the leading agent to obtain the final analysis result.

[0106] S506: Generate a log analysis report based on the final analysis results of the production log files for use in operation and maintenance optimization.

[0107] For easier understanding, see Figure 6 ,in:

[0108] 1. For the early stage of operation and maintenance management:

[0109] First, the system starts up and then it is initialized to ensure that all components are in correct working condition.

[0110] 1.1, receiving a resource configuration request, and obtaining a resource configuration class script file based on the resource configuration request.

[0111] 1.2. Audit of resource configuration script files.

[0112] Specifically, the long-text agent group audits the full text of resource configuration script files, that is, the long-text agent is used to comprehensively check the instructions in the resource configuration script files and feedback the audit results; the block agent group audits the instruction blocks, that is, the block agent is used to check the instruction blocks in the resource configuration script files one by one and feedback the audit results; then the leading agent outputs the audit conclusion, that is, the leading agent is used to integrate the audit results of the long-text agent and the block agent to generate the final audit results.

[0113] 1.3. Determine whether the configuration is compliant. If so, proceed to 1.4. If not, return to 1.1 to modify the resource configuration script file.

[0114] 1.4, perform resource allocation.

[0115] 2. For mid-term operation and maintenance management:

[0116] 2.1, receive a service deployment request, and obtain a service instruction script file based on the service deployment request.

[0117] 2.2, Audit of service instruction script files.

[0118] Specifically, the long-text agent group audits the full text of the service instruction script file, that is, the long-text agent is used to conduct a comprehensive inspection of the instructions in the service instruction script file and feedback the audit results; the block agent group audits the instruction block, that is, the block agent is used to check the instruction blocks in the service instruction script file one by one and feedback the audit results; then the leading agent outputs the audit conclusion, that is, the leading agent is used to integrate the audit results of the long-text agent and the block agent to generate the final audit result.

[0119] 2.3. Determine whether the configuration is compliant. If so, proceed to 2.4. If not, return to 2.1 to modify the service instruction script file.

[0120] 2.4, perform service deployment.

[0121] At this point, the service is officially put into operation.

[0122] 3. For the later stage of operation and maintenance management:

[0123] 3.1. Receive a log analysis request and obtain production log files based on the log analysis request.

[0124] 3.2, Analysis of production log files.

[0125] Specifically, the long-text agent group analyzes the full text of production log files, that is, the long-text agent is used to comprehensively check the instructions in the production log files and feedback the analysis results; the block agent group analyzes the instruction blocks, that is, the block agent is used to check the instruction blocks in the production log files one by one and feedback the analysis results; then the leading agent outputs the analysis conclusion, that is, the leading agent is used to combine the analysis results of the long-text agent and the block agent to generate the final analysis results.

[0126] 3.3, determine whether there is an exception; if there is an exception, execute 3.4; if not, return to 3.1.

[0127] 3.4. Output exception reports to improve and optimize the exceptions.

[0128] At this point, after all processes are completed, the system ends.

[0129] The technical solutions provided in the embodiments of the present application have at least the following beneficial effects:

[0130] The adoption of a layered system architecture not only achieves a clear division of responsibilities at different levels, but also promotes a high degree of modularization of functions, making the system more maintainable and scalable, while also improving processing efficiency and response speed. The collaboration between layers makes the system lifecycle management more efficient.

[0131] A mechanism for the collaborative work of the dominant agent and the functional agent has been introduced, which can handle long-text audit tasks, block audit tasks, and conduct final comprehensive analysis and decision-making, thereby improving the intelligence level of the operation and maintenance management system and enhancing the processing capabilities for complex operation and maintenance tasks; at the same time, it realizes efficient automatic auditing of resource configuration script files and service instruction script files, ensuring the correctness and security of resource configuration and service deployment, and realizes efficient automatic analysis of production log files, ensuring the security of service operation management, greatly reducing the time cost and error rate of manual audit / analysis, and significantly improving the efficiency, accuracy, security, flexibility, etc. of operation and maintenance management, and the reliability of operation and maintenance management is high.

[0132] Figure 7 FIG. 1 is a block diagram of a data processing device according to an embodiment of the present application. Figure 7 As shown, the device includes:

[0133] An input module 701 is configured to input a document to be inspected into an inspection agent group, wherein the inspection agent group includes a leading agent and functional agents, wherein the functional agents include a text overall inspection agent and a text block inspection agent;

[0134] The inspection module 702 is configured to perform a global inspection of the text in the document to be inspected by the overall text inspection agent to obtain a first inspection result, and to perform a local inspection of the text in the document to be inspected by the text segmentation inspection agent according to function to obtain a plurality of functional text segments, and to perform a local inspection of the plurality of functional text segments to obtain a second inspection result;

[0135] The generation module 703 is configured to generate a target inspection result of the file to be inspected based on the first inspection result and the second inspection result by the leading agent.

[0136] In one embodiment of the present application, based on the aforementioned scheme, the input module 701 is specifically configured to: obtain the type corresponding to the file to be inspected; select a target inspection agent group that matches the type from multiple inspection agent groups; and input the file to be inspected into the target inspection agent group.

[0137] In one embodiment of the present application, based on the aforementioned scheme, the device also includes a creation module, configured to: create an inspection agent group for inspecting files of resource configuration type in the early stage of operation and maintenance management; create an inspection agent group for inspecting files of service deployment type in the mid-term of operation and maintenance management; create an inspection agent group for inspecting files of service operation log type in the late stage of operation and maintenance management.

[0138] In one embodiment of the present application, based on the aforementioned scheme, the inspection module 702 is specifically configured as follows: inspecting the relationship between the multiple functional text blocks to obtain a text block relationship inspection result, and inspecting the text in each functional text block to obtain a text block inspection result corresponding to each functional text block; integrating the text block relationship inspection result and the text block inspection result corresponding to each functional text block to generate the second inspection result.

[0139] In one embodiment of the present application, based on the aforementioned scheme, the inspection module 702 is further specifically configured to: generate inspection tasks corresponding to the multiple functional text blocks respectively; and execute the inspection tasks corresponding to the multiple functional text blocks respectively in parallel to realize parallel inspection of the texts in the multiple functional text blocks.

[0140] In one embodiment of the present application, based on the above solution, the generation module 703 is specifically configured to: integrate the first inspection result and the second inspection result by the leading agent to generate an integrated result, and analyze the integrated result to generate a target inspection result for the file to be inspected;

[0141] In one embodiment of the present application, based on the aforementioned solution, the device further includes a management module configured to: output the target inspection result; and perform operation and maintenance management based on the target inspection result.

[0142] In one embodiment of the present application, based on the aforementioned scheme, the management module is specifically configured as follows: if the file to be checked is a resource configuration type, and the target inspection result indicates that the inspection has passed, then the resource configuration operation is performed; if the file to be checked is a service deployment type, and the target inspection result indicates that the inspection has passed, then the service deployment operation is performed; if the file to be checked is a service operation log type, then script file modification information is generated based on the target inspection result, and the script file modification information is used to provide modification suggestions for the script file.

[0143] It should be noted that the apparatus provided in the aforementioned embodiment and the method provided in the aforementioned embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment.

[0144] An embodiment of the present application also provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein when the one or more computer programs are executed by the one or more processors, the electronic device implements the above-mentioned data processing method.

[0145] Figure 8 It is an electronic device suitable for implementing the embodiments of the present application (for example Figure 1 A schematic diagram of the structure of a computer system (terminal device or server shown).

[0146] It should be noted that Figure 8 The computer system 800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0147] like Figure 8As shown, the computer system 800 includes a central processing unit (CPU) 801 which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from the storage section 808 into a random access memory (RAM) 803, such as performing the methods in the above-described embodiments. In the RAM 803, various computer programs and data required for system operation are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0148] Connected to the I / O interface 805 are an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as necessary. A removable recording medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 810 as necessary, so that a computer program read therefrom is installed into the storage section 808 as necessary.

[0149] In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer program. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer instructions for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from the removable recording medium 811. When the computer program is executed by the central processing unit (CPU) 801, various functions defined in the systems of the present application are performed.

[0150] It should be noted that the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a computer program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0151] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that 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 flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0152] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.

[0153] Another aspect of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned data processing method. The computer-readable medium may be included in the electronic device described in the above embodiments, or may exist independently without being incorporated into the electronic device.

[0154] Another aspect of the present application further provides a computer program product or computer program, which includes computer instructions stored in a computer-readable medium. A processor of an electronic device reads the computer instructions from the computer-readable medium and executes the computer instructions, causing the electronic device to perform the data processing methods provided in the above embodiments.

[0155] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main ideas and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.

Claims

1. A data processing method, characterized in that: include: Inputting the document to be checked into the checking agent group, wherein the checking agent group includes a leading agent and a functional agent, wherein the functional agent includes a text overall checking agent and a text block checking agent; Performing a global inspection on the text in the document to be inspected by the overall text inspection agent to obtain a first inspection result, and dividing the text in the document to be inspected into blocks according to function by the text block inspection agent to obtain a plurality of functional text blocks, and performing local inspection on the plurality of functional text blocks to obtain a second inspection result; The leading agent generates a target inspection result of the file to be inspected based on the first inspection result and the second inspection result.

2. The method according to claim 1, characterized in that The step of inputting the file to be inspected into the inspection agent group includes: Obtain the type corresponding to the file to be checked; Selecting a target inspection agent group that matches the type from a plurality of inspection agent groups; The document to be inspected is input into the target inspection agent group.

3. The method according to claim 2, characterized in that Before selecting a target inspection agent group matching the type from a plurality of inspection agent groups, the method further includes: Create an inspection agent group for inspecting files of resource configuration types in the early stages of operation and maintenance management; Create an inspection agent group for inspecting files of the operation and maintenance management mid-term service deployment type; Create an inspection agent group for inspecting files of the operation and maintenance management post-service operation log type.

4. The method according to claim 1, wherein The locally checking the plurality of function text blocks to obtain a second checking result includes: Checking the relationship between the plurality of functional text blocks to obtain a text block relationship check result, and checking the text in each functional text block to obtain a text block check result corresponding to each functional text block; The text block relationship check result and the text block check result corresponding to each functional text block are integrated to generate the second check result.

5. The method according to claim 4, characterized in that The text in each functional text block is checked to obtain a text block check result corresponding to each functional text block, including: generating inspection tasks corresponding to the plurality of functional text blocks respectively; The inspection tasks corresponding to the multiple functional text blocks are executed in parallel to achieve parallel inspection of the texts in the multiple functional text blocks.

6. The method according to claim 1, characterized in that Generating, by the leading agent, a target inspection result of the file to be inspected based on the first inspection result and the second inspection result, includes: Integrating the first inspection result and the second inspection result by the leading agent to generate an integrated result, and analyzing the integrated result to generate a target inspection result for the file to be inspected; After the leading agent generates a target inspection result of the file to be inspected based on the first inspection result and the second inspection result, the method further includes: Outputting the target inspection result; Operation and maintenance management is performed based on the target inspection results.

7. The method according to claim 6, characterized in that The operation and maintenance management based on the target inspection result includes: If the file to be checked is of resource configuration type and the target inspection result indicates that the inspection has passed, then the resource configuration operation is performed; If the file to be checked is of a service deployment type and the target inspection result indicates that the inspection has passed, then executing the service deployment operation; If the file to be checked is of a service operation log type, script file modification information is generated based on the target inspection result, and the script file modification information is used to provide modification suggestions for the script file.

8. A data processing device, characterized in that: include: An input module is configured to input a document to be inspected into an inspection agent group, wherein the inspection agent group includes a leading agent and a functional agent, and the functional agent includes a text overall inspection agent and a text block inspection agent; an inspection module configured to perform a global inspection of the text in the document to be inspected by the overall text inspection agent to obtain a first inspection result, and to divide the text in the document to be inspected into blocks according to function by the text block inspection agent to obtain a plurality of functional text blocks, and to perform a local inspection on the plurality of functional text blocks to obtain a second inspection result; A generation module is configured to generate a target inspection result of the file to be inspected based on the first inspection result and the second inspection result through the leading agent.

9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more computer programs, which, when executed by the electronic device, enables the electronic device to implement the data processing method according to any one of claims 1 to 7.

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

Citation Information

Patent Citations

  • Rapid pathological image analysis method and device based on magnification alignment Transformer

    CN117333442A

  • Method and system for operating a fleet of vehicles

    US20220122011A1