CN112994932B - Automatic configuration method and device for network parameters of equipment in local area network and equipment - Google Patents

Automatic configuration method and device for network parameters of equipment in local area network and equipment Download PDF

Info

Publication number
CN112994932B
CN112994932B CN202110165452.5A CN202110165452A CN112994932B CN 112994932 B CN112994932 B CN 112994932B CN 202110165452 A CN202110165452 A CN 202110165452A CN 112994932 B CN112994932 B CN 112994932B
Authority
CN
China
Prior art keywords
network
equipment
datagram
management platform
central management
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
Application number
CN202110165452.5A
Other languages
Chinese (zh)
Other versions
CN112994932A (en
Inventor
张功明
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Leelen Technology Co Ltd
Original Assignee
Xiamen Leelen Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Leelen Technology Co Ltd filed Critical Xiamen Leelen Technology Co Ltd
Priority to CN202110165452.5A priority Critical patent/CN112994932B/en
Publication of CN112994932A publication Critical patent/CN112994932A/en
Application granted granted Critical
Publication of CN112994932B publication Critical patent/CN112994932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic configuration method of network parameters of equipment in a local area network, which comprises the following steps: the equipment to be configured broadcasts a first network datagram requesting network parameter configuration into the local area network; or, in response to the central management platform, sending a third network datagram to the designated device to be configured through broadcasting or unicasting; when the equipment to be configured and the central management platform are not in the same subnet, forwarding the first network datagram or the third network datagram through a manual network parameter configuration proxy equipment so as to complete network parameter configuration; the equipment to be configured receives a second network datagram which is returned to the corresponding equipment by the central management platform based on the first network datagram, and completes network parameter configuration according to the second network datagram so as to automatically access the central management platform; or after the equipment to be configured receives and analyzes the third network datagram, automatically configuring network parameters to access the central management platform.

Description

Automatic configuration method and device for network parameters of equipment in local area network and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for automatically configuring network parameters of devices in a domain network, and a device.
Background
With the increasing popularization of intelligent community equipment and intelligent community management systems, higher requirements are placed on management, use and maintenance of intelligent community equipment. For the management of community intelligent devices, the safe, stable, simple and rapid access of the devices is a core requirement. In the traditional configuration mode, the configuration of the network parameters of the equipment is required to be manually carried out, tens of thousands of terminal equipment can be arranged in a cell with a large number of equipment, the configuration of the network parameters in the mode can be carried out only by weeks or even months, and the efficiency is extremely low.
Disclosure of Invention
In view of the above, the present invention aims to provide an automatic configuration method and apparatus for network parameters of devices in a local area network, and devices, which can implement an efficient and rapid access mode based on safe and stable access of devices, thereby improving the efficiency of engineering construction.
In order to achieve the above object, the present invention provides a method for automatically configuring network parameters of devices in a local area network, the method comprising:
after the equipment to be configured is powered on and started, broadcasting a first network datagram requesting network parameter configuration into a local area network by the equipment to be configured, wherein the first network datagram comprises an equipment SN (serial number) code of the equipment to be configured; or alternatively, the process may be performed,
transmitting a third network datagram to the designated equipment to be configured through broadcasting or unicast in response to the central management platform, wherein the third network datagram comprises an equipment SN code, an equipment IP address and a subnet mask;
when the equipment to be configured and the central management platform are not in the same subnet, forwarding the first network datagram or the third network datagram through a manual network parameter configuration proxy device so as to realize that the equipment to be configured completes network parameter configuration, wherein the proxy device is any one of the equipment to be configured in each subnet; otherwise the first set of parameters is selected,
the equipment to be configured receives a second network datagram which is returned to the corresponding equipment by the central management platform based on the first network datagram, and completes network parameter configuration according to the second network datagram so as to automatically access the central management platform, wherein the second network datagram comprises an equipment SN (serial number) code, an equipment IP (Internet protocol) address and a subnet mask; or alternatively, the process may be performed,
and after the equipment to be configured receives and analyzes the third network datagram, automatically configuring network parameters to access the central management platform.
Preferably, the forwarding, by the manual network parameter configuration proxy device, the first network datagram or the third network datagram to implement the network parameter configuration of the device to be configured, specifically includes:
determining each subnet where the equipment to be configured is located, and manually performing manual network parameter configuration proxy equipment on each subnet to access the central management platform;
and forwarding the first network datagram or the third network datagram between the central management platform and the equipment to be configured through the proxy equipment so as to realize that the equipment to be configured completes network parameter configuration.
Preferably, the forwarding, by the proxy device, the first network datagram between the central management platform and the device to be configured, so as to implement that the device to be configured completes network parameter configuration, specifically includes:
the equipment to be configured sends the first network datagram requesting network parameter configuration to the proxy equipment in the subnet in a broadcast mode;
after receiving the first network datagram, the proxy equipment sends the first network datagram to the central management platform in a unicast mode;
the center management platform analyzes the first network datagram and returns the second network datagram of the corresponding device;
and the proxy equipment broadcasts the second network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the second network datagram, the network parameter configuration is automatically completed to access the central management platform.
Preferably, the forwarding, by the proxy device, the third network datagram between the central management platform and the device to be configured, so as to implement that the device to be configured completes network parameter configuration, specifically includes:
the center management platform sends the third network datagram to the proxy equipment in the subnet where the center management platform is located in a unicast mode;
and the proxy equipment broadcasts the third network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the third network datagram, the network parameter configuration is automatically completed to access the central management platform.
Preferably, the step of receiving, by the central management platform, a second network datagram returned to the corresponding device based on the first network datagram by the device to be configured includes:
and after the central management platform analyzes the first network datagram, inquiring network parameters of the equipment SN code matched with the corresponding equipment, and packaging response data to obtain the second network datagram.
Preferably, after the device to be configured receives and parses the third network datagram, automatically configures network parameters to access the central management platform, and specifically includes:
and after the equipment to be configured receives and analyzes the third network datagram, when the equipment SN code in the third network datagram is matched with the equipment SN code of the equipment to be configured, automatically configuring network parameters to access the central management platform.
Preferably, before the device to be configured is powered on, the method further comprises:
and carrying out equipment SN code input on the equipment to be configured through the central management platform, and binding the corresponding equipment to be configured with logic equipment of the central management platform.
In order to achieve the above object, the present invention further provides an apparatus for automatically configuring network parameters of devices in a local area network, where the apparatus includes:
the first response unit is used for responding to the power-on start of the equipment to be configured, and broadcasting a first network datagram requesting network parameter configuration into the local area network by the equipment to be configured, wherein the first network datagram comprises an equipment SN code of the equipment to be configured; or alternatively, the process may be performed,
a second response unit, configured to send a third network datagram to the specified device to be configured through broadcasting or unicasting in response to the central management platform, where the third network datagram includes a device SN code, a device IP address, and a subnet mask;
the configuration proxy unit is used for forwarding the first network datagram or the third network datagram through manual network parameter configuration proxy equipment when the equipment to be configured and the central management platform are not in the same subnet so as to realize that the equipment to be configured completes network parameter configuration, wherein the proxy equipment is any one of the equipment to be configured in each subnet; otherwise the first set of parameters is selected,
the first access unit is used for receiving a second network datagram returned to the corresponding device by the central management platform based on the first network datagram, completing network parameter configuration according to the second network datagram so as to automatically access the central management platform, wherein the second network datagram comprises a device SN (serial number) code, a device IP (Internet protocol) address and a subnet mask; or alternatively, the process may be performed,
and the second access unit is used for automatically configuring network parameters to access the central management platform after the equipment to be configured receives and analyzes the third network datagram.
Preferably, the forwarding, by the manual network parameter configuration proxy device, the first network datagram or the third network datagram to implement the network parameter configuration of the device to be configured, specifically includes:
determining each subnet where the equipment to be configured is located, and manually performing manual network parameter configuration proxy equipment on each subnet to access the central management platform;
and forwarding the first network datagram or the third network datagram between the central management platform and the equipment to be configured through the proxy equipment so as to realize that the equipment to be configured completes network parameter configuration.
To achieve the above object, the present invention further provides an automatic configuration device for network parameters of devices in a local area network, including a processor, a memory, and a computer program stored in the memory, where the computer program is executable by the processor to implement an automatic configuration method for network parameters of devices in a local area network according to the above embodiment.
The beneficial effects are that:
according to the scheme, when the equipment to be configured is powered on to start or a key is manually triggered to acquire the network parameters, the automatic and rapid configuration of the network parameters of the equipment can be realized, the complicated manual configuration process is omitted, a large amount of construction time and labor cost are saved, and the efficiency of the equipment accessing to the central management platform is improved.
The scheme can realize the symmetry of the network parameter configuration process, namely, the equipment to be configured requests the configuration of the network parameters from the central management platform in the local area network, and realizes automatic configuration access; the network parameters of the equipment to be configured can be generated in batches through the central management platform, after the equipment is accessed to the network, the functions of the equipment to be configured can be discovered in batches or singly through the central management platform, and the network parameters can be actively configured for the equipment, so that the rapid configuration of the network parameters of the equipment in batches is achieved, and the rapid access platform of the equipment is realized.
According to the scheme, network parameter configuration is carried out on a large number of devices to be configured of the same subnet or different subnets by adopting a combination mode of UDP broadcast, unicast and the like and forwarding network datagrams through the configuration proxy equipment.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an overall flow chart of an automatic configuration method for network parameters of devices in a lan according to an embodiment of the present invention.
Fig. 2 is a flow chart of a first embodiment of the present invention.
Fig. 3 is a flow chart of a second embodiment of the present invention.
Fig. 4 is a schematic diagram of a network topology under the same subnet of the present invention.
Fig. 5 is a schematic diagram of a network topology under different subnets of the present invention.
Fig. 6 is a schematic diagram of a network topology under the hybrid networking of the present invention.
Fig. 7 is a schematic overall structure diagram of an automatic configuration apparatus for network parameters of devices in a lan according to an embodiment of the present invention.
The realization of the object, the functional characteristics and the advantages of the invention will be further described with reference to the accompanying drawings in connection with the embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following describes the invention in detail with reference to examples. For the convenience of understanding of those skilled in the art, the structure/method of the present invention will now be described in further detail with reference to the accompanying drawings.
In the prior art, a broadcast packet is sent through the equipment to be networked, the networked equipment is requested to send another broadcast packet containing network information, and the equipment to be networked realizes network parameter configuration according to the network configuration information in the other broadcast packet. This approach has mainly the following drawbacks:
(1) Only a broadcast packet of network configuration can be initiated from a device end to be networked, and the broadcast packet is not supported to be initiated in batches from a center platform end, so that the batch configuration function of a large number of devices is realized;
(2) The network configuration process relies entirely on broadcast packets, which presents configuration difficulties for switches that do not support broadcast.
Therefore, the invention provides an automatic configuration method for equipment network parameters in a local area network, when engineering personnel do not need to configure the network parameters by equipment, equipment network information is only required to be input in a central management platform, and the equipment network parameters can be configured to a plurality of equipment to be configured through equipment discovery and automatic configuration network parameter design, so that the rapid access of the equipment is finally realized.
Fig. 1 to 3 are schematic flow diagrams of an automatic configuration method for network parameters of devices in a lan according to an embodiment of the present invention.
In a first embodiment, the method comprises:
and S11, after the equipment to be configured is powered on and started, broadcasting a first network datagram requesting network parameter configuration into a local area network by the equipment to be configured, wherein the first network datagram comprises an equipment SN code of the equipment to be configured.
Before the device to be configured is powered on and started, the method further comprises the following steps:
and carrying out equipment SN code input on the equipment to be configured through the central management platform, and binding the corresponding equipment to be configured with logic equipment of the central management platform.
In this embodiment, the device SN code is a unique serial number of the device, and is used to determine a unique identification of the identity of the device, including, but not limited to, a mac address. The device data input by the central management platform is a process of scanning a device SN code label through a code scanning device and binding hardware devices with logic device data of the central management platform, wherein the device SN code label refers to a process that the device SN code is manufactured into an available label, and comprises a paper label or an electronic label, and the code scanning device can be a high-tech product combining optics, machinery, electronics, software application and the like, and is not limited herein.
And S12, the equipment to be configured receives a second network datagram returned to the corresponding equipment by the central management platform based on the first network datagram, and completes network parameter configuration according to the second network datagram so as to automatically access the central management platform, wherein the second network datagram comprises an equipment SN code, an equipment IP address and a subnet mask.
Wherein the step of receiving, by the central management platform, a second network datagram returned to the corresponding device based on the first network datagram by the device to be configured includes:
and after the central management platform analyzes the first network datagram, inquiring network parameters of the equipment SN code matched with the corresponding equipment, and packaging response data to obtain the second network datagram.
In a second embodiment, the method comprises:
s21, responding to the center management platform to send a third network datagram to the appointed equipment to be configured through broadcasting or unicast, wherein the third network datagram comprises an equipment SN code, an equipment IP address and a subnet mask.
S22, after the equipment to be configured receives and analyzes the third network datagram, network parameters are automatically configured to access the central management platform.
After the device to be configured receives and parses the third network datagram, automatically configuring network parameters to access the central management platform, wherein the method specifically comprises the following steps:
and after the equipment to be configured receives and analyzes the third network datagram, when the equipment SN code in the third network datagram is matched with the equipment SN code of the equipment to be configured, automatically configuring network parameters to access the central management platform.
In this embodiment, after the device to be configured is powered on, a network datagram is broadcast into the local area network, where the network datagram information includes device SN code information of the device itself, the central management platform analyzes the received data datagram, queries network parameters matching the device SN code, encapsulates response information, and broadcasts the encapsulated network datagram to the outside, where the response datagram includes network parameters such as the device SN code, the device IP address, the subnet mask, and the gateway information. After receiving the response data message, the equipment analyzes the network parameters to carry out automatic configuration parameters, and the connection with the central management platform is completed. The central management platform can also design batch or single equipment discovery function, broadcast network data messages to the local area network, wherein the data messages comprise network configuration information such as equipment IP addresses, equipment SN codes and the like, and after the configuration equipment receives network parameters, the configuration equipment automatically configures the network configuration information to access the central management platform.
Referring to fig. 4, in the implementation, the central management platform and the device to be configured are in the same subnet, that is, the central network switch and the building switch both support the network datagram broadcasting protocol. After the access control equipment and the indoor terminal are electrified and started, network datagrams can be actively broadcast into the local area network, wherein the message content comprises the equipment SN code of the access control equipment and the indoor terminal; the central management platform receives the network datagram, queries the network parameters of the equipment through the SN code of the equipment, broadcasts the equipment to be responded, and automatically configures the network parameters to access the central management platform after the equipment receives the network parameters. In addition, after the access control equipment and the indoor terminal are electrified and started, a central management platform broadcasts a network datagram into the local area network, wherein the message content comprises an equipment SN code and equipment network configuration parameters; the equipment analyzes the network datagram after receiving the network datagram, and if the equipment SN code in the network datagram corresponds to the equipment SN code of the equipment, the network parameter configuration is automatically carried out, and the network datagram is accessed to the central management platform.
Further, when the equipment to be configured and the central management platform are not in the same subnet, forwarding the first network datagram or the third network datagram through a manual network parameter configuration proxy device to achieve network parameter configuration of the equipment to be configured, wherein the proxy device is any one of the equipment to be configured in each subnet.
The forwarding, by the manual network parameter configuration proxy device, the first network datagram or the third network datagram, so as to implement that the device to be configured completes network parameter configuration, specifically includes:
determining each subnet where the equipment to be configured is located, and manually performing manual network parameter configuration proxy equipment on each subnet to access the central management platform;
and forwarding the first network datagram or the third network datagram between the central management platform and the equipment to be configured through the proxy equipment so as to realize that the equipment to be configured completes network parameter configuration.
The forwarding, by the proxy device, the first network datagram between the central management platform and the device to be configured, so as to implement that the device to be configured completes network parameter configuration, specifically includes:
the equipment to be configured sends the first network datagram requesting network parameter configuration to the proxy equipment in the subnet in a broadcast mode;
after receiving the first network datagram, the proxy equipment sends the first network datagram to the central management platform in a unicast mode;
the center management platform analyzes the first network datagram and returns the second network datagram of the corresponding device;
and the proxy equipment broadcasts the second network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the second network datagram, the network parameter configuration is automatically completed to access the central management platform.
The forwarding, by the proxy device, the third network datagram between the central management platform and the device to be configured, so as to implement that the device to be configured completes network parameter configuration, specifically includes:
the center management platform sends the third network datagram to the proxy equipment in the subnet where the center management platform is located in a unicast mode;
and the proxy equipment broadcasts the third network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the third network datagram, the network parameter configuration is automatically completed to access the central management platform.
In this embodiment, a small number of proxy devices are manually configured to access the central management platform, after a lot of network parameters of most devices are configured by a batch function preset by the central management platform, unicast is sent to the proxy devices, and proxy devices forward network parameter data messages to the subnet where the proxy devices are located, so that other devices to be configured can receive the data messages broadcast by the proxy devices, analyze the data messages to realize automatic configuration of the network parameters, and access the central management platform in an automatic unicast mode.
Referring to fig. 5, in the implementation, the central management platform and the device to be configured are not in the same subnet, or the central network switch does not support the lan broadcast network datagram. An agent device in each subnet can be configured to access the central platform through manual network parameters, such as access control devices (1) (2) (3) in fig. 4 are agent devices.
After the indoor terminal equipment is accessed to the network, the broadcasting network data message is actively initiated into the subnet of the indoor terminal equipment, and after the proxy equipment receives the network data message, the network data message is sent to the central management platform in a unicast mode, the central management platform analyzes the network data message, and the network parameters of the query equipment are returned. And the proxy equipment broadcasts the datagram returned by the center platform into the subnet, and the indoor terminal automatically configures network parameters after receiving the datagram and accesses the center management platform. In addition, the central management platform can also initiate a unicast network data message to the proxy equipment, wherein the data message comprises equipment SN codes, IP addresses, subnet masks, gateway and other equipment basic network configuration parameters, the proxy equipment broadcasts the data message into the subnet where the data message is located after receiving the data message, and the indoor terminal analyzes the received data message and automatically sets network parameters, thereby realizing automatic access to the central management platform.
Referring to fig. 6, in the implementation, the central management platform and the device to be configured are in a network structure of a hybrid mode: the central network switch supports broadcasting, while some building switches support broadcasting, some building switches do not support broadcasting. For the switch supporting broadcasting, such as the access control device (3) in fig. 6, the corresponding operation mode of fig. 4 is adopted to realize the automatic configuration of the network parameters of the device, and the access of the device is completed. For a building switch which does not support broadcasting, such as an indoor terminal B1-1 in fig. 6, proxy equipment (1) can be set to perform proxy forwarding of network datagrams, and the corresponding operation mode of fig. 5 is used for realizing automatic configuration of equipment network parameters, so as to complete the access process of equipment.
The invention provides an automatic configuration device for equipment network parameters in a local area network, which is characterized in that engineering personnel do not need to configure the network parameters from equipment to equipment during construction, equipment network information is only required to be input in a central management platform, and the equipment network parameters can be configured to a plurality of equipment to be configured through equipment discovery and automatic configuration network parameter design, so that the rapid access of the equipment is finally realized.
Fig. 7 is a schematic structural diagram of an apparatus for automatically configuring network parameters of a device in a lan according to an embodiment of the present invention.
In this embodiment, the apparatus 70 includes:
a first response unit 71, configured to respond to a device to be configured being powered on, and broadcast, by the device to be configured, a first network datagram requesting network parameter configuration into a local area network, where the first network datagram includes a device SN code of the device to be configured; or alternatively, the process may be performed,
a second response unit 72, configured to send a third network datagram to the specified device to be configured by broadcasting or unicasting in response to the central management platform, where the third network datagram includes a device SN code, a device IP address, and a subnet mask;
a configuration proxy unit 73, configured to forward the first network datagram or the third network datagram through a manual network parameter configuration proxy device when the device to be configured and the central management platform are not in the same subnet, so as to implement network parameter configuration of the device to be configured, where the proxy device is any device to be configured in each subnet; otherwise the first set of parameters is selected,
a first access unit 74, configured to receive a second network datagram returned to a corresponding device by the central management platform based on the first network datagram, and complete network parameter configuration according to the second network datagram, so as to automatically access the central management platform, where the second network datagram includes a device SN code, a device IP address, and a subnet mask; or alternatively, the process may be performed,
and a second access unit 75, configured to automatically configure network parameters to access the central management platform after the device to be configured receives and parses the third network datagram.
The respective unit modules of the apparatus 70 may perform the corresponding steps in the above method embodiments, so that the detailed description of the respective unit modules is omitted herein.
The embodiment of the invention also provides an automatic configuration device of the network parameters of the local area network, which comprises a processor, a memory and a computer program stored in the memory, wherein the computer program can be executed by the processor to realize the automatic configuration method of the network parameters of the local area network.
The device for automatically configuring network parameters of the devices in the local area network can include, but is not limited to, a processor and a memory. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of an automatic configuration device for device network parameters within a local area network, and is not meant to be limiting of the automatic configuration device for device network parameters within a local area network, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the automatic configuration device for device network parameters within a local area network may also include input-output devices, network access devices, buses, etc.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the control center of the device network parameter automatic configuration device in the local area network connects the various parts of the device network parameter automatic configuration device in the entire local area network by using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the device for automatically configuring network parameters of the devices in the local area network by running or executing the computer program and/or module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the automatically configurable device integrated units of device network parameters within the local area network may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiments in the above examples may be further combined or replaced, and the examples are merely illustrative of preferred embodiments of the present invention and not intended to limit the spirit and scope of the present invention, and various changes and modifications made by those skilled in the art to the technical solutions of the present invention are included in the scope of the present invention without departing from the design concept of the present invention.

Claims (10)

1. A method for automatically configuring network parameters of devices in a local area network, the method comprising:
after the equipment to be configured is powered on and started, broadcasting a first network datagram requesting network parameter configuration into a local area network by the equipment to be configured, wherein the first network datagram comprises an equipment SN (serial number) code of the equipment to be configured; or alternatively, the process may be performed,
transmitting a third network datagram to the designated equipment to be configured through broadcasting or unicast in response to the central management platform, wherein the third network datagram comprises an equipment SN code, an equipment IP address and a subnet mask;
when the equipment to be configured and the central management platform are not in the same subnet, forwarding the first network datagram or the third network datagram through a manual network parameter configuration proxy device so as to realize that the equipment to be configured completes network parameter configuration, wherein the proxy device is any one of the equipment to be configured in each subnet; otherwise the first set of parameters is selected,
the equipment to be configured receives a second network datagram which is returned to the corresponding equipment by the central management platform based on the first network datagram, and completes network parameter configuration according to the second network datagram so as to automatically access the central management platform, wherein the second network datagram comprises an equipment SN (serial number) code, an equipment IP (Internet protocol) address and a subnet mask; or alternatively, the process may be performed,
and after the equipment to be configured receives and analyzes the third network datagram, automatically configuring network parameters to access the central management platform.
2. The method for automatically configuring network parameters of devices in a local area network according to claim 1, wherein forwarding the first network datagram or the third network datagram through a manual network parameter configuration proxy device to implement network parameter configuration of the devices to be configured specifically includes:
determining each subnet where the equipment to be configured is located, and manually performing manual network parameter configuration proxy equipment on each subnet to access the central management platform;
and forwarding the first network datagram or the third network datagram between the central management platform and the equipment to be configured through the proxy equipment so as to realize that the equipment to be configured completes network parameter configuration.
3. The method for automatically configuring network parameters of devices in a local area network according to claim 2, wherein forwarding, by the proxy device, the first network datagram between the central management platform and the device to be configured, so as to implement the device to be configured to complete network parameter configuration, specifically includes:
the equipment to be configured sends the first network datagram requesting network parameter configuration to the proxy equipment in the subnet in a broadcast mode;
after receiving the first network datagram, the proxy equipment sends the first network datagram to the central management platform in a unicast mode;
the center management platform analyzes the first network datagram and returns the second network datagram of the corresponding device;
and the proxy equipment broadcasts the second network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the second network datagram, the network parameter configuration is automatically completed to access the central management platform.
4. The method for automatically configuring network parameters of devices in a local area network according to claim 2, wherein forwarding, by the proxy device, the third network datagram between the central management platform and the device to be configured, so as to implement the device to be configured to complete network parameter configuration, specifically includes:
the center management platform sends the third network datagram to the proxy equipment in the subnet where the center management platform is located in a unicast mode;
and the proxy equipment broadcasts the third network datagram into the subnet where the proxy equipment is located, and after the equipment to be configured analyzes according to the third network datagram, the network parameter configuration is automatically completed to access the central management platform.
5. The method according to claim 1, wherein the step of receiving, by the central management platform, a second network datagram for returning, by the device to be configured, a corresponding device based on the first network datagram, comprises:
and after the central management platform analyzes the first network datagram, inquiring network parameters of the equipment SN code matched with the corresponding equipment, and packaging response data to obtain the second network datagram.
6. The method for automatically configuring network parameters of a device in a lan according to claim 1, wherein after the device to be configured receives and parses the third network datagram, automatically configuring network parameters to access the central management platform, specifically includes:
and after the equipment to be configured receives and analyzes the third network datagram, when the equipment SN code in the third network datagram is matched with the equipment SN code of the equipment to be configured, automatically configuring network parameters to access the central management platform.
7. The method for automatically configuring network parameters of a device in a local area network according to claim 1, wherein the responding to the device to be configured before the power-on start further comprises:
and carrying out equipment SN code input on the equipment to be configured through the central management platform, and binding the corresponding equipment to be configured with logic equipment of the central management platform.
8. An apparatus for automatically configuring network parameters of devices in a local area network, the apparatus comprising:
the first response unit is used for responding to the power-on start of the equipment to be configured, and broadcasting a first network datagram requesting network parameter configuration into the local area network by the equipment to be configured, wherein the first network datagram comprises an equipment SN code of the equipment to be configured; or alternatively, the process may be performed,
a second response unit, configured to send a third network datagram to the specified device to be configured through broadcasting or unicasting in response to the central management platform, where the third network datagram includes a device SN code, a device IP address, and a subnet mask;
the configuration proxy unit is used for forwarding the first network datagram or the third network datagram through manual network parameter configuration proxy equipment when the equipment to be configured and the central management platform are not in the same subnet so as to realize that the equipment to be configured completes network parameter configuration, wherein the proxy equipment is any one of the equipment to be configured in each subnet; otherwise the first set of parameters is selected,
the first access unit is used for receiving a second network datagram returned to the corresponding device by the central management platform based on the first network datagram, completing network parameter configuration according to the second network datagram so as to automatically access the central management platform, wherein the second network datagram comprises a device SN (serial number) code, a device IP (Internet protocol) address and a subnet mask; or alternatively, the process may be performed,
and the second access unit is used for automatically configuring network parameters to access the central management platform after the equipment to be configured receives and analyzes the third network datagram.
9. The automatic configuration device of network parameters of a device in a local area network according to claim 8, wherein the forwarding, by the manual network parameter configuration proxy device, the first network datagram or the third network datagram to implement the network parameter configuration of the device to be configured specifically includes:
determining each subnet where the equipment to be configured is located, and manually performing manual network parameter configuration proxy equipment on each subnet to access the central management platform;
and forwarding the first network datagram or the third network datagram between the central management platform and the equipment to be configured through the proxy equipment so as to realize that the equipment to be configured completes network parameter configuration.
10. An automatic configuration device for device network parameters in a local area network, comprising a processor, a memory and a computer program stored in said memory, said computer program being executable by said processor to implement a method for automatic configuration of device network parameters in a local area network as claimed in any one of claims 1 to 7.
CN202110165452.5A 2021-02-06 2021-02-06 Automatic configuration method and device for network parameters of equipment in local area network and equipment Active CN112994932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110165452.5A CN112994932B (en) 2021-02-06 2021-02-06 Automatic configuration method and device for network parameters of equipment in local area network and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110165452.5A CN112994932B (en) 2021-02-06 2021-02-06 Automatic configuration method and device for network parameters of equipment in local area network and equipment

Publications (2)

Publication Number Publication Date
CN112994932A CN112994932A (en) 2021-06-18
CN112994932B true CN112994932B (en) 2023-04-28

Family

ID=76348539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110165452.5A Active CN112994932B (en) 2021-02-06 2021-02-06 Automatic configuration method and device for network parameters of equipment in local area network and equipment

Country Status (1)

Country Link
CN (1) CN112994932B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633770B (en) * 2023-05-29 2024-02-13 深圳市海成智联科技有限公司 Automatic configuration operation supervision system suitable for operation of local area network equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051087B1 (en) * 2000-06-05 2006-05-23 Microsoft Corporation System and method for automatic detection and configuration of network parameters
WO2009036678A1 (en) * 2007-09-17 2009-03-26 Huawei Technologies Co., Ltd. Method, device and network system for message forwarding
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
CN104506360A (en) * 2014-12-26 2015-04-08 深圳市彩易生活科技有限公司 Network access configuration method and system of intelligent equipment and related equipment
CN107682165A (en) * 2017-10-18 2018-02-09 国电南瑞科技股份有限公司 Status information cross-network segment transmission method in a kind of power automatic system
CN108260147A (en) * 2016-12-28 2018-07-06 北京易方通达科技有限公司 A kind of configuration method of the network configuration parameters of mesh network nodes
CN112260871A (en) * 2020-10-21 2021-01-22 杭州萤石软件有限公司 Configuration method of network parameters of Internet of things equipment, Internet of things equipment and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051087B1 (en) * 2000-06-05 2006-05-23 Microsoft Corporation System and method for automatic detection and configuration of network parameters
WO2009036678A1 (en) * 2007-09-17 2009-03-26 Huawei Technologies Co., Ltd. Method, device and network system for message forwarding
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
CN104506360A (en) * 2014-12-26 2015-04-08 深圳市彩易生活科技有限公司 Network access configuration method and system of intelligent equipment and related equipment
CN108260147A (en) * 2016-12-28 2018-07-06 北京易方通达科技有限公司 A kind of configuration method of the network configuration parameters of mesh network nodes
CN107682165A (en) * 2017-10-18 2018-02-09 国电南瑞科技股份有限公司 Status information cross-network segment transmission method in a kind of power automatic system
CN112260871A (en) * 2020-10-21 2021-01-22 杭州萤石软件有限公司 Configuration method of network parameters of Internet of things equipment, Internet of things equipment and system

Also Published As

Publication number Publication date
CN112994932A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN109981803B (en) Service request processing method and device
EP2947907B1 (en) Startup configuration method in base station, base station and server
CN101883158B (en) Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
EP2536108B1 (en) Method, system and apparatus for acquiring ipv6 configuration information in ipv6 transient network
EP3013020A1 (en) Method, device and system for transmitting packet in multicast domain name system
US20190036875A1 (en) Methods And Apparatus For Configuring An M2M Device
CN110493366B (en) Method and device for adding access point into network management
CN100471148C (en) Apparatus and method for establishing network
CN102025799A (en) Method for discovery and automatic configuration for IP address of device
CN102984295A (en) Mobile terminal and address allocation method thereof
WO2012146120A1 (en) Method for forwarding response packet from dhcp server, forwarding device and system
CN111970389A (en) Screen projection method, device, equipment and storage medium based on mDNS protocol
CN112994932B (en) Automatic configuration method and device for network parameters of equipment in local area network and equipment
CN112217649B (en) Terminal equipment management method, server and terminal equipment
CN104426816B (en) A kind of virtual machine communication method and device
CN111064825B (en) Method and device for realizing DPI data acquisition and control based on ARP
CN108881178B (en) Information transmission method and apparatus, device, storage medium, and electronic apparatus
CN104468159A (en) Management method and device of dynamic host configuration protocol server and relay
CN107592261A (en) Message processing method, device and router
WO2017113302A1 (en) Media service proxy method, device and system thereof
JPH09282259A (en) Network system
CN112511440B (en) Message forwarding method, system, storage medium and electronic equipment
EP3579502A1 (en) Outer multicast ip address allocation method and device
CN115460134A (en) MEC data multicast forwarding method for power 5G service
WO2012100751A1 (en) Method, device, terminal and system for sending data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Unit 403-12, 4th Floor, No. 56, Chengyi North Street, Phase III, Software Park, Torch High-tech Zone, Xiamen, Fujian 361000

Applicant after: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.

Address before: 2-5 / F, 780 Tieshan Road, Guankou Town, Jimei District, Xiamen City, Fujian Province 361021

Applicant before: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant