Unlock instant, AI-driven research and patent intelligence for your innovation.

Network configuration system based on YAML data format and configuration method thereof

A technology of network configuration and data format, applied in data exchange networks, digital transmission systems, transmission systems, etc., can solve the problems of slow invoking of embedded devices, location information cannot be changed at will, and device IDs can be changed at will, so as to achieve easy expansion. , generate convenient and fast effects

Inactive Publication Date: 2020-02-14
ZHUHAI DIGITAL POWER TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the previous configuration table, the device ID is composed of device type, area code, building number, unit number, and room number, and the character length of the area, building, and unit is only allowed to be 2 digits, and alphabetic characters cannot appear, such as building 01 , cannot be replaced with building A1, and the location information cannot be changed at will. For example, the device ID cannot be changed to consist of building number and room number. The configuration table of the old version adopts an xml-like file format, and the device ID cannot be changed in real time according to customer needs. It is not flexible enough, and the calling speed of configuring embedded devices is slow

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 configuration system based on YAML data format and configuration method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Such as figure 1 As shown, the network configuration system based on the YAML data format in the present invention includes a parsing module 1 and an embedded device 2, and the parsing module 1 is provided with a parser 11 and a YAML file memory 12, and the parsing module 1 passes a program interface Connect with the embedded device 2.

[0014] The network configuration method implemented by the network configuration system in the present invention is characterized in that the network configuration method includes the following steps:

[0015] A. The user first writes the configuration data in YAML format and saves it in the YAML file memory 12;

[0016] B. the parser 11 uses GO language to parse the YAML file of step A, and generates a LUA file;

[0017] C. The embedded device 2 invokes the LUA file generated in step B through the program interface and completes the network configuration.

[0018] In the present invention, the configuration method adopts the YAML st...

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 and provides a network configuration system based on a YAML data format and a configuration method thereof. The network configuration system based on the YAML data format is simple in rule, higher in configuration table generation speed, capable of being customized in a diversified mode and easy to expand. The network configuration system based on the YAML data format comprises a parsing module 1 and an embedded device 2. A parser 11 and a YAML file memory 12 are arranged in the parsing module 1, and the parsing module 1 is connected with the embedded device 2 through aprogram interface. The method is suitable for the field of digital building intercom system networking.

Description

technical field [0001] The invention relates to a network configuration system and a configuration method based on YAML data format. Background technique [0002] In the digital building intercom system, each terminal needs to set its device ID number and IP address before it can communicate with other terminals through the network. If the IP and device ID numbers are not restricted in advance, it will cause network confusion and equipment Therefore, it is particularly important to standardize the management of network IP and equipment. The network configuration table can be used to set the device number and IP address of the intercom terminal in the digital building intercom system, and can also be used in other scenarios that require the use of devices for network communication. [0003] However, in the previous configuration table, the device ID is composed of device type, area code, building number, unit number, and room number, and the character length of the area, bui...

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
IPC IPC(8): H04L12/24H04L29/06H04L29/08G06F8/41
CPCG06F8/427H04L41/0246H04L41/0823H04L67/06H04L67/30H04L69/22
Inventor 刘正中凌德枫
Owner ZHUHAI DIGITAL POWER TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More