Modular network component configuration method, system and device based on Internet of Things platform and medium

By adopting a modular network component configuration method on the IoT platform, the configuration of network components is automatically processed, which solves the complex and error-prone problems of traditional configuration methods, achieves efficient and flexible network component configuration, and meets the requirements of modern IoT systems. Rapid deployment and high security requirements.

CN119341906APending Publication Date: 2025-01-21山东浪潮智水数字科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411362108.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The traditional LAN construction and configuration methods are complex and cumbersome, resulting in configuration errors and affecting network stability and security. Especially in IoT systems, it changes frequently, resulting in heavy updates to firewalls and whitelist rules.

Method used

Using a modular network component configuration method based on the Internet of Things platform, the basic information of the network components input by the user is obtained through the front-end information collection interface, and the network components are automatically configured in the back-end configuration script to form a usable network environment.

Benefits of technology

It realizes the automation and modularization of network component configuration, shortens configuration time, improves configuration efficiency, reduces human operating errors, and reduces network component maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341906A_ABST
    Figure CN119341906A_ABST
Patent Text Reader

Abstract

The invention provides a modularized network component configuration method, system and device based on an Internet of Things platform and a medium, and belongs to the technical field of network component configuration.The method comprises the following steps that a front-end information collection interface and a rear-end configuration script are built based on the Internet of Things platform; the front-end information acquisition interface obtains network component basic information input by a user and provides the network component basic information to the back-end configuration script; according to the basic information of the network components, the back-end configuration script automatically configures the network components at the server side of the Internet of Things platform through the network framework, and forms an available network environment for the Internet of Things platform after configuration of each network component is completed; and the Internet of Things platform determines the target service application, and provides the target service application for the user to call through the available network environment. According to the invention, the configuration information is obtained through the visual front-end configuration interface, automation and modularization of network component configuration are realized, the configuration time is shortened, and the configuration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Network components refer to the network devices that connect computers to form a local area network. Commonly used local area network components are network transmission media and network connection devices.

[0003] At present, the establishment and configuration of LANs usually involve complex network components. Traditional configuration methods require manual address configuration of servers, and may need to be combined with firewalls to implement whitelist functions, which greatly increases the complexity and tediousness of configuration. First of all, manually entering various parameters, such as IP addresses, subnet masks, gateways, etc., is not only time-consuming and labor-intensive, but also very easy to cause configuration errors due to human errors, which in turn affects the stability and security of the network. As the scale of the network expands, the workload of manual configuration increases exponentially, greatly reducing the efficiency of network deployment. Secondly, the complexity of firewall and whitelist configuration increases the difficulty of security management. Administrators need to carefully plan which IP addresses or ports should be allowed or denied access. Although this fine control improves security, it also brings configuration challenges. Especially in a dynamically changing environment, such as the Internet of Things system, frequently updating firewall and whitelist rules becomes a heavy task. In addition, LAN components and configurations also require a series of operations such as domain name resolution and port configuration, and the occupancy of ports becomes a difficult problem in the configuration process. Especially when certificates are required, they need to be added on the server, making the entire configuration process more lengthy and error-prone.

[0004] With the rapid development of IoT technology, the demand for efficient and flexible configuration of network devices is becoming increasingly urgent. Traditional configuration methods can no longer meet the requirements of modern IoT systems for rapid deployment, easy management, and high security. Therefore, there is an urgent need for a technical solution that can simplify the network configuration process, improve configuration efficiency, and reduce operational complexity. Summary of the invention

[0005] In view of the defects that the above-mentioned traditional configuration methods of the prior art can no longer meet the requirements of modern Internet of Things systems for rapid deployment, easy management and high security, the present invention provides a modular network component configuration method, system, device and medium based on the Internet of Things platform to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides a modular network component configuration method based on an Internet of Things platform, comprising the following steps: S1. Build the front-end information collection interface and back-end configuration script based on the IoT platform; S2. The front-end information collection interface obtains basic information of network components input by the user and provides it to the back-end configuration script; S3. The backend configuration script automatically configures network components on the server side of the IoT platform based on the basic information of the network components and through the network framework, and forms a usable network environment for the IoT platform after the configuration of each network component is completed; S4. The IoT platform determines the target service application and provides the target service application to the user through an available network environment. Furthermore, the specific steps of step S1 are as follows: S11. Determine the configuration requirements of network components in the IoT platform; S12. Build the front-end information collection interface and back-end configuration script according to the network component configuration requirements; S13. Set the required parameter collection interface, optional parameter collection interface and back-end API interface for the front-end information collection interface, and set the element type for the required parameter collection interface and the optional parameter collection interface; S14. Establish a connection between the backend configuration script and the backend API interface, and set the configuration information parsing and execution functions of the backend configuration script.

[0007] Furthermore, the configuration requirements include supported protocol types, encryption requirements, and user rights management; The required parameter collection interface includes a component name interface, a component type interface, a shared configuration interface, a client ID interface, a service address interface, and a service port interface; The optional parameter collection interface includes whether to enable the certificate interface, the certificate selection interface, the user name interface, the password interface, the maximum number of message processing work threads interface, the maximum message length interface and the component description interface.

[0008] Furthermore, the specific steps of step S2 are as follows: S21. The front-end information collection interface obtains the user input mandatory parameters through the mandatory parameter interface, and the mandatory parameters include component name, component type, whether the configuration is shared, client ID, service address and service port information; S22. The front-end information collection interface obtains optional parameters input by the user through the optional parameter interface, and the optional parameters include whether to open the certificate information, certificate selection, user name, password, maximum number of message processing threads, maximum message length and component description information input by the user; S23. The front-end information collection interface determines whether all required parameters are entered; If yes, go to step S24; If not, the user is reminded of the required parameter items that have not been entered, and the process returns to step S21; S24. The front-end information collection interface packages the required parameters and the input optional parameters to generate basic configuration information, and then sends it to the back-end configuration script through the back-end API interface.

[0009] Furthermore, the specific steps of step S21 are as follows: S211. The front-end information collection interface obtains the component name, component type, and whether the network component is shared; If the configuration is shared, proceed to step S212; If it is configured independently, go to step S213; S212. The front-end information collection interface automatically imports the shared client ID, service address and service port, and proceeds to step S22; S213. The front-end information collection interface obtains the client ID, service address and service port information of the user input network component; Furthermore, the specific steps of step S3 are as follows: S31. The backend configuration script receives the basic configuration information and verifies whether it meets the network configuration requirements; If yes, go to step S32; If it does not match, the configuration information input error is returned to the front-end information collection interface and the process ends; S32. The backend configuration script starts port scanning and automatically checks whether the service port entered by the user is occupied; If yes, go to step S33; If not, proceed to step S34; S33. The backend configuration script automatically searches for and allocates a free port according to the preset port range, and uses the free port to replace the service port entered by the user; S34. The backend configuration script configures the service port into the network component; S35. The backend configuration script determines whether the certificate needs to be enabled; If yes, go to step S36; If not, proceed to step S37; S36. The backend configuration script uses the integrated API to automatically apply for certificates and deploy the certificates to network components; S37. The backend configuration script calls the configuration interface of the Netty network framework, applies the basic information of the network components entered by the user to the network framework, and completes the automatic configuration of the network components; S38. The network components configured by the backend configuration script are registered in the service registration center to form an available network environment.

[0010] Furthermore, the specific steps of step S4 are as follows: S41. The IoT platform obtains the service application uploaded locally by the user or the service application published remotely, and uses the obtained service application as the target service application; S42. When the user needs to call the target service application, the IoT platform discovers the network component through the service registration center and calls the target service application through the network component.

[0011] In a second aspect, the present invention provides a modular network component configuration system based on an Internet of Things platform, comprising: Function building unit, used to build front-end acquisition unit and back-end configuration unit based on the Internet of Things platform; The front-end acquisition unit is used to obtain basic information of network components input by users and provide it to the back-end configuration unit; The back-end configuration unit is used to automatically configure the network components on the server side of the IoT platform according to the basic information of the network components and through the network framework, and to form a usable network environment for the IoT platform after the configuration of each network component is completed; The network component application unit is used to determine the target service application on the Internet of Things platform and provide the target service application to the user through the available network environment.

[0012] In a third aspect, the present invention provides an electronic device, including a processor and a memory; The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes the method described in the first aspect above.

[0013] In a fourth aspect, the present invention provides a storage medium, The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect.

[0014] The beneficial effects of the present invention are: The modular network component configuration method, system, device and medium based on the Internet of Things platform provided by the present invention obtain configuration information through a visual front-end configuration interface, realize the automation and modularization of network component configuration, shorten the configuration time, improve the configuration efficiency, reduce human operation errors, improve the accuracy of configuration results, and can dynamically change the type and quantity of network component configuration parameters, thereby reducing the maintenance cost of network components.

[0015] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect.

[0016] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 It is a flow chart of a modular network component configuration method based on an Internet of Things platform of the present invention.

[0019] Figure 2 It is a schematic diagram of a modular network component configuration system based on an Internet of Things platform of the present invention. DETAILED DESCRIPTION

[0020] The modular network component configuration method based on the Internet of Things platform can be applied to one or more devices. The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0021] An electronic device can be any electronic product that can interact with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), an interactive network television (IPTV), etc. The network in which the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] See also Figure 1 The figure shows a modular network component configuration method based on the Internet of Things platform in a specific implementation, which includes the following steps: S1. Build the front-end information collection interface and back-end configuration script based on the IoT platform; S2. The front-end information collection interface obtains basic information of network components input by the user and provides it to the back-end configuration script; S3. The backend configuration script automatically configures network components on the server side of the IoT platform based on the basic information of the network components and through the network framework, and forms a usable network environment for the IoT platform after the configuration of each network component is completed; S4. The IoT platform determines the target service application and provides the target service application to the user through an available network environment.

[0024] In this embodiment, the specific steps of step S1 are as follows: S11. Determine the configuration requirements of network components in the IoT platform; the configuration requirements include supported protocol types, encryption requirements, and user rights management; S12. Build the front-end information collection interface and back-end configuration script according to the network component configuration requirements; S13. Set the required parameter collection interface, optional parameter collection interface and back-end API interface for the front-end information collection interface, and set the element type for the required parameter collection interface and the optional parameter collection interface; the required parameter collection interface includes a component name interface, a component type interface, a shared configuration interface, a client ID interface, a service address interface and a service port interface; the optional parameter collection interface includes whether to enable the certificate interface, the certificate selection interface, the user name interface, the password interface, the maximum number of message processing threads interface, the maximum message length interface and the component description interface; S14. Establish a connection between the back-end configuration script and the back-end API interface, and set the back-end configuration script to parse and execute configuration information; The specific steps of step S2 are as follows: S21. The front-end information collection interface obtains the user input mandatory parameters through the mandatory parameter interface, and the mandatory parameters include component name, component type, whether the configuration is shared, client ID, service address and service port information; S22. The front-end information collection interface obtains optional parameters input by the user through the optional parameter interface, and the optional parameters include whether to open the certificate information, certificate selection, user name, password, maximum number of message processing threads, maximum message length and component description information input by the user; S23. The front-end information collection interface determines whether all required parameters are entered; If yes, go to step S24; If not, the user is reminded of the required parameter items that have not been entered, and the process returns to step S21; S24. The front-end information collection interface packages the required parameters and the input optional parameters to generate basic configuration information, and sends it to the back-end configuration script through the back-end API interface; The specific steps of step S3 are as follows: S31. The backend configuration script receives the basic configuration information and verifies whether it meets the network configuration requirements; If yes, go to step S32; If it does not match, the configuration information input error is returned to the front-end information collection interface and the process ends; S32. The backend configuration script starts port scanning and automatically checks whether the service port entered by the user is occupied; If yes, go to step S33; If not, proceed to step S34; S33. The backend configuration script automatically searches for and allocates a free port according to the preset port range, and uses the free port to replace the service port entered by the user; S34. The backend configuration script configures the service port into the network component; S35. The backend configuration script determines whether the certificate needs to be enabled; If yes, go to step S36; If not, proceed to step S37; S36. The backend configuration script uses the integrated API to automatically apply for certificates and deploy the certificates to network components; S37. The backend configuration script calls the configuration interface of the Netty network framework, applies the basic information of the network components entered by the user to the network framework, and completes the automatic configuration of the network components; S38. The network components configured by the backend configuration script are registered to the service registration center to form an available network environment; The specific steps of step S4 are as follows: S41. The IoT platform obtains the service application uploaded locally by the user or the service application published remotely, and uses the obtained service application as the target service application; S42. When the user needs to call the target service application, the IoT platform discovers the network component through the service registration center and calls the target service application through the network component.

[0025] In some embodiments, step S21 includes the following steps: S211. The front-end information collection interface obtains the component name, component type, and whether the network component is shared; If the configuration is shared, proceed to step S212; If it is configured independently, go to step S213; S212. The front-end information collection interface automatically imports the shared client ID, service address and service port, and proceeds to step S22; S213. The front-end information collection interface obtains the client ID, service address and service port information of the network component input by the user.

[0026] It should be understood that the order of execution of the steps in the above embodiment does not mean that the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0027] The following is an embodiment of a modular network component configuration system based on an Internet of Things platform provided by an embodiment of the present disclosure. This system and the modular network component configuration system based on an Internet of Things platform of the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the modular network component configuration system based on an Internet of Things platform, reference can be made to the embodiment of the modular network component configuration method based on the Internet of Things platform.

[0028] like Figure 2 As shown, the system includes: Function building unit, used to build front-end acquisition unit and back-end configuration unit based on the Internet of Things platform; The front-end acquisition unit is used to obtain basic information of network components input by users and provide it to the back-end configuration unit; The back-end configuration unit is used to automatically configure the network components on the server side of the IoT platform according to the basic information of the network components and through the network framework, and to form a usable network environment for the IoT platform after the configuration of each network component is completed; The network component application unit is used to determine the target service application on the Internet of Things platform and provide the target service application to the user through the available network environment.

[0029] The modular network component configuration method based on the Internet of Things platform provided by the present invention is a combination of the modules and algorithm steps of each example described in the embodiments disclosed herein, and can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0030] Those skilled in the art will appreciate that the various aspects of the modularized network component configuration method based on the Internet of Things platform provided by the present invention can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuit", "module" or "system" here.

[0031] In the non-transitory computer-readable storage medium storing the modular network component configuration method based on the Internet of Things platform, it can be, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0032] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A modular network component configuration method based on an Internet of Things platform, characterized in that: The steps include: S1. Build the front-end information collection interface and back-end configuration script based on the IoT platform; S2. The front-end information collection interface obtains basic information of network components input by the user and provides it to the back-end configuration script; S3. The backend configuration script automatically configures network components on the server side of the IoT platform based on the basic information of the network components and through the network framework, and forms a usable network environment for the IoT platform after the configuration of each network component is completed; S4. The IoT platform determines the target service application and provides the target service application to the user through an available network environment.

2. The modular network component configuration method based on the Internet of Things platform according to claim 1, characterized in that: The specific steps of step S1 are as follows: S11. Determine the configuration requirements of network components in the IoT platform; S12. Build the front-end information collection interface and back-end configuration script according to the network component configuration requirements; S13. Set the required parameter collection interface, optional parameter collection interface and back-end API interface for the front-end information collection interface, and set the element type for the required parameter collection interface and the optional parameter collection interface; S14. Establish a connection between the backend configuration script and the backend API interface, and set the configuration information parsing and execution functions of the backend configuration script.

3. The modular network component configuration method based on the Internet of Things platform as claimed in claim 2, characterized in that: The configuration requirements include supported protocol types, encryption requirements, and user rights management; The required parameter collection interface includes a component name interface, a component type interface, a shared configuration interface, a client ID interface, a service address interface, and a service port interface; The optional parameter collection interface includes whether to enable the certificate interface, the certificate selection interface, the user name interface, the password interface, the maximum number of message processing work threads interface, the maximum message length interface and the component description interface.

4. The modular network component configuration method based on the Internet of Things platform as claimed in claim 3, characterized in that: The specific steps of step S2 are as follows: S21. The front-end information collection interface obtains the user input mandatory parameters through the mandatory parameter interface, and the mandatory parameters include component name, component type, whether the configuration is shared, client ID, service address and service port information; S22. The front-end information collection interface obtains optional parameters input by the user through the optional parameter interface, and the optional parameters include whether to open the certificate information, certificate selection, user name, password, maximum number of message processing threads, maximum message length and component description information input by the user; S23. The front-end information collection interface determines whether all required parameters are entered; If yes, go to step S24; If not, the user is reminded of the required parameter items that have not been entered, and the process returns to step S21; S24. The front-end information collection interface packages the required parameters and the input optional parameters to generate basic configuration information, and then sends it to the back-end configuration script through the back-end API interface.

5. The modular network component configuration method based on the Internet of Things platform as claimed in claim 4, characterized in that: The specific steps of step S21 are as follows: S211. The front-end information collection interface obtains the component name, component type, and whether the network component is shared; If the configuration is shared, proceed to step S212; If it is configured independently, go to step S213; S212. The front-end information collection interface automatically imports the shared client ID, service address and service port, and proceeds to step S22; S213. The front-end information collection interface obtains the client ID, service address and service port information of the network component input by the user.

6. The modular network component configuration method based on the Internet of Things platform as claimed in claim 4, characterized in that: The specific steps of step S3 are as follows: S31. The backend configuration script receives the basic configuration information and verifies whether it meets the network configuration requirements; If yes, go to step S32; If it does not match, the configuration information input error is returned to the front-end information collection interface and the process ends; S32. The backend configuration script starts port scanning and automatically checks whether the service port entered by the user is occupied; If yes, go to step S33; If not, proceed to step S34; S33. The backend configuration script automatically searches for and allocates a free port according to the preset port range, and uses the free port to replace the service port entered by the user; S34. The backend configuration script configures the service port into the network component; S35. The backend configuration script determines whether the certificate needs to be enabled; If yes, go to step S36; If not, proceed to step S37; S36. The backend configuration script uses the integrated API to automatically apply for certificates and deploy the certificates to network components; S37. The backend configuration script calls the configuration interface of the Netty network framework, applies the basic information of the network components entered by the user to the network framework, and completes the automatic configuration of the network components; S38. The network components configured by the backend configuration script are registered in the service registration center to form an available network environment.

7. The modular network component configuration method based on the Internet of Things platform as claimed in claim 6, characterized in that: The specific steps of step S4 are as follows: S41. The IoT platform obtains the service application uploaded locally by the user or the service application published remotely, and uses the obtained service application as the target service application; S42. When the user needs to call the target service application, the IoT platform discovers the network component through the service registration center and calls the target service application through the network component.

8. A modular network component configuration system based on the Internet of Things platform, characterized in that: include: Function building unit, used to build front-end acquisition unit and back-end configuration unit based on the Internet of Things platform; The front-end acquisition unit is used to obtain basic information of network components input by users and provide it to the back-end configuration unit; The back-end configuration unit is used to automatically configure the network components on the server side of the IoT platform according to the basic information of the network components and through the network framework, and to form a usable network environment for the IoT platform after the configuration of each network component is completed; The network component application unit is used to determine the target service application on the Internet of Things platform and provide the target service application to the user through the available network environment.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes the method described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in any one of claims 1 to 7.