CN113992537A - Log management method, system, equipment and storage medium for online transcoding - Google Patents
Log management method, system, equipment and storage medium for online transcoding Download PDFInfo
- Publication number
- CN113992537A CN113992537A CN202111247546.3A CN202111247546A CN113992537A CN 113992537 A CN113992537 A CN 113992537A CN 202111247546 A CN202111247546 A CN 202111247546A CN 113992537 A CN113992537 A CN 113992537A
- Authority
- CN
- China
- Prior art keywords
- log
- configuration
- transcoding
- content
- online
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a log management method, a system, equipment and a storage medium for online transcoding, wherein the method comprises the following steps: s100, dynamically and instantly updating the log custom attribute tag into a log configuration file applied to online transcoding of the audio and video terminal; s200: printing log source files of all online transcoding tasks, and separately storing log contents in the log source files through collection and filtration; s300: and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule. The invention realizes the user-defined management of the log content without interrupting the program by modifying the log configuration file outside the program and then replacing and updating the log configuration file in real time, and monitors the running condition of the program by using the user-defined displayed log content.
Description
Technical Field
The invention relates to the technical field of audio and video online transcoding, in particular to a log management method, a system, equipment and a storage medium for online transcoding.
Background
With the blowout type outbreak of the video industry in recent years, the demands of user groups on the definition, the time delay, the picture quality and the like of videos are higher and higher. On the premise of three-network integration and bandwidth acceleration, various types of video materials are created, and the video transmission occupies higher and higher amount.
The transcoding technology is to change the original audio and video coding mode by some technical means, such as compression, coding, encapsulation and other technologies, so as to realize smooth transmission of audio and video data in a streaming manner. The current transcoding technology is divided into two parts of content: and (4) encoding and decoding. The H264 coding technology enables a 1080p video to be transmitted and played smoothly under a code stream with a bandwidth of 4Mbps, and the resolution of D1 can be played smoothly under a bandwidth of 2 Mbps. With the increasing requirements of users on video quality, 4k coding technology is developed, however, for realizing stable playing of the 4k code stream of the H264 code, bandwidth requirements cannot be met in most occasions, so that an audio and video online transcoding technology is generated, thereby reducing bandwidth occupation, and enabling popularization and promotion of the 4k coding technology.
However, the existing audio/video online transcoding technology is not completely mature, so real-time monitoring is needed in the execution process, and usually technicians need to log in a server to check the running logs of each execution device one by one to analyze and judge the running states of the audio/video online transcoding technology, for example, the transcoding state, the alarm information, the operation records and other related logs of the execution devices, and then implement management operations on the logs through collection, retrieval, storage and other operations, however, the current log management has the following defects:
(1) the generated log is directly analyzed by log management operation, the content, printing interval, priority and the like of the log are preset, and corresponding change can be completed only by modifying background configuration codes and restarting the service, so that the log management operation is very inconvenient.
(2) After the logs of each execution device are directly generated according to the time sequence, the logs are not classified and adjusted, so that the logs of a certain operation need to be searched one by one.
(3) The logs of each execution device are not provided with priority configuration, the emphasis cannot be highlighted, and the logs are updated in real time, so that the important logs are easily covered by secondary logs generated in the subsequent process.
(4) Single language, unable to support internationalization.
Disclosure of Invention
In order to solve the above problems, embodiments of the present application provide a log management method, a system, a device, and a storage medium for online transcoding, so that the log configuration can be updated without interrupting a restart service during transcoding execution for an online transcoding application service, thereby facilitating custom management of a log during program execution, and further facilitating a monitoring terminal to monitor an operation condition of an online transcoding program according to custom-displayed log content.
In a first aspect, an embodiment of the present application provides a log management method for online transcoding, where the method includes:
s100, receiving a log configuration message applied to online transcoding of the audio and video terminal by using a visual interactive interface of a monitoring terminal, wherein the log configuration message carries a custom configuration of a log attribute tag, and dynamically and immediately updating the log custom attribute tag into a log configuration file applied to online transcoding of the audio and video terminal;
s200: receiving an online transcoding task sent by the audio and video terminal, and adding the online transcoding task into a current online transcoding task list; when various online transcoding tasks in the online transcoding task list are executed according to a time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration;
s300: displaying and configuring the log content by using a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to the display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
Further, in step S100, the method for dynamically and instantly updating the log custom attribute tag into the log configuration file of the audio/video terminal online transcoding application includes:
presetting a current log configuration file and a configuration file to be updated, and acquiring the log content of the audio and video terminal online transcoding application through the current log configuration file; and acquiring the log configuration message sent by the monitoring terminal through the configuration file to be updated, inputting the updating content in the log configuration message into the configuration file to be updated, generating a new log configuration file, replacing the current log configuration file, and forming a new current log configuration file.
Further, in step S100, the log configuration message carries a custom configuration for the log attribute tag, which includes a printing interval, a level attribute, an alarm preset, and a description content, and the log configuration file is dynamically updated on line in real time by configuring the attribute tag of the log content in a custom manner.
Further, before the step S200, a preset custom memory space is further included, where the custom memory space includes a plurality of memory intervals, each memory interval is preset with a memory rule, and log content in a log source file is collected and filtered according to the memory rule for storage.
Further, in step S300, the method for displaying and configuring the log content includes: classifying the log contents based on the separately stored log contents, and storing the log contents in different storage intervals according to different categories; the classification of the log content includes, but is not limited to, user operation, transcoding task alarm, device performance alarm.
Further, in the step S300, the method for performing the reminding processing on the log content triggering the alarm rule includes setting an alarm set-top, automatically setting the display configuration of the log content when the log content pre-displayed according to the time sequence triggers the alarm rule, stopping printing the log content with the same attribute, and canceling the set-top after the alarm is eliminated.
Further, in step S300, the displaying and configuring the log content further includes language selection and configuration, a plurality of language log configuration files are preset, the language selection for the displaying interface is received by using the visual interactive interface, the log configuration file of the selected language is automatically read, and the log displaying information of the corresponding language is output.
In a second aspect, an embodiment of the present application provides a log management system for online transcoding, where the system includes:
the log configuration module is configured to receive a log configuration message applied to online transcoding of the audio and video terminal by using a visual interactive interface of the monitoring terminal, wherein the log configuration message carries a custom configuration for a log attribute tag, and the log custom attribute tag is dynamically and immediately updated into a log configuration file applied to online transcoding of the audio and video terminal;
the log acquisition module is configured to receive an online transcoding task sent by the audio and video terminal and add the online transcoding task to a current online transcoding task list; when various online transcoding tasks in the online transcoding task list are executed according to a time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration;
the log display module is configured to display and configure log contents by utilizing a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to the display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
In a third aspect, an embodiment of the present application provides a computing device, including:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the log management method of online transcoding of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing computer program code, which, when run on a computing device, causes the computing device to execute the log management method for online transcoding according to any one of the first aspects.
The technical solutions provided in the embodiments of the present application have at least the following technical effects:
1. due to the fact that the log configuration is updated in real time in the process of executing tasks by the transcoding program, the problems that normal operation of the whole program is affected and log packet loss is caused due to the fact that the log configuration needs to be interrupted in the program operation process are effectively solved, the purpose that monitoring can be achieved on the operation condition of program transcoding by conveniently checking log content through the monitoring terminal is achieved, professional requirements of operators are reduced through visual configuration, and labor cost is reduced.
2. Because the important log automatic top setting is adopted, when the alarm log reaches a certain frequency, the top setting is automatically carried out to remind a user to solve the problem, and the problem of the program is conveniently solved by the top setting log.
3. Due to the adoption of multi-language configuration, the operation of operators of different nationalities is facilitated, and the method is convenient to apply to different language areas.
Drawings
Fig. 1 is a flowchart of a log management method for online transcoding according to an embodiment of the present application;
fig. 2 is a block diagram of an apparatus structure of a log management method for online transcoding in an embodiment of the present application;
fig. 3 is a flowchart of a log management system for online transcoding according to a second embodiment of the present application.
Detailed Description
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Example one
The embodiment of the application provides a log management method for online transcoding, which comprises the following steps:
step S100, receiving a log configuration message applied to the on-line transcoding of the audio and video terminal by using a visual interactive interface of the monitoring terminal, wherein the log configuration message carries a custom configuration of a log attribute tag, and dynamically and immediately updating the log custom attribute tag into a log configuration file applied to the on-line transcoding of the audio and video terminal.
Step S200: receiving an online transcoding task sent by an audio/video terminal, and adding the online transcoding task into a current online transcoding task list; when various online transcoding tasks in the online transcoding task list are executed according to a time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration;
step S300: displaying and configuring the log content by using a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
Before describing step S100, a brief description is given of the log content in the present embodiment, where the log content is a certain task that a certain operation user performs at a certain time, the attributes of the log content include an inherent attribute and a custom attribute, the inherent attribute represents data that is automatically generated by a certain program, and the custom attribute is a definition that is manually performed on each tag in the generated data. For example, the level attribute in a certain log content is "WARN", and the level attribute is a definition manually applied, so that a custom change can be made, such as changing the level attribute to "INFO"; for example, the number of times of using a certain task in the log content is an inherent attribute, and the program is automatically generated in the process of executing the task, but the task can be described and alarm rules can be set, so that the established monitoring can be achieved, and the log content is not checked item by item.
In step S100, a log configuration message for an online transcoding application of an audio/video terminal is received by using a visual interactive interface of a monitor terminal. Compared with the traditional log configuration technology, the log configuration information is directly written in the application program code, the log configuration information needs to be modified in the code packet of the application program every time the log configuration information is modified, and the service of the application program is restarted after the modification is completed, so that the whole program is interrupted and the log content is lost in the interruption stage. In this step S100, the method belonging to the log configuration and understood as data flow surrounds two parts, namely the server and the monitoring terminal. The log management method of the online transcoding is executed on the server, and the server executes corresponding operation according to a corresponding request of the monitoring terminal.
The log configuration message in this step carries the custom configuration of the log attribute tag. First, it is explained that the log content in this embodiment is an improvement of a log usage management method in the prior art, and is intended to monitor the execution state of the current program by performing statistical integration on the log content, so that the custom configuration on the log attribute tag in this embodiment can be understood as performing visual configuration on custom attributes such as a print interval, a level attribute, an alarm rule, task description content, and the like in the log content on the basis of the inherent attribute content of the log. Further explaining this embodiment, in step S100, the log configuration message carries a custom configuration for the log attribute, including a print interval, a level attribute, an alarm rule, and a description content, which are not limited to the log content, and the log configuration file is dynamically updated on line in real time by configuring the log attribute tag in a custom manner.
In step S100, the method for dynamically and instantly updating the custom attribute tag of the log content into the log configuration file of the audio/video terminal online transcoding application includes:
presetting a current log configuration file and a configuration file to be updated, and acquiring log content of the audio and video terminal online transcoding application through the current log configuration file; and acquiring a log configuration message sent by the monitoring terminal through the configuration file to be updated, inputting the update information in the log configuration message into the configuration file to be updated, generating a new log configuration file, replacing the current log configuration file, and forming a new current log configuration file.
Further, in step S100, the server includes a log configuration area, where the log configuration area includes two parts, a first part is a current log configuration area, so as to obtain log content of online transcoding of the audio/video terminal according to a log attribute tag of the current log configuration area; the second part is a log configuration area to be updated and is used for acquiring log configuration information of online transcoding application sent by the monitoring terminal, for example, a certain log alarm priority is set, after log attribute custom update is completed, a new log configuration file is formed, the new log configuration file is directly replaced and updated to the current log configuration area of the first part, and the original log configuration file is directly removed or discarded, so that the online transcoding application of the audio and video terminal realizes the update operation of the log configuration file in the online transcoding process, the code does not need to be modified, the online transcoding application program service does not need to be restarted, and the purpose of timely and dynamically updating the log configuration file is realized.
In step S100, the log configuration message carries a custom configuration for log attributes, including a printing interval, a level attribute, an alarm rule, and a description content, which are not limited to the log content, and the log configuration file is dynamically updated on line in real time by configuring the log attribute tag in a custom manner.
Further, the log configuration file of the execution area of the configuration file to be updated may be understood as a custom frame of log content, such as a user operation log { operation time, level, category, operation user, description }, where conventionally printed log content is shown in a dos interface in a time sequence as follows:
firstly, log configuration files cannot be visually displayed, and setting of log attributes needs professional technicians. In order to reduce the labor cost and facilitate the operation of the technician, in step S100, a visual log attribute configuration is adopted, and in one example, the log configuration file is printed out as the following table 1:
time of operation | Rank of | Categories | Operating user | Description of the invention |
2021-09-27 11:27:41 | Information | Task | Admin | Task test _ ly _ copy2 stopped being successful |
TABLE 1
In this step, the description content, printing interval and log level of the log can be dynamically modified. Of course, the basic fixed content attribute of the log is not changed, and the log content configured by the user-defined method mainly includes an area needing to be modified manually, for example, the level "WARN" is modified into "INFO", for example, the pre-warning is prefabricated, and alarm reminding occurs more than the threshold number of times, for example, the log is marked with color, is reminded by sound, or moves to a highlight area. Further illustratively, the log attribute tags updated in the log configuration file include: log expressions, such as expressions of alarm thresholds; the log printing interval can be adjusted for the logs which are circularly printed; adjust log levels such as ALL, RACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF. And when the audio and video terminal online transcoding application is applied in the execution process, the audio and video terminal online transcoding application can be printed and output according to the current log configuration file.
Step S200: receiving an online transcoding task sent by an audio/video terminal, and adding the online transcoding task into a current online transcoding task list; and when various online transcoding tasks in the online transcoding task list are executed according to the time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration.
The method comprises the steps of obtaining the log content printed by the audio and video terminal online transcoding application in the online transcoding task according to the current log configuration file, and screening and storing the log content according to the pre-storage configuration.
Before executing the step S200, a preset custom memory space is further included, where the custom memory space includes a plurality of memory intervals, each memory interval is preset with a memory rule, and log content in a log source file is collected and filtered according to the memory rule for storage.
Step S300: displaying and configuring the log content by using a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
In step S300, the method for configuring and displaying the log content includes: classifying the log contents based on the separately stored log contents, and storing the log contents in different storage intervals according to different categories; the classification of the log content includes, but is not limited to, user operation, transcoding task alarm, device performance alarm.
Therefore, with reference to step S200 and step S300, firstly, the log content printed by the audio/video terminal online transcoding application in the online transcoding task is obtained, and then in order to perform custom display on the log content, in this embodiment, in combination with classification of the log content, the printed log content is stored according to the storage rule, and before storage, the log content is collected, filtered and configured. Further, assuming that the storage interval is a database or an index library, a storage rule is preset for the storage interval, for example, only user operation is stored, or only log content related to device performance is stored, and certainly, the storage rule needs to be classified and stored according to actually printed log content.
The classified user operation in the embodiment comprises six types of tasks, templates, equipment, materials and log systems, and operation time, operators, operation contents and operation results are recorded; the transcoding task alarm records the starting time, the alarm type, the running state and the node of a single task; the device performance alarm records alarm information of each node device, including information of CPU, GPU, memory, storage, device online and offline and task migration; and each node device or transcoding engine reports logs through an HTTP interface and is uniformly processed by the cluster server.
In step S300, the method for performing the reminding processing on the log content triggering the alarm rule includes setting an alarm set-top, automatically setting the display configuration of the log content when the log content pre-displayed according to the time sequence triggers the alarm rule, stopping printing the log content with the same attribute, and canceling the set-top after the alarm is eliminated. That is, in the conventional log technology, in order to avoid that important warning information is ignored, it is necessary to repeat printing. When a problem is not handled for a period of time, a large number of duplicate logs may result. In this step, when important alarms (such as device memory usage exceeding 90%, task transcoding exception) are printed continuously more than 10 times within 5 minutes, the piece of information is set to the top. And simultaneously, the log is stopped from being printed, so that other logs are prevented from being shielded. The alarm problem is solved and the post-top information is automatically eliminated.
In step S300, the displaying and configuring the log content further includes language selection and configuration, a plurality of language log configuration files are preset, the language selection for the display interface is received by using the visual interactive interface, the log configuration file of the selected language is automatically read, and the log display information corresponding to the language is output. That is, in the conventional logging technology, the log information is hard-coded in the code, and it is difficult to internationalize. In this step, a plurality of configuration files in different languages are preset, and only the required parameter values are specified in the codes. And when detecting that the system language is changed, automatically reading the corresponding configuration file and outputting the log of the corresponding language.
Example two
The embodiment of the application provides a log management system for online transcoding, which comprises:
the log configuration module 100 is configured to receive a log configuration message applied to online transcoding of the audio/video terminal by using a visual interactive interface of the monitoring terminal, wherein the log configuration message carries a custom configuration for a log attribute tag, and dynamically and immediately updates the log custom attribute tag into a log configuration file applied to online transcoding of the audio/video terminal.
The log obtaining module 200 is configured to receive an online transcoding task sent by an audio/video terminal and add the online transcoding task to a current online transcoding task list; and when various online transcoding tasks in the online transcoding task list are executed according to the time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration.
The log display module 300 is configured to display and configure log contents by using a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
EXAMPLE III
An embodiment of the present application provides a computing device, including: a processor; a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the log management method of online transcoding of any of embodiments one.
The embodiment of the application provides a computer storage medium, wherein a computer program code is stored in the computer storage medium, and when the computer program code runs on a computing device, the computing device is caused to execute the log management method for online transcoding in the first embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A log management method for online transcoding, the method comprising:
s100, receiving a log configuration message applied to online transcoding of the audio and video terminal by using a visual interactive interface of a monitoring terminal, wherein the log configuration message carries a custom configuration of a log attribute tag, and dynamically and immediately updating the log custom attribute tag into a log configuration file applied to online transcoding of the audio and video terminal;
s200: receiving an online transcoding task sent by the audio and video terminal, and adding the online transcoding task into a current online transcoding task list; when various online transcoding tasks in the online transcoding task list are executed according to a time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration;
s300: displaying and configuring the log content by using a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to the display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
2. The log management method for on-line transcoding of claim 1, wherein in step S100, the method for dynamically and instantly updating the custom attribute tag of the log content into the log configuration file of the on-line transcoding application of the audio/video terminal comprises:
presetting a current log configuration file and a configuration file to be updated, and acquiring the log content of the audio and video terminal online transcoding application through the current log configuration file; and acquiring the log configuration message sent by the monitoring terminal through the configuration file to be updated, inputting the updating information in the log configuration message into the configuration file to be updated, generating a new log configuration file, replacing the current log configuration file, and forming a new current log configuration file.
3. The log management method for on-line transcoding as claimed in claim 1 or 2, wherein in the step S100, the log configuration message carries a custom configuration for log attributes, including a print interval, a level attribute, an alarm rule, and a description content, which are not limited to log content, and the log configuration file is dynamically updated on line through a custom configuration log attribute tag.
4. The log management method for on-line transcoding of claim 1, wherein before the step S200, a preset custom storage space is further included, the custom storage space includes a plurality of storage sections, a storage rule is preset in each storage section, and log content in the log source file is collected and filtered according to the storage rule for storage.
5. The log management method for on-line transcoding of claim 4, wherein in step S300, the method for performing display configuration on the log content comprises: classifying the log contents based on the separately stored log contents, and storing the log contents in different storage intervals according to different categories; the classification of the log content includes, but is not limited to, user operation, transcoding task alarm, device performance alarm.
6. The log management method of on-line transcoding of claim 1, wherein in the step S300, the method of performing the reminding processing on the log content triggering the alarm rule is that, by adopting the alarm set-top setting, when the log content pre-displayed according to the time sequence triggers the alarm rule, the display configuration of the log content is automatically set-top, the printing of the log content with the same attribute is stopped, and after the alarm is eliminated, the set-top is cancelled.
7. The log management method for on-line transcoding as claimed in claim 1, wherein in the step S300, the displaying and configuring of the log content further includes language selection and configuration, a plurality of language log configuration files are preset, the language selection for the displaying interface is received by using the visual interactive interface, the log configuration file of the selected language is automatically read, and the log displaying information corresponding to the language is output.
8. A log management system for online transcoding, the system comprising:
the log configuration module is configured to receive a log configuration message applied to online transcoding of the audio and video terminal by using a visual interactive interface of the monitoring terminal, wherein the log configuration message carries a custom configuration for a log attribute tag, and the log custom attribute tag is dynamically and immediately updated into a log configuration file applied to online transcoding of the audio and video terminal;
the log acquisition module is configured to receive an online transcoding task sent by the audio and video terminal and add the online transcoding task to a current online transcoding task list; when various online transcoding tasks in the online transcoding task list are executed according to a time sequence, the log source file of the various online transcoding tasks is printed, and the log content in the log source file is separately stored through collection and filtration;
the log display module is configured to display and configure log contents by utilizing a visual interactive interface of the monitoring terminal and a preset alarm rule; and extracting separately stored log contents according to the time sequence, displaying the log contents in real time according to the display configuration through the monitoring terminal, and performing reminding processing on the log contents triggering the alarm rule.
9. A computing device, comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the log management method of online transcoding of any of claims 1-8.
10. A computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform the log management method of online transcoding of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111247546.3A CN113992537B (en) | 2021-10-26 | 2021-10-26 | Log management method, system, equipment and storage medium for online transcoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111247546.3A CN113992537B (en) | 2021-10-26 | 2021-10-26 | Log management method, system, equipment and storage medium for online transcoding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113992537A true CN113992537A (en) | 2022-01-28 |
CN113992537B CN113992537B (en) | 2023-06-20 |
Family
ID=79741566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111247546.3A Active CN113992537B (en) | 2021-10-26 | 2021-10-26 | Log management method, system, equipment and storage medium for online transcoding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113992537B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702137A (en) * | 2013-12-23 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and system for generating statistic data during transcoding task processing |
CN105898554A (en) * | 2015-12-18 | 2016-08-24 | 乐视云计算有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
US20170220664A1 (en) * | 2016-02-01 | 2017-08-03 | Dell Software Inc. | Systems and methods for logging and categorizing performance events |
WO2019196158A1 (en) * | 2018-04-09 | 2019-10-17 | 网宿科技股份有限公司 | Transcoding task processing method and system, and task management server |
CN111782470A (en) * | 2020-06-30 | 2020-10-16 | 中国工商银行股份有限公司 | Distributed container log data processing method and device |
CN112306431A (en) * | 2020-11-03 | 2021-02-02 | 平安普惠企业管理有限公司 | Log information printing method, device, equipment and storage medium |
CN113391977A (en) * | 2021-06-18 | 2021-09-14 | 中国工商银行股份有限公司 | Log acquisition processing method and device |
CN113535529A (en) * | 2021-07-22 | 2021-10-22 | 中国银联股份有限公司 | Service log analysis method and device and computer readable storage medium |
-
2021
- 2021-10-26 CN CN202111247546.3A patent/CN113992537B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702137A (en) * | 2013-12-23 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and system for generating statistic data during transcoding task processing |
CN105898554A (en) * | 2015-12-18 | 2016-08-24 | 乐视云计算有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
US20170220664A1 (en) * | 2016-02-01 | 2017-08-03 | Dell Software Inc. | Systems and methods for logging and categorizing performance events |
WO2019196158A1 (en) * | 2018-04-09 | 2019-10-17 | 网宿科技股份有限公司 | Transcoding task processing method and system, and task management server |
CN111782470A (en) * | 2020-06-30 | 2020-10-16 | 中国工商银行股份有限公司 | Distributed container log data processing method and device |
CN112306431A (en) * | 2020-11-03 | 2021-02-02 | 平安普惠企业管理有限公司 | Log information printing method, device, equipment and storage medium |
CN113391977A (en) * | 2021-06-18 | 2021-09-14 | 中国工商银行股份有限公司 | Log acquisition processing method and device |
CN113535529A (en) * | 2021-07-22 | 2021-10-22 | 中国银联股份有限公司 | Service log analysis method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113992537B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10733079B2 (en) | Systems and methods for end-to-end testing of applications using dynamically simulated data | |
CN110086853A (en) | A kind of industry Internet of Things information visualization methods, server and storage medium | |
US11502930B2 (en) | Method and system for generating alerts using parameter based network monitoring for alert conditions | |
CN112084224B (en) | Data management method, system, equipment and medium | |
CN111339071A (en) | Method and device for processing multi-source heterogeneous data | |
CN105656699A (en) | Alarm management method and system for content distribution network | |
CN112306700A (en) | Abnormal RPC request diagnosis method and device | |
CN111198902A (en) | Metadata management method and device, storage medium and electronic equipment | |
CN113992537B (en) | Log management method, system, equipment and storage medium for online transcoding | |
CN111435327B (en) | Log record processing method, device and system | |
CN114257523B (en) | User perception prediction method, system, device and computer storage medium | |
CN113900902A (en) | Log processing method and device, electronic equipment and storage medium | |
CN114996080A (en) | Data processing method, device, equipment and storage medium | |
CN114841155A (en) | Intelligent theme content aggregation method and device, electronic equipment and storage medium | |
CN113407415A (en) | Log management method and device of intelligent terminal | |
CN115168297A (en) | Bypassing log auditing method and device | |
US9342804B2 (en) | Centralized work flow monitoring | |
CN109522340B (en) | Data statistical method, device and equipment | |
CN111966573B (en) | Automatic inspection method, device, storage medium and terminal | |
US11416187B2 (en) | Information processing system, information processing apparatus, and non-transitory computer readable medium | |
CN112243018B (en) | Content processing method, device and storage medium | |
CN116303262A (en) | Recommended information log landing method, device, equipment and storage medium | |
CN115017005A (en) | Method, device, storage medium and system for processing log data | |
CN114124509A (en) | Spark-based network abnormal flow detection method and system | |
CN117853136A (en) | Customer examination processing method and device |
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 |