Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network printing module and universal network printing system and method for system log

A technology of network printing and system log, applied in the direction of digital output to printing unit, input/output process of data processing, instruments, etc., can solve the problems of inability to find log information, inconvenience, and inability to sort log information in real time.

Pending Publication Date: 2020-10-30
SHENZHEN PROITAV TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This method of serial port printing log information has the following disadvantages: 1. When a problem occurs, the log information printed by the serial port will not be saved, so when the problem occurs, if it is not connected to the PC computer, then it cannot be found. The log information can only rely on reproducing the problem in the laboratory, which wastes a lot of manpower and material resources; 2. It is necessary to use a USB-to-serial port board to connect the MCU device and the PC computer, and some USB-to-serial port boards need to install the corresponding serial port driver on the PC computer The program is not convenient enough; 3. Each MCU needs to reserve a serial port. When there are multiple MCUs in the device, the number of USB-to-serial boards required will be very large, resulting in additional hardware costs and wasted wiring time; 4. The log information of each MCU cannot be sorted in real time, and it is inconvenient to view; 5. When viewing the log information, you need to remove the device cover and find the serial port corresponding to the MCU

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network printing module and universal network printing system and method for system log
  • Network printing module and universal network printing system and method for system log
  • Network printing module and universal network printing system and method for system log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Such as figure 1 As shown, a network printing module includes an interface unit, a network unit and a processing unit, the interface unit and the network unit are electrically connected to the processing unit, wherein

[0033] The interface unit is used to connect with each log output chip, so as to receive the log information output by each log output chip;

[0034] The processing unit is configured to process the log information received by the interface unit;

[0035] The network unit is used to upload the log information processed by the processing unit to a designated network port or WEB through the network.

[0036] The network printing module can receive the log information output by each log output chip in real time, and upload the received log information to the designated network port or WEB through network printing. The developer only needs to log in to the You can view each log information by specifying the network port or the IP address corresponding to t...

Embodiment 2

[0046] Such as figure 2 As shown, a general-purpose network printing system for system logs includes at least one log output chip and the network printing module described in Embodiment 1, and each log output chip is electrically connected to the network printing module to provide The network printing module outputs log information in real time.

[0047] Each log output chip can be a transmission chip, a codec chip, a main control chip, an audio and video processing chip, a communication chip, etc. according to its function in the MCU device, all of which are electrically connected to the network printing module through a UART bus.

[0048] Wherein, each log output chip may include but not limited to at least one of an MCU chip, a DSP chip, and an FPGA chip according to a technology type.

Embodiment 3

[0050] Such as image 3 As shown, a general-purpose network printing method of a system log includes the following steps:

[0051] Step 1: Receive log information output by each log output chip;

[0052] Step 2: Process the received log information;

[0053] Step 3: Upload the processed log information to the designated network port or WEB through the network.

[0054] Wherein, step 3 also includes: storing the processed log information locally.

[0055] Wherein, when processing each log information in step 2, time stamps are added to each log information according to the occurrence time of each log information, and each log information is sorted according to the time stamps.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a network printing module, and the module comprises an interface unit, a network unit and a processing unit; the interface unit and the network unit are electrically connectedto the processing unit, and the interface unit is used for being connected with log output chips so as to receive log information output by the log output chips. The processing unit is used for processing the log information received by the interface unit; and the network unit is used for uploading the log information processed by the processing unit to a specified network port or WEB through a network. The network printing module can print log information through a network, so that developers can check system logs conveniently, the development cost is reduced, and the development time is saved. The invention further discloses a universal network printing system and method for the system log.

Description

technical field [0001] The invention relates to single-chip microcomputer technology, in particular to a general-purpose network printing system and method for a network printing module and a system log. Background technique [0002] System log is a general term for the log information that records hardware, software, and system problems in the MCU device, and can monitor events that occur in the device. Users can check the cause of errors by viewing system logs, or look for traces left by attackers when they were attacked. [0003] Existing MCU devices generally output log information to PC computers through serial port printing, by reserving a serial port for each MCU on the main board of the device, and then connecting the USB to serial port board between the PC computer and the serial port of each MCU , the log information printed out by each MCU of the MCU device through the serial port is sent to the PC computer through the USB to serial port board, and finally the de...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/12
CPCG06F3/1237G06F3/1273G06F3/1287
Inventor 林庭曾海槟肖多岭
Owner SHENZHEN PROITAV TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products