A monitoring method and device of a printing apparatus, an electronic apparatus, and a storage medium

By scanning the status logs of the check-in printing equipment and automatically identifying anomalies using monitoring rules, the problem of self-service check-in equipment failing to detect issues in a timely manner has been solved. This has enabled timely alarms and efficient operation and maintenance, improving equipment reliability and passenger experience.

CN116225350BActive Publication Date: 2026-01-09TRAVELSKY TECHNOLOGY LIMITED
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310032778.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-10
Publication Date
2026-01-09
Estimated Expiration
2043-01-10

AI Technical Summary

Technical Problem

When self-service check-in and printing equipment malfunctions, it cannot be detected in time, causing the equipment to crash and affecting the passenger experience. Current technology relies on passenger feedback or periodic inspections, which is inefficient.

Method used

By scanning the current status log of the check-in printing equipment, the system uses pre-configured monitoring rules to determine if keywords exist, and sends statements containing keywords back to the monitoring management system to trigger alarm information, thus achieving automatic monitoring and timely alarm.

Benefits of technology

This improved operational efficiency, enabled timely detection of equipment malfunctions, reduced equipment downtime, and enhanced passenger experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116225350B_ABST
    Figure CN116225350B_ABST
Patent Text Reader

Abstract

The application discloses a kind of monitoring method and device of printing equipment, electronic equipment, storage medium, the method comprises: scanning the current state log of check-in printing equipment;Based on the pre-configured monitoring rule, judge whether there is the keyword in the current state log of check-in printing equipment in monitoring rule;If it is judged that there is the keyword in the current state log of check-in printing equipment in monitoring rule, each target sentence containing keyword in current state log is fed back to monitoring management system, to trigger monitoring management system to send the alarm information of check-in printing equipment.From to no longer wait for the feedback of passenger or the regular inspection of operation and maintenance personnel to find that check-in printing equipment appears failure, but by monitoring whether the keyword of relevant failure appears in the state log of check-in printing equipment, to know whether check-in printing equipment is abnormal, and also can send the alarm information of check-in printing equipment in time, and then effectively improve the efficiency of operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of airport departure technology, and particularly relates to a printing device monitoring method and device, electronic equipment and storage medium. BACKGROUND

[0002] With the continuous development of science and technology, the number of passengers choosing to travel by plane is increasing, and traditional manual check-in brings high labor costs and operating costs to airlines. Therefore, in order to save high labor costs and operating costs, self-service check-in is the main development direction.

[0003] In the existing technology, passengers can obtain their entire flight information on a self-service check-in device through a specific check-in voucher, and can also select their own seat and other processes according to the screen prompt information on the self-service check-in device to obtain their own boarding pass, thereby realizing self-service check-in.

[0004] However, since the self-service check-in device is operated by passengers themselves without management measures, when the self-service check-in device may have abnormalities (such as paper shortage, paper jam, etc.), it can only be discovered through feedback from passengers or regular inspection by maintenance personnel, thereby causing the self-service check-in device to be in a downtime state most of the time and affecting the passenger experience. SUMMARY

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a printing device monitoring method and device, electronic equipment and storage medium to solve the problem of being unable to timely discover abnormalities in the self-service check-in device.

[0006] In order to achieve the above-mentioned purpose, the present application provides the following technical solutions:

[0007] The first aspect of the present application provides a printing device monitoring method, comprising:

[0008] scanning a current state log of a check-in printing device;

[0009] judging whether there is a keyword in the monitoring rule in the current state log of the check-in printing device based on a pre-configured monitoring rule;

[0010] If it is judged that there is a keyword in the monitoring rule in the current state log of the check-in printing device, each target sentence containing the keyword in the current state log is fed back to a monitoring management system to trigger the monitoring management system to send alarm information of the check-in printing device.

[0011] Optionally, in the above-mentioned printing device monitoring method, before scanning the current state log of the check-in printing device, the method further comprises:

[0012] establish a connection between the target platform and the check-in printing device by using a specific protocol;

[0013] request the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length;

[0014] receive current state information fed back by the check-in printing device;

[0015] generate a current state log of the check-in printing device by using the current state information of the check-in printing device.

[0016] Optionally, in the method for monitoring the printing device, the scanning of the current state log of the check-in printing device comprises:

[0017] obtaining monitoring information of the check-in printing device; wherein the monitoring information at least comprises a log path and a log name of the check-in printing device;

[0018] based on the log path and the log name, searching for the current state log of the check-in printing device and scanning the current state log of the check-in printing device.

[0019] Optionally, in the method for monitoring the printing device, after the judging whether the keyword in the monitoring rule exists in the current state log of the check-in printing device based on the pre-configured monitoring rule, the method further comprises:

[0020] if it is judged that the keyword in the monitoring rule does not exist in the current state log of the check-in printing device, returning to execute the scanning of the current state log of the check-in printing device.

[0021] Optionally, in the method for monitoring the printing device, the feeding back of each target sentence containing the keyword in the current state log to the monitoring management system to trigger the monitoring management system to send the alarm information of the check-in printing device comprises:

[0022] extracting each key sentence containing the keyword from the current state log of the check-in printing device;

[0023] judging whether the character length of each key sentence is not less than a preset length;

[0024] if it is judged that the character length of the key sentence is not less than the preset length, truncating the character length after the keyword to obtain a target sentence of the check-in printing device;

[0025] If it is judged that the character length of the key sentence is less than the preset length, the key sentence is determined as a target sentence of the check-in printing device.

[0026] The target sentence of the check-in printing device is sent to a monitoring management system to trigger the monitoring management system to send alarm information of the check-in printing device.

[0027] The second aspect of the present application provides a monitoring device of a printing device, comprising:

[0028] A scanning unit is configured to scan a current state log of a check-in printing device.

[0029] A first judging unit is configured to judge whether there is a key word in the monitoring rule in the current state log of the check-in printing device based on a pre-configured monitoring rule.

[0030] A feedback unit is configured to feed each target sentence containing the key word in the current state log to a monitoring management system to trigger the monitoring management system to send alarm information of the check-in printing device if it is judged that there is the key word in the current state log of the check-in printing device.

[0031] Optionally, the monitoring device of the printing device further comprises:

[0032] A connecting unit is configured to establish a connection between a target platform and the check-in printing device by using a specific protocol.

[0033] A requesting unit is configured to request the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length.

[0034] A receiving unit is configured to receive current state information fed back by the check-in printing device.

[0035] A generating unit is configured to generate a current state log of the check-in printing device by using the current state information of the check-in printing device.

[0036] Optionally, the scanning unit of the monitoring device of the printing device comprises:

[0037] An obtaining unit is configured to obtain monitoring information of a check-in printing device, wherein the monitoring information at least includes a log path and a log name of the check-in printing device.

[0038] A searching unit is configured to search for a current state log of the check-in printing device based on the log path and the log name, and scan the current state log of the check-in printing device.

[0039] Optionally, in the monitoring device of the print equipment, further comprising:

[0040] The execution unit is configured to return to execute the scanning of the current state log of the reception print equipment if it is determined that the keyword in the monitoring rule does not exist in the current state log of the reception print equipment.

[0041] Optionally, in the monitoring device of the print equipment, the feedback unit comprises:

[0042] The extraction unit is configured to extract each key sentence in which the keyword exists from the current state log of the reception print equipment.

[0043] The second determination unit is configured to determine whether the character length of each key sentence is not less than a preset length.

[0044] The truncation unit is configured to truncate the character length after the keyword to obtain a target sentence of the reception print equipment if it is determined that the character length of the key sentence is not less than the preset length.

[0045] The determination unit is configured to determine the key sentence as a target sentence of the reception print equipment if it is determined that the character length of the key sentence is less than the preset length.

[0046] The sending unit is configured to send the target sentence of the reception print equipment to a monitoring management system to trigger the monitoring management system to send alarm information of the reception print equipment.

[0047] The third aspect of the present application provides an electronic device, comprising:

[0048] One or more processing devices;

[0049] A memory having one or more programs stored thereon;

[0050] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the monitoring method of the print equipment according to any one of the above.

[0051] The fourth aspect of the present application provides a computer storage medium for storing a computer program, which is executed to implement the monitoring method of the print equipment according to any one of the above.

[0052] The application provides a monitoring method of a printing device, which monitors whether the printing device is abnormal by printing a device log of the printing device. When a current state log of the printing device is scanned, whether a keyword in a monitoring rule exists in the current state log of the printing device is judged based on the monitoring rule. If the keyword in the monitoring rule exists in the current state log of the printing device, each target sentence containing the keyword in the current state log is fed back to a monitoring management system, so as to trigger the monitoring management system to send alarm information of the printing device. Therefore, the printing device failure can be found without waiting for feedback of passengers or regular inspection of an operation and maintenance personnel, but by monitoring whether the keyword of the related failure exists in the state log of the printing device, whether the printing device is abnormal can be known, and the alarm information of the printing device can be sent in time, so that the operation and maintenance efficiency is effectively improved. BRIEF DESCRIPTION OF DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor based on the provided drawings.

[0054] Figure 1 A flow chart of a monitoring method of a printing device provided by an embodiment of the present application;

[0055] Figure 2 A flow chart of a state log generation method provided by an embodiment of the present application;

[0056] Figure 3 A flow chart of a state log acquisition method provided by an embodiment of the present application;

[0057] Figure 4 A flow chart of a target sentence determination method provided by an embodiment of the present application;

[0058] Figure 5 A structural schematic diagram of a monitoring device of a printing device provided by another embodiment of the present application;

[0059] Figure 6 A structural schematic diagram of an electronic device provided by another embodiment of the present application. DETAILED DESCRIPTION

[0060] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of the present application.

[0061] In the present application, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or equipment including the element.

[0062] The monitoring method of the printing device provided by the embodiments of the present application comprises the steps of: Figure 1 As shown in the figure, the method comprises the following steps:

[0063] S101, scanning the current state log of the reception printing device.

[0064] Specifically, the operator will pre-deploy a state probe on the reception printing device to monitor the state of the reception printing device through the probe and scan the state log of the reception printing device to know whether the reception printing device has an abnormality. It should be noted that the probe needs to read the current state log of the reception printing device according to a certain interval frequency, for example, 1 time per 300 seconds.

[0065] Optionally, after scanning the current state log of the reception printing device, the current reading position of the log can also be recorded in real time to avoid repeated scanning of the read position when reading the state log of the reception printing device next time.

[0066] Optionally, in the embodiments of the present application, in order to know the device state of the reception printing device in time and to solve the abnormality of the reception printing device in time, as shown in the figure, Figure 2 Before step S101, the embodiments of the present application provide a state log generation method, comprising the following steps:

[0067] S201, connecting the target platform and the reception printing device by using a specific protocol.

[0068] Specifically, the target platform refers to a CUSS platform, where the CUSS platform refers to a platform software conforming to the CUSS standard of the IATA. The IATA refers to the International Air Transport Association, which is a large international organization composed of airlines around the world, and its main role is to coordinate and communicate policies between governments through air transport enterprises and to solve practical operation problems. The CUSS platform, as middleware between applications and hardware, is responsible for display management of applications, usage management of applications on hardware, and remote application and device management. The CUSS platform provides a way different from traditional handling of airport business procedures, and passengers can obtain better experience of one-stop services such as query, ticket booking, and boarding through the platform. Therefore, the check-in printing device needs to establish a connection with the target platform through a specific protocol first, and then passengers can experience one-stop services such as boarding pass printing and baggage tag printing through the check-in printing device.

[0069] S202, every interval of a preset time length, requesting the target platform to send a current state query instruction to the check-in printing device.

[0070] It should be noted that, in the embodiments of the present application, in order to know whether the check-in printing device fails or is about to have an abnormal situation (such as the printing paper will be empty), it is necessary to request the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length, so as to obtain the current state of the check-in printing device.

[0071] Specifically, the self-service check-in printing device of each airport and each airline of the airport needs to conform to the CUSS standard published by the International Air Transport Association. The printing device specified in the CUSS standard has 10 states, which are "MEDIA JAMMED" (paper jam), "MEDIA MISPLACED" (printing paper misplacement), "MEDIA_PRESENT" (data transmission), "MEDIA_ABSENT" (data loss), "MEDIA_HIGH" (excessive printing paper), "MEDIA_FULL" (printing paper full), "MEDIA_LOW" (printing paper will be empty), "MEDIA_EMPTY" (printing paper empty), "MEDIA_DAMAGED" (printing machine damaged), and "MEDIA_INCOMPLETELY_INSERTED" (printing paper not completely inserted).

[0072] S203, receiving the current state information fed back by the check-in printing device.

[0073] Specifically, when the reception printing device receives the current state query instruction sent by the target platform, the current state information sent by the reception printing device is received, so that the current state of the reception printing device is learned from the current state information subsequently.

[0074] S204, generating a current state log of the reception printing device by using the current state information of the reception printing device.

[0075] The current state log can include the current state and historical state information of the reception printing device.

[0076] Optionally, in another embodiment of the present application, another specific implementation of step S101 comprises the following steps as shown in the figure. Figure 3

[0077] S301, obtaining monitoring information of the reception printing device.

[0078] The monitoring information can include a log path and a log name of the reception printing device. The monitoring information can also include application basic information, a keyword, an alarm frequency, a scanning interval, an alarm mode, etc. Specifically, the monitoring management system can pre-configure the monitoring information and alarm information of the reception printing device, so that when the reception printing device is monitored subsequently, all information of the reception printing device can be learned from the monitoring information directly, thereby effectively improving the probe processing efficiency.

[0079] S302, finding a current state log of the reception printing device based on the log path and the log name, and scanning the current state log of the reception printing device.

[0080] It should be noted that in the embodiment of the present application, each reception printing device exists independently, and the state log of each reception printing device corresponds to a log path and a log name. Therefore, the probe needs to find the state log of the reception printing device to be monitored according to the log path and the log name of the reception printing device, so as to scan the state log of the reception printing device.

[0081] S102, judging whether the keyword in the monitoring rule exists in the current state log of the reception printing device based on the pre-configured monitoring rule.

[0082] ​It should be noted that in the embodiments of the present application, different devices are preconfigured with different monitoring rules, so that all possible keywords of the malfunction of the check-in printing device are configured in the monitoring rules, so it is not only to monitor whether the check-in printing device is abnormal, but also to directly know the malfunction reason of the check-in printing device, so that the processing efficiency of operation and maintenance can be effectively improved, so if it is judged that the keyword in the monitoring rule exists in the current state log of the check-in printing device, step S103 is executed.

[0083] Optionally, in the embodiments of the present application, after step S102, further comprising:

[0084] If it is judged that the keyword in the monitoring rule does not exist in the current state log of the check-in printing device, the current state log of the check-in printing device is returned to be scanned.

[0085] It should be noted that when it is judged that the keyword in the monitoring rule does not exist in the current state log of the check-in printing device, it indicates that the check-in printing device does not exist abnormal condition, and in the embodiments of the present application, the state log of the check-in printing device is newly generated every interval of a preset time length, so it is necessary to return to step S101 to continue to scan the newly generated current state log of the check-in printing device.

[0086] S103, each target sentence containing the keyword in the current state log is fed back to the monitoring management system to trigger the monitoring management system to send the alarm information of the check-in printing device.

[0087] The monitoring management system refers to the auxiliary tool for providing monitoring and management for the airport applications such as local backup, departure front end and self-service kiosk deployed by Haixing in the airport.

[0088] Specifically, after each target sentence containing the keyword in the current state log is fed back to the monitoring management system, the monitoring management system sends the alarm information of the check-in printing device according to the preconfigured alarm mode and alarm frequency. It should be noted that the alarm mode can include WEB, SMS and email, and the three alarm modes can be freely combined, wherein WEB means pop-up alarm on the airport application software monitoring management system. SMS means sending alarm information to relevant operation and maintenance personnel in the form of SMS through the SMS platform. Email means sending alarm information to relevant operation and maintenance personnel in the form of email through the email platform, wherein the relevant operation and maintenance contacts have been input in the SMS and email platforms in advance. Optionally, the alarm frequency can be 1 time in 30 minutes, and of course it can be other threshold frequency, which can be set according to the demand.

[0089] It should be further noted that the alarm information can include the abnormal condition and position information of the check-in printing device, so that the relevant operation and maintenance personnel can efficiently and quickly process the abnormal condition.

[0090] Alternatively, in another embodiment of the present application, another specific implementation of step S103 comprises the following steps as shown in the figure: Figure 4

[0091] S401, extracting each key sentence with a keyword from the current state log of the check-in printing device.

[0092] It should be noted that the current log of the check-in printing device contains a lot of application information related to the check-in printing device, but not all application information is a manifestation of a fault condition, so it is necessary to extract each key sentence with a keyword from the current state log of the check-in printing device to determine the cause of the failure of the check-in printing device.

[0093] S402, judging whether the character length of each key sentence is not less than a preset length.

[0094] It should be noted that considering that the character length of some key sentences may be too long, and longer key sentences may affect processing efficiency, as long as the key sentence contains a keyword, the character length of the key sentence is not less than the preset length, so in the embodiment of the present application, a character length is set in advance, and then it is judged whether the character length of the key sentence is not less than the preset length. If it is judged that the character length of the key sentence is not less than the preset length, step S403 is performed. If it is judged that the character length of the key sentence is less than the preset length, step S404 is performed.

[0095] S403, truncating the character length after the keyword to obtain the target sentence of the check-in printing device.

[0096] Specifically, for a key sentence not less than a preset length, the character length after the keyword is truncated, as long as the key sentence contains a keyword.

[0097] S404, determining the key sentence as the target sentence of the check-in printing device.

[0098] Specifically, when it is judged that the character length of the key sentence is less than the preset length, the key sentence can be directly sent to the monitoring management system for subsequent processing operation of the check-in printing device.

[0099] S405, sending the target sentence of the check-in printing device to the monitoring management system to trigger the monitoring management system to send the alarm information of the check-in printing device.

[0100] ​Specifically, in the implementation of the present application, the automatic fault alarm function can be realized through the monitoring management system, so that the maintenance personnel can timely maintain the malfunctioning check-in printing device, thereby ensuring the smooth operation of the airport. Alternatively, after the maintenance personnel handle the fault and the device is in normal operation, the state will be recorded in the state log, and the state will also be updated in the monitoring management system, so that each maintenance personnel can real-time control the state of the self-service check-in printing device, thereby reducing the maintenance cost and improving the maintenance efficiency.

[0101] The monitoring method of the printing device provided in the present application realizes the monitoring of whether the check-in printing device is abnormal through the device log of the check-in printing device. When the current state log of the check-in printing device is scanned, whether there is a keyword in the monitoring rule in the current state log is judged based on the pre-configured monitoring rule. If it is judged that there is a keyword in the current state log, each target sentence containing the keyword in the current state log is fed back to the monitoring management system, so as to trigger the monitoring management system to send the alarm information of the check-in printing device. Therefore, instead of waiting for the feedback of the passengers or the regular inspection of the maintenance personnel to find the fault of the check-in printing device, whether the check-in printing device is abnormal is known through whether the keyword of the related fault appears in the state log of the check-in printing device, and the alarm information of the check-in printing device can also be timely sent, thereby effectively improving the maintenance efficiency.

[0102] It should be noted that the flowcharts and block diagrams in the drawings illustrate the possible architectural, functional, and operational scenarios of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than those shown in the drawings. For example, two blocks that are shown in succession can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the involved functions. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0103] Although the operations are depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in a sequential order. In certain circumstances, multitasking and parallel processing can be advantageous.

[0104] Another embodiment of the present application provides a monitoring device of a printing device, as shown inFigure 5 as shown, comprising the following units:

[0105] The scanning unit 501 is configured to scan a current state log of the check-in printing device.

[0106] The first judging unit 502 is configured to judge whether there is a keyword in the monitoring rule in the current state log of the check-in printing device based on a pre-configured monitoring rule.

[0107] The feedback unit 503 is configured to feed each target sentence containing the keyword in the current state log to the monitoring management system to trigger the monitoring management system to send alarm information of the check-in printing device if it is judged that there is the keyword in the current state log of the check-in printing device.

[0108] It should be noted that the specific working process of the above-mentioned units in the embodiments of the present application can be correspondingly referred to steps S101-S103 in the above-mentioned method embodiments, which will not be repeated here.

[0109] Optionally, another embodiment of the present application provides a monitoring device for a printing device, further comprising:

[0110] The connection unit is configured to establish a connection between the target platform and the check-in printing device by using a specific protocol.

[0111] The request unit is configured to request the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length.

[0112] The receiving unit is configured to receive the current state information fed back by the check-in printing device.

[0113] The generating unit is configured to generate a current state log of the check-in printing device by using the current state information of the check-in printing device.

[0114] It should be noted that the specific working process of each unit provided by the above-mentioned embodiments of the present application can be correspondingly referred to the corresponding steps in the above-mentioned method embodiments, which will not be repeated here.

[0115] Optionally, another embodiment of the present application provides a monitoring device for a printing device, wherein the scanning unit 501 comprises:

[0116] The obtaining unit is configured to obtain monitoring information of the check-in printing device.

[0117] The monitoring information at least includes a log path and a log name of the check-in printing device.

[0118] The finding unit is configured to find the current state log of the check-in printing device based on the log path and the log name, and scan the current state log of the check-in printing device.

[0119] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can be correspondingly referred to the corresponding steps in the above method embodiments, which will not be described here.

[0120] Optionally, another embodiment of the present application provides a monitoring device of a printing device, further comprising:

[0121] The execution unit is configured to return to scan the current state log of the reception printing device if it is judged that the keyword in the monitoring rule does not exist in the current state log of the reception printing device.

[0122] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can be correspondingly referred to the corresponding steps in the above method embodiments, which will not be described here.

[0123] Optionally, another embodiment of the present application provides a monitoring device of a printing device, wherein the feedback unit 503 comprises:

[0124] The extraction unit is configured to extract each key sentence with the keyword from the current state log of the reception printing device.

[0125] The second judgment unit is configured to judge whether the character length of each key sentence is not less than a preset length.

[0126] The truncation unit is configured to truncate the character length after the keyword to obtain a target sentence of the reception printing device if it is judged that the character length of the key sentence is not less than the preset length.

[0127] The determination unit is configured to determine the key sentence as the target sentence of the reception printing device if it is judged that the character length of the key sentence is less than the preset length.

[0128] The sending unit is configured to send the target sentence of the reception printing device to the monitoring management system to trigger the monitoring management system to send alarm information of the reception printing device.

[0129] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can be correspondingly referred to the corresponding steps in the above method embodiments, which will not be described here.

[0130] Moreover, the functions of the various units described in the above embodiments can be performed at least in part by one or more hardware logic components. For example, and without limitation, an example type of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on a chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0131] Another embodiment of this application provides an electronic device, such as... Figure 6 The diagram illustrates a structural schematic of an electronic device 600 suitable for implementing embodiments of the present disclosure. The electronic device in these embodiments may include, but is not limited to, electronic devices such as desktop computers, laptops, tablets, and vehicle terminals.

[0132] like Figure 6 As shown, the electronic device 600 includes one or more processing devices 601, such as a central processing unit, a graphics processing unit, etc., and a memory 602 on which one or more programs are stored. When one or more programs are executed by one or more processing devices 601, the one or more processing devices 601 implement the data flow tracking method provided in any of the above embodiments.

[0133] Alternatively, the electronic device may also include other components, see also [reference needed]. Figure 6 The processing device 601, read-only memory 602, and random access memory 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604. Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays, speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tape, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although... Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0134] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed, implements a monitoring method for a printing device as provided in any of the above embodiments.

[0135] Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disks (DVDs) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information for access by a computing device. According to the definitions provided herein, computer readable media does not include transitory computer readable medium, such as a modulated data signal and a carrier wave.

[0136] Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality, without reference to a specific

[0137] The above description of disclosed embodiments provides examples, and is not intended to limit the scope, applicability or configuration of the application. Various modifications can be made to the disclosed embodiments, and other implementations are within the scope of the application. Accordingly, the disclosure of the embodiments is intended for purposes of illustration, of description, and not for purposes of limitation, of being exhaustive, or of showing every possible embodiment. Other options, modifications and implementations can occur to those skilled in the art upon reading the preceding specification, and the inclusion of a particular option, modification or implementation in the application should not be construed as excluding that option, modification or implementation form the scope of the application.

Claims

1. A monitoring method of a printing device, characterized by, The method comprises the following steps: connecting a target platform with a check-in printing device by using a specific protocol; requesting the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length; receiving current state information fed back by the check-in printing device; generating a current state log of the check-in printing device by using the current state information of the check-in printing device; scanning the current state log of the check-in printing device; judging whether there is a keyword in the monitoring rule in the current state log of the check-in printing device based on a preconfigured monitoring rule; if it is judged that there is the keyword in the current state log of the check-in printing device, feeding back each target sentence containing the keyword in the current state log to a monitoring management system to trigger the monitoring management system to send alarm information of the check-in printing device; wherein the feeding back each target sentence containing the keyword in the current state log to the monitoring management system to trigger the monitoring management system to send the alarm information of the check-in printing device comprises: extracting each key sentence containing the keyword from the current state log of the check-in printing device; judging whether the character length of each key sentence is not less than a preset length respectively; if it is judged that the character length of the key sentence is not less than the preset length, truncating the character length after the keyword to obtain a target sentence of the check-in printing device; if it is judged that the character length of the key sentence is less than the preset length, determining the key sentence as the target sentence of the check-in printing device; sending the target sentence of the check-in printing device to the monitoring management system to trigger the monitoring management system to send the alarm information of the check-in printing device.

2. The method of claim 1, wherein, The scanning the current state log of the check-in printing device comprises: obtaining monitoring information of the check-in printing device; wherein the monitoring information at least comprises a log path and a log name of the check-in printing device; based on the log path and the log name, finding the current state log of the check-in printing device and scanning the current state log of the check-in printing device.

3. The method of claim 1, wherein, After the judging whether there is the keyword in the monitoring rule in the current state log of the check-in printing device based on the preconfigured monitoring rule, the method further comprises: if it is judged that there is no keyword in the monitoring rule in the current state log of the check-in printing device, returning to execute the scanning the current state log of the check-in printing device.

4. A monitoring device of a printing apparatus, characterized by, The method comprises the following steps: a connecting unit is configured to connect a target platform with a check-in printing device by using a specific protocol; a requesting unit is configured to request the target platform to send a current state query instruction to the check-in printing device every interval of a preset time length; a receiving unit is configured to receive current state information fed back by the check-in printing device; a generating unit is configured to generate a current state log of the check-in printing device by using the current state information of the check-in printing device; a scanning unit is configured to scan the current state log of the check-in printing device; The first judging unit is configured to judge whether the keyword in the monitoring rule exists in the current state log of the reception and printing device based on the preconfigured monitoring rule; The feedback unit is configured to feed each target sentence containing the keyword in the current state log of the reception and printing device to a monitoring management system to trigger the monitoring management system to send alarm information of the reception and printing device if it is judged that the keyword in the monitoring rule exists in the current state log of the reception and printing device; The feedback unit comprises: The extraction unit is configured to extract each key sentence containing the keyword from the current state log of the reception and printing device; The second judging unit is configured to judge whether the character length of each key sentence is not less than a preset length respectively; The truncation unit is configured to truncate the character length after the keyword to obtain a target sentence of the reception and printing device if it is judged that the character length of the key sentence is not less than the preset length; The determination unit is configured to determine the key sentence as a target sentence of the reception and printing device if it is judged that the character length of the key sentence is less than the preset length; The sending unit is configured to send the target sentence of the reception and printing device to the monitoring management system to trigger the monitoring management system to send alarm information of the reception and printing device.

5. The apparatus of claim 4, wherein, The scanning unit comprises: The acquisition unit is configured to acquire monitoring information of the reception and printing device; wherein the monitoring information at least comprises a log path and a log name of the reception and printing device; The finding unit is configured to find the current state log of the reception and printing device based on the log path and the log name, and scan the current state log of the reception and printing device.

6. An electronic device, comprising: comprise: one or more processing devices; a memory having stored thereon one or more programs; when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the monitoring method of the reception and printing device according to any one of claims 1 to 3.

7. A computer storage medium, characterized in that A computer program for storing is executed to implement the monitoring method of the reception and printing device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Log-based keyword alarm method and device

    CN110245045A