CN210578606U - Network configuration system based on YAML data format - Google Patents
Network configuration system based on YAML data format Download PDFInfo
- Publication number
- CN210578606U CN210578606U CN201922338248.XU CN201922338248U CN210578606U CN 210578606 U CN210578606 U CN 210578606U CN 201922338248 U CN201922338248 U CN 201922338248U CN 210578606 U CN210578606 U CN 210578606U
- Authority
- CN
- China
- Prior art keywords
- yaml
- system based
- network configuration
- utility
- data format
- 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.)
- Active
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The utility model discloses and provides a simple, the configuration table speed of generation of rule is faster, and can carry out diversified customization, easily expanded network configuration system based on YAML data format. The utility model provides a network configuration system based on YAML data format is including analytic module 1 and embedded equipment 2, be provided with parser 11 and YAML file memory 12 in the analytic module 1, analytic module 1 through program interface with embedded equipment 2 is connected originally. The utility model is suitable for a digital building intercom system network deployment field.
Description
Technical Field
The utility model relates to a network configuration system based on YAML data format.
Background
In a digital building intercom system, each terminal needs to set the ID number and IP address of the equipment, and then can have an intercom call with other terminals through a network, if the IP and the equipment ID number are not restrained in advance, network confusion and normal intercom among equipment can be caused, and therefore, the standard management of the network IP and the equipment is particularly important. The network configuration table can be used for setting the equipment number and the IP address of the talkback terminal in the digital building talkback system, and can also be used for other scenes needing to use equipment for network communication.
However, in the conventional configuration table, the device ID is composed of a device type, an area number, a house number, a unit number, and a house number, and the character length of the area, the house number, and the unit is only allowed to be 2 bits, and alphabetic characters cannot appear, for example, 01, a1 cannot be replaced, the location information cannot be changed at will, for example, the device ID cannot be changed to be composed of the area number and the house number, the old version configuration table adopts a similar xml format file format, the device ID cannot be changed at will in real time according to the requirements of clients, and the configuration table is inflexible, and the configuration of the embedded device is slow in calling speed.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the technical problem that overcome prior art not enough, provide a rule simple, generate the configuration table speed faster, and can carry out diversified customization, easily expanded network configuration system based on YAML data format.
The utility model discloses including analytic module and embedded equipment, be provided with parser and YAML file memory in the analytic module, analytic module through program interface with embedded equipment is connected.
The utility model discloses a network configuration method, including following step:
A. the user firstly writes the configuration data in YAML format and stores the configuration data in a YAML file memory;
B. the parser parses the YAML file in the step A by adopting GO language and generates an LUA file;
C. and the embedded equipment calls the LUA file generated in the step B through the program interface and completes network configuration.
The beneficial effects of the utility model reside in that: the utility model has faster generation speed of the configuration table, less resources are temporarily used when the embedded device runs, and the performance of the embedded device is improved; the rule is simple, the generation is convenient, and after the rule is customized, a user can generate the configuration table by only one key; the configuration table can be variously customized, is easy to expand and flexibly change, and meets various requirements of users.
Drawings
Fig. 1 is a schematic connection diagram of the present invention.
Detailed Description
As shown in fig. 1, the present invention includes an analysis module 1 and an embedded device 2, wherein an analyzer 11 and a YAML file storage 12 are disposed in the analysis module 1, and the analysis module 1 is connected to the embedded device 2 through a program interface.
The utility model discloses a network configuration method, including following step:
A. the user firstly writes the configuration data in YAML format and stores the configuration data in a YAML file memory 12;
B. the parser 11 parses the YAML file in the step A by adopting GO language and generates an LUA file;
C. and the embedded device 2 calls the LUA file generated in the step B through the program interface and completes network configuration.
The utility model discloses in, configuration mode adopts YAML structure user can be according to the rule to equipment ID and network IP at will, customizes the modification (including the multilingual), does not restrict the form, in same cell, can change even different buildings between describe with the floor, different naming demands between the adaptable user.
The configuration table format adopts YAML data description language, is readable and easy to read by human, is easy to interact with script language, is used for expressing the programming language of the data sequence, and the language is much simpler than xml. The embedded device directly calls the lua API interface.
The utility model is suitable for a digital building intercom system network deployment field.
Claims (1)
1. A network configuration system based on YAML data format is characterized in that: the YAML file storage system comprises an analysis module (1) and an embedded device (2), wherein an analyzer (11) and a YAML file storage (12) are arranged in the analysis module (1), and the analysis module (1) is connected with the embedded device (2) through a program interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201922338248.XU CN210578606U (en) | 2019-12-24 | 2019-12-24 | Network configuration system based on YAML data format |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201922338248.XU CN210578606U (en) | 2019-12-24 | 2019-12-24 | Network configuration system based on YAML data format |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210578606U true CN210578606U (en) | 2020-05-19 |
Family
ID=70639356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201922338248.XU Active CN210578606U (en) | 2019-12-24 | 2019-12-24 | Network configuration system based on YAML data format |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210578606U (en) |
-
2019
- 2019-12-24 CN CN201922338248.XU patent/CN210578606U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102057654B (en) | Mobile device application framework | |
CN103516576A (en) | Method for processing instant message and device thereof | |
CN104935744A (en) | Verification code display method, verification code display device and mobile terminal | |
CN104754536A (en) | Method and system for realizing communication between different languages | |
CN109684097B (en) | CMSP-based JSON data analysis and storage method | |
CN108009159A (en) | A kind of simultaneous interpretation method and mobile terminal | |
CN110933075B (en) | Service calling method and device, electronic equipment and storage medium | |
CN102255994B (en) | Data recording storage method and system for mobile terminal | |
CN113473395B (en) | Message processing method, device, medium and electronic equipment | |
CN111263010A (en) | Method, system, device and medium for monitoring telephone call in soft switch platform | |
CN105278928A (en) | IVR external interface configuration method and IVR external interface configuration device | |
CN210578606U (en) | Network configuration system based on YAML data format | |
CN101917509B (en) | Linux-based telephone system under MID platform and implementation method thereof | |
CN109660672A (en) | Conversion method, equipment and the computer readable storage medium of sound-type | |
CN103888528A (en) | Implementation method and system of message communication between WeChat terminals and audio terminals | |
CN104618612B (en) | The telephone system of high in the clouds information service is carried out by internet | |
CN110798363A (en) | YAML data format-based network configuration system and configuration method thereof | |
CN115061751A (en) | Plug-in loading method, plug-in loading device, electronic equipment and storage medium | |
CN104243728A (en) | Calling and called method of terminal, calling and called terminals and communication method and system | |
CN114173366A (en) | User parameter repairing method and device, computer storage medium and electronic equipment | |
CN110795388B (en) | Binary file processing method, system, equipment and readable storage medium | |
CN102487526B (en) | Protocol conformance test method and system thereof | |
JP3126354U (en) | Internet communication equipment that can be used immediately | |
CN108848398A (en) | A kind of distribution method, device, terminal and the storage medium of local barrage message | |
CN107995091B (en) | Self-service method and device based on enterprise instant messaging application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |