Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Multi-channel adaptive log recording and output method and system for terminal equipment of Internet of Things system

An Internet of Things system and terminal equipment technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as log loss, difficulty in capturing, and short interruptions.

Active Publication Date: 2020-04-21
DATA TELLIT SUZHOU INC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Based on the above, the existing technology mainly has the following defects: one-sidedness: only one channel is used to output logs, and each channel has its limitations;
For problems that are not easy to reproduce, existing logging methods are difficult to catch;
[0013] Lack of log cache: the network is unstable or temporarily interrupted, which will cause log loss;
[0014] Log transmission and other business data (such as sensor data, control instructions, etc.) sharing the channel will cause the log and business data to compete for network bandwidth, and when the business data is large, the log volume is often large, and the log may affect the IoT terminal. normal work

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
  • Multi-channel adaptive log recording and output method and system for terminal equipment of Internet of Things system
  • Multi-channel adaptive log recording and output method and system for terminal equipment of Internet of Things system
  • Multi-channel adaptive log recording and output method and system for terminal equipment of Internet of Things system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] see figure 1 and figure 2 According to a preferred embodiment of the present invention, a multi-channel self-adaptive log recording and output system for a terminal device of an Internet of Things system, if the terminal device has a flash memory, the flash memory is used for log cache and local log storage;

[0092] The terminal device includes a log module, which is used to receive a log record request from a log server, record and output logs based on predetermined log records and output strategies; or based on communication network conditions, local storage space of the terminal device, busy Internet of Things system To a certain extent, corresponding log records and output strategies are adaptively generated to record and output logs;

[0093] Wherein, described logging, output strategy include:

[0094] Local recording and output strategy: log output to the buffer of the device terminal for recording;

[0095] Serial port record and output strategy: the log is...

Embodiment 2

[0122] The multi-channel self-adaptive log recording and output system of the terminal equipment of the Internet of Things system in this embodiment, on the basis of Embodiment 1, further provides a process for establishing a connection between the log terminal and the terminal equipment, and the terminal equipment is reset to the initial state, The terminal device establishes an anonymous binding with the only log server, where the only log server is the main log server, and other log servers are sub-log servers;

[0123] The user registers a user account on the cloud platform, and the user uses the user account to log in on the main log server. After the user account is verified, the terminal device establishes a user static binding with the user account, and the first one completes the user static binding with the main log server. The user account of the terminal device is the main user account of the terminal device, and other user accounts are ordinary user accounts;

[0...

Embodiment 3

[0136] Such as Figures 3 to 4 As shown, the multi-channel adaptive log recording and output method of the Internet of Things system terminal equipment in this embodiment includes:

[0137] get logging request;

[0138] Record and output logs based on predetermined log records and output strategies; or adaptively generate corresponding log records and output strategies based on communication network conditions, local storage space of terminal devices, and busyness of the Internet of Things system to record and output logs ;

[0139] Wherein, described logging, output strategy include:

[0140] Local recording and output strategy: log output to the buffer of the device terminal for recording;

[0141] Serial port record and output strategy: the log is output to the log server through the serial port for log recording;

[0142] Log server recording and output strategy: logs are uploaded to the log server through the communication network for log recording, and the logs are f...

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 relates to an Internet of things system terminal equipment multi-channel adaptive log recording, output method and a system, and aims to effectively record and transmit equipment logs; the Internet of things system terminal equipment multi-channel adaptive log recording and output method comprises the following steps: the terminal equipment outputs logs to a log server supporting serial port connection; the Internet of things system terminal equipment outputs logs to the log server through the internet; the terminal equipment output logs to a cloud platform through the internet, and the logs are stored in a database on the cloud platform; the log server sends log configuration parameters to the Internet of things terminal equipment through the serial port, the cloud platform and the log server; the terminal equipment comprises a log module, wherein the log module is used for deciding log forming and output strategies according to log configuration parameters, terminal equipment configuration and operation state. The method and system can prevent log recording from affecting normal processing of the terminal equipment, thus allowing a user to adjust the terminal equipment log forming and output strategies at any time.

Description

technical field [0001] The invention relates to a multi-channel self-adaptive log recording and output method and system for a terminal device of an Internet of Things system. Background technique [0002] Logs play a key role in monitoring the running status of IoT terminals and diagnosing program exceptions and errors. Compared with computer equipment, IoT terminals usually have small storage capacity, weak processing capability, small network bandwidth, and relatively low reliability of the network environment. Therefore, the log recording method commonly used in computer terminals is not suitable for terminal equipment. [0003] The methods of computer terminal recording logs include: [0004] Local log files: log files require large disk space [0005] Log server: The log is kept on a dedicated log server, and the local disk space is small, but the log needs to be uploaded to the log server in real time or periodically, and a certain amount of network bandwidth is re...

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 Patents(China)
IPC IPC(8): H04L12/24H04L29/08
CPCH04L41/069H04L67/12
Inventor 孙宝石曹石
Owner DATA TELLIT SUZHOU INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products