CN114185502B - Log printing method, device, equipment and medium based on production line environment - Google Patents
Log printing method, device, equipment and medium based on production line environment Download PDFInfo
- Publication number
- CN114185502B CN114185502B CN202111536839.3A CN202111536839A CN114185502B CN 114185502 B CN114185502 B CN 114185502B CN 202111536839 A CN202111536839 A CN 202111536839A CN 114185502 B CN114185502 B CN 114185502B
- Authority
- CN
- China
- Prior art keywords
- abnormal
- log
- production line
- server
- plug
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3013—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1222—Increasing security of the print job
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
- G06F3/1234—Errors handling and recovery, e.g. reprinting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1287—Remote printer device, e.g. being remote from client or server via internet
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the field of big data, and provides a log printing method, device, equipment and medium based on a production line environment, which can identify abnormal points and an abnormal server when monitoring that a production line operation log is abnormal, establish connection with the abnormal server to acquire a process, screen a target process according to the abnormal points, ensure that an accurate process is acquired through secondary screening, and conduct log printing in a targeted manner, bind a log printing plug-in unit with the target process, conduct log printing based on the log printing plug-in unit when executing the target process, and further realize dynamic printing of the log in the production line environment by combining a self-constructed plug-in unit and a mode of dynamically starting the abnormal server, avoid modification in an original code, avoid abnormal operation of the production line caused by misoperation, and conduct log printing in a targeted manner while guaranteeing the stability of the production line operation environment. In addition, the present invention relates to blockchain technology, and the log printing plug-in can be stored in a blockchain node.
Description
Technical Field
The invention relates to the technical field of big data, in particular to a log printing method, device, equipment and medium based on a production line environment.
Background
In a production line environment, in order to ensure the normal operation of the whole production line, it is often necessary to suddenly check a key node of a certain problem, locate a specific code in a line, or perform log printing when the content of a certain object needs to be checked.
However, in an actual scenario, the objects are often not printed in the log, so that the printed log needs to be checked by modifying the code and adding the log for printing, and then sequentially performing functions of packaging, deployment, verification and the like.
In the above solution, the whole process consumes a long time, and is cumbersome to operate and inconvenient to perform. In addition, the error rate is higher because the original code is modified, and the original operation logic of the production line is easy to be adversely affected.
Disclosure of Invention
In view of the above, it is necessary to provide a log printing method, device, equipment and medium based on production line environment, which aims to solve the problems of high printing error rate and complex operation of production line running log.
A production line environment-based log printing method, the production line environment-based log printing method comprising:
Monitoring a production line operation log, and identifying abnormal points and an abnormal server when the production line operation log is monitored to be abnormal;
Establishing connection with the abnormal server;
after the connection is successful, acquiring the process of the abnormal server, and screening a target process from the acquired processes according to the abnormal points;
acquiring a pre-configured log printing plug-in, and binding the log printing plug-in and the target process;
And after the binding is successful, when the target process is executed, performing log printing based on the log printing plug-in.
According to a preferred embodiment of the present invention, the identifying outliers and outlier servers includes:
identifying an abnormal class Exception from the production line operation log, acquiring a function corresponding to the class Exception as the abnormal point, and acquiring a server corresponding to the abnormal point as the abnormal server; and/or
Displaying the production line operation log, and collecting voice input by a user to obtain a first voice instruction; identifying the first voice instruction to obtain a file to be printed in the production line operation log; displaying a sub-file list in the file to be printed, and collecting the voice input by the user to obtain a second voice instruction; identifying the second voice instruction to obtain a subfile to be printed in the subfile list; displaying all functions in the subfiles to be printed, and collecting the voice input by the user to obtain a third voice instruction; identifying the third voice instruction, obtaining functions to be printed in all the functions, and taking the functions as the abnormal points; and acquiring a server corresponding to the abnormal point as the abnormal server.
According to a preferred embodiment of the present invention, the establishing a connection with the anomaly server includes:
starting a pre-configured dynamic webpage and acquiring a permission list of the dynamic webpage, wherein the permission list is used for storing a corresponding relation between a server capable of establishing dynamic connection and a server IP;
acquiring the IP of the abnormal server, and inquiring in the authority list by utilizing the IP of the abnormal server;
When the IP of the abnormal server is inquired in the authority list, determining that the abnormal server has dynamic connection authority;
And connecting to the abnormal server based on the IP of the abnormal server.
According to a preferred embodiment of the present invention, the process of obtaining the exception server, and the screening the target process from the obtained processes according to the exception point includes:
Acquiring the progress of the abnormal server by adopting a progress query command ps-ef command;
acquiring function names of functions corresponding to the abnormal points;
and determining the process associated with the function name in the processes of the abnormal server as the target process.
According to a preferred embodiment of the present invention, the binding the log print plug-in and the target process includes:
obtaining the PID of the target process;
Determining the PID of the target process as an entry of a process connection function, and connecting to a target application corresponding to the target process;
Obtaining the plug-in name of the log printing plug-in;
And determining the plug-in name of the log printing plug-in as the participation of a plug-in loading function, and loading the log printing plug-in to the target application.
According to a preferred embodiment of the present invention, the log printing based on the log printing plug-in includes:
Acquiring an agent method and a printing method from the log printing plug-in;
Starting a virtual machine container corresponding to the abnormal server;
executing the proxy method and the printing method in the virtual machine container to obtain a target class;
acquiring an initial class corresponding to the target class, and replacing the initial class by the target class;
and executing the target class, and performing log printing.
According to a preferred embodiment of the present invention, after log printing based on the log printing plug-in, the method further includes:
When the abnormal point is detected to be updated, acquiring the updated abnormal point as a newly added abnormal point;
Obtaining the function name of the function corresponding to the newly added abnormal point as a newly added function name;
inquiring a process associated with the newly added function name from the obtained process and taking the process as a newly added process;
binding the log printing plug-in and the newly added process.
A production line environment-based log printing device, the production line environment-based log printing device comprising:
the monitoring unit is used for monitoring the production line operation log, and identifying abnormal points and abnormal servers when monitoring that the production line operation log is abnormal;
The establishing unit is used for establishing connection with the abnormal server;
The screening unit is used for acquiring the process of the abnormal server after the connection is successful and screening a target process from the acquired processes according to the abnormal points;
The binding unit is used for acquiring a pre-configured log printing plug-in and binding the log printing plug-in and the target process;
and the printing unit is used for carrying out log printing based on the log printing plug-in when the target process is executed after the binding is successful.
A computer device, the computer device comprising:
A memory storing at least one instruction; and
And the processor executes the instructions stored in the memory to realize the log printing method based on the production line environment.
A computer-readable storage medium having stored therein at least one instruction for execution by a processor in a computer device to implement the production line environment based log printing method.
According to the technical scheme, the production line operation log can be monitored, when the production line operation log is monitored to be abnormal, an abnormal point and an abnormal server are identified, connection is established with the abnormal server, after the connection is successful, the process of the abnormal server is obtained, a target process is screened out from the obtained process according to the abnormal point, the process of the abnormal server is subjected to secondary screening so as to ensure that an accurate process is obtained, so that log printing is performed in a targeted manner later, a preconfigured log printing plug-in is obtained, the log printing plug-in is bound with the target process, and after the log printing plug-in is bound successfully, the log printing is performed based on the log printing plug-in when the target process is executed, and then the dynamic printing of the log under the production line environment is realized by combining with the self-built plug-in and dynamic starting of the abnormal server, modification in an original code is not needed, the production line operation abnormality caused by misoperation is avoided, and the log printing is performed in a targeted manner while the stability of the production line operation environment is ensured.
Drawings
FIG. 1 is a flow chart of a log printing method based on a production line environment according to a preferred embodiment of the present invention.
FIG. 2 is a functional block diagram of a log printing device according to a preferred embodiment of the present invention based on a production line environment.
Fig. 3 is a schematic structural diagram of a computer device according to a preferred embodiment of the present invention for implementing a log printing method based on a production line environment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a log printing method based on the production line environment according to a preferred embodiment of the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The log printing method based on the production line environment is applied to one or more computer devices, wherein the computer devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware of the computer devices comprises, but is not limited to, microprocessors, application SPECIFIC INTEGRATED Circuits (ASICs), programmable gate arrays (Field-Programmable GATE ARRAY, FPGA), digital processors (DIGITAL SIGNAL processors, DSPs), embedded devices and the like.
The computer device may be any electronic product that can interact with a user in a human-computer manner, such as a Personal computer, a tablet computer, a smart phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a game console, an interactive internet protocol television (Internet Protocol Television, IPTV), a smart wearable device, etc.
The computer device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Wherein artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) is the theory, method, technique, and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend, and expand human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
S10, monitoring a production line operation log, and identifying abnormal points and an abnormal server when the production line operation log is monitored to be abnormal.
In this embodiment, the production line operation log is a log for recording the operation condition of the production line.
For example: through the production line operation log, the production line operation time, production line abnormality, execution conditions of each operation item and the like can be inquired.
Further, in the production line operation process, when an abnormality occurs, an abnormality prompt message is sent out, so that when the abnormality prompt message is monitored, it can be further determined that the production line operation log is monitored to be abnormal.
In at least one embodiment of the present invention, the identifying outliers and outlier servers includes:
identifying an abnormal class Exception from the production line operation log, acquiring a function corresponding to the class Exception as the abnormal point, and acquiring a server corresponding to the abnormal point as the abnormal server; and/or
Displaying the production line operation log, and collecting voice input by a user to obtain a first voice instruction; identifying the first voice instruction to obtain a file to be printed in the production line operation log; displaying a sub-file list in the file to be printed, and collecting the voice input by the user to obtain a second voice instruction; identifying the second voice instruction to obtain a subfile to be printed in the subfile list; displaying all functions in the subfiles to be printed, and collecting the voice input by the user to obtain a third voice instruction; identifying the third voice instruction, obtaining functions to be printed in all the functions, and taking the functions as the abnormal points; and acquiring a server corresponding to the abnormal point as the abnormal server.
Wherein, the Exception class is an abnormal class, and when the Exception class and the subclasses thereof appear, the abnormal operation of the production line is described.
In the embodiment, the abnormal point is automatically judged by combining the system and the abnormal point is input by the artificial voice, so that the accuracy of the identified abnormality can be further ensured, and the actual requirement is met.
S11, establishing connection with the abnormal server.
In at least one embodiment of the present invention, the establishing a connection with the anomaly server includes:
starting a pre-configured dynamic webpage and acquiring a permission list of the dynamic webpage, wherein the permission list is used for storing a corresponding relation between a server capable of establishing dynamic connection and a server IP;
acquiring the IP of the abnormal server, and inquiring in the authority list by utilizing the IP of the abnormal server;
When the IP of the abnormal server is inquired in the authority list, determining that the abnormal server has dynamic connection authority;
And connecting to the abnormal server based on the IP of the abnormal server.
In particular, HTTP (HyperTextTransferProtocol ) protocol, HTTPs (Hyper Text Transfer Protocol over SecureSocket Laye, hypertext transfer security protocol) protocol, or the like may be used to connect to the anomaly server, and the present invention is not limited to the type of protocol.
Through the implementation mode, the dynamic connection with the abnormal server can be realized based on the preconfigured dynamic webpage, so that the connection with the server is established only when needed according to the actual demand, and the system resource is effectively saved.
S12, after connection is successful, acquiring the process of the abnormal server, and screening a target process from the acquired processes according to the abnormal points.
It will be appreciated that the control of log printing can be performed on the exception server only after the connection is successful, otherwise it will not be performed.
In at least one embodiment of the present invention, the process of obtaining the exception server, and selecting a target process from the obtained processes according to the exception point includes:
Acquiring the progress of the abnormal server by adopting a progress query command ps-ef command;
acquiring function names of functions corresponding to the abnormal points;
and determining the process associated with the function name in the processes of the abnormal server as the target process.
The ps-ef command is a linux system command, and is used for querying a process running in a corresponding system or server and a process quantity.
Through the implementation mode, the process of the abnormal server is subjected to secondary screening so as to ensure that an accurate process is acquired, and log printing can be performed in a targeted mode later.
S13, acquiring a pre-configured log printing plug-in, and binding the log printing plug-in and the target process.
In this embodiment, the log printing plug-in is configured to run in a corresponding server to perform log printing.
Specifically, the log print plug-in may be in the form of a jar packet, for example: dynamic-print-log.jar.
Further, the log printing plug-in needs to be bound with the target process to execute printing of the running log of the target process.
In at least one embodiment of the present invention, the binding the log print plug-in with the target process includes:
Obtaining a PID (processID ) of the target process;
determining the PID of the target process as an entry of a process connection function Virturalkmachine/attach function, and connecting to a target application corresponding to the target process;
Obtaining the plug-in name of the log printing plug-in;
And determining the plug-in name of the log printing plug-in as the participation of a plug-in loading function Virturalkmachine.loadagent function, and loading the log printing plug-in to the target application.
For example: when the PID of the target process is the target ID, the target ID is transmitted to the Virturalkmachine.attribute function to obtain a Virturalkmachine.attribute, the Virturalkmachine.attribute is connected to a target application corresponding to the target process according to the Virturalkmachine.attribute, and further when the plug-in name of the log printing plug-in is dynamic-print-log.jar, the dynamic-print-log.jar is transmitted to the Virturalkmachine.attribute function to obtain a Virturalkmachine.attribute ("dynamic-print-log.jar"), and the log printing plug-in is loaded to the target application according to the Virturalkmachine.attribute ("dynamic-print-log.jar") to realize the binding between the log printing plug-in and the target process.
The virturalmachine, attach function is a self-contained function of JDK (Java Development Kit ) and is used for establishing a connection with a process.
The virturalmachine.loadagent function is also a self-contained function of the JDK, and is used for loading the plug-in into a corresponding application program.
And S14, after the binding is successful, when the target process is executed, performing log printing based on the log printing plug-in.
In this embodiment, when no abnormal information is returned, it is indicated that the log printing plugin and the target process are successfully bound; and when abnormal information is returned, the log printing plug-in is successfully bound with the target process, and at the moment, the log printing plug-in can be bound again to ensure that log printing is normally executed.
In at least one embodiment of the present invention, the log printing based on the log printing plug-in includes:
Acquiring an agent method and a printing method from the log printing plug-in;
Starting a virtual machine container corresponding to the abnormal server;
executing the proxy method and the printing method in the virtual machine container to obtain a target class;
acquiring an initial class corresponding to the target class, and replacing the initial class by the target class;
and executing the target class, and performing log printing.
For example: the agentmain method (i.e., the proxy method) may be obtained from the log print plug-in dynamic-print-log.jar, and the print method associated with the agentmain method may be obtained at the same time, so that after the virtual machine container is started, the agentmain method and the print method may be executed, a new class may be generated and used as the target class, and further, an old class (i.e., the initial class) that is originally run may be replaced with the target class by using an instrumentation.
Wherein the virtual machine container may be a JVM (Java Virtual Machine ), the invention is not limited.
It can be appreciated that the environment of the production line has high requirements on the stability of the system, and if the running code is wrong, the normal running of the whole production line can be affected.
Through the embodiment, the method can combine the self-constructed plug-in and the mode of dynamically starting the abnormal server, realize the dynamic printing of the log in the production line environment, avoid modifying in the original code, avoid the abnormal operation of the production line caused by misoperation, and ensure the stability of the working environment of the production line and at the same time, carry out the targeted printing of the log.
Further, after log printing based on the log printing plug-in, the method further comprises:
When the abnormal point is detected to be updated, acquiring the updated abnormal point as a newly added abnormal point;
Obtaining the function name of the function corresponding to the newly added abnormal point as a newly added function name;
inquiring a process associated with the newly added function name from the obtained process and taking the process as a newly added process;
binding the log printing plug-in and the newly added process.
According to the embodiment, when the newly added abnormal point exists, the log printing is not needed to be executed again, and the log printing of the newly added abnormal point can be realized only by binding the function corresponding to the newly added abnormal point with the corresponding process, so that the printing efficiency is effectively improved, and meanwhile, the execution of the original log printing process is not influenced.
It should be noted that, in order to further improve the security of the data and avoid the data from being tampered maliciously, the log printing plug-in may be stored in the blockchain node.
According to the technical scheme, the production line operation log can be monitored, when the production line operation log is monitored to be abnormal, an abnormal point and an abnormal server are identified, connection is established with the abnormal server, after the connection is successful, the process of the abnormal server is obtained, a target process is screened out from the obtained process according to the abnormal point, the process of the abnormal server is subjected to secondary screening so as to ensure that an accurate process is obtained, so that log printing is performed in a targeted manner later, a preconfigured log printing plug-in is obtained, the log printing plug-in is bound with the target process, and after the log printing plug-in is bound successfully, the log printing is performed based on the log printing plug-in when the target process is executed, and then the dynamic printing of the log under the production line environment is realized by combining with the self-built plug-in and dynamic starting of the abnormal server, modification in an original code is not needed, the production line operation abnormality caused by misoperation is avoided, and the log printing is performed in a targeted manner while the stability of the production line operation environment is ensured.
FIG. 2 is a functional block diagram of a log printing device according to a preferred embodiment of the present invention based on a production line environment. The production line environment-based log printing device 11 includes a listening unit 110, a setting-up unit 111, a screening unit 112, a binding unit 113, and a printing unit 114. The module/unit referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and of performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
The monitoring unit 110 monitors the production line operation log, and when it is monitored that the production line operation log is abnormal, identifies an abnormal point and an abnormal server.
In this embodiment, the production line operation log is a log for recording the operation condition of the production line.
For example: through the production line operation log, the production line operation time, production line abnormality, execution conditions of each operation item and the like can be inquired.
Further, in the production line operation process, when an abnormality occurs, an abnormality prompt message is sent out, so that when the abnormality prompt message is monitored, it can be further determined that the production line operation log is monitored to be abnormal.
In at least one embodiment of the present invention, the monitoring unit 110 identifies an outlier and an outlier server includes:
identifying an abnormal class Exception from the production line operation log, acquiring a function corresponding to the class Exception as the abnormal point, and acquiring a server corresponding to the abnormal point as the abnormal server; and/or
Displaying the production line operation log, and collecting voice input by a user to obtain a first voice instruction; identifying the first voice instruction to obtain a file to be printed in the production line operation log; displaying a sub-file list in the file to be printed, and collecting the voice input by the user to obtain a second voice instruction; identifying the second voice instruction to obtain a subfile to be printed in the subfile list; displaying all functions in the subfiles to be printed, and collecting the voice input by the user to obtain a third voice instruction; identifying the third voice instruction, obtaining functions to be printed in all the functions, and taking the functions as the abnormal points; and acquiring a server corresponding to the abnormal point as the abnormal server.
Wherein, the Exception class is an abnormal class, and when the Exception class and the subclasses thereof appear, the abnormal operation of the production line is described.
In the embodiment, the abnormal point is automatically judged by combining the system and the abnormal point is input by the artificial voice, so that the accuracy of the identified abnormality can be further ensured, and the actual requirement is met.
The establishing unit 111 establishes a connection with the anomaly server.
In at least one embodiment of the present invention, the establishing unit 111 establishes a connection with the anomaly server includes:
starting a pre-configured dynamic webpage and acquiring a permission list of the dynamic webpage, wherein the permission list is used for storing a corresponding relation between a server capable of establishing dynamic connection and a server IP;
acquiring the IP of the abnormal server, and inquiring in the authority list by utilizing the IP of the abnormal server;
When the IP of the abnormal server is inquired in the authority list, determining that the abnormal server has dynamic connection authority;
And connecting to the abnormal server based on the IP of the abnormal server.
In particular, HTTP (HyperTextTransferProtocol ) protocol, HTTPs (Hyper Text Transfer Protocol over SecureSocket Laye, hypertext transfer security protocol) protocol, or the like may be used to connect to the anomaly server, and the present invention is not limited to the type of protocol.
Through the implementation mode, the dynamic connection with the abnormal server can be realized based on the preconfigured dynamic webpage, so that the connection with the server is established only when needed according to the actual demand, and the system resource is effectively saved.
After the connection is successful, the screening unit 112 acquires the process of the abnormal server, and screens out the target process from the acquired processes according to the abnormal point.
It will be appreciated that the control of log printing can be performed on the exception server only after the connection is successful, otherwise it will not be performed.
In at least one embodiment of the present invention, the filtering unit 112 obtains the process of the anomaly server, and filtering the target process from the obtained processes according to the anomaly point includes:
Acquiring the progress of the abnormal server by adopting a progress query command ps-ef command;
acquiring function names of functions corresponding to the abnormal points;
and determining the process associated with the function name in the processes of the abnormal server as the target process.
The ps-ef command is a linux system command, and is used for querying a process running in a corresponding system or server and a process quantity.
Through the implementation mode, the process of the abnormal server is subjected to secondary screening so as to ensure that an accurate process is acquired, and log printing can be performed in a targeted mode later.
The binding unit 113 acquires a log print plug-in configured in advance, and binds the log print plug-in with the target process.
In this embodiment, the log printing plug-in is configured to run in a corresponding server to perform log printing.
Specifically, the log print plug-in may be in the form of a jar packet, for example: dynamic-print-log.jar.
Further, the log printing plug-in needs to be bound with the target process to execute printing of the running log of the target process.
In at least one embodiment of the present invention, the binding unit 113 binds the log print plug-in with the target process includes:
Obtaining a PID (processID ) of the target process;
determining the PID of the target process as an entry of a process connection function Virturalkmachine/attach function, and connecting to a target application corresponding to the target process;
Obtaining the plug-in name of the log printing plug-in;
And determining the plug-in name of the log printing plug-in as the participation of a plug-in loading function Virturalkmachine.loadagent function, and loading the log printing plug-in to the target application.
For example: when the PID of the target process is the target ID, the target ID is transmitted to the Virturalkmachine.attribute function to obtain a Virturalkmachine.attribute, the Virturalkmachine.attribute is connected to a target application corresponding to the target process according to the Virturalkmachine.attribute, and further when the plug-in name of the log printing plug-in is dynamic-print-log.jar, the dynamic-print-log.jar is transmitted to the Virturalkmachine.attribute function to obtain a Virturalkmachine.attribute ("dynamic-print-log.jar"), and the log printing plug-in is loaded to the target application according to the Virturalkmachine.attribute ("dynamic-print-log.jar") to realize the binding between the log printing plug-in and the target process.
The virturalmachine, attach function is a self-contained function of JDK (Java Development Kit ) and is used for establishing a connection with a process.
The virturalmachine.loadagent function is also a self-contained function of the JDK, and is used for loading the plug-in into a corresponding application program.
After the binding is successful, the printing unit 114 performs log printing based on the log printing plug-in when executing the target process.
In this embodiment, when no abnormal information is returned, it is indicated that the log printing plugin and the target process are successfully bound; and when abnormal information is returned, the log printing plug-in is successfully bound with the target process, and at the moment, the log printing plug-in can be bound again to ensure that log printing is normally executed.
In at least one embodiment of the present invention, the printing unit 114 performs log printing based on the log printing plug-in includes:
Acquiring an agent method and a printing method from the log printing plug-in;
Starting a virtual machine container corresponding to the abnormal server;
executing the proxy method and the printing method in the virtual machine container to obtain a target class;
acquiring an initial class corresponding to the target class, and replacing the initial class by the target class;
and executing the target class, and performing log printing.
For example: the agentmain method (i.e., the proxy method) may be obtained from the log print plug-in dynamic-print-log.jar, and the print method associated with the agentmain method may be obtained at the same time, so that after the virtual machine container is started, the agentmain method and the print method may be executed, a new class may be generated and used as the target class, and further, an old class (i.e., the initial class) that is originally run may be replaced with the target class by using an instrumentation.
Wherein the virtual machine container may be a JVM (Java Virtual Machine ), the invention is not limited.
It can be appreciated that the environment of the production line has high requirements on the stability of the system, and if the running code is wrong, the normal running of the whole production line can be affected.
Through the embodiment, the method can combine the self-constructed plug-in and the mode of dynamically starting the abnormal server, realize the dynamic printing of the log in the production line environment, avoid modifying in the original code, avoid the abnormal operation of the production line caused by misoperation, and ensure the stability of the working environment of the production line and at the same time, carry out the targeted printing of the log.
Further, after log printing is performed based on the log printing plug-in, when the abnormal point is detected to be updated, the updated abnormal point is obtained to be used as a newly added abnormal point;
Obtaining the function name of the function corresponding to the newly added abnormal point as a newly added function name;
inquiring a process associated with the newly added function name from the obtained process and taking the process as a newly added process;
binding the log printing plug-in and the newly added process.
According to the embodiment, when the newly added abnormal point exists, the log printing is not needed to be executed again, and the log printing of the newly added abnormal point can be realized only by binding the function corresponding to the newly added abnormal point with the corresponding process, so that the printing efficiency is effectively improved, and meanwhile, the execution of the original log printing process is not influenced.
It should be noted that, in order to further improve the security of the data and avoid the data from being tampered maliciously, the log printing plug-in may be stored in the blockchain node.
According to the technical scheme, the production line operation log can be monitored, when the production line operation log is monitored to be abnormal, an abnormal point and an abnormal server are identified, connection is established with the abnormal server, after the connection is successful, the process of the abnormal server is obtained, a target process is screened out from the obtained process according to the abnormal point, the process of the abnormal server is subjected to secondary screening so as to ensure that an accurate process is obtained, so that log printing is performed in a targeted manner later, a preconfigured log printing plug-in is obtained, the log printing plug-in is bound with the target process, and after the log printing plug-in is bound successfully, the log printing is performed based on the log printing plug-in when the target process is executed, and then the dynamic printing of the log under the production line environment is realized by combining with the self-built plug-in and dynamic starting of the abnormal server, modification in an original code is not needed, the production line operation abnormality caused by misoperation is avoided, and the log printing is performed in a targeted manner while the stability of the production line operation environment is ensured.
Fig. 3 is a schematic structural diagram of a computer device according to a preferred embodiment of the present invention for implementing a log printing method based on a production line environment.
The computer device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program stored in the memory 12 and executable on the processor 13, such as a log printing program based on a production line environment.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, the computer device 1 may be a bus type structure, a star type structure, the computer device 1 may further comprise more or less other hardware or software than illustrated, or a different arrangement of components, for example, the computer device 1 may further comprise an input-output device, a network access device, etc.
It should be noted that the computer device 1 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
The memory 12 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, such as a removable hard disk of the computer device 1. The memory 12 may also be an external storage device of the computer device 1 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 may be used not only for storing application software installed in the computer apparatus 1 and various types of data, such as codes of a log printing program based on a production line environment, etc., but also for temporarily storing data that has been output or is to be output.
The processor 13 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, various control chips, and the like. The processor 13 is a Control Unit (Control Unit) of the computer apparatus 1, connects the respective components of the entire computer apparatus 1 using various interfaces and lines, executes various functions of the computer apparatus 1 and processes data by running or executing programs or modules stored in the memory 12 (for example, executing a log printing program based on a production line environment, etc.), and calls data stored in the memory 12.
The processor 13 executes the operating system of the computer device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps described above in various production line environment based log printing method embodiments, such as the steps shown in fig. 1.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a listening unit 110, a setup unit 111, a screening unit 112, a binding unit 113, a printing unit 114.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute portions of the production line environment-based log printing method according to the embodiments of the present invention.
The modules/units integrated in the computer device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may also be implemented by a computer program for instructing a relevant hardware device to implement all or part of the procedures of the above-mentioned embodiment method, where the computer program may be stored in a computer readable storage medium and the computer program may be executed by a processor to implement the steps of each of the above-mentioned method embodiments.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory, or the like.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain (Blockchain), essentially a de-centralized database, is a string of data blocks that are generated in association using cryptographic methods, each of which contains information from a batch of network transactions for verifying the validity (anti-counterfeit) of its information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The bus may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one straight line is shown in fig. 3, but not only one bus or one type of bus. The bus is arranged to enable a connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further comprise a power source (such as a battery) for powering the various components, preferably the power source may be logically connected to the at least one processor 13 via a power management means, whereby the functions of charge management, discharge management, and power consumption management are achieved by the power management means. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The computer device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described in detail herein.
Further, the computer device 1 may also comprise a network interface, optionally comprising a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the computer device 1 and other computer devices.
The computer device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
Fig. 3 shows only a computer device 1 with components 12-13, it being understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the computer device 1 and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement a production line environment based log printing method, the processor 13 being executable to implement:
Monitoring a production line operation log, and identifying abnormal points and an abnormal server when the production line operation log is monitored to be abnormal;
Establishing connection with the abnormal server;
after the connection is successful, acquiring the process of the abnormal server, and screening a target process from the acquired processes according to the abnormal points;
acquiring a pre-configured log printing plug-in, and binding the log printing plug-in and the target process;
And after the binding is successful, when the target process is executed, performing log printing based on the log printing plug-in.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The invention is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (9)
1. The log printing method based on the production line environment is characterized by comprising the following steps of:
Monitoring a production line operation log, and identifying abnormal points and an abnormal server when the production line operation log is monitored to be abnormal;
Establishing connection with the abnormal server;
after the connection is successful, acquiring the process of the abnormal server, and screening a target process from the acquired processes according to the abnormal points;
acquiring a pre-configured log printing plug-in, and binding the log printing plug-in and the target process;
After successful binding, when the target process is executed, log printing is carried out based on the log printing plug-in;
Wherein, the identifying abnormal points and the abnormal server comprises:
identifying an abnormal class Exception from the production line operation log, acquiring a function corresponding to the class Exception as the abnormal point, and acquiring a server corresponding to the abnormal point as the abnormal server; and/or
Displaying the production line operation log, and collecting voice input by a user to obtain a first voice instruction; identifying the first voice instruction to obtain a file to be printed in the production line operation log; displaying a sub-file list in the file to be printed, and collecting the voice input by the user to obtain a second voice instruction; identifying the second voice instruction to obtain a subfile to be printed in the subfile list; displaying all functions in the subfiles to be printed, and collecting the voice input by the user to obtain a third voice instruction; identifying the third voice instruction, obtaining functions to be printed in all the functions, and taking the functions as the abnormal points; and acquiring a server corresponding to the abnormal point as the abnormal server.
2. The production line environment-based log printing method as set forth in claim 1, wherein the establishing connection with the anomaly server includes:
starting a pre-configured dynamic webpage and acquiring a permission list of the dynamic webpage, wherein the permission list is used for storing a corresponding relation between a server capable of establishing dynamic connection and a server IP;
acquiring the IP of the abnormal server, and inquiring in the authority list by utilizing the IP of the abnormal server;
When the IP of the abnormal server is inquired in the authority list, determining that the abnormal server has dynamic connection authority;
And connecting to the abnormal server based on the IP of the abnormal server.
3. The production line environment-based log printing method as set forth in claim 1, wherein the acquiring the process of the exception server and screening the target process from the acquired processes according to the exception point comprises:
Acquiring the progress of the abnormal server by adopting a progress query command ps-ef command;
acquiring function names of functions corresponding to the abnormal points;
and determining the process associated with the function name in the processes of the abnormal server as the target process.
4. The production line environment-based log printing method as set forth in claim 1, wherein the binding the log printing plug-in with the target process comprises:
obtaining the PID of the target process;
Determining the PID of the target process as a process connection function parameter, and connecting to a target application corresponding to the target process;
Obtaining the plug-in name of the log printing plug-in;
And determining the plug-in name of the log printing plug-in as the participation of a plug-in loading function, and loading the log printing plug-in to the target application.
5. The production line environment-based journal printing method as in claim 1 wherein the journal printing based on the journal printing plug-in comprises:
Acquiring an agent method and a printing method from the log printing plug-in;
Starting a virtual machine container corresponding to the abnormal server;
executing the proxy method and the printing method in the virtual machine container to obtain a target class;
acquiring an initial class corresponding to the target class, and replacing the initial class by the target class;
and executing the target class, and performing log printing.
6. The production line environment-based log printing method as set forth in claim 1, wherein after log printing based on the log printing plug-in, the method further comprises:
When the abnormal point is detected to be updated, acquiring the updated abnormal point as a newly added abnormal point;
Obtaining the function name of the function corresponding to the newly added abnormal point as a newly added function name;
inquiring a process associated with the newly added function name from the obtained process and taking the process as a newly added process;
binding the log printing plug-in and the newly added process.
7. A log printing device based on a production line environment, the log printing device based on the production line environment comprising:
the monitoring unit is used for monitoring the production line operation log, and identifying abnormal points and abnormal servers when monitoring that the production line operation log is abnormal;
The establishing unit is used for establishing connection with the abnormal server;
The screening unit is used for acquiring the process of the abnormal server after the connection is successful and screening a target process from the acquired processes according to the abnormal points;
The binding unit is used for acquiring a pre-configured log printing plug-in and binding the log printing plug-in and the target process;
the printing unit is used for carrying out log printing based on the log printing plug-in when the target process is executed after the binding is successful;
Wherein, the identifying abnormal points and the abnormal server comprises:
identifying an abnormal class Exception from the production line operation log, acquiring a function corresponding to the class Exception as the abnormal point, and acquiring a server corresponding to the abnormal point as the abnormal server; and/or
Displaying the production line operation log, and collecting voice input by a user to obtain a first voice instruction; identifying the first voice instruction to obtain a file to be printed in the production line operation log; displaying a sub-file list in the file to be printed, and collecting the voice input by the user to obtain a second voice instruction; identifying the second voice instruction to obtain a subfile to be printed in the subfile list; displaying all functions in the subfiles to be printed, and collecting the voice input by the user to obtain a third voice instruction; identifying the third voice instruction, obtaining functions to be printed in all the functions, and taking the functions as the abnormal points; and acquiring a server corresponding to the abnormal point as the abnormal server.
8. A computer device, the computer device comprising:
A memory storing at least one instruction; and
A processor executing instructions stored in the memory to implement the production line environment-based log printing method of any one of claims 1 to 6.
9. A computer-readable storage medium, characterized by: the computer-readable storage medium has stored therein at least one instruction that is executed by a processor in a computer device to implement the production line environment-based log printing method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111536839.3A CN114185502B (en) | 2021-12-15 | 2021-12-15 | Log printing method, device, equipment and medium based on production line environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111536839.3A CN114185502B (en) | 2021-12-15 | 2021-12-15 | Log printing method, device, equipment and medium based on production line environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114185502A CN114185502A (en) | 2022-03-15 |
CN114185502B true CN114185502B (en) | 2024-05-14 |
Family
ID=80544020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111536839.3A Active CN114185502B (en) | 2021-12-15 | 2021-12-15 | Log printing method, device, equipment and medium based on production line environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114185502B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116991341B (en) * | 2023-09-22 | 2024-01-02 | 美恒通智能电子(广州)股份有限公司 | An intelligent printing equipment management system and method based on the Internet of Things |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402835A (en) * | 2017-07-25 | 2017-11-28 | 广东欧珀移动通信有限公司 | Abnormality eliminating method, device and the storage medium and mobile terminal of application program |
CN108683562A (en) * | 2018-05-18 | 2018-10-19 | 深圳壹账通智能科技有限公司 | Abnormality detection localization method, device, computer equipment and storage medium |
CN109165147A (en) * | 2018-08-10 | 2019-01-08 | 北京奇艺世纪科技有限公司 | Log print control program, device, system, back-end server and headend equipment |
CN110932918A (en) * | 2019-12-26 | 2020-03-27 | 远景智能国际私人投资有限公司 | Log data acquisition method and device and storage medium |
CN110995468A (en) * | 2019-11-13 | 2020-04-10 | 上海钧正网络科技有限公司 | System fault processing method, device, equipment and storage medium of system to be analyzed |
CN111371623A (en) * | 2020-03-13 | 2020-07-03 | 杨磊 | Service performance and safety monitoring method and device, storage medium and electronic equipment |
CN113467980A (en) * | 2020-03-30 | 2021-10-01 | 西安诺瓦星云科技股份有限公司 | Log output method, device and system and embedded equipment |
CN113704790A (en) * | 2021-08-31 | 2021-11-26 | 深圳壹账通智能科技有限公司 | Abnormal log information summarizing method and computer equipment |
-
2021
- 2021-12-15 CN CN202111536839.3A patent/CN114185502B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402835A (en) * | 2017-07-25 | 2017-11-28 | 广东欧珀移动通信有限公司 | Abnormality eliminating method, device and the storage medium and mobile terminal of application program |
CN108683562A (en) * | 2018-05-18 | 2018-10-19 | 深圳壹账通智能科技有限公司 | Abnormality detection localization method, device, computer equipment and storage medium |
CN109165147A (en) * | 2018-08-10 | 2019-01-08 | 北京奇艺世纪科技有限公司 | Log print control program, device, system, back-end server and headend equipment |
CN110995468A (en) * | 2019-11-13 | 2020-04-10 | 上海钧正网络科技有限公司 | System fault processing method, device, equipment and storage medium of system to be analyzed |
CN110932918A (en) * | 2019-12-26 | 2020-03-27 | 远景智能国际私人投资有限公司 | Log data acquisition method and device and storage medium |
CN111371623A (en) * | 2020-03-13 | 2020-07-03 | 杨磊 | Service performance and safety monitoring method and device, storage medium and electronic equipment |
CN113467980A (en) * | 2020-03-30 | 2021-10-01 | 西安诺瓦星云科技股份有限公司 | Log output method, device and system and embedded equipment |
CN113704790A (en) * | 2021-08-31 | 2021-11-26 | 深圳壹账通智能科技有限公司 | Abnormal log information summarizing method and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114185502A (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112256989B (en) | Page loading method, device, terminal equipment and storage medium based on offline package | |
CN112015663B (en) | Test data recording method, device, equipment and medium | |
CN112506559B (en) | Gray release method and device based on gateway, electronic equipment and storage medium | |
CN113542387B (en) | System release method and device, electronic equipment and storage medium | |
CN112579452A (en) | Software automation test method, device, equipment and storage medium | |
CN117608825A (en) | Resource management method based on multi-cloud management platform and related equipment | |
CN115964307B (en) | Automatic test method, device, equipment and medium for transaction data | |
CN114185502B (en) | Log printing method, device, equipment and medium based on production line environment | |
CN113923218B (en) | Distributed deployment method, device, equipment and medium for coding and decoding plug-in | |
CN113360375A (en) | Transaction testing method and device, electronic equipment and storage medium | |
CN116405332B (en) | Service request method, device, equipment and medium based on Nginx gateway | |
CN112667244A (en) | Data verification method, apparatus, electronic device and computer-readable storage medium | |
CN114826725A (en) | Data interaction method, device, equipment and storage medium | |
CN116414366B (en) | Middleware interface generation method, device, equipment and medium | |
CN115934576B (en) | Test case generation method, device, equipment and medium in transaction scene | |
CN113206878A (en) | Multi-terminal cluster networking communication control method and device, server and cluster networking | |
CN116306591B (en) | Flow form generation method, device, equipment and medium | |
CN114139199B (en) | Data desensitization methods, devices, equipment and media | |
CN114417195B (en) | Data processing method, device, equipment and medium based on two-dimension code | |
CN116414699B (en) | Operation and maintenance testing method, device, equipment and medium | |
CN113934387B (en) | Log printing method, device, electronic device and readable storage medium | |
CN118677943B (en) | Method, device, equipment and medium for controlling forwarding of abnormal messages of distributed system | |
CN116860508B (en) | Distributed system software defect continuous self-healing method, device, equipment and medium | |
CN118037453B (en) | Order processing method, device, equipment and medium of transaction system | |
CN114138378A (en) | Non-invasive current-limiting fusing method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |